@fairu/sdk 1.0.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/CHANGELOG.md +16 -0
- package/README.md +447 -0
- package/dist/FairuClient-BUObk5LJ.cjs +91 -0
- package/dist/FairuClient-BUObk5LJ.cjs.map +1 -0
- package/dist/FairuClient-CT-IPh8i.js +92 -0
- package/dist/FairuClient-CT-IPh8i.js.map +1 -0
- package/dist/FairuError-D8sSmRAa.js +214 -0
- package/dist/FairuError-D8sSmRAa.js.map +1 -0
- package/dist/FairuError-DWH_Nwk0.cjs +213 -0
- package/dist/FairuError-DWH_Nwk0.cjs.map +1 -0
- package/dist/FairuProvider-BRpRddCI.cjs +51 -0
- package/dist/FairuProvider-BRpRddCI.cjs.map +1 -0
- package/dist/FairuProvider-Tc0vFo5L.js +52 -0
- package/dist/FairuProvider-Tc0vFo5L.js.map +1 -0
- package/dist/FileProxyBuilder-D-jZpAtd.cjs +269 -0
- package/dist/FileProxyBuilder-D-jZpAtd.cjs.map +1 -0
- package/dist/FileProxyBuilder-vHw1zBpJ.js +270 -0
- package/dist/FileProxyBuilder-vHw1zBpJ.js.map +1 -0
- package/dist/FragmentBuilder-BinoxeVS.js +194 -0
- package/dist/FragmentBuilder-BinoxeVS.js.map +1 -0
- package/dist/FragmentBuilder-BuvIC0aT.cjs +193 -0
- package/dist/FragmentBuilder-BuvIC0aT.cjs.map +1 -0
- package/dist/UploadError-CHBJuChw.cjs +81 -0
- package/dist/UploadError-CHBJuChw.cjs.map +1 -0
- package/dist/UploadError-_gEcJqSS.js +82 -0
- package/dist/UploadError-_gEcJqSS.js.map +1 -0
- package/dist/client/FairuClient.d.ts +8 -0
- package/dist/client/FairuClient.d.ts.map +1 -0
- package/dist/client/FairuProvider.d.ts +78 -0
- package/dist/client/FairuProvider.d.ts.map +1 -0
- package/dist/client/cache.d.ts +6 -0
- package/dist/client/cache.d.ts.map +1 -0
- package/dist/client/config.d.ts +77 -0
- package/dist/client/config.d.ts.map +1 -0
- package/dist/client/index.d.ts +5 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/errors/FairuError.d.ts +107 -0
- package/dist/errors/FairuError.d.ts.map +1 -0
- package/dist/errors/UploadError.d.ts +54 -0
- package/dist/errors/UploadError.d.ts.map +1 -0
- package/dist/errors/index.d.ts +3 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/fileproxy/FileProxyBuilder.d.ts +141 -0
- package/dist/fileproxy/FileProxyBuilder.d.ts.map +1 -0
- package/dist/fileproxy/index.d.ts +4 -0
- package/dist/fileproxy/index.d.ts.map +1 -0
- package/dist/fileproxy/types.d.ts +79 -0
- package/dist/fileproxy/types.d.ts.map +1 -0
- package/dist/fileproxy/useFileProxyUrl.d.ts +91 -0
- package/dist/fileproxy/useFileProxyUrl.d.ts.map +1 -0
- package/dist/fileproxy.cjs +10 -0
- package/dist/fileproxy.cjs.map +1 -0
- package/dist/fileproxy.d.ts +2 -0
- package/dist/fileproxy.js +10 -0
- package/dist/fileproxy.js.map +1 -0
- package/dist/fragments/FragmentBuilder.d.ts +107 -0
- package/dist/fragments/FragmentBuilder.d.ts.map +1 -0
- package/dist/fragments/FragmentRegistry.d.ts +93 -0
- package/dist/fragments/FragmentRegistry.d.ts.map +1 -0
- package/dist/fragments/index.d.ts +5 -0
- package/dist/fragments/index.d.ts.map +1 -0
- package/dist/fragments/predefined/assetFragments.d.ts +39 -0
- package/dist/fragments/predefined/assetFragments.d.ts.map +1 -0
- package/dist/fragments/predefined/copyrightFragments.d.ts +12 -0
- package/dist/fragments/predefined/copyrightFragments.d.ts.map +1 -0
- package/dist/fragments/predefined/folderFragments.d.ts +28 -0
- package/dist/fragments/predefined/folderFragments.d.ts.map +1 -0
- package/dist/fragments/predefined/galleryFragments.d.ts +24 -0
- package/dist/fragments/predefined/galleryFragments.d.ts.map +1 -0
- package/dist/fragments/predefined/index.d.ts +6 -0
- package/dist/fragments/predefined/index.d.ts.map +1 -0
- package/dist/fragments/predefined/licenseFragments.d.ts +12 -0
- package/dist/fragments/predefined/licenseFragments.d.ts.map +1 -0
- package/dist/fragments/types.d.ts +46 -0
- package/dist/fragments/types.d.ts.map +1 -0
- package/dist/fragments.cjs +403 -0
- package/dist/fragments.cjs.map +1 -0
- package/dist/fragments.d.ts +2 -0
- package/dist/fragments.js +403 -0
- package/dist/fragments.js.map +1 -0
- package/dist/generated/graphql.d.ts +3464 -0
- package/dist/generated/graphql.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/mutations/index.d.ts +5 -0
- package/dist/hooks/mutations/index.d.ts.map +1 -0
- package/dist/hooks/mutations/useAssetMutations.d.ts +66 -0
- package/dist/hooks/mutations/useAssetMutations.d.ts.map +1 -0
- package/dist/hooks/mutations/useFolderMutations.d.ts +69 -0
- package/dist/hooks/mutations/useFolderMutations.d.ts.map +1 -0
- package/dist/hooks/mutations/useGalleryMutations.d.ts +39 -0
- package/dist/hooks/mutations/useGalleryMutations.d.ts.map +1 -0
- package/dist/hooks/mutations/useUpdateAsset.d.ts +50 -0
- package/dist/hooks/mutations/useUpdateAsset.d.ts.map +1 -0
- package/dist/hooks/queries/index.d.ts +8 -0
- package/dist/hooks/queries/index.d.ts.map +1 -0
- package/dist/hooks/queries/useAsset.d.ts +46 -0
- package/dist/hooks/queries/useAsset.d.ts.map +1 -0
- package/dist/hooks/queries/useAssets.d.ts +58 -0
- package/dist/hooks/queries/useAssets.d.ts.map +1 -0
- package/dist/hooks/queries/useCopyright.d.ts +51 -0
- package/dist/hooks/queries/useCopyright.d.ts.map +1 -0
- package/dist/hooks/queries/useFolder.d.ts +93 -0
- package/dist/hooks/queries/useFolder.d.ts.map +1 -0
- package/dist/hooks/queries/useGallery.d.ts +101 -0
- package/dist/hooks/queries/useGallery.d.ts.map +1 -0
- package/dist/hooks/queries/useLicense.d.ts +63 -0
- package/dist/hooks/queries/useLicense.d.ts.map +1 -0
- package/dist/hooks/queries/useTenant.d.ts +89 -0
- package/dist/hooks/queries/useTenant.d.ts.map +1 -0
- package/dist/index.cjs +244 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +244 -0
- package/dist/index.js.map +1 -0
- package/dist/react.cjs +596 -0
- package/dist/react.cjs.map +1 -0
- package/dist/react.d.ts +22 -0
- package/dist/react.d.ts.map +1 -0
- package/dist/react.js +596 -0
- package/dist/react.js.map +1 -0
- package/dist/upload/index.d.ts +4 -0
- package/dist/upload/index.d.ts.map +1 -0
- package/dist/upload/types.d.ts +96 -0
- package/dist/upload/types.d.ts.map +1 -0
- package/dist/upload/useMultipartUpload.d.ts +67 -0
- package/dist/upload/useMultipartUpload.d.ts.map +1 -0
- package/dist/upload/useUpload.d.ts +64 -0
- package/dist/upload/useUpload.d.ts.map +1 -0
- package/dist/upload.cjs +6 -0
- package/dist/upload.cjs.map +1 -0
- package/dist/upload.d.ts +2 -0
- package/dist/upload.js +6 -0
- package/dist/upload.js.map +1 -0
- package/dist/useFileProxyUrl-BCcux6re.cjs +87 -0
- package/dist/useFileProxyUrl-BCcux6re.cjs.map +1 -0
- package/dist/useFileProxyUrl-D_S1R_7O.js +88 -0
- package/dist/useFileProxyUrl-D_S1R_7O.js.map +1 -0
- package/dist/useMultipartUpload-BKnDbl8h.cjs +423 -0
- package/dist/useMultipartUpload-BKnDbl8h.cjs.map +1 -0
- package/dist/useMultipartUpload-CPK_PgUU.js +424 -0
- package/dist/useMultipartUpload-CPK_PgUU.js.map +1 -0
- package/dist/vanilla.cjs +219 -0
- package/dist/vanilla.cjs.map +1 -0
- package/dist/vanilla.d.ts +94 -0
- package/dist/vanilla.d.ts.map +1 -0
- package/dist/vanilla.js +220 -0
- package/dist/vanilla.js.map +1 -0
- package/package.json +177 -0
|
@@ -0,0 +1,3464 @@
|
|
|
1
|
+
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
|
|
2
|
+
export type Maybe<T> = T | null;
|
|
3
|
+
export type InputMaybe<T> = T | null;
|
|
4
|
+
export type Exact<T extends {
|
|
5
|
+
[key: string]: unknown;
|
|
6
|
+
}> = {
|
|
7
|
+
[K in keyof T]: T[K];
|
|
8
|
+
};
|
|
9
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
10
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
11
|
+
};
|
|
12
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
13
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
14
|
+
};
|
|
15
|
+
export type MakeEmpty<T extends {
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}, K extends keyof T> = {
|
|
18
|
+
[_ in K]?: never;
|
|
19
|
+
};
|
|
20
|
+
export type Incremental<T> = T | {
|
|
21
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
22
|
+
};
|
|
23
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
24
|
+
export type Scalars = {
|
|
25
|
+
ID: {
|
|
26
|
+
input: string;
|
|
27
|
+
output: string;
|
|
28
|
+
};
|
|
29
|
+
String: {
|
|
30
|
+
input: string;
|
|
31
|
+
output: string;
|
|
32
|
+
};
|
|
33
|
+
Boolean: {
|
|
34
|
+
input: boolean;
|
|
35
|
+
output: boolean;
|
|
36
|
+
};
|
|
37
|
+
Int: {
|
|
38
|
+
input: number;
|
|
39
|
+
output: number;
|
|
40
|
+
};
|
|
41
|
+
Float: {
|
|
42
|
+
input: number;
|
|
43
|
+
output: number;
|
|
44
|
+
};
|
|
45
|
+
/** A date string with format `Y-m-d`, e.g. `2011-05-23`. */
|
|
46
|
+
Date: {
|
|
47
|
+
input: string;
|
|
48
|
+
output: string;
|
|
49
|
+
};
|
|
50
|
+
/** A datetime string with format `Y-m-d H:i:s`, e.g. `2018-05-23 13:43:32`. */
|
|
51
|
+
DateTime: {
|
|
52
|
+
input: string;
|
|
53
|
+
output: string;
|
|
54
|
+
};
|
|
55
|
+
/** Defines the type of a workflow structure */
|
|
56
|
+
WorkflowStructure: {
|
|
57
|
+
input: Record<string, unknown>;
|
|
58
|
+
output: Record<string, unknown>;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export type DefaultPaginator = {
|
|
62
|
+
__typename: 'DefaultPaginator';
|
|
63
|
+
count: Maybe<Scalars['Int']['output']>;
|
|
64
|
+
currentPage: Maybe<Scalars['Int']['output']>;
|
|
65
|
+
firstItem: Maybe<Scalars['Int']['output']>;
|
|
66
|
+
hasMorePages: Maybe<Scalars['Boolean']['output']>;
|
|
67
|
+
lastItem: Maybe<Scalars['Int']['output']>;
|
|
68
|
+
lastPage: Maybe<Scalars['Int']['output']>;
|
|
69
|
+
perPage: Maybe<Scalars['Int']['output']>;
|
|
70
|
+
total: Maybe<Scalars['Int']['output']>;
|
|
71
|
+
};
|
|
72
|
+
/** Result type for fairuAllFilesFlat query - S3-compatible flat file listing */
|
|
73
|
+
export type FairuAllFilesFlatResult = {
|
|
74
|
+
__typename: 'FairuAllFilesFlatResult';
|
|
75
|
+
/** List of entries (files and empty folders) */
|
|
76
|
+
entries: Array<FairuFlatEntry>;
|
|
77
|
+
/** True if there are more pages */
|
|
78
|
+
hasMore: Scalars['Boolean']['output'];
|
|
79
|
+
/** Cursor for next page (null if no more pages) */
|
|
80
|
+
nextCursor: Maybe<Scalars['String']['output']>;
|
|
81
|
+
};
|
|
82
|
+
export type FairuAsset = {
|
|
83
|
+
__typename: 'FairuAsset';
|
|
84
|
+
alt: Maybe<Scalars['String']['output']>;
|
|
85
|
+
blocked: Maybe<Scalars['Boolean']['output']>;
|
|
86
|
+
blurhash: Maybe<Scalars['String']['output']>;
|
|
87
|
+
caption: Maybe<Scalars['String']['output']>;
|
|
88
|
+
copyright_text: Maybe<Scalars['String']['output']>;
|
|
89
|
+
copyrights: Maybe<Array<FairuCopyright>>;
|
|
90
|
+
created_at: Maybe<Scalars['String']['output']>;
|
|
91
|
+
description: Maybe<Scalars['String']['output']>;
|
|
92
|
+
focal_point: Maybe<Scalars['String']['output']>;
|
|
93
|
+
has_error: Maybe<Scalars['Boolean']['output']>;
|
|
94
|
+
height: Maybe<Scalars['Int']['output']>;
|
|
95
|
+
id: Scalars['ID']['output'];
|
|
96
|
+
licenses: Maybe<Array<FairuLicense>>;
|
|
97
|
+
mime: Maybe<Scalars['String']['output']>;
|
|
98
|
+
name: Maybe<Scalars['String']['output']>;
|
|
99
|
+
original_height: Maybe<Scalars['Int']['output']>;
|
|
100
|
+
original_width: Maybe<Scalars['Int']['output']>;
|
|
101
|
+
size: Maybe<Scalars['Int']['output']>;
|
|
102
|
+
updated_at: Maybe<Scalars['String']['output']>;
|
|
103
|
+
url: Maybe<Scalars['String']['output']>;
|
|
104
|
+
versions: Maybe<Array<FairuAssetVideoVersions>>;
|
|
105
|
+
width: Maybe<Scalars['Int']['output']>;
|
|
106
|
+
};
|
|
107
|
+
export type FairuAssetCaptionArgs = {
|
|
108
|
+
raw: InputMaybe<Scalars['Boolean']['input']>;
|
|
109
|
+
};
|
|
110
|
+
export type FairuAssetDescriptionArgs = {
|
|
111
|
+
raw: InputMaybe<Scalars['Boolean']['input']>;
|
|
112
|
+
};
|
|
113
|
+
export type FairuAssetUrlArgs = {
|
|
114
|
+
focal_point: InputMaybe<Scalars['String']['input']>;
|
|
115
|
+
height: InputMaybe<Scalars['Int']['input']>;
|
|
116
|
+
quality: InputMaybe<Scalars['Int']['input']>;
|
|
117
|
+
sign: InputMaybe<Scalars['Int']['input']>;
|
|
118
|
+
version: InputMaybe<FairuAssetVideoVersions>;
|
|
119
|
+
width: InputMaybe<Scalars['Int']['input']>;
|
|
120
|
+
withStoredFocalPoint: InputMaybe<Scalars['Boolean']['input']>;
|
|
121
|
+
};
|
|
122
|
+
export type FairuAssetList = {
|
|
123
|
+
__typename: 'FairuAssetList';
|
|
124
|
+
data: Maybe<Array<FairuAsset>>;
|
|
125
|
+
paginatorInfo: Maybe<DefaultPaginator>;
|
|
126
|
+
};
|
|
127
|
+
export type FairuAssetVideoVersions = 'HIGH' | 'LOW' | 'MEDIUM';
|
|
128
|
+
export type FairuCopyright = {
|
|
129
|
+
__typename: 'FairuCopyright';
|
|
130
|
+
active: Maybe<Scalars['Boolean']['output']>;
|
|
131
|
+
blocked: Maybe<Scalars['Boolean']['output']>;
|
|
132
|
+
created_at: Maybe<Scalars['DateTime']['output']>;
|
|
133
|
+
email: Maybe<Scalars['String']['output']>;
|
|
134
|
+
id: Scalars['ID']['output'];
|
|
135
|
+
name: Maybe<Scalars['String']['output']>;
|
|
136
|
+
phone: Maybe<Scalars['String']['output']>;
|
|
137
|
+
updated_at: Maybe<Scalars['DateTime']['output']>;
|
|
138
|
+
website: Maybe<Scalars['String']['output']>;
|
|
139
|
+
};
|
|
140
|
+
export type FairuCopyrightDto = {
|
|
141
|
+
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
142
|
+
blocked?: InputMaybe<Scalars['Boolean']['input']>;
|
|
143
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
144
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
145
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
146
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
147
|
+
website?: InputMaybe<Scalars['String']['input']>;
|
|
148
|
+
};
|
|
149
|
+
export type FairuCopyrightList = {
|
|
150
|
+
__typename: 'FairuCopyrightList';
|
|
151
|
+
data: Maybe<Array<FairuCopyright>>;
|
|
152
|
+
paginatorInfo: Maybe<DefaultPaginator>;
|
|
153
|
+
};
|
|
154
|
+
export type FairuCustomDomainStatus = 'CHECKING' | 'FAILED' | 'NONE' | 'SUCCESS';
|
|
155
|
+
export type FairuDisk = {
|
|
156
|
+
__typename: 'FairuDisk';
|
|
157
|
+
active: Maybe<Scalars['Boolean']['output']>;
|
|
158
|
+
created_at: Maybe<Scalars['DateTime']['output']>;
|
|
159
|
+
credentials: Maybe<FairuDiskCredentials>;
|
|
160
|
+
delete_at_origin: Maybe<Scalars['Boolean']['output']>;
|
|
161
|
+
folder: Maybe<FairuFolder>;
|
|
162
|
+
healthy: Maybe<Scalars['Boolean']['output']>;
|
|
163
|
+
id: Scalars['ID']['output'];
|
|
164
|
+
name: Maybe<Scalars['String']['output']>;
|
|
165
|
+
path: Maybe<Scalars['String']['output']>;
|
|
166
|
+
pattern: Maybe<Scalars['String']['output']>;
|
|
167
|
+
syncing: Maybe<Scalars['Boolean']['output']>;
|
|
168
|
+
type: Maybe<FairuDiskType>;
|
|
169
|
+
updated_at: Maybe<Scalars['DateTime']['output']>;
|
|
170
|
+
};
|
|
171
|
+
export type FairuDiskCredentials = FairuDiskFtpCredentials | FairuDiskS3Credentials;
|
|
172
|
+
export type FairuDiskCredentialsDto = {
|
|
173
|
+
/** For S3 */
|
|
174
|
+
bucket?: InputMaybe<Scalars['String']['input']>;
|
|
175
|
+
/** For S3 */
|
|
176
|
+
endpoint?: InputMaybe<Scalars['String']['input']>;
|
|
177
|
+
/** For FTP/SFTP */
|
|
178
|
+
ftp_host?: InputMaybe<Scalars['String']['input']>;
|
|
179
|
+
/** For FTP/SFTP */
|
|
180
|
+
ftp_password?: InputMaybe<Scalars['String']['input']>;
|
|
181
|
+
/** For FTP/SFTP */
|
|
182
|
+
ftp_port?: InputMaybe<Scalars['Int']['input']>;
|
|
183
|
+
/** For FTP/SFTP */
|
|
184
|
+
ftp_username?: InputMaybe<Scalars['String']['input']>;
|
|
185
|
+
/** For S3 */
|
|
186
|
+
key?: InputMaybe<Scalars['String']['input']>;
|
|
187
|
+
/** For S3 */
|
|
188
|
+
region?: InputMaybe<Scalars['String']['input']>;
|
|
189
|
+
/** For S3 */
|
|
190
|
+
secret?: InputMaybe<Scalars['String']['input']>;
|
|
191
|
+
/** For S3 */
|
|
192
|
+
url?: InputMaybe<Scalars['String']['input']>;
|
|
193
|
+
};
|
|
194
|
+
export type FairuDiskDto = {
|
|
195
|
+
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
196
|
+
credentials?: InputMaybe<FairuDiskCredentialsDto>;
|
|
197
|
+
delete_at_origin?: InputMaybe<Scalars['Boolean']['input']>;
|
|
198
|
+
folder_id?: InputMaybe<Scalars['ID']['input']>;
|
|
199
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
200
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
201
|
+
path?: InputMaybe<Scalars['String']['input']>;
|
|
202
|
+
pattern?: InputMaybe<Scalars['String']['input']>;
|
|
203
|
+
type?: InputMaybe<FairuDiskType>;
|
|
204
|
+
};
|
|
205
|
+
export type FairuDiskFtpCredentials = {
|
|
206
|
+
__typename: 'FairuDiskFTPCredentials';
|
|
207
|
+
ftp_host: Maybe<Scalars['String']['output']>;
|
|
208
|
+
ftp_password: Maybe<Scalars['String']['output']>;
|
|
209
|
+
ftp_port: Maybe<Scalars['Int']['output']>;
|
|
210
|
+
ftp_username: Maybe<Scalars['String']['output']>;
|
|
211
|
+
};
|
|
212
|
+
export type FairuDiskList = {
|
|
213
|
+
__typename: 'FairuDiskList';
|
|
214
|
+
data: Maybe<Array<FairuDisk>>;
|
|
215
|
+
paginatorInfo: Maybe<DefaultPaginator>;
|
|
216
|
+
};
|
|
217
|
+
export type FairuDiskS3Credentials = {
|
|
218
|
+
__typename: 'FairuDiskS3Credentials';
|
|
219
|
+
bucket: Maybe<Scalars['String']['output']>;
|
|
220
|
+
endpoint: Maybe<Scalars['String']['output']>;
|
|
221
|
+
key: Maybe<Scalars['String']['output']>;
|
|
222
|
+
region: Maybe<Scalars['String']['output']>;
|
|
223
|
+
secret: Maybe<Scalars['String']['output']>;
|
|
224
|
+
url: Maybe<Scalars['String']['output']>;
|
|
225
|
+
};
|
|
226
|
+
export type FairuDiskStatus = {
|
|
227
|
+
__typename: 'FairuDiskStatus';
|
|
228
|
+
failed: Maybe<Scalars['Int']['output']>;
|
|
229
|
+
id: Scalars['ID']['output'];
|
|
230
|
+
open: Maybe<Scalars['Int']['output']>;
|
|
231
|
+
pending: Maybe<Scalars['Int']['output']>;
|
|
232
|
+
synced: Maybe<Scalars['Int']['output']>;
|
|
233
|
+
syncing: Maybe<Scalars['Boolean']['output']>;
|
|
234
|
+
};
|
|
235
|
+
export type FairuDiskType = 'FTP' | 'S3' | 'SFTP';
|
|
236
|
+
export type FairuDmca = {
|
|
237
|
+
__typename: 'FairuDmca';
|
|
238
|
+
email: Maybe<Scalars['String']['output']>;
|
|
239
|
+
file: Maybe<FairuAsset>;
|
|
240
|
+
id: Scalars['ID']['output'];
|
|
241
|
+
name: Maybe<Scalars['String']['output']>;
|
|
242
|
+
reply: Maybe<Scalars['String']['output']>;
|
|
243
|
+
reply_send: Maybe<Scalars['Boolean']['output']>;
|
|
244
|
+
status: Maybe<FairuDmcaStatus>;
|
|
245
|
+
};
|
|
246
|
+
export type FairuDmcaComplainDto = {
|
|
247
|
+
email: Scalars['String']['input'];
|
|
248
|
+
name: Scalars['String']['input'];
|
|
249
|
+
text?: InputMaybe<Scalars['String']['input']>;
|
|
250
|
+
url: Scalars['String']['input'];
|
|
251
|
+
};
|
|
252
|
+
export type FairuDmcaDto = {
|
|
253
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
254
|
+
id: Scalars['ID']['input'];
|
|
255
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
256
|
+
reply?: InputMaybe<Scalars['String']['input']>;
|
|
257
|
+
reply_send?: InputMaybe<Scalars['Boolean']['input']>;
|
|
258
|
+
};
|
|
259
|
+
export type FairuDmcaList = {
|
|
260
|
+
__typename: 'FairuDmcaList';
|
|
261
|
+
data: Maybe<Array<FairuDmca>>;
|
|
262
|
+
paginatorInfo: Maybe<DefaultPaginator>;
|
|
263
|
+
};
|
|
264
|
+
export type FairuDmcaStatus = 'ACCEPTED' | 'DENIES' | 'FAILED' | 'OPEN';
|
|
265
|
+
export type FairuEntry = FairuAsset | FairuFolder;
|
|
266
|
+
export type FairuFileAccessSignature = {
|
|
267
|
+
__typename: 'FairuFileAccessSignature';
|
|
268
|
+
expires_at: Scalars['String']['output'];
|
|
269
|
+
file_id: Scalars['ID']['output'];
|
|
270
|
+
signature: Scalars['String']['output'];
|
|
271
|
+
};
|
|
272
|
+
export type FairuFileDto = {
|
|
273
|
+
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
274
|
+
/** Define an alternative text */
|
|
275
|
+
alt?: InputMaybe<Scalars['String']['input']>;
|
|
276
|
+
blocked?: InputMaybe<Scalars['Boolean']['input']>;
|
|
277
|
+
/** This text should be used for text below the asset - html supported */
|
|
278
|
+
caption?: InputMaybe<Scalars['String']['input']>;
|
|
279
|
+
/** Use the copyright ids to pass the list to the file */
|
|
280
|
+
copyrightIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
281
|
+
/** Add an internal description to the file - html supported */
|
|
282
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
283
|
+
/** Define an focal point in terms of y-x-zoom eg. 0-10-1 */
|
|
284
|
+
focal_point?: InputMaybe<Scalars['String']['input']>;
|
|
285
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
286
|
+
/** Use the ids from license to define a license fo this file */
|
|
287
|
+
licenseIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
288
|
+
/** Enter a name without the file extension - otherwise it will be part of the name */
|
|
289
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
290
|
+
};
|
|
291
|
+
export type FairuFilePdfSignatureRequest = {
|
|
292
|
+
__typename: 'FairuFilePdfSignatureRequest';
|
|
293
|
+
config_url: Maybe<Scalars['String']['output']>;
|
|
294
|
+
emails: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
295
|
+
file: Maybe<FairuAsset>;
|
|
296
|
+
id: Scalars['ID']['output'];
|
|
297
|
+
signature_id: Maybe<Scalars['ID']['output']>;
|
|
298
|
+
status: Maybe<FairuPdfSignatureRequestStatus>;
|
|
299
|
+
};
|
|
300
|
+
export type FairuFilePdfSignatureRequestDto = {
|
|
301
|
+
emails?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
302
|
+
file_id?: InputMaybe<Scalars['ID']['input']>;
|
|
303
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
304
|
+
};
|
|
305
|
+
/** Single entry in flat file listing (file or empty folder) */
|
|
306
|
+
export type FairuFlatEntry = {
|
|
307
|
+
__typename: 'FairuFlatEntry';
|
|
308
|
+
id: Scalars['ID']['output'];
|
|
309
|
+
/** True if this is an empty folder (S3: 0-byte key with trailing /) */
|
|
310
|
+
isFolder: Scalars['Boolean']['output'];
|
|
311
|
+
/** MIME type (null for folders) */
|
|
312
|
+
mime: Maybe<Scalars['String']['output']>;
|
|
313
|
+
/** File or folder name */
|
|
314
|
+
name: Scalars['String']['output'];
|
|
315
|
+
/** Full path including name (e.g., 'marketing/2024/hero.jpg' or 'archive/') */
|
|
316
|
+
path: Scalars['String']['output'];
|
|
317
|
+
/** Size in bytes (0 for folders) */
|
|
318
|
+
size: Scalars['Int']['output'];
|
|
319
|
+
/** Last update timestamp */
|
|
320
|
+
updatedAt: Maybe<Scalars['DateTime']['output']>;
|
|
321
|
+
};
|
|
322
|
+
export type FairuFolder = {
|
|
323
|
+
__typename: 'FairuFolder';
|
|
324
|
+
/** Get all files recursively from this folder and all subfolders */
|
|
325
|
+
allAssets: Maybe<Array<FairuAsset>>;
|
|
326
|
+
auto_assign_copyright: Maybe<Scalars['Boolean']['output']>;
|
|
327
|
+
content: Maybe<FairuFolderList>;
|
|
328
|
+
copyrights: Maybe<Array<Maybe<FairuCopyright>>>;
|
|
329
|
+
created_at: Maybe<Scalars['DateTime']['output']>;
|
|
330
|
+
id: Scalars['ID']['output'];
|
|
331
|
+
name: Maybe<Scalars['String']['output']>;
|
|
332
|
+
updated_at: Maybe<Scalars['DateTime']['output']>;
|
|
333
|
+
};
|
|
334
|
+
export type FairuFolderAllAssetsArgs = {
|
|
335
|
+
limit: InputMaybe<Scalars['Int']['input']>;
|
|
336
|
+
};
|
|
337
|
+
export type FairuFolderContentArgs = {
|
|
338
|
+
folder: InputMaybe<Scalars['ID']['input']>;
|
|
339
|
+
globalSearch: InputMaybe<Scalars['Boolean']['input']>;
|
|
340
|
+
onlyFolder: InputMaybe<Scalars['Boolean']['input']>;
|
|
341
|
+
orderBy: InputMaybe<Scalars['String']['input']>;
|
|
342
|
+
orderDirection: InputMaybe<FairuSortingDirection>;
|
|
343
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
344
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
345
|
+
search: InputMaybe<Scalars['String']['input']>;
|
|
346
|
+
};
|
|
347
|
+
export type FairuFolderDto = {
|
|
348
|
+
autoAssignCopyright?: InputMaybe<Scalars['Boolean']['input']>;
|
|
349
|
+
copyrightIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
350
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
351
|
+
inhertiCopyrightAssignment?: InputMaybe<Scalars['Boolean']['input']>;
|
|
352
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
353
|
+
parent?: InputMaybe<Scalars['ID']['input']>;
|
|
354
|
+
};
|
|
355
|
+
export type FairuFolderFilter = {
|
|
356
|
+
mimeFilter?: InputMaybe<Scalars['String']['input']>;
|
|
357
|
+
onlyAudio?: InputMaybe<Scalars['Boolean']['input']>;
|
|
358
|
+
onlyImage?: InputMaybe<Scalars['Boolean']['input']>;
|
|
359
|
+
onlyVideo?: InputMaybe<Scalars['Boolean']['input']>;
|
|
360
|
+
};
|
|
361
|
+
export type FairuFolderList = {
|
|
362
|
+
__typename: 'FairuFolderList';
|
|
363
|
+
data: Maybe<Array<FairuEntry>>;
|
|
364
|
+
paginatorInfo: Maybe<DefaultPaginator>;
|
|
365
|
+
};
|
|
366
|
+
export type FairuFolderUploadShareLink = {
|
|
367
|
+
__typename: 'FairuFolderUploadShareLink';
|
|
368
|
+
/** When the link expires (null if never) */
|
|
369
|
+
expires_at: Maybe<Scalars['String']['output']>;
|
|
370
|
+
/** The folder ID this link uploads to */
|
|
371
|
+
folder_id: Scalars['ID']['output'];
|
|
372
|
+
/** The ID of the upload share link */
|
|
373
|
+
id: Scalars['ID']['output'];
|
|
374
|
+
/** Optional name for the link */
|
|
375
|
+
name: Maybe<Scalars['String']['output']>;
|
|
376
|
+
/** The shareable URL that can be used to upload files */
|
|
377
|
+
url: Scalars['String']['output'];
|
|
378
|
+
};
|
|
379
|
+
export type FairuGallery = {
|
|
380
|
+
__typename: 'FairuGallery';
|
|
381
|
+
active: Maybe<Scalars['Boolean']['output']>;
|
|
382
|
+
copyright_text: Maybe<Scalars['String']['output']>;
|
|
383
|
+
copyrights: Maybe<Array<FairuCopyright>>;
|
|
384
|
+
cover_image: Maybe<FairuAsset>;
|
|
385
|
+
date: Maybe<Scalars['String']['output']>;
|
|
386
|
+
description: Maybe<Scalars['String']['output']>;
|
|
387
|
+
exclude_from_list: Maybe<Scalars['Boolean']['output']>;
|
|
388
|
+
id: Scalars['ID']['output'];
|
|
389
|
+
items: Maybe<Array<FairuAsset>>;
|
|
390
|
+
itemsPaginated: Maybe<FairuGalleryItemList>;
|
|
391
|
+
location: Maybe<Scalars['String']['output']>;
|
|
392
|
+
name: Maybe<Scalars['String']['output']>;
|
|
393
|
+
sorting_direction: Maybe<Scalars['String']['output']>;
|
|
394
|
+
sorting_field: Maybe<Scalars['String']['output']>;
|
|
395
|
+
};
|
|
396
|
+
export type FairuGalleryDescriptionArgs = {
|
|
397
|
+
raw: InputMaybe<Scalars['Boolean']['input']>;
|
|
398
|
+
};
|
|
399
|
+
export type FairuGalleryItemsPaginatedArgs = {
|
|
400
|
+
orderBy: InputMaybe<Scalars['String']['input']>;
|
|
401
|
+
orderDirection: InputMaybe<Scalars['String']['input']>;
|
|
402
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
403
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
404
|
+
};
|
|
405
|
+
export type FairuGalleryDto = {
|
|
406
|
+
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
407
|
+
date?: InputMaybe<Scalars['DateTime']['input']>;
|
|
408
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
409
|
+
exclude_from_list?: InputMaybe<Scalars['Boolean']['input']>;
|
|
410
|
+
folder_id?: InputMaybe<Scalars['ID']['input']>;
|
|
411
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
412
|
+
location?: InputMaybe<Scalars['String']['input']>;
|
|
413
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
414
|
+
sorting_direction?: InputMaybe<FairuSortingDirection>;
|
|
415
|
+
sorting_field?: InputMaybe<FairuGallerySortingField>;
|
|
416
|
+
};
|
|
417
|
+
export type FairuGalleryItemList = {
|
|
418
|
+
__typename: 'FairuGalleryItemList';
|
|
419
|
+
data: Maybe<Array<FairuAsset>>;
|
|
420
|
+
paginatorInfo: Maybe<DefaultPaginator>;
|
|
421
|
+
};
|
|
422
|
+
export type FairuGalleryList = {
|
|
423
|
+
__typename: 'FairuGalleryList';
|
|
424
|
+
data: Maybe<Array<FairuGallery>>;
|
|
425
|
+
paginatorInfo: Maybe<DefaultPaginator>;
|
|
426
|
+
};
|
|
427
|
+
export type FairuGallerySortingField = 'CREATED_AT' | 'NAME';
|
|
428
|
+
export type FairuHealthStatus = {
|
|
429
|
+
__typename: 'FairuHealthStatus';
|
|
430
|
+
healthy: Maybe<Scalars['Boolean']['output']>;
|
|
431
|
+
version: Maybe<Scalars['String']['output']>;
|
|
432
|
+
};
|
|
433
|
+
export type FairuLicense = {
|
|
434
|
+
__typename: 'FairuLicense';
|
|
435
|
+
active: Maybe<Scalars['Boolean']['output']>;
|
|
436
|
+
copyright: Maybe<FairuCopyright>;
|
|
437
|
+
created_at: Maybe<Scalars['DateTime']['output']>;
|
|
438
|
+
days: Maybe<Scalars['Int']['output']>;
|
|
439
|
+
default: Maybe<Scalars['Boolean']['output']>;
|
|
440
|
+
end: Maybe<Scalars['DateTime']['output']>;
|
|
441
|
+
id: Scalars['ID']['output'];
|
|
442
|
+
interval: Maybe<Scalars['Int']['output']>;
|
|
443
|
+
name: Maybe<Scalars['String']['output']>;
|
|
444
|
+
replace_date: Maybe<Scalars['DateTime']['output']>;
|
|
445
|
+
replace_license: Maybe<Scalars['Boolean']['output']>;
|
|
446
|
+
replace_license_entry: Maybe<FairuLicense>;
|
|
447
|
+
replaced_by_license_entry: Maybe<FairuLicense>;
|
|
448
|
+
start: Maybe<Scalars['DateTime']['output']>;
|
|
449
|
+
type: Maybe<FairuLicenseType>;
|
|
450
|
+
updated_at: Maybe<Scalars['DateTime']['output']>;
|
|
451
|
+
};
|
|
452
|
+
export type FairuLicenseDto = {
|
|
453
|
+
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
454
|
+
copyright_id?: InputMaybe<Scalars['ID']['input']>;
|
|
455
|
+
days?: InputMaybe<Scalars['Int']['input']>;
|
|
456
|
+
default?: InputMaybe<Scalars['Boolean']['input']>;
|
|
457
|
+
end?: InputMaybe<Scalars['DateTime']['input']>;
|
|
458
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
459
|
+
interval?: InputMaybe<Scalars['Int']['input']>;
|
|
460
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
461
|
+
replace_date?: InputMaybe<Scalars['DateTime']['input']>;
|
|
462
|
+
replace_license?: InputMaybe<Scalars['Boolean']['input']>;
|
|
463
|
+
replace_license_id?: InputMaybe<Scalars['ID']['input']>;
|
|
464
|
+
start?: InputMaybe<Scalars['DateTime']['input']>;
|
|
465
|
+
type?: InputMaybe<FairuLicenseType>;
|
|
466
|
+
};
|
|
467
|
+
export type FairuLicenseList = {
|
|
468
|
+
__typename: 'FairuLicenseList';
|
|
469
|
+
data: Maybe<Array<FairuLicense>>;
|
|
470
|
+
paginatorInfo: Maybe<DefaultPaginator>;
|
|
471
|
+
};
|
|
472
|
+
export type FairuLicenseType = 'PERIOD' | 'STANDARD';
|
|
473
|
+
/** Presigned URL for uploading a single part */
|
|
474
|
+
export type FairuMultipartPart = {
|
|
475
|
+
__typename: 'FairuMultipartPart';
|
|
476
|
+
/** Part number (1-indexed) */
|
|
477
|
+
partNumber: Scalars['Int']['output'];
|
|
478
|
+
/** Presigned URL for PUT request */
|
|
479
|
+
uploadUrl: Scalars['String']['output'];
|
|
480
|
+
};
|
|
481
|
+
/** Input type for multipart upload part completion */
|
|
482
|
+
export type FairuMultipartPartInput = {
|
|
483
|
+
/** ETag returned by S3 after uploading the part */
|
|
484
|
+
etag: Scalars['String']['input'];
|
|
485
|
+
/** Part number (1-indexed) */
|
|
486
|
+
partNumber: Scalars['Int']['input'];
|
|
487
|
+
};
|
|
488
|
+
/** Response from initializing a multipart upload */
|
|
489
|
+
export type FairuMultipartUploadInit = {
|
|
490
|
+
__typename: 'FairuMultipartUploadInit';
|
|
491
|
+
/** File ID */
|
|
492
|
+
id: Scalars['ID']['output'];
|
|
493
|
+
/** Size of each part in bytes (only if fileSize was provided) */
|
|
494
|
+
partSize: Maybe<Scalars['Int']['output']>;
|
|
495
|
+
/** Presigned URLs for uploading each part (only if fileSize was provided) */
|
|
496
|
+
parts: Maybe<Array<FairuMultipartPart>>;
|
|
497
|
+
/** URL to call after upload completion to sync metadata */
|
|
498
|
+
sync_url: Scalars['String']['output'];
|
|
499
|
+
/** Total number of parts (only if fileSize was provided) */
|
|
500
|
+
totalParts: Maybe<Scalars['Int']['output']>;
|
|
501
|
+
/** S3 Upload ID - required for completing the upload */
|
|
502
|
+
uploadId: Scalars['String']['output'];
|
|
503
|
+
};
|
|
504
|
+
export type FairuPdfSignatureRequestStatus = 'CANCELED' | 'CREATED' | 'DONE' | 'FAILED' | 'STARTED';
|
|
505
|
+
export type FairuRakuCredential = {
|
|
506
|
+
__typename: 'FairuRakuCredential';
|
|
507
|
+
access_key_id: Scalars['String']['output'];
|
|
508
|
+
active: Scalars['Boolean']['output'];
|
|
509
|
+
bucket: Maybe<Scalars['String']['output']>;
|
|
510
|
+
created_at: Scalars['DateTime']['output'];
|
|
511
|
+
expires_at: Maybe<Scalars['DateTime']['output']>;
|
|
512
|
+
id: Scalars['ID']['output'];
|
|
513
|
+
last_used_at: Maybe<Scalars['DateTime']['output']>;
|
|
514
|
+
name: Maybe<Scalars['String']['output']>;
|
|
515
|
+
permissions: Array<Scalars['String']['output']>;
|
|
516
|
+
};
|
|
517
|
+
export type FairuRakuCredentialWithSecret = {
|
|
518
|
+
__typename: 'FairuRakuCredentialWithSecret';
|
|
519
|
+
access_key_id: Scalars['String']['output'];
|
|
520
|
+
bucket: Maybe<Scalars['String']['output']>;
|
|
521
|
+
id: Scalars['ID']['output'];
|
|
522
|
+
name: Maybe<Scalars['String']['output']>;
|
|
523
|
+
permissions: Array<Scalars['String']['output']>;
|
|
524
|
+
secret_access_key: Scalars['String']['output'];
|
|
525
|
+
};
|
|
526
|
+
export type FairuRole = {
|
|
527
|
+
__typename: 'FairuRole';
|
|
528
|
+
created_at: Maybe<Scalars['DateTime']['output']>;
|
|
529
|
+
id: Scalars['ID']['output'];
|
|
530
|
+
name: Maybe<Scalars['String']['output']>;
|
|
531
|
+
permissions: Maybe<Array<Scalars['String']['output']>>;
|
|
532
|
+
updated_at: Maybe<Scalars['DateTime']['output']>;
|
|
533
|
+
};
|
|
534
|
+
export type FairuRoleDto = {
|
|
535
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
536
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
537
|
+
permissions?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
538
|
+
};
|
|
539
|
+
export type FairuRoleList = {
|
|
540
|
+
__typename: 'FairuRoleList';
|
|
541
|
+
data: Maybe<Array<FairuRole>>;
|
|
542
|
+
paginatorInfo: Maybe<DefaultPaginator>;
|
|
543
|
+
};
|
|
544
|
+
export type FairuSortingDirection = 'ASC' | 'DESC';
|
|
545
|
+
export type FairuTenant = {
|
|
546
|
+
__typename: 'FairuTenant';
|
|
547
|
+
ai_language: Maybe<Scalars['String']['output']>;
|
|
548
|
+
avatar: Maybe<FairuAsset>;
|
|
549
|
+
/** Block files with error - if true, files with errors will not have a URL (default: true) */
|
|
550
|
+
block_files_with_error: Maybe<Scalars['Boolean']['output']>;
|
|
551
|
+
created_at: Maybe<Scalars['DateTime']['output']>;
|
|
552
|
+
/** Custom domain */
|
|
553
|
+
custom_domain: Maybe<Scalars['String']['output']>;
|
|
554
|
+
/** Status of the custom domain creatoin process */
|
|
555
|
+
custom_domain_status: Maybe<FairuCustomDomainStatus>;
|
|
556
|
+
/** If this flag is true we have identified a valid CNAME entry */
|
|
557
|
+
custom_domain_verified: Maybe<Scalars['Boolean']['output']>;
|
|
558
|
+
/** File policy entry - should at least one copyright entry be enforced */
|
|
559
|
+
force_filce_copyright: Maybe<Scalars['Boolean']['output']>;
|
|
560
|
+
/** File policy entry - should alternative text for files be enforced */
|
|
561
|
+
force_file_alt: Maybe<Scalars['Boolean']['output']>;
|
|
562
|
+
/** File policy entry - should a caption text be enforced */
|
|
563
|
+
force_file_caption: Maybe<Scalars['Boolean']['output']>;
|
|
564
|
+
/** File policy entry - should a description be enforced */
|
|
565
|
+
force_file_description: Maybe<Scalars['Boolean']['output']>;
|
|
566
|
+
/** File policy active? */
|
|
567
|
+
force_file_policy: Maybe<Scalars['Boolean']['output']>;
|
|
568
|
+
/** Will license use enforced - if this flag is set to true - files without a valid license will be blocked */
|
|
569
|
+
force_license: Maybe<Scalars['Boolean']['output']>;
|
|
570
|
+
id: Scalars['ID']['output'];
|
|
571
|
+
name: Maybe<Scalars['String']['output']>;
|
|
572
|
+
trial_ends_at: Maybe<Scalars['DateTime']['output']>;
|
|
573
|
+
updated_at: Maybe<Scalars['DateTime']['output']>;
|
|
574
|
+
use_ai: Maybe<Scalars['Boolean']['output']>;
|
|
575
|
+
use_ai_onupload: Maybe<Scalars['Boolean']['output']>;
|
|
576
|
+
webhook_authorization: Maybe<Scalars['String']['output']>;
|
|
577
|
+
webhook_type: Maybe<FairuWebhookType>;
|
|
578
|
+
webhook_url: Maybe<Scalars['String']['output']>;
|
|
579
|
+
};
|
|
580
|
+
/**
|
|
581
|
+
* Result of creating a new tenant via the createFairuTenant mutation.
|
|
582
|
+
*
|
|
583
|
+
* This type contains all the information needed to start using the new tenant,
|
|
584
|
+
* including a full-access API key that is only shown once.
|
|
585
|
+
*/
|
|
586
|
+
export type FairuTenantCreationResult = {
|
|
587
|
+
__typename: 'FairuTenantCreationResult';
|
|
588
|
+
/**
|
|
589
|
+
* Full-access API key for the new tenant.
|
|
590
|
+
*
|
|
591
|
+
* IMPORTANT: This key is only shown once! Store it securely.
|
|
592
|
+
* The key has all permissions and can be used immediately to:
|
|
593
|
+
* - Upload and manage files
|
|
594
|
+
* - Create folders
|
|
595
|
+
* - Manage copyrights and licenses
|
|
596
|
+
* - Configure tenant settings
|
|
597
|
+
* - And more...
|
|
598
|
+
*
|
|
599
|
+
* If lost, generate a new key via the tenant settings or API.
|
|
600
|
+
*/
|
|
601
|
+
api_key: Scalars['String']['output'];
|
|
602
|
+
/** ISO 8601 timestamp when the tenant was created */
|
|
603
|
+
created_at: Scalars['String']['output'];
|
|
604
|
+
/** Unique identifier for the new tenant (UUID) */
|
|
605
|
+
id: Scalars['ID']['output'];
|
|
606
|
+
/** Name of the tenant */
|
|
607
|
+
name: Scalars['String']['output'];
|
|
608
|
+
};
|
|
609
|
+
export type FairuUploadLink = {
|
|
610
|
+
__typename: 'FairuUploadLink';
|
|
611
|
+
/** This will be the ID for the File after uploading */
|
|
612
|
+
id: Scalars['ID']['output'];
|
|
613
|
+
/** Mime type is returned to help you identify the file type */
|
|
614
|
+
mime: Maybe<Scalars['String']['output']>;
|
|
615
|
+
/** Call this url via GET-Request after uploading. This step is required. */
|
|
616
|
+
sync_url: Maybe<Scalars['String']['output']>;
|
|
617
|
+
/** Use this url to upload the file */
|
|
618
|
+
upload_url: Scalars['String']['output'];
|
|
619
|
+
};
|
|
620
|
+
export type FairuUploadShareLinkExpiration = 'NEVER' | 'ONE_DAY' | 'ONE_HOUR' | 'SEVEN_DAYS' | 'SIX_HOURS' | 'THIRTY_DAYS';
|
|
621
|
+
export type FairuUploadType = 'DOWNLOAD' | 'STANDARD';
|
|
622
|
+
export type FairuUser = {
|
|
623
|
+
__typename: 'FairuUser';
|
|
624
|
+
email: Maybe<Scalars['String']['output']>;
|
|
625
|
+
id: Scalars['ID']['output'];
|
|
626
|
+
name: Maybe<Scalars['String']['output']>;
|
|
627
|
+
owner: Maybe<Scalars['Boolean']['output']>;
|
|
628
|
+
status: Maybe<FairuUserStatus>;
|
|
629
|
+
};
|
|
630
|
+
export type FairuUserList = {
|
|
631
|
+
__typename: 'FairuUserList';
|
|
632
|
+
data: Maybe<Array<FairuUser>>;
|
|
633
|
+
paginatorInfo: Maybe<DefaultPaginator>;
|
|
634
|
+
};
|
|
635
|
+
export type FairuUserStatus = 'ACCEPTED' | 'CREATED' | 'DECLINED' | 'PENDING';
|
|
636
|
+
export type FairuWebhookType = 'BASIC' | 'BEARER' | 'NONE';
|
|
637
|
+
export type FairuWorkflow = {
|
|
638
|
+
__typename: 'FairuWorkflow';
|
|
639
|
+
active: Maybe<Scalars['Boolean']['output']>;
|
|
640
|
+
created_at: Maybe<Scalars['DateTime']['output']>;
|
|
641
|
+
has_error: Maybe<Scalars['Boolean']['output']>;
|
|
642
|
+
id: Scalars['ID']['output'];
|
|
643
|
+
last_at: Maybe<Scalars['DateTime']['output']>;
|
|
644
|
+
name: Maybe<Scalars['String']['output']>;
|
|
645
|
+
status: FairuWorkflowStatus;
|
|
646
|
+
type: FairuWorkflowType;
|
|
647
|
+
updated_at: Maybe<Scalars['DateTime']['output']>;
|
|
648
|
+
};
|
|
649
|
+
export type FairuWorkflowDto = {
|
|
650
|
+
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
651
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
652
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
653
|
+
structure?: InputMaybe<Scalars['WorkflowStructure']['input']>;
|
|
654
|
+
type?: InputMaybe<FairuWorkflowType>;
|
|
655
|
+
};
|
|
656
|
+
export type FairuWorkflowList = {
|
|
657
|
+
__typename: 'FairuWorkflowList';
|
|
658
|
+
data: Maybe<Array<FairuWorkflow>>;
|
|
659
|
+
paginatorInfo: Maybe<DefaultPaginator>;
|
|
660
|
+
};
|
|
661
|
+
export type FairuWorkflowStatus = 'FAILED' | 'NONE' | 'PROCESSING' | 'SUCCESS' | 'TRIGGERED';
|
|
662
|
+
export type FairuWorkflowType = 'COPYRIGHT_REPLACING' | 'COPYRIGHT_REPLACING_SEARCH' | 'COPYRIGHT_SPLITTING' | 'COPYRIGHT_SPLITTING_SEARCH';
|
|
663
|
+
export type Mutation = {
|
|
664
|
+
__typename: 'Mutation';
|
|
665
|
+
/** Abort a multipart upload and clean up */
|
|
666
|
+
abortFairuMultipartUpload: Scalars['Boolean']['output'];
|
|
667
|
+
/** Block a file */
|
|
668
|
+
blockFairuFile: Maybe<Scalars['Boolean']['output']>;
|
|
669
|
+
/** Cancel a pdf signatur request */
|
|
670
|
+
cancelFairuPdfSignatureRequest: Maybe<Scalars['Boolean']['output']>;
|
|
671
|
+
/** Complete a multipart upload after all parts have been uploaded */
|
|
672
|
+
completeFairuMultipartUpload: FairuUploadLink;
|
|
673
|
+
/** Create a copyright */
|
|
674
|
+
createFairuCopyright: Maybe<FairuCopyright>;
|
|
675
|
+
/** Create a sync disk entry */
|
|
676
|
+
createFairuDisk: Maybe<FairuDisk>;
|
|
677
|
+
/** Create a dcma complain */
|
|
678
|
+
createFairuDmcaComplain: Maybe<Scalars['Boolean']['output']>;
|
|
679
|
+
/** Generate HMAC access signatures for private files */
|
|
680
|
+
createFairuFileAccessSignature: Array<FairuFileAccessSignature>;
|
|
681
|
+
/** Create a folder */
|
|
682
|
+
createFairuFolder: Maybe<FairuFolder>;
|
|
683
|
+
/** Create a ftp connectoin to the folder */
|
|
684
|
+
createFairuFolderFTP: Maybe<FairuDisk>;
|
|
685
|
+
/** Create an upload share link for a folder - anyone with this link can upload files to the folder */
|
|
686
|
+
createFairuFolderUploadShareLink: Maybe<FairuFolderUploadShareLink>;
|
|
687
|
+
/** Create a gallery */
|
|
688
|
+
createFairuGallery: Maybe<FairuGallery>;
|
|
689
|
+
/** Create shareable gallery link */
|
|
690
|
+
createFairuGalleryShareLink: Maybe<Scalars['String']['output']>;
|
|
691
|
+
/** Create a license */
|
|
692
|
+
createFairuLicense: Maybe<FairuLicense>;
|
|
693
|
+
/** Create a pdf signatur request */
|
|
694
|
+
createFairuPdfSignatureRequest: Maybe<FairuFilePdfSignatureRequest>;
|
|
695
|
+
/** Create Raku credentials (S3-compatible storage) for the tenant */
|
|
696
|
+
createFairuRakuCredential: FairuRakuCredentialWithSecret;
|
|
697
|
+
/** Create a role */
|
|
698
|
+
createFairuRole: Maybe<FairuRole>;
|
|
699
|
+
/**
|
|
700
|
+
* Create a new tenant (workspace) via API.
|
|
701
|
+
*
|
|
702
|
+
* This mutation is designed for programmatic tenant provisioning, typically used by:
|
|
703
|
+
* - Partner integrations that need to create workspaces for their customers
|
|
704
|
+
* - Automated onboarding systems
|
|
705
|
+
* - White-label deployments
|
|
706
|
+
*
|
|
707
|
+
* ## Authentication
|
|
708
|
+
*
|
|
709
|
+
* Requires a special "provisioning token" with the `tenant::create` ability.
|
|
710
|
+
* This is a global permission (not tied to any existing tenant).
|
|
711
|
+
*
|
|
712
|
+
* To obtain a provisioning token, contact your administrator or use the
|
|
713
|
+
* admin panel to generate one for your user account.
|
|
714
|
+
*
|
|
715
|
+
* ## What happens on creation
|
|
716
|
+
*
|
|
717
|
+
* 1. A new tenant (workspace) is created with the given name
|
|
718
|
+
* 2. The authenticated user becomes the owner with full admin rights
|
|
719
|
+
* 3. A full-access API key is generated for the new tenant
|
|
720
|
+
* 4. The API key is returned in the response (store it securely!)
|
|
721
|
+
*
|
|
722
|
+
* ## Response
|
|
723
|
+
*
|
|
724
|
+
* The mutation returns:
|
|
725
|
+
* - `id`: The unique tenant ID (UUID)
|
|
726
|
+
* - `name`: The tenant name
|
|
727
|
+
* - `api_key`: A full-access API key for the new tenant (shown only once!)
|
|
728
|
+
* - `created_at`: ISO 8601 timestamp
|
|
729
|
+
*
|
|
730
|
+
* ## Example
|
|
731
|
+
*
|
|
732
|
+
* ```graphql
|
|
733
|
+
* mutation {
|
|
734
|
+
* createFairuTenant(name: "My New Workspace") {
|
|
735
|
+
* id
|
|
736
|
+
* name
|
|
737
|
+
* api_key
|
|
738
|
+
* created_at
|
|
739
|
+
* }
|
|
740
|
+
* }
|
|
741
|
+
* ```
|
|
742
|
+
*
|
|
743
|
+
* ## Important
|
|
744
|
+
*
|
|
745
|
+
* The `api_key` is only shown once in this response. Store it securely!
|
|
746
|
+
* If lost, you'll need to generate a new one via the tenant settings.
|
|
747
|
+
*/
|
|
748
|
+
createFairuTenant: FairuTenantCreationResult;
|
|
749
|
+
createFairuUploadLink: Maybe<FairuUploadLink>;
|
|
750
|
+
/** Create a workflow */
|
|
751
|
+
createFairuWorkflow: Maybe<FairuWorkflow>;
|
|
752
|
+
/** Delete a copyright entry */
|
|
753
|
+
deleteFairuCopyright: Maybe<Scalars['Boolean']['output']>;
|
|
754
|
+
/** Delete a disk */
|
|
755
|
+
deleteFairuDisk: Maybe<Scalars['Boolean']['output']>;
|
|
756
|
+
/** Delete a single file */
|
|
757
|
+
deleteFairuFile: Maybe<Scalars['Boolean']['output']>;
|
|
758
|
+
/** Delete a single folder */
|
|
759
|
+
deleteFairuFolder: Maybe<Scalars['Boolean']['output']>;
|
|
760
|
+
/** Delete a gallery */
|
|
761
|
+
deleteFairuGallery: Maybe<Scalars['Boolean']['output']>;
|
|
762
|
+
/** Delete a license entry */
|
|
763
|
+
deleteFairuLicense: Maybe<Scalars['Boolean']['output']>;
|
|
764
|
+
/** Delete Raku credentials permanently */
|
|
765
|
+
deleteFairuRakuCredential: Scalars['Boolean']['output'];
|
|
766
|
+
/** Delete a role */
|
|
767
|
+
deleteFairuRole: Maybe<Scalars['Boolean']['output']>;
|
|
768
|
+
/** Delete an user from the tenant - user will not be deleted by itself */
|
|
769
|
+
deleteFairuUser: Maybe<Scalars['Boolean']['output']>;
|
|
770
|
+
/** Delete a workflow */
|
|
771
|
+
deleteFairuWorkflow: Maybe<Scalars['Boolean']['output']>;
|
|
772
|
+
/** Duplicate a file */
|
|
773
|
+
duplicateFairuFile: Maybe<Scalars['Boolean']['output']>;
|
|
774
|
+
/**
|
|
775
|
+
* Get the proxy URL for a file by its path (no authentication required).
|
|
776
|
+
*
|
|
777
|
+
* Returns null if:
|
|
778
|
+
* - The tenant or file doesn't exist
|
|
779
|
+
* - The file is private
|
|
780
|
+
* - The file has errors (if block_files_with_error is enabled)
|
|
781
|
+
*
|
|
782
|
+
* ## Example
|
|
783
|
+
*
|
|
784
|
+
* ```graphql
|
|
785
|
+
* mutation {
|
|
786
|
+
* fairuFileUrlByPath(
|
|
787
|
+
* tenant: "550e8400-e29b-41d4-a716-446655440000"
|
|
788
|
+
* path: "/marketing/hero.jpg"
|
|
789
|
+
* width: 800
|
|
790
|
+
* quality: 80
|
|
791
|
+
* )
|
|
792
|
+
* }
|
|
793
|
+
* ```
|
|
794
|
+
*/
|
|
795
|
+
fairuFileUrlByPath: Maybe<Scalars['String']['output']>;
|
|
796
|
+
/** Get a presigned URL for uploading a specific part (for S3 Gateway use) */
|
|
797
|
+
getFairuMultipartPartUrl: FairuMultipartPart;
|
|
798
|
+
/** Initialize a multipart upload for large files (>5MB) */
|
|
799
|
+
initFairuMultipartUpload: FairuMultipartUploadInit;
|
|
800
|
+
/** Invite an user to the tenant */
|
|
801
|
+
inviteFairuUser: Maybe<Scalars['Boolean']['output']>;
|
|
802
|
+
/** Move a file */
|
|
803
|
+
moveFairuFile: Maybe<Scalars['Boolean']['output']>;
|
|
804
|
+
/** Move a folder */
|
|
805
|
+
moveFairuFolder: Maybe<Scalars['Boolean']['output']>;
|
|
806
|
+
/** Trigger file download process */
|
|
807
|
+
redownloadFairuFile: Maybe<Scalars['Boolean']['output']>;
|
|
808
|
+
/** Rename a file */
|
|
809
|
+
renameFairuFile: Maybe<FairuAsset>;
|
|
810
|
+
/** Rename a folder */
|
|
811
|
+
renameFairuFolder: Maybe<FairuFolder>;
|
|
812
|
+
/** Create an upload link to replace an existing file's content in S3 */
|
|
813
|
+
replaceFairuFile: Maybe<FairuUploadLink>;
|
|
814
|
+
/** Revoke Raku credentials (deactivate but keep for audit) */
|
|
815
|
+
revokeFairuRakuCredential: Scalars['Boolean']['output'];
|
|
816
|
+
/** Start a pdf signatur request */
|
|
817
|
+
startFairuPdfSignatureRequest: Maybe<FairuFilePdfSignatureRequest>;
|
|
818
|
+
/** Remove block a file */
|
|
819
|
+
unblockFairuFile: Maybe<Scalars['Boolean']['output']>;
|
|
820
|
+
/** Update a copyright */
|
|
821
|
+
updateFairuCopyright: Maybe<FairuCopyright>;
|
|
822
|
+
/** Update a sync disk and it's meta data */
|
|
823
|
+
updateFairuDisk: Maybe<FairuDisk>;
|
|
824
|
+
/** Create a dcma complain */
|
|
825
|
+
updateFairuDmcaComplain: Maybe<FairuDmca>;
|
|
826
|
+
/** Update meta data for a file */
|
|
827
|
+
updateFairuFile: Maybe<FairuAsset>;
|
|
828
|
+
/** Update a folder and it's meta data */
|
|
829
|
+
updateFairuFolder: Maybe<FairuFolder>;
|
|
830
|
+
/** Update a gallery and it's meta data */
|
|
831
|
+
updateFairuGallery: Maybe<FairuGallery>;
|
|
832
|
+
/** Update a license */
|
|
833
|
+
updateFairuLicense: Maybe<FairuLicense>;
|
|
834
|
+
/** Update a role */
|
|
835
|
+
updateFairuRole: Maybe<FairuRole>;
|
|
836
|
+
/**
|
|
837
|
+
* Update the current tenant's settings.
|
|
838
|
+
*
|
|
839
|
+
* Requires the `tenant::update` permission on the current tenant.
|
|
840
|
+
* All fields are optional - only provided fields will be updated.
|
|
841
|
+
*
|
|
842
|
+
* ## Example
|
|
843
|
+
*
|
|
844
|
+
* ```graphql
|
|
845
|
+
* mutation {
|
|
846
|
+
* updateFairuTenant(
|
|
847
|
+
* name: "My Renamed Workspace"
|
|
848
|
+
* use_ai: true
|
|
849
|
+
* force_file_alt: true
|
|
850
|
+
* ) {
|
|
851
|
+
* id
|
|
852
|
+
* name
|
|
853
|
+
* use_ai
|
|
854
|
+
* }
|
|
855
|
+
* }
|
|
856
|
+
* ```
|
|
857
|
+
*/
|
|
858
|
+
updateFairuTenant: Maybe<FairuTenant>;
|
|
859
|
+
/** Update a workflow and it's meta data */
|
|
860
|
+
updateFairuWorkflow: Maybe<FairuWorkflow>;
|
|
861
|
+
};
|
|
862
|
+
export type MutationAbortFairuMultipartUploadArgs = {
|
|
863
|
+
fileId: Scalars['ID']['input'];
|
|
864
|
+
uploadId: Scalars['String']['input'];
|
|
865
|
+
};
|
|
866
|
+
export type MutationBlockFairuFileArgs = {
|
|
867
|
+
id: Scalars['ID']['input'];
|
|
868
|
+
};
|
|
869
|
+
export type MutationCancelFairuPdfSignatureRequestArgs = {
|
|
870
|
+
id: Scalars['ID']['input'];
|
|
871
|
+
};
|
|
872
|
+
export type MutationCompleteFairuMultipartUploadArgs = {
|
|
873
|
+
fileId: Scalars['ID']['input'];
|
|
874
|
+
parts: Array<FairuMultipartPartInput>;
|
|
875
|
+
uploadId: Scalars['String']['input'];
|
|
876
|
+
};
|
|
877
|
+
export type MutationCreateFairuCopyrightArgs = {
|
|
878
|
+
data: FairuCopyrightDto;
|
|
879
|
+
};
|
|
880
|
+
export type MutationCreateFairuDiskArgs = {
|
|
881
|
+
data: FairuDiskDto;
|
|
882
|
+
};
|
|
883
|
+
export type MutationCreateFairuDmcaComplainArgs = {
|
|
884
|
+
data: FairuDmcaComplainDto;
|
|
885
|
+
};
|
|
886
|
+
export type MutationCreateFairuFileAccessSignatureArgs = {
|
|
887
|
+
ids: Array<Scalars['ID']['input']>;
|
|
888
|
+
valid_for_minutes: InputMaybe<Scalars['Int']['input']>;
|
|
889
|
+
};
|
|
890
|
+
export type MutationCreateFairuFolderArgs = {
|
|
891
|
+
data: FairuFolderDto;
|
|
892
|
+
};
|
|
893
|
+
export type MutationCreateFairuFolderFtpArgs = {
|
|
894
|
+
id: Scalars['ID']['input'];
|
|
895
|
+
};
|
|
896
|
+
export type MutationCreateFairuFolderUploadShareLinkArgs = {
|
|
897
|
+
expires_in: InputMaybe<FairuUploadShareLinkExpiration>;
|
|
898
|
+
id: Scalars['ID']['input'];
|
|
899
|
+
name: InputMaybe<Scalars['String']['input']>;
|
|
900
|
+
};
|
|
901
|
+
export type MutationCreateFairuGalleryArgs = {
|
|
902
|
+
data: FairuGalleryDto;
|
|
903
|
+
};
|
|
904
|
+
export type MutationCreateFairuGalleryShareLinkArgs = {
|
|
905
|
+
id: Scalars['ID']['input'];
|
|
906
|
+
};
|
|
907
|
+
export type MutationCreateFairuLicenseArgs = {
|
|
908
|
+
data: FairuLicenseDto;
|
|
909
|
+
};
|
|
910
|
+
export type MutationCreateFairuPdfSignatureRequestArgs = {
|
|
911
|
+
data: FairuFilePdfSignatureRequestDto;
|
|
912
|
+
};
|
|
913
|
+
export type MutationCreateFairuRakuCredentialArgs = {
|
|
914
|
+
bucket: InputMaybe<Scalars['String']['input']>;
|
|
915
|
+
name: InputMaybe<Scalars['String']['input']>;
|
|
916
|
+
permissions: Array<Scalars['String']['input']>;
|
|
917
|
+
};
|
|
918
|
+
export type MutationCreateFairuRoleArgs = {
|
|
919
|
+
data: FairuRoleDto;
|
|
920
|
+
};
|
|
921
|
+
export type MutationCreateFairuTenantArgs = {
|
|
922
|
+
name: Scalars['String']['input'];
|
|
923
|
+
};
|
|
924
|
+
export type MutationCreateFairuUploadLinkArgs = {
|
|
925
|
+
alt: InputMaybe<Scalars['String']['input']>;
|
|
926
|
+
caption: InputMaybe<Scalars['String']['input']>;
|
|
927
|
+
copyright: InputMaybe<Scalars['String']['input']>;
|
|
928
|
+
description: InputMaybe<Scalars['String']['input']>;
|
|
929
|
+
download_url: InputMaybe<Scalars['String']['input']>;
|
|
930
|
+
fileSize: InputMaybe<Scalars['Int']['input']>;
|
|
931
|
+
filename: Scalars['String']['input'];
|
|
932
|
+
focal_point: InputMaybe<Scalars['String']['input']>;
|
|
933
|
+
folder: InputMaybe<Scalars['ID']['input']>;
|
|
934
|
+
id: InputMaybe<Scalars['ID']['input']>;
|
|
935
|
+
type: InputMaybe<FairuUploadType>;
|
|
936
|
+
};
|
|
937
|
+
export type MutationCreateFairuWorkflowArgs = {
|
|
938
|
+
data: FairuWorkflowDto;
|
|
939
|
+
};
|
|
940
|
+
export type MutationDeleteFairuCopyrightArgs = {
|
|
941
|
+
deleteAssets: InputMaybe<Scalars['Boolean']['input']>;
|
|
942
|
+
deleteLicenses: InputMaybe<Scalars['Boolean']['input']>;
|
|
943
|
+
id: Scalars['ID']['input'];
|
|
944
|
+
};
|
|
945
|
+
export type MutationDeleteFairuDiskArgs = {
|
|
946
|
+
id: Scalars['ID']['input'];
|
|
947
|
+
};
|
|
948
|
+
export type MutationDeleteFairuFileArgs = {
|
|
949
|
+
id: Scalars['ID']['input'];
|
|
950
|
+
};
|
|
951
|
+
export type MutationDeleteFairuFolderArgs = {
|
|
952
|
+
id: Scalars['ID']['input'];
|
|
953
|
+
};
|
|
954
|
+
export type MutationDeleteFairuGalleryArgs = {
|
|
955
|
+
id: Scalars['ID']['input'];
|
|
956
|
+
};
|
|
957
|
+
export type MutationDeleteFairuLicenseArgs = {
|
|
958
|
+
deleteAssets: InputMaybe<Scalars['Boolean']['input']>;
|
|
959
|
+
id: Scalars['ID']['input'];
|
|
960
|
+
};
|
|
961
|
+
export type MutationDeleteFairuRakuCredentialArgs = {
|
|
962
|
+
id: Scalars['ID']['input'];
|
|
963
|
+
};
|
|
964
|
+
export type MutationDeleteFairuRoleArgs = {
|
|
965
|
+
id: Scalars['ID']['input'];
|
|
966
|
+
};
|
|
967
|
+
export type MutationDeleteFairuUserArgs = {
|
|
968
|
+
id: Scalars['ID']['input'];
|
|
969
|
+
};
|
|
970
|
+
export type MutationDeleteFairuWorkflowArgs = {
|
|
971
|
+
id: Scalars['ID']['input'];
|
|
972
|
+
};
|
|
973
|
+
export type MutationDuplicateFairuFileArgs = {
|
|
974
|
+
id: Scalars['ID']['input'];
|
|
975
|
+
parent: InputMaybe<Scalars['ID']['input']>;
|
|
976
|
+
};
|
|
977
|
+
export type MutationFairuFileUrlByPathArgs = {
|
|
978
|
+
focal_point: InputMaybe<Scalars['String']['input']>;
|
|
979
|
+
height: InputMaybe<Scalars['Int']['input']>;
|
|
980
|
+
path: Scalars['String']['input'];
|
|
981
|
+
quality: InputMaybe<Scalars['Int']['input']>;
|
|
982
|
+
tenant: Scalars['ID']['input'];
|
|
983
|
+
version: InputMaybe<FairuAssetVideoVersions>;
|
|
984
|
+
width: InputMaybe<Scalars['Int']['input']>;
|
|
985
|
+
withStoredFocalPoint: InputMaybe<Scalars['Boolean']['input']>;
|
|
986
|
+
};
|
|
987
|
+
export type MutationGetFairuMultipartPartUrlArgs = {
|
|
988
|
+
fileId: Scalars['ID']['input'];
|
|
989
|
+
partNumber: Scalars['Int']['input'];
|
|
990
|
+
uploadId: Scalars['String']['input'];
|
|
991
|
+
};
|
|
992
|
+
export type MutationInitFairuMultipartUploadArgs = {
|
|
993
|
+
alt: InputMaybe<Scalars['String']['input']>;
|
|
994
|
+
caption: InputMaybe<Scalars['String']['input']>;
|
|
995
|
+
contentType: InputMaybe<Scalars['String']['input']>;
|
|
996
|
+
copyright: InputMaybe<Scalars['String']['input']>;
|
|
997
|
+
description: InputMaybe<Scalars['String']['input']>;
|
|
998
|
+
fileSize: InputMaybe<Scalars['Int']['input']>;
|
|
999
|
+
filename: Scalars['String']['input'];
|
|
1000
|
+
folder: InputMaybe<Scalars['ID']['input']>;
|
|
1001
|
+
};
|
|
1002
|
+
export type MutationInviteFairuUserArgs = {
|
|
1003
|
+
email: Scalars['String']['input'];
|
|
1004
|
+
role: Scalars['ID']['input'];
|
|
1005
|
+
};
|
|
1006
|
+
export type MutationMoveFairuFileArgs = {
|
|
1007
|
+
id: Scalars['ID']['input'];
|
|
1008
|
+
parent: InputMaybe<Scalars['ID']['input']>;
|
|
1009
|
+
};
|
|
1010
|
+
export type MutationMoveFairuFolderArgs = {
|
|
1011
|
+
id: Scalars['ID']['input'];
|
|
1012
|
+
parent: InputMaybe<Scalars['ID']['input']>;
|
|
1013
|
+
};
|
|
1014
|
+
export type MutationRedownloadFairuFileArgs = {
|
|
1015
|
+
id: Scalars['ID']['input'];
|
|
1016
|
+
};
|
|
1017
|
+
export type MutationRenameFairuFileArgs = {
|
|
1018
|
+
id: Scalars['ID']['input'];
|
|
1019
|
+
name: Scalars['String']['input'];
|
|
1020
|
+
};
|
|
1021
|
+
export type MutationRenameFairuFolderArgs = {
|
|
1022
|
+
id: Scalars['ID']['input'];
|
|
1023
|
+
name: Scalars['String']['input'];
|
|
1024
|
+
};
|
|
1025
|
+
export type MutationReplaceFairuFileArgs = {
|
|
1026
|
+
id: Scalars['ID']['input'];
|
|
1027
|
+
};
|
|
1028
|
+
export type MutationRevokeFairuRakuCredentialArgs = {
|
|
1029
|
+
id: Scalars['ID']['input'];
|
|
1030
|
+
};
|
|
1031
|
+
export type MutationStartFairuPdfSignatureRequestArgs = {
|
|
1032
|
+
id: Scalars['ID']['input'];
|
|
1033
|
+
};
|
|
1034
|
+
export type MutationUnblockFairuFileArgs = {
|
|
1035
|
+
id: Scalars['ID']['input'];
|
|
1036
|
+
};
|
|
1037
|
+
export type MutationUpdateFairuCopyrightArgs = {
|
|
1038
|
+
data: FairuCopyrightDto;
|
|
1039
|
+
};
|
|
1040
|
+
export type MutationUpdateFairuDiskArgs = {
|
|
1041
|
+
data: FairuDiskDto;
|
|
1042
|
+
};
|
|
1043
|
+
export type MutationUpdateFairuDmcaComplainArgs = {
|
|
1044
|
+
data: FairuDmcaDto;
|
|
1045
|
+
};
|
|
1046
|
+
export type MutationUpdateFairuFileArgs = {
|
|
1047
|
+
data: FairuFileDto;
|
|
1048
|
+
};
|
|
1049
|
+
export type MutationUpdateFairuFolderArgs = {
|
|
1050
|
+
data: FairuFolderDto;
|
|
1051
|
+
};
|
|
1052
|
+
export type MutationUpdateFairuGalleryArgs = {
|
|
1053
|
+
data: FairuGalleryDto;
|
|
1054
|
+
};
|
|
1055
|
+
export type MutationUpdateFairuLicenseArgs = {
|
|
1056
|
+
data: FairuLicenseDto;
|
|
1057
|
+
};
|
|
1058
|
+
export type MutationUpdateFairuRoleArgs = {
|
|
1059
|
+
data: FairuRoleDto;
|
|
1060
|
+
};
|
|
1061
|
+
export type MutationUpdateFairuTenantArgs = {
|
|
1062
|
+
ai_blur_faces: InputMaybe<Scalars['Boolean']['input']>;
|
|
1063
|
+
ai_language: InputMaybe<Scalars['String']['input']>;
|
|
1064
|
+
ai_nsfw: InputMaybe<Scalars['Boolean']['input']>;
|
|
1065
|
+
avatar_id: InputMaybe<Scalars['ID']['input']>;
|
|
1066
|
+
block_files_with_error: InputMaybe<Scalars['Boolean']['input']>;
|
|
1067
|
+
custom_domain: InputMaybe<Scalars['String']['input']>;
|
|
1068
|
+
force_file_alt: InputMaybe<Scalars['Boolean']['input']>;
|
|
1069
|
+
force_file_caption: InputMaybe<Scalars['Boolean']['input']>;
|
|
1070
|
+
force_file_copyright: InputMaybe<Scalars['Boolean']['input']>;
|
|
1071
|
+
force_file_description: InputMaybe<Scalars['Boolean']['input']>;
|
|
1072
|
+
force_file_policy: InputMaybe<Scalars['Boolean']['input']>;
|
|
1073
|
+
force_license: InputMaybe<Scalars['Boolean']['input']>;
|
|
1074
|
+
hide_dotfiles: InputMaybe<Scalars['Boolean']['input']>;
|
|
1075
|
+
name: InputMaybe<Scalars['String']['input']>;
|
|
1076
|
+
use_ai: InputMaybe<Scalars['Boolean']['input']>;
|
|
1077
|
+
use_ai_onupload: InputMaybe<Scalars['Boolean']['input']>;
|
|
1078
|
+
};
|
|
1079
|
+
export type MutationUpdateFairuWorkflowArgs = {
|
|
1080
|
+
data: FairuWorkflowDto;
|
|
1081
|
+
};
|
|
1082
|
+
/** Allows ordering a list of records. */
|
|
1083
|
+
export type OrderByClause = {
|
|
1084
|
+
/** The column that is used for ordering. */
|
|
1085
|
+
column: Scalars['String']['input'];
|
|
1086
|
+
/** The direction that is used for ordering. */
|
|
1087
|
+
order: SortOrder;
|
|
1088
|
+
};
|
|
1089
|
+
/** Aggregate functions when ordering by a relation without specifying a column. */
|
|
1090
|
+
export type OrderByRelationAggregateFunction =
|
|
1091
|
+
/** Amount of items. */
|
|
1092
|
+
'COUNT';
|
|
1093
|
+
/** Aggregate functions when ordering by a relation that may specify a column. */
|
|
1094
|
+
export type OrderByRelationWithColumnAggregateFunction =
|
|
1095
|
+
/** Average. */
|
|
1096
|
+
'AVG'
|
|
1097
|
+
/** Amount of items. */
|
|
1098
|
+
| 'COUNT'
|
|
1099
|
+
/** Maximum. */
|
|
1100
|
+
| 'MAX'
|
|
1101
|
+
/** Minimum. */
|
|
1102
|
+
| 'MIN'
|
|
1103
|
+
/** Sum. */
|
|
1104
|
+
| 'SUM';
|
|
1105
|
+
export type Query = {
|
|
1106
|
+
__typename: 'Query';
|
|
1107
|
+
/** Get all files AND empty folders with full path, cursor-paginated for S3-compatible listing (max 5000 entries per page) */
|
|
1108
|
+
fairuAllFilesFlat: FairuAllFilesFlatResult;
|
|
1109
|
+
/** Get a single copyright entry in the tenant */
|
|
1110
|
+
fairuCopyright: Maybe<FairuCopyright>;
|
|
1111
|
+
/** Get a list of copyrights for the tenant */
|
|
1112
|
+
fairuCopyrights: Maybe<FairuCopyrightList>;
|
|
1113
|
+
/** Get a single sync disk configuration */
|
|
1114
|
+
fairuDisk: Maybe<FairuDisk>;
|
|
1115
|
+
/** Get a single sync disk status */
|
|
1116
|
+
fairuDiskStatus: Maybe<FairuDiskStatus>;
|
|
1117
|
+
/** Get a list of sync configuration for the tenant */
|
|
1118
|
+
fairuDisks: Maybe<FairuDiskList>;
|
|
1119
|
+
/** Get a single dmca report */
|
|
1120
|
+
fairuDmca: Maybe<FairuDmca>;
|
|
1121
|
+
/** Get a list of sync configuration for the tenant */
|
|
1122
|
+
fairuDmcas: Maybe<FairuDmcaList>;
|
|
1123
|
+
/** Get a single file data */
|
|
1124
|
+
fairuFile: Maybe<FairuAsset>;
|
|
1125
|
+
/** Get a single file by its path (e.g., '/marketing/2024/hero.jpg') */
|
|
1126
|
+
fairuFileByPath: Maybe<FairuAsset>;
|
|
1127
|
+
/** Get only the files for a folder */
|
|
1128
|
+
fairuFiles: Maybe<FairuAssetList>;
|
|
1129
|
+
/** Calculate total size in bytes for a list of file IDs (max 2000) */
|
|
1130
|
+
fairuFilesTotalSize: Scalars['Int']['output'];
|
|
1131
|
+
/** Get the folder data (files and folder) for a folder */
|
|
1132
|
+
fairuFolder: Maybe<FairuFolderList>;
|
|
1133
|
+
/** Get a single folder by its path (e.g., '/marketing/2024/summer') */
|
|
1134
|
+
fairuFolderByPath: Maybe<FairuFolder>;
|
|
1135
|
+
/** Get list of galleries that should be displayed */
|
|
1136
|
+
fairuGalleries: Maybe<FairuGalleryList>;
|
|
1137
|
+
/** Get single gallery */
|
|
1138
|
+
fairuGallery: Maybe<FairuGallery>;
|
|
1139
|
+
/** Simple health check query */
|
|
1140
|
+
fairuHealthCheck: Maybe<FairuHealthStatus>;
|
|
1141
|
+
/** Get a single license information */
|
|
1142
|
+
fairuLicense: Maybe<FairuLicense>;
|
|
1143
|
+
/** Get a list of licenses defined in the tenant */
|
|
1144
|
+
fairuLicenses: Maybe<FairuLicenseList>;
|
|
1145
|
+
/** Get a list of files */
|
|
1146
|
+
fairuMultipleFiles: Maybe<Array<Maybe<FairuAsset>>>;
|
|
1147
|
+
/** Get a list of Raku credentials (S3-compatible storage) for the tenant */
|
|
1148
|
+
fairuRakuCredentials: Array<FairuRakuCredential>;
|
|
1149
|
+
/** Get a single role information */
|
|
1150
|
+
fairuRole: Maybe<FairuRole>;
|
|
1151
|
+
/** Get a list of roles defined in the tenant */
|
|
1152
|
+
fairuRoles: Maybe<FairuRoleList>;
|
|
1153
|
+
/** Search globally in the tenant */
|
|
1154
|
+
fairuSearch: Maybe<FairuAssetList>;
|
|
1155
|
+
/** Get all supported domains (default proxy + verified custom domains). Cached for 5-15 minutes. */
|
|
1156
|
+
fairuSupportedDomains: Array<Scalars['String']['output']>;
|
|
1157
|
+
/** Get the information of the current tenant */
|
|
1158
|
+
fairuTenant: Maybe<FairuTenant>;
|
|
1159
|
+
/** Get the information of a fairu user withing the tenant */
|
|
1160
|
+
fairuUser: Maybe<FairuUser>;
|
|
1161
|
+
/** Get a list of users attached to the tenant */
|
|
1162
|
+
fairuUsers: Maybe<FairuUserList>;
|
|
1163
|
+
/** Get a single workflow information */
|
|
1164
|
+
fairuWorkflow: Maybe<FairuWorkflow>;
|
|
1165
|
+
/** Get a list of defined workflows of the tenant */
|
|
1166
|
+
fairuWorkflows: Maybe<FairuWorkflowList>;
|
|
1167
|
+
};
|
|
1168
|
+
export type QueryFairuAllFilesFlatArgs = {
|
|
1169
|
+
afterCursor: InputMaybe<Scalars['String']['input']>;
|
|
1170
|
+
limit: InputMaybe<Scalars['Int']['input']>;
|
|
1171
|
+
};
|
|
1172
|
+
export type QueryFairuCopyrightArgs = {
|
|
1173
|
+
id: InputMaybe<Scalars['ID']['input']>;
|
|
1174
|
+
};
|
|
1175
|
+
export type QueryFairuCopyrightsArgs = {
|
|
1176
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
1177
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
1178
|
+
};
|
|
1179
|
+
export type QueryFairuDiskArgs = {
|
|
1180
|
+
id: Scalars['ID']['input'];
|
|
1181
|
+
};
|
|
1182
|
+
export type QueryFairuDiskStatusArgs = {
|
|
1183
|
+
id: Scalars['ID']['input'];
|
|
1184
|
+
};
|
|
1185
|
+
export type QueryFairuDisksArgs = {
|
|
1186
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
1187
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
1188
|
+
};
|
|
1189
|
+
export type QueryFairuDmcaArgs = {
|
|
1190
|
+
id: Scalars['ID']['input'];
|
|
1191
|
+
};
|
|
1192
|
+
export type QueryFairuDmcasArgs = {
|
|
1193
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
1194
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
1195
|
+
};
|
|
1196
|
+
export type QueryFairuFileArgs = {
|
|
1197
|
+
id: Scalars['ID']['input'];
|
|
1198
|
+
};
|
|
1199
|
+
export type QueryFairuFileByPathArgs = {
|
|
1200
|
+
path: Scalars['String']['input'];
|
|
1201
|
+
};
|
|
1202
|
+
export type QueryFairuFilesArgs = {
|
|
1203
|
+
folder: InputMaybe<Scalars['ID']['input']>;
|
|
1204
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
1205
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
1206
|
+
};
|
|
1207
|
+
export type QueryFairuFilesTotalSizeArgs = {
|
|
1208
|
+
ids: Array<Scalars['ID']['input']>;
|
|
1209
|
+
};
|
|
1210
|
+
export type QueryFairuFolderArgs = {
|
|
1211
|
+
folder: InputMaybe<Scalars['ID']['input']>;
|
|
1212
|
+
globalSearch: InputMaybe<Scalars['Boolean']['input']>;
|
|
1213
|
+
onlyFolder: InputMaybe<Scalars['Boolean']['input']>;
|
|
1214
|
+
orderBy: InputMaybe<Scalars['String']['input']>;
|
|
1215
|
+
orderDirection: InputMaybe<FairuSortingDirection>;
|
|
1216
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
1217
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
1218
|
+
search: InputMaybe<Scalars['String']['input']>;
|
|
1219
|
+
};
|
|
1220
|
+
export type QueryFairuFolderByPathArgs = {
|
|
1221
|
+
path: Scalars['String']['input'];
|
|
1222
|
+
};
|
|
1223
|
+
export type QueryFairuGalleriesArgs = {
|
|
1224
|
+
from: InputMaybe<Scalars['String']['input']>;
|
|
1225
|
+
orderBy: InputMaybe<Scalars['String']['input']>;
|
|
1226
|
+
orderDirection: InputMaybe<Scalars['String']['input']>;
|
|
1227
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
1228
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
1229
|
+
search: InputMaybe<Scalars['String']['input']>;
|
|
1230
|
+
tenants: Array<Scalars['ID']['input']>;
|
|
1231
|
+
until: InputMaybe<Scalars['String']['input']>;
|
|
1232
|
+
};
|
|
1233
|
+
export type QueryFairuGalleryArgs = {
|
|
1234
|
+
id: Scalars['ID']['input'];
|
|
1235
|
+
};
|
|
1236
|
+
export type QueryFairuLicenseArgs = {
|
|
1237
|
+
id: InputMaybe<Scalars['ID']['input']>;
|
|
1238
|
+
};
|
|
1239
|
+
export type QueryFairuLicensesArgs = {
|
|
1240
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
1241
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
1242
|
+
};
|
|
1243
|
+
export type QueryFairuMultipleFilesArgs = {
|
|
1244
|
+
ids: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1245
|
+
};
|
|
1246
|
+
export type QueryFairuRoleArgs = {
|
|
1247
|
+
id: Scalars['ID']['input'];
|
|
1248
|
+
};
|
|
1249
|
+
export type QueryFairuRolesArgs = {
|
|
1250
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
1251
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
1252
|
+
};
|
|
1253
|
+
export type QueryFairuSearchArgs = {
|
|
1254
|
+
orderBy: InputMaybe<Scalars['String']['input']>;
|
|
1255
|
+
orderDirection: InputMaybe<FairuSortingDirection>;
|
|
1256
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
1257
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
1258
|
+
search: Scalars['String']['input'];
|
|
1259
|
+
};
|
|
1260
|
+
export type QueryFairuUserArgs = {
|
|
1261
|
+
id: Scalars['ID']['input'];
|
|
1262
|
+
};
|
|
1263
|
+
export type QueryFairuUsersArgs = {
|
|
1264
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
1265
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
1266
|
+
};
|
|
1267
|
+
export type QueryFairuWorkflowArgs = {
|
|
1268
|
+
id: Scalars['ID']['input'];
|
|
1269
|
+
};
|
|
1270
|
+
export type QueryFairuWorkflowsArgs = {
|
|
1271
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
1272
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
1273
|
+
};
|
|
1274
|
+
/** Directions for ordering a list of records. */
|
|
1275
|
+
export type SortOrder =
|
|
1276
|
+
/** Sort records in ascending order. */
|
|
1277
|
+
'ASC'
|
|
1278
|
+
/** Sort records in descending order. */
|
|
1279
|
+
| 'DESC';
|
|
1280
|
+
/** Specify if you want to include or exclude trashed results from a query. */
|
|
1281
|
+
export type Trashed =
|
|
1282
|
+
/** Only return trashed results. */
|
|
1283
|
+
'ONLY'
|
|
1284
|
+
/** Return both trashed and non-trashed results. */
|
|
1285
|
+
| 'WITH'
|
|
1286
|
+
/** Only return non-trashed results. */
|
|
1287
|
+
| 'WITHOUT';
|
|
1288
|
+
export type UpdateFairuFileMutationVariables = Exact<{
|
|
1289
|
+
data: FairuFileDto;
|
|
1290
|
+
}>;
|
|
1291
|
+
export type UpdateFairuFileMutation = {
|
|
1292
|
+
__typename: 'Mutation';
|
|
1293
|
+
updateFairuFile: {
|
|
1294
|
+
__typename: 'FairuAsset';
|
|
1295
|
+
id: string;
|
|
1296
|
+
name: string | null;
|
|
1297
|
+
alt: string | null;
|
|
1298
|
+
caption: string | null;
|
|
1299
|
+
description: string | null;
|
|
1300
|
+
focal_point: string | null;
|
|
1301
|
+
blocked: boolean | null;
|
|
1302
|
+
updated_at: string | null;
|
|
1303
|
+
copyrights: Array<{
|
|
1304
|
+
__typename: 'FairuCopyright';
|
|
1305
|
+
id: string;
|
|
1306
|
+
name: string | null;
|
|
1307
|
+
}> | null;
|
|
1308
|
+
licenses: Array<{
|
|
1309
|
+
__typename: 'FairuLicense';
|
|
1310
|
+
id: string;
|
|
1311
|
+
name: string | null;
|
|
1312
|
+
}> | null;
|
|
1313
|
+
} | null;
|
|
1314
|
+
};
|
|
1315
|
+
export type DeleteFairuFileMutationVariables = Exact<{
|
|
1316
|
+
id: Scalars['ID']['input'];
|
|
1317
|
+
}>;
|
|
1318
|
+
export type DeleteFairuFileMutation = {
|
|
1319
|
+
__typename: 'Mutation';
|
|
1320
|
+
deleteFairuFile: boolean | null;
|
|
1321
|
+
};
|
|
1322
|
+
export type BlockFairuFileMutationVariables = Exact<{
|
|
1323
|
+
id: Scalars['ID']['input'];
|
|
1324
|
+
}>;
|
|
1325
|
+
export type BlockFairuFileMutation = {
|
|
1326
|
+
__typename: 'Mutation';
|
|
1327
|
+
blockFairuFile: boolean | null;
|
|
1328
|
+
};
|
|
1329
|
+
export type UnblockFairuFileMutationVariables = Exact<{
|
|
1330
|
+
id: Scalars['ID']['input'];
|
|
1331
|
+
}>;
|
|
1332
|
+
export type UnblockFairuFileMutation = {
|
|
1333
|
+
__typename: 'Mutation';
|
|
1334
|
+
unblockFairuFile: boolean | null;
|
|
1335
|
+
};
|
|
1336
|
+
export type RenameFairuFileMutationVariables = Exact<{
|
|
1337
|
+
id: Scalars['ID']['input'];
|
|
1338
|
+
name: Scalars['String']['input'];
|
|
1339
|
+
}>;
|
|
1340
|
+
export type RenameFairuFileMutation = {
|
|
1341
|
+
__typename: 'Mutation';
|
|
1342
|
+
renameFairuFile: {
|
|
1343
|
+
__typename: 'FairuAsset';
|
|
1344
|
+
id: string;
|
|
1345
|
+
name: string | null;
|
|
1346
|
+
updated_at: string | null;
|
|
1347
|
+
} | null;
|
|
1348
|
+
};
|
|
1349
|
+
export type MoveFairuFileMutationVariables = Exact<{
|
|
1350
|
+
id: Scalars['ID']['input'];
|
|
1351
|
+
parent: InputMaybe<Scalars['ID']['input']>;
|
|
1352
|
+
}>;
|
|
1353
|
+
export type MoveFairuFileMutation = {
|
|
1354
|
+
__typename: 'Mutation';
|
|
1355
|
+
moveFairuFile: boolean | null;
|
|
1356
|
+
};
|
|
1357
|
+
export type DuplicateFairuFileMutationVariables = Exact<{
|
|
1358
|
+
id: Scalars['ID']['input'];
|
|
1359
|
+
parent: InputMaybe<Scalars['ID']['input']>;
|
|
1360
|
+
}>;
|
|
1361
|
+
export type DuplicateFairuFileMutation = {
|
|
1362
|
+
__typename: 'Mutation';
|
|
1363
|
+
duplicateFairuFile: boolean | null;
|
|
1364
|
+
};
|
|
1365
|
+
export type RedownloadFairuFileMutationVariables = Exact<{
|
|
1366
|
+
id: Scalars['ID']['input'];
|
|
1367
|
+
}>;
|
|
1368
|
+
export type RedownloadFairuFileMutation = {
|
|
1369
|
+
__typename: 'Mutation';
|
|
1370
|
+
redownloadFairuFile: boolean | null;
|
|
1371
|
+
};
|
|
1372
|
+
export type ReplaceFairuFileMutationVariables = Exact<{
|
|
1373
|
+
id: Scalars['ID']['input'];
|
|
1374
|
+
}>;
|
|
1375
|
+
export type ReplaceFairuFileMutation = {
|
|
1376
|
+
__typename: 'Mutation';
|
|
1377
|
+
replaceFairuFile: {
|
|
1378
|
+
__typename: 'FairuUploadLink';
|
|
1379
|
+
id: string;
|
|
1380
|
+
upload_url: string;
|
|
1381
|
+
sync_url: string | null;
|
|
1382
|
+
mime: string | null;
|
|
1383
|
+
} | null;
|
|
1384
|
+
};
|
|
1385
|
+
export type FairuFileUrlByPathMutationVariables = Exact<{
|
|
1386
|
+
tenant: Scalars['ID']['input'];
|
|
1387
|
+
path: Scalars['String']['input'];
|
|
1388
|
+
width: InputMaybe<Scalars['Int']['input']>;
|
|
1389
|
+
height: InputMaybe<Scalars['Int']['input']>;
|
|
1390
|
+
focal_point: InputMaybe<Scalars['String']['input']>;
|
|
1391
|
+
withStoredFocalPoint: InputMaybe<Scalars['Boolean']['input']>;
|
|
1392
|
+
quality: InputMaybe<Scalars['Int']['input']>;
|
|
1393
|
+
version: InputMaybe<FairuAssetVideoVersions>;
|
|
1394
|
+
}>;
|
|
1395
|
+
export type FairuFileUrlByPathMutation = {
|
|
1396
|
+
__typename: 'Mutation';
|
|
1397
|
+
fairuFileUrlByPath: string | null;
|
|
1398
|
+
};
|
|
1399
|
+
export type CreateFairuCopyrightMutationVariables = Exact<{
|
|
1400
|
+
data: FairuCopyrightDto;
|
|
1401
|
+
}>;
|
|
1402
|
+
export type CreateFairuCopyrightMutation = {
|
|
1403
|
+
__typename: 'Mutation';
|
|
1404
|
+
createFairuCopyright: {
|
|
1405
|
+
__typename: 'FairuCopyright';
|
|
1406
|
+
id: string;
|
|
1407
|
+
name: string | null;
|
|
1408
|
+
email: string | null;
|
|
1409
|
+
phone: string | null;
|
|
1410
|
+
website: string | null;
|
|
1411
|
+
active: boolean | null;
|
|
1412
|
+
blocked: boolean | null;
|
|
1413
|
+
created_at: string | null;
|
|
1414
|
+
} | null;
|
|
1415
|
+
};
|
|
1416
|
+
export type UpdateFairuCopyrightMutationVariables = Exact<{
|
|
1417
|
+
data: FairuCopyrightDto;
|
|
1418
|
+
}>;
|
|
1419
|
+
export type UpdateFairuCopyrightMutation = {
|
|
1420
|
+
__typename: 'Mutation';
|
|
1421
|
+
updateFairuCopyright: {
|
|
1422
|
+
__typename: 'FairuCopyright';
|
|
1423
|
+
id: string;
|
|
1424
|
+
name: string | null;
|
|
1425
|
+
email: string | null;
|
|
1426
|
+
phone: string | null;
|
|
1427
|
+
website: string | null;
|
|
1428
|
+
active: boolean | null;
|
|
1429
|
+
blocked: boolean | null;
|
|
1430
|
+
updated_at: string | null;
|
|
1431
|
+
} | null;
|
|
1432
|
+
};
|
|
1433
|
+
export type DeleteFairuCopyrightMutationVariables = Exact<{
|
|
1434
|
+
id: Scalars['ID']['input'];
|
|
1435
|
+
deleteAssets: InputMaybe<Scalars['Boolean']['input']>;
|
|
1436
|
+
deleteLicenses: InputMaybe<Scalars['Boolean']['input']>;
|
|
1437
|
+
}>;
|
|
1438
|
+
export type DeleteFairuCopyrightMutation = {
|
|
1439
|
+
__typename: 'Mutation';
|
|
1440
|
+
deleteFairuCopyright: boolean | null;
|
|
1441
|
+
};
|
|
1442
|
+
export type CreateFairuDiskMutationVariables = Exact<{
|
|
1443
|
+
data: FairuDiskDto;
|
|
1444
|
+
}>;
|
|
1445
|
+
export type CreateFairuDiskMutation = {
|
|
1446
|
+
__typename: 'Mutation';
|
|
1447
|
+
createFairuDisk: {
|
|
1448
|
+
__typename: 'FairuDisk';
|
|
1449
|
+
id: string;
|
|
1450
|
+
name: string | null;
|
|
1451
|
+
type: FairuDiskType | null;
|
|
1452
|
+
path: string | null;
|
|
1453
|
+
pattern: string | null;
|
|
1454
|
+
delete_at_origin: boolean | null;
|
|
1455
|
+
healthy: boolean | null;
|
|
1456
|
+
active: boolean | null;
|
|
1457
|
+
created_at: string | null;
|
|
1458
|
+
} | null;
|
|
1459
|
+
};
|
|
1460
|
+
export type UpdateFairuDiskMutationVariables = Exact<{
|
|
1461
|
+
data: FairuDiskDto;
|
|
1462
|
+
}>;
|
|
1463
|
+
export type UpdateFairuDiskMutation = {
|
|
1464
|
+
__typename: 'Mutation';
|
|
1465
|
+
updateFairuDisk: {
|
|
1466
|
+
__typename: 'FairuDisk';
|
|
1467
|
+
id: string;
|
|
1468
|
+
name: string | null;
|
|
1469
|
+
type: FairuDiskType | null;
|
|
1470
|
+
path: string | null;
|
|
1471
|
+
pattern: string | null;
|
|
1472
|
+
delete_at_origin: boolean | null;
|
|
1473
|
+
healthy: boolean | null;
|
|
1474
|
+
active: boolean | null;
|
|
1475
|
+
updated_at: string | null;
|
|
1476
|
+
} | null;
|
|
1477
|
+
};
|
|
1478
|
+
export type DeleteFairuDiskMutationVariables = Exact<{
|
|
1479
|
+
id: Scalars['ID']['input'];
|
|
1480
|
+
}>;
|
|
1481
|
+
export type DeleteFairuDiskMutation = {
|
|
1482
|
+
__typename: 'Mutation';
|
|
1483
|
+
deleteFairuDisk: boolean | null;
|
|
1484
|
+
};
|
|
1485
|
+
export type CreateFairuDmcaComplainMutationVariables = Exact<{
|
|
1486
|
+
data: FairuDmcaComplainDto;
|
|
1487
|
+
}>;
|
|
1488
|
+
export type CreateFairuDmcaComplainMutation = {
|
|
1489
|
+
__typename: 'Mutation';
|
|
1490
|
+
createFairuDmcaComplain: boolean | null;
|
|
1491
|
+
};
|
|
1492
|
+
export type UpdateFairuDmcaComplainMutationVariables = Exact<{
|
|
1493
|
+
data: FairuDmcaDto;
|
|
1494
|
+
}>;
|
|
1495
|
+
export type UpdateFairuDmcaComplainMutation = {
|
|
1496
|
+
__typename: 'Mutation';
|
|
1497
|
+
updateFairuDmcaComplain: {
|
|
1498
|
+
__typename: 'FairuDmca';
|
|
1499
|
+
id: string;
|
|
1500
|
+
name: string | null;
|
|
1501
|
+
email: string | null;
|
|
1502
|
+
reply: string | null;
|
|
1503
|
+
reply_send: boolean | null;
|
|
1504
|
+
status: FairuDmcaStatus | null;
|
|
1505
|
+
} | null;
|
|
1506
|
+
};
|
|
1507
|
+
export type CreateFairuFolderMutationVariables = Exact<{
|
|
1508
|
+
data: FairuFolderDto;
|
|
1509
|
+
}>;
|
|
1510
|
+
export type CreateFairuFolderMutation = {
|
|
1511
|
+
__typename: 'Mutation';
|
|
1512
|
+
createFairuFolder: {
|
|
1513
|
+
__typename: 'FairuFolder';
|
|
1514
|
+
id: string;
|
|
1515
|
+
name: string | null;
|
|
1516
|
+
auto_assign_copyright: boolean | null;
|
|
1517
|
+
created_at: string | null;
|
|
1518
|
+
} | null;
|
|
1519
|
+
};
|
|
1520
|
+
export type UpdateFairuFolderMutationVariables = Exact<{
|
|
1521
|
+
data: FairuFolderDto;
|
|
1522
|
+
}>;
|
|
1523
|
+
export type UpdateFairuFolderMutation = {
|
|
1524
|
+
__typename: 'Mutation';
|
|
1525
|
+
updateFairuFolder: {
|
|
1526
|
+
__typename: 'FairuFolder';
|
|
1527
|
+
id: string;
|
|
1528
|
+
name: string | null;
|
|
1529
|
+
auto_assign_copyright: boolean | null;
|
|
1530
|
+
updated_at: string | null;
|
|
1531
|
+
copyrights: Array<{
|
|
1532
|
+
__typename: 'FairuCopyright';
|
|
1533
|
+
id: string;
|
|
1534
|
+
name: string | null;
|
|
1535
|
+
} | null> | null;
|
|
1536
|
+
} | null;
|
|
1537
|
+
};
|
|
1538
|
+
export type DeleteFairuFolderMutationVariables = Exact<{
|
|
1539
|
+
id: Scalars['ID']['input'];
|
|
1540
|
+
}>;
|
|
1541
|
+
export type DeleteFairuFolderMutation = {
|
|
1542
|
+
__typename: 'Mutation';
|
|
1543
|
+
deleteFairuFolder: boolean | null;
|
|
1544
|
+
};
|
|
1545
|
+
export type RenameFairuFolderMutationVariables = Exact<{
|
|
1546
|
+
id: Scalars['ID']['input'];
|
|
1547
|
+
name: Scalars['String']['input'];
|
|
1548
|
+
}>;
|
|
1549
|
+
export type RenameFairuFolderMutation = {
|
|
1550
|
+
__typename: 'Mutation';
|
|
1551
|
+
renameFairuFolder: {
|
|
1552
|
+
__typename: 'FairuFolder';
|
|
1553
|
+
id: string;
|
|
1554
|
+
name: string | null;
|
|
1555
|
+
updated_at: string | null;
|
|
1556
|
+
} | null;
|
|
1557
|
+
};
|
|
1558
|
+
export type MoveFairuFolderMutationVariables = Exact<{
|
|
1559
|
+
id: Scalars['ID']['input'];
|
|
1560
|
+
parent: InputMaybe<Scalars['ID']['input']>;
|
|
1561
|
+
}>;
|
|
1562
|
+
export type MoveFairuFolderMutation = {
|
|
1563
|
+
__typename: 'Mutation';
|
|
1564
|
+
moveFairuFolder: boolean | null;
|
|
1565
|
+
};
|
|
1566
|
+
export type CreateFairuFolderFtpMutationVariables = Exact<{
|
|
1567
|
+
id: Scalars['ID']['input'];
|
|
1568
|
+
}>;
|
|
1569
|
+
export type CreateFairuFolderFtpMutation = {
|
|
1570
|
+
__typename: 'Mutation';
|
|
1571
|
+
createFairuFolderFTP: {
|
|
1572
|
+
__typename: 'FairuDisk';
|
|
1573
|
+
id: string;
|
|
1574
|
+
name: string | null;
|
|
1575
|
+
type: FairuDiskType | null;
|
|
1576
|
+
path: string | null;
|
|
1577
|
+
active: boolean | null;
|
|
1578
|
+
healthy: boolean | null;
|
|
1579
|
+
} | null;
|
|
1580
|
+
};
|
|
1581
|
+
export type CreateFairuGalleryMutationVariables = Exact<{
|
|
1582
|
+
data: FairuGalleryDto;
|
|
1583
|
+
}>;
|
|
1584
|
+
export type CreateFairuGalleryMutation = {
|
|
1585
|
+
__typename: 'Mutation';
|
|
1586
|
+
createFairuGallery: {
|
|
1587
|
+
__typename: 'FairuGallery';
|
|
1588
|
+
id: string;
|
|
1589
|
+
name: string | null;
|
|
1590
|
+
description: string | null;
|
|
1591
|
+
date: string | null;
|
|
1592
|
+
location: string | null;
|
|
1593
|
+
sorting_direction: string | null;
|
|
1594
|
+
sorting_field: string | null;
|
|
1595
|
+
active: boolean | null;
|
|
1596
|
+
exclude_from_list: boolean | null;
|
|
1597
|
+
} | null;
|
|
1598
|
+
};
|
|
1599
|
+
export type UpdateFairuGalleryMutationVariables = Exact<{
|
|
1600
|
+
data: FairuGalleryDto;
|
|
1601
|
+
}>;
|
|
1602
|
+
export type UpdateFairuGalleryMutation = {
|
|
1603
|
+
__typename: 'Mutation';
|
|
1604
|
+
updateFairuGallery: {
|
|
1605
|
+
__typename: 'FairuGallery';
|
|
1606
|
+
id: string;
|
|
1607
|
+
name: string | null;
|
|
1608
|
+
description: string | null;
|
|
1609
|
+
date: string | null;
|
|
1610
|
+
location: string | null;
|
|
1611
|
+
sorting_direction: string | null;
|
|
1612
|
+
sorting_field: string | null;
|
|
1613
|
+
active: boolean | null;
|
|
1614
|
+
exclude_from_list: boolean | null;
|
|
1615
|
+
} | null;
|
|
1616
|
+
};
|
|
1617
|
+
export type DeleteFairuGalleryMutationVariables = Exact<{
|
|
1618
|
+
id: Scalars['ID']['input'];
|
|
1619
|
+
}>;
|
|
1620
|
+
export type DeleteFairuGalleryMutation = {
|
|
1621
|
+
__typename: 'Mutation';
|
|
1622
|
+
deleteFairuGallery: boolean | null;
|
|
1623
|
+
};
|
|
1624
|
+
export type CreateFairuGalleryShareLinkMutationVariables = Exact<{
|
|
1625
|
+
id: Scalars['ID']['input'];
|
|
1626
|
+
}>;
|
|
1627
|
+
export type CreateFairuGalleryShareLinkMutation = {
|
|
1628
|
+
__typename: 'Mutation';
|
|
1629
|
+
createFairuGalleryShareLink: string | null;
|
|
1630
|
+
};
|
|
1631
|
+
export type CreateFairuLicenseMutationVariables = Exact<{
|
|
1632
|
+
data: FairuLicenseDto;
|
|
1633
|
+
}>;
|
|
1634
|
+
export type CreateFairuLicenseMutation = {
|
|
1635
|
+
__typename: 'Mutation';
|
|
1636
|
+
createFairuLicense: {
|
|
1637
|
+
__typename: 'FairuLicense';
|
|
1638
|
+
id: string;
|
|
1639
|
+
name: string | null;
|
|
1640
|
+
type: FairuLicenseType | null;
|
|
1641
|
+
interval: number | null;
|
|
1642
|
+
default: boolean | null;
|
|
1643
|
+
active: boolean | null;
|
|
1644
|
+
start: string | null;
|
|
1645
|
+
end: string | null;
|
|
1646
|
+
days: number | null;
|
|
1647
|
+
replace_license: boolean | null;
|
|
1648
|
+
replace_date: string | null;
|
|
1649
|
+
created_at: string | null;
|
|
1650
|
+
copyright: {
|
|
1651
|
+
__typename: 'FairuCopyright';
|
|
1652
|
+
id: string;
|
|
1653
|
+
name: string | null;
|
|
1654
|
+
} | null;
|
|
1655
|
+
} | null;
|
|
1656
|
+
};
|
|
1657
|
+
export type UpdateFairuLicenseMutationVariables = Exact<{
|
|
1658
|
+
data: FairuLicenseDto;
|
|
1659
|
+
}>;
|
|
1660
|
+
export type UpdateFairuLicenseMutation = {
|
|
1661
|
+
__typename: 'Mutation';
|
|
1662
|
+
updateFairuLicense: {
|
|
1663
|
+
__typename: 'FairuLicense';
|
|
1664
|
+
id: string;
|
|
1665
|
+
name: string | null;
|
|
1666
|
+
type: FairuLicenseType | null;
|
|
1667
|
+
interval: number | null;
|
|
1668
|
+
default: boolean | null;
|
|
1669
|
+
active: boolean | null;
|
|
1670
|
+
start: string | null;
|
|
1671
|
+
end: string | null;
|
|
1672
|
+
days: number | null;
|
|
1673
|
+
replace_license: boolean | null;
|
|
1674
|
+
replace_date: string | null;
|
|
1675
|
+
updated_at: string | null;
|
|
1676
|
+
copyright: {
|
|
1677
|
+
__typename: 'FairuCopyright';
|
|
1678
|
+
id: string;
|
|
1679
|
+
name: string | null;
|
|
1680
|
+
} | null;
|
|
1681
|
+
} | null;
|
|
1682
|
+
};
|
|
1683
|
+
export type DeleteFairuLicenseMutationVariables = Exact<{
|
|
1684
|
+
id: Scalars['ID']['input'];
|
|
1685
|
+
deleteAssets: InputMaybe<Scalars['Boolean']['input']>;
|
|
1686
|
+
}>;
|
|
1687
|
+
export type DeleteFairuLicenseMutation = {
|
|
1688
|
+
__typename: 'Mutation';
|
|
1689
|
+
deleteFairuLicense: boolean | null;
|
|
1690
|
+
};
|
|
1691
|
+
export type CreateFairuPdfSignatureRequestMutationVariables = Exact<{
|
|
1692
|
+
data: FairuFilePdfSignatureRequestDto;
|
|
1693
|
+
}>;
|
|
1694
|
+
export type CreateFairuPdfSignatureRequestMutation = {
|
|
1695
|
+
__typename: 'Mutation';
|
|
1696
|
+
createFairuPdfSignatureRequest: {
|
|
1697
|
+
__typename: 'FairuFilePdfSignatureRequest';
|
|
1698
|
+
id: string;
|
|
1699
|
+
status: FairuPdfSignatureRequestStatus | null;
|
|
1700
|
+
emails: Array<string | null> | null;
|
|
1701
|
+
config_url: string | null;
|
|
1702
|
+
signature_id: string | null;
|
|
1703
|
+
file: {
|
|
1704
|
+
__typename: 'FairuAsset';
|
|
1705
|
+
id: string;
|
|
1706
|
+
name: string | null;
|
|
1707
|
+
url: string | null;
|
|
1708
|
+
} | null;
|
|
1709
|
+
} | null;
|
|
1710
|
+
};
|
|
1711
|
+
export type StartFairuPdfSignatureRequestMutationVariables = Exact<{
|
|
1712
|
+
id: Scalars['ID']['input'];
|
|
1713
|
+
}>;
|
|
1714
|
+
export type StartFairuPdfSignatureRequestMutation = {
|
|
1715
|
+
__typename: 'Mutation';
|
|
1716
|
+
startFairuPdfSignatureRequest: {
|
|
1717
|
+
__typename: 'FairuFilePdfSignatureRequest';
|
|
1718
|
+
id: string;
|
|
1719
|
+
status: FairuPdfSignatureRequestStatus | null;
|
|
1720
|
+
config_url: string | null;
|
|
1721
|
+
signature_id: string | null;
|
|
1722
|
+
} | null;
|
|
1723
|
+
};
|
|
1724
|
+
export type CancelFairuPdfSignatureRequestMutationVariables = Exact<{
|
|
1725
|
+
id: Scalars['ID']['input'];
|
|
1726
|
+
}>;
|
|
1727
|
+
export type CancelFairuPdfSignatureRequestMutation = {
|
|
1728
|
+
__typename: 'Mutation';
|
|
1729
|
+
cancelFairuPdfSignatureRequest: boolean | null;
|
|
1730
|
+
};
|
|
1731
|
+
export type CreateFairuRakuCredentialMutationVariables = Exact<{
|
|
1732
|
+
name: InputMaybe<Scalars['String']['input']>;
|
|
1733
|
+
bucket: InputMaybe<Scalars['String']['input']>;
|
|
1734
|
+
permissions: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
1735
|
+
}>;
|
|
1736
|
+
export type CreateFairuRakuCredentialMutation = {
|
|
1737
|
+
__typename: 'Mutation';
|
|
1738
|
+
createFairuRakuCredential: {
|
|
1739
|
+
__typename: 'FairuRakuCredentialWithSecret';
|
|
1740
|
+
id: string;
|
|
1741
|
+
name: string | null;
|
|
1742
|
+
access_key_id: string;
|
|
1743
|
+
secret_access_key: string;
|
|
1744
|
+
bucket: string | null;
|
|
1745
|
+
permissions: Array<string>;
|
|
1746
|
+
};
|
|
1747
|
+
};
|
|
1748
|
+
export type RevokeFairuRakuCredentialMutationVariables = Exact<{
|
|
1749
|
+
id: Scalars['ID']['input'];
|
|
1750
|
+
}>;
|
|
1751
|
+
export type RevokeFairuRakuCredentialMutation = {
|
|
1752
|
+
__typename: 'Mutation';
|
|
1753
|
+
revokeFairuRakuCredential: boolean;
|
|
1754
|
+
};
|
|
1755
|
+
export type DeleteFairuRakuCredentialMutationVariables = Exact<{
|
|
1756
|
+
id: Scalars['ID']['input'];
|
|
1757
|
+
}>;
|
|
1758
|
+
export type DeleteFairuRakuCredentialMutation = {
|
|
1759
|
+
__typename: 'Mutation';
|
|
1760
|
+
deleteFairuRakuCredential: boolean;
|
|
1761
|
+
};
|
|
1762
|
+
export type CreateFairuRoleMutationVariables = Exact<{
|
|
1763
|
+
data: FairuRoleDto;
|
|
1764
|
+
}>;
|
|
1765
|
+
export type CreateFairuRoleMutation = {
|
|
1766
|
+
__typename: 'Mutation';
|
|
1767
|
+
createFairuRole: {
|
|
1768
|
+
__typename: 'FairuRole';
|
|
1769
|
+
id: string;
|
|
1770
|
+
name: string | null;
|
|
1771
|
+
permissions: Array<string> | null;
|
|
1772
|
+
created_at: string | null;
|
|
1773
|
+
} | null;
|
|
1774
|
+
};
|
|
1775
|
+
export type UpdateFairuRoleMutationVariables = Exact<{
|
|
1776
|
+
data: FairuRoleDto;
|
|
1777
|
+
}>;
|
|
1778
|
+
export type UpdateFairuRoleMutation = {
|
|
1779
|
+
__typename: 'Mutation';
|
|
1780
|
+
updateFairuRole: {
|
|
1781
|
+
__typename: 'FairuRole';
|
|
1782
|
+
id: string;
|
|
1783
|
+
name: string | null;
|
|
1784
|
+
permissions: Array<string> | null;
|
|
1785
|
+
updated_at: string | null;
|
|
1786
|
+
} | null;
|
|
1787
|
+
};
|
|
1788
|
+
export type DeleteFairuRoleMutationVariables = Exact<{
|
|
1789
|
+
id: Scalars['ID']['input'];
|
|
1790
|
+
}>;
|
|
1791
|
+
export type DeleteFairuRoleMutation = {
|
|
1792
|
+
__typename: 'Mutation';
|
|
1793
|
+
deleteFairuRole: boolean | null;
|
|
1794
|
+
};
|
|
1795
|
+
export type CreateFairuTenantMutationVariables = Exact<{
|
|
1796
|
+
name: Scalars['String']['input'];
|
|
1797
|
+
}>;
|
|
1798
|
+
export type CreateFairuTenantMutation = {
|
|
1799
|
+
__typename: 'Mutation';
|
|
1800
|
+
createFairuTenant: {
|
|
1801
|
+
__typename: 'FairuTenantCreationResult';
|
|
1802
|
+
id: string;
|
|
1803
|
+
name: string;
|
|
1804
|
+
api_key: string;
|
|
1805
|
+
created_at: string;
|
|
1806
|
+
};
|
|
1807
|
+
};
|
|
1808
|
+
export type UpdateFairuTenantMutationVariables = Exact<{
|
|
1809
|
+
name: InputMaybe<Scalars['String']['input']>;
|
|
1810
|
+
force_license: InputMaybe<Scalars['Boolean']['input']>;
|
|
1811
|
+
use_ai: InputMaybe<Scalars['Boolean']['input']>;
|
|
1812
|
+
use_ai_onupload: InputMaybe<Scalars['Boolean']['input']>;
|
|
1813
|
+
avatar_id: InputMaybe<Scalars['ID']['input']>;
|
|
1814
|
+
ai_language: InputMaybe<Scalars['String']['input']>;
|
|
1815
|
+
ai_nsfw: InputMaybe<Scalars['Boolean']['input']>;
|
|
1816
|
+
ai_blur_faces: InputMaybe<Scalars['Boolean']['input']>;
|
|
1817
|
+
force_file_alt: InputMaybe<Scalars['Boolean']['input']>;
|
|
1818
|
+
force_file_description: InputMaybe<Scalars['Boolean']['input']>;
|
|
1819
|
+
force_file_caption: InputMaybe<Scalars['Boolean']['input']>;
|
|
1820
|
+
force_file_copyright: InputMaybe<Scalars['Boolean']['input']>;
|
|
1821
|
+
force_file_policy: InputMaybe<Scalars['Boolean']['input']>;
|
|
1822
|
+
block_files_with_error: InputMaybe<Scalars['Boolean']['input']>;
|
|
1823
|
+
custom_domain: InputMaybe<Scalars['String']['input']>;
|
|
1824
|
+
hide_dotfiles: InputMaybe<Scalars['Boolean']['input']>;
|
|
1825
|
+
}>;
|
|
1826
|
+
export type UpdateFairuTenantMutation = {
|
|
1827
|
+
__typename: 'Mutation';
|
|
1828
|
+
updateFairuTenant: {
|
|
1829
|
+
__typename: 'FairuTenant';
|
|
1830
|
+
id: string;
|
|
1831
|
+
name: string | null;
|
|
1832
|
+
use_ai: boolean | null;
|
|
1833
|
+
use_ai_onupload: boolean | null;
|
|
1834
|
+
ai_language: string | null;
|
|
1835
|
+
force_file_alt: boolean | null;
|
|
1836
|
+
force_file_description: boolean | null;
|
|
1837
|
+
force_file_caption: boolean | null;
|
|
1838
|
+
force_filce_copyright: boolean | null;
|
|
1839
|
+
force_file_policy: boolean | null;
|
|
1840
|
+
block_files_with_error: boolean | null;
|
|
1841
|
+
force_license: boolean | null;
|
|
1842
|
+
custom_domain: string | null;
|
|
1843
|
+
custom_domain_verified: boolean | null;
|
|
1844
|
+
custom_domain_status: FairuCustomDomainStatus | null;
|
|
1845
|
+
webhook_url: string | null;
|
|
1846
|
+
webhook_type: FairuWebhookType | null;
|
|
1847
|
+
updated_at: string | null;
|
|
1848
|
+
} | null;
|
|
1849
|
+
};
|
|
1850
|
+
export type CreateFairuUploadLinkMutationVariables = Exact<{
|
|
1851
|
+
filename: Scalars['String']['input'];
|
|
1852
|
+
type: InputMaybe<FairuUploadType>;
|
|
1853
|
+
download_url: InputMaybe<Scalars['String']['input']>;
|
|
1854
|
+
folder: InputMaybe<Scalars['ID']['input']>;
|
|
1855
|
+
id: InputMaybe<Scalars['ID']['input']>;
|
|
1856
|
+
fileSize: InputMaybe<Scalars['Int']['input']>;
|
|
1857
|
+
alt: InputMaybe<Scalars['String']['input']>;
|
|
1858
|
+
caption: InputMaybe<Scalars['String']['input']>;
|
|
1859
|
+
description: InputMaybe<Scalars['String']['input']>;
|
|
1860
|
+
focal_point: InputMaybe<Scalars['String']['input']>;
|
|
1861
|
+
copyright: InputMaybe<Scalars['String']['input']>;
|
|
1862
|
+
}>;
|
|
1863
|
+
export type CreateFairuUploadLinkMutation = {
|
|
1864
|
+
__typename: 'Mutation';
|
|
1865
|
+
createFairuUploadLink: {
|
|
1866
|
+
__typename: 'FairuUploadLink';
|
|
1867
|
+
id: string;
|
|
1868
|
+
upload_url: string;
|
|
1869
|
+
sync_url: string | null;
|
|
1870
|
+
mime: string | null;
|
|
1871
|
+
} | null;
|
|
1872
|
+
};
|
|
1873
|
+
export type InitFairuMultipartUploadMutationVariables = Exact<{
|
|
1874
|
+
filename: Scalars['String']['input'];
|
|
1875
|
+
folder: InputMaybe<Scalars['ID']['input']>;
|
|
1876
|
+
fileSize: InputMaybe<Scalars['Int']['input']>;
|
|
1877
|
+
contentType: InputMaybe<Scalars['String']['input']>;
|
|
1878
|
+
alt: InputMaybe<Scalars['String']['input']>;
|
|
1879
|
+
caption: InputMaybe<Scalars['String']['input']>;
|
|
1880
|
+
description: InputMaybe<Scalars['String']['input']>;
|
|
1881
|
+
copyright: InputMaybe<Scalars['String']['input']>;
|
|
1882
|
+
}>;
|
|
1883
|
+
export type InitFairuMultipartUploadMutation = {
|
|
1884
|
+
__typename: 'Mutation';
|
|
1885
|
+
initFairuMultipartUpload: {
|
|
1886
|
+
__typename: 'FairuMultipartUploadInit';
|
|
1887
|
+
id: string;
|
|
1888
|
+
uploadId: string;
|
|
1889
|
+
partSize: number | null;
|
|
1890
|
+
totalParts: number | null;
|
|
1891
|
+
sync_url: string;
|
|
1892
|
+
parts: Array<{
|
|
1893
|
+
__typename: 'FairuMultipartPart';
|
|
1894
|
+
partNumber: number;
|
|
1895
|
+
uploadUrl: string;
|
|
1896
|
+
}> | null;
|
|
1897
|
+
};
|
|
1898
|
+
};
|
|
1899
|
+
export type GetFairuMultipartPartUrlMutationVariables = Exact<{
|
|
1900
|
+
fileId: Scalars['ID']['input'];
|
|
1901
|
+
uploadId: Scalars['String']['input'];
|
|
1902
|
+
partNumber: Scalars['Int']['input'];
|
|
1903
|
+
}>;
|
|
1904
|
+
export type GetFairuMultipartPartUrlMutation = {
|
|
1905
|
+
__typename: 'Mutation';
|
|
1906
|
+
getFairuMultipartPartUrl: {
|
|
1907
|
+
__typename: 'FairuMultipartPart';
|
|
1908
|
+
partNumber: number;
|
|
1909
|
+
uploadUrl: string;
|
|
1910
|
+
};
|
|
1911
|
+
};
|
|
1912
|
+
export type CompleteFairuMultipartUploadMutationVariables = Exact<{
|
|
1913
|
+
fileId: Scalars['ID']['input'];
|
|
1914
|
+
uploadId: Scalars['String']['input'];
|
|
1915
|
+
parts: Array<FairuMultipartPartInput> | FairuMultipartPartInput;
|
|
1916
|
+
}>;
|
|
1917
|
+
export type CompleteFairuMultipartUploadMutation = {
|
|
1918
|
+
__typename: 'Mutation';
|
|
1919
|
+
completeFairuMultipartUpload: {
|
|
1920
|
+
__typename: 'FairuUploadLink';
|
|
1921
|
+
id: string;
|
|
1922
|
+
upload_url: string;
|
|
1923
|
+
sync_url: string | null;
|
|
1924
|
+
mime: string | null;
|
|
1925
|
+
};
|
|
1926
|
+
};
|
|
1927
|
+
export type AbortFairuMultipartUploadMutationVariables = Exact<{
|
|
1928
|
+
fileId: Scalars['ID']['input'];
|
|
1929
|
+
uploadId: Scalars['String']['input'];
|
|
1930
|
+
}>;
|
|
1931
|
+
export type AbortFairuMultipartUploadMutation = {
|
|
1932
|
+
__typename: 'Mutation';
|
|
1933
|
+
abortFairuMultipartUpload: boolean;
|
|
1934
|
+
};
|
|
1935
|
+
export type CreateFairuFolderUploadShareLinkMutationVariables = Exact<{
|
|
1936
|
+
id: Scalars['ID']['input'];
|
|
1937
|
+
expires_in: InputMaybe<FairuUploadShareLinkExpiration>;
|
|
1938
|
+
name: InputMaybe<Scalars['String']['input']>;
|
|
1939
|
+
}>;
|
|
1940
|
+
export type CreateFairuFolderUploadShareLinkMutation = {
|
|
1941
|
+
__typename: 'Mutation';
|
|
1942
|
+
createFairuFolderUploadShareLink: {
|
|
1943
|
+
__typename: 'FairuFolderUploadShareLink';
|
|
1944
|
+
id: string;
|
|
1945
|
+
url: string;
|
|
1946
|
+
expires_at: string | null;
|
|
1947
|
+
name: string | null;
|
|
1948
|
+
folder_id: string;
|
|
1949
|
+
} | null;
|
|
1950
|
+
};
|
|
1951
|
+
export type CreateFairuFileAccessSignatureMutationVariables = Exact<{
|
|
1952
|
+
ids: Array<Scalars['ID']['input']> | Scalars['ID']['input'];
|
|
1953
|
+
valid_for_minutes: InputMaybe<Scalars['Int']['input']>;
|
|
1954
|
+
}>;
|
|
1955
|
+
export type CreateFairuFileAccessSignatureMutation = {
|
|
1956
|
+
__typename: 'Mutation';
|
|
1957
|
+
createFairuFileAccessSignature: Array<{
|
|
1958
|
+
__typename: 'FairuFileAccessSignature';
|
|
1959
|
+
file_id: string;
|
|
1960
|
+
signature: string;
|
|
1961
|
+
expires_at: string;
|
|
1962
|
+
}>;
|
|
1963
|
+
};
|
|
1964
|
+
export type InviteFairuUserMutationVariables = Exact<{
|
|
1965
|
+
email: Scalars['String']['input'];
|
|
1966
|
+
role: Scalars['ID']['input'];
|
|
1967
|
+
}>;
|
|
1968
|
+
export type InviteFairuUserMutation = {
|
|
1969
|
+
__typename: 'Mutation';
|
|
1970
|
+
inviteFairuUser: boolean | null;
|
|
1971
|
+
};
|
|
1972
|
+
export type DeleteFairuUserMutationVariables = Exact<{
|
|
1973
|
+
id: Scalars['ID']['input'];
|
|
1974
|
+
}>;
|
|
1975
|
+
export type DeleteFairuUserMutation = {
|
|
1976
|
+
__typename: 'Mutation';
|
|
1977
|
+
deleteFairuUser: boolean | null;
|
|
1978
|
+
};
|
|
1979
|
+
export type CreateFairuWorkflowMutationVariables = Exact<{
|
|
1980
|
+
data: FairuWorkflowDto;
|
|
1981
|
+
}>;
|
|
1982
|
+
export type CreateFairuWorkflowMutation = {
|
|
1983
|
+
__typename: 'Mutation';
|
|
1984
|
+
createFairuWorkflow: {
|
|
1985
|
+
__typename: 'FairuWorkflow';
|
|
1986
|
+
id: string;
|
|
1987
|
+
name: string | null;
|
|
1988
|
+
type: FairuWorkflowType;
|
|
1989
|
+
active: boolean | null;
|
|
1990
|
+
status: FairuWorkflowStatus;
|
|
1991
|
+
created_at: string | null;
|
|
1992
|
+
} | null;
|
|
1993
|
+
};
|
|
1994
|
+
export type UpdateFairuWorkflowMutationVariables = Exact<{
|
|
1995
|
+
data: FairuWorkflowDto;
|
|
1996
|
+
}>;
|
|
1997
|
+
export type UpdateFairuWorkflowMutation = {
|
|
1998
|
+
__typename: 'Mutation';
|
|
1999
|
+
updateFairuWorkflow: {
|
|
2000
|
+
__typename: 'FairuWorkflow';
|
|
2001
|
+
id: string;
|
|
2002
|
+
name: string | null;
|
|
2003
|
+
type: FairuWorkflowType;
|
|
2004
|
+
active: boolean | null;
|
|
2005
|
+
status: FairuWorkflowStatus;
|
|
2006
|
+
updated_at: string | null;
|
|
2007
|
+
} | null;
|
|
2008
|
+
};
|
|
2009
|
+
export type DeleteFairuWorkflowMutationVariables = Exact<{
|
|
2010
|
+
id: Scalars['ID']['input'];
|
|
2011
|
+
}>;
|
|
2012
|
+
export type DeleteFairuWorkflowMutation = {
|
|
2013
|
+
__typename: 'Mutation';
|
|
2014
|
+
deleteFairuWorkflow: boolean | null;
|
|
2015
|
+
};
|
|
2016
|
+
export type AssetCoreFragment = {
|
|
2017
|
+
__typename: 'FairuAsset';
|
|
2018
|
+
id: string;
|
|
2019
|
+
name: string | null;
|
|
2020
|
+
mime: string | null;
|
|
2021
|
+
alt: string | null;
|
|
2022
|
+
caption: string | null;
|
|
2023
|
+
description: string | null;
|
|
2024
|
+
copyright_text: string | null;
|
|
2025
|
+
url: string | null;
|
|
2026
|
+
width: number | null;
|
|
2027
|
+
height: number | null;
|
|
2028
|
+
original_width: number | null;
|
|
2029
|
+
original_height: number | null;
|
|
2030
|
+
blurhash: string | null;
|
|
2031
|
+
focal_point: string | null;
|
|
2032
|
+
blocked: boolean | null;
|
|
2033
|
+
has_error: boolean | null;
|
|
2034
|
+
size: number | null;
|
|
2035
|
+
versions: Array<FairuAssetVideoVersions> | null;
|
|
2036
|
+
created_at: string | null;
|
|
2037
|
+
updated_at: string | null;
|
|
2038
|
+
};
|
|
2039
|
+
export type AssetWithRelationsFragment = {
|
|
2040
|
+
__typename: 'FairuAsset';
|
|
2041
|
+
id: string;
|
|
2042
|
+
name: string | null;
|
|
2043
|
+
mime: string | null;
|
|
2044
|
+
alt: string | null;
|
|
2045
|
+
caption: string | null;
|
|
2046
|
+
description: string | null;
|
|
2047
|
+
copyright_text: string | null;
|
|
2048
|
+
url: string | null;
|
|
2049
|
+
width: number | null;
|
|
2050
|
+
height: number | null;
|
|
2051
|
+
original_width: number | null;
|
|
2052
|
+
original_height: number | null;
|
|
2053
|
+
blurhash: string | null;
|
|
2054
|
+
focal_point: string | null;
|
|
2055
|
+
blocked: boolean | null;
|
|
2056
|
+
has_error: boolean | null;
|
|
2057
|
+
size: number | null;
|
|
2058
|
+
versions: Array<FairuAssetVideoVersions> | null;
|
|
2059
|
+
created_at: string | null;
|
|
2060
|
+
updated_at: string | null;
|
|
2061
|
+
copyrights: Array<{
|
|
2062
|
+
__typename: 'FairuCopyright';
|
|
2063
|
+
id: string;
|
|
2064
|
+
name: string | null;
|
|
2065
|
+
email: string | null;
|
|
2066
|
+
website: string | null;
|
|
2067
|
+
active: boolean | null;
|
|
2068
|
+
blocked: boolean | null;
|
|
2069
|
+
}> | null;
|
|
2070
|
+
licenses: Array<{
|
|
2071
|
+
__typename: 'FairuLicense';
|
|
2072
|
+
id: string;
|
|
2073
|
+
name: string | null;
|
|
2074
|
+
type: FairuLicenseType | null;
|
|
2075
|
+
start: string | null;
|
|
2076
|
+
end: string | null;
|
|
2077
|
+
active: boolean | null;
|
|
2078
|
+
}> | null;
|
|
2079
|
+
};
|
|
2080
|
+
export type FairuFileQueryVariables = Exact<{
|
|
2081
|
+
id: Scalars['ID']['input'];
|
|
2082
|
+
}>;
|
|
2083
|
+
export type FairuFileQuery = {
|
|
2084
|
+
__typename: 'Query';
|
|
2085
|
+
fairuFile: {
|
|
2086
|
+
__typename: 'FairuAsset';
|
|
2087
|
+
id: string;
|
|
2088
|
+
name: string | null;
|
|
2089
|
+
mime: string | null;
|
|
2090
|
+
alt: string | null;
|
|
2091
|
+
caption: string | null;
|
|
2092
|
+
description: string | null;
|
|
2093
|
+
copyright_text: string | null;
|
|
2094
|
+
url: string | null;
|
|
2095
|
+
width: number | null;
|
|
2096
|
+
height: number | null;
|
|
2097
|
+
original_width: number | null;
|
|
2098
|
+
original_height: number | null;
|
|
2099
|
+
blurhash: string | null;
|
|
2100
|
+
focal_point: string | null;
|
|
2101
|
+
blocked: boolean | null;
|
|
2102
|
+
has_error: boolean | null;
|
|
2103
|
+
size: number | null;
|
|
2104
|
+
versions: Array<FairuAssetVideoVersions> | null;
|
|
2105
|
+
created_at: string | null;
|
|
2106
|
+
updated_at: string | null;
|
|
2107
|
+
copyrights: Array<{
|
|
2108
|
+
__typename: 'FairuCopyright';
|
|
2109
|
+
id: string;
|
|
2110
|
+
name: string | null;
|
|
2111
|
+
email: string | null;
|
|
2112
|
+
website: string | null;
|
|
2113
|
+
active: boolean | null;
|
|
2114
|
+
blocked: boolean | null;
|
|
2115
|
+
}> | null;
|
|
2116
|
+
licenses: Array<{
|
|
2117
|
+
__typename: 'FairuLicense';
|
|
2118
|
+
id: string;
|
|
2119
|
+
name: string | null;
|
|
2120
|
+
type: FairuLicenseType | null;
|
|
2121
|
+
start: string | null;
|
|
2122
|
+
end: string | null;
|
|
2123
|
+
active: boolean | null;
|
|
2124
|
+
}> | null;
|
|
2125
|
+
} | null;
|
|
2126
|
+
};
|
|
2127
|
+
export type FairuFileByPathQueryVariables = Exact<{
|
|
2128
|
+
path: Scalars['String']['input'];
|
|
2129
|
+
}>;
|
|
2130
|
+
export type FairuFileByPathQuery = {
|
|
2131
|
+
__typename: 'Query';
|
|
2132
|
+
fairuFileByPath: {
|
|
2133
|
+
__typename: 'FairuAsset';
|
|
2134
|
+
id: string;
|
|
2135
|
+
name: string | null;
|
|
2136
|
+
mime: string | null;
|
|
2137
|
+
alt: string | null;
|
|
2138
|
+
caption: string | null;
|
|
2139
|
+
description: string | null;
|
|
2140
|
+
copyright_text: string | null;
|
|
2141
|
+
url: string | null;
|
|
2142
|
+
width: number | null;
|
|
2143
|
+
height: number | null;
|
|
2144
|
+
original_width: number | null;
|
|
2145
|
+
original_height: number | null;
|
|
2146
|
+
blurhash: string | null;
|
|
2147
|
+
focal_point: string | null;
|
|
2148
|
+
blocked: boolean | null;
|
|
2149
|
+
has_error: boolean | null;
|
|
2150
|
+
size: number | null;
|
|
2151
|
+
versions: Array<FairuAssetVideoVersions> | null;
|
|
2152
|
+
created_at: string | null;
|
|
2153
|
+
updated_at: string | null;
|
|
2154
|
+
copyrights: Array<{
|
|
2155
|
+
__typename: 'FairuCopyright';
|
|
2156
|
+
id: string;
|
|
2157
|
+
name: string | null;
|
|
2158
|
+
email: string | null;
|
|
2159
|
+
website: string | null;
|
|
2160
|
+
active: boolean | null;
|
|
2161
|
+
blocked: boolean | null;
|
|
2162
|
+
}> | null;
|
|
2163
|
+
licenses: Array<{
|
|
2164
|
+
__typename: 'FairuLicense';
|
|
2165
|
+
id: string;
|
|
2166
|
+
name: string | null;
|
|
2167
|
+
type: FairuLicenseType | null;
|
|
2168
|
+
start: string | null;
|
|
2169
|
+
end: string | null;
|
|
2170
|
+
active: boolean | null;
|
|
2171
|
+
}> | null;
|
|
2172
|
+
} | null;
|
|
2173
|
+
};
|
|
2174
|
+
export type FairuFilesQueryVariables = Exact<{
|
|
2175
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
2176
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
2177
|
+
folder: InputMaybe<Scalars['ID']['input']>;
|
|
2178
|
+
}>;
|
|
2179
|
+
export type FairuFilesQuery = {
|
|
2180
|
+
__typename: 'Query';
|
|
2181
|
+
fairuFiles: {
|
|
2182
|
+
__typename: 'FairuAssetList';
|
|
2183
|
+
data: Array<{
|
|
2184
|
+
__typename: 'FairuAsset';
|
|
2185
|
+
id: string;
|
|
2186
|
+
name: string | null;
|
|
2187
|
+
mime: string | null;
|
|
2188
|
+
alt: string | null;
|
|
2189
|
+
caption: string | null;
|
|
2190
|
+
description: string | null;
|
|
2191
|
+
copyright_text: string | null;
|
|
2192
|
+
url: string | null;
|
|
2193
|
+
width: number | null;
|
|
2194
|
+
height: number | null;
|
|
2195
|
+
original_width: number | null;
|
|
2196
|
+
original_height: number | null;
|
|
2197
|
+
blurhash: string | null;
|
|
2198
|
+
focal_point: string | null;
|
|
2199
|
+
blocked: boolean | null;
|
|
2200
|
+
has_error: boolean | null;
|
|
2201
|
+
size: number | null;
|
|
2202
|
+
versions: Array<FairuAssetVideoVersions> | null;
|
|
2203
|
+
created_at: string | null;
|
|
2204
|
+
updated_at: string | null;
|
|
2205
|
+
}> | null;
|
|
2206
|
+
paginatorInfo: {
|
|
2207
|
+
__typename: 'DefaultPaginator';
|
|
2208
|
+
total: number | null;
|
|
2209
|
+
count: number | null;
|
|
2210
|
+
perPage: number | null;
|
|
2211
|
+
currentPage: number | null;
|
|
2212
|
+
lastPage: number | null;
|
|
2213
|
+
hasMorePages: boolean | null;
|
|
2214
|
+
firstItem: number | null;
|
|
2215
|
+
lastItem: number | null;
|
|
2216
|
+
} | null;
|
|
2217
|
+
} | null;
|
|
2218
|
+
};
|
|
2219
|
+
export type FairuMultipleFilesQueryVariables = Exact<{
|
|
2220
|
+
ids: InputMaybe<Array<Scalars['ID']['input']> | Scalars['ID']['input']>;
|
|
2221
|
+
}>;
|
|
2222
|
+
export type FairuMultipleFilesQuery = {
|
|
2223
|
+
__typename: 'Query';
|
|
2224
|
+
fairuMultipleFiles: Array<{
|
|
2225
|
+
__typename: 'FairuAsset';
|
|
2226
|
+
id: string;
|
|
2227
|
+
name: string | null;
|
|
2228
|
+
mime: string | null;
|
|
2229
|
+
alt: string | null;
|
|
2230
|
+
caption: string | null;
|
|
2231
|
+
description: string | null;
|
|
2232
|
+
copyright_text: string | null;
|
|
2233
|
+
url: string | null;
|
|
2234
|
+
width: number | null;
|
|
2235
|
+
height: number | null;
|
|
2236
|
+
original_width: number | null;
|
|
2237
|
+
original_height: number | null;
|
|
2238
|
+
blurhash: string | null;
|
|
2239
|
+
focal_point: string | null;
|
|
2240
|
+
blocked: boolean | null;
|
|
2241
|
+
has_error: boolean | null;
|
|
2242
|
+
size: number | null;
|
|
2243
|
+
versions: Array<FairuAssetVideoVersions> | null;
|
|
2244
|
+
created_at: string | null;
|
|
2245
|
+
updated_at: string | null;
|
|
2246
|
+
} | null> | null;
|
|
2247
|
+
};
|
|
2248
|
+
export type FairuFilesTotalSizeQueryVariables = Exact<{
|
|
2249
|
+
ids: Array<Scalars['ID']['input']> | Scalars['ID']['input'];
|
|
2250
|
+
}>;
|
|
2251
|
+
export type FairuFilesTotalSizeQuery = {
|
|
2252
|
+
__typename: 'Query';
|
|
2253
|
+
fairuFilesTotalSize: number;
|
|
2254
|
+
};
|
|
2255
|
+
export type FairuSearchQueryVariables = Exact<{
|
|
2256
|
+
search: Scalars['String']['input'];
|
|
2257
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
2258
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
2259
|
+
orderBy: InputMaybe<Scalars['String']['input']>;
|
|
2260
|
+
orderDirection: InputMaybe<FairuSortingDirection>;
|
|
2261
|
+
}>;
|
|
2262
|
+
export type FairuSearchQuery = {
|
|
2263
|
+
__typename: 'Query';
|
|
2264
|
+
fairuSearch: {
|
|
2265
|
+
__typename: 'FairuAssetList';
|
|
2266
|
+
data: Array<{
|
|
2267
|
+
__typename: 'FairuAsset';
|
|
2268
|
+
id: string;
|
|
2269
|
+
name: string | null;
|
|
2270
|
+
mime: string | null;
|
|
2271
|
+
alt: string | null;
|
|
2272
|
+
caption: string | null;
|
|
2273
|
+
description: string | null;
|
|
2274
|
+
copyright_text: string | null;
|
|
2275
|
+
url: string | null;
|
|
2276
|
+
width: number | null;
|
|
2277
|
+
height: number | null;
|
|
2278
|
+
original_width: number | null;
|
|
2279
|
+
original_height: number | null;
|
|
2280
|
+
blurhash: string | null;
|
|
2281
|
+
focal_point: string | null;
|
|
2282
|
+
blocked: boolean | null;
|
|
2283
|
+
has_error: boolean | null;
|
|
2284
|
+
size: number | null;
|
|
2285
|
+
versions: Array<FairuAssetVideoVersions> | null;
|
|
2286
|
+
created_at: string | null;
|
|
2287
|
+
updated_at: string | null;
|
|
2288
|
+
}> | null;
|
|
2289
|
+
paginatorInfo: {
|
|
2290
|
+
__typename: 'DefaultPaginator';
|
|
2291
|
+
total: number | null;
|
|
2292
|
+
count: number | null;
|
|
2293
|
+
perPage: number | null;
|
|
2294
|
+
currentPage: number | null;
|
|
2295
|
+
lastPage: number | null;
|
|
2296
|
+
hasMorePages: boolean | null;
|
|
2297
|
+
firstItem: number | null;
|
|
2298
|
+
lastItem: number | null;
|
|
2299
|
+
} | null;
|
|
2300
|
+
} | null;
|
|
2301
|
+
};
|
|
2302
|
+
export type FairuAllFilesFlatQueryVariables = Exact<{
|
|
2303
|
+
afterCursor: InputMaybe<Scalars['String']['input']>;
|
|
2304
|
+
limit: InputMaybe<Scalars['Int']['input']>;
|
|
2305
|
+
}>;
|
|
2306
|
+
export type FairuAllFilesFlatQuery = {
|
|
2307
|
+
__typename: 'Query';
|
|
2308
|
+
fairuAllFilesFlat: {
|
|
2309
|
+
__typename: 'FairuAllFilesFlatResult';
|
|
2310
|
+
nextCursor: string | null;
|
|
2311
|
+
hasMore: boolean;
|
|
2312
|
+
entries: Array<{
|
|
2313
|
+
__typename: 'FairuFlatEntry';
|
|
2314
|
+
id: string;
|
|
2315
|
+
name: string;
|
|
2316
|
+
path: string;
|
|
2317
|
+
size: number;
|
|
2318
|
+
mime: string | null;
|
|
2319
|
+
isFolder: boolean;
|
|
2320
|
+
updatedAt: string | null;
|
|
2321
|
+
}>;
|
|
2322
|
+
};
|
|
2323
|
+
};
|
|
2324
|
+
export type CopyrightCoreFragment = {
|
|
2325
|
+
__typename: 'FairuCopyright';
|
|
2326
|
+
id: string;
|
|
2327
|
+
name: string | null;
|
|
2328
|
+
email: string | null;
|
|
2329
|
+
phone: string | null;
|
|
2330
|
+
website: string | null;
|
|
2331
|
+
active: boolean | null;
|
|
2332
|
+
blocked: boolean | null;
|
|
2333
|
+
created_at: string | null;
|
|
2334
|
+
updated_at: string | null;
|
|
2335
|
+
};
|
|
2336
|
+
export type FairuCopyrightsQueryVariables = Exact<{
|
|
2337
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
2338
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
2339
|
+
}>;
|
|
2340
|
+
export type FairuCopyrightsQuery = {
|
|
2341
|
+
__typename: 'Query';
|
|
2342
|
+
fairuCopyrights: {
|
|
2343
|
+
__typename: 'FairuCopyrightList';
|
|
2344
|
+
data: Array<{
|
|
2345
|
+
__typename: 'FairuCopyright';
|
|
2346
|
+
id: string;
|
|
2347
|
+
name: string | null;
|
|
2348
|
+
email: string | null;
|
|
2349
|
+
phone: string | null;
|
|
2350
|
+
website: string | null;
|
|
2351
|
+
active: boolean | null;
|
|
2352
|
+
blocked: boolean | null;
|
|
2353
|
+
created_at: string | null;
|
|
2354
|
+
updated_at: string | null;
|
|
2355
|
+
}> | null;
|
|
2356
|
+
paginatorInfo: {
|
|
2357
|
+
__typename: 'DefaultPaginator';
|
|
2358
|
+
total: number | null;
|
|
2359
|
+
count: number | null;
|
|
2360
|
+
perPage: number | null;
|
|
2361
|
+
currentPage: number | null;
|
|
2362
|
+
lastPage: number | null;
|
|
2363
|
+
hasMorePages: boolean | null;
|
|
2364
|
+
firstItem: number | null;
|
|
2365
|
+
lastItem: number | null;
|
|
2366
|
+
} | null;
|
|
2367
|
+
} | null;
|
|
2368
|
+
};
|
|
2369
|
+
export type FairuCopyrightQueryVariables = Exact<{
|
|
2370
|
+
id: InputMaybe<Scalars['ID']['input']>;
|
|
2371
|
+
}>;
|
|
2372
|
+
export type FairuCopyrightQuery = {
|
|
2373
|
+
__typename: 'Query';
|
|
2374
|
+
fairuCopyright: {
|
|
2375
|
+
__typename: 'FairuCopyright';
|
|
2376
|
+
id: string;
|
|
2377
|
+
name: string | null;
|
|
2378
|
+
email: string | null;
|
|
2379
|
+
phone: string | null;
|
|
2380
|
+
website: string | null;
|
|
2381
|
+
active: boolean | null;
|
|
2382
|
+
blocked: boolean | null;
|
|
2383
|
+
created_at: string | null;
|
|
2384
|
+
updated_at: string | null;
|
|
2385
|
+
} | null;
|
|
2386
|
+
};
|
|
2387
|
+
export type DiskCoreFragment = {
|
|
2388
|
+
__typename: 'FairuDisk';
|
|
2389
|
+
id: string;
|
|
2390
|
+
name: string | null;
|
|
2391
|
+
type: FairuDiskType | null;
|
|
2392
|
+
path: string | null;
|
|
2393
|
+
pattern: string | null;
|
|
2394
|
+
delete_at_origin: boolean | null;
|
|
2395
|
+
healthy: boolean | null;
|
|
2396
|
+
syncing: boolean | null;
|
|
2397
|
+
active: boolean | null;
|
|
2398
|
+
created_at: string | null;
|
|
2399
|
+
updated_at: string | null;
|
|
2400
|
+
};
|
|
2401
|
+
export type DiskWithCredentialsFragment = {
|
|
2402
|
+
__typename: 'FairuDisk';
|
|
2403
|
+
id: string;
|
|
2404
|
+
name: string | null;
|
|
2405
|
+
type: FairuDiskType | null;
|
|
2406
|
+
path: string | null;
|
|
2407
|
+
pattern: string | null;
|
|
2408
|
+
delete_at_origin: boolean | null;
|
|
2409
|
+
healthy: boolean | null;
|
|
2410
|
+
syncing: boolean | null;
|
|
2411
|
+
active: boolean | null;
|
|
2412
|
+
created_at: string | null;
|
|
2413
|
+
updated_at: string | null;
|
|
2414
|
+
folder: {
|
|
2415
|
+
__typename: 'FairuFolder';
|
|
2416
|
+
id: string;
|
|
2417
|
+
name: string | null;
|
|
2418
|
+
} | null;
|
|
2419
|
+
credentials: {
|
|
2420
|
+
__typename: 'FairuDiskFTPCredentials';
|
|
2421
|
+
ftp_host: string | null;
|
|
2422
|
+
ftp_port: number | null;
|
|
2423
|
+
ftp_username: string | null;
|
|
2424
|
+
} | {
|
|
2425
|
+
__typename: 'FairuDiskS3Credentials';
|
|
2426
|
+
key: string | null;
|
|
2427
|
+
region: string | null;
|
|
2428
|
+
bucket: string | null;
|
|
2429
|
+
endpoint: string | null;
|
|
2430
|
+
url: string | null;
|
|
2431
|
+
} | null;
|
|
2432
|
+
};
|
|
2433
|
+
export type FairuDisksQueryVariables = Exact<{
|
|
2434
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
2435
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
2436
|
+
}>;
|
|
2437
|
+
export type FairuDisksQuery = {
|
|
2438
|
+
__typename: 'Query';
|
|
2439
|
+
fairuDisks: {
|
|
2440
|
+
__typename: 'FairuDiskList';
|
|
2441
|
+
data: Array<{
|
|
2442
|
+
__typename: 'FairuDisk';
|
|
2443
|
+
id: string;
|
|
2444
|
+
name: string | null;
|
|
2445
|
+
type: FairuDiskType | null;
|
|
2446
|
+
path: string | null;
|
|
2447
|
+
pattern: string | null;
|
|
2448
|
+
delete_at_origin: boolean | null;
|
|
2449
|
+
healthy: boolean | null;
|
|
2450
|
+
syncing: boolean | null;
|
|
2451
|
+
active: boolean | null;
|
|
2452
|
+
created_at: string | null;
|
|
2453
|
+
updated_at: string | null;
|
|
2454
|
+
}> | null;
|
|
2455
|
+
paginatorInfo: {
|
|
2456
|
+
__typename: 'DefaultPaginator';
|
|
2457
|
+
total: number | null;
|
|
2458
|
+
count: number | null;
|
|
2459
|
+
perPage: number | null;
|
|
2460
|
+
currentPage: number | null;
|
|
2461
|
+
lastPage: number | null;
|
|
2462
|
+
hasMorePages: boolean | null;
|
|
2463
|
+
firstItem: number | null;
|
|
2464
|
+
lastItem: number | null;
|
|
2465
|
+
} | null;
|
|
2466
|
+
} | null;
|
|
2467
|
+
};
|
|
2468
|
+
export type FairuDiskQueryVariables = Exact<{
|
|
2469
|
+
id: Scalars['ID']['input'];
|
|
2470
|
+
}>;
|
|
2471
|
+
export type FairuDiskQuery = {
|
|
2472
|
+
__typename: 'Query';
|
|
2473
|
+
fairuDisk: {
|
|
2474
|
+
__typename: 'FairuDisk';
|
|
2475
|
+
id: string;
|
|
2476
|
+
name: string | null;
|
|
2477
|
+
type: FairuDiskType | null;
|
|
2478
|
+
path: string | null;
|
|
2479
|
+
pattern: string | null;
|
|
2480
|
+
delete_at_origin: boolean | null;
|
|
2481
|
+
healthy: boolean | null;
|
|
2482
|
+
syncing: boolean | null;
|
|
2483
|
+
active: boolean | null;
|
|
2484
|
+
created_at: string | null;
|
|
2485
|
+
updated_at: string | null;
|
|
2486
|
+
folder: {
|
|
2487
|
+
__typename: 'FairuFolder';
|
|
2488
|
+
id: string;
|
|
2489
|
+
name: string | null;
|
|
2490
|
+
} | null;
|
|
2491
|
+
credentials: {
|
|
2492
|
+
__typename: 'FairuDiskFTPCredentials';
|
|
2493
|
+
ftp_host: string | null;
|
|
2494
|
+
ftp_port: number | null;
|
|
2495
|
+
ftp_username: string | null;
|
|
2496
|
+
} | {
|
|
2497
|
+
__typename: 'FairuDiskS3Credentials';
|
|
2498
|
+
key: string | null;
|
|
2499
|
+
region: string | null;
|
|
2500
|
+
bucket: string | null;
|
|
2501
|
+
endpoint: string | null;
|
|
2502
|
+
url: string | null;
|
|
2503
|
+
} | null;
|
|
2504
|
+
} | null;
|
|
2505
|
+
};
|
|
2506
|
+
export type FairuDiskStatusQueryVariables = Exact<{
|
|
2507
|
+
id: Scalars['ID']['input'];
|
|
2508
|
+
}>;
|
|
2509
|
+
export type FairuDiskStatusQuery = {
|
|
2510
|
+
__typename: 'Query';
|
|
2511
|
+
fairuDiskStatus: {
|
|
2512
|
+
__typename: 'FairuDiskStatus';
|
|
2513
|
+
id: string;
|
|
2514
|
+
syncing: boolean | null;
|
|
2515
|
+
open: number | null;
|
|
2516
|
+
pending: number | null;
|
|
2517
|
+
synced: number | null;
|
|
2518
|
+
failed: number | null;
|
|
2519
|
+
} | null;
|
|
2520
|
+
};
|
|
2521
|
+
export type DmcaCoreFragment = {
|
|
2522
|
+
__typename: 'FairuDmca';
|
|
2523
|
+
id: string;
|
|
2524
|
+
name: string | null;
|
|
2525
|
+
email: string | null;
|
|
2526
|
+
reply: string | null;
|
|
2527
|
+
reply_send: boolean | null;
|
|
2528
|
+
status: FairuDmcaStatus | null;
|
|
2529
|
+
};
|
|
2530
|
+
export type DmcaWithFileFragment = {
|
|
2531
|
+
__typename: 'FairuDmca';
|
|
2532
|
+
id: string;
|
|
2533
|
+
name: string | null;
|
|
2534
|
+
email: string | null;
|
|
2535
|
+
reply: string | null;
|
|
2536
|
+
reply_send: boolean | null;
|
|
2537
|
+
status: FairuDmcaStatus | null;
|
|
2538
|
+
file: {
|
|
2539
|
+
__typename: 'FairuAsset';
|
|
2540
|
+
id: string;
|
|
2541
|
+
name: string | null;
|
|
2542
|
+
url: string | null;
|
|
2543
|
+
} | null;
|
|
2544
|
+
};
|
|
2545
|
+
export type FairuDmcasQueryVariables = Exact<{
|
|
2546
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
2547
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
2548
|
+
}>;
|
|
2549
|
+
export type FairuDmcasQuery = {
|
|
2550
|
+
__typename: 'Query';
|
|
2551
|
+
fairuDmcas: {
|
|
2552
|
+
__typename: 'FairuDmcaList';
|
|
2553
|
+
data: Array<{
|
|
2554
|
+
__typename: 'FairuDmca';
|
|
2555
|
+
id: string;
|
|
2556
|
+
name: string | null;
|
|
2557
|
+
email: string | null;
|
|
2558
|
+
reply: string | null;
|
|
2559
|
+
reply_send: boolean | null;
|
|
2560
|
+
status: FairuDmcaStatus | null;
|
|
2561
|
+
}> | null;
|
|
2562
|
+
paginatorInfo: {
|
|
2563
|
+
__typename: 'DefaultPaginator';
|
|
2564
|
+
total: number | null;
|
|
2565
|
+
count: number | null;
|
|
2566
|
+
perPage: number | null;
|
|
2567
|
+
currentPage: number | null;
|
|
2568
|
+
lastPage: number | null;
|
|
2569
|
+
hasMorePages: boolean | null;
|
|
2570
|
+
firstItem: number | null;
|
|
2571
|
+
lastItem: number | null;
|
|
2572
|
+
} | null;
|
|
2573
|
+
} | null;
|
|
2574
|
+
};
|
|
2575
|
+
export type FairuDmcaQueryVariables = Exact<{
|
|
2576
|
+
id: Scalars['ID']['input'];
|
|
2577
|
+
}>;
|
|
2578
|
+
export type FairuDmcaQuery = {
|
|
2579
|
+
__typename: 'Query';
|
|
2580
|
+
fairuDmca: {
|
|
2581
|
+
__typename: 'FairuDmca';
|
|
2582
|
+
id: string;
|
|
2583
|
+
name: string | null;
|
|
2584
|
+
email: string | null;
|
|
2585
|
+
reply: string | null;
|
|
2586
|
+
reply_send: boolean | null;
|
|
2587
|
+
status: FairuDmcaStatus | null;
|
|
2588
|
+
file: {
|
|
2589
|
+
__typename: 'FairuAsset';
|
|
2590
|
+
id: string;
|
|
2591
|
+
name: string | null;
|
|
2592
|
+
url: string | null;
|
|
2593
|
+
} | null;
|
|
2594
|
+
} | null;
|
|
2595
|
+
};
|
|
2596
|
+
export type FolderCoreFragment = {
|
|
2597
|
+
__typename: 'FairuFolder';
|
|
2598
|
+
id: string;
|
|
2599
|
+
name: string | null;
|
|
2600
|
+
auto_assign_copyright: boolean | null;
|
|
2601
|
+
createdAt: string | null;
|
|
2602
|
+
updatedAt: string | null;
|
|
2603
|
+
};
|
|
2604
|
+
export type FolderWithCopyrightsFragment = {
|
|
2605
|
+
__typename: 'FairuFolder';
|
|
2606
|
+
id: string;
|
|
2607
|
+
name: string | null;
|
|
2608
|
+
auto_assign_copyright: boolean | null;
|
|
2609
|
+
createdAt: string | null;
|
|
2610
|
+
updatedAt: string | null;
|
|
2611
|
+
copyrights: Array<{
|
|
2612
|
+
__typename: 'FairuCopyright';
|
|
2613
|
+
id: string;
|
|
2614
|
+
name: string | null;
|
|
2615
|
+
email: string | null;
|
|
2616
|
+
active: boolean | null;
|
|
2617
|
+
} | null> | null;
|
|
2618
|
+
};
|
|
2619
|
+
export type FairuFolderQueryVariables = Exact<{
|
|
2620
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
2621
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
2622
|
+
folder: InputMaybe<Scalars['ID']['input']>;
|
|
2623
|
+
search: InputMaybe<Scalars['String']['input']>;
|
|
2624
|
+
globalSearch: InputMaybe<Scalars['Boolean']['input']>;
|
|
2625
|
+
orderBy: InputMaybe<Scalars['String']['input']>;
|
|
2626
|
+
orderDirection: InputMaybe<FairuSortingDirection>;
|
|
2627
|
+
onlyFolder: InputMaybe<Scalars['Boolean']['input']>;
|
|
2628
|
+
}>;
|
|
2629
|
+
export type FairuFolderQuery = {
|
|
2630
|
+
__typename: 'Query';
|
|
2631
|
+
fairuFolder: {
|
|
2632
|
+
__typename: 'FairuFolderList';
|
|
2633
|
+
data: Array<{
|
|
2634
|
+
__typename: 'FairuAsset';
|
|
2635
|
+
id: string;
|
|
2636
|
+
name: string | null;
|
|
2637
|
+
mime: string | null;
|
|
2638
|
+
alt: string | null;
|
|
2639
|
+
url: string | null;
|
|
2640
|
+
width: number | null;
|
|
2641
|
+
height: number | null;
|
|
2642
|
+
blurhash: string | null;
|
|
2643
|
+
focal_point: string | null;
|
|
2644
|
+
blocked: boolean | null;
|
|
2645
|
+
has_error: boolean | null;
|
|
2646
|
+
assetCreatedAt: string | null;
|
|
2647
|
+
assetUpdatedAt: string | null;
|
|
2648
|
+
} | {
|
|
2649
|
+
__typename: 'FairuFolder';
|
|
2650
|
+
id: string;
|
|
2651
|
+
name: string | null;
|
|
2652
|
+
auto_assign_copyright: boolean | null;
|
|
2653
|
+
folderCreatedAt: string | null;
|
|
2654
|
+
folderUpdatedAt: string | null;
|
|
2655
|
+
}> | null;
|
|
2656
|
+
paginatorInfo: {
|
|
2657
|
+
__typename: 'DefaultPaginator';
|
|
2658
|
+
total: number | null;
|
|
2659
|
+
count: number | null;
|
|
2660
|
+
perPage: number | null;
|
|
2661
|
+
currentPage: number | null;
|
|
2662
|
+
lastPage: number | null;
|
|
2663
|
+
hasMorePages: boolean | null;
|
|
2664
|
+
firstItem: number | null;
|
|
2665
|
+
lastItem: number | null;
|
|
2666
|
+
} | null;
|
|
2667
|
+
} | null;
|
|
2668
|
+
};
|
|
2669
|
+
export type FairuFolderByPathQueryVariables = Exact<{
|
|
2670
|
+
path: Scalars['String']['input'];
|
|
2671
|
+
}>;
|
|
2672
|
+
export type FairuFolderByPathQuery = {
|
|
2673
|
+
__typename: 'Query';
|
|
2674
|
+
fairuFolderByPath: {
|
|
2675
|
+
__typename: 'FairuFolder';
|
|
2676
|
+
id: string;
|
|
2677
|
+
name: string | null;
|
|
2678
|
+
auto_assign_copyright: boolean | null;
|
|
2679
|
+
createdAt: string | null;
|
|
2680
|
+
updatedAt: string | null;
|
|
2681
|
+
content: {
|
|
2682
|
+
__typename: 'FairuFolderList';
|
|
2683
|
+
data: Array<{
|
|
2684
|
+
__typename: 'FairuAsset';
|
|
2685
|
+
id: string;
|
|
2686
|
+
name: string | null;
|
|
2687
|
+
mime: string | null;
|
|
2688
|
+
url: string | null;
|
|
2689
|
+
width: number | null;
|
|
2690
|
+
height: number | null;
|
|
2691
|
+
blurhash: string | null;
|
|
2692
|
+
} | {
|
|
2693
|
+
__typename: 'FairuFolder';
|
|
2694
|
+
id: string;
|
|
2695
|
+
name: string | null;
|
|
2696
|
+
}> | null;
|
|
2697
|
+
paginatorInfo: {
|
|
2698
|
+
__typename: 'DefaultPaginator';
|
|
2699
|
+
total: number | null;
|
|
2700
|
+
hasMorePages: boolean | null;
|
|
2701
|
+
} | null;
|
|
2702
|
+
} | null;
|
|
2703
|
+
copyrights: Array<{
|
|
2704
|
+
__typename: 'FairuCopyright';
|
|
2705
|
+
id: string;
|
|
2706
|
+
name: string | null;
|
|
2707
|
+
email: string | null;
|
|
2708
|
+
active: boolean | null;
|
|
2709
|
+
} | null> | null;
|
|
2710
|
+
} | null;
|
|
2711
|
+
};
|
|
2712
|
+
export type FairuFolderAllAssetsQueryVariables = Exact<{
|
|
2713
|
+
path: Scalars['String']['input'];
|
|
2714
|
+
limit: InputMaybe<Scalars['Int']['input']>;
|
|
2715
|
+
}>;
|
|
2716
|
+
export type FairuFolderAllAssetsQuery = {
|
|
2717
|
+
__typename: 'Query';
|
|
2718
|
+
fairuFolderByPath: {
|
|
2719
|
+
__typename: 'FairuFolder';
|
|
2720
|
+
allAssets: Array<{
|
|
2721
|
+
__typename: 'FairuAsset';
|
|
2722
|
+
id: string;
|
|
2723
|
+
name: string | null;
|
|
2724
|
+
mime: string | null;
|
|
2725
|
+
url: string | null;
|
|
2726
|
+
}> | null;
|
|
2727
|
+
} | null;
|
|
2728
|
+
};
|
|
2729
|
+
export type GalleryCoreFragment = {
|
|
2730
|
+
__typename: 'FairuGallery';
|
|
2731
|
+
id: string;
|
|
2732
|
+
name: string | null;
|
|
2733
|
+
description: string | null;
|
|
2734
|
+
date: string | null;
|
|
2735
|
+
location: string | null;
|
|
2736
|
+
sorting_direction: string | null;
|
|
2737
|
+
sorting_field: string | null;
|
|
2738
|
+
copyright_text: string | null;
|
|
2739
|
+
active: boolean | null;
|
|
2740
|
+
exclude_from_list: boolean | null;
|
|
2741
|
+
};
|
|
2742
|
+
export type GalleryWithItemsFragment = {
|
|
2743
|
+
__typename: 'FairuGallery';
|
|
2744
|
+
id: string;
|
|
2745
|
+
name: string | null;
|
|
2746
|
+
description: string | null;
|
|
2747
|
+
date: string | null;
|
|
2748
|
+
location: string | null;
|
|
2749
|
+
sorting_direction: string | null;
|
|
2750
|
+
sorting_field: string | null;
|
|
2751
|
+
copyright_text: string | null;
|
|
2752
|
+
active: boolean | null;
|
|
2753
|
+
exclude_from_list: boolean | null;
|
|
2754
|
+
items: Array<{
|
|
2755
|
+
__typename: 'FairuAsset';
|
|
2756
|
+
id: string;
|
|
2757
|
+
name: string | null;
|
|
2758
|
+
mime: string | null;
|
|
2759
|
+
url: string | null;
|
|
2760
|
+
width: number | null;
|
|
2761
|
+
height: number | null;
|
|
2762
|
+
blurhash: string | null;
|
|
2763
|
+
focal_point: string | null;
|
|
2764
|
+
}> | null;
|
|
2765
|
+
cover_image: {
|
|
2766
|
+
__typename: 'FairuAsset';
|
|
2767
|
+
id: string;
|
|
2768
|
+
name: string | null;
|
|
2769
|
+
url: string | null;
|
|
2770
|
+
width: number | null;
|
|
2771
|
+
height: number | null;
|
|
2772
|
+
blurhash: string | null;
|
|
2773
|
+
} | null;
|
|
2774
|
+
copyrights: Array<{
|
|
2775
|
+
__typename: 'FairuCopyright';
|
|
2776
|
+
id: string;
|
|
2777
|
+
name: string | null;
|
|
2778
|
+
email: string | null;
|
|
2779
|
+
website: string | null;
|
|
2780
|
+
}> | null;
|
|
2781
|
+
};
|
|
2782
|
+
export type FairuGalleryQueryVariables = Exact<{
|
|
2783
|
+
id: Scalars['ID']['input'];
|
|
2784
|
+
}>;
|
|
2785
|
+
export type FairuGalleryQuery = {
|
|
2786
|
+
__typename: 'Query';
|
|
2787
|
+
fairuGallery: {
|
|
2788
|
+
__typename: 'FairuGallery';
|
|
2789
|
+
id: string;
|
|
2790
|
+
name: string | null;
|
|
2791
|
+
description: string | null;
|
|
2792
|
+
date: string | null;
|
|
2793
|
+
location: string | null;
|
|
2794
|
+
sorting_direction: string | null;
|
|
2795
|
+
sorting_field: string | null;
|
|
2796
|
+
copyright_text: string | null;
|
|
2797
|
+
active: boolean | null;
|
|
2798
|
+
exclude_from_list: boolean | null;
|
|
2799
|
+
items: Array<{
|
|
2800
|
+
__typename: 'FairuAsset';
|
|
2801
|
+
id: string;
|
|
2802
|
+
name: string | null;
|
|
2803
|
+
mime: string | null;
|
|
2804
|
+
url: string | null;
|
|
2805
|
+
width: number | null;
|
|
2806
|
+
height: number | null;
|
|
2807
|
+
blurhash: string | null;
|
|
2808
|
+
focal_point: string | null;
|
|
2809
|
+
}> | null;
|
|
2810
|
+
cover_image: {
|
|
2811
|
+
__typename: 'FairuAsset';
|
|
2812
|
+
id: string;
|
|
2813
|
+
name: string | null;
|
|
2814
|
+
url: string | null;
|
|
2815
|
+
width: number | null;
|
|
2816
|
+
height: number | null;
|
|
2817
|
+
blurhash: string | null;
|
|
2818
|
+
} | null;
|
|
2819
|
+
copyrights: Array<{
|
|
2820
|
+
__typename: 'FairuCopyright';
|
|
2821
|
+
id: string;
|
|
2822
|
+
name: string | null;
|
|
2823
|
+
email: string | null;
|
|
2824
|
+
website: string | null;
|
|
2825
|
+
}> | null;
|
|
2826
|
+
} | null;
|
|
2827
|
+
};
|
|
2828
|
+
export type FairuGalleriesQueryVariables = Exact<{
|
|
2829
|
+
tenants: Array<Scalars['ID']['input']> | Scalars['ID']['input'];
|
|
2830
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
2831
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
2832
|
+
from: InputMaybe<Scalars['String']['input']>;
|
|
2833
|
+
until: InputMaybe<Scalars['String']['input']>;
|
|
2834
|
+
search: InputMaybe<Scalars['String']['input']>;
|
|
2835
|
+
orderBy: InputMaybe<Scalars['String']['input']>;
|
|
2836
|
+
orderDirection: InputMaybe<Scalars['String']['input']>;
|
|
2837
|
+
}>;
|
|
2838
|
+
export type FairuGalleriesQuery = {
|
|
2839
|
+
__typename: 'Query';
|
|
2840
|
+
fairuGalleries: {
|
|
2841
|
+
__typename: 'FairuGalleryList';
|
|
2842
|
+
data: Array<{
|
|
2843
|
+
__typename: 'FairuGallery';
|
|
2844
|
+
id: string;
|
|
2845
|
+
name: string | null;
|
|
2846
|
+
description: string | null;
|
|
2847
|
+
date: string | null;
|
|
2848
|
+
location: string | null;
|
|
2849
|
+
sorting_direction: string | null;
|
|
2850
|
+
sorting_field: string | null;
|
|
2851
|
+
copyright_text: string | null;
|
|
2852
|
+
active: boolean | null;
|
|
2853
|
+
exclude_from_list: boolean | null;
|
|
2854
|
+
cover_image: {
|
|
2855
|
+
__typename: 'FairuAsset';
|
|
2856
|
+
id: string;
|
|
2857
|
+
url: string | null;
|
|
2858
|
+
width: number | null;
|
|
2859
|
+
height: number | null;
|
|
2860
|
+
blurhash: string | null;
|
|
2861
|
+
} | null;
|
|
2862
|
+
}> | null;
|
|
2863
|
+
paginatorInfo: {
|
|
2864
|
+
__typename: 'DefaultPaginator';
|
|
2865
|
+
total: number | null;
|
|
2866
|
+
count: number | null;
|
|
2867
|
+
perPage: number | null;
|
|
2868
|
+
currentPage: number | null;
|
|
2869
|
+
lastPage: number | null;
|
|
2870
|
+
hasMorePages: boolean | null;
|
|
2871
|
+
firstItem: number | null;
|
|
2872
|
+
lastItem: number | null;
|
|
2873
|
+
} | null;
|
|
2874
|
+
} | null;
|
|
2875
|
+
};
|
|
2876
|
+
export type FairuGalleryItemsPaginatedQueryVariables = Exact<{
|
|
2877
|
+
id: Scalars['ID']['input'];
|
|
2878
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
2879
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
2880
|
+
orderBy: InputMaybe<Scalars['String']['input']>;
|
|
2881
|
+
orderDirection: InputMaybe<Scalars['String']['input']>;
|
|
2882
|
+
}>;
|
|
2883
|
+
export type FairuGalleryItemsPaginatedQuery = {
|
|
2884
|
+
__typename: 'Query';
|
|
2885
|
+
fairuGallery: {
|
|
2886
|
+
__typename: 'FairuGallery';
|
|
2887
|
+
id: string;
|
|
2888
|
+
name: string | null;
|
|
2889
|
+
itemsPaginated: {
|
|
2890
|
+
__typename: 'FairuGalleryItemList';
|
|
2891
|
+
data: Array<{
|
|
2892
|
+
__typename: 'FairuAsset';
|
|
2893
|
+
id: string;
|
|
2894
|
+
name: string | null;
|
|
2895
|
+
mime: string | null;
|
|
2896
|
+
url: string | null;
|
|
2897
|
+
width: number | null;
|
|
2898
|
+
height: number | null;
|
|
2899
|
+
blurhash: string | null;
|
|
2900
|
+
focal_point: string | null;
|
|
2901
|
+
alt: string | null;
|
|
2902
|
+
caption: string | null;
|
|
2903
|
+
}> | null;
|
|
2904
|
+
paginatorInfo: {
|
|
2905
|
+
__typename: 'DefaultPaginator';
|
|
2906
|
+
total: number | null;
|
|
2907
|
+
count: number | null;
|
|
2908
|
+
perPage: number | null;
|
|
2909
|
+
currentPage: number | null;
|
|
2910
|
+
lastPage: number | null;
|
|
2911
|
+
hasMorePages: boolean | null;
|
|
2912
|
+
firstItem: number | null;
|
|
2913
|
+
lastItem: number | null;
|
|
2914
|
+
} | null;
|
|
2915
|
+
} | null;
|
|
2916
|
+
} | null;
|
|
2917
|
+
};
|
|
2918
|
+
export type LicenseCoreFragment = {
|
|
2919
|
+
__typename: 'FairuLicense';
|
|
2920
|
+
id: string;
|
|
2921
|
+
name: string | null;
|
|
2922
|
+
type: FairuLicenseType | null;
|
|
2923
|
+
interval: number | null;
|
|
2924
|
+
default: boolean | null;
|
|
2925
|
+
active: boolean | null;
|
|
2926
|
+
start: string | null;
|
|
2927
|
+
end: string | null;
|
|
2928
|
+
days: number | null;
|
|
2929
|
+
replace_license: boolean | null;
|
|
2930
|
+
replace_date: string | null;
|
|
2931
|
+
created_at: string | null;
|
|
2932
|
+
updated_at: string | null;
|
|
2933
|
+
};
|
|
2934
|
+
export type LicenseWithRelationsFragment = {
|
|
2935
|
+
__typename: 'FairuLicense';
|
|
2936
|
+
id: string;
|
|
2937
|
+
name: string | null;
|
|
2938
|
+
type: FairuLicenseType | null;
|
|
2939
|
+
interval: number | null;
|
|
2940
|
+
default: boolean | null;
|
|
2941
|
+
active: boolean | null;
|
|
2942
|
+
start: string | null;
|
|
2943
|
+
end: string | null;
|
|
2944
|
+
days: number | null;
|
|
2945
|
+
replace_license: boolean | null;
|
|
2946
|
+
replace_date: string | null;
|
|
2947
|
+
created_at: string | null;
|
|
2948
|
+
updated_at: string | null;
|
|
2949
|
+
copyright: {
|
|
2950
|
+
__typename: 'FairuCopyright';
|
|
2951
|
+
id: string;
|
|
2952
|
+
name: string | null;
|
|
2953
|
+
email: string | null;
|
|
2954
|
+
} | null;
|
|
2955
|
+
replace_license_entry: {
|
|
2956
|
+
__typename: 'FairuLicense';
|
|
2957
|
+
id: string;
|
|
2958
|
+
name: string | null;
|
|
2959
|
+
} | null;
|
|
2960
|
+
replaced_by_license_entry: {
|
|
2961
|
+
__typename: 'FairuLicense';
|
|
2962
|
+
id: string;
|
|
2963
|
+
name: string | null;
|
|
2964
|
+
} | null;
|
|
2965
|
+
};
|
|
2966
|
+
export type FairuLicensesQueryVariables = Exact<{
|
|
2967
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
2968
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
2969
|
+
}>;
|
|
2970
|
+
export type FairuLicensesQuery = {
|
|
2971
|
+
__typename: 'Query';
|
|
2972
|
+
fairuLicenses: {
|
|
2973
|
+
__typename: 'FairuLicenseList';
|
|
2974
|
+
data: Array<{
|
|
2975
|
+
__typename: 'FairuLicense';
|
|
2976
|
+
id: string;
|
|
2977
|
+
name: string | null;
|
|
2978
|
+
type: FairuLicenseType | null;
|
|
2979
|
+
interval: number | null;
|
|
2980
|
+
default: boolean | null;
|
|
2981
|
+
active: boolean | null;
|
|
2982
|
+
start: string | null;
|
|
2983
|
+
end: string | null;
|
|
2984
|
+
days: number | null;
|
|
2985
|
+
replace_license: boolean | null;
|
|
2986
|
+
replace_date: string | null;
|
|
2987
|
+
created_at: string | null;
|
|
2988
|
+
updated_at: string | null;
|
|
2989
|
+
copyright: {
|
|
2990
|
+
__typename: 'FairuCopyright';
|
|
2991
|
+
id: string;
|
|
2992
|
+
name: string | null;
|
|
2993
|
+
email: string | null;
|
|
2994
|
+
} | null;
|
|
2995
|
+
replace_license_entry: {
|
|
2996
|
+
__typename: 'FairuLicense';
|
|
2997
|
+
id: string;
|
|
2998
|
+
name: string | null;
|
|
2999
|
+
} | null;
|
|
3000
|
+
replaced_by_license_entry: {
|
|
3001
|
+
__typename: 'FairuLicense';
|
|
3002
|
+
id: string;
|
|
3003
|
+
name: string | null;
|
|
3004
|
+
} | null;
|
|
3005
|
+
}> | null;
|
|
3006
|
+
paginatorInfo: {
|
|
3007
|
+
__typename: 'DefaultPaginator';
|
|
3008
|
+
total: number | null;
|
|
3009
|
+
count: number | null;
|
|
3010
|
+
perPage: number | null;
|
|
3011
|
+
currentPage: number | null;
|
|
3012
|
+
lastPage: number | null;
|
|
3013
|
+
hasMorePages: boolean | null;
|
|
3014
|
+
firstItem: number | null;
|
|
3015
|
+
lastItem: number | null;
|
|
3016
|
+
} | null;
|
|
3017
|
+
} | null;
|
|
3018
|
+
};
|
|
3019
|
+
export type FairuLicenseQueryVariables = Exact<{
|
|
3020
|
+
id: InputMaybe<Scalars['ID']['input']>;
|
|
3021
|
+
}>;
|
|
3022
|
+
export type FairuLicenseQuery = {
|
|
3023
|
+
__typename: 'Query';
|
|
3024
|
+
fairuLicense: {
|
|
3025
|
+
__typename: 'FairuLicense';
|
|
3026
|
+
id: string;
|
|
3027
|
+
name: string | null;
|
|
3028
|
+
type: FairuLicenseType | null;
|
|
3029
|
+
interval: number | null;
|
|
3030
|
+
default: boolean | null;
|
|
3031
|
+
active: boolean | null;
|
|
3032
|
+
start: string | null;
|
|
3033
|
+
end: string | null;
|
|
3034
|
+
days: number | null;
|
|
3035
|
+
replace_license: boolean | null;
|
|
3036
|
+
replace_date: string | null;
|
|
3037
|
+
created_at: string | null;
|
|
3038
|
+
updated_at: string | null;
|
|
3039
|
+
copyright: {
|
|
3040
|
+
__typename: 'FairuCopyright';
|
|
3041
|
+
id: string;
|
|
3042
|
+
name: string | null;
|
|
3043
|
+
email: string | null;
|
|
3044
|
+
} | null;
|
|
3045
|
+
replace_license_entry: {
|
|
3046
|
+
__typename: 'FairuLicense';
|
|
3047
|
+
id: string;
|
|
3048
|
+
name: string | null;
|
|
3049
|
+
} | null;
|
|
3050
|
+
replaced_by_license_entry: {
|
|
3051
|
+
__typename: 'FairuLicense';
|
|
3052
|
+
id: string;
|
|
3053
|
+
name: string | null;
|
|
3054
|
+
} | null;
|
|
3055
|
+
} | null;
|
|
3056
|
+
};
|
|
3057
|
+
export type RakuCredentialCoreFragment = {
|
|
3058
|
+
__typename: 'FairuRakuCredential';
|
|
3059
|
+
id: string;
|
|
3060
|
+
name: string | null;
|
|
3061
|
+
access_key_id: string;
|
|
3062
|
+
bucket: string | null;
|
|
3063
|
+
permissions: Array<string>;
|
|
3064
|
+
active: boolean;
|
|
3065
|
+
last_used_at: string | null;
|
|
3066
|
+
expires_at: string | null;
|
|
3067
|
+
created_at: string;
|
|
3068
|
+
};
|
|
3069
|
+
export type FairuRakuCredentialsQueryVariables = Exact<{
|
|
3070
|
+
[key: string]: never;
|
|
3071
|
+
}>;
|
|
3072
|
+
export type FairuRakuCredentialsQuery = {
|
|
3073
|
+
__typename: 'Query';
|
|
3074
|
+
fairuRakuCredentials: Array<{
|
|
3075
|
+
__typename: 'FairuRakuCredential';
|
|
3076
|
+
id: string;
|
|
3077
|
+
name: string | null;
|
|
3078
|
+
access_key_id: string;
|
|
3079
|
+
bucket: string | null;
|
|
3080
|
+
permissions: Array<string>;
|
|
3081
|
+
active: boolean;
|
|
3082
|
+
last_used_at: string | null;
|
|
3083
|
+
expires_at: string | null;
|
|
3084
|
+
created_at: string;
|
|
3085
|
+
}>;
|
|
3086
|
+
};
|
|
3087
|
+
export type RoleCoreFragment = {
|
|
3088
|
+
__typename: 'FairuRole';
|
|
3089
|
+
id: string;
|
|
3090
|
+
name: string | null;
|
|
3091
|
+
permissions: Array<string> | null;
|
|
3092
|
+
created_at: string | null;
|
|
3093
|
+
updated_at: string | null;
|
|
3094
|
+
};
|
|
3095
|
+
export type FairuRolesQueryVariables = Exact<{
|
|
3096
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
3097
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
3098
|
+
}>;
|
|
3099
|
+
export type FairuRolesQuery = {
|
|
3100
|
+
__typename: 'Query';
|
|
3101
|
+
fairuRoles: {
|
|
3102
|
+
__typename: 'FairuRoleList';
|
|
3103
|
+
data: Array<{
|
|
3104
|
+
__typename: 'FairuRole';
|
|
3105
|
+
id: string;
|
|
3106
|
+
name: string | null;
|
|
3107
|
+
permissions: Array<string> | null;
|
|
3108
|
+
created_at: string | null;
|
|
3109
|
+
updated_at: string | null;
|
|
3110
|
+
}> | null;
|
|
3111
|
+
paginatorInfo: {
|
|
3112
|
+
__typename: 'DefaultPaginator';
|
|
3113
|
+
total: number | null;
|
|
3114
|
+
count: number | null;
|
|
3115
|
+
perPage: number | null;
|
|
3116
|
+
currentPage: number | null;
|
|
3117
|
+
lastPage: number | null;
|
|
3118
|
+
hasMorePages: boolean | null;
|
|
3119
|
+
firstItem: number | null;
|
|
3120
|
+
lastItem: number | null;
|
|
3121
|
+
} | null;
|
|
3122
|
+
} | null;
|
|
3123
|
+
};
|
|
3124
|
+
export type FairuRoleQueryVariables = Exact<{
|
|
3125
|
+
id: Scalars['ID']['input'];
|
|
3126
|
+
}>;
|
|
3127
|
+
export type FairuRoleQuery = {
|
|
3128
|
+
__typename: 'Query';
|
|
3129
|
+
fairuRole: {
|
|
3130
|
+
__typename: 'FairuRole';
|
|
3131
|
+
id: string;
|
|
3132
|
+
name: string | null;
|
|
3133
|
+
permissions: Array<string> | null;
|
|
3134
|
+
created_at: string | null;
|
|
3135
|
+
updated_at: string | null;
|
|
3136
|
+
} | null;
|
|
3137
|
+
};
|
|
3138
|
+
export type TenantCoreFragment = {
|
|
3139
|
+
__typename: 'FairuTenant';
|
|
3140
|
+
id: string;
|
|
3141
|
+
name: string | null;
|
|
3142
|
+
use_ai: boolean | null;
|
|
3143
|
+
use_ai_onupload: boolean | null;
|
|
3144
|
+
ai_language: string | null;
|
|
3145
|
+
force_file_alt: boolean | null;
|
|
3146
|
+
force_file_description: boolean | null;
|
|
3147
|
+
force_file_caption: boolean | null;
|
|
3148
|
+
force_filce_copyright: boolean | null;
|
|
3149
|
+
force_file_policy: boolean | null;
|
|
3150
|
+
block_files_with_error: boolean | null;
|
|
3151
|
+
force_license: boolean | null;
|
|
3152
|
+
custom_domain: string | null;
|
|
3153
|
+
custom_domain_verified: boolean | null;
|
|
3154
|
+
custom_domain_status: FairuCustomDomainStatus | null;
|
|
3155
|
+
webhook_url: string | null;
|
|
3156
|
+
webhook_type: FairuWebhookType | null;
|
|
3157
|
+
created_at: string | null;
|
|
3158
|
+
updated_at: string | null;
|
|
3159
|
+
trial_ends_at: string | null;
|
|
3160
|
+
};
|
|
3161
|
+
export type TenantWithAvatarFragment = {
|
|
3162
|
+
__typename: 'FairuTenant';
|
|
3163
|
+
id: string;
|
|
3164
|
+
name: string | null;
|
|
3165
|
+
use_ai: boolean | null;
|
|
3166
|
+
use_ai_onupload: boolean | null;
|
|
3167
|
+
ai_language: string | null;
|
|
3168
|
+
force_file_alt: boolean | null;
|
|
3169
|
+
force_file_description: boolean | null;
|
|
3170
|
+
force_file_caption: boolean | null;
|
|
3171
|
+
force_filce_copyright: boolean | null;
|
|
3172
|
+
force_file_policy: boolean | null;
|
|
3173
|
+
block_files_with_error: boolean | null;
|
|
3174
|
+
force_license: boolean | null;
|
|
3175
|
+
custom_domain: string | null;
|
|
3176
|
+
custom_domain_verified: boolean | null;
|
|
3177
|
+
custom_domain_status: FairuCustomDomainStatus | null;
|
|
3178
|
+
webhook_url: string | null;
|
|
3179
|
+
webhook_type: FairuWebhookType | null;
|
|
3180
|
+
created_at: string | null;
|
|
3181
|
+
updated_at: string | null;
|
|
3182
|
+
trial_ends_at: string | null;
|
|
3183
|
+
avatar: {
|
|
3184
|
+
__typename: 'FairuAsset';
|
|
3185
|
+
id: string;
|
|
3186
|
+
url: string | null;
|
|
3187
|
+
width: number | null;
|
|
3188
|
+
height: number | null;
|
|
3189
|
+
} | null;
|
|
3190
|
+
};
|
|
3191
|
+
export type FairuTenantQueryVariables = Exact<{
|
|
3192
|
+
[key: string]: never;
|
|
3193
|
+
}>;
|
|
3194
|
+
export type FairuTenantQuery = {
|
|
3195
|
+
__typename: 'Query';
|
|
3196
|
+
fairuTenant: {
|
|
3197
|
+
__typename: 'FairuTenant';
|
|
3198
|
+
id: string;
|
|
3199
|
+
name: string | null;
|
|
3200
|
+
use_ai: boolean | null;
|
|
3201
|
+
use_ai_onupload: boolean | null;
|
|
3202
|
+
ai_language: string | null;
|
|
3203
|
+
force_file_alt: boolean | null;
|
|
3204
|
+
force_file_description: boolean | null;
|
|
3205
|
+
force_file_caption: boolean | null;
|
|
3206
|
+
force_filce_copyright: boolean | null;
|
|
3207
|
+
force_file_policy: boolean | null;
|
|
3208
|
+
block_files_with_error: boolean | null;
|
|
3209
|
+
force_license: boolean | null;
|
|
3210
|
+
custom_domain: string | null;
|
|
3211
|
+
custom_domain_verified: boolean | null;
|
|
3212
|
+
custom_domain_status: FairuCustomDomainStatus | null;
|
|
3213
|
+
webhook_url: string | null;
|
|
3214
|
+
webhook_type: FairuWebhookType | null;
|
|
3215
|
+
created_at: string | null;
|
|
3216
|
+
updated_at: string | null;
|
|
3217
|
+
trial_ends_at: string | null;
|
|
3218
|
+
avatar: {
|
|
3219
|
+
__typename: 'FairuAsset';
|
|
3220
|
+
id: string;
|
|
3221
|
+
url: string | null;
|
|
3222
|
+
width: number | null;
|
|
3223
|
+
height: number | null;
|
|
3224
|
+
} | null;
|
|
3225
|
+
} | null;
|
|
3226
|
+
};
|
|
3227
|
+
export type FairuHealthCheckQueryVariables = Exact<{
|
|
3228
|
+
[key: string]: never;
|
|
3229
|
+
}>;
|
|
3230
|
+
export type FairuHealthCheckQuery = {
|
|
3231
|
+
__typename: 'Query';
|
|
3232
|
+
fairuHealthCheck: {
|
|
3233
|
+
__typename: 'FairuHealthStatus';
|
|
3234
|
+
version: string | null;
|
|
3235
|
+
healthy: boolean | null;
|
|
3236
|
+
} | null;
|
|
3237
|
+
};
|
|
3238
|
+
export type FairuSupportedDomainsQueryVariables = Exact<{
|
|
3239
|
+
[key: string]: never;
|
|
3240
|
+
}>;
|
|
3241
|
+
export type FairuSupportedDomainsQuery = {
|
|
3242
|
+
__typename: 'Query';
|
|
3243
|
+
fairuSupportedDomains: Array<string>;
|
|
3244
|
+
};
|
|
3245
|
+
export type UserCoreFragment = {
|
|
3246
|
+
__typename: 'FairuUser';
|
|
3247
|
+
id: string;
|
|
3248
|
+
name: string | null;
|
|
3249
|
+
email: string | null;
|
|
3250
|
+
status: FairuUserStatus | null;
|
|
3251
|
+
owner: boolean | null;
|
|
3252
|
+
};
|
|
3253
|
+
export type FairuUsersQueryVariables = Exact<{
|
|
3254
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
3255
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
3256
|
+
}>;
|
|
3257
|
+
export type FairuUsersQuery = {
|
|
3258
|
+
__typename: 'Query';
|
|
3259
|
+
fairuUsers: {
|
|
3260
|
+
__typename: 'FairuUserList';
|
|
3261
|
+
data: Array<{
|
|
3262
|
+
__typename: 'FairuUser';
|
|
3263
|
+
id: string;
|
|
3264
|
+
name: string | null;
|
|
3265
|
+
email: string | null;
|
|
3266
|
+
status: FairuUserStatus | null;
|
|
3267
|
+
owner: boolean | null;
|
|
3268
|
+
}> | null;
|
|
3269
|
+
paginatorInfo: {
|
|
3270
|
+
__typename: 'DefaultPaginator';
|
|
3271
|
+
total: number | null;
|
|
3272
|
+
count: number | null;
|
|
3273
|
+
perPage: number | null;
|
|
3274
|
+
currentPage: number | null;
|
|
3275
|
+
lastPage: number | null;
|
|
3276
|
+
hasMorePages: boolean | null;
|
|
3277
|
+
firstItem: number | null;
|
|
3278
|
+
lastItem: number | null;
|
|
3279
|
+
} | null;
|
|
3280
|
+
} | null;
|
|
3281
|
+
};
|
|
3282
|
+
export type FairuUserQueryVariables = Exact<{
|
|
3283
|
+
id: Scalars['ID']['input'];
|
|
3284
|
+
}>;
|
|
3285
|
+
export type FairuUserQuery = {
|
|
3286
|
+
__typename: 'Query';
|
|
3287
|
+
fairuUser: {
|
|
3288
|
+
__typename: 'FairuUser';
|
|
3289
|
+
id: string;
|
|
3290
|
+
name: string | null;
|
|
3291
|
+
email: string | null;
|
|
3292
|
+
status: FairuUserStatus | null;
|
|
3293
|
+
owner: boolean | null;
|
|
3294
|
+
} | null;
|
|
3295
|
+
};
|
|
3296
|
+
export type WorkflowCoreFragment = {
|
|
3297
|
+
__typename: 'FairuWorkflow';
|
|
3298
|
+
id: string;
|
|
3299
|
+
name: string | null;
|
|
3300
|
+
type: FairuWorkflowType;
|
|
3301
|
+
active: boolean | null;
|
|
3302
|
+
status: FairuWorkflowStatus;
|
|
3303
|
+
has_error: boolean | null;
|
|
3304
|
+
last_at: string | null;
|
|
3305
|
+
created_at: string | null;
|
|
3306
|
+
updated_at: string | null;
|
|
3307
|
+
};
|
|
3308
|
+
export type FairuWorkflowsQueryVariables = Exact<{
|
|
3309
|
+
page: InputMaybe<Scalars['Int']['input']>;
|
|
3310
|
+
perPage: InputMaybe<Scalars['Int']['input']>;
|
|
3311
|
+
}>;
|
|
3312
|
+
export type FairuWorkflowsQuery = {
|
|
3313
|
+
__typename: 'Query';
|
|
3314
|
+
fairuWorkflows: {
|
|
3315
|
+
__typename: 'FairuWorkflowList';
|
|
3316
|
+
data: Array<{
|
|
3317
|
+
__typename: 'FairuWorkflow';
|
|
3318
|
+
id: string;
|
|
3319
|
+
name: string | null;
|
|
3320
|
+
type: FairuWorkflowType;
|
|
3321
|
+
active: boolean | null;
|
|
3322
|
+
status: FairuWorkflowStatus;
|
|
3323
|
+
has_error: boolean | null;
|
|
3324
|
+
last_at: string | null;
|
|
3325
|
+
created_at: string | null;
|
|
3326
|
+
updated_at: string | null;
|
|
3327
|
+
}> | null;
|
|
3328
|
+
paginatorInfo: {
|
|
3329
|
+
__typename: 'DefaultPaginator';
|
|
3330
|
+
total: number | null;
|
|
3331
|
+
count: number | null;
|
|
3332
|
+
perPage: number | null;
|
|
3333
|
+
currentPage: number | null;
|
|
3334
|
+
lastPage: number | null;
|
|
3335
|
+
hasMorePages: boolean | null;
|
|
3336
|
+
firstItem: number | null;
|
|
3337
|
+
lastItem: number | null;
|
|
3338
|
+
} | null;
|
|
3339
|
+
} | null;
|
|
3340
|
+
};
|
|
3341
|
+
export type FairuWorkflowQueryVariables = Exact<{
|
|
3342
|
+
id: Scalars['ID']['input'];
|
|
3343
|
+
}>;
|
|
3344
|
+
export type FairuWorkflowQuery = {
|
|
3345
|
+
__typename: 'Query';
|
|
3346
|
+
fairuWorkflow: {
|
|
3347
|
+
__typename: 'FairuWorkflow';
|
|
3348
|
+
id: string;
|
|
3349
|
+
name: string | null;
|
|
3350
|
+
type: FairuWorkflowType;
|
|
3351
|
+
active: boolean | null;
|
|
3352
|
+
status: FairuWorkflowStatus;
|
|
3353
|
+
has_error: boolean | null;
|
|
3354
|
+
last_at: string | null;
|
|
3355
|
+
created_at: string | null;
|
|
3356
|
+
updated_at: string | null;
|
|
3357
|
+
} | null;
|
|
3358
|
+
};
|
|
3359
|
+
export declare const AssetCoreFragmentDoc: DocumentNode<AssetCoreFragment, unknown>;
|
|
3360
|
+
export declare const AssetWithRelationsFragmentDoc: DocumentNode<AssetWithRelationsFragment, unknown>;
|
|
3361
|
+
export declare const CopyrightCoreFragmentDoc: DocumentNode<CopyrightCoreFragment, unknown>;
|
|
3362
|
+
export declare const DiskCoreFragmentDoc: DocumentNode<DiskCoreFragment, unknown>;
|
|
3363
|
+
export declare const DiskWithCredentialsFragmentDoc: DocumentNode<DiskWithCredentialsFragment, unknown>;
|
|
3364
|
+
export declare const DmcaCoreFragmentDoc: DocumentNode<DmcaCoreFragment, unknown>;
|
|
3365
|
+
export declare const DmcaWithFileFragmentDoc: DocumentNode<DmcaWithFileFragment, unknown>;
|
|
3366
|
+
export declare const FolderCoreFragmentDoc: DocumentNode<FolderCoreFragment, unknown>;
|
|
3367
|
+
export declare const FolderWithCopyrightsFragmentDoc: DocumentNode<FolderWithCopyrightsFragment, unknown>;
|
|
3368
|
+
export declare const GalleryCoreFragmentDoc: DocumentNode<GalleryCoreFragment, unknown>;
|
|
3369
|
+
export declare const GalleryWithItemsFragmentDoc: DocumentNode<GalleryWithItemsFragment, unknown>;
|
|
3370
|
+
export declare const LicenseCoreFragmentDoc: DocumentNode<LicenseCoreFragment, unknown>;
|
|
3371
|
+
export declare const LicenseWithRelationsFragmentDoc: DocumentNode<LicenseWithRelationsFragment, unknown>;
|
|
3372
|
+
export declare const RakuCredentialCoreFragmentDoc: DocumentNode<RakuCredentialCoreFragment, unknown>;
|
|
3373
|
+
export declare const RoleCoreFragmentDoc: DocumentNode<RoleCoreFragment, unknown>;
|
|
3374
|
+
export declare const TenantCoreFragmentDoc: DocumentNode<TenantCoreFragment, unknown>;
|
|
3375
|
+
export declare const TenantWithAvatarFragmentDoc: DocumentNode<TenantWithAvatarFragment, unknown>;
|
|
3376
|
+
export declare const UserCoreFragmentDoc: DocumentNode<UserCoreFragment, unknown>;
|
|
3377
|
+
export declare const WorkflowCoreFragmentDoc: DocumentNode<WorkflowCoreFragment, unknown>;
|
|
3378
|
+
export declare const UpdateFairuFileDocument: DocumentNode<UpdateFairuFileMutation, UpdateFairuFileMutationVariables>;
|
|
3379
|
+
export declare const DeleteFairuFileDocument: DocumentNode<DeleteFairuFileMutation, DeleteFairuFileMutationVariables>;
|
|
3380
|
+
export declare const BlockFairuFileDocument: DocumentNode<BlockFairuFileMutation, BlockFairuFileMutationVariables>;
|
|
3381
|
+
export declare const UnblockFairuFileDocument: DocumentNode<UnblockFairuFileMutation, UnblockFairuFileMutationVariables>;
|
|
3382
|
+
export declare const RenameFairuFileDocument: DocumentNode<RenameFairuFileMutation, RenameFairuFileMutationVariables>;
|
|
3383
|
+
export declare const MoveFairuFileDocument: DocumentNode<MoveFairuFileMutation, MoveFairuFileMutationVariables>;
|
|
3384
|
+
export declare const DuplicateFairuFileDocument: DocumentNode<DuplicateFairuFileMutation, DuplicateFairuFileMutationVariables>;
|
|
3385
|
+
export declare const RedownloadFairuFileDocument: DocumentNode<RedownloadFairuFileMutation, RedownloadFairuFileMutationVariables>;
|
|
3386
|
+
export declare const ReplaceFairuFileDocument: DocumentNode<ReplaceFairuFileMutation, ReplaceFairuFileMutationVariables>;
|
|
3387
|
+
export declare const FairuFileUrlByPathDocument: DocumentNode<FairuFileUrlByPathMutation, FairuFileUrlByPathMutationVariables>;
|
|
3388
|
+
export declare const CreateFairuCopyrightDocument: DocumentNode<CreateFairuCopyrightMutation, CreateFairuCopyrightMutationVariables>;
|
|
3389
|
+
export declare const UpdateFairuCopyrightDocument: DocumentNode<UpdateFairuCopyrightMutation, UpdateFairuCopyrightMutationVariables>;
|
|
3390
|
+
export declare const DeleteFairuCopyrightDocument: DocumentNode<DeleteFairuCopyrightMutation, DeleteFairuCopyrightMutationVariables>;
|
|
3391
|
+
export declare const CreateFairuDiskDocument: DocumentNode<CreateFairuDiskMutation, CreateFairuDiskMutationVariables>;
|
|
3392
|
+
export declare const UpdateFairuDiskDocument: DocumentNode<UpdateFairuDiskMutation, UpdateFairuDiskMutationVariables>;
|
|
3393
|
+
export declare const DeleteFairuDiskDocument: DocumentNode<DeleteFairuDiskMutation, DeleteFairuDiskMutationVariables>;
|
|
3394
|
+
export declare const CreateFairuDmcaComplainDocument: DocumentNode<CreateFairuDmcaComplainMutation, CreateFairuDmcaComplainMutationVariables>;
|
|
3395
|
+
export declare const UpdateFairuDmcaComplainDocument: DocumentNode<UpdateFairuDmcaComplainMutation, UpdateFairuDmcaComplainMutationVariables>;
|
|
3396
|
+
export declare const CreateFairuFolderDocument: DocumentNode<CreateFairuFolderMutation, CreateFairuFolderMutationVariables>;
|
|
3397
|
+
export declare const UpdateFairuFolderDocument: DocumentNode<UpdateFairuFolderMutation, UpdateFairuFolderMutationVariables>;
|
|
3398
|
+
export declare const DeleteFairuFolderDocument: DocumentNode<DeleteFairuFolderMutation, DeleteFairuFolderMutationVariables>;
|
|
3399
|
+
export declare const RenameFairuFolderDocument: DocumentNode<RenameFairuFolderMutation, RenameFairuFolderMutationVariables>;
|
|
3400
|
+
export declare const MoveFairuFolderDocument: DocumentNode<MoveFairuFolderMutation, MoveFairuFolderMutationVariables>;
|
|
3401
|
+
export declare const CreateFairuFolderFtpDocument: DocumentNode<CreateFairuFolderFtpMutation, CreateFairuFolderFtpMutationVariables>;
|
|
3402
|
+
export declare const CreateFairuGalleryDocument: DocumentNode<CreateFairuGalleryMutation, CreateFairuGalleryMutationVariables>;
|
|
3403
|
+
export declare const UpdateFairuGalleryDocument: DocumentNode<UpdateFairuGalleryMutation, UpdateFairuGalleryMutationVariables>;
|
|
3404
|
+
export declare const DeleteFairuGalleryDocument: DocumentNode<DeleteFairuGalleryMutation, DeleteFairuGalleryMutationVariables>;
|
|
3405
|
+
export declare const CreateFairuGalleryShareLinkDocument: DocumentNode<CreateFairuGalleryShareLinkMutation, CreateFairuGalleryShareLinkMutationVariables>;
|
|
3406
|
+
export declare const CreateFairuLicenseDocument: DocumentNode<CreateFairuLicenseMutation, CreateFairuLicenseMutationVariables>;
|
|
3407
|
+
export declare const UpdateFairuLicenseDocument: DocumentNode<UpdateFairuLicenseMutation, UpdateFairuLicenseMutationVariables>;
|
|
3408
|
+
export declare const DeleteFairuLicenseDocument: DocumentNode<DeleteFairuLicenseMutation, DeleteFairuLicenseMutationVariables>;
|
|
3409
|
+
export declare const CreateFairuPdfSignatureRequestDocument: DocumentNode<CreateFairuPdfSignatureRequestMutation, CreateFairuPdfSignatureRequestMutationVariables>;
|
|
3410
|
+
export declare const StartFairuPdfSignatureRequestDocument: DocumentNode<StartFairuPdfSignatureRequestMutation, StartFairuPdfSignatureRequestMutationVariables>;
|
|
3411
|
+
export declare const CancelFairuPdfSignatureRequestDocument: DocumentNode<CancelFairuPdfSignatureRequestMutation, CancelFairuPdfSignatureRequestMutationVariables>;
|
|
3412
|
+
export declare const CreateFairuRakuCredentialDocument: DocumentNode<CreateFairuRakuCredentialMutation, CreateFairuRakuCredentialMutationVariables>;
|
|
3413
|
+
export declare const RevokeFairuRakuCredentialDocument: DocumentNode<RevokeFairuRakuCredentialMutation, RevokeFairuRakuCredentialMutationVariables>;
|
|
3414
|
+
export declare const DeleteFairuRakuCredentialDocument: DocumentNode<DeleteFairuRakuCredentialMutation, DeleteFairuRakuCredentialMutationVariables>;
|
|
3415
|
+
export declare const CreateFairuRoleDocument: DocumentNode<CreateFairuRoleMutation, CreateFairuRoleMutationVariables>;
|
|
3416
|
+
export declare const UpdateFairuRoleDocument: DocumentNode<UpdateFairuRoleMutation, UpdateFairuRoleMutationVariables>;
|
|
3417
|
+
export declare const DeleteFairuRoleDocument: DocumentNode<DeleteFairuRoleMutation, DeleteFairuRoleMutationVariables>;
|
|
3418
|
+
export declare const CreateFairuTenantDocument: DocumentNode<CreateFairuTenantMutation, CreateFairuTenantMutationVariables>;
|
|
3419
|
+
export declare const UpdateFairuTenantDocument: DocumentNode<UpdateFairuTenantMutation, UpdateFairuTenantMutationVariables>;
|
|
3420
|
+
export declare const CreateFairuUploadLinkDocument: DocumentNode<CreateFairuUploadLinkMutation, CreateFairuUploadLinkMutationVariables>;
|
|
3421
|
+
export declare const InitFairuMultipartUploadDocument: DocumentNode<InitFairuMultipartUploadMutation, InitFairuMultipartUploadMutationVariables>;
|
|
3422
|
+
export declare const GetFairuMultipartPartUrlDocument: DocumentNode<GetFairuMultipartPartUrlMutation, GetFairuMultipartPartUrlMutationVariables>;
|
|
3423
|
+
export declare const CompleteFairuMultipartUploadDocument: DocumentNode<CompleteFairuMultipartUploadMutation, CompleteFairuMultipartUploadMutationVariables>;
|
|
3424
|
+
export declare const AbortFairuMultipartUploadDocument: DocumentNode<AbortFairuMultipartUploadMutation, AbortFairuMultipartUploadMutationVariables>;
|
|
3425
|
+
export declare const CreateFairuFolderUploadShareLinkDocument: DocumentNode<CreateFairuFolderUploadShareLinkMutation, CreateFairuFolderUploadShareLinkMutationVariables>;
|
|
3426
|
+
export declare const CreateFairuFileAccessSignatureDocument: DocumentNode<CreateFairuFileAccessSignatureMutation, CreateFairuFileAccessSignatureMutationVariables>;
|
|
3427
|
+
export declare const InviteFairuUserDocument: DocumentNode<InviteFairuUserMutation, InviteFairuUserMutationVariables>;
|
|
3428
|
+
export declare const DeleteFairuUserDocument: DocumentNode<DeleteFairuUserMutation, DeleteFairuUserMutationVariables>;
|
|
3429
|
+
export declare const CreateFairuWorkflowDocument: DocumentNode<CreateFairuWorkflowMutation, CreateFairuWorkflowMutationVariables>;
|
|
3430
|
+
export declare const UpdateFairuWorkflowDocument: DocumentNode<UpdateFairuWorkflowMutation, UpdateFairuWorkflowMutationVariables>;
|
|
3431
|
+
export declare const DeleteFairuWorkflowDocument: DocumentNode<DeleteFairuWorkflowMutation, DeleteFairuWorkflowMutationVariables>;
|
|
3432
|
+
export declare const FairuFileDocument: DocumentNode<FairuFileQuery, FairuFileQueryVariables>;
|
|
3433
|
+
export declare const FairuFileByPathDocument: DocumentNode<FairuFileByPathQuery, FairuFileByPathQueryVariables>;
|
|
3434
|
+
export declare const FairuFilesDocument: DocumentNode<FairuFilesQuery, FairuFilesQueryVariables>;
|
|
3435
|
+
export declare const FairuMultipleFilesDocument: DocumentNode<FairuMultipleFilesQuery, FairuMultipleFilesQueryVariables>;
|
|
3436
|
+
export declare const FairuFilesTotalSizeDocument: DocumentNode<FairuFilesTotalSizeQuery, FairuFilesTotalSizeQueryVariables>;
|
|
3437
|
+
export declare const FairuSearchDocument: DocumentNode<FairuSearchQuery, FairuSearchQueryVariables>;
|
|
3438
|
+
export declare const FairuAllFilesFlatDocument: DocumentNode<FairuAllFilesFlatQuery, FairuAllFilesFlatQueryVariables>;
|
|
3439
|
+
export declare const FairuCopyrightsDocument: DocumentNode<FairuCopyrightsQuery, FairuCopyrightsQueryVariables>;
|
|
3440
|
+
export declare const FairuCopyrightDocument: DocumentNode<FairuCopyrightQuery, FairuCopyrightQueryVariables>;
|
|
3441
|
+
export declare const FairuDisksDocument: DocumentNode<FairuDisksQuery, FairuDisksQueryVariables>;
|
|
3442
|
+
export declare const FairuDiskDocument: DocumentNode<FairuDiskQuery, FairuDiskQueryVariables>;
|
|
3443
|
+
export declare const FairuDiskStatusDocument: DocumentNode<FairuDiskStatusQuery, FairuDiskStatusQueryVariables>;
|
|
3444
|
+
export declare const FairuDmcasDocument: DocumentNode<FairuDmcasQuery, FairuDmcasQueryVariables>;
|
|
3445
|
+
export declare const FairuDmcaDocument: DocumentNode<FairuDmcaQuery, FairuDmcaQueryVariables>;
|
|
3446
|
+
export declare const FairuFolderDocument: DocumentNode<FairuFolderQuery, FairuFolderQueryVariables>;
|
|
3447
|
+
export declare const FairuFolderByPathDocument: DocumentNode<FairuFolderByPathQuery, FairuFolderByPathQueryVariables>;
|
|
3448
|
+
export declare const FairuFolderAllAssetsDocument: DocumentNode<FairuFolderAllAssetsQuery, FairuFolderAllAssetsQueryVariables>;
|
|
3449
|
+
export declare const FairuGalleryDocument: DocumentNode<FairuGalleryQuery, FairuGalleryQueryVariables>;
|
|
3450
|
+
export declare const FairuGalleriesDocument: DocumentNode<FairuGalleriesQuery, FairuGalleriesQueryVariables>;
|
|
3451
|
+
export declare const FairuGalleryItemsPaginatedDocument: DocumentNode<FairuGalleryItemsPaginatedQuery, FairuGalleryItemsPaginatedQueryVariables>;
|
|
3452
|
+
export declare const FairuLicensesDocument: DocumentNode<FairuLicensesQuery, FairuLicensesQueryVariables>;
|
|
3453
|
+
export declare const FairuLicenseDocument: DocumentNode<FairuLicenseQuery, FairuLicenseQueryVariables>;
|
|
3454
|
+
export declare const FairuRakuCredentialsDocument: DocumentNode<FairuRakuCredentialsQuery, FairuRakuCredentialsQueryVariables>;
|
|
3455
|
+
export declare const FairuRolesDocument: DocumentNode<FairuRolesQuery, FairuRolesQueryVariables>;
|
|
3456
|
+
export declare const FairuRoleDocument: DocumentNode<FairuRoleQuery, FairuRoleQueryVariables>;
|
|
3457
|
+
export declare const FairuTenantDocument: DocumentNode<FairuTenantQuery, FairuTenantQueryVariables>;
|
|
3458
|
+
export declare const FairuHealthCheckDocument: DocumentNode<FairuHealthCheckQuery, FairuHealthCheckQueryVariables>;
|
|
3459
|
+
export declare const FairuSupportedDomainsDocument: DocumentNode<FairuSupportedDomainsQuery, FairuSupportedDomainsQueryVariables>;
|
|
3460
|
+
export declare const FairuUsersDocument: DocumentNode<FairuUsersQuery, FairuUsersQueryVariables>;
|
|
3461
|
+
export declare const FairuUserDocument: DocumentNode<FairuUserQuery, FairuUserQueryVariables>;
|
|
3462
|
+
export declare const FairuWorkflowsDocument: DocumentNode<FairuWorkflowsQuery, FairuWorkflowsQueryVariables>;
|
|
3463
|
+
export declare const FairuWorkflowDocument: DocumentNode<FairuWorkflowQuery, FairuWorkflowQueryVariables>;
|
|
3464
|
+
//# sourceMappingURL=graphql.d.ts.map
|