@secrecy/lib 1.5.0 → 1.6.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.
- package/dist/client/SecrecyDbClient.d.ts +33 -6
- package/dist/client/SecrecyDbClient.js +265 -23
- package/dist/utils/encoders.d.ts +26 -0
- package/dist/utils/encoders.js +18 -0
- package/dist/zeus/const.js +63 -8
- package/dist/zeus/index.d.ts +287 -36
- package/dist/zeus/index.js +51 -18
- package/package.json +1 -1
package/dist/zeus/index.d.ts
CHANGED
|
@@ -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> :
|
|
158
|
-
|
|
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["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"];
|
|
238
|
+
type ZEUS_UNIONS = GraphQLTypes["AppNotificationsResult"] | GraphQLTypes["ApplicationsResult"] | GraphQLTypes["BlogResult"] | GraphQLTypes["DbConfigResult"] | GraphQLTypes["DbGetResult"] | GraphQLTypes["DbGetDiffResult"] | 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["DbConfigToProdMutationResult"] | 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;
|
|
@@ -265,17 +267,23 @@ export type ValueTypes = {
|
|
|
265
267
|
["DbConfigResult"]: AliasType<{
|
|
266
268
|
["...on DbConfigResponse"]: ValueTypes["DbConfigResponse"];
|
|
267
269
|
["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
|
|
268
|
-
["...on ErrorNotExist"]: ValueTypes["ErrorNotExist"];
|
|
269
270
|
["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
|
|
270
271
|
__typename?: boolean | `@${string}`;
|
|
271
272
|
}>;
|
|
272
273
|
["DbGetResult"]: AliasType<{
|
|
273
274
|
["...on DbGetResponse"]: ValueTypes["DbGetResponse"];
|
|
274
275
|
["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
|
|
276
|
+
["...on ErrorBasic"]: ValueTypes["ErrorBasic"];
|
|
275
277
|
["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
|
|
276
278
|
["...on ErrorNotExist"]: ValueTypes["ErrorNotExist"];
|
|
277
279
|
__typename?: boolean | `@${string}`;
|
|
278
280
|
}>;
|
|
281
|
+
["DbGetDiffResult"]: AliasType<{
|
|
282
|
+
["...on DbGetDiffConfigResponse"]: ValueTypes["DbGetDiffConfigResponse"];
|
|
283
|
+
["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
|
|
284
|
+
["...on ErrorBasic"]: ValueTypes["ErrorBasic"];
|
|
285
|
+
__typename?: boolean | `@${string}`;
|
|
286
|
+
}>;
|
|
279
287
|
["DbSearchResult"]: AliasType<{
|
|
280
288
|
["...on DbSearchResponse"]: ValueTypes["DbSearchResponse"];
|
|
281
289
|
["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
|
|
@@ -513,11 +521,19 @@ export type ValueTypes = {
|
|
|
513
521
|
["DbConfigMutationResult"]: AliasType<{
|
|
514
522
|
["...on DbConfigMutationResponse"]: ValueTypes["DbConfigMutationResponse"];
|
|
515
523
|
["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
|
|
524
|
+
["...on ErrorBasic"]: ValueTypes["ErrorBasic"];
|
|
525
|
+
__typename?: boolean | `@${string}`;
|
|
526
|
+
}>;
|
|
527
|
+
["DbConfigToProdMutationResult"]: AliasType<{
|
|
528
|
+
["...on DbConfigToProdMutationResponse"]: ValueTypes["DbConfigToProdMutationResponse"];
|
|
529
|
+
["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
|
|
530
|
+
["...on ErrorBasic"]: ValueTypes["ErrorBasic"];
|
|
516
531
|
__typename?: boolean | `@${string}`;
|
|
517
532
|
}>;
|
|
518
533
|
["DbSetResult"]: AliasType<{
|
|
519
534
|
["...on DbSetResponse"]: ValueTypes["DbSetResponse"];
|
|
520
535
|
["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
|
|
536
|
+
["...on ErrorBasic"]: ValueTypes["ErrorBasic"];
|
|
521
537
|
["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
|
|
522
538
|
__typename?: boolean | `@${string}`;
|
|
523
539
|
}>;
|
|
@@ -951,6 +967,22 @@ export type ValueTypes = {
|
|
|
951
967
|
privateKeyEncrypted?: boolean | `@${string}`;
|
|
952
968
|
__typename?: boolean | `@${string}`;
|
|
953
969
|
}>;
|
|
970
|
+
["DbDiffField"]: AliasType<{
|
|
971
|
+
action?: boolean | `@${string}`;
|
|
972
|
+
key?: boolean | `@${string}`;
|
|
973
|
+
current?: boolean | `@${string}`;
|
|
974
|
+
next?: boolean | `@${string}`;
|
|
975
|
+
details?: boolean | `@${string}`;
|
|
976
|
+
__typename?: boolean | `@${string}`;
|
|
977
|
+
}>;
|
|
978
|
+
["DbDiffSchema"]: AliasType<{
|
|
979
|
+
fields?: ValueTypes["DbDiffField"];
|
|
980
|
+
__typename?: boolean | `@${string}`;
|
|
981
|
+
}>;
|
|
982
|
+
["MongoDbConfigType"]: MongoDbConfigType;
|
|
983
|
+
["MongoDbEnv"]: MongoDbEnv;
|
|
984
|
+
["MongoDbFieldDiffAction"]: MongoDbFieldDiffAction;
|
|
985
|
+
["MongoDbFieldType"]: MongoDbFieldType;
|
|
954
986
|
["Developer"]: AliasType<{
|
|
955
987
|
id?: boolean | `@${string}`;
|
|
956
988
|
user?: ValueTypes["User"];
|
|
@@ -1430,6 +1462,10 @@ export type ValueTypes = {
|
|
|
1430
1462
|
dbConfigMutation?: boolean | `@${string}`;
|
|
1431
1463
|
__typename?: boolean | `@${string}`;
|
|
1432
1464
|
}>;
|
|
1465
|
+
["DbConfigToProdMutationResponse"]: AliasType<{
|
|
1466
|
+
dbConfigToProdMutation?: boolean | `@${string}`;
|
|
1467
|
+
__typename?: boolean | `@${string}`;
|
|
1468
|
+
}>;
|
|
1433
1469
|
["DbSetResponse"]: AliasType<{
|
|
1434
1470
|
dbSet?: boolean | `@${string}`;
|
|
1435
1471
|
__typename?: boolean | `@${string}`;
|
|
@@ -1731,6 +1767,18 @@ export type ValueTypes = {
|
|
|
1731
1767
|
userList?: ValueTypes["User"];
|
|
1732
1768
|
__typename?: boolean | `@${string}`;
|
|
1733
1769
|
}>;
|
|
1770
|
+
["DbGetDiffConfig"]: AliasType<{
|
|
1771
|
+
env?: boolean | `@${string}`;
|
|
1772
|
+
current?: boolean | `@${string}`;
|
|
1773
|
+
next?: boolean | `@${string}`;
|
|
1774
|
+
diff?: boolean | `@${string}`;
|
|
1775
|
+
hash?: boolean | `@${string}`;
|
|
1776
|
+
__typename?: boolean | `@${string}`;
|
|
1777
|
+
}>;
|
|
1778
|
+
["DbGetDiffConfigResponse"]: AliasType<{
|
|
1779
|
+
dbGetDiffConfig?: ValueTypes["DbGetDiffConfig"];
|
|
1780
|
+
__typename?: boolean | `@${string}`;
|
|
1781
|
+
}>;
|
|
1734
1782
|
["BalanceStripeResponse"]: AliasType<{
|
|
1735
1783
|
amount?: boolean | `@${string}`;
|
|
1736
1784
|
currency?: boolean | `@${string}`;
|
|
@@ -2068,21 +2116,37 @@ export type ValueTypes = {
|
|
|
2068
2116
|
];
|
|
2069
2117
|
dbConfig?: [
|
|
2070
2118
|
{
|
|
2071
|
-
|
|
2119
|
+
appId: string | Variable<any, string>;
|
|
2120
|
+
env: ValueTypes["MongoDbEnv"] | Variable<any, string>;
|
|
2072
2121
|
},
|
|
2073
2122
|
ValueTypes["DbConfigResult"]
|
|
2074
2123
|
];
|
|
2075
2124
|
dbGet?: [
|
|
2076
2125
|
{
|
|
2077
2126
|
field: string | Variable<any, string>;
|
|
2127
|
+
appId: string | Variable<any, string>;
|
|
2078
2128
|
userId?: string | undefined | null | Variable<any, string>;
|
|
2129
|
+
env: ValueTypes["MongoDbEnv"] | Variable<any, string>;
|
|
2079
2130
|
},
|
|
2080
2131
|
ValueTypes["DbGetResult"]
|
|
2081
2132
|
];
|
|
2133
|
+
dbGetDiff?: [
|
|
2134
|
+
{
|
|
2135
|
+
appId: string | Variable<any, string>;
|
|
2136
|
+
env: ValueTypes["MongoDbEnv"] | Variable<any, string>;
|
|
2137
|
+
config?: string | undefined | null | Variable<any, string>;
|
|
2138
|
+
},
|
|
2139
|
+
ValueTypes["DbGetDiffResult"]
|
|
2140
|
+
];
|
|
2082
2141
|
dbSearch?: [
|
|
2083
2142
|
{
|
|
2143
|
+
appId: string | Variable<any, string>;
|
|
2084
2144
|
search: string | Variable<any, string>;
|
|
2085
2145
|
field: string | Variable<any, string>;
|
|
2146
|
+
take?: number | undefined | null | Variable<any, string>;
|
|
2147
|
+
skip?: number | undefined | null | Variable<any, string>;
|
|
2148
|
+
orderBy?: string | undefined | null | Variable<any, string>;
|
|
2149
|
+
env: ValueTypes["MongoDbEnv"] | Variable<any, string>;
|
|
2086
2150
|
},
|
|
2087
2151
|
ValueTypes["DbSearchResult"]
|
|
2088
2152
|
];
|
|
@@ -2279,15 +2343,25 @@ export type ValueTypes = {
|
|
|
2279
2343
|
];
|
|
2280
2344
|
dbConfigMutation?: [
|
|
2281
2345
|
{
|
|
2282
|
-
|
|
2346
|
+
appId: string | Variable<any, string>;
|
|
2347
|
+
env: ValueTypes["MongoDbEnv"] | Variable<any, string>;
|
|
2283
2348
|
config: string | Variable<any, string>;
|
|
2284
2349
|
},
|
|
2285
2350
|
ValueTypes["DbConfigMutationResult"]
|
|
2286
2351
|
];
|
|
2352
|
+
dbConfigToProdMutation?: [
|
|
2353
|
+
{
|
|
2354
|
+
appId: string | Variable<any, string>;
|
|
2355
|
+
diffHash: string | Variable<any, string>;
|
|
2356
|
+
},
|
|
2357
|
+
ValueTypes["DbConfigToProdMutationResult"]
|
|
2358
|
+
];
|
|
2287
2359
|
dbSet?: [
|
|
2288
2360
|
{
|
|
2289
2361
|
value: string | Variable<any, string>;
|
|
2362
|
+
appId: string | Variable<any, string>;
|
|
2290
2363
|
userId?: string | undefined | null | Variable<any, string>;
|
|
2364
|
+
env: ValueTypes["MongoDbEnv"] | Variable<any, string>;
|
|
2291
2365
|
},
|
|
2292
2366
|
ValueTypes["DbSetResult"]
|
|
2293
2367
|
];
|
|
@@ -2755,17 +2829,23 @@ export type ResolverInputTypes = {
|
|
|
2755
2829
|
["DbConfigResult"]: AliasType<{
|
|
2756
2830
|
DbConfigResponse?: ResolverInputTypes["DbConfigResponse"];
|
|
2757
2831
|
ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
|
|
2758
|
-
ErrorNotExist?: ResolverInputTypes["ErrorNotExist"];
|
|
2759
2832
|
ErrorNotFound?: ResolverInputTypes["ErrorNotFound"];
|
|
2760
2833
|
__typename?: boolean | `@${string}`;
|
|
2761
2834
|
}>;
|
|
2762
2835
|
["DbGetResult"]: AliasType<{
|
|
2763
2836
|
DbGetResponse?: ResolverInputTypes["DbGetResponse"];
|
|
2764
2837
|
ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
|
|
2838
|
+
ErrorBasic?: ResolverInputTypes["ErrorBasic"];
|
|
2765
2839
|
ErrorNotFound?: ResolverInputTypes["ErrorNotFound"];
|
|
2766
2840
|
ErrorNotExist?: ResolverInputTypes["ErrorNotExist"];
|
|
2767
2841
|
__typename?: boolean | `@${string}`;
|
|
2768
2842
|
}>;
|
|
2843
|
+
["DbGetDiffResult"]: AliasType<{
|
|
2844
|
+
DbGetDiffConfigResponse?: ResolverInputTypes["DbGetDiffConfigResponse"];
|
|
2845
|
+
ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
|
|
2846
|
+
ErrorBasic?: ResolverInputTypes["ErrorBasic"];
|
|
2847
|
+
__typename?: boolean | `@${string}`;
|
|
2848
|
+
}>;
|
|
2769
2849
|
["DbSearchResult"]: AliasType<{
|
|
2770
2850
|
DbSearchResponse?: ResolverInputTypes["DbSearchResponse"];
|
|
2771
2851
|
ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
|
|
@@ -3003,11 +3083,19 @@ export type ResolverInputTypes = {
|
|
|
3003
3083
|
["DbConfigMutationResult"]: AliasType<{
|
|
3004
3084
|
DbConfigMutationResponse?: ResolverInputTypes["DbConfigMutationResponse"];
|
|
3005
3085
|
ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
|
|
3086
|
+
ErrorBasic?: ResolverInputTypes["ErrorBasic"];
|
|
3087
|
+
__typename?: boolean | `@${string}`;
|
|
3088
|
+
}>;
|
|
3089
|
+
["DbConfigToProdMutationResult"]: AliasType<{
|
|
3090
|
+
DbConfigToProdMutationResponse?: ResolverInputTypes["DbConfigToProdMutationResponse"];
|
|
3091
|
+
ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
|
|
3092
|
+
ErrorBasic?: ResolverInputTypes["ErrorBasic"];
|
|
3006
3093
|
__typename?: boolean | `@${string}`;
|
|
3007
3094
|
}>;
|
|
3008
3095
|
["DbSetResult"]: AliasType<{
|
|
3009
3096
|
DbSetResponse?: ResolverInputTypes["DbSetResponse"];
|
|
3010
3097
|
ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
|
|
3098
|
+
ErrorBasic?: ResolverInputTypes["ErrorBasic"];
|
|
3011
3099
|
ErrorNotFound?: ResolverInputTypes["ErrorNotFound"];
|
|
3012
3100
|
__typename?: boolean | `@${string}`;
|
|
3013
3101
|
}>;
|
|
@@ -3441,6 +3529,22 @@ export type ResolverInputTypes = {
|
|
|
3441
3529
|
privateKeyEncrypted?: boolean | `@${string}`;
|
|
3442
3530
|
__typename?: boolean | `@${string}`;
|
|
3443
3531
|
}>;
|
|
3532
|
+
["DbDiffField"]: AliasType<{
|
|
3533
|
+
action?: boolean | `@${string}`;
|
|
3534
|
+
key?: boolean | `@${string}`;
|
|
3535
|
+
current?: boolean | `@${string}`;
|
|
3536
|
+
next?: boolean | `@${string}`;
|
|
3537
|
+
details?: boolean | `@${string}`;
|
|
3538
|
+
__typename?: boolean | `@${string}`;
|
|
3539
|
+
}>;
|
|
3540
|
+
["DbDiffSchema"]: AliasType<{
|
|
3541
|
+
fields?: ResolverInputTypes["DbDiffField"];
|
|
3542
|
+
__typename?: boolean | `@${string}`;
|
|
3543
|
+
}>;
|
|
3544
|
+
["MongoDbConfigType"]: MongoDbConfigType;
|
|
3545
|
+
["MongoDbEnv"]: MongoDbEnv;
|
|
3546
|
+
["MongoDbFieldDiffAction"]: MongoDbFieldDiffAction;
|
|
3547
|
+
["MongoDbFieldType"]: MongoDbFieldType;
|
|
3444
3548
|
["Developer"]: AliasType<{
|
|
3445
3549
|
id?: boolean | `@${string}`;
|
|
3446
3550
|
user?: ResolverInputTypes["User"];
|
|
@@ -3920,6 +4024,10 @@ export type ResolverInputTypes = {
|
|
|
3920
4024
|
dbConfigMutation?: boolean | `@${string}`;
|
|
3921
4025
|
__typename?: boolean | `@${string}`;
|
|
3922
4026
|
}>;
|
|
4027
|
+
["DbConfigToProdMutationResponse"]: AliasType<{
|
|
4028
|
+
dbConfigToProdMutation?: boolean | `@${string}`;
|
|
4029
|
+
__typename?: boolean | `@${string}`;
|
|
4030
|
+
}>;
|
|
3923
4031
|
["DbSetResponse"]: AliasType<{
|
|
3924
4032
|
dbSet?: boolean | `@${string}`;
|
|
3925
4033
|
__typename?: boolean | `@${string}`;
|
|
@@ -4221,6 +4329,18 @@ export type ResolverInputTypes = {
|
|
|
4221
4329
|
userList?: ResolverInputTypes["User"];
|
|
4222
4330
|
__typename?: boolean | `@${string}`;
|
|
4223
4331
|
}>;
|
|
4332
|
+
["DbGetDiffConfig"]: AliasType<{
|
|
4333
|
+
env?: boolean | `@${string}`;
|
|
4334
|
+
current?: boolean | `@${string}`;
|
|
4335
|
+
next?: boolean | `@${string}`;
|
|
4336
|
+
diff?: boolean | `@${string}`;
|
|
4337
|
+
hash?: boolean | `@${string}`;
|
|
4338
|
+
__typename?: boolean | `@${string}`;
|
|
4339
|
+
}>;
|
|
4340
|
+
["DbGetDiffConfigResponse"]: AliasType<{
|
|
4341
|
+
dbGetDiffConfig?: ResolverInputTypes["DbGetDiffConfig"];
|
|
4342
|
+
__typename?: boolean | `@${string}`;
|
|
4343
|
+
}>;
|
|
4224
4344
|
["BalanceStripeResponse"]: AliasType<{
|
|
4225
4345
|
amount?: boolean | `@${string}`;
|
|
4226
4346
|
currency?: boolean | `@${string}`;
|
|
@@ -4556,20 +4676,39 @@ export type ResolverInputTypes = {
|
|
|
4556
4676
|
},
|
|
4557
4677
|
ResolverInputTypes["BlogResult"]
|
|
4558
4678
|
];
|
|
4559
|
-
dbConfig?: [
|
|
4560
|
-
|
|
4561
|
-
|
|
4679
|
+
dbConfig?: [
|
|
4680
|
+
{
|
|
4681
|
+
appId: string;
|
|
4682
|
+
env: ResolverInputTypes["MongoDbEnv"];
|
|
4683
|
+
},
|
|
4684
|
+
ResolverInputTypes["DbConfigResult"]
|
|
4685
|
+
];
|
|
4562
4686
|
dbGet?: [
|
|
4563
4687
|
{
|
|
4564
4688
|
field: string;
|
|
4689
|
+
appId: string;
|
|
4565
4690
|
userId?: string | undefined | null;
|
|
4691
|
+
env: ResolverInputTypes["MongoDbEnv"];
|
|
4566
4692
|
},
|
|
4567
4693
|
ResolverInputTypes["DbGetResult"]
|
|
4568
4694
|
];
|
|
4695
|
+
dbGetDiff?: [
|
|
4696
|
+
{
|
|
4697
|
+
appId: string;
|
|
4698
|
+
env: ResolverInputTypes["MongoDbEnv"];
|
|
4699
|
+
config?: string | undefined | null;
|
|
4700
|
+
},
|
|
4701
|
+
ResolverInputTypes["DbGetDiffResult"]
|
|
4702
|
+
];
|
|
4569
4703
|
dbSearch?: [
|
|
4570
4704
|
{
|
|
4705
|
+
appId: string;
|
|
4571
4706
|
search: string;
|
|
4572
4707
|
field: string;
|
|
4708
|
+
take?: number | undefined | null;
|
|
4709
|
+
skip?: number | undefined | null;
|
|
4710
|
+
orderBy?: string | undefined | null;
|
|
4711
|
+
env: ResolverInputTypes["MongoDbEnv"];
|
|
4573
4712
|
},
|
|
4574
4713
|
ResolverInputTypes["DbSearchResult"]
|
|
4575
4714
|
];
|
|
@@ -4763,15 +4902,25 @@ export type ResolverInputTypes = {
|
|
|
4763
4902
|
];
|
|
4764
4903
|
dbConfigMutation?: [
|
|
4765
4904
|
{
|
|
4766
|
-
|
|
4905
|
+
appId: string;
|
|
4906
|
+
env: ResolverInputTypes["MongoDbEnv"];
|
|
4767
4907
|
config: string;
|
|
4768
4908
|
},
|
|
4769
4909
|
ResolverInputTypes["DbConfigMutationResult"]
|
|
4770
4910
|
];
|
|
4911
|
+
dbConfigToProdMutation?: [
|
|
4912
|
+
{
|
|
4913
|
+
appId: string;
|
|
4914
|
+
diffHash: string;
|
|
4915
|
+
},
|
|
4916
|
+
ResolverInputTypes["DbConfigToProdMutationResult"]
|
|
4917
|
+
];
|
|
4771
4918
|
dbSet?: [
|
|
4772
4919
|
{
|
|
4773
4920
|
value: string;
|
|
4921
|
+
appId: string;
|
|
4774
4922
|
userId?: string | undefined | null;
|
|
4923
|
+
env: ResolverInputTypes["MongoDbEnv"];
|
|
4775
4924
|
},
|
|
4776
4925
|
ResolverInputTypes["DbSetResult"]
|
|
4777
4926
|
];
|
|
@@ -5205,8 +5354,9 @@ export type ModelTypes = {
|
|
|
5205
5354
|
["AppNotificationsResult"]: ModelTypes["UserAppNotifications"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"];
|
|
5206
5355
|
["ApplicationsResult"]: ModelTypes["ApplicationsResponse"] | ModelTypes["ErrorAccessDenied"];
|
|
5207
5356
|
["BlogResult"]: ModelTypes["BlogResponse"] | ModelTypes["ErrorLangNotExist"];
|
|
5208
|
-
["DbConfigResult"]: ModelTypes["DbConfigResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["
|
|
5209
|
-
["DbGetResult"]: ModelTypes["DbGetResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"] | ModelTypes["ErrorNotExist"];
|
|
5357
|
+
["DbConfigResult"]: ModelTypes["DbConfigResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"];
|
|
5358
|
+
["DbGetResult"]: ModelTypes["DbGetResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"] | ModelTypes["ErrorNotFound"] | ModelTypes["ErrorNotExist"];
|
|
5359
|
+
["DbGetDiffResult"]: ModelTypes["DbGetDiffConfigResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"];
|
|
5210
5360
|
["DbSearchResult"]: ModelTypes["DbSearchResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"] | ModelTypes["ErrorBasic"];
|
|
5211
5361
|
["DeletedMailsResult"]: ModelTypes["DeletedMailsResponse"] | ModelTypes["ErrorAccessDenied"];
|
|
5212
5362
|
["DeletedNodesResult"]: ModelTypes["DeletedNodesResponse"] | ModelTypes["ErrorAccessDenied"];
|
|
@@ -5247,8 +5397,9 @@ export type ModelTypes = {
|
|
|
5247
5397
|
["CreateCryptoWalletResult"]: ModelTypes["CreateCryptoWalletResponse"] | ModelTypes["ErrorAccessDenied"];
|
|
5248
5398
|
["CreateDraftMailResult"]: ModelTypes["CreateDraftMailResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"];
|
|
5249
5399
|
["CreateFolderResult"]: ModelTypes["CreateFolderResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"];
|
|
5250
|
-
["DbConfigMutationResult"]: ModelTypes["DbConfigMutationResponse"] | ModelTypes["ErrorAccessDenied"];
|
|
5251
|
-
["
|
|
5400
|
+
["DbConfigMutationResult"]: ModelTypes["DbConfigMutationResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"];
|
|
5401
|
+
["DbConfigToProdMutationResult"]: ModelTypes["DbConfigToProdMutationResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"];
|
|
5402
|
+
["DbSetResult"]: ModelTypes["DbSetResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"] | ModelTypes["ErrorNotFound"];
|
|
5252
5403
|
["DeleteDraftMailResult"]: ModelTypes["DeleteDraftMailResponse"] | ModelTypes["ErrorAccessDenied"];
|
|
5253
5404
|
["DeleteFileResult"]: ModelTypes["DeleteFileResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"];
|
|
5254
5405
|
["DeleteMailResult"]: ModelTypes["DeleteMailResponse"] | ModelTypes["ErrorAccessDenied"];
|
|
@@ -5386,6 +5537,20 @@ export type ModelTypes = {
|
|
|
5386
5537
|
address: string;
|
|
5387
5538
|
privateKeyEncrypted: string;
|
|
5388
5539
|
};
|
|
5540
|
+
["DbDiffField"]: {
|
|
5541
|
+
action: ModelTypes["MongoDbFieldDiffAction"];
|
|
5542
|
+
key: string;
|
|
5543
|
+
current: ModelTypes["Json"];
|
|
5544
|
+
next: ModelTypes["Json"];
|
|
5545
|
+
details?: ModelTypes["Json"] | undefined;
|
|
5546
|
+
};
|
|
5547
|
+
["DbDiffSchema"]: {
|
|
5548
|
+
fields: Array<ModelTypes["DbDiffField"] | undefined>;
|
|
5549
|
+
};
|
|
5550
|
+
["MongoDbConfigType"]: MongoDbConfigType;
|
|
5551
|
+
["MongoDbEnv"]: MongoDbEnv;
|
|
5552
|
+
["MongoDbFieldDiffAction"]: MongoDbFieldDiffAction;
|
|
5553
|
+
["MongoDbFieldType"]: MongoDbFieldType;
|
|
5389
5554
|
["Developer"]: {
|
|
5390
5555
|
id: string;
|
|
5391
5556
|
user?: ModelTypes["User"] | undefined;
|
|
@@ -5776,6 +5941,9 @@ export type ModelTypes = {
|
|
|
5776
5941
|
["DbConfigMutationResponse"]: {
|
|
5777
5942
|
dbConfigMutation: ModelTypes["Json"];
|
|
5778
5943
|
};
|
|
5944
|
+
["DbConfigToProdMutationResponse"]: {
|
|
5945
|
+
dbConfigToProdMutation: ModelTypes["Json"];
|
|
5946
|
+
};
|
|
5779
5947
|
["DbSetResponse"]: {
|
|
5780
5948
|
dbSet?: ModelTypes["Json"] | undefined;
|
|
5781
5949
|
};
|
|
@@ -6002,6 +6170,16 @@ export type ModelTypes = {
|
|
|
6002
6170
|
["UserListResponse"]: {
|
|
6003
6171
|
userList: Array<ModelTypes["User"]>;
|
|
6004
6172
|
};
|
|
6173
|
+
["DbGetDiffConfig"]: {
|
|
6174
|
+
env: ModelTypes["MongoDbEnv"];
|
|
6175
|
+
current: ModelTypes["Json"];
|
|
6176
|
+
next: ModelTypes["Json"];
|
|
6177
|
+
diff: ModelTypes["Json"];
|
|
6178
|
+
hash: string;
|
|
6179
|
+
};
|
|
6180
|
+
["DbGetDiffConfigResponse"]: {
|
|
6181
|
+
dbGetDiffConfig: ModelTypes["DbGetDiffConfig"];
|
|
6182
|
+
};
|
|
6005
6183
|
["BalanceStripeResponse"]: {
|
|
6006
6184
|
amount: number;
|
|
6007
6185
|
currency: string;
|
|
@@ -6292,6 +6470,7 @@ export type ModelTypes = {
|
|
|
6292
6470
|
blog?: ModelTypes["BlogResult"] | undefined;
|
|
6293
6471
|
dbConfig?: ModelTypes["DbConfigResult"] | undefined;
|
|
6294
6472
|
dbGet?: ModelTypes["DbGetResult"] | undefined;
|
|
6473
|
+
dbGetDiff?: ModelTypes["DbGetDiffResult"] | undefined;
|
|
6295
6474
|
dbSearch?: ModelTypes["DbSearchResult"] | undefined;
|
|
6296
6475
|
deletedMails?: ModelTypes["DeletedMailsResult"] | undefined;
|
|
6297
6476
|
deletedNodes?: ModelTypes["DeletedNodesResult"] | undefined;
|
|
@@ -6337,6 +6516,7 @@ export type ModelTypes = {
|
|
|
6337
6516
|
createDraftMail?: ModelTypes["CreateDraftMailResult"] | undefined;
|
|
6338
6517
|
createFolder?: ModelTypes["CreateFolderResult"] | undefined;
|
|
6339
6518
|
dbConfigMutation?: ModelTypes["DbConfigMutationResult"] | undefined;
|
|
6519
|
+
dbConfigToProdMutation?: ModelTypes["DbConfigToProdMutationResult"] | undefined;
|
|
6340
6520
|
dbSet?: ModelTypes["DbSetResult"] | undefined;
|
|
6341
6521
|
deleteAllData: boolean;
|
|
6342
6522
|
deleteDraftMail?: ModelTypes["DeleteDraftMailResult"] | undefined;
|
|
@@ -6440,19 +6620,25 @@ export type GraphQLTypes = {
|
|
|
6440
6620
|
["...on ErrorLangNotExist"]: "__union" & GraphQLTypes["ErrorLangNotExist"];
|
|
6441
6621
|
};
|
|
6442
6622
|
["DbConfigResult"]: {
|
|
6443
|
-
__typename: "DbConfigResponse" | "ErrorAccessDenied" | "
|
|
6623
|
+
__typename: "DbConfigResponse" | "ErrorAccessDenied" | "ErrorNotFound";
|
|
6444
6624
|
["...on DbConfigResponse"]: "__union" & GraphQLTypes["DbConfigResponse"];
|
|
6445
6625
|
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
6446
|
-
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
6447
6626
|
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
6448
6627
|
};
|
|
6449
6628
|
["DbGetResult"]: {
|
|
6450
|
-
__typename: "DbGetResponse" | "ErrorAccessDenied" | "ErrorNotFound" | "ErrorNotExist";
|
|
6629
|
+
__typename: "DbGetResponse" | "ErrorAccessDenied" | "ErrorBasic" | "ErrorNotFound" | "ErrorNotExist";
|
|
6451
6630
|
["...on DbGetResponse"]: "__union" & GraphQLTypes["DbGetResponse"];
|
|
6452
6631
|
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
6632
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
6453
6633
|
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
6454
6634
|
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
6455
6635
|
};
|
|
6636
|
+
["DbGetDiffResult"]: {
|
|
6637
|
+
__typename: "DbGetDiffConfigResponse" | "ErrorAccessDenied" | "ErrorBasic";
|
|
6638
|
+
["...on DbGetDiffConfigResponse"]: "__union" & GraphQLTypes["DbGetDiffConfigResponse"];
|
|
6639
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
6640
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
6641
|
+
};
|
|
6456
6642
|
["DbSearchResult"]: {
|
|
6457
6643
|
__typename: "DbSearchResponse" | "ErrorAccessDenied" | "ErrorNotExist" | "ErrorBasic";
|
|
6458
6644
|
["...on DbSearchResponse"]: "__union" & GraphQLTypes["DbSearchResponse"];
|
|
@@ -6688,14 +6874,22 @@ export type GraphQLTypes = {
|
|
|
6688
6874
|
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
6689
6875
|
};
|
|
6690
6876
|
["DbConfigMutationResult"]: {
|
|
6691
|
-
__typename: "DbConfigMutationResponse" | "ErrorAccessDenied";
|
|
6877
|
+
__typename: "DbConfigMutationResponse" | "ErrorAccessDenied" | "ErrorBasic";
|
|
6692
6878
|
["...on DbConfigMutationResponse"]: "__union" & GraphQLTypes["DbConfigMutationResponse"];
|
|
6693
6879
|
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
6880
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
6881
|
+
};
|
|
6882
|
+
["DbConfigToProdMutationResult"]: {
|
|
6883
|
+
__typename: "DbConfigToProdMutationResponse" | "ErrorAccessDenied" | "ErrorBasic";
|
|
6884
|
+
["...on DbConfigToProdMutationResponse"]: "__union" & GraphQLTypes["DbConfigToProdMutationResponse"];
|
|
6885
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
6886
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
6694
6887
|
};
|
|
6695
6888
|
["DbSetResult"]: {
|
|
6696
|
-
__typename: "DbSetResponse" | "ErrorAccessDenied" | "ErrorNotFound";
|
|
6889
|
+
__typename: "DbSetResponse" | "ErrorAccessDenied" | "ErrorBasic" | "ErrorNotFound";
|
|
6697
6890
|
["...on DbSetResponse"]: "__union" & GraphQLTypes["DbSetResponse"];
|
|
6698
6891
|
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
6892
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
6699
6893
|
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
6700
6894
|
};
|
|
6701
6895
|
["DeleteDraftMailResult"]: {
|
|
@@ -7128,6 +7322,22 @@ export type GraphQLTypes = {
|
|
|
7128
7322
|
address: string;
|
|
7129
7323
|
privateKeyEncrypted: string;
|
|
7130
7324
|
};
|
|
7325
|
+
["DbDiffField"]: {
|
|
7326
|
+
__typename: "DbDiffField";
|
|
7327
|
+
action: GraphQLTypes["MongoDbFieldDiffAction"];
|
|
7328
|
+
key: string;
|
|
7329
|
+
current: GraphQLTypes["Json"];
|
|
7330
|
+
next: GraphQLTypes["Json"];
|
|
7331
|
+
details?: GraphQLTypes["Json"] | undefined;
|
|
7332
|
+
};
|
|
7333
|
+
["DbDiffSchema"]: {
|
|
7334
|
+
__typename: "DbDiffSchema";
|
|
7335
|
+
fields: Array<GraphQLTypes["DbDiffField"] | undefined>;
|
|
7336
|
+
};
|
|
7337
|
+
["MongoDbConfigType"]: MongoDbConfigType;
|
|
7338
|
+
["MongoDbEnv"]: MongoDbEnv;
|
|
7339
|
+
["MongoDbFieldDiffAction"]: MongoDbFieldDiffAction;
|
|
7340
|
+
["MongoDbFieldType"]: MongoDbFieldType;
|
|
7131
7341
|
["Developer"]: {
|
|
7132
7342
|
__typename: "Developer";
|
|
7133
7343
|
id: string;
|
|
@@ -7607,6 +7817,10 @@ export type GraphQLTypes = {
|
|
|
7607
7817
|
__typename: "DbConfigMutationResponse";
|
|
7608
7818
|
dbConfigMutation: GraphQLTypes["Json"];
|
|
7609
7819
|
};
|
|
7820
|
+
["DbConfigToProdMutationResponse"]: {
|
|
7821
|
+
__typename: "DbConfigToProdMutationResponse";
|
|
7822
|
+
dbConfigToProdMutation: GraphQLTypes["Json"];
|
|
7823
|
+
};
|
|
7610
7824
|
["DbSetResponse"]: {
|
|
7611
7825
|
__typename: "DbSetResponse";
|
|
7612
7826
|
dbSet?: GraphQLTypes["Json"] | undefined;
|
|
@@ -7908,6 +8122,18 @@ export type GraphQLTypes = {
|
|
|
7908
8122
|
__typename: "UserListResponse";
|
|
7909
8123
|
userList: Array<GraphQLTypes["User"]>;
|
|
7910
8124
|
};
|
|
8125
|
+
["DbGetDiffConfig"]: {
|
|
8126
|
+
__typename: "DbGetDiffConfig";
|
|
8127
|
+
env: GraphQLTypes["MongoDbEnv"];
|
|
8128
|
+
current: GraphQLTypes["Json"];
|
|
8129
|
+
next: GraphQLTypes["Json"];
|
|
8130
|
+
diff: GraphQLTypes["Json"];
|
|
8131
|
+
hash: string;
|
|
8132
|
+
};
|
|
8133
|
+
["DbGetDiffConfigResponse"]: {
|
|
8134
|
+
__typename: "DbGetDiffConfigResponse";
|
|
8135
|
+
dbGetDiffConfig: GraphQLTypes["DbGetDiffConfig"];
|
|
8136
|
+
};
|
|
7911
8137
|
["BalanceStripeResponse"]: {
|
|
7912
8138
|
__typename: "BalanceStripeResponse";
|
|
7913
8139
|
amount: number;
|
|
@@ -8236,6 +8462,7 @@ export type GraphQLTypes = {
|
|
|
8236
8462
|
blog?: GraphQLTypes["BlogResult"] | undefined;
|
|
8237
8463
|
dbConfig?: GraphQLTypes["DbConfigResult"] | undefined;
|
|
8238
8464
|
dbGet?: GraphQLTypes["DbGetResult"] | undefined;
|
|
8465
|
+
dbGetDiff?: GraphQLTypes["DbGetDiffResult"] | undefined;
|
|
8239
8466
|
dbSearch?: GraphQLTypes["DbSearchResult"] | undefined;
|
|
8240
8467
|
deletedMails?: GraphQLTypes["DeletedMailsResult"] | undefined;
|
|
8241
8468
|
deletedNodes?: GraphQLTypes["DeletedNodesResult"] | undefined;
|
|
@@ -8282,6 +8509,7 @@ export type GraphQLTypes = {
|
|
|
8282
8509
|
createDraftMail?: GraphQLTypes["CreateDraftMailResult"] | undefined;
|
|
8283
8510
|
createFolder?: GraphQLTypes["CreateFolderResult"] | undefined;
|
|
8284
8511
|
dbConfigMutation?: GraphQLTypes["DbConfigMutationResult"] | undefined;
|
|
8512
|
+
dbConfigToProdMutation?: GraphQLTypes["DbConfigToProdMutationResult"] | undefined;
|
|
8285
8513
|
dbSet?: GraphQLTypes["DbSetResult"] | undefined;
|
|
8286
8514
|
deleteAllData: boolean;
|
|
8287
8515
|
deleteDraftMail?: GraphQLTypes["DeleteDraftMailResult"] | undefined;
|
|
@@ -8349,38 +8577,57 @@ export type GraphQLTypes = {
|
|
|
8349
8577
|
test: boolean;
|
|
8350
8578
|
};
|
|
8351
8579
|
};
|
|
8352
|
-
export declare
|
|
8580
|
+
export declare enum Lang {
|
|
8353
8581
|
fr = "fr",
|
|
8354
8582
|
en = "en"
|
|
8355
8583
|
}
|
|
8356
|
-
export declare
|
|
8584
|
+
export declare enum PlanKind {
|
|
8357
8585
|
free = "free",
|
|
8358
8586
|
basic = "basic",
|
|
8359
8587
|
advanced = "advanced",
|
|
8360
8588
|
pro = "pro"
|
|
8361
8589
|
}
|
|
8362
|
-
export declare
|
|
8590
|
+
export declare enum UserRole {
|
|
8363
8591
|
user = "user",
|
|
8364
8592
|
admin = "admin"
|
|
8365
8593
|
}
|
|
8366
|
-
export declare
|
|
8594
|
+
export declare enum MailType {
|
|
8367
8595
|
sent = "sent",
|
|
8368
8596
|
received = "received"
|
|
8369
8597
|
}
|
|
8370
|
-
export declare
|
|
8598
|
+
export declare enum Rights {
|
|
8371
8599
|
admin = "admin",
|
|
8372
8600
|
write = "write",
|
|
8373
8601
|
read = "read"
|
|
8374
8602
|
}
|
|
8375
|
-
export declare
|
|
8603
|
+
export declare enum NodeType {
|
|
8376
8604
|
FILE = "FILE",
|
|
8377
8605
|
FOLDER = "FOLDER"
|
|
8378
8606
|
}
|
|
8379
|
-
export declare
|
|
8607
|
+
export declare enum PaymentMethod {
|
|
8380
8608
|
card = "card",
|
|
8381
8609
|
wire_transfer = "wire_transfer"
|
|
8382
8610
|
}
|
|
8383
|
-
export declare
|
|
8611
|
+
export declare enum MongoDbConfigType {
|
|
8612
|
+
current = "current",
|
|
8613
|
+
next = "next"
|
|
8614
|
+
}
|
|
8615
|
+
export declare enum MongoDbEnv {
|
|
8616
|
+
dev = "dev",
|
|
8617
|
+
prod = "prod"
|
|
8618
|
+
}
|
|
8619
|
+
export declare enum MongoDbFieldDiffAction {
|
|
8620
|
+
add = "add",
|
|
8621
|
+
update = "update",
|
|
8622
|
+
delete = "delete"
|
|
8623
|
+
}
|
|
8624
|
+
export declare enum MongoDbFieldType {
|
|
8625
|
+
string = "string",
|
|
8626
|
+
number = "number",
|
|
8627
|
+
boolean = "boolean",
|
|
8628
|
+
object = "object"
|
|
8629
|
+
}
|
|
8630
|
+
export declare enum SortByDate {
|
|
8384
8631
|
createdAt = "createdAt",
|
|
8385
8632
|
createdAt_asc = "createdAt_asc",
|
|
8386
8633
|
createdAt_desc = "createdAt_desc",
|
|
@@ -8388,13 +8635,13 @@ export declare const enum SortByDate {
|
|
|
8388
8635
|
updatedAt_asc = "updatedAt_asc",
|
|
8389
8636
|
updatedAt_desc = "updatedAt_desc"
|
|
8390
8637
|
}
|
|
8391
|
-
export declare
|
|
8638
|
+
export declare enum FileContentType {
|
|
8392
8639
|
cloud = "cloud",
|
|
8393
8640
|
lite = "lite",
|
|
8394
8641
|
sent_mail = "sent_mail",
|
|
8395
8642
|
received_mail = "received_mail"
|
|
8396
8643
|
}
|
|
8397
|
-
export declare
|
|
8644
|
+
export declare enum InfuraNetwork {
|
|
8398
8645
|
mainnet = "mainnet",
|
|
8399
8646
|
ropsten = "ropsten",
|
|
8400
8647
|
rinkeby = "rinkeby",
|
|
@@ -8403,11 +8650,11 @@ export declare const enum InfuraNetwork {
|
|
|
8403
8650
|
polygon_mainnet = "polygon_mainnet",
|
|
8404
8651
|
polygon_mumbai = "polygon_mumbai"
|
|
8405
8652
|
}
|
|
8406
|
-
export declare
|
|
8653
|
+
export declare enum PayInputType {
|
|
8407
8654
|
secure = "secure",
|
|
8408
8655
|
classic = "classic"
|
|
8409
8656
|
}
|
|
8410
|
-
export declare
|
|
8657
|
+
export declare enum CancellationReason {
|
|
8411
8658
|
abandoned = "abandoned",
|
|
8412
8659
|
automatic = "automatic",
|
|
8413
8660
|
duplicate = "duplicate",
|
|
@@ -8416,15 +8663,15 @@ export declare const enum CancellationReason {
|
|
|
8416
8663
|
requested_by_customer = "requested_by_customer",
|
|
8417
8664
|
void_invoice = "void_invoice"
|
|
8418
8665
|
}
|
|
8419
|
-
export declare
|
|
8666
|
+
export declare enum CaptureMethod {
|
|
8420
8667
|
manual = "manual",
|
|
8421
8668
|
automatic = "automatic"
|
|
8422
8669
|
}
|
|
8423
|
-
export declare
|
|
8670
|
+
export declare enum ConfirmationMethod {
|
|
8424
8671
|
manual = "manual",
|
|
8425
8672
|
automatic = "automatic"
|
|
8426
8673
|
}
|
|
8427
|
-
export declare
|
|
8674
|
+
export declare enum Status {
|
|
8428
8675
|
canceled = "canceled",
|
|
8429
8676
|
processing = "processing",
|
|
8430
8677
|
requires_action = "requires_action",
|
|
@@ -8433,7 +8680,7 @@ export declare const enum Status {
|
|
|
8433
8680
|
requires_payment_method = "requires_payment_method",
|
|
8434
8681
|
succeeded = "succeeded"
|
|
8435
8682
|
}
|
|
8436
|
-
export declare
|
|
8683
|
+
export declare enum PayoutType {
|
|
8437
8684
|
bank_account = "bank_account",
|
|
8438
8685
|
card = "card"
|
|
8439
8686
|
}
|
|
@@ -8449,6 +8696,10 @@ type ZEUS_VARIABLES = {
|
|
|
8449
8696
|
["Rights"]: ValueTypes["Rights"];
|
|
8450
8697
|
["NodeType"]: ValueTypes["NodeType"];
|
|
8451
8698
|
["PaymentMethod"]: ValueTypes["PaymentMethod"];
|
|
8699
|
+
["MongoDbConfigType"]: ValueTypes["MongoDbConfigType"];
|
|
8700
|
+
["MongoDbEnv"]: ValueTypes["MongoDbEnv"];
|
|
8701
|
+
["MongoDbFieldDiffAction"]: ValueTypes["MongoDbFieldDiffAction"];
|
|
8702
|
+
["MongoDbFieldType"]: ValueTypes["MongoDbFieldType"];
|
|
8452
8703
|
["SortByDate"]: ValueTypes["SortByDate"];
|
|
8453
8704
|
["FileContentType"]: ValueTypes["FileContentType"];
|
|
8454
8705
|
["InfuraNetwork"]: ValueTypes["InfuraNetwork"];
|