@secrecy/lib 1.6.0-integration-get-developers.4 → 1.6.1
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/BaseClient-ca94a07f.d.ts +405 -0
- package/dist/BaseClient.cjs +2 -0
- package/dist/BaseClient.cjs.map +1 -0
- package/dist/BaseClient.d.ts +16 -111
- package/dist/BaseClient.js +2 -506
- package/dist/BaseClient.js.map +1 -0
- package/dist/PopupTools.cjs +2 -0
- package/dist/PopupTools.cjs.map +1 -0
- package/dist/PopupTools.d.ts +5 -4
- package/dist/PopupTools.js +2 -195
- package/dist/PopupTools.js.map +1 -0
- package/dist/ZeusThunder.cjs +2 -0
- package/dist/ZeusThunder.cjs.map +1 -0
- package/dist/ZeusThunder.d.ts +6 -2
- package/dist/ZeusThunder.js +2 -65
- package/dist/ZeusThunder.js.map +1 -0
- package/dist/cache.cjs +2 -0
- package/dist/cache.cjs.map +1 -0
- package/dist/cache.d.ts +22 -4
- package/dist/cache.js +2 -4
- package/dist/cache.js.map +1 -0
- package/dist/client/SecrecyAppClient.cjs +2 -0
- package/dist/client/SecrecyAppClient.cjs.map +1 -0
- package/dist/client/SecrecyAppClient.d.ts +16 -17
- package/dist/client/SecrecyAppClient.js +2 -226
- package/dist/client/SecrecyAppClient.js.map +1 -0
- package/dist/client/SecrecyCloudClient.cjs +2 -0
- package/dist/client/SecrecyCloudClient.cjs.map +1 -0
- package/dist/client/SecrecyCloudClient.d.ts +16 -89
- package/dist/client/SecrecyCloudClient.js +2 -1405
- package/dist/client/SecrecyCloudClient.js.map +1 -0
- package/dist/client/SecrecyDbClient.cjs +2 -0
- package/dist/client/SecrecyDbClient.cjs.map +1 -0
- package/dist/client/SecrecyDbClient.d.ts +16 -21
- package/dist/client/SecrecyDbClient.js +2 -177
- package/dist/client/SecrecyDbClient.js.map +1 -0
- package/dist/client/SecrecyMailClient.cjs +2 -0
- package/dist/client/SecrecyMailClient.cjs.map +1 -0
- package/dist/client/SecrecyMailClient.d.ts +16 -42
- package/dist/client/SecrecyMailClient.js +2 -1022
- package/dist/client/SecrecyMailClient.js.map +1 -0
- package/dist/client/SecrecyPayClient.cjs +2 -0
- package/dist/client/SecrecyPayClient.cjs.map +1 -0
- package/dist/client/SecrecyPayClient.d.ts +16 -28
- package/dist/client/SecrecyPayClient.js +2 -68
- package/dist/client/SecrecyPayClient.js.map +1 -0
- package/dist/client/SecrecyWalletClient.cjs +2 -0
- package/dist/client/SecrecyWalletClient.cjs.map +1 -0
- package/dist/client/SecrecyWalletClient.d.ts +16 -30
- package/dist/client/SecrecyWalletClient.js +2 -73
- package/dist/client/SecrecyWalletClient.js.map +1 -0
- package/dist/client/convert/file.cjs +2 -0
- package/dist/client/convert/file.cjs.map +1 -0
- package/dist/client/convert/file.d.ts +11 -5
- package/dist/client/convert/file.js +2 -33
- package/dist/client/convert/file.js.map +1 -0
- package/dist/client/convert/mail.cjs +2 -0
- package/dist/client/convert/mail.cjs.map +1 -0
- package/dist/client/convert/mail.d.ts +13 -3
- package/dist/client/convert/mail.js +2 -42
- package/dist/client/convert/mail.js.map +1 -0
- package/dist/client/convert/node.cjs +2 -0
- package/dist/client/convert/node.cjs.map +1 -0
- package/dist/client/convert/node.d.ts +18 -9
- package/dist/client/convert/node.js +2 -87
- package/dist/client/convert/node.js.map +1 -0
- package/dist/client/helpers.cjs +2 -0
- package/dist/client/helpers.cjs.map +1 -0
- package/dist/client/helpers.d.ts +16 -28
- package/dist/client/helpers.js +2 -119
- package/dist/client/helpers.js.map +1 -0
- package/dist/client/index.cjs +2 -0
- package/dist/client/index.cjs.map +1 -0
- package/dist/client/index.d.ts +16 -34
- package/dist/client/index.js +2 -46
- package/dist/client/index.js.map +1 -0
- package/dist/client/storage.cjs +2 -0
- package/dist/client/storage.cjs.map +1 -0
- package/dist/client/storage.d.ts +6 -3
- package/dist/client/storage.js +2 -12
- package/dist/client/storage.js.map +1 -0
- package/dist/client/types/File.cjs +1 -0
- package/dist/client/types/File.cjs.map +1 -0
- package/dist/client/types/File.d.ts +9 -5
- package/dist/client/types/File.js +1 -3
- package/dist/client/types/File.js.map +1 -0
- package/dist/client/types/Inputs.cjs +1 -0
- package/dist/client/types/Inputs.cjs.map +1 -0
- package/dist/client/types/Inputs.d.ts +6 -4
- package/dist/client/types/Inputs.js +1 -3
- package/dist/client/types/Inputs.js.map +1 -0
- package/dist/client/types/Node.cjs +1 -0
- package/dist/client/types/Node.cjs.map +1 -0
- package/dist/client/types/Node.d.ts +9 -56
- package/dist/client/types/Node.js +1 -3
- package/dist/client/types/Node.js.map +1 -0
- package/dist/client/types/UserAppNotifications.cjs +1 -0
- package/dist/client/types/UserAppNotifications.cjs.map +1 -0
- package/dist/client/types/UserAppNotifications.d.ts +3 -1
- package/dist/client/types/UserAppNotifications.js +1 -3
- package/dist/client/types/UserAppNotifications.js.map +1 -0
- package/dist/client/types/UserAppSettings.cjs +1 -0
- package/dist/client/types/UserAppSettings.cjs.map +1 -0
- package/dist/client/types/UserAppSettings.d.ts +3 -1
- package/dist/client/types/UserAppSettings.js +1 -3
- package/dist/client/types/UserAppSettings.js.map +1 -0
- package/dist/client/types/index.cjs +2 -0
- package/dist/client/types/index.cjs.map +1 -0
- package/dist/client/types/index.d.ts +86 -30
- package/dist/client/types/index.js +2 -8
- package/dist/client/types/index.js.map +1 -0
- package/dist/client/types/selectors.cjs +2 -0
- package/dist/client/types/selectors.cjs.map +1 -0
- package/dist/client/types/selectors.d.ts +7 -5
- package/dist/client/types/selectors.js +2 -135
- package/dist/client/types/selectors.js.map +1 -0
- package/dist/crypto/file.cjs +2 -0
- package/dist/crypto/file.cjs.map +1 -0
- package/dist/crypto/file.d.ts +8 -6
- package/dist/crypto/file.js +2 -195
- package/dist/crypto/file.js.map +1 -0
- package/dist/crypto/index.cjs +2 -0
- package/dist/crypto/index.cjs.map +1 -0
- package/dist/crypto/index.d.ts +11 -9
- package/dist/crypto/index.js +2 -45
- package/dist/crypto/index.js.map +1 -0
- package/dist/error.cjs +1 -0
- package/dist/error.cjs.map +1 -0
- package/dist/error.d.ts +13 -11
- package/dist/error.js +1 -3
- package/dist/error.js.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +19 -14
- package/dist/index.js +2 -10
- package/dist/index.js.map +1 -0
- package/dist/minify/index.cjs +2 -0
- package/dist/minify/index.cjs.map +1 -0
- package/dist/minify/index.d.ts +4 -2
- package/dist/minify/index.js +2 -23
- package/dist/minify/index.js.map +1 -0
- package/dist/minify/lz4.cjs +3 -0
- package/dist/minify/lz4.cjs.map +1 -0
- package/dist/minify/lz4.d.ts +7 -5
- package/dist/minify/lz4.js +2 -538
- package/dist/minify/lz4.js.map +1 -0
- package/dist/sodium.cjs +2 -0
- package/dist/sodium.cjs.map +1 -0
- package/dist/sodium.d.ts +5 -3
- package/dist/sodium.js +2 -6
- package/dist/sodium.js.map +1 -0
- package/dist/utils/encoders.cjs +2 -0
- package/dist/utils/encoders.cjs.map +1 -0
- package/dist/utils/encoders.d.ts +28 -0
- package/dist/utils/encoders.js +2 -0
- package/dist/utils/encoders.js.map +1 -0
- package/dist/utils/store-buddy.cjs +2 -0
- package/dist/utils/store-buddy.cjs.map +1 -0
- package/dist/utils/store-buddy.d.ts +4 -3
- package/dist/utils/store-buddy.js +2 -58
- package/dist/utils/store-buddy.js.map +1 -0
- package/dist/utils/time.cjs +2 -0
- package/dist/utils/time.cjs.map +1 -0
- package/dist/utils/time.d.ts +4 -2
- package/dist/utils/time.js +2 -12
- package/dist/utils/time.js.map +1 -0
- package/dist/utils/utils.cjs +2 -0
- package/dist/utils/utils.cjs.map +1 -0
- package/dist/utils/utils.d.ts +6 -4
- package/dist/utils/utils.js +2 -47
- package/dist/utils/utils.js.map +1 -0
- package/dist/worker/md5.cjs +2 -0
- package/dist/worker/md5.cjs.map +1 -0
- package/dist/worker/md5.d.ts +3 -1
- package/dist/worker/md5.js +2 -24
- package/dist/worker/md5.js.map +1 -0
- package/dist/worker/sodium.cjs +2 -0
- package/dist/worker/sodium.cjs.map +1 -0
- package/dist/worker/sodium.d.ts +6 -3
- package/dist/worker/sodium.js +2 -118
- package/dist/worker/sodium.js.map +1 -0
- package/dist/worker/workerCodes.cjs +254 -0
- package/dist/worker/workerCodes.cjs.map +1 -0
- package/dist/worker/workerCodes.d.ts +4 -2
- package/dist/worker/workerCodes.js +4 -5
- package/dist/worker/workerCodes.js.map +1 -0
- package/dist/zeus/const.cjs +2 -0
- package/dist/zeus/const.cjs.map +1 -0
- package/dist/zeus/const.d.ts +5 -3
- package/dist/zeus/const.js +2 -1846
- package/dist/zeus/const.js.map +1 -0
- package/dist/zeus/index.cjs +5 -0
- package/dist/zeus/index.cjs.map +1 -0
- package/dist/zeus/index.d.ts +365 -380
- package/dist/zeus/index.js +5 -615
- package/dist/zeus/index.js.map +1 -0
- package/package.json +2 -2
package/dist/zeus/index.d.ts
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { Ops } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { Ops } from './const.js';
|
|
2
|
+
|
|
3
|
+
declare const HOST = "http://localhost:4000/graphql";
|
|
4
|
+
declare const HEADERS: {};
|
|
5
|
+
declare const apiSubscription: (options: chainOptions) => (query: string) => {
|
|
5
6
|
ws: WebSocket;
|
|
6
7
|
on: (e: (args: any) => void) => void;
|
|
7
8
|
off: (e: (args: any) => void) => void;
|
|
8
9
|
error: (e: (args: any) => void) => void;
|
|
9
10
|
open: (e: () => void) => void;
|
|
10
11
|
};
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
declare const apiFetch: (options: [input: URL | RequestInfo, init?: RequestInit | undefined]) => (query: string, variables?: Record<string, unknown>) => Promise<Record<string, any> | undefined>;
|
|
13
|
+
declare const InternalsBuildQuery: ({ ops, props, returns, options, scalars }: {
|
|
13
14
|
props: AllTypesPropsType;
|
|
14
15
|
returns: ReturnTypesType;
|
|
15
16
|
ops: Operations;
|
|
@@ -19,30 +20,30 @@ export declare const InternalsBuildQuery: ({ ops, props, returns, options, scala
|
|
|
19
20
|
name: string;
|
|
20
21
|
graphQLType: string;
|
|
21
22
|
}>) => string;
|
|
22
|
-
|
|
23
|
+
declare const Thunder: (fn: FetchFunction) => <O extends "query" | "mutation" | "subscription", SCLR extends ScalarDefinition, R extends keyof ValueTypes = GenericOperation<O>>(operation: O, graphqlOptions?: ThunderGraphQLOptions<SCLR> | undefined) => <Z extends ValueTypes[R]>(o: Z | ValueTypes[R], ops?: OperationOptions & {
|
|
23
24
|
variables?: Record<string, unknown>;
|
|
24
25
|
}) => Promise<InputType<GraphQLTypes[R], Z, SCLR>>;
|
|
25
|
-
|
|
26
|
+
declare const Chain: (...options: chainOptions) => <O extends "query" | "mutation" | "subscription", SCLR extends ScalarDefinition, R extends keyof ValueTypes = GenericOperation<O>>(operation: O, graphqlOptions?: ThunderGraphQLOptions<SCLR> | undefined) => <Z extends ValueTypes[R]>(o: Z | ValueTypes[R], ops?: OperationOptions & {
|
|
26
27
|
variables?: Record<string, unknown>;
|
|
27
28
|
}) => Promise<InputType<GraphQLTypes[R], Z, SCLR>>;
|
|
28
|
-
|
|
29
|
+
declare const SubscriptionThunder: (fn: SubscriptionFunction) => <O extends "query" | "mutation" | "subscription", SCLR extends ScalarDefinition, R extends keyof ValueTypes = GenericOperation<O>>(operation: O, graphqlOptions?: ThunderGraphQLOptions<SCLR> | undefined) => <Z extends ValueTypes[R]>(o: Z | ValueTypes[R], ops?: (OperationOptions & {
|
|
29
30
|
variables?: ExtractVariables<Z> | undefined;
|
|
30
31
|
}) | undefined) => SubscriptionToGraphQL<Z, GraphQLTypes[R], SCLR>;
|
|
31
|
-
|
|
32
|
+
declare const Subscription: (...options: chainOptions) => <O extends "query" | "mutation" | "subscription", SCLR extends ScalarDefinition, R extends keyof ValueTypes = GenericOperation<O>>(operation: O, graphqlOptions?: ThunderGraphQLOptions<SCLR> | undefined) => <Z extends ValueTypes[R]>(o: Z | ValueTypes[R], ops?: (OperationOptions & {
|
|
32
33
|
variables?: ExtractVariables<Z> | undefined;
|
|
33
34
|
}) | undefined) => SubscriptionToGraphQL<Z, GraphQLTypes[R], SCLR>;
|
|
34
|
-
|
|
35
|
+
declare const Zeus: <Z extends ValueTypes[R], O extends "query" | "mutation" | "subscription", R extends keyof ValueTypes = GenericOperation<O>>(operation: O, o: Z | ValueTypes[R], ops?: {
|
|
35
36
|
operationOptions?: OperationOptions;
|
|
36
37
|
scalars?: ScalarDefinition;
|
|
37
38
|
}) => string;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
declare const ZeusSelect: <T>() => SelectionFunction<T>;
|
|
40
|
+
declare const Selector: <T extends keyof ValueTypes>(key: T) => SelectionFunction<ValueTypes[T]>;
|
|
41
|
+
declare const TypeFromSelector: <T extends keyof ValueTypes>(key: T) => SelectionFunction<ValueTypes[T]>;
|
|
42
|
+
declare const Gql: <O extends "query" | "mutation" | "subscription", SCLR extends ScalarDefinition, R extends keyof ValueTypes = GenericOperation<O>>(operation: O, graphqlOptions?: ThunderGraphQLOptions<SCLR> | undefined) => <Z extends ValueTypes[R]>(o: Z | ValueTypes[R], ops?: OperationOptions & {
|
|
42
43
|
variables?: Record<string, unknown>;
|
|
43
44
|
}) => Promise<InputType<GraphQLTypes[R], Z, SCLR>>;
|
|
44
|
-
|
|
45
|
-
|
|
45
|
+
declare const ZeusScalars: SelectionFunction<ScalarCoders>;
|
|
46
|
+
declare const decodeScalarsInResponse: <O extends Operations>({ response, scalars, returns, ops, initialZeusQuery, initialOp }: {
|
|
46
47
|
ops: O;
|
|
47
48
|
response: any;
|
|
48
49
|
returns: ReturnTypesType;
|
|
@@ -50,7 +51,7 @@ export declare const decodeScalarsInResponse: <O extends Operations>({ response,
|
|
|
50
51
|
initialOp: keyof O;
|
|
51
52
|
initialZeusQuery: InputValueType | VType;
|
|
52
53
|
}) => any;
|
|
53
|
-
|
|
54
|
+
declare const traverseResponse: ({ resolvers, scalarPaths }: {
|
|
54
55
|
scalarPaths: {
|
|
55
56
|
[x: string]: `scalar.${string}`;
|
|
56
57
|
};
|
|
@@ -58,68 +59,68 @@ export declare const traverseResponse: ({ resolvers, scalarPaths }: {
|
|
|
58
59
|
[x: string]: ScalarResolver | undefined;
|
|
59
60
|
};
|
|
60
61
|
}) => (k: string, o: InputValueType | VType, p?: string[]) => unknown;
|
|
61
|
-
|
|
62
|
+
type AllTypesPropsType = {
|
|
62
63
|
[x: string]: undefined | `scalar.${string}` | "enum" | {
|
|
63
64
|
[x: string]: undefined | string | {
|
|
64
65
|
[x: string]: string | undefined;
|
|
65
66
|
};
|
|
66
67
|
};
|
|
67
68
|
};
|
|
68
|
-
|
|
69
|
+
type ReturnTypesType = {
|
|
69
70
|
[x: string]: {
|
|
70
71
|
[x: string]: string | undefined;
|
|
71
72
|
} | `scalar.${string}` | undefined;
|
|
72
73
|
};
|
|
73
|
-
|
|
74
|
+
type InputValueType = {
|
|
74
75
|
[x: string]: undefined | boolean | string | number | [any, undefined | boolean | InputValueType] | InputValueType;
|
|
75
76
|
};
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
type VType = undefined | boolean | string | number | [any, undefined | boolean | InputValueType] | InputValueType;
|
|
78
|
+
type PlainType = boolean | number | string | null | undefined;
|
|
79
|
+
type ZeusArgsType = PlainType | {
|
|
79
80
|
[x: string]: ZeusArgsType;
|
|
80
81
|
} | Array<ZeusArgsType>;
|
|
81
|
-
|
|
82
|
-
|
|
82
|
+
type Operations = Record<string, string>;
|
|
83
|
+
type VariableDefinition = {
|
|
83
84
|
[x: string]: unknown;
|
|
84
85
|
};
|
|
85
|
-
|
|
86
|
-
|
|
86
|
+
declare const SEPARATOR = "|";
|
|
87
|
+
type fetchOptions = Parameters<typeof fetch>;
|
|
87
88
|
type websocketOptions = typeof WebSocket extends new (...args: infer R) => WebSocket ? R : never;
|
|
88
|
-
|
|
89
|
+
type chainOptions = [fetchOptions[0], fetchOptions[1] & {
|
|
89
90
|
websocket?: websocketOptions;
|
|
90
91
|
}] | [fetchOptions[0]];
|
|
91
|
-
|
|
92
|
-
|
|
92
|
+
type FetchFunction = (query: string, variables?: Record<string, unknown>) => Promise<any>;
|
|
93
|
+
type SubscriptionFunction = (query: string) => any;
|
|
93
94
|
type NotUndefined<T> = T extends undefined ? never : T;
|
|
94
|
-
|
|
95
|
-
|
|
95
|
+
type ResolverType<F> = NotUndefined<F extends [infer ARGS, any] ? ARGS : undefined>;
|
|
96
|
+
type OperationOptions = {
|
|
96
97
|
operationName?: string;
|
|
97
98
|
};
|
|
98
|
-
|
|
99
|
-
|
|
99
|
+
type ScalarCoder = Record<string, (s: unknown) => string>;
|
|
100
|
+
interface GraphQLResponse {
|
|
100
101
|
data?: Record<string, any>;
|
|
101
102
|
errors?: Array<{
|
|
102
103
|
message: string;
|
|
103
104
|
}>;
|
|
104
105
|
}
|
|
105
|
-
|
|
106
|
+
declare class GraphQLError extends Error {
|
|
106
107
|
response: GraphQLResponse;
|
|
107
108
|
constructor(response: GraphQLResponse);
|
|
108
109
|
toString(): string;
|
|
109
110
|
}
|
|
110
|
-
|
|
111
|
-
|
|
111
|
+
type GenericOperation<O> = O extends keyof typeof Ops ? typeof Ops[O] : never;
|
|
112
|
+
type ThunderGraphQLOptions<SCLR extends ScalarDefinition> = {
|
|
112
113
|
scalars?: SCLR | ScalarCoders;
|
|
113
114
|
};
|
|
114
|
-
|
|
115
|
+
declare const PrepareScalarPaths: ({ ops, returns }: {
|
|
115
116
|
returns: ReturnTypesType;
|
|
116
117
|
ops: Operations;
|
|
117
118
|
}) => (k: string, originalKey: string, o: InputValueType | VType, p?: string[], pOriginals?: string[], root?: boolean) => {
|
|
118
119
|
[x: string]: `scalar.${string}`;
|
|
119
120
|
} | undefined;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
declare const purifyGraphQLKey: (k: string) => string;
|
|
122
|
+
declare const ResolveFromPath: (props: AllTypesPropsType, returns: ReturnTypesType, ops: Operations) => (path: string) => "enum" | "not" | `scalar.${string}`;
|
|
123
|
+
declare const InternalArgsBuilt: ({ props, ops, returns, scalars, vars }: {
|
|
123
124
|
props: AllTypesPropsType;
|
|
124
125
|
returns: ReturnTypesType;
|
|
125
126
|
ops: Operations;
|
|
@@ -129,22 +130,22 @@ export declare const InternalArgsBuilt: ({ props, ops, returns, scalars, vars }:
|
|
|
129
130
|
graphQLType: string;
|
|
130
131
|
}>;
|
|
131
132
|
}) => (a: ZeusArgsType, p?: string, root?: boolean) => string;
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
133
|
+
declare const resolverFor: <X, T extends keyof ResolverInputTypes, Z extends keyof ResolverInputTypes[T]>(_type: T, _field: Z, fn: (args: Required<ResolverInputTypes[T]>[Z] extends [infer Input, any] ? Input : any, source: any) => Z extends keyof ModelTypes[T] ? X | ModelTypes[T][Z] | Promise<ModelTypes[T][Z]> : any) => (args?: any, source?: any) => any;
|
|
134
|
+
type UnwrapPromise<T> = T extends Promise<infer R> ? R : T;
|
|
135
|
+
type ZeusState<T extends (...args: any[]) => Promise<any>> = NonNullable<UnwrapPromise<ReturnType<T>>>;
|
|
136
|
+
type ZeusHook<T extends (...args: any[]) => Record<string, (...args: any[]) => Promise<any>>, N extends keyof ReturnType<T>> = ZeusState<ReturnType<T>[N]>;
|
|
137
|
+
type WithTypeNameValue<T> = T & {
|
|
137
138
|
__typename?: boolean;
|
|
138
139
|
__directives?: string;
|
|
139
140
|
};
|
|
140
|
-
|
|
141
|
+
type AliasType<T> = WithTypeNameValue<T> & {
|
|
141
142
|
__alias?: Record<string, WithTypeNameValue<T>>;
|
|
142
143
|
};
|
|
143
144
|
type DeepAnify<T> = {
|
|
144
145
|
[P in keyof T]?: any;
|
|
145
146
|
};
|
|
146
147
|
type IsPayLoad<T> = T extends [any, infer PayLoad] ? PayLoad : T;
|
|
147
|
-
|
|
148
|
+
type ScalarDefinition = Record<string, ScalarResolver>;
|
|
148
149
|
type IsScalar<S, SCLR extends ScalarDefinition> = S extends "scalar" & {
|
|
149
150
|
name: infer T;
|
|
150
151
|
} ? T extends keyof SCLR ? SCLR[T]["decode"] extends (s: unknown) => unknown ? ReturnType<SCLR[T]["decode"]> : unknown : unknown : S;
|
|
@@ -164,13 +165,13 @@ type IsInterfaced<SRC extends DeepAnify<DST>, DST, SCLR extends ScalarDefinition
|
|
|
164
165
|
} : {
|
|
165
166
|
[P in keyof Pick<SRC, keyof DST>]: IsPayLoad<DST[P]> extends BaseZeusResolver ? IsScalar<SRC[P], SCLR> : IsArray<SRC[P], DST[P], SCLR>;
|
|
166
167
|
};
|
|
167
|
-
|
|
168
|
-
|
|
168
|
+
type MapType<SRC, DST, SCLR extends ScalarDefinition> = SRC extends DeepAnify<DST> ? IsInterfaced<SRC, DST, SCLR> : never;
|
|
169
|
+
type InputType<SRC, DST, SCLR extends ScalarDefinition = {}> = IsPayLoad<DST> extends {
|
|
169
170
|
__alias: infer R;
|
|
170
171
|
} ? {
|
|
171
172
|
[P in keyof R]: MapType<SRC, R[P], SCLR>[keyof MapType<SRC, R[P], SCLR>];
|
|
172
173
|
} & MapType<SRC, Omit<IsPayLoad<DST>, "__alias">, SCLR> : MapType<SRC, IsPayLoad<DST>, SCLR>;
|
|
173
|
-
|
|
174
|
+
type SubscriptionToGraphQL<Z, T, SCLR extends ScalarDefinition> = {
|
|
174
175
|
ws: WebSocket;
|
|
175
176
|
on: (fn: (args: InputType<T, Z, SCLR>) => void) => void;
|
|
176
177
|
off: (fn: (e: {
|
|
@@ -185,12 +186,12 @@ export type SubscriptionToGraphQL<Z, T, SCLR extends ScalarDefinition> = {
|
|
|
185
186
|
}) => void) => void;
|
|
186
187
|
open: () => void;
|
|
187
188
|
};
|
|
188
|
-
|
|
189
|
-
|
|
189
|
+
type FromSelector<SELECTOR, NAME extends keyof GraphQLTypes, SCLR extends ScalarDefinition = {}> = InputType<GraphQLTypes[NAME], SELECTOR, SCLR>;
|
|
190
|
+
type ScalarResolver = {
|
|
190
191
|
encode?: (s: unknown) => string;
|
|
191
192
|
decode?: (s: unknown) => unknown;
|
|
192
193
|
};
|
|
193
|
-
|
|
194
|
+
type SelectionFunction<V> = <T>(t: T | V) => T;
|
|
194
195
|
type BuiltInVariableTypes = {
|
|
195
196
|
["String"]: string;
|
|
196
197
|
["Int"]: number;
|
|
@@ -201,11 +202,11 @@ type BuiltInVariableTypes = {
|
|
|
201
202
|
type AllVariableTypes = keyof BuiltInVariableTypes | keyof ZEUS_VARIABLES;
|
|
202
203
|
type VariableRequired<T extends string> = `${T}!` | T | `[${T}]` | `[${T}]!` | `[${T}!]` | `[${T}!]!`;
|
|
203
204
|
type VR<T extends string> = VariableRequired<VariableRequired<T>>;
|
|
204
|
-
|
|
205
|
+
type GraphQLVariableType = VR<AllVariableTypes>;
|
|
205
206
|
type ExtractVariableTypeString<T extends string> = T extends VR<infer R1> ? R1 extends VR<infer R2> ? R2 extends VR<infer R3> ? R3 extends VR<infer R4> ? R4 extends VR<infer R5> ? R5 : R4 : R3 : R2 : R1 : T;
|
|
206
207
|
type DecomposeType<T, Type> = T extends `[${infer R}]` ? Array<DecomposeType<R, Type>> | undefined : T extends `${infer R}!` ? NonNullable<DecomposeType<R, Type>> : Type | undefined;
|
|
207
208
|
type ExtractTypeFromGraphQLType<T extends string> = T extends keyof ZEUS_VARIABLES ? ZEUS_VARIABLES[T] : T extends keyof BuiltInVariableTypes ? BuiltInVariableTypes[T] : any;
|
|
208
|
-
|
|
209
|
+
type GetVariableType<T extends string> = DecomposeType<T, ExtractTypeFromGraphQLType<ExtractVariableTypeString<T>>>;
|
|
209
210
|
type UndefinedKeys<T> = {
|
|
210
211
|
[K in keyof T]-?: T[K] extends NonNullable<T[K]> ? never : K;
|
|
211
212
|
}[keyof T];
|
|
@@ -214,29 +215,29 @@ type WithNonNullableKeys<T> = Omit<T, UndefinedKeys<T>>;
|
|
|
214
215
|
type OptionalKeys<T> = {
|
|
215
216
|
[P in keyof T]?: T[P];
|
|
216
217
|
};
|
|
217
|
-
|
|
218
|
-
|
|
218
|
+
type WithOptionalNullables<T> = OptionalKeys<WithNullableKeys<T>> & WithNonNullableKeys<T>;
|
|
219
|
+
type Variable<T extends GraphQLVariableType, Name extends string> = {
|
|
219
220
|
" __zeus_name": Name;
|
|
220
221
|
" __zeus_type": T;
|
|
221
222
|
};
|
|
222
|
-
|
|
223
|
+
type ExtractVariables<Query> = Query extends Variable<infer VType, infer VName> ? {
|
|
223
224
|
[key in VName]: GetVariableType<VType>;
|
|
224
225
|
} : Query extends [infer Inputs, infer Outputs] ? ExtractVariables<Inputs> & ExtractVariables<Outputs> : Query extends string | number | boolean ? {} : UnionToIntersection<{
|
|
225
226
|
[K in keyof Query]: WithOptionalNullables<ExtractVariables<Query[K]>>;
|
|
226
227
|
}[keyof Query]>;
|
|
227
228
|
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
229
|
+
declare const START_VAR_NAME = "$ZEUS_VAR";
|
|
230
|
+
declare const GRAPHQL_TYPE_SEPARATOR = "__$GRAPHQL__";
|
|
231
|
+
declare const $: <Type extends GraphQLVariableType, Name extends string>(name: Name, graphqlType: Type) => Variable<Type, Name>;
|
|
231
232
|
type ZEUS_INTERFACES = GraphQLTypes["ErrorBase"] | GraphQLTypes["FileContentBase"];
|
|
232
|
-
|
|
233
|
+
type ScalarCoders = {
|
|
233
234
|
BigInt?: ScalarResolver;
|
|
234
235
|
DateTime?: ScalarResolver;
|
|
235
236
|
Json?: ScalarResolver;
|
|
236
237
|
Bytes?: ScalarResolver;
|
|
237
238
|
};
|
|
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["
|
|
239
|
-
|
|
239
|
+
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"];
|
|
240
|
+
type ValueTypes = {
|
|
240
241
|
["BigInt"]: unknown;
|
|
241
242
|
["DateTime"]: unknown;
|
|
242
243
|
["Json"]: unknown;
|
|
@@ -267,17 +268,23 @@ export type ValueTypes = {
|
|
|
267
268
|
["DbConfigResult"]: AliasType<{
|
|
268
269
|
["...on DbConfigResponse"]: ValueTypes["DbConfigResponse"];
|
|
269
270
|
["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
|
|
270
|
-
["...on ErrorNotExist"]: ValueTypes["ErrorNotExist"];
|
|
271
271
|
["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
|
|
272
272
|
__typename?: boolean | `@${string}`;
|
|
273
273
|
}>;
|
|
274
274
|
["DbGetResult"]: AliasType<{
|
|
275
275
|
["...on DbGetResponse"]: ValueTypes["DbGetResponse"];
|
|
276
276
|
["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
|
|
277
|
+
["...on ErrorBasic"]: ValueTypes["ErrorBasic"];
|
|
277
278
|
["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
|
|
278
279
|
["...on ErrorNotExist"]: ValueTypes["ErrorNotExist"];
|
|
279
280
|
__typename?: boolean | `@${string}`;
|
|
280
281
|
}>;
|
|
282
|
+
["DbGetDiffResult"]: AliasType<{
|
|
283
|
+
["...on DbGetDiffConfigResponse"]: ValueTypes["DbGetDiffConfigResponse"];
|
|
284
|
+
["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
|
|
285
|
+
["...on ErrorBasic"]: ValueTypes["ErrorBasic"];
|
|
286
|
+
__typename?: boolean | `@${string}`;
|
|
287
|
+
}>;
|
|
281
288
|
["DbSearchResult"]: AliasType<{
|
|
282
289
|
["...on DbSearchResponse"]: ValueTypes["DbSearchResponse"];
|
|
283
290
|
["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
|
|
@@ -484,24 +491,6 @@ export type ValueTypes = {
|
|
|
484
491
|
["...on ErrorStripe"]: ValueTypes["ErrorStripe"];
|
|
485
492
|
__typename?: boolean | `@${string}`;
|
|
486
493
|
}>;
|
|
487
|
-
["GetApplicationResult"]: AliasType<{
|
|
488
|
-
["...on GetApplicationResponse"]: ValueTypes["GetApplicationResponse"];
|
|
489
|
-
["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
|
|
490
|
-
["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
|
|
491
|
-
__typename?: boolean | `@${string}`;
|
|
492
|
-
}>;
|
|
493
|
-
["GetAllDevelopersResult"]: AliasType<{
|
|
494
|
-
["...on GetAllDevelopersMainResponse"]: ValueTypes["GetAllDevelopersMainResponse"];
|
|
495
|
-
["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
|
|
496
|
-
["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
|
|
497
|
-
__typename?: boolean | `@${string}`;
|
|
498
|
-
}>;
|
|
499
|
-
["GetDeveloperResult"]: AliasType<{
|
|
500
|
-
["...on GetDeveloperResponse"]: ValueTypes["GetDeveloperResponse"];
|
|
501
|
-
["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
|
|
502
|
-
["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
|
|
503
|
-
__typename?: boolean | `@${string}`;
|
|
504
|
-
}>;
|
|
505
494
|
["AddFileToHistoryResult"]: AliasType<{
|
|
506
495
|
["...on AddFileToHistoryResponse"]: ValueTypes["AddFileToHistoryResponse"];
|
|
507
496
|
["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
|
|
@@ -533,11 +522,19 @@ export type ValueTypes = {
|
|
|
533
522
|
["DbConfigMutationResult"]: AliasType<{
|
|
534
523
|
["...on DbConfigMutationResponse"]: ValueTypes["DbConfigMutationResponse"];
|
|
535
524
|
["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
|
|
525
|
+
["...on ErrorBasic"]: ValueTypes["ErrorBasic"];
|
|
526
|
+
__typename?: boolean | `@${string}`;
|
|
527
|
+
}>;
|
|
528
|
+
["DbConfigToProdMutationResult"]: AliasType<{
|
|
529
|
+
["...on DbConfigToProdMutationResponse"]: ValueTypes["DbConfigToProdMutationResponse"];
|
|
530
|
+
["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
|
|
531
|
+
["...on ErrorBasic"]: ValueTypes["ErrorBasic"];
|
|
536
532
|
__typename?: boolean | `@${string}`;
|
|
537
533
|
}>;
|
|
538
534
|
["DbSetResult"]: AliasType<{
|
|
539
535
|
["...on DbSetResponse"]: ValueTypes["DbSetResponse"];
|
|
540
536
|
["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
|
|
537
|
+
["...on ErrorBasic"]: ValueTypes["ErrorBasic"];
|
|
541
538
|
["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
|
|
542
539
|
__typename?: boolean | `@${string}`;
|
|
543
540
|
}>;
|
|
@@ -903,7 +900,6 @@ export type ValueTypes = {
|
|
|
903
900
|
id?: boolean | `@${string}`;
|
|
904
901
|
name?: boolean | `@${string}`;
|
|
905
902
|
logo?: boolean | `@${string}`;
|
|
906
|
-
code?: boolean | `@${string}`;
|
|
907
903
|
color?: boolean | `@${string}`;
|
|
908
904
|
origin?: boolean | `@${string}`;
|
|
909
905
|
createdAt?: boolean | `@${string}`;
|
|
@@ -972,6 +968,22 @@ export type ValueTypes = {
|
|
|
972
968
|
privateKeyEncrypted?: boolean | `@${string}`;
|
|
973
969
|
__typename?: boolean | `@${string}`;
|
|
974
970
|
}>;
|
|
971
|
+
["DbDiffField"]: AliasType<{
|
|
972
|
+
action?: boolean | `@${string}`;
|
|
973
|
+
key?: boolean | `@${string}`;
|
|
974
|
+
current?: boolean | `@${string}`;
|
|
975
|
+
next?: boolean | `@${string}`;
|
|
976
|
+
details?: boolean | `@${string}`;
|
|
977
|
+
__typename?: boolean | `@${string}`;
|
|
978
|
+
}>;
|
|
979
|
+
["DbDiffSchema"]: AliasType<{
|
|
980
|
+
fields?: ValueTypes["DbDiffField"];
|
|
981
|
+
__typename?: boolean | `@${string}`;
|
|
982
|
+
}>;
|
|
983
|
+
["MongoDbConfigType"]: MongoDbConfigType;
|
|
984
|
+
["MongoDbEnv"]: MongoDbEnv;
|
|
985
|
+
["MongoDbFieldDiffAction"]: MongoDbFieldDiffAction;
|
|
986
|
+
["MongoDbFieldType"]: MongoDbFieldType;
|
|
975
987
|
["Developer"]: AliasType<{
|
|
976
988
|
id?: boolean | `@${string}`;
|
|
977
989
|
user?: ValueTypes["User"];
|
|
@@ -990,7 +1002,7 @@ export type ValueTypes = {
|
|
|
990
1002
|
rights?: boolean | `@${string}`;
|
|
991
1003
|
__typename?: boolean | `@${string}`;
|
|
992
1004
|
}>;
|
|
993
|
-
["
|
|
1005
|
+
["SortByDate"]: SortByDate;
|
|
994
1006
|
["Error"]: AliasType<{
|
|
995
1007
|
["...on ErrorStripe"]: ValueTypes["ErrorStripe"];
|
|
996
1008
|
["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
|
|
@@ -1451,6 +1463,10 @@ export type ValueTypes = {
|
|
|
1451
1463
|
dbConfigMutation?: boolean | `@${string}`;
|
|
1452
1464
|
__typename?: boolean | `@${string}`;
|
|
1453
1465
|
}>;
|
|
1466
|
+
["DbConfigToProdMutationResponse"]: AliasType<{
|
|
1467
|
+
dbConfigToProdMutation?: boolean | `@${string}`;
|
|
1468
|
+
__typename?: boolean | `@${string}`;
|
|
1469
|
+
}>;
|
|
1454
1470
|
["DbSetResponse"]: AliasType<{
|
|
1455
1471
|
dbSet?: boolean | `@${string}`;
|
|
1456
1472
|
__typename?: boolean | `@${string}`;
|
|
@@ -1752,6 +1768,18 @@ export type ValueTypes = {
|
|
|
1752
1768
|
userList?: ValueTypes["User"];
|
|
1753
1769
|
__typename?: boolean | `@${string}`;
|
|
1754
1770
|
}>;
|
|
1771
|
+
["DbGetDiffConfig"]: AliasType<{
|
|
1772
|
+
env?: boolean | `@${string}`;
|
|
1773
|
+
current?: boolean | `@${string}`;
|
|
1774
|
+
next?: boolean | `@${string}`;
|
|
1775
|
+
diff?: boolean | `@${string}`;
|
|
1776
|
+
hash?: boolean | `@${string}`;
|
|
1777
|
+
__typename?: boolean | `@${string}`;
|
|
1778
|
+
}>;
|
|
1779
|
+
["DbGetDiffConfigResponse"]: AliasType<{
|
|
1780
|
+
dbGetDiffConfig?: ValueTypes["DbGetDiffConfig"];
|
|
1781
|
+
__typename?: boolean | `@${string}`;
|
|
1782
|
+
}>;
|
|
1755
1783
|
["BalanceStripeResponse"]: AliasType<{
|
|
1756
1784
|
amount?: boolean | `@${string}`;
|
|
1757
1785
|
currency?: boolean | `@${string}`;
|
|
@@ -1951,48 +1979,6 @@ export type ValueTypes = {
|
|
|
1951
1979
|
__typename?: boolean | `@${string}`;
|
|
1952
1980
|
}>;
|
|
1953
1981
|
["PayoutType"]: PayoutType;
|
|
1954
|
-
["GetApplicationResponse"]: AliasType<{
|
|
1955
|
-
application?: ValueTypes["Application"];
|
|
1956
|
-
__typename?: boolean | `@${string}`;
|
|
1957
|
-
}>;
|
|
1958
|
-
["DeveloperResponse"]: AliasType<{
|
|
1959
|
-
rights?: boolean | `@${string}`;
|
|
1960
|
-
role?: boolean | `@${string}`;
|
|
1961
|
-
developer?: ValueTypes["DeveloperInfoResponse"];
|
|
1962
|
-
__typename?: boolean | `@${string}`;
|
|
1963
|
-
}>;
|
|
1964
|
-
["DeveloperInfoResponse"]: AliasType<{
|
|
1965
|
-
id?: boolean | `@${string}`;
|
|
1966
|
-
user?: ValueTypes["DeveloperUserResponse"];
|
|
1967
|
-
__typename?: boolean | `@${string}`;
|
|
1968
|
-
}>;
|
|
1969
|
-
["DeveloperUserResponse"]: AliasType<{
|
|
1970
|
-
infos?: ValueTypes["DeveloperUserInfoResponse"];
|
|
1971
|
-
__typename?: boolean | `@${string}`;
|
|
1972
|
-
}>;
|
|
1973
|
-
["DeveloperUserInfoResponse"]: AliasType<{
|
|
1974
|
-
firstname?: boolean | `@${string}`;
|
|
1975
|
-
lastname?: boolean | `@${string}`;
|
|
1976
|
-
emails?: boolean | `@${string}`;
|
|
1977
|
-
__typename?: boolean | `@${string}`;
|
|
1978
|
-
}>;
|
|
1979
|
-
["GetAllDevelopersResponse"]: AliasType<{
|
|
1980
|
-
developers?: ValueTypes["DeveloperResponse"];
|
|
1981
|
-
__typename?: boolean | `@${string}`;
|
|
1982
|
-
}>;
|
|
1983
|
-
["GetAllDevelopersMainResponse"]: AliasType<{
|
|
1984
|
-
getAllDevelopers?: ValueTypes["GetAllDevelopersResponse"];
|
|
1985
|
-
__typename?: boolean | `@${string}`;
|
|
1986
|
-
}>;
|
|
1987
|
-
["GetDeveloperResponse"]: AliasType<{
|
|
1988
|
-
user?: ValueTypes["GetDeveloperUserResponse"];
|
|
1989
|
-
__typename?: boolean | `@${string}`;
|
|
1990
|
-
}>;
|
|
1991
|
-
["GetDeveloperUserResponse"]: AliasType<{
|
|
1992
|
-
id?: boolean | `@${string}`;
|
|
1993
|
-
infos?: ValueTypes["DeveloperUserInfoResponse"];
|
|
1994
|
-
__typename?: boolean | `@${string}`;
|
|
1995
|
-
}>;
|
|
1996
1982
|
["TemporaryUser"]: AliasType<{
|
|
1997
1983
|
id?: boolean | `@${string}`;
|
|
1998
1984
|
mails?: ValueTypes["MailIntegrity"];
|
|
@@ -2119,7 +2105,7 @@ export type ValueTypes = {
|
|
|
2119
2105
|
appNotifications?: ValueTypes["AppNotificationsResult"];
|
|
2120
2106
|
applications?: [
|
|
2121
2107
|
{
|
|
2122
|
-
sortBy: ValueTypes["
|
|
2108
|
+
sortBy: ValueTypes["SortByDate"] | Variable<any, string>;
|
|
2123
2109
|
},
|
|
2124
2110
|
ValueTypes["ApplicationsResult"]
|
|
2125
2111
|
];
|
|
@@ -2131,21 +2117,37 @@ export type ValueTypes = {
|
|
|
2131
2117
|
];
|
|
2132
2118
|
dbConfig?: [
|
|
2133
2119
|
{
|
|
2134
|
-
|
|
2120
|
+
appId: string | Variable<any, string>;
|
|
2121
|
+
env: ValueTypes["MongoDbEnv"] | Variable<any, string>;
|
|
2135
2122
|
},
|
|
2136
2123
|
ValueTypes["DbConfigResult"]
|
|
2137
2124
|
];
|
|
2138
2125
|
dbGet?: [
|
|
2139
2126
|
{
|
|
2140
2127
|
field: string | Variable<any, string>;
|
|
2128
|
+
appId: string | Variable<any, string>;
|
|
2141
2129
|
userId?: string | undefined | null | Variable<any, string>;
|
|
2130
|
+
env: ValueTypes["MongoDbEnv"] | Variable<any, string>;
|
|
2142
2131
|
},
|
|
2143
2132
|
ValueTypes["DbGetResult"]
|
|
2144
2133
|
];
|
|
2134
|
+
dbGetDiff?: [
|
|
2135
|
+
{
|
|
2136
|
+
appId: string | Variable<any, string>;
|
|
2137
|
+
env: ValueTypes["MongoDbEnv"] | Variable<any, string>;
|
|
2138
|
+
config?: string | undefined | null | Variable<any, string>;
|
|
2139
|
+
},
|
|
2140
|
+
ValueTypes["DbGetDiffResult"]
|
|
2141
|
+
];
|
|
2145
2142
|
dbSearch?: [
|
|
2146
2143
|
{
|
|
2144
|
+
appId: string | Variable<any, string>;
|
|
2147
2145
|
search: string | Variable<any, string>;
|
|
2148
2146
|
field: string | Variable<any, string>;
|
|
2147
|
+
take?: number | undefined | null | Variable<any, string>;
|
|
2148
|
+
skip?: number | undefined | null | Variable<any, string>;
|
|
2149
|
+
orderBy?: string | undefined | null | Variable<any, string>;
|
|
2150
|
+
env: ValueTypes["MongoDbEnv"] | Variable<any, string>;
|
|
2149
2151
|
},
|
|
2150
2152
|
ValueTypes["DbSearchResult"]
|
|
2151
2153
|
];
|
|
@@ -2302,26 +2304,6 @@ export type ValueTypes = {
|
|
|
2302
2304
|
},
|
|
2303
2305
|
ValueTypes["IsValidPaymentIntentResult"]
|
|
2304
2306
|
];
|
|
2305
|
-
getApplication?: [
|
|
2306
|
-
{
|
|
2307
|
-
appCode?: string | undefined | null | Variable<any, string>;
|
|
2308
|
-
appId?: string | undefined | null | Variable<any, string>;
|
|
2309
|
-
},
|
|
2310
|
-
ValueTypes["GetApplicationResult"]
|
|
2311
|
-
];
|
|
2312
|
-
getAllDevelopers?: [
|
|
2313
|
-
{
|
|
2314
|
-
appCode: string | Variable<any, string>;
|
|
2315
|
-
},
|
|
2316
|
-
ValueTypes["GetAllDevelopersResult"]
|
|
2317
|
-
];
|
|
2318
|
-
getDeveloper?: [
|
|
2319
|
-
{
|
|
2320
|
-
appCode: string | Variable<any, string>;
|
|
2321
|
-
developerId: string | Variable<any, string>;
|
|
2322
|
-
},
|
|
2323
|
-
ValueTypes["GetDeveloperResult"]
|
|
2324
|
-
];
|
|
2325
2307
|
__typename?: boolean | `@${string}`;
|
|
2326
2308
|
}>;
|
|
2327
2309
|
["Mutation"]: AliasType<{
|
|
@@ -2362,15 +2344,25 @@ export type ValueTypes = {
|
|
|
2362
2344
|
];
|
|
2363
2345
|
dbConfigMutation?: [
|
|
2364
2346
|
{
|
|
2365
|
-
|
|
2347
|
+
appId: string | Variable<any, string>;
|
|
2348
|
+
env: ValueTypes["MongoDbEnv"] | Variable<any, string>;
|
|
2366
2349
|
config: string | Variable<any, string>;
|
|
2367
2350
|
},
|
|
2368
2351
|
ValueTypes["DbConfigMutationResult"]
|
|
2369
2352
|
];
|
|
2353
|
+
dbConfigToProdMutation?: [
|
|
2354
|
+
{
|
|
2355
|
+
appId: string | Variable<any, string>;
|
|
2356
|
+
diffHash: string | Variable<any, string>;
|
|
2357
|
+
},
|
|
2358
|
+
ValueTypes["DbConfigToProdMutationResult"]
|
|
2359
|
+
];
|
|
2370
2360
|
dbSet?: [
|
|
2371
2361
|
{
|
|
2372
2362
|
value: string | Variable<any, string>;
|
|
2363
|
+
appId: string | Variable<any, string>;
|
|
2373
2364
|
userId?: string | undefined | null | Variable<any, string>;
|
|
2365
|
+
env: ValueTypes["MongoDbEnv"] | Variable<any, string>;
|
|
2374
2366
|
},
|
|
2375
2367
|
ValueTypes["DbSetResult"]
|
|
2376
2368
|
];
|
|
@@ -2807,7 +2799,7 @@ export type ValueTypes = {
|
|
|
2807
2799
|
__typename?: boolean | `@${string}`;
|
|
2808
2800
|
}>;
|
|
2809
2801
|
};
|
|
2810
|
-
|
|
2802
|
+
type ResolverInputTypes = {
|
|
2811
2803
|
["BigInt"]: unknown;
|
|
2812
2804
|
["DateTime"]: unknown;
|
|
2813
2805
|
["Json"]: unknown;
|
|
@@ -2838,17 +2830,23 @@ export type ResolverInputTypes = {
|
|
|
2838
2830
|
["DbConfigResult"]: AliasType<{
|
|
2839
2831
|
DbConfigResponse?: ResolverInputTypes["DbConfigResponse"];
|
|
2840
2832
|
ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
|
|
2841
|
-
ErrorNotExist?: ResolverInputTypes["ErrorNotExist"];
|
|
2842
2833
|
ErrorNotFound?: ResolverInputTypes["ErrorNotFound"];
|
|
2843
2834
|
__typename?: boolean | `@${string}`;
|
|
2844
2835
|
}>;
|
|
2845
2836
|
["DbGetResult"]: AliasType<{
|
|
2846
2837
|
DbGetResponse?: ResolverInputTypes["DbGetResponse"];
|
|
2847
2838
|
ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
|
|
2839
|
+
ErrorBasic?: ResolverInputTypes["ErrorBasic"];
|
|
2848
2840
|
ErrorNotFound?: ResolverInputTypes["ErrorNotFound"];
|
|
2849
2841
|
ErrorNotExist?: ResolverInputTypes["ErrorNotExist"];
|
|
2850
2842
|
__typename?: boolean | `@${string}`;
|
|
2851
2843
|
}>;
|
|
2844
|
+
["DbGetDiffResult"]: AliasType<{
|
|
2845
|
+
DbGetDiffConfigResponse?: ResolverInputTypes["DbGetDiffConfigResponse"];
|
|
2846
|
+
ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
|
|
2847
|
+
ErrorBasic?: ResolverInputTypes["ErrorBasic"];
|
|
2848
|
+
__typename?: boolean | `@${string}`;
|
|
2849
|
+
}>;
|
|
2852
2850
|
["DbSearchResult"]: AliasType<{
|
|
2853
2851
|
DbSearchResponse?: ResolverInputTypes["DbSearchResponse"];
|
|
2854
2852
|
ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
|
|
@@ -3055,24 +3053,6 @@ export type ResolverInputTypes = {
|
|
|
3055
3053
|
ErrorStripe?: ResolverInputTypes["ErrorStripe"];
|
|
3056
3054
|
__typename?: boolean | `@${string}`;
|
|
3057
3055
|
}>;
|
|
3058
|
-
["GetApplicationResult"]: AliasType<{
|
|
3059
|
-
GetApplicationResponse?: ResolverInputTypes["GetApplicationResponse"];
|
|
3060
|
-
ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
|
|
3061
|
-
ErrorNotFound?: ResolverInputTypes["ErrorNotFound"];
|
|
3062
|
-
__typename?: boolean | `@${string}`;
|
|
3063
|
-
}>;
|
|
3064
|
-
["GetAllDevelopersResult"]: AliasType<{
|
|
3065
|
-
GetAllDevelopersMainResponse?: ResolverInputTypes["GetAllDevelopersMainResponse"];
|
|
3066
|
-
ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
|
|
3067
|
-
ErrorNotFound?: ResolverInputTypes["ErrorNotFound"];
|
|
3068
|
-
__typename?: boolean | `@${string}`;
|
|
3069
|
-
}>;
|
|
3070
|
-
["GetDeveloperResult"]: AliasType<{
|
|
3071
|
-
GetDeveloperResponse?: ResolverInputTypes["GetDeveloperResponse"];
|
|
3072
|
-
ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
|
|
3073
|
-
ErrorNotFound?: ResolverInputTypes["ErrorNotFound"];
|
|
3074
|
-
__typename?: boolean | `@${string}`;
|
|
3075
|
-
}>;
|
|
3076
3056
|
["AddFileToHistoryResult"]: AliasType<{
|
|
3077
3057
|
AddFileToHistoryResponse?: ResolverInputTypes["AddFileToHistoryResponse"];
|
|
3078
3058
|
ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
|
|
@@ -3104,11 +3084,19 @@ export type ResolverInputTypes = {
|
|
|
3104
3084
|
["DbConfigMutationResult"]: AliasType<{
|
|
3105
3085
|
DbConfigMutationResponse?: ResolverInputTypes["DbConfigMutationResponse"];
|
|
3106
3086
|
ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
|
|
3087
|
+
ErrorBasic?: ResolverInputTypes["ErrorBasic"];
|
|
3088
|
+
__typename?: boolean | `@${string}`;
|
|
3089
|
+
}>;
|
|
3090
|
+
["DbConfigToProdMutationResult"]: AliasType<{
|
|
3091
|
+
DbConfigToProdMutationResponse?: ResolverInputTypes["DbConfigToProdMutationResponse"];
|
|
3092
|
+
ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
|
|
3093
|
+
ErrorBasic?: ResolverInputTypes["ErrorBasic"];
|
|
3107
3094
|
__typename?: boolean | `@${string}`;
|
|
3108
3095
|
}>;
|
|
3109
3096
|
["DbSetResult"]: AliasType<{
|
|
3110
3097
|
DbSetResponse?: ResolverInputTypes["DbSetResponse"];
|
|
3111
3098
|
ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
|
|
3099
|
+
ErrorBasic?: ResolverInputTypes["ErrorBasic"];
|
|
3112
3100
|
ErrorNotFound?: ResolverInputTypes["ErrorNotFound"];
|
|
3113
3101
|
__typename?: boolean | `@${string}`;
|
|
3114
3102
|
}>;
|
|
@@ -3474,7 +3462,6 @@ export type ResolverInputTypes = {
|
|
|
3474
3462
|
id?: boolean | `@${string}`;
|
|
3475
3463
|
name?: boolean | `@${string}`;
|
|
3476
3464
|
logo?: boolean | `@${string}`;
|
|
3477
|
-
code?: boolean | `@${string}`;
|
|
3478
3465
|
color?: boolean | `@${string}`;
|
|
3479
3466
|
origin?: boolean | `@${string}`;
|
|
3480
3467
|
createdAt?: boolean | `@${string}`;
|
|
@@ -3543,6 +3530,22 @@ export type ResolverInputTypes = {
|
|
|
3543
3530
|
privateKeyEncrypted?: boolean | `@${string}`;
|
|
3544
3531
|
__typename?: boolean | `@${string}`;
|
|
3545
3532
|
}>;
|
|
3533
|
+
["DbDiffField"]: AliasType<{
|
|
3534
|
+
action?: boolean | `@${string}`;
|
|
3535
|
+
key?: boolean | `@${string}`;
|
|
3536
|
+
current?: boolean | `@${string}`;
|
|
3537
|
+
next?: boolean | `@${string}`;
|
|
3538
|
+
details?: boolean | `@${string}`;
|
|
3539
|
+
__typename?: boolean | `@${string}`;
|
|
3540
|
+
}>;
|
|
3541
|
+
["DbDiffSchema"]: AliasType<{
|
|
3542
|
+
fields?: ResolverInputTypes["DbDiffField"];
|
|
3543
|
+
__typename?: boolean | `@${string}`;
|
|
3544
|
+
}>;
|
|
3545
|
+
["MongoDbConfigType"]: MongoDbConfigType;
|
|
3546
|
+
["MongoDbEnv"]: MongoDbEnv;
|
|
3547
|
+
["MongoDbFieldDiffAction"]: MongoDbFieldDiffAction;
|
|
3548
|
+
["MongoDbFieldType"]: MongoDbFieldType;
|
|
3546
3549
|
["Developer"]: AliasType<{
|
|
3547
3550
|
id?: boolean | `@${string}`;
|
|
3548
3551
|
user?: ResolverInputTypes["User"];
|
|
@@ -3561,7 +3564,7 @@ export type ResolverInputTypes = {
|
|
|
3561
3564
|
rights?: boolean | `@${string}`;
|
|
3562
3565
|
__typename?: boolean | `@${string}`;
|
|
3563
3566
|
}>;
|
|
3564
|
-
["
|
|
3567
|
+
["SortByDate"]: SortByDate;
|
|
3565
3568
|
["Error"]: AliasType<{
|
|
3566
3569
|
ErrorStripe?: ResolverInputTypes["ErrorStripe"];
|
|
3567
3570
|
ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
|
|
@@ -4022,6 +4025,10 @@ export type ResolverInputTypes = {
|
|
|
4022
4025
|
dbConfigMutation?: boolean | `@${string}`;
|
|
4023
4026
|
__typename?: boolean | `@${string}`;
|
|
4024
4027
|
}>;
|
|
4028
|
+
["DbConfigToProdMutationResponse"]: AliasType<{
|
|
4029
|
+
dbConfigToProdMutation?: boolean | `@${string}`;
|
|
4030
|
+
__typename?: boolean | `@${string}`;
|
|
4031
|
+
}>;
|
|
4025
4032
|
["DbSetResponse"]: AliasType<{
|
|
4026
4033
|
dbSet?: boolean | `@${string}`;
|
|
4027
4034
|
__typename?: boolean | `@${string}`;
|
|
@@ -4323,6 +4330,18 @@ export type ResolverInputTypes = {
|
|
|
4323
4330
|
userList?: ResolverInputTypes["User"];
|
|
4324
4331
|
__typename?: boolean | `@${string}`;
|
|
4325
4332
|
}>;
|
|
4333
|
+
["DbGetDiffConfig"]: AliasType<{
|
|
4334
|
+
env?: boolean | `@${string}`;
|
|
4335
|
+
current?: boolean | `@${string}`;
|
|
4336
|
+
next?: boolean | `@${string}`;
|
|
4337
|
+
diff?: boolean | `@${string}`;
|
|
4338
|
+
hash?: boolean | `@${string}`;
|
|
4339
|
+
__typename?: boolean | `@${string}`;
|
|
4340
|
+
}>;
|
|
4341
|
+
["DbGetDiffConfigResponse"]: AliasType<{
|
|
4342
|
+
dbGetDiffConfig?: ResolverInputTypes["DbGetDiffConfig"];
|
|
4343
|
+
__typename?: boolean | `@${string}`;
|
|
4344
|
+
}>;
|
|
4326
4345
|
["BalanceStripeResponse"]: AliasType<{
|
|
4327
4346
|
amount?: boolean | `@${string}`;
|
|
4328
4347
|
currency?: boolean | `@${string}`;
|
|
@@ -4522,48 +4541,6 @@ export type ResolverInputTypes = {
|
|
|
4522
4541
|
__typename?: boolean | `@${string}`;
|
|
4523
4542
|
}>;
|
|
4524
4543
|
["PayoutType"]: PayoutType;
|
|
4525
|
-
["GetApplicationResponse"]: AliasType<{
|
|
4526
|
-
application?: ResolverInputTypes["Application"];
|
|
4527
|
-
__typename?: boolean | `@${string}`;
|
|
4528
|
-
}>;
|
|
4529
|
-
["DeveloperResponse"]: AliasType<{
|
|
4530
|
-
rights?: boolean | `@${string}`;
|
|
4531
|
-
role?: boolean | `@${string}`;
|
|
4532
|
-
developer?: ResolverInputTypes["DeveloperInfoResponse"];
|
|
4533
|
-
__typename?: boolean | `@${string}`;
|
|
4534
|
-
}>;
|
|
4535
|
-
["DeveloperInfoResponse"]: AliasType<{
|
|
4536
|
-
id?: boolean | `@${string}`;
|
|
4537
|
-
user?: ResolverInputTypes["DeveloperUserResponse"];
|
|
4538
|
-
__typename?: boolean | `@${string}`;
|
|
4539
|
-
}>;
|
|
4540
|
-
["DeveloperUserResponse"]: AliasType<{
|
|
4541
|
-
infos?: ResolverInputTypes["DeveloperUserInfoResponse"];
|
|
4542
|
-
__typename?: boolean | `@${string}`;
|
|
4543
|
-
}>;
|
|
4544
|
-
["DeveloperUserInfoResponse"]: AliasType<{
|
|
4545
|
-
firstname?: boolean | `@${string}`;
|
|
4546
|
-
lastname?: boolean | `@${string}`;
|
|
4547
|
-
emails?: boolean | `@${string}`;
|
|
4548
|
-
__typename?: boolean | `@${string}`;
|
|
4549
|
-
}>;
|
|
4550
|
-
["GetAllDevelopersResponse"]: AliasType<{
|
|
4551
|
-
developers?: ResolverInputTypes["DeveloperResponse"];
|
|
4552
|
-
__typename?: boolean | `@${string}`;
|
|
4553
|
-
}>;
|
|
4554
|
-
["GetAllDevelopersMainResponse"]: AliasType<{
|
|
4555
|
-
getAllDevelopers?: ResolverInputTypes["GetAllDevelopersResponse"];
|
|
4556
|
-
__typename?: boolean | `@${string}`;
|
|
4557
|
-
}>;
|
|
4558
|
-
["GetDeveloperResponse"]: AliasType<{
|
|
4559
|
-
user?: ResolverInputTypes["GetDeveloperUserResponse"];
|
|
4560
|
-
__typename?: boolean | `@${string}`;
|
|
4561
|
-
}>;
|
|
4562
|
-
["GetDeveloperUserResponse"]: AliasType<{
|
|
4563
|
-
id?: boolean | `@${string}`;
|
|
4564
|
-
infos?: ResolverInputTypes["DeveloperUserInfoResponse"];
|
|
4565
|
-
__typename?: boolean | `@${string}`;
|
|
4566
|
-
}>;
|
|
4567
4544
|
["TemporaryUser"]: AliasType<{
|
|
4568
4545
|
id?: boolean | `@${string}`;
|
|
4569
4546
|
mails?: ResolverInputTypes["MailIntegrity"];
|
|
@@ -4690,7 +4667,7 @@ export type ResolverInputTypes = {
|
|
|
4690
4667
|
appNotifications?: ResolverInputTypes["AppNotificationsResult"];
|
|
4691
4668
|
applications?: [
|
|
4692
4669
|
{
|
|
4693
|
-
sortBy: ResolverInputTypes["
|
|
4670
|
+
sortBy: ResolverInputTypes["SortByDate"];
|
|
4694
4671
|
},
|
|
4695
4672
|
ResolverInputTypes["ApplicationsResult"]
|
|
4696
4673
|
];
|
|
@@ -4700,20 +4677,39 @@ export type ResolverInputTypes = {
|
|
|
4700
4677
|
},
|
|
4701
4678
|
ResolverInputTypes["BlogResult"]
|
|
4702
4679
|
];
|
|
4703
|
-
dbConfig?: [
|
|
4704
|
-
|
|
4705
|
-
|
|
4680
|
+
dbConfig?: [
|
|
4681
|
+
{
|
|
4682
|
+
appId: string;
|
|
4683
|
+
env: ResolverInputTypes["MongoDbEnv"];
|
|
4684
|
+
},
|
|
4685
|
+
ResolverInputTypes["DbConfigResult"]
|
|
4686
|
+
];
|
|
4706
4687
|
dbGet?: [
|
|
4707
4688
|
{
|
|
4708
4689
|
field: string;
|
|
4690
|
+
appId: string;
|
|
4709
4691
|
userId?: string | undefined | null;
|
|
4692
|
+
env: ResolverInputTypes["MongoDbEnv"];
|
|
4710
4693
|
},
|
|
4711
4694
|
ResolverInputTypes["DbGetResult"]
|
|
4712
4695
|
];
|
|
4696
|
+
dbGetDiff?: [
|
|
4697
|
+
{
|
|
4698
|
+
appId: string;
|
|
4699
|
+
env: ResolverInputTypes["MongoDbEnv"];
|
|
4700
|
+
config?: string | undefined | null;
|
|
4701
|
+
},
|
|
4702
|
+
ResolverInputTypes["DbGetDiffResult"]
|
|
4703
|
+
];
|
|
4713
4704
|
dbSearch?: [
|
|
4714
4705
|
{
|
|
4706
|
+
appId: string;
|
|
4715
4707
|
search: string;
|
|
4716
4708
|
field: string;
|
|
4709
|
+
take?: number | undefined | null;
|
|
4710
|
+
skip?: number | undefined | null;
|
|
4711
|
+
orderBy?: string | undefined | null;
|
|
4712
|
+
env: ResolverInputTypes["MongoDbEnv"];
|
|
4717
4713
|
},
|
|
4718
4714
|
ResolverInputTypes["DbSearchResult"]
|
|
4719
4715
|
];
|
|
@@ -4867,26 +4863,6 @@ export type ResolverInputTypes = {
|
|
|
4867
4863
|
},
|
|
4868
4864
|
ResolverInputTypes["IsValidPaymentIntentResult"]
|
|
4869
4865
|
];
|
|
4870
|
-
getApplication?: [
|
|
4871
|
-
{
|
|
4872
|
-
appCode?: string | undefined | null;
|
|
4873
|
-
appId?: string | undefined | null;
|
|
4874
|
-
},
|
|
4875
|
-
ResolverInputTypes["GetApplicationResult"]
|
|
4876
|
-
];
|
|
4877
|
-
getAllDevelopers?: [
|
|
4878
|
-
{
|
|
4879
|
-
appCode: string;
|
|
4880
|
-
},
|
|
4881
|
-
ResolverInputTypes["GetAllDevelopersResult"]
|
|
4882
|
-
];
|
|
4883
|
-
getDeveloper?: [
|
|
4884
|
-
{
|
|
4885
|
-
appCode: string;
|
|
4886
|
-
developerId: string;
|
|
4887
|
-
},
|
|
4888
|
-
ResolverInputTypes["GetDeveloperResult"]
|
|
4889
|
-
];
|
|
4890
4866
|
__typename?: boolean | `@${string}`;
|
|
4891
4867
|
}>;
|
|
4892
4868
|
["Mutation"]: AliasType<{
|
|
@@ -4927,15 +4903,25 @@ export type ResolverInputTypes = {
|
|
|
4927
4903
|
];
|
|
4928
4904
|
dbConfigMutation?: [
|
|
4929
4905
|
{
|
|
4930
|
-
|
|
4906
|
+
appId: string;
|
|
4907
|
+
env: ResolverInputTypes["MongoDbEnv"];
|
|
4931
4908
|
config: string;
|
|
4932
4909
|
},
|
|
4933
4910
|
ResolverInputTypes["DbConfigMutationResult"]
|
|
4934
4911
|
];
|
|
4912
|
+
dbConfigToProdMutation?: [
|
|
4913
|
+
{
|
|
4914
|
+
appId: string;
|
|
4915
|
+
diffHash: string;
|
|
4916
|
+
},
|
|
4917
|
+
ResolverInputTypes["DbConfigToProdMutationResult"]
|
|
4918
|
+
];
|
|
4935
4919
|
dbSet?: [
|
|
4936
4920
|
{
|
|
4937
4921
|
value: string;
|
|
4922
|
+
appId: string;
|
|
4938
4923
|
userId?: string | undefined | null;
|
|
4924
|
+
env: ResolverInputTypes["MongoDbEnv"];
|
|
4939
4925
|
},
|
|
4940
4926
|
ResolverInputTypes["DbSetResult"]
|
|
4941
4927
|
];
|
|
@@ -5354,7 +5340,7 @@ export type ResolverInputTypes = {
|
|
|
5354
5340
|
__typename?: boolean | `@${string}`;
|
|
5355
5341
|
}>;
|
|
5356
5342
|
};
|
|
5357
|
-
|
|
5343
|
+
type ModelTypes = {
|
|
5358
5344
|
["BigInt"]: any;
|
|
5359
5345
|
["DateTime"]: any;
|
|
5360
5346
|
["Json"]: any;
|
|
@@ -5369,8 +5355,9 @@ export type ModelTypes = {
|
|
|
5369
5355
|
["AppNotificationsResult"]: ModelTypes["UserAppNotifications"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"];
|
|
5370
5356
|
["ApplicationsResult"]: ModelTypes["ApplicationsResponse"] | ModelTypes["ErrorAccessDenied"];
|
|
5371
5357
|
["BlogResult"]: ModelTypes["BlogResponse"] | ModelTypes["ErrorLangNotExist"];
|
|
5372
|
-
["DbConfigResult"]: ModelTypes["DbConfigResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["
|
|
5373
|
-
["DbGetResult"]: ModelTypes["DbGetResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"] | ModelTypes["ErrorNotExist"];
|
|
5358
|
+
["DbConfigResult"]: ModelTypes["DbConfigResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"];
|
|
5359
|
+
["DbGetResult"]: ModelTypes["DbGetResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"] | ModelTypes["ErrorNotFound"] | ModelTypes["ErrorNotExist"];
|
|
5360
|
+
["DbGetDiffResult"]: ModelTypes["DbGetDiffConfigResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"];
|
|
5374
5361
|
["DbSearchResult"]: ModelTypes["DbSearchResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"] | ModelTypes["ErrorBasic"];
|
|
5375
5362
|
["DeletedMailsResult"]: ModelTypes["DeletedMailsResponse"] | ModelTypes["ErrorAccessDenied"];
|
|
5376
5363
|
["DeletedNodesResult"]: ModelTypes["DeletedNodesResponse"] | ModelTypes["ErrorAccessDenied"];
|
|
@@ -5406,16 +5393,14 @@ export type ModelTypes = {
|
|
|
5406
5393
|
["GetPaymentRequestToCollectResult"]: ModelTypes["GetPaymentRequestToCollectResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"] | ModelTypes["ErrorStripe"];
|
|
5407
5394
|
["GetPaymentRequestToPayResult"]: ModelTypes["GetPaymentRequestToPayResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"];
|
|
5408
5395
|
["IsValidPaymentIntentResult"]: ModelTypes["ValidPaymentIntentResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorStripe"];
|
|
5409
|
-
["GetApplicationResult"]: ModelTypes["GetApplicationResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"];
|
|
5410
|
-
["GetAllDevelopersResult"]: ModelTypes["GetAllDevelopersMainResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"];
|
|
5411
|
-
["GetDeveloperResult"]: ModelTypes["GetDeveloperResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"];
|
|
5412
5396
|
["AddFileToHistoryResult"]: ModelTypes["AddFileToHistoryResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"];
|
|
5413
5397
|
["CancelPaymentResult"]: ModelTypes["CancelPaymentResponse"] | ModelTypes["ErrorAccessDenied"];
|
|
5414
5398
|
["CreateCryptoWalletResult"]: ModelTypes["CreateCryptoWalletResponse"] | ModelTypes["ErrorAccessDenied"];
|
|
5415
5399
|
["CreateDraftMailResult"]: ModelTypes["CreateDraftMailResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"];
|
|
5416
5400
|
["CreateFolderResult"]: ModelTypes["CreateFolderResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"];
|
|
5417
|
-
["DbConfigMutationResult"]: ModelTypes["DbConfigMutationResponse"] | ModelTypes["ErrorAccessDenied"];
|
|
5418
|
-
["
|
|
5401
|
+
["DbConfigMutationResult"]: ModelTypes["DbConfigMutationResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"];
|
|
5402
|
+
["DbConfigToProdMutationResult"]: ModelTypes["DbConfigToProdMutationResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"];
|
|
5403
|
+
["DbSetResult"]: ModelTypes["DbSetResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"] | ModelTypes["ErrorNotFound"];
|
|
5419
5404
|
["DeleteDraftMailResult"]: ModelTypes["DeleteDraftMailResponse"] | ModelTypes["ErrorAccessDenied"];
|
|
5420
5405
|
["DeleteFileResult"]: ModelTypes["DeleteFileResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"];
|
|
5421
5406
|
["DeleteMailResult"]: ModelTypes["DeleteMailResponse"] | ModelTypes["ErrorAccessDenied"];
|
|
@@ -5492,7 +5477,6 @@ export type ModelTypes = {
|
|
|
5492
5477
|
id: string;
|
|
5493
5478
|
name: string;
|
|
5494
5479
|
logo?: string | undefined;
|
|
5495
|
-
code: string;
|
|
5496
5480
|
color?: string | undefined;
|
|
5497
5481
|
origin: Array<string>;
|
|
5498
5482
|
createdAt: ModelTypes["DateTime"];
|
|
@@ -5554,6 +5538,20 @@ export type ModelTypes = {
|
|
|
5554
5538
|
address: string;
|
|
5555
5539
|
privateKeyEncrypted: string;
|
|
5556
5540
|
};
|
|
5541
|
+
["DbDiffField"]: {
|
|
5542
|
+
action: ModelTypes["MongoDbFieldDiffAction"];
|
|
5543
|
+
key: string;
|
|
5544
|
+
current: ModelTypes["Json"];
|
|
5545
|
+
next: ModelTypes["Json"];
|
|
5546
|
+
details?: ModelTypes["Json"] | undefined;
|
|
5547
|
+
};
|
|
5548
|
+
["DbDiffSchema"]: {
|
|
5549
|
+
fields: Array<ModelTypes["DbDiffField"] | undefined>;
|
|
5550
|
+
};
|
|
5551
|
+
["MongoDbConfigType"]: MongoDbConfigType;
|
|
5552
|
+
["MongoDbEnv"]: MongoDbEnv;
|
|
5553
|
+
["MongoDbFieldDiffAction"]: MongoDbFieldDiffAction;
|
|
5554
|
+
["MongoDbFieldType"]: MongoDbFieldType;
|
|
5557
5555
|
["Developer"]: {
|
|
5558
5556
|
id: string;
|
|
5559
5557
|
user?: ModelTypes["User"] | undefined;
|
|
@@ -5570,7 +5568,7 @@ export type ModelTypes = {
|
|
|
5570
5568
|
role: ModelTypes["UserRole"];
|
|
5571
5569
|
rights: ModelTypes["Rights"];
|
|
5572
5570
|
};
|
|
5573
|
-
["
|
|
5571
|
+
["SortByDate"]: SortByDate;
|
|
5574
5572
|
["Error"]: ModelTypes["ErrorStripe"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"] | ModelTypes["ErrorUpgradePlan"] | ModelTypes["ErrorLangNotExist"] | ModelTypes["ErrorNotExist"] | ModelTypes["ErrorLimit"] | ModelTypes["ErrorBasic"];
|
|
5575
5573
|
["ErrorAccessDenied"]: {
|
|
5576
5574
|
message: string;
|
|
@@ -5944,6 +5942,9 @@ export type ModelTypes = {
|
|
|
5944
5942
|
["DbConfigMutationResponse"]: {
|
|
5945
5943
|
dbConfigMutation: ModelTypes["Json"];
|
|
5946
5944
|
};
|
|
5945
|
+
["DbConfigToProdMutationResponse"]: {
|
|
5946
|
+
dbConfigToProdMutation: ModelTypes["Json"];
|
|
5947
|
+
};
|
|
5947
5948
|
["DbSetResponse"]: {
|
|
5948
5949
|
dbSet?: ModelTypes["Json"] | undefined;
|
|
5949
5950
|
};
|
|
@@ -6170,6 +6171,16 @@ export type ModelTypes = {
|
|
|
6170
6171
|
["UserListResponse"]: {
|
|
6171
6172
|
userList: Array<ModelTypes["User"]>;
|
|
6172
6173
|
};
|
|
6174
|
+
["DbGetDiffConfig"]: {
|
|
6175
|
+
env: ModelTypes["MongoDbEnv"];
|
|
6176
|
+
current: ModelTypes["Json"];
|
|
6177
|
+
next: ModelTypes["Json"];
|
|
6178
|
+
diff: ModelTypes["Json"];
|
|
6179
|
+
hash: string;
|
|
6180
|
+
};
|
|
6181
|
+
["DbGetDiffConfigResponse"]: {
|
|
6182
|
+
dbGetDiffConfig: ModelTypes["DbGetDiffConfig"];
|
|
6183
|
+
};
|
|
6173
6184
|
["BalanceStripeResponse"]: {
|
|
6174
6185
|
amount: number;
|
|
6175
6186
|
currency: string;
|
|
@@ -6343,39 +6354,6 @@ export type ModelTypes = {
|
|
|
6343
6354
|
type: ModelTypes["PayoutType"];
|
|
6344
6355
|
};
|
|
6345
6356
|
["PayoutType"]: PayoutType;
|
|
6346
|
-
["GetApplicationResponse"]: {
|
|
6347
|
-
application: ModelTypes["Application"];
|
|
6348
|
-
};
|
|
6349
|
-
["DeveloperResponse"]: {
|
|
6350
|
-
rights: ModelTypes["Rights"];
|
|
6351
|
-
role: ModelTypes["UserRole"];
|
|
6352
|
-
developer: ModelTypes["DeveloperInfoResponse"];
|
|
6353
|
-
};
|
|
6354
|
-
["DeveloperInfoResponse"]: {
|
|
6355
|
-
id: string;
|
|
6356
|
-
user?: ModelTypes["DeveloperUserResponse"] | undefined;
|
|
6357
|
-
};
|
|
6358
|
-
["DeveloperUserResponse"]: {
|
|
6359
|
-
infos: ModelTypes["DeveloperUserInfoResponse"];
|
|
6360
|
-
};
|
|
6361
|
-
["DeveloperUserInfoResponse"]: {
|
|
6362
|
-
firstname: string;
|
|
6363
|
-
lastname: string;
|
|
6364
|
-
emails: Array<string | undefined>;
|
|
6365
|
-
};
|
|
6366
|
-
["GetAllDevelopersResponse"]: {
|
|
6367
|
-
developers: Array<ModelTypes["DeveloperResponse"] | undefined>;
|
|
6368
|
-
};
|
|
6369
|
-
["GetAllDevelopersMainResponse"]: {
|
|
6370
|
-
getAllDevelopers: Array<ModelTypes["GetAllDevelopersResponse"] | undefined>;
|
|
6371
|
-
};
|
|
6372
|
-
["GetDeveloperResponse"]: {
|
|
6373
|
-
user?: ModelTypes["GetDeveloperUserResponse"] | undefined;
|
|
6374
|
-
};
|
|
6375
|
-
["GetDeveloperUserResponse"]: {
|
|
6376
|
-
id: string;
|
|
6377
|
-
infos: ModelTypes["DeveloperUserInfoResponse"];
|
|
6378
|
-
};
|
|
6379
6357
|
["TemporaryUser"]: {
|
|
6380
6358
|
id: string;
|
|
6381
6359
|
mails: Array<ModelTypes["MailIntegrity"]>;
|
|
@@ -6493,6 +6471,7 @@ export type ModelTypes = {
|
|
|
6493
6471
|
blog?: ModelTypes["BlogResult"] | undefined;
|
|
6494
6472
|
dbConfig?: ModelTypes["DbConfigResult"] | undefined;
|
|
6495
6473
|
dbGet?: ModelTypes["DbGetResult"] | undefined;
|
|
6474
|
+
dbGetDiff?: ModelTypes["DbGetDiffResult"] | undefined;
|
|
6496
6475
|
dbSearch?: ModelTypes["DbSearchResult"] | undefined;
|
|
6497
6476
|
deletedMails?: ModelTypes["DeletedMailsResult"] | undefined;
|
|
6498
6477
|
deletedNodes?: ModelTypes["DeletedNodesResult"] | undefined;
|
|
@@ -6530,9 +6509,6 @@ export type ModelTypes = {
|
|
|
6530
6509
|
getPaymentRequestToCollect?: ModelTypes["GetPaymentRequestToCollectResult"] | undefined;
|
|
6531
6510
|
getPaymentRequestToPay?: ModelTypes["GetPaymentRequestToPayResult"] | undefined;
|
|
6532
6511
|
isValidPaymentIntent?: ModelTypes["IsValidPaymentIntentResult"] | undefined;
|
|
6533
|
-
getApplication?: ModelTypes["GetApplicationResult"] | undefined;
|
|
6534
|
-
getAllDevelopers?: ModelTypes["GetAllDevelopersResult"] | undefined;
|
|
6535
|
-
getDeveloper?: ModelTypes["GetDeveloperResult"] | undefined;
|
|
6536
6512
|
};
|
|
6537
6513
|
["Mutation"]: {
|
|
6538
6514
|
addFileToHistory?: ModelTypes["AddFileToHistoryResult"] | undefined;
|
|
@@ -6541,6 +6517,7 @@ export type ModelTypes = {
|
|
|
6541
6517
|
createDraftMail?: ModelTypes["CreateDraftMailResult"] | undefined;
|
|
6542
6518
|
createFolder?: ModelTypes["CreateFolderResult"] | undefined;
|
|
6543
6519
|
dbConfigMutation?: ModelTypes["DbConfigMutationResult"] | undefined;
|
|
6520
|
+
dbConfigToProdMutation?: ModelTypes["DbConfigToProdMutationResult"] | undefined;
|
|
6544
6521
|
dbSet?: ModelTypes["DbSetResult"] | undefined;
|
|
6545
6522
|
deleteAllData: boolean;
|
|
6546
6523
|
deleteDraftMail?: ModelTypes["DeleteDraftMailResult"] | undefined;
|
|
@@ -6607,7 +6584,7 @@ export type ModelTypes = {
|
|
|
6607
6584
|
test: boolean;
|
|
6608
6585
|
};
|
|
6609
6586
|
};
|
|
6610
|
-
|
|
6587
|
+
type GraphQLTypes = {
|
|
6611
6588
|
["BigInt"]: "scalar" & {
|
|
6612
6589
|
name: "BigInt";
|
|
6613
6590
|
};
|
|
@@ -6644,19 +6621,25 @@ export type GraphQLTypes = {
|
|
|
6644
6621
|
["...on ErrorLangNotExist"]: "__union" & GraphQLTypes["ErrorLangNotExist"];
|
|
6645
6622
|
};
|
|
6646
6623
|
["DbConfigResult"]: {
|
|
6647
|
-
__typename: "DbConfigResponse" | "ErrorAccessDenied" | "
|
|
6624
|
+
__typename: "DbConfigResponse" | "ErrorAccessDenied" | "ErrorNotFound";
|
|
6648
6625
|
["...on DbConfigResponse"]: "__union" & GraphQLTypes["DbConfigResponse"];
|
|
6649
6626
|
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
6650
|
-
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
6651
6627
|
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
6652
6628
|
};
|
|
6653
6629
|
["DbGetResult"]: {
|
|
6654
|
-
__typename: "DbGetResponse" | "ErrorAccessDenied" | "ErrorNotFound" | "ErrorNotExist";
|
|
6630
|
+
__typename: "DbGetResponse" | "ErrorAccessDenied" | "ErrorBasic" | "ErrorNotFound" | "ErrorNotExist";
|
|
6655
6631
|
["...on DbGetResponse"]: "__union" & GraphQLTypes["DbGetResponse"];
|
|
6656
6632
|
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
6633
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
6657
6634
|
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
6658
6635
|
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
6659
6636
|
};
|
|
6637
|
+
["DbGetDiffResult"]: {
|
|
6638
|
+
__typename: "DbGetDiffConfigResponse" | "ErrorAccessDenied" | "ErrorBasic";
|
|
6639
|
+
["...on DbGetDiffConfigResponse"]: "__union" & GraphQLTypes["DbGetDiffConfigResponse"];
|
|
6640
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
6641
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
6642
|
+
};
|
|
6660
6643
|
["DbSearchResult"]: {
|
|
6661
6644
|
__typename: "DbSearchResponse" | "ErrorAccessDenied" | "ErrorNotExist" | "ErrorBasic";
|
|
6662
6645
|
["...on DbSearchResponse"]: "__union" & GraphQLTypes["DbSearchResponse"];
|
|
@@ -6863,24 +6846,6 @@ export type GraphQLTypes = {
|
|
|
6863
6846
|
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
6864
6847
|
["...on ErrorStripe"]: "__union" & GraphQLTypes["ErrorStripe"];
|
|
6865
6848
|
};
|
|
6866
|
-
["GetApplicationResult"]: {
|
|
6867
|
-
__typename: "GetApplicationResponse" | "ErrorAccessDenied" | "ErrorNotFound";
|
|
6868
|
-
["...on GetApplicationResponse"]: "__union" & GraphQLTypes["GetApplicationResponse"];
|
|
6869
|
-
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
6870
|
-
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
6871
|
-
};
|
|
6872
|
-
["GetAllDevelopersResult"]: {
|
|
6873
|
-
__typename: "GetAllDevelopersMainResponse" | "ErrorAccessDenied" | "ErrorNotFound";
|
|
6874
|
-
["...on GetAllDevelopersMainResponse"]: "__union" & GraphQLTypes["GetAllDevelopersMainResponse"];
|
|
6875
|
-
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
6876
|
-
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
6877
|
-
};
|
|
6878
|
-
["GetDeveloperResult"]: {
|
|
6879
|
-
__typename: "GetDeveloperResponse" | "ErrorAccessDenied" | "ErrorNotFound";
|
|
6880
|
-
["...on GetDeveloperResponse"]: "__union" & GraphQLTypes["GetDeveloperResponse"];
|
|
6881
|
-
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
6882
|
-
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
6883
|
-
};
|
|
6884
6849
|
["AddFileToHistoryResult"]: {
|
|
6885
6850
|
__typename: "AddFileToHistoryResponse" | "ErrorAccessDenied" | "ErrorNotExist";
|
|
6886
6851
|
["...on AddFileToHistoryResponse"]: "__union" & GraphQLTypes["AddFileToHistoryResponse"];
|
|
@@ -6910,14 +6875,22 @@ export type GraphQLTypes = {
|
|
|
6910
6875
|
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
6911
6876
|
};
|
|
6912
6877
|
["DbConfigMutationResult"]: {
|
|
6913
|
-
__typename: "DbConfigMutationResponse" | "ErrorAccessDenied";
|
|
6878
|
+
__typename: "DbConfigMutationResponse" | "ErrorAccessDenied" | "ErrorBasic";
|
|
6914
6879
|
["...on DbConfigMutationResponse"]: "__union" & GraphQLTypes["DbConfigMutationResponse"];
|
|
6915
6880
|
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
6881
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
6882
|
+
};
|
|
6883
|
+
["DbConfigToProdMutationResult"]: {
|
|
6884
|
+
__typename: "DbConfigToProdMutationResponse" | "ErrorAccessDenied" | "ErrorBasic";
|
|
6885
|
+
["...on DbConfigToProdMutationResponse"]: "__union" & GraphQLTypes["DbConfigToProdMutationResponse"];
|
|
6886
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
6887
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
6916
6888
|
};
|
|
6917
6889
|
["DbSetResult"]: {
|
|
6918
|
-
__typename: "DbSetResponse" | "ErrorAccessDenied" | "ErrorNotFound";
|
|
6890
|
+
__typename: "DbSetResponse" | "ErrorAccessDenied" | "ErrorBasic" | "ErrorNotFound";
|
|
6919
6891
|
["...on DbSetResponse"]: "__union" & GraphQLTypes["DbSetResponse"];
|
|
6920
6892
|
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
6893
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
6921
6894
|
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
6922
6895
|
};
|
|
6923
6896
|
["DeleteDraftMailResult"]: {
|
|
@@ -7283,7 +7256,6 @@ export type GraphQLTypes = {
|
|
|
7283
7256
|
id: string;
|
|
7284
7257
|
name: string;
|
|
7285
7258
|
logo?: string | undefined;
|
|
7286
|
-
code: string;
|
|
7287
7259
|
color?: string | undefined;
|
|
7288
7260
|
origin: Array<string>;
|
|
7289
7261
|
createdAt: GraphQLTypes["DateTime"];
|
|
@@ -7351,6 +7323,22 @@ export type GraphQLTypes = {
|
|
|
7351
7323
|
address: string;
|
|
7352
7324
|
privateKeyEncrypted: string;
|
|
7353
7325
|
};
|
|
7326
|
+
["DbDiffField"]: {
|
|
7327
|
+
__typename: "DbDiffField";
|
|
7328
|
+
action: GraphQLTypes["MongoDbFieldDiffAction"];
|
|
7329
|
+
key: string;
|
|
7330
|
+
current: GraphQLTypes["Json"];
|
|
7331
|
+
next: GraphQLTypes["Json"];
|
|
7332
|
+
details?: GraphQLTypes["Json"] | undefined;
|
|
7333
|
+
};
|
|
7334
|
+
["DbDiffSchema"]: {
|
|
7335
|
+
__typename: "DbDiffSchema";
|
|
7336
|
+
fields: Array<GraphQLTypes["DbDiffField"] | undefined>;
|
|
7337
|
+
};
|
|
7338
|
+
["MongoDbConfigType"]: MongoDbConfigType;
|
|
7339
|
+
["MongoDbEnv"]: MongoDbEnv;
|
|
7340
|
+
["MongoDbFieldDiffAction"]: MongoDbFieldDiffAction;
|
|
7341
|
+
["MongoDbFieldType"]: MongoDbFieldType;
|
|
7354
7342
|
["Developer"]: {
|
|
7355
7343
|
__typename: "Developer";
|
|
7356
7344
|
id: string;
|
|
@@ -7369,7 +7357,7 @@ export type GraphQLTypes = {
|
|
|
7369
7357
|
role: GraphQLTypes["UserRole"];
|
|
7370
7358
|
rights: GraphQLTypes["Rights"];
|
|
7371
7359
|
};
|
|
7372
|
-
["
|
|
7360
|
+
["SortByDate"]: SortByDate;
|
|
7373
7361
|
["Error"]: {
|
|
7374
7362
|
__typename: "ErrorStripe" | "ErrorAccessDenied" | "ErrorNotFound" | "ErrorUpgradePlan" | "ErrorLangNotExist" | "ErrorNotExist" | "ErrorLimit" | "ErrorBasic";
|
|
7375
7363
|
["...on ErrorStripe"]: "__union" & GraphQLTypes["ErrorStripe"];
|
|
@@ -7830,6 +7818,10 @@ export type GraphQLTypes = {
|
|
|
7830
7818
|
__typename: "DbConfigMutationResponse";
|
|
7831
7819
|
dbConfigMutation: GraphQLTypes["Json"];
|
|
7832
7820
|
};
|
|
7821
|
+
["DbConfigToProdMutationResponse"]: {
|
|
7822
|
+
__typename: "DbConfigToProdMutationResponse";
|
|
7823
|
+
dbConfigToProdMutation: GraphQLTypes["Json"];
|
|
7824
|
+
};
|
|
7833
7825
|
["DbSetResponse"]: {
|
|
7834
7826
|
__typename: "DbSetResponse";
|
|
7835
7827
|
dbSet?: GraphQLTypes["Json"] | undefined;
|
|
@@ -8131,6 +8123,18 @@ export type GraphQLTypes = {
|
|
|
8131
8123
|
__typename: "UserListResponse";
|
|
8132
8124
|
userList: Array<GraphQLTypes["User"]>;
|
|
8133
8125
|
};
|
|
8126
|
+
["DbGetDiffConfig"]: {
|
|
8127
|
+
__typename: "DbGetDiffConfig";
|
|
8128
|
+
env: GraphQLTypes["MongoDbEnv"];
|
|
8129
|
+
current: GraphQLTypes["Json"];
|
|
8130
|
+
next: GraphQLTypes["Json"];
|
|
8131
|
+
diff: GraphQLTypes["Json"];
|
|
8132
|
+
hash: string;
|
|
8133
|
+
};
|
|
8134
|
+
["DbGetDiffConfigResponse"]: {
|
|
8135
|
+
__typename: "DbGetDiffConfigResponse";
|
|
8136
|
+
dbGetDiffConfig: GraphQLTypes["DbGetDiffConfig"];
|
|
8137
|
+
};
|
|
8134
8138
|
["BalanceStripeResponse"]: {
|
|
8135
8139
|
__typename: "BalanceStripeResponse";
|
|
8136
8140
|
amount: number;
|
|
@@ -8330,48 +8334,6 @@ export type GraphQLTypes = {
|
|
|
8330
8334
|
type: GraphQLTypes["PayoutType"];
|
|
8331
8335
|
};
|
|
8332
8336
|
["PayoutType"]: PayoutType;
|
|
8333
|
-
["GetApplicationResponse"]: {
|
|
8334
|
-
__typename: "GetApplicationResponse";
|
|
8335
|
-
application: GraphQLTypes["Application"];
|
|
8336
|
-
};
|
|
8337
|
-
["DeveloperResponse"]: {
|
|
8338
|
-
__typename: "DeveloperResponse";
|
|
8339
|
-
rights: GraphQLTypes["Rights"];
|
|
8340
|
-
role: GraphQLTypes["UserRole"];
|
|
8341
|
-
developer: GraphQLTypes["DeveloperInfoResponse"];
|
|
8342
|
-
};
|
|
8343
|
-
["DeveloperInfoResponse"]: {
|
|
8344
|
-
__typename: "DeveloperInfoResponse";
|
|
8345
|
-
id: string;
|
|
8346
|
-
user?: GraphQLTypes["DeveloperUserResponse"] | undefined;
|
|
8347
|
-
};
|
|
8348
|
-
["DeveloperUserResponse"]: {
|
|
8349
|
-
__typename: "DeveloperUserResponse";
|
|
8350
|
-
infos: GraphQLTypes["DeveloperUserInfoResponse"];
|
|
8351
|
-
};
|
|
8352
|
-
["DeveloperUserInfoResponse"]: {
|
|
8353
|
-
__typename: "DeveloperUserInfoResponse";
|
|
8354
|
-
firstname: string;
|
|
8355
|
-
lastname: string;
|
|
8356
|
-
emails: Array<string | undefined>;
|
|
8357
|
-
};
|
|
8358
|
-
["GetAllDevelopersResponse"]: {
|
|
8359
|
-
__typename: "GetAllDevelopersResponse";
|
|
8360
|
-
developers: Array<GraphQLTypes["DeveloperResponse"] | undefined>;
|
|
8361
|
-
};
|
|
8362
|
-
["GetAllDevelopersMainResponse"]: {
|
|
8363
|
-
__typename: "GetAllDevelopersMainResponse";
|
|
8364
|
-
getAllDevelopers: Array<GraphQLTypes["GetAllDevelopersResponse"] | undefined>;
|
|
8365
|
-
};
|
|
8366
|
-
["GetDeveloperResponse"]: {
|
|
8367
|
-
__typename: "GetDeveloperResponse";
|
|
8368
|
-
user?: GraphQLTypes["GetDeveloperUserResponse"] | undefined;
|
|
8369
|
-
};
|
|
8370
|
-
["GetDeveloperUserResponse"]: {
|
|
8371
|
-
__typename: "GetDeveloperUserResponse";
|
|
8372
|
-
id: string;
|
|
8373
|
-
infos: GraphQLTypes["DeveloperUserInfoResponse"];
|
|
8374
|
-
};
|
|
8375
8337
|
["TemporaryUser"]: {
|
|
8376
8338
|
__typename: "TemporaryUser";
|
|
8377
8339
|
id: string;
|
|
@@ -8501,6 +8463,7 @@ export type GraphQLTypes = {
|
|
|
8501
8463
|
blog?: GraphQLTypes["BlogResult"] | undefined;
|
|
8502
8464
|
dbConfig?: GraphQLTypes["DbConfigResult"] | undefined;
|
|
8503
8465
|
dbGet?: GraphQLTypes["DbGetResult"] | undefined;
|
|
8466
|
+
dbGetDiff?: GraphQLTypes["DbGetDiffResult"] | undefined;
|
|
8504
8467
|
dbSearch?: GraphQLTypes["DbSearchResult"] | undefined;
|
|
8505
8468
|
deletedMails?: GraphQLTypes["DeletedMailsResult"] | undefined;
|
|
8506
8469
|
deletedNodes?: GraphQLTypes["DeletedNodesResult"] | undefined;
|
|
@@ -8538,9 +8501,6 @@ export type GraphQLTypes = {
|
|
|
8538
8501
|
getPaymentRequestToCollect?: GraphQLTypes["GetPaymentRequestToCollectResult"] | undefined;
|
|
8539
8502
|
getPaymentRequestToPay?: GraphQLTypes["GetPaymentRequestToPayResult"] | undefined;
|
|
8540
8503
|
isValidPaymentIntent?: GraphQLTypes["IsValidPaymentIntentResult"] | undefined;
|
|
8541
|
-
getApplication?: GraphQLTypes["GetApplicationResult"] | undefined;
|
|
8542
|
-
getAllDevelopers?: GraphQLTypes["GetAllDevelopersResult"] | undefined;
|
|
8543
|
-
getDeveloper?: GraphQLTypes["GetDeveloperResult"] | undefined;
|
|
8544
8504
|
};
|
|
8545
8505
|
["Mutation"]: {
|
|
8546
8506
|
__typename: "Mutation";
|
|
@@ -8550,6 +8510,7 @@ export type GraphQLTypes = {
|
|
|
8550
8510
|
createDraftMail?: GraphQLTypes["CreateDraftMailResult"] | undefined;
|
|
8551
8511
|
createFolder?: GraphQLTypes["CreateFolderResult"] | undefined;
|
|
8552
8512
|
dbConfigMutation?: GraphQLTypes["DbConfigMutationResult"] | undefined;
|
|
8513
|
+
dbConfigToProdMutation?: GraphQLTypes["DbConfigToProdMutationResult"] | undefined;
|
|
8553
8514
|
dbSet?: GraphQLTypes["DbSetResult"] | undefined;
|
|
8554
8515
|
deleteAllData: boolean;
|
|
8555
8516
|
deleteDraftMail?: GraphQLTypes["DeleteDraftMailResult"] | undefined;
|
|
@@ -8617,52 +8578,71 @@ export type GraphQLTypes = {
|
|
|
8617
8578
|
test: boolean;
|
|
8618
8579
|
};
|
|
8619
8580
|
};
|
|
8620
|
-
|
|
8581
|
+
declare enum Lang {
|
|
8621
8582
|
fr = "fr",
|
|
8622
8583
|
en = "en"
|
|
8623
8584
|
}
|
|
8624
|
-
|
|
8585
|
+
declare enum PlanKind {
|
|
8625
8586
|
free = "free",
|
|
8626
8587
|
basic = "basic",
|
|
8627
8588
|
advanced = "advanced",
|
|
8628
8589
|
pro = "pro"
|
|
8629
8590
|
}
|
|
8630
|
-
|
|
8591
|
+
declare enum UserRole {
|
|
8631
8592
|
user = "user",
|
|
8632
8593
|
admin = "admin"
|
|
8633
8594
|
}
|
|
8634
|
-
|
|
8595
|
+
declare enum MailType {
|
|
8635
8596
|
sent = "sent",
|
|
8636
8597
|
received = "received"
|
|
8637
8598
|
}
|
|
8638
|
-
|
|
8599
|
+
declare enum Rights {
|
|
8639
8600
|
admin = "admin",
|
|
8640
8601
|
write = "write",
|
|
8641
8602
|
read = "read"
|
|
8642
8603
|
}
|
|
8643
|
-
|
|
8604
|
+
declare enum NodeType {
|
|
8644
8605
|
FILE = "FILE",
|
|
8645
8606
|
FOLDER = "FOLDER"
|
|
8646
8607
|
}
|
|
8647
|
-
|
|
8608
|
+
declare enum PaymentMethod {
|
|
8648
8609
|
card = "card",
|
|
8649
8610
|
wire_transfer = "wire_transfer"
|
|
8650
8611
|
}
|
|
8651
|
-
|
|
8612
|
+
declare enum MongoDbConfigType {
|
|
8613
|
+
current = "current",
|
|
8614
|
+
next = "next"
|
|
8615
|
+
}
|
|
8616
|
+
declare enum MongoDbEnv {
|
|
8617
|
+
dev = "dev",
|
|
8618
|
+
prod = "prod"
|
|
8619
|
+
}
|
|
8620
|
+
declare enum MongoDbFieldDiffAction {
|
|
8621
|
+
add = "add",
|
|
8622
|
+
update = "update",
|
|
8623
|
+
delete = "delete"
|
|
8624
|
+
}
|
|
8625
|
+
declare enum MongoDbFieldType {
|
|
8626
|
+
string = "string",
|
|
8627
|
+
number = "number",
|
|
8628
|
+
boolean = "boolean",
|
|
8629
|
+
object = "object"
|
|
8630
|
+
}
|
|
8631
|
+
declare enum SortByDate {
|
|
8632
|
+
createdAt = "createdAt",
|
|
8633
|
+
createdAt_asc = "createdAt_asc",
|
|
8634
|
+
createdAt_desc = "createdAt_desc",
|
|
8652
8635
|
updatedAt = "updatedAt",
|
|
8653
8636
|
updatedAt_asc = "updatedAt_asc",
|
|
8654
|
-
updatedAt_desc = "updatedAt_desc"
|
|
8655
|
-
users = "users",
|
|
8656
|
-
users_asc = "users_asc",
|
|
8657
|
-
users_desc = "users_desc"
|
|
8637
|
+
updatedAt_desc = "updatedAt_desc"
|
|
8658
8638
|
}
|
|
8659
|
-
|
|
8639
|
+
declare enum FileContentType {
|
|
8660
8640
|
cloud = "cloud",
|
|
8661
8641
|
lite = "lite",
|
|
8662
8642
|
sent_mail = "sent_mail",
|
|
8663
8643
|
received_mail = "received_mail"
|
|
8664
8644
|
}
|
|
8665
|
-
|
|
8645
|
+
declare enum InfuraNetwork {
|
|
8666
8646
|
mainnet = "mainnet",
|
|
8667
8647
|
ropsten = "ropsten",
|
|
8668
8648
|
rinkeby = "rinkeby",
|
|
@@ -8671,11 +8651,11 @@ export declare enum InfuraNetwork {
|
|
|
8671
8651
|
polygon_mainnet = "polygon_mainnet",
|
|
8672
8652
|
polygon_mumbai = "polygon_mumbai"
|
|
8673
8653
|
}
|
|
8674
|
-
|
|
8654
|
+
declare enum PayInputType {
|
|
8675
8655
|
secure = "secure",
|
|
8676
8656
|
classic = "classic"
|
|
8677
8657
|
}
|
|
8678
|
-
|
|
8658
|
+
declare enum CancellationReason {
|
|
8679
8659
|
abandoned = "abandoned",
|
|
8680
8660
|
automatic = "automatic",
|
|
8681
8661
|
duplicate = "duplicate",
|
|
@@ -8684,15 +8664,15 @@ export declare enum CancellationReason {
|
|
|
8684
8664
|
requested_by_customer = "requested_by_customer",
|
|
8685
8665
|
void_invoice = "void_invoice"
|
|
8686
8666
|
}
|
|
8687
|
-
|
|
8667
|
+
declare enum CaptureMethod {
|
|
8688
8668
|
manual = "manual",
|
|
8689
8669
|
automatic = "automatic"
|
|
8690
8670
|
}
|
|
8691
|
-
|
|
8671
|
+
declare enum ConfirmationMethod {
|
|
8692
8672
|
manual = "manual",
|
|
8693
8673
|
automatic = "automatic"
|
|
8694
8674
|
}
|
|
8695
|
-
|
|
8675
|
+
declare enum Status {
|
|
8696
8676
|
canceled = "canceled",
|
|
8697
8677
|
processing = "processing",
|
|
8698
8678
|
requires_action = "requires_action",
|
|
@@ -8701,7 +8681,7 @@ export declare enum Status {
|
|
|
8701
8681
|
requires_payment_method = "requires_payment_method",
|
|
8702
8682
|
succeeded = "succeeded"
|
|
8703
8683
|
}
|
|
8704
|
-
|
|
8684
|
+
declare enum PayoutType {
|
|
8705
8685
|
bank_account = "bank_account",
|
|
8706
8686
|
card = "card"
|
|
8707
8687
|
}
|
|
@@ -8717,7 +8697,11 @@ type ZEUS_VARIABLES = {
|
|
|
8717
8697
|
["Rights"]: ValueTypes["Rights"];
|
|
8718
8698
|
["NodeType"]: ValueTypes["NodeType"];
|
|
8719
8699
|
["PaymentMethod"]: ValueTypes["PaymentMethod"];
|
|
8720
|
-
["
|
|
8700
|
+
["MongoDbConfigType"]: ValueTypes["MongoDbConfigType"];
|
|
8701
|
+
["MongoDbEnv"]: ValueTypes["MongoDbEnv"];
|
|
8702
|
+
["MongoDbFieldDiffAction"]: ValueTypes["MongoDbFieldDiffAction"];
|
|
8703
|
+
["MongoDbFieldType"]: ValueTypes["MongoDbFieldType"];
|
|
8704
|
+
["SortByDate"]: ValueTypes["SortByDate"];
|
|
8721
8705
|
["FileContentType"]: ValueTypes["FileContentType"];
|
|
8722
8706
|
["InfuraNetwork"]: ValueTypes["InfuraNetwork"];
|
|
8723
8707
|
["MailFileInput"]: ValueTypes["MailFileInput"];
|
|
@@ -8735,4 +8719,5 @@ type ZEUS_VARIABLES = {
|
|
|
8735
8719
|
["PayoutType"]: ValueTypes["PayoutType"];
|
|
8736
8720
|
["ApplicationsCollaborators"]: ValueTypes["ApplicationsCollaborators"];
|
|
8737
8721
|
};
|
|
8738
|
-
|
|
8722
|
+
|
|
8723
|
+
export { $, AliasType, AllTypesPropsType, CancellationReason, CaptureMethod, Chain, ConfirmationMethod, ExtractVariables, FetchFunction, FileContentType, FromSelector, GRAPHQL_TYPE_SEPARATOR, GenericOperation, GetVariableType, Gql, GraphQLError, GraphQLResponse, GraphQLTypes, GraphQLVariableType, HEADERS, HOST, InfuraNetwork, InputType, InputValueType, InternalArgsBuilt, InternalsBuildQuery, Lang, MailType, MapType, ModelTypes, MongoDbConfigType, MongoDbEnv, MongoDbFieldDiffAction, MongoDbFieldType, NodeType, OperationOptions, Operations, PayInputType, PaymentMethod, PayoutType, PlainType, PlanKind, PrepareScalarPaths, ResolveFromPath, ResolverInputTypes, ResolverType, ReturnTypesType, Rights, SEPARATOR, START_VAR_NAME, ScalarCoder, ScalarCoders, ScalarDefinition, ScalarResolver, SelectionFunction, Selector, SortByDate, Status, Subscription, SubscriptionFunction, SubscriptionThunder, SubscriptionToGraphQL, Thunder, ThunderGraphQLOptions, TypeFromSelector, UnwrapPromise, UserRole, VType, ValueTypes, Variable, VariableDefinition, WithOptionalNullables, WithTypeNameValue, Zeus, ZeusArgsType, ZeusHook, ZeusScalars, ZeusSelect, ZeusState, apiFetch, apiSubscription, chainOptions, decodeScalarsInResponse, fetchOptions, purifyGraphQLKey, resolverFor, traverseResponse };
|