@grantjs/schema 1.1.0 → 1.1.2
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/package.json +1 -1
- package/src/generated/graphql.ts +456 -4090
- package/src/generated/resolvers.ts +0 -9
- package/src/generated/schema-types.ts +3207 -0
- package/src/index.ts +1 -0
|
@@ -0,0 +1,3207 @@
|
|
|
1
|
+
export type Maybe<T> = T | null;
|
|
2
|
+
export type InputMaybe<T> = Maybe<T>;
|
|
3
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
4
|
+
export type Scalars = {
|
|
5
|
+
ID: { input: string; output: string };
|
|
6
|
+
String: { input: string; output: string };
|
|
7
|
+
Boolean: { input: boolean; output: boolean };
|
|
8
|
+
Int: { input: number; output: number };
|
|
9
|
+
Float: { input: number; output: number };
|
|
10
|
+
Date: { input: Date; output: Date };
|
|
11
|
+
JSON: { input: Record<string, unknown>; output: Record<string, unknown> };
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export type AcceptInvitationInput = {
|
|
15
|
+
token: Scalars['String']['input'];
|
|
16
|
+
userData?: InputMaybe<UserRegistrationData>;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export type AcceptInvitationResult = {
|
|
20
|
+
__typename?: 'AcceptInvitationResult';
|
|
21
|
+
accounts: Array<Account>;
|
|
22
|
+
invitation?: Maybe<OrganizationInvitation>;
|
|
23
|
+
isNewUser?: Maybe<Scalars['Boolean']['output']>;
|
|
24
|
+
requiresRegistration: Scalars['Boolean']['output'];
|
|
25
|
+
user?: Maybe<User>;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export type Account = Auditable & {
|
|
29
|
+
__typename?: 'Account';
|
|
30
|
+
createdAt: Scalars['Date']['output'];
|
|
31
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
32
|
+
id: Scalars['ID']['output'];
|
|
33
|
+
owner: User;
|
|
34
|
+
ownerId: Scalars['ID']['output'];
|
|
35
|
+
projects?: Maybe<Array<Project>>;
|
|
36
|
+
tags?: Maybe<Array<Tag>>;
|
|
37
|
+
type: AccountType;
|
|
38
|
+
updatedAt: Scalars['Date']['output'];
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export type AccountExportData = {
|
|
42
|
+
__typename?: 'AccountExportData';
|
|
43
|
+
createdAt: Scalars['Date']['output'];
|
|
44
|
+
id: Scalars['ID']['output'];
|
|
45
|
+
type: AccountType;
|
|
46
|
+
updatedAt: Scalars['Date']['output'];
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
export type AccountPage = PaginatedResults & {
|
|
50
|
+
__typename?: 'AccountPage';
|
|
51
|
+
accounts: Array<Account>;
|
|
52
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
53
|
+
totalCount: Scalars['Int']['output'];
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export type AccountProject = Auditable & {
|
|
57
|
+
__typename?: 'AccountProject';
|
|
58
|
+
account?: Maybe<Account>;
|
|
59
|
+
accountId: Scalars['ID']['output'];
|
|
60
|
+
createdAt: Scalars['Date']['output'];
|
|
61
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
62
|
+
id: Scalars['ID']['output'];
|
|
63
|
+
project?: Maybe<Project>;
|
|
64
|
+
projectId: Scalars['ID']['output'];
|
|
65
|
+
updatedAt: Scalars['Date']['output'];
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export type AccountProjectApiKey = Auditable & {
|
|
69
|
+
__typename?: 'AccountProjectApiKey';
|
|
70
|
+
account?: Maybe<Account>;
|
|
71
|
+
accountId: Scalars['ID']['output'];
|
|
72
|
+
accountRoleId: Scalars['ID']['output'];
|
|
73
|
+
apiKey?: Maybe<ApiKey>;
|
|
74
|
+
apiKeyId: Scalars['ID']['output'];
|
|
75
|
+
createdAt: Scalars['Date']['output'];
|
|
76
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
77
|
+
id: Scalars['ID']['output'];
|
|
78
|
+
project?: Maybe<Project>;
|
|
79
|
+
projectId: Scalars['ID']['output'];
|
|
80
|
+
role?: Maybe<Role>;
|
|
81
|
+
updatedAt: Scalars['Date']['output'];
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export type AccountProjectTag = Auditable & {
|
|
85
|
+
__typename?: 'AccountProjectTag';
|
|
86
|
+
account?: Maybe<Account>;
|
|
87
|
+
accountId: Scalars['ID']['output'];
|
|
88
|
+
createdAt: Scalars['Date']['output'];
|
|
89
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
90
|
+
id: Scalars['ID']['output'];
|
|
91
|
+
isPrimary: Scalars['Boolean']['output'];
|
|
92
|
+
project?: Maybe<Project>;
|
|
93
|
+
projectId: Scalars['ID']['output'];
|
|
94
|
+
tag?: Maybe<Tag>;
|
|
95
|
+
tagId: Scalars['ID']['output'];
|
|
96
|
+
updatedAt: Scalars['Date']['output'];
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
export type AccountRole = Auditable & {
|
|
100
|
+
__typename?: 'AccountRole';
|
|
101
|
+
account?: Maybe<Account>;
|
|
102
|
+
accountId: Scalars['ID']['output'];
|
|
103
|
+
createdAt: Scalars['Date']['output'];
|
|
104
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
105
|
+
id: Scalars['ID']['output'];
|
|
106
|
+
role?: Maybe<Role>;
|
|
107
|
+
roleId: Scalars['ID']['output'];
|
|
108
|
+
updatedAt: Scalars['Date']['output'];
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
export enum AccountSearchableField {
|
|
112
|
+
Type = 'type',
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export type AccountSortInput = {
|
|
116
|
+
field: AccountSortableField;
|
|
117
|
+
order: SortOrder;
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
export enum AccountSortableField {
|
|
121
|
+
CreatedAt = 'createdAt',
|
|
122
|
+
Type = 'type',
|
|
123
|
+
UpdatedAt = 'updatedAt',
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export type AccountTag = Auditable & {
|
|
127
|
+
__typename?: 'AccountTag';
|
|
128
|
+
account?: Maybe<Account>;
|
|
129
|
+
accountId: Scalars['ID']['output'];
|
|
130
|
+
createdAt: Scalars['Date']['output'];
|
|
131
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
132
|
+
id: Scalars['ID']['output'];
|
|
133
|
+
isPrimary: Scalars['Boolean']['output'];
|
|
134
|
+
tag?: Maybe<Tag>;
|
|
135
|
+
tagId: Scalars['ID']['output'];
|
|
136
|
+
updatedAt: Scalars['Date']['output'];
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
export enum AccountType {
|
|
140
|
+
Organization = 'organization',
|
|
141
|
+
Personal = 'personal',
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export type AddAccountProjectApiKeyInput = {
|
|
145
|
+
accountId: Scalars['ID']['input'];
|
|
146
|
+
accountRoleId: Scalars['ID']['input'];
|
|
147
|
+
apiKeyId: Scalars['ID']['input'];
|
|
148
|
+
projectId: Scalars['ID']['input'];
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
export type AddAccountProjectInput = {
|
|
152
|
+
accountId: Scalars['ID']['input'];
|
|
153
|
+
projectId: Scalars['ID']['input'];
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
export type AddAccountProjectTagInput = {
|
|
157
|
+
accountId: Scalars['ID']['input'];
|
|
158
|
+
isPrimary?: InputMaybe<Scalars['Boolean']['input']>;
|
|
159
|
+
projectId: Scalars['ID']['input'];
|
|
160
|
+
tagId: Scalars['ID']['input'];
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
export type AddAccountRoleInput = {
|
|
164
|
+
accountId: Scalars['ID']['input'];
|
|
165
|
+
roleId: Scalars['ID']['input'];
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
export type AddAccountTagInput = {
|
|
169
|
+
accountId: Scalars['ID']['input'];
|
|
170
|
+
isPrimary?: InputMaybe<Scalars['Boolean']['input']>;
|
|
171
|
+
tagId: Scalars['ID']['input'];
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
export type AddGroupPermissionInput = {
|
|
175
|
+
groupId: Scalars['ID']['input'];
|
|
176
|
+
permissionId: Scalars['ID']['input'];
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
export type AddGroupTagInput = {
|
|
180
|
+
groupId: Scalars['ID']['input'];
|
|
181
|
+
isPrimary?: InputMaybe<Scalars['Boolean']['input']>;
|
|
182
|
+
tagId: Scalars['ID']['input'];
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
export type AddOrganizationGroupInput = {
|
|
186
|
+
groupId: Scalars['ID']['input'];
|
|
187
|
+
organizationId: Scalars['ID']['input'];
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
export type AddOrganizationPermissionInput = {
|
|
191
|
+
organizationId: Scalars['ID']['input'];
|
|
192
|
+
permissionId: Scalars['ID']['input'];
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
export type AddOrganizationProjectApiKeyInput = {
|
|
196
|
+
apiKeyId: Scalars['ID']['input'];
|
|
197
|
+
organizationId: Scalars['ID']['input'];
|
|
198
|
+
organizationRoleId: Scalars['ID']['input'];
|
|
199
|
+
projectId: Scalars['ID']['input'];
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
export type AddOrganizationProjectInput = {
|
|
203
|
+
organizationId: Scalars['ID']['input'];
|
|
204
|
+
projectId: Scalars['ID']['input'];
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
export type AddOrganizationProjectTagInput = {
|
|
208
|
+
isPrimary?: InputMaybe<Scalars['Boolean']['input']>;
|
|
209
|
+
organizationId: Scalars['ID']['input'];
|
|
210
|
+
projectId: Scalars['ID']['input'];
|
|
211
|
+
tagId: Scalars['ID']['input'];
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
export type AddOrganizationRoleInput = {
|
|
215
|
+
organizationId: Scalars['ID']['input'];
|
|
216
|
+
roleId: Scalars['ID']['input'];
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
export type AddOrganizationTagInput = {
|
|
220
|
+
isPrimary?: InputMaybe<Scalars['Boolean']['input']>;
|
|
221
|
+
organizationId: Scalars['ID']['input'];
|
|
222
|
+
tagId: Scalars['ID']['input'];
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
export type AddOrganizationUserInput = {
|
|
226
|
+
organizationId: Scalars['ID']['input'];
|
|
227
|
+
roleId: Scalars['ID']['input'];
|
|
228
|
+
userId: Scalars['ID']['input'];
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
export type AddPermissionTagInput = {
|
|
232
|
+
isPrimary?: InputMaybe<Scalars['Boolean']['input']>;
|
|
233
|
+
permissionId: Scalars['ID']['input'];
|
|
234
|
+
tagId: Scalars['ID']['input'];
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
export type AddProjectAppTagInput = {
|
|
238
|
+
isPrimary?: InputMaybe<Scalars['Boolean']['input']>;
|
|
239
|
+
projectAppId: Scalars['ID']['input'];
|
|
240
|
+
tagId: Scalars['ID']['input'];
|
|
241
|
+
};
|
|
242
|
+
|
|
243
|
+
export type AddProjectGroupInput = {
|
|
244
|
+
groupId: Scalars['ID']['input'];
|
|
245
|
+
projectId: Scalars['ID']['input'];
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
export type AddProjectPermissionInput = {
|
|
249
|
+
permissionId: Scalars['ID']['input'];
|
|
250
|
+
projectId: Scalars['ID']['input'];
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
export type AddProjectResourceInput = {
|
|
254
|
+
projectId: Scalars['ID']['input'];
|
|
255
|
+
resourceId: Scalars['ID']['input'];
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
export type AddProjectRoleInput = {
|
|
259
|
+
projectId: Scalars['ID']['input'];
|
|
260
|
+
roleId: Scalars['ID']['input'];
|
|
261
|
+
};
|
|
262
|
+
|
|
263
|
+
export type AddProjectTagInput = {
|
|
264
|
+
isPrimary?: InputMaybe<Scalars['Boolean']['input']>;
|
|
265
|
+
projectId: Scalars['ID']['input'];
|
|
266
|
+
tagId: Scalars['ID']['input'];
|
|
267
|
+
};
|
|
268
|
+
|
|
269
|
+
export type AddProjectUserApiKeyInput = {
|
|
270
|
+
apiKeyId: Scalars['ID']['input'];
|
|
271
|
+
/** Optional pivot metadata (e.g. CDM `cdmImport` / `cdmSource`); omit for normal API creates. */
|
|
272
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
273
|
+
projectId: Scalars['ID']['input'];
|
|
274
|
+
userId: Scalars['ID']['input'];
|
|
275
|
+
};
|
|
276
|
+
|
|
277
|
+
export type AddProjectUserInput = {
|
|
278
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
279
|
+
projectId: Scalars['ID']['input'];
|
|
280
|
+
userId: Scalars['ID']['input'];
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
export type AddResourceTagInput = {
|
|
284
|
+
isPrimary?: InputMaybe<Scalars['Boolean']['input']>;
|
|
285
|
+
resourceId: Scalars['ID']['input'];
|
|
286
|
+
tagId: Scalars['ID']['input'];
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
export type AddRoleGroupInput = {
|
|
290
|
+
groupId: Scalars['ID']['input'];
|
|
291
|
+
roleId: Scalars['ID']['input'];
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
export type AddRoleTagInput = {
|
|
295
|
+
isPrimary?: InputMaybe<Scalars['Boolean']['input']>;
|
|
296
|
+
roleId: Scalars['ID']['input'];
|
|
297
|
+
tagId: Scalars['ID']['input'];
|
|
298
|
+
};
|
|
299
|
+
|
|
300
|
+
export type AddUserRoleInput = {
|
|
301
|
+
roleId: Scalars['ID']['input'];
|
|
302
|
+
userId: Scalars['ID']['input'];
|
|
303
|
+
};
|
|
304
|
+
|
|
305
|
+
export type AddUserTagInput = {
|
|
306
|
+
isPrimary?: InputMaybe<Scalars['Boolean']['input']>;
|
|
307
|
+
tagId: Scalars['ID']['input'];
|
|
308
|
+
userId: Scalars['ID']['input'];
|
|
309
|
+
};
|
|
310
|
+
|
|
311
|
+
export type ApiKey = Auditable & {
|
|
312
|
+
__typename?: 'ApiKey';
|
|
313
|
+
clientId: Scalars['String']['output'];
|
|
314
|
+
createdAt: Scalars['Date']['output'];
|
|
315
|
+
createdBy: Scalars['ID']['output'];
|
|
316
|
+
createdByUser?: Maybe<User>;
|
|
317
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
318
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
319
|
+
expiresAt?: Maybe<Scalars['Date']['output']>;
|
|
320
|
+
id: Scalars['ID']['output'];
|
|
321
|
+
isRevoked: Scalars['Boolean']['output'];
|
|
322
|
+
lastUsedAt?: Maybe<Scalars['Date']['output']>;
|
|
323
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
324
|
+
revokedAt?: Maybe<Scalars['Date']['output']>;
|
|
325
|
+
revokedBy?: Maybe<Scalars['ID']['output']>;
|
|
326
|
+
revokedByUser?: Maybe<User>;
|
|
327
|
+
/** Role bound to this API key (project-level keys only). Null for user-scoped keys. */
|
|
328
|
+
role?: Maybe<Role>;
|
|
329
|
+
updatedAt: Scalars['Date']['output'];
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
export type ApiKeyPage = PaginatedResults & {
|
|
333
|
+
__typename?: 'ApiKeyPage';
|
|
334
|
+
apiKeys: Array<ApiKey>;
|
|
335
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
336
|
+
totalCount: Scalars['Int']['output'];
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
export enum ApiKeySearchableField {
|
|
340
|
+
ClientId = 'clientId',
|
|
341
|
+
Description = 'description',
|
|
342
|
+
Name = 'name',
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
export type ApiKeySortInput = {
|
|
346
|
+
field: ApiKeySortableField;
|
|
347
|
+
order: SortOrder;
|
|
348
|
+
};
|
|
349
|
+
|
|
350
|
+
export enum ApiKeySortableField {
|
|
351
|
+
CreatedAt = 'createdAt',
|
|
352
|
+
ExpiresAt = 'expiresAt',
|
|
353
|
+
LastUsedAt = 'lastUsedAt',
|
|
354
|
+
Name = 'name',
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
export type Auditable = {
|
|
358
|
+
createdAt: Scalars['Date']['output'];
|
|
359
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
360
|
+
id: Scalars['ID']['output'];
|
|
361
|
+
updatedAt: Scalars['Date']['output'];
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
export type AuthenticationMethodExportData = {
|
|
365
|
+
__typename?: 'AuthenticationMethodExportData';
|
|
366
|
+
createdAt: Scalars['Date']['output'];
|
|
367
|
+
isPrimary: Scalars['Boolean']['output'];
|
|
368
|
+
isVerified: Scalars['Boolean']['output'];
|
|
369
|
+
lastUsedAt?: Maybe<Scalars['Date']['output']>;
|
|
370
|
+
provider: Scalars['String']['output'];
|
|
371
|
+
providerId: Scalars['String']['output'];
|
|
372
|
+
};
|
|
373
|
+
|
|
374
|
+
export enum AuthorizationReason {
|
|
375
|
+
InvalidAuthenticationState = 'INVALID_AUTHENTICATION_STATE',
|
|
376
|
+
InvalidScope = 'INVALID_SCOPE',
|
|
377
|
+
NotAuthenticated = 'NOT_AUTHENTICATED',
|
|
378
|
+
NoMatchingPermissionFound = 'NO_MATCHING_PERMISSION_FOUND',
|
|
379
|
+
PermissionFoundConditionNotMet = 'PERMISSION_FOUND_CONDITION_NOT_MET',
|
|
380
|
+
PermissionGrantedConditionMet = 'PERMISSION_GRANTED_CONDITION_MET',
|
|
381
|
+
PermissionGrantedNoCondition = 'PERMISSION_GRANTED_NO_CONDITION',
|
|
382
|
+
ScopeNotGranted = 'SCOPE_NOT_GRANTED',
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export type AuthorizationResult = {
|
|
386
|
+
__typename?: 'AuthorizationResult';
|
|
387
|
+
authorized: Scalars['Boolean']['output'];
|
|
388
|
+
evaluatedContext?: Maybe<Scalars['JSON']['output']>;
|
|
389
|
+
matchedCondition?: Maybe<Scalars['JSON']['output']>;
|
|
390
|
+
matchedPermission?: Maybe<Permission>;
|
|
391
|
+
reason?: Maybe<AuthorizationReason>;
|
|
392
|
+
};
|
|
393
|
+
|
|
394
|
+
export enum CdmFindBy {
|
|
395
|
+
Email = 'email',
|
|
396
|
+
Id = 'id',
|
|
397
|
+
Key = 'key',
|
|
398
|
+
Name = 'name',
|
|
399
|
+
Slug = 'slug',
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
export enum CdmIfMissing {
|
|
403
|
+
CreateNew = 'createNew',
|
|
404
|
+
Fail = 'fail',
|
|
405
|
+
Skip = 'skip',
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export type CdmKeyResolverInput = {
|
|
409
|
+
findBy?: InputMaybe<CdmFindBy>;
|
|
410
|
+
ifMissing?: InputMaybe<CdmIfMissing>;
|
|
411
|
+
value: Scalars['String']['input'];
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
export type CdmModeInput = {
|
|
415
|
+
confirmDestructive?: InputMaybe<Scalars['Boolean']['input']>;
|
|
416
|
+
onConflict?: InputMaybe<CdmOnConflict>;
|
|
417
|
+
strategy: CdmModeStrategy;
|
|
418
|
+
};
|
|
419
|
+
|
|
420
|
+
export enum CdmModeStrategy {
|
|
421
|
+
Merge = 'merge',
|
|
422
|
+
Replace = 'replace',
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
export enum CdmOnConflict {
|
|
426
|
+
Fail = 'fail',
|
|
427
|
+
Skip = 'skip',
|
|
428
|
+
Update = 'update',
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
export type ChangeMyPasswordInput = {
|
|
432
|
+
confirmPassword: Scalars['String']['input'];
|
|
433
|
+
currentPassword: Scalars['String']['input'];
|
|
434
|
+
newPassword: Scalars['String']['input'];
|
|
435
|
+
};
|
|
436
|
+
|
|
437
|
+
export type ChangeMyPasswordResult = {
|
|
438
|
+
__typename?: 'ChangeMyPasswordResult';
|
|
439
|
+
message: Scalars['String']['output'];
|
|
440
|
+
success: Scalars['Boolean']['output'];
|
|
441
|
+
};
|
|
442
|
+
|
|
443
|
+
export type Creatable = {
|
|
444
|
+
createdAt: Scalars['String']['output'];
|
|
445
|
+
updatedAt: Scalars['String']['output'];
|
|
446
|
+
};
|
|
447
|
+
|
|
448
|
+
export type CreateAccountInput = {
|
|
449
|
+
ownerId: Scalars['String']['input'];
|
|
450
|
+
provider: UserAuthenticationMethodProvider;
|
|
451
|
+
providerData: Scalars['JSON']['input'];
|
|
452
|
+
providerId: Scalars['String']['input'];
|
|
453
|
+
type: AccountType;
|
|
454
|
+
};
|
|
455
|
+
|
|
456
|
+
export type CreateAccountResult = {
|
|
457
|
+
__typename?: 'CreateAccountResult';
|
|
458
|
+
accessToken: Scalars['String']['output'];
|
|
459
|
+
account: Account;
|
|
460
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
461
|
+
refreshToken: Scalars['String']['output'];
|
|
462
|
+
requiresEmailVerification?: Maybe<Scalars['Boolean']['output']>;
|
|
463
|
+
verificationExpiry?: Maybe<Scalars['Date']['output']>;
|
|
464
|
+
};
|
|
465
|
+
|
|
466
|
+
export type CreateApiKeyInput = {
|
|
467
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
468
|
+
expiresAt?: InputMaybe<Scalars['Date']['input']>;
|
|
469
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
470
|
+
/** Required when scope.tenant is accountProject or organizationProject: the parent-tenant role the key impersonates. */
|
|
471
|
+
roleId?: InputMaybe<Scalars['ID']['input']>;
|
|
472
|
+
scope: Scope;
|
|
473
|
+
};
|
|
474
|
+
|
|
475
|
+
export type CreateApiKeyResult = {
|
|
476
|
+
__typename?: 'CreateApiKeyResult';
|
|
477
|
+
clientId: Scalars['String']['output'];
|
|
478
|
+
clientSecret: Scalars['String']['output'];
|
|
479
|
+
createdAt: Scalars['Date']['output'];
|
|
480
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
481
|
+
expiresAt?: Maybe<Scalars['Date']['output']>;
|
|
482
|
+
id: Scalars['ID']['output'];
|
|
483
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
484
|
+
};
|
|
485
|
+
|
|
486
|
+
export type CreateGroupInput = {
|
|
487
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
488
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
489
|
+
name: Scalars['String']['input'];
|
|
490
|
+
permissionIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
491
|
+
primaryTagId?: InputMaybe<Scalars['ID']['input']>;
|
|
492
|
+
scope: Scope;
|
|
493
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
494
|
+
};
|
|
495
|
+
|
|
496
|
+
export type CreateMySecondaryAccountResult = {
|
|
497
|
+
__typename?: 'CreateMySecondaryAccountResult';
|
|
498
|
+
account: Account;
|
|
499
|
+
accounts: Array<Account>;
|
|
500
|
+
};
|
|
501
|
+
|
|
502
|
+
export type CreateMyUserAuthenticationMethodInput = {
|
|
503
|
+
isPrimary?: InputMaybe<Scalars['Boolean']['input']>;
|
|
504
|
+
isVerified?: InputMaybe<Scalars['Boolean']['input']>;
|
|
505
|
+
provider: UserAuthenticationMethodProvider;
|
|
506
|
+
providerData: Scalars['JSON']['input'];
|
|
507
|
+
providerId: Scalars['String']['input'];
|
|
508
|
+
};
|
|
509
|
+
|
|
510
|
+
export type CreateOrganizationInput = {
|
|
511
|
+
name: Scalars['String']['input'];
|
|
512
|
+
scope: Scope;
|
|
513
|
+
};
|
|
514
|
+
|
|
515
|
+
export type CreateOrganizationInvitationInput = {
|
|
516
|
+
email: Scalars['String']['input'];
|
|
517
|
+
expiresAt: Scalars['Date']['input'];
|
|
518
|
+
invitedAt?: InputMaybe<Scalars['Date']['input']>;
|
|
519
|
+
invitedBy: Scalars['ID']['input'];
|
|
520
|
+
organizationId: Scalars['ID']['input'];
|
|
521
|
+
roleId: Scalars['ID']['input'];
|
|
522
|
+
status?: InputMaybe<OrganizationInvitationStatus>;
|
|
523
|
+
token: Scalars['String']['input'];
|
|
524
|
+
};
|
|
525
|
+
|
|
526
|
+
export type CreatePermissionInput = {
|
|
527
|
+
action: Scalars['String']['input'];
|
|
528
|
+
condition?: InputMaybe<Scalars['JSON']['input']>;
|
|
529
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
530
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
531
|
+
name: Scalars['String']['input'];
|
|
532
|
+
primaryTagId?: InputMaybe<Scalars['ID']['input']>;
|
|
533
|
+
resourceId?: InputMaybe<Scalars['ID']['input']>;
|
|
534
|
+
scope: Scope;
|
|
535
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
536
|
+
};
|
|
537
|
+
|
|
538
|
+
export type CreateProjectAppInput = {
|
|
539
|
+
/** Allow new users to sign up when authenticating via this app. Default true. */
|
|
540
|
+
allowSignUp?: InputMaybe<Scalars['Boolean']['input']>;
|
|
541
|
+
/** Auth providers enabled for this app (e.g. github, email). Empty/null = all configured providers. */
|
|
542
|
+
enabledProviders?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
543
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
544
|
+
primaryTagId?: InputMaybe<Scalars['ID']['input']>;
|
|
545
|
+
/** Allowed redirect URIs for OAuth callback. At least one required. */
|
|
546
|
+
redirectUris: Array<Scalars['String']['input']>;
|
|
547
|
+
scope: Scope;
|
|
548
|
+
/** Optional OAuth scopes the app may request. */
|
|
549
|
+
scopes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
550
|
+
/** Role to assign to users who sign up via this app. Required when allowSignUp is true; must be a role in the project. */
|
|
551
|
+
signUpRoleId?: InputMaybe<Scalars['ID']['input']>;
|
|
552
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
553
|
+
};
|
|
554
|
+
|
|
555
|
+
export type CreateProjectAppResult = {
|
|
556
|
+
__typename?: 'CreateProjectAppResult';
|
|
557
|
+
/** Whether new users can sign up when authenticating via this app. */
|
|
558
|
+
allowSignUp?: Maybe<Scalars['Boolean']['output']>;
|
|
559
|
+
clientId: Scalars['String']['output'];
|
|
560
|
+
/** Shown only once at creation. Null for public clients. */
|
|
561
|
+
clientSecret?: Maybe<Scalars['String']['output']>;
|
|
562
|
+
createdAt: Scalars['Date']['output'];
|
|
563
|
+
/** Auth providers enabled for this app (e.g. github, email). Empty/null = all configured providers. */
|
|
564
|
+
enabledProviders?: Maybe<Array<Scalars['String']['output']>>;
|
|
565
|
+
id: Scalars['ID']['output'];
|
|
566
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
567
|
+
redirectUris: Array<Scalars['String']['output']>;
|
|
568
|
+
/** Role assigned to users who sign up via this app. */
|
|
569
|
+
signUpRoleId?: Maybe<Scalars['ID']['output']>;
|
|
570
|
+
};
|
|
571
|
+
|
|
572
|
+
export type CreateProjectInput = {
|
|
573
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
574
|
+
name: Scalars['String']['input'];
|
|
575
|
+
primaryTagId?: InputMaybe<Scalars['ID']['input']>;
|
|
576
|
+
scope: Scope;
|
|
577
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
578
|
+
};
|
|
579
|
+
|
|
580
|
+
export type CreateResourceInput = {
|
|
581
|
+
actions?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
582
|
+
createPermissions?: InputMaybe<Scalars['Boolean']['input']>;
|
|
583
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
584
|
+
isActive?: InputMaybe<Scalars['Boolean']['input']>;
|
|
585
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
586
|
+
name: Scalars['String']['input'];
|
|
587
|
+
primaryTagId?: InputMaybe<Scalars['ID']['input']>;
|
|
588
|
+
scope: Scope;
|
|
589
|
+
slug: Scalars['String']['input'];
|
|
590
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
591
|
+
};
|
|
592
|
+
|
|
593
|
+
export type CreateRoleInput = {
|
|
594
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
595
|
+
groupIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
596
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
597
|
+
name: Scalars['String']['input'];
|
|
598
|
+
primaryTagId?: InputMaybe<Scalars['ID']['input']>;
|
|
599
|
+
scope: Scope;
|
|
600
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
601
|
+
};
|
|
602
|
+
|
|
603
|
+
export type CreateTagInput = {
|
|
604
|
+
color: Scalars['String']['input'];
|
|
605
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
606
|
+
name: Scalars['String']['input'];
|
|
607
|
+
scope: Scope;
|
|
608
|
+
};
|
|
609
|
+
|
|
610
|
+
export type CreateUserAuthenticationMethodInput = {
|
|
611
|
+
isPrimary?: InputMaybe<Scalars['Boolean']['input']>;
|
|
612
|
+
isVerified?: InputMaybe<Scalars['Boolean']['input']>;
|
|
613
|
+
provider: UserAuthenticationMethodProvider;
|
|
614
|
+
providerData: Scalars['JSON']['input'];
|
|
615
|
+
providerId: Scalars['String']['input'];
|
|
616
|
+
userId: Scalars['String']['input'];
|
|
617
|
+
};
|
|
618
|
+
|
|
619
|
+
export type CreateUserInput = {
|
|
620
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
621
|
+
name: Scalars['String']['input'];
|
|
622
|
+
pictureUrl?: InputMaybe<Scalars['String']['input']>;
|
|
623
|
+
primaryTagId?: InputMaybe<Scalars['ID']['input']>;
|
|
624
|
+
roleIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
625
|
+
scope: Scope;
|
|
626
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
627
|
+
};
|
|
628
|
+
|
|
629
|
+
export type CreateUserSessionInput = {
|
|
630
|
+
expiresAt: Scalars['Date']['input'];
|
|
631
|
+
ipAddress?: InputMaybe<Scalars['String']['input']>;
|
|
632
|
+
lastUsedAt: Scalars['Date']['input'];
|
|
633
|
+
token: Scalars['String']['input'];
|
|
634
|
+
userAgent?: InputMaybe<Scalars['String']['input']>;
|
|
635
|
+
userAuthenticationMethodId: Scalars['ID']['input'];
|
|
636
|
+
userId: Scalars['ID']['input'];
|
|
637
|
+
};
|
|
638
|
+
|
|
639
|
+
export type DeleteApiKeyInput = {
|
|
640
|
+
hardDelete?: InputMaybe<Scalars['Boolean']['input']>;
|
|
641
|
+
id: Scalars['ID']['input'];
|
|
642
|
+
scope: Scope;
|
|
643
|
+
};
|
|
644
|
+
|
|
645
|
+
export type DeleteMyAccountsInput = {
|
|
646
|
+
hardDelete?: InputMaybe<Scalars['Boolean']['input']>;
|
|
647
|
+
};
|
|
648
|
+
|
|
649
|
+
export type DeleteUserAuthenticationMethodInput = {
|
|
650
|
+
id: Scalars['ID']['input'];
|
|
651
|
+
};
|
|
652
|
+
|
|
653
|
+
export type DeleteUserSessionInput = {
|
|
654
|
+
id: Scalars['ID']['input'];
|
|
655
|
+
};
|
|
656
|
+
|
|
657
|
+
export type ExchangeApiKeyInput = {
|
|
658
|
+
clientId: Scalars['String']['input'];
|
|
659
|
+
clientSecret: Scalars['String']['input'];
|
|
660
|
+
scope: Scope;
|
|
661
|
+
};
|
|
662
|
+
|
|
663
|
+
export type ExchangeApiKeyResult = {
|
|
664
|
+
__typename?: 'ExchangeApiKeyResult';
|
|
665
|
+
accessToken: Scalars['String']['output'];
|
|
666
|
+
expiresIn: Scalars['Int']['output'];
|
|
667
|
+
};
|
|
668
|
+
|
|
669
|
+
export type GenerateMyMfaRecoveryCodesInput = {
|
|
670
|
+
factorId?: InputMaybe<Scalars['ID']['input']>;
|
|
671
|
+
};
|
|
672
|
+
|
|
673
|
+
export type GetUserAuthenticationMethodsInput = {
|
|
674
|
+
provider?: InputMaybe<UserAuthenticationMethodProvider>;
|
|
675
|
+
userId?: InputMaybe<Scalars['ID']['input']>;
|
|
676
|
+
};
|
|
677
|
+
|
|
678
|
+
export type GetUserSessionsInput = {
|
|
679
|
+
audience?: InputMaybe<Scalars['String']['input']>;
|
|
680
|
+
expiresAtMin?: InputMaybe<Scalars['Date']['input']>;
|
|
681
|
+
ids?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
682
|
+
ipAddress?: InputMaybe<Scalars['String']['input']>;
|
|
683
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
684
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
685
|
+
requestedFields?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
686
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
687
|
+
sort?: InputMaybe<UserSessionSortInput>;
|
|
688
|
+
userAgent?: InputMaybe<Scalars['String']['input']>;
|
|
689
|
+
userId?: InputMaybe<Scalars['ID']['input']>;
|
|
690
|
+
};
|
|
691
|
+
|
|
692
|
+
export type Group = Auditable & {
|
|
693
|
+
__typename?: 'Group';
|
|
694
|
+
createdAt: Scalars['Date']['output'];
|
|
695
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
696
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
697
|
+
id: Scalars['ID']['output'];
|
|
698
|
+
metadata: Scalars['JSON']['output'];
|
|
699
|
+
name: Scalars['String']['output'];
|
|
700
|
+
permissions?: Maybe<Array<Permission>>;
|
|
701
|
+
tags?: Maybe<Array<Tag>>;
|
|
702
|
+
updatedAt: Scalars['Date']['output'];
|
|
703
|
+
};
|
|
704
|
+
|
|
705
|
+
export type GroupCdmInput = {
|
|
706
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
707
|
+
key: Scalars['String']['input'];
|
|
708
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
709
|
+
name: Scalars['String']['input'];
|
|
710
|
+
permissions?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
711
|
+
primaryTag?: InputMaybe<Scalars['String']['input']>;
|
|
712
|
+
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
713
|
+
};
|
|
714
|
+
|
|
715
|
+
export type GroupPage = PaginatedResults & {
|
|
716
|
+
__typename?: 'GroupPage';
|
|
717
|
+
groups: Array<Group>;
|
|
718
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
719
|
+
totalCount: Scalars['Int']['output'];
|
|
720
|
+
};
|
|
721
|
+
|
|
722
|
+
export type GroupPermission = Auditable & {
|
|
723
|
+
__typename?: 'GroupPermission';
|
|
724
|
+
createdAt: Scalars['Date']['output'];
|
|
725
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
726
|
+
group?: Maybe<Group>;
|
|
727
|
+
groupId: Scalars['ID']['output'];
|
|
728
|
+
id: Scalars['ID']['output'];
|
|
729
|
+
permission?: Maybe<Permission>;
|
|
730
|
+
permissionId: Scalars['ID']['output'];
|
|
731
|
+
updatedAt: Scalars['Date']['output'];
|
|
732
|
+
};
|
|
733
|
+
|
|
734
|
+
export type GroupPermissionGroupArgs = {
|
|
735
|
+
scope: Scope;
|
|
736
|
+
};
|
|
737
|
+
|
|
738
|
+
export type GroupPermissionPermissionArgs = {
|
|
739
|
+
scope: Scope;
|
|
740
|
+
};
|
|
741
|
+
|
|
742
|
+
export enum GroupSearchableField {
|
|
743
|
+
Description = 'description',
|
|
744
|
+
Name = 'name',
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
export type GroupSortInput = {
|
|
748
|
+
field: GroupSortableField;
|
|
749
|
+
order: SortOrder;
|
|
750
|
+
};
|
|
751
|
+
|
|
752
|
+
export enum GroupSortableField {
|
|
753
|
+
Name = 'name',
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
export type GroupTag = Auditable & {
|
|
757
|
+
__typename?: 'GroupTag';
|
|
758
|
+
createdAt: Scalars['Date']['output'];
|
|
759
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
760
|
+
group?: Maybe<Group>;
|
|
761
|
+
groupId: Scalars['ID']['output'];
|
|
762
|
+
id: Scalars['ID']['output'];
|
|
763
|
+
isPrimary: Scalars['Boolean']['output'];
|
|
764
|
+
tag?: Maybe<Tag>;
|
|
765
|
+
tagId: Scalars['ID']['output'];
|
|
766
|
+
updatedAt: Scalars['Date']['output'];
|
|
767
|
+
};
|
|
768
|
+
|
|
769
|
+
export type GroupTagGroupArgs = {
|
|
770
|
+
scope: Scope;
|
|
771
|
+
};
|
|
772
|
+
|
|
773
|
+
export type GroupTagTagArgs = {
|
|
774
|
+
scope: Scope;
|
|
775
|
+
};
|
|
776
|
+
|
|
777
|
+
export type InviteMemberInput = {
|
|
778
|
+
email: Scalars['String']['input'];
|
|
779
|
+
roleId: Scalars['ID']['input'];
|
|
780
|
+
scope: Scope;
|
|
781
|
+
};
|
|
782
|
+
|
|
783
|
+
export type IsAuthorizedContextInput = {
|
|
784
|
+
resource?: InputMaybe<Scalars['JSON']['input']>;
|
|
785
|
+
};
|
|
786
|
+
|
|
787
|
+
export type IsAuthorizedInput = {
|
|
788
|
+
context: IsAuthorizedContextInput;
|
|
789
|
+
permission: IsAuthorizedPermissionInput;
|
|
790
|
+
};
|
|
791
|
+
|
|
792
|
+
export type IsAuthorizedPermissionInput = {
|
|
793
|
+
action: Scalars['String']['input'];
|
|
794
|
+
resource: Scalars['String']['input'];
|
|
795
|
+
};
|
|
796
|
+
|
|
797
|
+
export type LoginInput = {
|
|
798
|
+
provider: UserAuthenticationMethodProvider;
|
|
799
|
+
providerData: Scalars['JSON']['input'];
|
|
800
|
+
providerId: Scalars['String']['input'];
|
|
801
|
+
};
|
|
802
|
+
|
|
803
|
+
export type LoginResponse = {
|
|
804
|
+
__typename?: 'LoginResponse';
|
|
805
|
+
accessToken: Scalars['String']['output'];
|
|
806
|
+
accounts: Array<Account>;
|
|
807
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
808
|
+
mfaVerified?: Maybe<Scalars['Boolean']['output']>;
|
|
809
|
+
refreshToken: Scalars['String']['output'];
|
|
810
|
+
requiresEmailVerification?: Maybe<Scalars['Boolean']['output']>;
|
|
811
|
+
/** When true, the client should complete MFA before expecting full API access (see AUTH_MIN_AAL_AT_LOGIN). */
|
|
812
|
+
requiresMfaStepUp?: Maybe<Scalars['Boolean']['output']>;
|
|
813
|
+
verificationExpiry?: Maybe<Scalars['Date']['output']>;
|
|
814
|
+
};
|
|
815
|
+
|
|
816
|
+
export type LogoutMyUserResponse = {
|
|
817
|
+
__typename?: 'LogoutMyUserResponse';
|
|
818
|
+
message: Scalars['String']['output'];
|
|
819
|
+
};
|
|
820
|
+
|
|
821
|
+
export type MeResponse = {
|
|
822
|
+
__typename?: 'MeResponse';
|
|
823
|
+
accounts: Array<Account>;
|
|
824
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
825
|
+
mfaVerified?: Maybe<Scalars['Boolean']['output']>;
|
|
826
|
+
requiresEmailVerification?: Maybe<Scalars['Boolean']['output']>;
|
|
827
|
+
verificationExpiry?: Maybe<Scalars['Date']['output']>;
|
|
828
|
+
};
|
|
829
|
+
|
|
830
|
+
export enum MemberType {
|
|
831
|
+
Invitation = 'invitation',
|
|
832
|
+
Member = 'member',
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
export type MfaDevice = {
|
|
836
|
+
__typename?: 'MfaDevice';
|
|
837
|
+
createdAt: Scalars['Date']['output'];
|
|
838
|
+
id: Scalars['ID']['output'];
|
|
839
|
+
isEnabled: Scalars['Boolean']['output'];
|
|
840
|
+
isPrimary: Scalars['Boolean']['output'];
|
|
841
|
+
lastUsedAt?: Maybe<Scalars['Date']['output']>;
|
|
842
|
+
name: Scalars['String']['output'];
|
|
843
|
+
};
|
|
844
|
+
|
|
845
|
+
export type MfaEnrollment = {
|
|
846
|
+
__typename?: 'MfaEnrollment';
|
|
847
|
+
factorId: Scalars['ID']['output'];
|
|
848
|
+
otpAuthUrl: Scalars['String']['output'];
|
|
849
|
+
secret: Scalars['String']['output'];
|
|
850
|
+
};
|
|
851
|
+
|
|
852
|
+
export type MfaRecoveryCodeStatus = {
|
|
853
|
+
__typename?: 'MfaRecoveryCodeStatus';
|
|
854
|
+
activeCount: Scalars['Int']['output'];
|
|
855
|
+
lastGeneratedAt?: Maybe<Scalars['Date']['output']>;
|
|
856
|
+
};
|
|
857
|
+
|
|
858
|
+
export type MfaSetupResponse = {
|
|
859
|
+
__typename?: 'MfaSetupResponse';
|
|
860
|
+
factorId: Scalars['ID']['output'];
|
|
861
|
+
otpAuthUrl: Scalars['String']['output'];
|
|
862
|
+
secret: Scalars['String']['output'];
|
|
863
|
+
};
|
|
864
|
+
|
|
865
|
+
export type MfaVerifyResponse = {
|
|
866
|
+
__typename?: 'MfaVerifyResponse';
|
|
867
|
+
accessToken: Scalars['String']['output'];
|
|
868
|
+
mfaVerified: Scalars['Boolean']['output'];
|
|
869
|
+
refreshToken: Scalars['String']['output'];
|
|
870
|
+
};
|
|
871
|
+
|
|
872
|
+
export type MfaVerifyResult = {
|
|
873
|
+
__typename?: 'MfaVerifyResult';
|
|
874
|
+
success: Scalars['Boolean']['output'];
|
|
875
|
+
};
|
|
876
|
+
|
|
877
|
+
export type Mutation = {
|
|
878
|
+
__typename?: 'Mutation';
|
|
879
|
+
_empty?: Maybe<Scalars['String']['output']>;
|
|
880
|
+
acceptInvitation: AcceptInvitationResult;
|
|
881
|
+
/**
|
|
882
|
+
* Cancel a pending or running project CDM sync job. Cancellation is
|
|
883
|
+
* immediate when the job is still PENDING; if the job is already RUNNING, the
|
|
884
|
+
* cancellation is recorded and the worker stops at the next checkpoint
|
|
885
|
+
* (best-effort).
|
|
886
|
+
*/
|
|
887
|
+
cancelProjectSync: ProjectSyncJob;
|
|
888
|
+
changeMyPassword: ChangeMyPasswordResult;
|
|
889
|
+
createApiKey: CreateApiKeyResult;
|
|
890
|
+
createGroup: Group;
|
|
891
|
+
createMyMfaEnrollment: MfaEnrollment;
|
|
892
|
+
createMySecondaryAccount: CreateMySecondaryAccountResult;
|
|
893
|
+
createMyUserAuthenticationMethod: UserAuthenticationMethod;
|
|
894
|
+
createOrganization: Organization;
|
|
895
|
+
createPermission: Permission;
|
|
896
|
+
createProject: Project;
|
|
897
|
+
/** Create an OAuth app for a project. Allows project users to sign in with providers (e.g. GitHub) and receive tokens scoped to the project. */
|
|
898
|
+
createProjectApp: CreateProjectAppResult;
|
|
899
|
+
createResource: Resource;
|
|
900
|
+
createRole: Role;
|
|
901
|
+
createTag: Tag;
|
|
902
|
+
createUser: User;
|
|
903
|
+
deleteApiKey: ApiKey;
|
|
904
|
+
deleteGroup: Group;
|
|
905
|
+
deleteMyAccounts: User;
|
|
906
|
+
deleteMyUserAuthenticationMethod: UserAuthenticationMethod;
|
|
907
|
+
deleteOrganization: Organization;
|
|
908
|
+
deletePermission: Permission;
|
|
909
|
+
deleteProject: Project;
|
|
910
|
+
deleteProjectApp: ProjectApp;
|
|
911
|
+
deleteResource: Resource;
|
|
912
|
+
deleteRole: Role;
|
|
913
|
+
deleteTag: Tag;
|
|
914
|
+
deleteUser: User;
|
|
915
|
+
exchangeApiKey: ExchangeApiKeyResult;
|
|
916
|
+
generateMyMfaRecoveryCodes: Array<Scalars['String']['output']>;
|
|
917
|
+
inviteMember: OrganizationInvitation;
|
|
918
|
+
login: LoginResponse;
|
|
919
|
+
logoutMyUser: LogoutMyUserResponse;
|
|
920
|
+
refreshSession: RefreshSessionResponse;
|
|
921
|
+
register: CreateAccountResult;
|
|
922
|
+
removeMyMfaDevice: MfaVerifyResult;
|
|
923
|
+
removeOrganizationMember: OrganizationMember;
|
|
924
|
+
renewInvitation: OrganizationInvitation;
|
|
925
|
+
requestPasswordReset: RequestPasswordResetResponse;
|
|
926
|
+
resendInvitationEmail: OrganizationInvitation;
|
|
927
|
+
resendVerification: ResendVerificationResponse;
|
|
928
|
+
resetPassword: ResetPasswordResponse;
|
|
929
|
+
revokeApiKey: ApiKey;
|
|
930
|
+
revokeInvitation: OrganizationInvitation;
|
|
931
|
+
revokeMyUserSession: RevokeMyUserSessionResult;
|
|
932
|
+
/**
|
|
933
|
+
* Rotate the signing key for the given scope: create a new active key and mark the previous one as rotated.
|
|
934
|
+
* Allowed scopes: accountProject, organizationProject only.
|
|
935
|
+
* Returns the new signing key (public info).
|
|
936
|
+
*/
|
|
937
|
+
rotateSigningKey: SigningKey;
|
|
938
|
+
setMyPrimaryAuthenticationMethod: UserAuthenticationMethod;
|
|
939
|
+
setMyPrimaryMfaDevice: MfaDevice;
|
|
940
|
+
setupMfa: MfaSetupResponse;
|
|
941
|
+
/**
|
|
942
|
+
* Enqueue an asynchronous CDM **export** job for the given project. The worker
|
|
943
|
+
* snapshots current permission state into a replay-ready `SyncProjectInput` and
|
|
944
|
+
* stores it on the job row (`snapshot`); poll `projectSyncJob` for status.
|
|
945
|
+
*
|
|
946
|
+
* Requires Project:update in the given project scope (same as starting import jobs).
|
|
947
|
+
*
|
|
948
|
+
* Pass optional `input.jobName` for idempotency with the same rules as import `input.id`.
|
|
949
|
+
*/
|
|
950
|
+
startProjectExport: ProjectSyncJob;
|
|
951
|
+
/**
|
|
952
|
+
* Enqueue an asynchronous project CDM import job for the given project.
|
|
953
|
+
* Applies a canonical data model document: roles, groups, resources, permissions,
|
|
954
|
+
* tags, project pivots, and user assignments scoped to the project.
|
|
955
|
+
* Requires Project:update in the given project scope.
|
|
956
|
+
*
|
|
957
|
+
* Returns immediately with a job descriptor in the PENDING status; the actual
|
|
958
|
+
* import runs in the background. Poll `projectSyncJob` for status.
|
|
959
|
+
* Pass optional `input.id` as a stable **job name** for idempotency: if an active job
|
|
960
|
+
* already exists for the same `(project, operation=IMPORT, jobName)`, that job is
|
|
961
|
+
* returned instead of creating a new one.
|
|
962
|
+
*/
|
|
963
|
+
startProjectSync: ProjectSyncJob;
|
|
964
|
+
updateGroup: Group;
|
|
965
|
+
updateMyUser: User;
|
|
966
|
+
updateOrganization: Organization;
|
|
967
|
+
updateOrganizationMember: OrganizationMember;
|
|
968
|
+
updatePermission: Permission;
|
|
969
|
+
updateProject: Project;
|
|
970
|
+
/** Update an existing project app (name, redirect URIs, scopes). */
|
|
971
|
+
updateProjectApp: ProjectApp;
|
|
972
|
+
updateResource: Resource;
|
|
973
|
+
updateRole: Role;
|
|
974
|
+
updateTag: Tag;
|
|
975
|
+
updateUser: User;
|
|
976
|
+
uploadMyUserPicture: UploadUserPictureResult;
|
|
977
|
+
uploadUserPicture: UploadUserPictureResult;
|
|
978
|
+
verifyEmail: VerifyEmailResponse;
|
|
979
|
+
verifyMfa: MfaVerifyResponse;
|
|
980
|
+
verifyMfaRecoveryCode: MfaVerifyResponse;
|
|
981
|
+
verifyMyMfaEnrollment: MfaVerifyResult;
|
|
982
|
+
};
|
|
983
|
+
|
|
984
|
+
export type MutationAcceptInvitationArgs = {
|
|
985
|
+
input: AcceptInvitationInput;
|
|
986
|
+
};
|
|
987
|
+
|
|
988
|
+
export type MutationCancelProjectSyncArgs = {
|
|
989
|
+
id: Scalars['ID']['input'];
|
|
990
|
+
jobId: Scalars['ID']['input'];
|
|
991
|
+
scope: Scope;
|
|
992
|
+
};
|
|
993
|
+
|
|
994
|
+
export type MutationChangeMyPasswordArgs = {
|
|
995
|
+
input: ChangeMyPasswordInput;
|
|
996
|
+
};
|
|
997
|
+
|
|
998
|
+
export type MutationCreateApiKeyArgs = {
|
|
999
|
+
input: CreateApiKeyInput;
|
|
1000
|
+
};
|
|
1001
|
+
|
|
1002
|
+
export type MutationCreateGroupArgs = {
|
|
1003
|
+
input: CreateGroupInput;
|
|
1004
|
+
};
|
|
1005
|
+
|
|
1006
|
+
export type MutationCreateMyUserAuthenticationMethodArgs = {
|
|
1007
|
+
input: CreateMyUserAuthenticationMethodInput;
|
|
1008
|
+
};
|
|
1009
|
+
|
|
1010
|
+
export type MutationCreateOrganizationArgs = {
|
|
1011
|
+
input: CreateOrganizationInput;
|
|
1012
|
+
};
|
|
1013
|
+
|
|
1014
|
+
export type MutationCreatePermissionArgs = {
|
|
1015
|
+
input: CreatePermissionInput;
|
|
1016
|
+
};
|
|
1017
|
+
|
|
1018
|
+
export type MutationCreateProjectArgs = {
|
|
1019
|
+
input: CreateProjectInput;
|
|
1020
|
+
};
|
|
1021
|
+
|
|
1022
|
+
export type MutationCreateProjectAppArgs = {
|
|
1023
|
+
input: CreateProjectAppInput;
|
|
1024
|
+
};
|
|
1025
|
+
|
|
1026
|
+
export type MutationCreateResourceArgs = {
|
|
1027
|
+
input: CreateResourceInput;
|
|
1028
|
+
};
|
|
1029
|
+
|
|
1030
|
+
export type MutationCreateRoleArgs = {
|
|
1031
|
+
input: CreateRoleInput;
|
|
1032
|
+
};
|
|
1033
|
+
|
|
1034
|
+
export type MutationCreateTagArgs = {
|
|
1035
|
+
input: CreateTagInput;
|
|
1036
|
+
};
|
|
1037
|
+
|
|
1038
|
+
export type MutationCreateUserArgs = {
|
|
1039
|
+
input: CreateUserInput;
|
|
1040
|
+
};
|
|
1041
|
+
|
|
1042
|
+
export type MutationDeleteApiKeyArgs = {
|
|
1043
|
+
input: DeleteApiKeyInput;
|
|
1044
|
+
};
|
|
1045
|
+
|
|
1046
|
+
export type MutationDeleteGroupArgs = {
|
|
1047
|
+
id: Scalars['ID']['input'];
|
|
1048
|
+
scope: Scope;
|
|
1049
|
+
};
|
|
1050
|
+
|
|
1051
|
+
export type MutationDeleteMyAccountsArgs = {
|
|
1052
|
+
input: DeleteMyAccountsInput;
|
|
1053
|
+
};
|
|
1054
|
+
|
|
1055
|
+
export type MutationDeleteMyUserAuthenticationMethodArgs = {
|
|
1056
|
+
id: Scalars['ID']['input'];
|
|
1057
|
+
};
|
|
1058
|
+
|
|
1059
|
+
export type MutationDeleteOrganizationArgs = {
|
|
1060
|
+
id: Scalars['ID']['input'];
|
|
1061
|
+
scope: Scope;
|
|
1062
|
+
};
|
|
1063
|
+
|
|
1064
|
+
export type MutationDeletePermissionArgs = {
|
|
1065
|
+
id: Scalars['ID']['input'];
|
|
1066
|
+
scope: Scope;
|
|
1067
|
+
};
|
|
1068
|
+
|
|
1069
|
+
export type MutationDeleteProjectArgs = {
|
|
1070
|
+
id: Scalars['ID']['input'];
|
|
1071
|
+
scope: Scope;
|
|
1072
|
+
};
|
|
1073
|
+
|
|
1074
|
+
export type MutationDeleteProjectAppArgs = {
|
|
1075
|
+
id: Scalars['ID']['input'];
|
|
1076
|
+
scope: Scope;
|
|
1077
|
+
};
|
|
1078
|
+
|
|
1079
|
+
export type MutationDeleteResourceArgs = {
|
|
1080
|
+
id: Scalars['ID']['input'];
|
|
1081
|
+
scope: Scope;
|
|
1082
|
+
};
|
|
1083
|
+
|
|
1084
|
+
export type MutationDeleteRoleArgs = {
|
|
1085
|
+
id: Scalars['ID']['input'];
|
|
1086
|
+
scope: Scope;
|
|
1087
|
+
};
|
|
1088
|
+
|
|
1089
|
+
export type MutationDeleteTagArgs = {
|
|
1090
|
+
id: Scalars['ID']['input'];
|
|
1091
|
+
scope: Scope;
|
|
1092
|
+
};
|
|
1093
|
+
|
|
1094
|
+
export type MutationDeleteUserArgs = {
|
|
1095
|
+
id: Scalars['ID']['input'];
|
|
1096
|
+
scope: Scope;
|
|
1097
|
+
};
|
|
1098
|
+
|
|
1099
|
+
export type MutationExchangeApiKeyArgs = {
|
|
1100
|
+
input: ExchangeApiKeyInput;
|
|
1101
|
+
};
|
|
1102
|
+
|
|
1103
|
+
export type MutationGenerateMyMfaRecoveryCodesArgs = {
|
|
1104
|
+
input?: InputMaybe<GenerateMyMfaRecoveryCodesInput>;
|
|
1105
|
+
};
|
|
1106
|
+
|
|
1107
|
+
export type MutationInviteMemberArgs = {
|
|
1108
|
+
input: InviteMemberInput;
|
|
1109
|
+
};
|
|
1110
|
+
|
|
1111
|
+
export type MutationLoginArgs = {
|
|
1112
|
+
input: LoginInput;
|
|
1113
|
+
};
|
|
1114
|
+
|
|
1115
|
+
export type MutationRegisterArgs = {
|
|
1116
|
+
input: RegisterInput;
|
|
1117
|
+
};
|
|
1118
|
+
|
|
1119
|
+
export type MutationRemoveMyMfaDeviceArgs = {
|
|
1120
|
+
input: RemoveMyMfaDeviceInput;
|
|
1121
|
+
};
|
|
1122
|
+
|
|
1123
|
+
export type MutationRemoveOrganizationMemberArgs = {
|
|
1124
|
+
input: RemoveOrganizationMemberInput;
|
|
1125
|
+
userId: Scalars['ID']['input'];
|
|
1126
|
+
};
|
|
1127
|
+
|
|
1128
|
+
export type MutationRenewInvitationArgs = {
|
|
1129
|
+
id: Scalars['ID']['input'];
|
|
1130
|
+
scope: Scope;
|
|
1131
|
+
};
|
|
1132
|
+
|
|
1133
|
+
export type MutationRequestPasswordResetArgs = {
|
|
1134
|
+
input: RequestPasswordResetInput;
|
|
1135
|
+
};
|
|
1136
|
+
|
|
1137
|
+
export type MutationResendInvitationEmailArgs = {
|
|
1138
|
+
id: Scalars['ID']['input'];
|
|
1139
|
+
scope: Scope;
|
|
1140
|
+
};
|
|
1141
|
+
|
|
1142
|
+
export type MutationResendVerificationArgs = {
|
|
1143
|
+
input: ResendVerificationInput;
|
|
1144
|
+
};
|
|
1145
|
+
|
|
1146
|
+
export type MutationResetPasswordArgs = {
|
|
1147
|
+
input: ResetPasswordInput;
|
|
1148
|
+
};
|
|
1149
|
+
|
|
1150
|
+
export type MutationRevokeApiKeyArgs = {
|
|
1151
|
+
input: RevokeApiKeyInput;
|
|
1152
|
+
};
|
|
1153
|
+
|
|
1154
|
+
export type MutationRevokeInvitationArgs = {
|
|
1155
|
+
id: Scalars['ID']['input'];
|
|
1156
|
+
scope: Scope;
|
|
1157
|
+
};
|
|
1158
|
+
|
|
1159
|
+
export type MutationRevokeMyUserSessionArgs = {
|
|
1160
|
+
id: Scalars['ID']['input'];
|
|
1161
|
+
};
|
|
1162
|
+
|
|
1163
|
+
export type MutationRotateSigningKeyArgs = {
|
|
1164
|
+
scope: Scope;
|
|
1165
|
+
};
|
|
1166
|
+
|
|
1167
|
+
export type MutationSetMyPrimaryAuthenticationMethodArgs = {
|
|
1168
|
+
id: Scalars['ID']['input'];
|
|
1169
|
+
};
|
|
1170
|
+
|
|
1171
|
+
export type MutationSetMyPrimaryMfaDeviceArgs = {
|
|
1172
|
+
input: SetMyPrimaryMfaDeviceInput;
|
|
1173
|
+
};
|
|
1174
|
+
|
|
1175
|
+
export type MutationStartProjectExportArgs = {
|
|
1176
|
+
id: Scalars['ID']['input'];
|
|
1177
|
+
input: StartProjectExportInput;
|
|
1178
|
+
scope: Scope;
|
|
1179
|
+
};
|
|
1180
|
+
|
|
1181
|
+
export type MutationStartProjectSyncArgs = {
|
|
1182
|
+
id: Scalars['ID']['input'];
|
|
1183
|
+
input: SyncProjectInput;
|
|
1184
|
+
scope: Scope;
|
|
1185
|
+
};
|
|
1186
|
+
|
|
1187
|
+
export type MutationUpdateGroupArgs = {
|
|
1188
|
+
id: Scalars['ID']['input'];
|
|
1189
|
+
input: UpdateGroupInput;
|
|
1190
|
+
};
|
|
1191
|
+
|
|
1192
|
+
export type MutationUpdateMyUserArgs = {
|
|
1193
|
+
input: UpdateMyUserInput;
|
|
1194
|
+
};
|
|
1195
|
+
|
|
1196
|
+
export type MutationUpdateOrganizationArgs = {
|
|
1197
|
+
id: Scalars['ID']['input'];
|
|
1198
|
+
input: UpdateOrganizationInput;
|
|
1199
|
+
};
|
|
1200
|
+
|
|
1201
|
+
export type MutationUpdateOrganizationMemberArgs = {
|
|
1202
|
+
input: UpdateOrganizationMemberInput;
|
|
1203
|
+
userId: Scalars['ID']['input'];
|
|
1204
|
+
};
|
|
1205
|
+
|
|
1206
|
+
export type MutationUpdatePermissionArgs = {
|
|
1207
|
+
id: Scalars['ID']['input'];
|
|
1208
|
+
input: UpdatePermissionInput;
|
|
1209
|
+
};
|
|
1210
|
+
|
|
1211
|
+
export type MutationUpdateProjectArgs = {
|
|
1212
|
+
id: Scalars['ID']['input'];
|
|
1213
|
+
input: UpdateProjectInput;
|
|
1214
|
+
};
|
|
1215
|
+
|
|
1216
|
+
export type MutationUpdateProjectAppArgs = {
|
|
1217
|
+
id: Scalars['ID']['input'];
|
|
1218
|
+
input: UpdateProjectAppInput;
|
|
1219
|
+
};
|
|
1220
|
+
|
|
1221
|
+
export type MutationUpdateResourceArgs = {
|
|
1222
|
+
id: Scalars['ID']['input'];
|
|
1223
|
+
input: UpdateResourceInput;
|
|
1224
|
+
};
|
|
1225
|
+
|
|
1226
|
+
export type MutationUpdateRoleArgs = {
|
|
1227
|
+
id: Scalars['ID']['input'];
|
|
1228
|
+
input: UpdateRoleInput;
|
|
1229
|
+
};
|
|
1230
|
+
|
|
1231
|
+
export type MutationUpdateTagArgs = {
|
|
1232
|
+
id: Scalars['ID']['input'];
|
|
1233
|
+
input: UpdateTagInput;
|
|
1234
|
+
};
|
|
1235
|
+
|
|
1236
|
+
export type MutationUpdateUserArgs = {
|
|
1237
|
+
id: Scalars['ID']['input'];
|
|
1238
|
+
input: UpdateUserInput;
|
|
1239
|
+
};
|
|
1240
|
+
|
|
1241
|
+
export type MutationUploadMyUserPictureArgs = {
|
|
1242
|
+
input: UploadMyUserPictureInput;
|
|
1243
|
+
};
|
|
1244
|
+
|
|
1245
|
+
export type MutationUploadUserPictureArgs = {
|
|
1246
|
+
input: UploadUserPictureInput;
|
|
1247
|
+
};
|
|
1248
|
+
|
|
1249
|
+
export type MutationVerifyEmailArgs = {
|
|
1250
|
+
input: VerifyEmailInput;
|
|
1251
|
+
};
|
|
1252
|
+
|
|
1253
|
+
export type MutationVerifyMfaArgs = {
|
|
1254
|
+
input: VerifyMfaInput;
|
|
1255
|
+
};
|
|
1256
|
+
|
|
1257
|
+
export type MutationVerifyMfaRecoveryCodeArgs = {
|
|
1258
|
+
input: VerifyMfaRecoveryCodeInput;
|
|
1259
|
+
};
|
|
1260
|
+
|
|
1261
|
+
export type MutationVerifyMyMfaEnrollmentArgs = {
|
|
1262
|
+
input: VerifyMyMfaEnrollmentInput;
|
|
1263
|
+
};
|
|
1264
|
+
|
|
1265
|
+
export type MyUserSessionsInput = {
|
|
1266
|
+
audience?: InputMaybe<Scalars['String']['input']>;
|
|
1267
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1268
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1269
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
1270
|
+
};
|
|
1271
|
+
|
|
1272
|
+
export type Organization = Auditable & {
|
|
1273
|
+
__typename?: 'Organization';
|
|
1274
|
+
createdAt: Scalars['Date']['output'];
|
|
1275
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1276
|
+
groups?: Maybe<Array<Group>>;
|
|
1277
|
+
id: Scalars['ID']['output'];
|
|
1278
|
+
name: Scalars['String']['output'];
|
|
1279
|
+
permissions?: Maybe<Array<Permission>>;
|
|
1280
|
+
projects?: Maybe<Array<Project>>;
|
|
1281
|
+
requireMfaForSensitiveActions: Scalars['Boolean']['output'];
|
|
1282
|
+
roles?: Maybe<Array<Role>>;
|
|
1283
|
+
slug: Scalars['String']['output'];
|
|
1284
|
+
tags?: Maybe<Array<Tag>>;
|
|
1285
|
+
updatedAt: Scalars['Date']['output'];
|
|
1286
|
+
users?: Maybe<Array<User>>;
|
|
1287
|
+
};
|
|
1288
|
+
|
|
1289
|
+
export type OrganizationGroup = Auditable & {
|
|
1290
|
+
__typename?: 'OrganizationGroup';
|
|
1291
|
+
createdAt: Scalars['Date']['output'];
|
|
1292
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1293
|
+
group?: Maybe<Group>;
|
|
1294
|
+
groupId: Scalars['ID']['output'];
|
|
1295
|
+
id: Scalars['ID']['output'];
|
|
1296
|
+
organization?: Maybe<Organization>;
|
|
1297
|
+
organizationId: Scalars['ID']['output'];
|
|
1298
|
+
updatedAt: Scalars['Date']['output'];
|
|
1299
|
+
};
|
|
1300
|
+
|
|
1301
|
+
export type OrganizationInvitation = Auditable & {
|
|
1302
|
+
__typename?: 'OrganizationInvitation';
|
|
1303
|
+
acceptedAt?: Maybe<Scalars['Date']['output']>;
|
|
1304
|
+
createdAt: Scalars['Date']['output'];
|
|
1305
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1306
|
+
email: Scalars['String']['output'];
|
|
1307
|
+
expiresAt: Scalars['Date']['output'];
|
|
1308
|
+
id: Scalars['ID']['output'];
|
|
1309
|
+
invitedAt: Scalars['Date']['output'];
|
|
1310
|
+
invitedBy: Scalars['ID']['output'];
|
|
1311
|
+
inviter: User;
|
|
1312
|
+
organization: Organization;
|
|
1313
|
+
organizationId: Scalars['ID']['output'];
|
|
1314
|
+
role: Role;
|
|
1315
|
+
roleId: Scalars['ID']['output'];
|
|
1316
|
+
status: OrganizationInvitationStatus;
|
|
1317
|
+
token: Scalars['String']['output'];
|
|
1318
|
+
updatedAt: Scalars['Date']['output'];
|
|
1319
|
+
};
|
|
1320
|
+
|
|
1321
|
+
export type OrganizationInvitationPage = {
|
|
1322
|
+
__typename?: 'OrganizationInvitationPage';
|
|
1323
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
1324
|
+
invitations: Array<OrganizationInvitation>;
|
|
1325
|
+
totalCount: Scalars['Int']['output'];
|
|
1326
|
+
};
|
|
1327
|
+
|
|
1328
|
+
export enum OrganizationInvitationSearchableField {
|
|
1329
|
+
Email = 'email',
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
export type OrganizationInvitationSortInput = {
|
|
1333
|
+
field: OrganizationInvitationSortableField;
|
|
1334
|
+
order: SortOrder;
|
|
1335
|
+
};
|
|
1336
|
+
|
|
1337
|
+
export enum OrganizationInvitationSortableField {
|
|
1338
|
+
CreatedAt = 'createdAt',
|
|
1339
|
+
Email = 'email',
|
|
1340
|
+
ExpiresAt = 'expiresAt',
|
|
1341
|
+
Status = 'status',
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
export enum OrganizationInvitationStatus {
|
|
1345
|
+
Accepted = 'accepted',
|
|
1346
|
+
Expired = 'expired',
|
|
1347
|
+
Pending = 'pending',
|
|
1348
|
+
Revoked = 'revoked',
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
export type OrganizationMember = {
|
|
1352
|
+
__typename?: 'OrganizationMember';
|
|
1353
|
+
createdAt: Scalars['Date']['output'];
|
|
1354
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
1355
|
+
id: Scalars['ID']['output'];
|
|
1356
|
+
invitation?: Maybe<OrganizationInvitation>;
|
|
1357
|
+
name: Scalars['String']['output'];
|
|
1358
|
+
role: Role;
|
|
1359
|
+
status?: Maybe<OrganizationInvitationStatus>;
|
|
1360
|
+
type: MemberType;
|
|
1361
|
+
user?: Maybe<User>;
|
|
1362
|
+
};
|
|
1363
|
+
|
|
1364
|
+
export type OrganizationMemberPage = {
|
|
1365
|
+
__typename?: 'OrganizationMemberPage';
|
|
1366
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
1367
|
+
members: Array<OrganizationMember>;
|
|
1368
|
+
totalCount: Scalars['Int']['output'];
|
|
1369
|
+
};
|
|
1370
|
+
|
|
1371
|
+
export enum OrganizationMemberSearchableField {
|
|
1372
|
+
Email = 'email',
|
|
1373
|
+
Name = 'name',
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
export type OrganizationMemberSortInput = {
|
|
1377
|
+
field: OrganizationMemberSortableField;
|
|
1378
|
+
order: SortOrder;
|
|
1379
|
+
};
|
|
1380
|
+
|
|
1381
|
+
export enum OrganizationMemberSortableField {
|
|
1382
|
+
CreatedAt = 'createdAt',
|
|
1383
|
+
Email = 'email',
|
|
1384
|
+
Name = 'name',
|
|
1385
|
+
Role = 'role',
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
export type OrganizationMembershipExportData = {
|
|
1389
|
+
__typename?: 'OrganizationMembershipExportData';
|
|
1390
|
+
joinedAt: Scalars['Date']['output'];
|
|
1391
|
+
organizationId: Scalars['ID']['output'];
|
|
1392
|
+
organizationName: Scalars['String']['output'];
|
|
1393
|
+
role: Scalars['String']['output'];
|
|
1394
|
+
};
|
|
1395
|
+
|
|
1396
|
+
export type OrganizationPage = PaginatedResults & {
|
|
1397
|
+
__typename?: 'OrganizationPage';
|
|
1398
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
1399
|
+
organizations: Array<Organization>;
|
|
1400
|
+
totalCount: Scalars['Int']['output'];
|
|
1401
|
+
};
|
|
1402
|
+
|
|
1403
|
+
export type OrganizationPermission = Auditable & {
|
|
1404
|
+
__typename?: 'OrganizationPermission';
|
|
1405
|
+
createdAt: Scalars['Date']['output'];
|
|
1406
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1407
|
+
id: Scalars['ID']['output'];
|
|
1408
|
+
organization?: Maybe<Organization>;
|
|
1409
|
+
organizationId: Scalars['ID']['output'];
|
|
1410
|
+
permission?: Maybe<Permission>;
|
|
1411
|
+
permissionId: Scalars['ID']['output'];
|
|
1412
|
+
updatedAt: Scalars['Date']['output'];
|
|
1413
|
+
};
|
|
1414
|
+
|
|
1415
|
+
export type OrganizationProject = Auditable & {
|
|
1416
|
+
__typename?: 'OrganizationProject';
|
|
1417
|
+
createdAt: Scalars['Date']['output'];
|
|
1418
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1419
|
+
id: Scalars['ID']['output'];
|
|
1420
|
+
organization?: Maybe<Organization>;
|
|
1421
|
+
organizationId: Scalars['ID']['output'];
|
|
1422
|
+
project?: Maybe<Project>;
|
|
1423
|
+
projectId: Scalars['ID']['output'];
|
|
1424
|
+
updatedAt: Scalars['Date']['output'];
|
|
1425
|
+
};
|
|
1426
|
+
|
|
1427
|
+
export type OrganizationProjectApiKey = Auditable & {
|
|
1428
|
+
__typename?: 'OrganizationProjectApiKey';
|
|
1429
|
+
apiKey?: Maybe<ApiKey>;
|
|
1430
|
+
apiKeyId: Scalars['ID']['output'];
|
|
1431
|
+
createdAt: Scalars['Date']['output'];
|
|
1432
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1433
|
+
id: Scalars['ID']['output'];
|
|
1434
|
+
organization?: Maybe<Organization>;
|
|
1435
|
+
organizationId: Scalars['ID']['output'];
|
|
1436
|
+
organizationRoleId: Scalars['ID']['output'];
|
|
1437
|
+
project?: Maybe<Project>;
|
|
1438
|
+
projectId: Scalars['ID']['output'];
|
|
1439
|
+
role?: Maybe<Role>;
|
|
1440
|
+
updatedAt: Scalars['Date']['output'];
|
|
1441
|
+
};
|
|
1442
|
+
|
|
1443
|
+
export type OrganizationProjectTag = Auditable & {
|
|
1444
|
+
__typename?: 'OrganizationProjectTag';
|
|
1445
|
+
createdAt: Scalars['Date']['output'];
|
|
1446
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1447
|
+
id: Scalars['ID']['output'];
|
|
1448
|
+
isPrimary: Scalars['Boolean']['output'];
|
|
1449
|
+
organization?: Maybe<Organization>;
|
|
1450
|
+
organizationId: Scalars['ID']['output'];
|
|
1451
|
+
project?: Maybe<Project>;
|
|
1452
|
+
projectId: Scalars['ID']['output'];
|
|
1453
|
+
tag?: Maybe<Tag>;
|
|
1454
|
+
tagId: Scalars['ID']['output'];
|
|
1455
|
+
updatedAt: Scalars['Date']['output'];
|
|
1456
|
+
};
|
|
1457
|
+
|
|
1458
|
+
export type OrganizationRole = Auditable & {
|
|
1459
|
+
__typename?: 'OrganizationRole';
|
|
1460
|
+
createdAt: Scalars['Date']['output'];
|
|
1461
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1462
|
+
id: Scalars['ID']['output'];
|
|
1463
|
+
organization?: Maybe<Organization>;
|
|
1464
|
+
organizationId: Scalars['ID']['output'];
|
|
1465
|
+
role?: Maybe<Role>;
|
|
1466
|
+
roleId: Scalars['ID']['output'];
|
|
1467
|
+
updatedAt: Scalars['Date']['output'];
|
|
1468
|
+
};
|
|
1469
|
+
|
|
1470
|
+
export enum OrganizationSearchableField {
|
|
1471
|
+
Name = 'name',
|
|
1472
|
+
Slug = 'slug',
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
export type OrganizationSortInput = {
|
|
1476
|
+
field: OrganizationSortableField;
|
|
1477
|
+
order: SortOrder;
|
|
1478
|
+
};
|
|
1479
|
+
|
|
1480
|
+
export enum OrganizationSortableField {
|
|
1481
|
+
CreatedAt = 'createdAt',
|
|
1482
|
+
Name = 'name',
|
|
1483
|
+
UpdatedAt = 'updatedAt',
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
export type OrganizationTag = Auditable & {
|
|
1487
|
+
__typename?: 'OrganizationTag';
|
|
1488
|
+
createdAt: Scalars['Date']['output'];
|
|
1489
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1490
|
+
id: Scalars['ID']['output'];
|
|
1491
|
+
isPrimary: Scalars['Boolean']['output'];
|
|
1492
|
+
organization?: Maybe<Organization>;
|
|
1493
|
+
organizationId: Scalars['ID']['output'];
|
|
1494
|
+
tag?: Maybe<Tag>;
|
|
1495
|
+
tagId: Scalars['ID']['output'];
|
|
1496
|
+
updatedAt: Scalars['Date']['output'];
|
|
1497
|
+
};
|
|
1498
|
+
|
|
1499
|
+
export type OrganizationUser = Auditable & {
|
|
1500
|
+
__typename?: 'OrganizationUser';
|
|
1501
|
+
createdAt: Scalars['Date']['output'];
|
|
1502
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1503
|
+
id: Scalars['ID']['output'];
|
|
1504
|
+
organization?: Maybe<Organization>;
|
|
1505
|
+
organizationId: Scalars['ID']['output'];
|
|
1506
|
+
roleId: Scalars['ID']['output'];
|
|
1507
|
+
updatedAt: Scalars['Date']['output'];
|
|
1508
|
+
user?: Maybe<User>;
|
|
1509
|
+
userId: Scalars['ID']['output'];
|
|
1510
|
+
};
|
|
1511
|
+
|
|
1512
|
+
export type PaginatedResults = {
|
|
1513
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
1514
|
+
totalCount: Scalars['Int']['output'];
|
|
1515
|
+
};
|
|
1516
|
+
|
|
1517
|
+
export type Permission = Auditable & {
|
|
1518
|
+
__typename?: 'Permission';
|
|
1519
|
+
action: Scalars['String']['output'];
|
|
1520
|
+
condition?: Maybe<Scalars['JSON']['output']>;
|
|
1521
|
+
createdAt: Scalars['Date']['output'];
|
|
1522
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1523
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
1524
|
+
id: Scalars['ID']['output'];
|
|
1525
|
+
metadata: Scalars['JSON']['output'];
|
|
1526
|
+
name: Scalars['String']['output'];
|
|
1527
|
+
resource?: Maybe<Resource>;
|
|
1528
|
+
resourceId?: Maybe<Scalars['ID']['output']>;
|
|
1529
|
+
tags?: Maybe<Array<Tag>>;
|
|
1530
|
+
updatedAt: Scalars['Date']['output'];
|
|
1531
|
+
};
|
|
1532
|
+
|
|
1533
|
+
/** Custom permission for this project; `resource` is an opaque key in the same document. */
|
|
1534
|
+
export type PermissionCdmInput = {
|
|
1535
|
+
action: Scalars['String']['input'];
|
|
1536
|
+
condition?: InputMaybe<Scalars['JSON']['input']>;
|
|
1537
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
1538
|
+
groups?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1539
|
+
key: Scalars['String']['input'];
|
|
1540
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
1541
|
+
name: Scalars['String']['input'];
|
|
1542
|
+
primaryTag?: InputMaybe<Scalars['String']['input']>;
|
|
1543
|
+
resource: Scalars['String']['input'];
|
|
1544
|
+
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1545
|
+
};
|
|
1546
|
+
|
|
1547
|
+
export type PermissionPage = PaginatedResults & {
|
|
1548
|
+
__typename?: 'PermissionPage';
|
|
1549
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
1550
|
+
permissions: Array<Permission>;
|
|
1551
|
+
totalCount: Scalars['Int']['output'];
|
|
1552
|
+
};
|
|
1553
|
+
|
|
1554
|
+
export enum PermissionSearchableField {
|
|
1555
|
+
Action = 'action',
|
|
1556
|
+
Description = 'description',
|
|
1557
|
+
Name = 'name',
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
export type PermissionSortInput = {
|
|
1561
|
+
field: PermissionSortableField;
|
|
1562
|
+
order: SortOrder;
|
|
1563
|
+
};
|
|
1564
|
+
|
|
1565
|
+
export enum PermissionSortableField {
|
|
1566
|
+
Action = 'action',
|
|
1567
|
+
Name = 'name',
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
export type PermissionTag = Auditable & {
|
|
1571
|
+
__typename?: 'PermissionTag';
|
|
1572
|
+
createdAt: Scalars['Date']['output'];
|
|
1573
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1574
|
+
id: Scalars['ID']['output'];
|
|
1575
|
+
isPrimary: Scalars['Boolean']['output'];
|
|
1576
|
+
permission?: Maybe<Permission>;
|
|
1577
|
+
permissionId: Scalars['ID']['output'];
|
|
1578
|
+
tag?: Maybe<Tag>;
|
|
1579
|
+
tagId: Scalars['ID']['output'];
|
|
1580
|
+
updatedAt: Scalars['Date']['output'];
|
|
1581
|
+
};
|
|
1582
|
+
|
|
1583
|
+
export type PermissionTagPermissionArgs = {
|
|
1584
|
+
scope: Scope;
|
|
1585
|
+
};
|
|
1586
|
+
|
|
1587
|
+
export type PermissionTagTagArgs = {
|
|
1588
|
+
scope: Scope;
|
|
1589
|
+
};
|
|
1590
|
+
|
|
1591
|
+
export type Project = Auditable & {
|
|
1592
|
+
__typename?: 'Project';
|
|
1593
|
+
accountTags?: Maybe<Array<Tag>>;
|
|
1594
|
+
createdAt: Scalars['Date']['output'];
|
|
1595
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1596
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
1597
|
+
groups?: Maybe<Array<Group>>;
|
|
1598
|
+
id: Scalars['ID']['output'];
|
|
1599
|
+
name: Scalars['String']['output'];
|
|
1600
|
+
organizationTags?: Maybe<Array<Tag>>;
|
|
1601
|
+
permissions?: Maybe<Array<Permission>>;
|
|
1602
|
+
resources?: Maybe<Array<Resource>>;
|
|
1603
|
+
roles?: Maybe<Array<Role>>;
|
|
1604
|
+
slug: Scalars['String']['output'];
|
|
1605
|
+
tags?: Maybe<Array<Tag>>;
|
|
1606
|
+
updatedAt: Scalars['Date']['output'];
|
|
1607
|
+
users?: Maybe<Array<User>>;
|
|
1608
|
+
};
|
|
1609
|
+
|
|
1610
|
+
export type ProjectApp = Auditable & {
|
|
1611
|
+
__typename?: 'ProjectApp';
|
|
1612
|
+
/** Whether new users can sign up when authenticating via this app. Default true. */
|
|
1613
|
+
allowSignUp?: Maybe<Scalars['Boolean']['output']>;
|
|
1614
|
+
clientId: Scalars['String']['output'];
|
|
1615
|
+
createdAt: Scalars['Date']['output'];
|
|
1616
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1617
|
+
/** Auth providers enabled for this app (e.g. github, email). Empty/null = all configured providers. */
|
|
1618
|
+
enabledProviders?: Maybe<Array<Scalars['String']['output']>>;
|
|
1619
|
+
id: Scalars['ID']['output'];
|
|
1620
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
1621
|
+
project?: Maybe<Project>;
|
|
1622
|
+
projectId: Scalars['ID']['output'];
|
|
1623
|
+
redirectUris: Array<Scalars['String']['output']>;
|
|
1624
|
+
scopes?: Maybe<Array<Scalars['String']['output']>>;
|
|
1625
|
+
/** Resolved role for signUpRoleId (for display). */
|
|
1626
|
+
signUpRole?: Maybe<Role>;
|
|
1627
|
+
/** Role assigned to users who sign up via this app. Required when allowSignUp is true. */
|
|
1628
|
+
signUpRoleId?: Maybe<Scalars['ID']['output']>;
|
|
1629
|
+
tags?: Maybe<Array<Tag>>;
|
|
1630
|
+
updatedAt: Scalars['Date']['output'];
|
|
1631
|
+
};
|
|
1632
|
+
|
|
1633
|
+
export type ProjectAppPage = PaginatedResults & {
|
|
1634
|
+
__typename?: 'ProjectAppPage';
|
|
1635
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
1636
|
+
projectApps: Array<ProjectApp>;
|
|
1637
|
+
totalCount: Scalars['Int']['output'];
|
|
1638
|
+
};
|
|
1639
|
+
|
|
1640
|
+
export enum ProjectAppSearchableField {
|
|
1641
|
+
Name = 'name',
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
export type ProjectAppSortInput = {
|
|
1645
|
+
field: ProjectAppSortableField;
|
|
1646
|
+
order: SortOrder;
|
|
1647
|
+
};
|
|
1648
|
+
|
|
1649
|
+
export enum ProjectAppSortableField {
|
|
1650
|
+
CreatedAt = 'createdAt',
|
|
1651
|
+
Name = 'name',
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
export type ProjectAppTag = Auditable & {
|
|
1655
|
+
__typename?: 'ProjectAppTag';
|
|
1656
|
+
createdAt: Scalars['Date']['output'];
|
|
1657
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1658
|
+
id: Scalars['ID']['output'];
|
|
1659
|
+
isPrimary: Scalars['Boolean']['output'];
|
|
1660
|
+
projectAppId: Scalars['ID']['output'];
|
|
1661
|
+
tagId: Scalars['ID']['output'];
|
|
1662
|
+
updatedAt: Scalars['Date']['output'];
|
|
1663
|
+
};
|
|
1664
|
+
|
|
1665
|
+
export type ProjectGroup = Auditable & {
|
|
1666
|
+
__typename?: 'ProjectGroup';
|
|
1667
|
+
createdAt: Scalars['Date']['output'];
|
|
1668
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1669
|
+
group?: Maybe<Group>;
|
|
1670
|
+
groupId: Scalars['ID']['output'];
|
|
1671
|
+
id: Scalars['ID']['output'];
|
|
1672
|
+
project?: Maybe<Project>;
|
|
1673
|
+
projectId: Scalars['ID']['output'];
|
|
1674
|
+
updatedAt: Scalars['Date']['output'];
|
|
1675
|
+
};
|
|
1676
|
+
|
|
1677
|
+
export type ProjectGroupProjectArgs = {
|
|
1678
|
+
organizationId: Scalars['ID']['input'];
|
|
1679
|
+
};
|
|
1680
|
+
|
|
1681
|
+
export type ProjectMembershipExportData = {
|
|
1682
|
+
__typename?: 'ProjectMembershipExportData';
|
|
1683
|
+
joinedAt: Scalars['Date']['output'];
|
|
1684
|
+
projectId: Scalars['ID']['output'];
|
|
1685
|
+
projectName: Scalars['String']['output'];
|
|
1686
|
+
role: Scalars['String']['output'];
|
|
1687
|
+
};
|
|
1688
|
+
|
|
1689
|
+
export type ProjectPage = PaginatedResults & {
|
|
1690
|
+
__typename?: 'ProjectPage';
|
|
1691
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
1692
|
+
projects: Array<Project>;
|
|
1693
|
+
totalCount: Scalars['Int']['output'];
|
|
1694
|
+
};
|
|
1695
|
+
|
|
1696
|
+
export type ProjectPermission = Auditable & {
|
|
1697
|
+
__typename?: 'ProjectPermission';
|
|
1698
|
+
createdAt: Scalars['Date']['output'];
|
|
1699
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1700
|
+
id: Scalars['ID']['output'];
|
|
1701
|
+
permission?: Maybe<Permission>;
|
|
1702
|
+
permissionId: Scalars['ID']['output'];
|
|
1703
|
+
project?: Maybe<Project>;
|
|
1704
|
+
projectId: Scalars['ID']['output'];
|
|
1705
|
+
updatedAt: Scalars['Date']['output'];
|
|
1706
|
+
};
|
|
1707
|
+
|
|
1708
|
+
export type ProjectPermissionProjectArgs = {
|
|
1709
|
+
organizationId: Scalars['ID']['input'];
|
|
1710
|
+
};
|
|
1711
|
+
|
|
1712
|
+
export type ProjectResource = Auditable & {
|
|
1713
|
+
__typename?: 'ProjectResource';
|
|
1714
|
+
createdAt: Scalars['Date']['output'];
|
|
1715
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1716
|
+
id: Scalars['ID']['output'];
|
|
1717
|
+
project?: Maybe<Project>;
|
|
1718
|
+
projectId: Scalars['ID']['output'];
|
|
1719
|
+
resource?: Maybe<Resource>;
|
|
1720
|
+
resourceId: Scalars['ID']['output'];
|
|
1721
|
+
updatedAt: Scalars['Date']['output'];
|
|
1722
|
+
};
|
|
1723
|
+
|
|
1724
|
+
export type ProjectRole = Auditable & {
|
|
1725
|
+
__typename?: 'ProjectRole';
|
|
1726
|
+
createdAt: Scalars['Date']['output'];
|
|
1727
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1728
|
+
id: Scalars['ID']['output'];
|
|
1729
|
+
project?: Maybe<Project>;
|
|
1730
|
+
projectId: Scalars['ID']['output'];
|
|
1731
|
+
role?: Maybe<Role>;
|
|
1732
|
+
roleId: Scalars['ID']['output'];
|
|
1733
|
+
updatedAt: Scalars['Date']['output'];
|
|
1734
|
+
};
|
|
1735
|
+
|
|
1736
|
+
export type ProjectRoleProjectArgs = {
|
|
1737
|
+
organizationId: Scalars['ID']['input'];
|
|
1738
|
+
};
|
|
1739
|
+
|
|
1740
|
+
export enum ProjectSearchableField {
|
|
1741
|
+
Description = 'description',
|
|
1742
|
+
Name = 'name',
|
|
1743
|
+
Slug = 'slug',
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
export type ProjectSortInput = {
|
|
1747
|
+
field: ProjectSortableField;
|
|
1748
|
+
order: SortOrder;
|
|
1749
|
+
};
|
|
1750
|
+
|
|
1751
|
+
export enum ProjectSortableField {
|
|
1752
|
+
CreatedAt = 'createdAt',
|
|
1753
|
+
Name = 'name',
|
|
1754
|
+
UpdatedAt = 'updatedAt',
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
/** Asynchronous project CDM import or export job. */
|
|
1758
|
+
export type ProjectSyncJob = {
|
|
1759
|
+
__typename?: 'ProjectSyncJob';
|
|
1760
|
+
cancelledAt?: Maybe<Scalars['Date']['output']>;
|
|
1761
|
+
cdmVersion: Scalars['Int']['output'];
|
|
1762
|
+
completedAt?: Maybe<Scalars['Date']['output']>;
|
|
1763
|
+
enqueuedAt: Scalars['Date']['output'];
|
|
1764
|
+
errorMessage?: Maybe<Scalars['String']['output']>;
|
|
1765
|
+
/** Rollback snapshot (import) or exported CDM (export); REST `.../snapshot`. */
|
|
1766
|
+
hasSnapshot: Scalars['Boolean']['output'];
|
|
1767
|
+
id: Scalars['ID']['output'];
|
|
1768
|
+
/** Client idempotency key from `SyncProjectInput.id` on import. */
|
|
1769
|
+
jobName?: Maybe<Scalars['String']['output']>;
|
|
1770
|
+
/** Import merge/replace; null for export. */
|
|
1771
|
+
modeStrategy?: Maybe<CdmModeStrategy>;
|
|
1772
|
+
operation: ProjectSyncJobOperation;
|
|
1773
|
+
projectId: Scalars['ID']['output'];
|
|
1774
|
+
/** Import counters when completed; null for export (CDM in snapshot download). */
|
|
1775
|
+
result?: Maybe<SyncProjectResult>;
|
|
1776
|
+
snapshotSizeBytes?: Maybe<Scalars['Int']['output']>;
|
|
1777
|
+
snapshotTakenAt?: Maybe<Scalars['Date']['output']>;
|
|
1778
|
+
startedAt?: Maybe<Scalars['Date']['output']>;
|
|
1779
|
+
status: ProjectSyncJobStatus;
|
|
1780
|
+
warnings: Array<Scalars['String']['output']>;
|
|
1781
|
+
};
|
|
1782
|
+
|
|
1783
|
+
/** CDM import or export work for a project (`project_sync_jobs`). */
|
|
1784
|
+
export enum ProjectSyncJobOperation {
|
|
1785
|
+
Export = 'EXPORT',
|
|
1786
|
+
Import = 'IMPORT',
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
/** Paginated list of project CDM sync jobs. */
|
|
1790
|
+
export type ProjectSyncJobPage = PaginatedResults & {
|
|
1791
|
+
__typename?: 'ProjectSyncJobPage';
|
|
1792
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
1793
|
+
jobs: Array<ProjectSyncJob>;
|
|
1794
|
+
totalCount: Scalars['Int']['output'];
|
|
1795
|
+
};
|
|
1796
|
+
|
|
1797
|
+
export type ProjectSyncJobSortInput = {
|
|
1798
|
+
field: ProjectSyncJobSortableField;
|
|
1799
|
+
order: SortOrder;
|
|
1800
|
+
};
|
|
1801
|
+
|
|
1802
|
+
export enum ProjectSyncJobSortableField {
|
|
1803
|
+
CompletedAt = 'completedAt',
|
|
1804
|
+
EnqueuedAt = 'enqueuedAt',
|
|
1805
|
+
JobName = 'jobName',
|
|
1806
|
+
StartedAt = 'startedAt',
|
|
1807
|
+
Status = 'status',
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
/** Lifecycle status of an asynchronous project CDM sync job. */
|
|
1811
|
+
export enum ProjectSyncJobStatus {
|
|
1812
|
+
Cancelled = 'CANCELLED',
|
|
1813
|
+
Completed = 'COMPLETED',
|
|
1814
|
+
Failed = 'FAILED',
|
|
1815
|
+
Pending = 'PENDING',
|
|
1816
|
+
Running = 'RUNNING',
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
export type ProjectTag = Auditable & {
|
|
1820
|
+
__typename?: 'ProjectTag';
|
|
1821
|
+
createdAt: Scalars['Date']['output'];
|
|
1822
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1823
|
+
id: Scalars['ID']['output'];
|
|
1824
|
+
isPrimary: Scalars['Boolean']['output'];
|
|
1825
|
+
project?: Maybe<Project>;
|
|
1826
|
+
projectId: Scalars['ID']['output'];
|
|
1827
|
+
tag?: Maybe<Tag>;
|
|
1828
|
+
tagId: Scalars['ID']['output'];
|
|
1829
|
+
updatedAt: Scalars['Date']['output'];
|
|
1830
|
+
};
|
|
1831
|
+
|
|
1832
|
+
export type ProjectTagProjectArgs = {
|
|
1833
|
+
organizationId: Scalars['ID']['input'];
|
|
1834
|
+
};
|
|
1835
|
+
|
|
1836
|
+
export type ProjectUser = Auditable & {
|
|
1837
|
+
__typename?: 'ProjectUser';
|
|
1838
|
+
createdAt: Scalars['Date']['output'];
|
|
1839
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1840
|
+
displayName?: Maybe<Scalars['String']['output']>;
|
|
1841
|
+
id: Scalars['ID']['output'];
|
|
1842
|
+
metadata: Scalars['JSON']['output'];
|
|
1843
|
+
pictureUrl?: Maybe<Scalars['String']['output']>;
|
|
1844
|
+
project?: Maybe<Project>;
|
|
1845
|
+
projectId: Scalars['ID']['output'];
|
|
1846
|
+
updatedAt: Scalars['Date']['output'];
|
|
1847
|
+
user?: Maybe<User>;
|
|
1848
|
+
userId: Scalars['ID']['output'];
|
|
1849
|
+
};
|
|
1850
|
+
|
|
1851
|
+
export type ProjectUserProjectArgs = {
|
|
1852
|
+
organizationId: Scalars['ID']['input'];
|
|
1853
|
+
};
|
|
1854
|
+
|
|
1855
|
+
export type ProjectUserApiKey = Auditable & {
|
|
1856
|
+
__typename?: 'ProjectUserApiKey';
|
|
1857
|
+
apiKey?: Maybe<ApiKey>;
|
|
1858
|
+
apiKeyId: Scalars['ID']['output'];
|
|
1859
|
+
createdAt: Scalars['Date']['output'];
|
|
1860
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
1861
|
+
id: Scalars['ID']['output'];
|
|
1862
|
+
project?: Maybe<Project>;
|
|
1863
|
+
projectId: Scalars['ID']['output'];
|
|
1864
|
+
updatedAt: Scalars['Date']['output'];
|
|
1865
|
+
user?: Maybe<User>;
|
|
1866
|
+
userId: Scalars['ID']['output'];
|
|
1867
|
+
};
|
|
1868
|
+
|
|
1869
|
+
export type Query = {
|
|
1870
|
+
__typename?: 'Query';
|
|
1871
|
+
_empty?: Maybe<Scalars['String']['output']>;
|
|
1872
|
+
apiKeys: ApiKeyPage;
|
|
1873
|
+
groups: GroupPage;
|
|
1874
|
+
invitation?: Maybe<OrganizationInvitation>;
|
|
1875
|
+
isAuthorized: AuthorizationResult;
|
|
1876
|
+
me: MeResponse;
|
|
1877
|
+
myMfaDevices: Array<MfaDevice>;
|
|
1878
|
+
myMfaRecoveryCodeStatus: MfaRecoveryCodeStatus;
|
|
1879
|
+
myUserAuthenticationMethods: Array<UserAuthenticationMethod>;
|
|
1880
|
+
myUserDataExport: UserDataExport;
|
|
1881
|
+
myUserSessions: UserSessionPage;
|
|
1882
|
+
organizationInvitations: OrganizationInvitationPage;
|
|
1883
|
+
organizationMembers: OrganizationMemberPage;
|
|
1884
|
+
organizations: OrganizationPage;
|
|
1885
|
+
permissions: PermissionPage;
|
|
1886
|
+
/** List OAuth apps for the given project scope. Allowed scopes: accountProject, organizationProject. */
|
|
1887
|
+
projectApps: ProjectAppPage;
|
|
1888
|
+
/**
|
|
1889
|
+
* Read the current state of a project CDM sync job. Use this to poll
|
|
1890
|
+
* the lifecycle of a job started via `startProjectSync`.
|
|
1891
|
+
*/
|
|
1892
|
+
projectSyncJob: ProjectSyncJob;
|
|
1893
|
+
/**
|
|
1894
|
+
* List project CDM sync jobs for a project, with optional pagination,
|
|
1895
|
+
* search (matches jobName), status filter, and sort. Use this to populate the
|
|
1896
|
+
* job history view. Use `projectSyncJob` to read a single job's
|
|
1897
|
+
* current state for polling.
|
|
1898
|
+
*/
|
|
1899
|
+
projectSyncJobs: ProjectSyncJobPage;
|
|
1900
|
+
projects: ProjectPage;
|
|
1901
|
+
resources: ResourcePage;
|
|
1902
|
+
roles: RolePage;
|
|
1903
|
+
/**
|
|
1904
|
+
* List signing keys for the given scope (current + rotated).
|
|
1905
|
+
* Allowed scopes: accountProject, organizationProject only.
|
|
1906
|
+
*/
|
|
1907
|
+
signingKeys: Array<SigningKey>;
|
|
1908
|
+
tags: TagPage;
|
|
1909
|
+
users: UserPage;
|
|
1910
|
+
};
|
|
1911
|
+
|
|
1912
|
+
export type QueryApiKeysArgs = {
|
|
1913
|
+
ids?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1914
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1915
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1916
|
+
scope: Scope;
|
|
1917
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
1918
|
+
sort?: InputMaybe<ApiKeySortInput>;
|
|
1919
|
+
};
|
|
1920
|
+
|
|
1921
|
+
export type QueryGroupsArgs = {
|
|
1922
|
+
ids?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1923
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1924
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1925
|
+
scope: Scope;
|
|
1926
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
1927
|
+
sort?: InputMaybe<GroupSortInput>;
|
|
1928
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1929
|
+
};
|
|
1930
|
+
|
|
1931
|
+
export type QueryInvitationArgs = {
|
|
1932
|
+
token: Scalars['String']['input'];
|
|
1933
|
+
};
|
|
1934
|
+
|
|
1935
|
+
export type QueryIsAuthorizedArgs = {
|
|
1936
|
+
input: IsAuthorizedInput;
|
|
1937
|
+
};
|
|
1938
|
+
|
|
1939
|
+
export type QueryMyUserSessionsArgs = {
|
|
1940
|
+
input: MyUserSessionsInput;
|
|
1941
|
+
};
|
|
1942
|
+
|
|
1943
|
+
export type QueryOrganizationInvitationsArgs = {
|
|
1944
|
+
ids?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1945
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1946
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1947
|
+
scope: Scope;
|
|
1948
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
1949
|
+
sort?: InputMaybe<OrganizationInvitationSortInput>;
|
|
1950
|
+
status?: InputMaybe<OrganizationInvitationStatus>;
|
|
1951
|
+
};
|
|
1952
|
+
|
|
1953
|
+
export type QueryOrganizationMembersArgs = {
|
|
1954
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1955
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1956
|
+
scope: Scope;
|
|
1957
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
1958
|
+
sort?: InputMaybe<OrganizationMemberSortInput>;
|
|
1959
|
+
status?: InputMaybe<OrganizationInvitationStatus>;
|
|
1960
|
+
};
|
|
1961
|
+
|
|
1962
|
+
export type QueryOrganizationsArgs = {
|
|
1963
|
+
ids?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1964
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1965
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1966
|
+
scope: Scope;
|
|
1967
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
1968
|
+
sort?: InputMaybe<OrganizationSortInput>;
|
|
1969
|
+
};
|
|
1970
|
+
|
|
1971
|
+
export type QueryPermissionsArgs = {
|
|
1972
|
+
ids?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1973
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1974
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1975
|
+
scope: Scope;
|
|
1976
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
1977
|
+
sort?: InputMaybe<PermissionSortInput>;
|
|
1978
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1979
|
+
};
|
|
1980
|
+
|
|
1981
|
+
export type QueryProjectAppsArgs = {
|
|
1982
|
+
ids?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1983
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1984
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1985
|
+
scope: Scope;
|
|
1986
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
1987
|
+
sort?: InputMaybe<ProjectAppSortInput>;
|
|
1988
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1989
|
+
};
|
|
1990
|
+
|
|
1991
|
+
export type QueryProjectSyncJobArgs = {
|
|
1992
|
+
id: Scalars['ID']['input'];
|
|
1993
|
+
jobId: Scalars['ID']['input'];
|
|
1994
|
+
scope: Scope;
|
|
1995
|
+
};
|
|
1996
|
+
|
|
1997
|
+
export type QueryProjectSyncJobsArgs = {
|
|
1998
|
+
id: Scalars['ID']['input'];
|
|
1999
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
2000
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
2001
|
+
scope: Scope;
|
|
2002
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
2003
|
+
sort?: InputMaybe<ProjectSyncJobSortInput>;
|
|
2004
|
+
status?: InputMaybe<ProjectSyncJobStatus>;
|
|
2005
|
+
};
|
|
2006
|
+
|
|
2007
|
+
export type QueryProjectsArgs = {
|
|
2008
|
+
ids?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2009
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
2010
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
2011
|
+
scope: Scope;
|
|
2012
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
2013
|
+
sort?: InputMaybe<ProjectSortInput>;
|
|
2014
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2015
|
+
};
|
|
2016
|
+
|
|
2017
|
+
export type QueryResourcesArgs = {
|
|
2018
|
+
ids?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2019
|
+
isActive?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2020
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
2021
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
2022
|
+
scope: Scope;
|
|
2023
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
2024
|
+
sort?: InputMaybe<ResourceSortInput>;
|
|
2025
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2026
|
+
};
|
|
2027
|
+
|
|
2028
|
+
export type QueryRolesArgs = {
|
|
2029
|
+
ids?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2030
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
2031
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
2032
|
+
scope: Scope;
|
|
2033
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
2034
|
+
sort?: InputMaybe<RoleSortInput>;
|
|
2035
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2036
|
+
};
|
|
2037
|
+
|
|
2038
|
+
export type QuerySigningKeysArgs = {
|
|
2039
|
+
scope: Scope;
|
|
2040
|
+
};
|
|
2041
|
+
|
|
2042
|
+
export type QueryTagsArgs = {
|
|
2043
|
+
ids?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2044
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
2045
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
2046
|
+
scope: Scope;
|
|
2047
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
2048
|
+
sort?: InputMaybe<TagSortInput>;
|
|
2049
|
+
};
|
|
2050
|
+
|
|
2051
|
+
export type QueryUsersArgs = {
|
|
2052
|
+
ids?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2053
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
2054
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
2055
|
+
scope: Scope;
|
|
2056
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
2057
|
+
sort?: InputMaybe<UserSortInput>;
|
|
2058
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2059
|
+
};
|
|
2060
|
+
|
|
2061
|
+
export type QueryAccountProjectApiKeysInput = {
|
|
2062
|
+
accountId?: InputMaybe<Scalars['ID']['input']>;
|
|
2063
|
+
apiKeyId?: InputMaybe<Scalars['ID']['input']>;
|
|
2064
|
+
projectId?: InputMaybe<Scalars['ID']['input']>;
|
|
2065
|
+
};
|
|
2066
|
+
|
|
2067
|
+
export type QueryAccountProjectInput = {
|
|
2068
|
+
projectId: Scalars['ID']['input'];
|
|
2069
|
+
};
|
|
2070
|
+
|
|
2071
|
+
export type QueryAccountProjectTagInput = {
|
|
2072
|
+
accountId: Scalars['ID']['input'];
|
|
2073
|
+
projectId: Scalars['ID']['input'];
|
|
2074
|
+
tagId?: InputMaybe<Scalars['ID']['input']>;
|
|
2075
|
+
};
|
|
2076
|
+
|
|
2077
|
+
export type QueryAccountProjectsInput = {
|
|
2078
|
+
accountId: Scalars['ID']['input'];
|
|
2079
|
+
};
|
|
2080
|
+
|
|
2081
|
+
export type QueryAccountRolesInput = {
|
|
2082
|
+
accountId: Scalars['ID']['input'];
|
|
2083
|
+
};
|
|
2084
|
+
|
|
2085
|
+
export type QueryAccountTagsInput = {
|
|
2086
|
+
accountId: Scalars['ID']['input'];
|
|
2087
|
+
};
|
|
2088
|
+
|
|
2089
|
+
export type QueryAccountsInput = {
|
|
2090
|
+
ids?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2091
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
2092
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
2093
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
2094
|
+
sort?: InputMaybe<AccountSortInput>;
|
|
2095
|
+
};
|
|
2096
|
+
|
|
2097
|
+
export type QueryGroupPermissionsInput = {
|
|
2098
|
+
groupId?: InputMaybe<Scalars['ID']['input']>;
|
|
2099
|
+
permissionId?: InputMaybe<Scalars['ID']['input']>;
|
|
2100
|
+
};
|
|
2101
|
+
|
|
2102
|
+
export type QueryGroupTagsInput = {
|
|
2103
|
+
groupId?: InputMaybe<Scalars['ID']['input']>;
|
|
2104
|
+
tagId?: InputMaybe<Scalars['ID']['input']>;
|
|
2105
|
+
};
|
|
2106
|
+
|
|
2107
|
+
export type QueryOrganizationGroupsInput = {
|
|
2108
|
+
organizationId: Scalars['ID']['input'];
|
|
2109
|
+
};
|
|
2110
|
+
|
|
2111
|
+
export type QueryOrganizationPermissionsInput = {
|
|
2112
|
+
organizationId?: InputMaybe<Scalars['ID']['input']>;
|
|
2113
|
+
permissionId?: InputMaybe<Scalars['ID']['input']>;
|
|
2114
|
+
};
|
|
2115
|
+
|
|
2116
|
+
export type QueryOrganizationProjectApiKeysInput = {
|
|
2117
|
+
apiKeyId?: InputMaybe<Scalars['ID']['input']>;
|
|
2118
|
+
organizationId?: InputMaybe<Scalars['ID']['input']>;
|
|
2119
|
+
projectId?: InputMaybe<Scalars['ID']['input']>;
|
|
2120
|
+
};
|
|
2121
|
+
|
|
2122
|
+
export type QueryOrganizationProjectTagInput = {
|
|
2123
|
+
organizationId: Scalars['ID']['input'];
|
|
2124
|
+
projectId: Scalars['ID']['input'];
|
|
2125
|
+
tagId?: InputMaybe<Scalars['ID']['input']>;
|
|
2126
|
+
};
|
|
2127
|
+
|
|
2128
|
+
export type QueryOrganizationProjectsInput = {
|
|
2129
|
+
organizationId?: InputMaybe<Scalars['ID']['input']>;
|
|
2130
|
+
projectId?: InputMaybe<Scalars['ID']['input']>;
|
|
2131
|
+
};
|
|
2132
|
+
|
|
2133
|
+
export type QueryOrganizationRolesInput = {
|
|
2134
|
+
organizationId: Scalars['ID']['input'];
|
|
2135
|
+
};
|
|
2136
|
+
|
|
2137
|
+
export type QueryOrganizationTagsInput = {
|
|
2138
|
+
organizationId: Scalars['ID']['input'];
|
|
2139
|
+
};
|
|
2140
|
+
|
|
2141
|
+
export type QueryOrganizationUsersInput = {
|
|
2142
|
+
organizationId?: InputMaybe<Scalars['ID']['input']>;
|
|
2143
|
+
userId?: InputMaybe<Scalars['ID']['input']>;
|
|
2144
|
+
};
|
|
2145
|
+
|
|
2146
|
+
export type QueryPermissionTagsInput = {
|
|
2147
|
+
permissionId?: InputMaybe<Scalars['ID']['input']>;
|
|
2148
|
+
tagId?: InputMaybe<Scalars['ID']['input']>;
|
|
2149
|
+
};
|
|
2150
|
+
|
|
2151
|
+
export type QueryProjectAppTagsInput = {
|
|
2152
|
+
projectAppId?: InputMaybe<Scalars['ID']['input']>;
|
|
2153
|
+
tagId?: InputMaybe<Scalars['ID']['input']>;
|
|
2154
|
+
};
|
|
2155
|
+
|
|
2156
|
+
export type QueryProjectGroupsInput = {
|
|
2157
|
+
projectId: Scalars['ID']['input'];
|
|
2158
|
+
};
|
|
2159
|
+
|
|
2160
|
+
export type QueryProjectPermissionsInput = {
|
|
2161
|
+
permissionId?: InputMaybe<Scalars['ID']['input']>;
|
|
2162
|
+
projectId?: InputMaybe<Scalars['ID']['input']>;
|
|
2163
|
+
};
|
|
2164
|
+
|
|
2165
|
+
export type QueryProjectResourcesInput = {
|
|
2166
|
+
projectId?: InputMaybe<Scalars['ID']['input']>;
|
|
2167
|
+
resourceId?: InputMaybe<Scalars['ID']['input']>;
|
|
2168
|
+
};
|
|
2169
|
+
|
|
2170
|
+
export type QueryProjectRolesInput = {
|
|
2171
|
+
projectId: Scalars['ID']['input'];
|
|
2172
|
+
};
|
|
2173
|
+
|
|
2174
|
+
export type QueryProjectTagsInput = {
|
|
2175
|
+
projectId: Scalars['ID']['input'];
|
|
2176
|
+
tagId?: InputMaybe<Scalars['ID']['input']>;
|
|
2177
|
+
};
|
|
2178
|
+
|
|
2179
|
+
export type QueryProjectUserApiKeysInput = {
|
|
2180
|
+
projectId: Scalars['ID']['input'];
|
|
2181
|
+
userId: Scalars['ID']['input'];
|
|
2182
|
+
};
|
|
2183
|
+
|
|
2184
|
+
export type QueryProjectUsersInput = {
|
|
2185
|
+
projectId?: InputMaybe<Scalars['ID']['input']>;
|
|
2186
|
+
userId?: InputMaybe<Scalars['ID']['input']>;
|
|
2187
|
+
};
|
|
2188
|
+
|
|
2189
|
+
export type QueryResourceTagsInput = {
|
|
2190
|
+
resourceId?: InputMaybe<Scalars['ID']['input']>;
|
|
2191
|
+
tagId?: InputMaybe<Scalars['ID']['input']>;
|
|
2192
|
+
};
|
|
2193
|
+
|
|
2194
|
+
export type QueryRoleGroupsInput = {
|
|
2195
|
+
groupId?: InputMaybe<Scalars['ID']['input']>;
|
|
2196
|
+
roleId?: InputMaybe<Scalars['ID']['input']>;
|
|
2197
|
+
};
|
|
2198
|
+
|
|
2199
|
+
export type QueryRoleTagsInput = {
|
|
2200
|
+
roleId?: InputMaybe<Scalars['ID']['input']>;
|
|
2201
|
+
tagId?: InputMaybe<Scalars['ID']['input']>;
|
|
2202
|
+
};
|
|
2203
|
+
|
|
2204
|
+
export type QueryUserRolesInput = {
|
|
2205
|
+
roleId?: InputMaybe<Scalars['ID']['input']>;
|
|
2206
|
+
userId?: InputMaybe<Scalars['ID']['input']>;
|
|
2207
|
+
};
|
|
2208
|
+
|
|
2209
|
+
export type QueryUserTagsInput = {
|
|
2210
|
+
tagId?: InputMaybe<Scalars['ID']['input']>;
|
|
2211
|
+
userId?: InputMaybe<Scalars['ID']['input']>;
|
|
2212
|
+
};
|
|
2213
|
+
|
|
2214
|
+
export type RefreshSessionResponse = {
|
|
2215
|
+
__typename?: 'RefreshSessionResponse';
|
|
2216
|
+
accessToken: Scalars['String']['output'];
|
|
2217
|
+
refreshToken: Scalars['String']['output'];
|
|
2218
|
+
};
|
|
2219
|
+
|
|
2220
|
+
export type RegisterInput = {
|
|
2221
|
+
provider: UserAuthenticationMethodProvider;
|
|
2222
|
+
providerData: Scalars['JSON']['input'];
|
|
2223
|
+
providerId: Scalars['String']['input'];
|
|
2224
|
+
type: AccountType;
|
|
2225
|
+
};
|
|
2226
|
+
|
|
2227
|
+
export type RemoveAccountProjectApiKeyInput = {
|
|
2228
|
+
accountId: Scalars['ID']['input'];
|
|
2229
|
+
apiKeyId: Scalars['ID']['input'];
|
|
2230
|
+
projectId: Scalars['ID']['input'];
|
|
2231
|
+
};
|
|
2232
|
+
|
|
2233
|
+
export type RemoveAccountProjectInput = {
|
|
2234
|
+
accountId: Scalars['ID']['input'];
|
|
2235
|
+
projectId: Scalars['ID']['input'];
|
|
2236
|
+
};
|
|
2237
|
+
|
|
2238
|
+
export type RemoveAccountProjectTagInput = {
|
|
2239
|
+
accountId: Scalars['ID']['input'];
|
|
2240
|
+
projectId: Scalars['ID']['input'];
|
|
2241
|
+
tagId: Scalars['ID']['input'];
|
|
2242
|
+
};
|
|
2243
|
+
|
|
2244
|
+
export type RemoveAccountRoleInput = {
|
|
2245
|
+
accountId: Scalars['ID']['input'];
|
|
2246
|
+
roleId: Scalars['ID']['input'];
|
|
2247
|
+
};
|
|
2248
|
+
|
|
2249
|
+
export type RemoveAccountTagInput = {
|
|
2250
|
+
accountId: Scalars['ID']['input'];
|
|
2251
|
+
tagId: Scalars['ID']['input'];
|
|
2252
|
+
};
|
|
2253
|
+
|
|
2254
|
+
export type RemoveGroupPermissionInput = {
|
|
2255
|
+
groupId: Scalars['ID']['input'];
|
|
2256
|
+
permissionId: Scalars['ID']['input'];
|
|
2257
|
+
};
|
|
2258
|
+
|
|
2259
|
+
export type RemoveGroupTagInput = {
|
|
2260
|
+
groupId: Scalars['ID']['input'];
|
|
2261
|
+
tagId: Scalars['ID']['input'];
|
|
2262
|
+
};
|
|
2263
|
+
|
|
2264
|
+
export type RemoveMyMfaDeviceInput = {
|
|
2265
|
+
factorId: Scalars['ID']['input'];
|
|
2266
|
+
};
|
|
2267
|
+
|
|
2268
|
+
export type RemoveOrganizationGroupInput = {
|
|
2269
|
+
groupId: Scalars['ID']['input'];
|
|
2270
|
+
organizationId: Scalars['ID']['input'];
|
|
2271
|
+
};
|
|
2272
|
+
|
|
2273
|
+
export type RemoveOrganizationMemberInput = {
|
|
2274
|
+
scope: Scope;
|
|
2275
|
+
};
|
|
2276
|
+
|
|
2277
|
+
export type RemoveOrganizationPermissionInput = {
|
|
2278
|
+
organizationId: Scalars['ID']['input'];
|
|
2279
|
+
permissionId: Scalars['ID']['input'];
|
|
2280
|
+
};
|
|
2281
|
+
|
|
2282
|
+
export type RemoveOrganizationProjectApiKeyInput = {
|
|
2283
|
+
apiKeyId: Scalars['ID']['input'];
|
|
2284
|
+
organizationId: Scalars['ID']['input'];
|
|
2285
|
+
projectId: Scalars['ID']['input'];
|
|
2286
|
+
};
|
|
2287
|
+
|
|
2288
|
+
export type RemoveOrganizationProjectInput = {
|
|
2289
|
+
organizationId: Scalars['ID']['input'];
|
|
2290
|
+
projectId: Scalars['ID']['input'];
|
|
2291
|
+
};
|
|
2292
|
+
|
|
2293
|
+
export type RemoveOrganizationProjectTagInput = {
|
|
2294
|
+
organizationId: Scalars['ID']['input'];
|
|
2295
|
+
projectId: Scalars['ID']['input'];
|
|
2296
|
+
tagId: Scalars['ID']['input'];
|
|
2297
|
+
};
|
|
2298
|
+
|
|
2299
|
+
export type RemoveOrganizationRoleInput = {
|
|
2300
|
+
organizationId: Scalars['ID']['input'];
|
|
2301
|
+
roleId: Scalars['ID']['input'];
|
|
2302
|
+
};
|
|
2303
|
+
|
|
2304
|
+
export type RemoveOrganizationTagInput = {
|
|
2305
|
+
organizationId: Scalars['ID']['input'];
|
|
2306
|
+
tagId: Scalars['ID']['input'];
|
|
2307
|
+
};
|
|
2308
|
+
|
|
2309
|
+
export type RemoveOrganizationUserInput = {
|
|
2310
|
+
organizationId: Scalars['ID']['input'];
|
|
2311
|
+
userId: Scalars['ID']['input'];
|
|
2312
|
+
};
|
|
2313
|
+
|
|
2314
|
+
export type RemovePermissionTagInput = {
|
|
2315
|
+
permissionId: Scalars['ID']['input'];
|
|
2316
|
+
tagId: Scalars['ID']['input'];
|
|
2317
|
+
};
|
|
2318
|
+
|
|
2319
|
+
export type RemoveProjectAppTagInput = {
|
|
2320
|
+
projectAppId: Scalars['ID']['input'];
|
|
2321
|
+
tagId: Scalars['ID']['input'];
|
|
2322
|
+
};
|
|
2323
|
+
|
|
2324
|
+
export type RemoveProjectGroupInput = {
|
|
2325
|
+
groupId: Scalars['ID']['input'];
|
|
2326
|
+
projectId: Scalars['ID']['input'];
|
|
2327
|
+
};
|
|
2328
|
+
|
|
2329
|
+
export type RemoveProjectPermissionInput = {
|
|
2330
|
+
permissionId: Scalars['ID']['input'];
|
|
2331
|
+
projectId: Scalars['ID']['input'];
|
|
2332
|
+
};
|
|
2333
|
+
|
|
2334
|
+
export type RemoveProjectResourceInput = {
|
|
2335
|
+
projectId: Scalars['ID']['input'];
|
|
2336
|
+
resourceId: Scalars['ID']['input'];
|
|
2337
|
+
};
|
|
2338
|
+
|
|
2339
|
+
export type RemoveProjectRoleInput = {
|
|
2340
|
+
projectId: Scalars['ID']['input'];
|
|
2341
|
+
roleId: Scalars['ID']['input'];
|
|
2342
|
+
};
|
|
2343
|
+
|
|
2344
|
+
export type RemoveProjectTagInput = {
|
|
2345
|
+
projectId: Scalars['ID']['input'];
|
|
2346
|
+
tagId: Scalars['ID']['input'];
|
|
2347
|
+
};
|
|
2348
|
+
|
|
2349
|
+
export type RemoveProjectUserApiKeyInput = {
|
|
2350
|
+
apiKeyId: Scalars['ID']['input'];
|
|
2351
|
+
projectId: Scalars['ID']['input'];
|
|
2352
|
+
userId: Scalars['ID']['input'];
|
|
2353
|
+
};
|
|
2354
|
+
|
|
2355
|
+
export type RemoveProjectUserInput = {
|
|
2356
|
+
projectId: Scalars['ID']['input'];
|
|
2357
|
+
userId: Scalars['ID']['input'];
|
|
2358
|
+
};
|
|
2359
|
+
|
|
2360
|
+
export type RemoveResourceTagInput = {
|
|
2361
|
+
resourceId: Scalars['ID']['input'];
|
|
2362
|
+
tagId: Scalars['ID']['input'];
|
|
2363
|
+
};
|
|
2364
|
+
|
|
2365
|
+
export type RemoveRoleGroupInput = {
|
|
2366
|
+
groupId: Scalars['ID']['input'];
|
|
2367
|
+
roleId: Scalars['ID']['input'];
|
|
2368
|
+
};
|
|
2369
|
+
|
|
2370
|
+
export type RemoveRoleTagInput = {
|
|
2371
|
+
roleId: Scalars['ID']['input'];
|
|
2372
|
+
tagId: Scalars['ID']['input'];
|
|
2373
|
+
};
|
|
2374
|
+
|
|
2375
|
+
export type RemoveUserRoleInput = {
|
|
2376
|
+
roleId: Scalars['ID']['input'];
|
|
2377
|
+
userId: Scalars['ID']['input'];
|
|
2378
|
+
};
|
|
2379
|
+
|
|
2380
|
+
export type RemoveUserTagInput = {
|
|
2381
|
+
tagId: Scalars['ID']['input'];
|
|
2382
|
+
userId: Scalars['ID']['input'];
|
|
2383
|
+
};
|
|
2384
|
+
|
|
2385
|
+
export type RequestPasswordResetInput = {
|
|
2386
|
+
email: Scalars['String']['input'];
|
|
2387
|
+
};
|
|
2388
|
+
|
|
2389
|
+
export type RequestPasswordResetResponse = {
|
|
2390
|
+
__typename?: 'RequestPasswordResetResponse';
|
|
2391
|
+
message: Scalars['String']['output'];
|
|
2392
|
+
messageKey: Scalars['String']['output'];
|
|
2393
|
+
success: Scalars['Boolean']['output'];
|
|
2394
|
+
};
|
|
2395
|
+
|
|
2396
|
+
export type ResendVerificationInput = {
|
|
2397
|
+
email: Scalars['String']['input'];
|
|
2398
|
+
};
|
|
2399
|
+
|
|
2400
|
+
export type ResendVerificationResponse = {
|
|
2401
|
+
__typename?: 'ResendVerificationResponse';
|
|
2402
|
+
message: Scalars['String']['output'];
|
|
2403
|
+
messageKey?: Maybe<Scalars['String']['output']>;
|
|
2404
|
+
success: Scalars['Boolean']['output'];
|
|
2405
|
+
};
|
|
2406
|
+
|
|
2407
|
+
export type ResetPasswordInput = {
|
|
2408
|
+
newPassword: Scalars['String']['input'];
|
|
2409
|
+
token: Scalars['String']['input'];
|
|
2410
|
+
};
|
|
2411
|
+
|
|
2412
|
+
export type ResetPasswordResponse = {
|
|
2413
|
+
__typename?: 'ResetPasswordResponse';
|
|
2414
|
+
message: Scalars['String']['output'];
|
|
2415
|
+
messageKey: Scalars['String']['output'];
|
|
2416
|
+
success: Scalars['Boolean']['output'];
|
|
2417
|
+
};
|
|
2418
|
+
|
|
2419
|
+
export type Resource = Auditable & {
|
|
2420
|
+
__typename?: 'Resource';
|
|
2421
|
+
actions: Array<Scalars['String']['output']>;
|
|
2422
|
+
createdAt: Scalars['Date']['output'];
|
|
2423
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
2424
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
2425
|
+
id: Scalars['ID']['output'];
|
|
2426
|
+
isActive: Scalars['Boolean']['output'];
|
|
2427
|
+
metadata: Scalars['JSON']['output'];
|
|
2428
|
+
name: Scalars['String']['output'];
|
|
2429
|
+
permissions?: Maybe<Array<Permission>>;
|
|
2430
|
+
slug: Scalars['String']['output'];
|
|
2431
|
+
tags: Array<Tag>;
|
|
2432
|
+
updatedAt: Scalars['Date']['output'];
|
|
2433
|
+
};
|
|
2434
|
+
|
|
2435
|
+
/** Project resource row for CDM import/export. */
|
|
2436
|
+
export type ResourceCdmInput = {
|
|
2437
|
+
actions: Array<Scalars['String']['input']>;
|
|
2438
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
2439
|
+
key: Scalars['String']['input'];
|
|
2440
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
2441
|
+
name: Scalars['String']['input'];
|
|
2442
|
+
primaryTag?: InputMaybe<Scalars['String']['input']>;
|
|
2443
|
+
slug?: InputMaybe<Scalars['String']['input']>;
|
|
2444
|
+
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2445
|
+
};
|
|
2446
|
+
|
|
2447
|
+
export type ResourcePage = PaginatedResults & {
|
|
2448
|
+
__typename?: 'ResourcePage';
|
|
2449
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
2450
|
+
resources: Array<Resource>;
|
|
2451
|
+
totalCount: Scalars['Int']['output'];
|
|
2452
|
+
};
|
|
2453
|
+
|
|
2454
|
+
export enum ResourceSearchableField {
|
|
2455
|
+
Description = 'description',
|
|
2456
|
+
Name = 'name',
|
|
2457
|
+
Slug = 'slug',
|
|
2458
|
+
}
|
|
2459
|
+
|
|
2460
|
+
export type ResourceSortInput = {
|
|
2461
|
+
field: ResourceSortableField;
|
|
2462
|
+
order: SortOrder;
|
|
2463
|
+
};
|
|
2464
|
+
|
|
2465
|
+
export enum ResourceSortableField {
|
|
2466
|
+
CreatedAt = 'createdAt',
|
|
2467
|
+
Name = 'name',
|
|
2468
|
+
Slug = 'slug',
|
|
2469
|
+
UpdatedAt = 'updatedAt',
|
|
2470
|
+
}
|
|
2471
|
+
|
|
2472
|
+
export type ResourceTag = Auditable & {
|
|
2473
|
+
__typename?: 'ResourceTag';
|
|
2474
|
+
createdAt: Scalars['Date']['output'];
|
|
2475
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
2476
|
+
id: Scalars['ID']['output'];
|
|
2477
|
+
isPrimary: Scalars['Boolean']['output'];
|
|
2478
|
+
resource?: Maybe<Resource>;
|
|
2479
|
+
resourceId: Scalars['ID']['output'];
|
|
2480
|
+
tag?: Maybe<Tag>;
|
|
2481
|
+
tagId: Scalars['ID']['output'];
|
|
2482
|
+
updatedAt: Scalars['Date']['output'];
|
|
2483
|
+
};
|
|
2484
|
+
|
|
2485
|
+
export type ResourceTagResourceArgs = {
|
|
2486
|
+
scope: Scope;
|
|
2487
|
+
};
|
|
2488
|
+
|
|
2489
|
+
export type ResourceTagTagArgs = {
|
|
2490
|
+
scope: Scope;
|
|
2491
|
+
};
|
|
2492
|
+
|
|
2493
|
+
export type RevokeApiKeyInput = {
|
|
2494
|
+
id: Scalars['ID']['input'];
|
|
2495
|
+
scope: Scope;
|
|
2496
|
+
};
|
|
2497
|
+
|
|
2498
|
+
export type RevokeMyUserSessionResult = {
|
|
2499
|
+
__typename?: 'RevokeMyUserSessionResult';
|
|
2500
|
+
message: Scalars['String']['output'];
|
|
2501
|
+
success: Scalars['Boolean']['output'];
|
|
2502
|
+
};
|
|
2503
|
+
|
|
2504
|
+
export type Role = Auditable & {
|
|
2505
|
+
__typename?: 'Role';
|
|
2506
|
+
createdAt: Scalars['Date']['output'];
|
|
2507
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
2508
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
2509
|
+
groups?: Maybe<Array<Group>>;
|
|
2510
|
+
id: Scalars['ID']['output'];
|
|
2511
|
+
metadata: Scalars['JSON']['output'];
|
|
2512
|
+
name: Scalars['String']['output'];
|
|
2513
|
+
tags?: Maybe<Array<Tag>>;
|
|
2514
|
+
updatedAt: Scalars['Date']['output'];
|
|
2515
|
+
};
|
|
2516
|
+
|
|
2517
|
+
export type RoleCdmInput = {
|
|
2518
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
2519
|
+
groups?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2520
|
+
key: Scalars['String']['input'];
|
|
2521
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
2522
|
+
name: Scalars['String']['input'];
|
|
2523
|
+
permissions?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2524
|
+
primaryTag?: InputMaybe<Scalars['String']['input']>;
|
|
2525
|
+
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2526
|
+
};
|
|
2527
|
+
|
|
2528
|
+
export type RoleGroup = Auditable & {
|
|
2529
|
+
__typename?: 'RoleGroup';
|
|
2530
|
+
createdAt: Scalars['Date']['output'];
|
|
2531
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
2532
|
+
group?: Maybe<Group>;
|
|
2533
|
+
groupId: Scalars['ID']['output'];
|
|
2534
|
+
id: Scalars['ID']['output'];
|
|
2535
|
+
role?: Maybe<Role>;
|
|
2536
|
+
roleId: Scalars['ID']['output'];
|
|
2537
|
+
updatedAt: Scalars['Date']['output'];
|
|
2538
|
+
};
|
|
2539
|
+
|
|
2540
|
+
export type RoleGroupGroupArgs = {
|
|
2541
|
+
scope: Scope;
|
|
2542
|
+
};
|
|
2543
|
+
|
|
2544
|
+
export type RoleGroupRoleArgs = {
|
|
2545
|
+
scope: Scope;
|
|
2546
|
+
};
|
|
2547
|
+
|
|
2548
|
+
export type RolePage = PaginatedResults & {
|
|
2549
|
+
__typename?: 'RolePage';
|
|
2550
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
2551
|
+
roles: Array<Role>;
|
|
2552
|
+
totalCount: Scalars['Int']['output'];
|
|
2553
|
+
};
|
|
2554
|
+
|
|
2555
|
+
export enum RoleSearchableField {
|
|
2556
|
+
Description = 'description',
|
|
2557
|
+
Name = 'name',
|
|
2558
|
+
}
|
|
2559
|
+
|
|
2560
|
+
export type RoleSortInput = {
|
|
2561
|
+
field: RoleSortableField;
|
|
2562
|
+
order: SortOrder;
|
|
2563
|
+
};
|
|
2564
|
+
|
|
2565
|
+
export enum RoleSortableField {
|
|
2566
|
+
Name = 'name',
|
|
2567
|
+
}
|
|
2568
|
+
|
|
2569
|
+
export type RoleTag = Auditable & {
|
|
2570
|
+
__typename?: 'RoleTag';
|
|
2571
|
+
createdAt: Scalars['Date']['output'];
|
|
2572
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
2573
|
+
id: Scalars['ID']['output'];
|
|
2574
|
+
isPrimary: Scalars['Boolean']['output'];
|
|
2575
|
+
role?: Maybe<Role>;
|
|
2576
|
+
roleId: Scalars['ID']['output'];
|
|
2577
|
+
tag?: Maybe<Tag>;
|
|
2578
|
+
tagId: Scalars['ID']['output'];
|
|
2579
|
+
updatedAt: Scalars['Date']['output'];
|
|
2580
|
+
};
|
|
2581
|
+
|
|
2582
|
+
export type RoleTagRoleArgs = {
|
|
2583
|
+
scope: Scope;
|
|
2584
|
+
};
|
|
2585
|
+
|
|
2586
|
+
export type RoleTagTagArgs = {
|
|
2587
|
+
scope: Scope;
|
|
2588
|
+
};
|
|
2589
|
+
|
|
2590
|
+
export type Scope = {
|
|
2591
|
+
id: Scalars['ID']['input'];
|
|
2592
|
+
tenant: Tenant;
|
|
2593
|
+
};
|
|
2594
|
+
|
|
2595
|
+
export type Searchable = {
|
|
2596
|
+
ids?: Maybe<Array<Scalars['ID']['output']>>;
|
|
2597
|
+
limit?: Maybe<Scalars['Int']['output']>;
|
|
2598
|
+
page?: Maybe<Scalars['Int']['output']>;
|
|
2599
|
+
search?: Maybe<Scalars['String']['output']>;
|
|
2600
|
+
};
|
|
2601
|
+
|
|
2602
|
+
export type SessionExportData = {
|
|
2603
|
+
__typename?: 'SessionExportData';
|
|
2604
|
+
createdAt: Scalars['Date']['output'];
|
|
2605
|
+
expiresAt: Scalars['Date']['output'];
|
|
2606
|
+
ipAddress?: Maybe<Scalars['String']['output']>;
|
|
2607
|
+
lastUsedAt?: Maybe<Scalars['Date']['output']>;
|
|
2608
|
+
userAgent?: Maybe<Scalars['String']['output']>;
|
|
2609
|
+
};
|
|
2610
|
+
|
|
2611
|
+
export type SetMyPrimaryMfaDeviceInput = {
|
|
2612
|
+
factorId: Scalars['ID']['input'];
|
|
2613
|
+
};
|
|
2614
|
+
|
|
2615
|
+
/**
|
|
2616
|
+
* Signing key for a scope (e.g. project). Used for RS256 API key tokens; public key is exposed in JWKS.
|
|
2617
|
+
* Only project scopes (accountProject, organizationProject) have manageable keys; system key is internal.
|
|
2618
|
+
*/
|
|
2619
|
+
export type SigningKey = Auditable & {
|
|
2620
|
+
__typename?: 'SigningKey';
|
|
2621
|
+
/** Whether this key is currently used for signing new tokens. */
|
|
2622
|
+
active: Scalars['Boolean']['output'];
|
|
2623
|
+
createdAt: Scalars['Date']['output'];
|
|
2624
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
2625
|
+
id: Scalars['ID']['output'];
|
|
2626
|
+
/** Key ID used in JWT header and JWKS. */
|
|
2627
|
+
kid: Scalars['String']['output'];
|
|
2628
|
+
/** Public key PEM for JWKS / verification (optional in response for display or copy). */
|
|
2629
|
+
publicKeyPem?: Maybe<Scalars['String']['output']>;
|
|
2630
|
+
/** Set when the key was rotated (replaced by a new key); key remains in JWKS until existing tokens expire. */
|
|
2631
|
+
rotatedAt?: Maybe<Scalars['Date']['output']>;
|
|
2632
|
+
updatedAt: Scalars['Date']['output'];
|
|
2633
|
+
};
|
|
2634
|
+
|
|
2635
|
+
export enum SortOrder {
|
|
2636
|
+
Asc = 'ASC',
|
|
2637
|
+
Desc = 'DESC',
|
|
2638
|
+
}
|
|
2639
|
+
|
|
2640
|
+
/**
|
|
2641
|
+
* Parameters for enqueueing an asynchronous CDM **export** job. The worker
|
|
2642
|
+
* materialises a `SyncProjectInput` document and stores it in the job `snapshot`
|
|
2643
|
+
* column; this input is persisted as the job `payload` (export options only).
|
|
2644
|
+
*/
|
|
2645
|
+
export type StartProjectExportInput = {
|
|
2646
|
+
/**
|
|
2647
|
+
* When `users` are exported, whether to emit CDM-managed project user API key rows
|
|
2648
|
+
* (identity only). Omit = default true (full export behaviour).
|
|
2649
|
+
*/
|
|
2650
|
+
includeUserApiKeys?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2651
|
+
/**
|
|
2652
|
+
* Optional stable idempotency / display name (same column as import `SyncProjectInput.id`).
|
|
2653
|
+
* When set, an active job for the same `(project, operation=EXPORT, jobName)` is returned
|
|
2654
|
+
* instead of creating a new one.
|
|
2655
|
+
*/
|
|
2656
|
+
jobName?: InputMaybe<Scalars['String']['input']>;
|
|
2657
|
+
/**
|
|
2658
|
+
* Embedded in the exported CDM document `mode` block for re-import.
|
|
2659
|
+
* Does not change export execution (snapshot is always read-only).
|
|
2660
|
+
*/
|
|
2661
|
+
mode?: InputMaybe<CdmModeInput>;
|
|
2662
|
+
/** Subset of CDM slices to export; omit or empty for a full project export. */
|
|
2663
|
+
sections?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2664
|
+
/** CDM document version (only `1` is supported). */
|
|
2665
|
+
version: Scalars['Int']['input'];
|
|
2666
|
+
};
|
|
2667
|
+
|
|
2668
|
+
/**
|
|
2669
|
+
* Versioned canonical project document (CDM) for export/import: roles, users,
|
|
2670
|
+
* resources, permissions, groups, and tags scoped to one project.
|
|
2671
|
+
*/
|
|
2672
|
+
export type SyncProjectInput = {
|
|
2673
|
+
groups?: InputMaybe<Array<GroupCdmInput>>;
|
|
2674
|
+
id?: InputMaybe<Scalars['String']['input']>;
|
|
2675
|
+
mode: CdmModeInput;
|
|
2676
|
+
permissions?: InputMaybe<Array<PermissionCdmInput>>;
|
|
2677
|
+
resources?: InputMaybe<Array<ResourceCdmInput>>;
|
|
2678
|
+
roles: Array<RoleCdmInput>;
|
|
2679
|
+
tags?: InputMaybe<Array<TagCdmInput>>;
|
|
2680
|
+
users: Array<UserCdmInput>;
|
|
2681
|
+
version: Scalars['Int']['input'];
|
|
2682
|
+
};
|
|
2683
|
+
|
|
2684
|
+
/** Counters and warnings from a completed CDM import. */
|
|
2685
|
+
export type SyncProjectResult = {
|
|
2686
|
+
__typename?: 'SyncProjectResult';
|
|
2687
|
+
groupPermissionsLinked: Scalars['Int']['output'];
|
|
2688
|
+
groupTagsLinked: Scalars['Int']['output'];
|
|
2689
|
+
groupsCreated: Scalars['Int']['output'];
|
|
2690
|
+
importId?: Maybe<Scalars['String']['output']>;
|
|
2691
|
+
permissionsCreated: Scalars['Int']['output'];
|
|
2692
|
+
projectGroupsLinked: Scalars['Int']['output'];
|
|
2693
|
+
projectId: Scalars['ID']['output'];
|
|
2694
|
+
projectPermissionsLinked: Scalars['Int']['output'];
|
|
2695
|
+
projectResourcesLinked: Scalars['Int']['output'];
|
|
2696
|
+
projectRolesLinked: Scalars['Int']['output'];
|
|
2697
|
+
projectTagsLinked: Scalars['Int']['output'];
|
|
2698
|
+
projectUserApiKeysCreated: Scalars['Int']['output'];
|
|
2699
|
+
projectUsersEnsured: Scalars['Int']['output'];
|
|
2700
|
+
resourcesCreated: Scalars['Int']['output'];
|
|
2701
|
+
roleGroupsLinked: Scalars['Int']['output'];
|
|
2702
|
+
roleTagsLinked: Scalars['Int']['output'];
|
|
2703
|
+
rolesCreated: Scalars['Int']['output'];
|
|
2704
|
+
tagsCreated: Scalars['Int']['output'];
|
|
2705
|
+
userRolesAssigned: Scalars['Int']['output'];
|
|
2706
|
+
userTagsLinked: Scalars['Int']['output'];
|
|
2707
|
+
usersCreated: Scalars['Int']['output'];
|
|
2708
|
+
warnings: Array<Scalars['String']['output']>;
|
|
2709
|
+
};
|
|
2710
|
+
|
|
2711
|
+
export type Tag = Auditable & {
|
|
2712
|
+
__typename?: 'Tag';
|
|
2713
|
+
color: Scalars['String']['output'];
|
|
2714
|
+
createdAt: Scalars['Date']['output'];
|
|
2715
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
2716
|
+
id: Scalars['ID']['output'];
|
|
2717
|
+
isPrimary?: Maybe<Scalars['Boolean']['output']>;
|
|
2718
|
+
metadata: Scalars['JSON']['output'];
|
|
2719
|
+
name: Scalars['String']['output'];
|
|
2720
|
+
updatedAt: Scalars['Date']['output'];
|
|
2721
|
+
};
|
|
2722
|
+
|
|
2723
|
+
export type TagCdmInput = {
|
|
2724
|
+
color: Scalars['String']['input'];
|
|
2725
|
+
key: Scalars['String']['input'];
|
|
2726
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
2727
|
+
name: Scalars['String']['input'];
|
|
2728
|
+
};
|
|
2729
|
+
|
|
2730
|
+
export type TagPage = PaginatedResults & {
|
|
2731
|
+
__typename?: 'TagPage';
|
|
2732
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
2733
|
+
tags: Array<Tag>;
|
|
2734
|
+
totalCount: Scalars['Int']['output'];
|
|
2735
|
+
};
|
|
2736
|
+
|
|
2737
|
+
export enum TagSearchableField {
|
|
2738
|
+
Name = 'name',
|
|
2739
|
+
}
|
|
2740
|
+
|
|
2741
|
+
export enum TagSortField {
|
|
2742
|
+
Color = 'color',
|
|
2743
|
+
CreatedAt = 'createdAt',
|
|
2744
|
+
Name = 'name',
|
|
2745
|
+
UpdatedAt = 'updatedAt',
|
|
2746
|
+
}
|
|
2747
|
+
|
|
2748
|
+
export type TagSortInput = {
|
|
2749
|
+
field: TagSortField;
|
|
2750
|
+
order: SortOrder;
|
|
2751
|
+
};
|
|
2752
|
+
|
|
2753
|
+
export enum Tenant {
|
|
2754
|
+
Account = 'account',
|
|
2755
|
+
AccountProject = 'accountProject',
|
|
2756
|
+
AccountProjectUser = 'accountProjectUser',
|
|
2757
|
+
Organization = 'organization',
|
|
2758
|
+
OrganizationProject = 'organizationProject',
|
|
2759
|
+
OrganizationProjectUser = 'organizationProjectUser',
|
|
2760
|
+
ProjectUser = 'projectUser',
|
|
2761
|
+
System = 'system',
|
|
2762
|
+
}
|
|
2763
|
+
|
|
2764
|
+
export enum TokenType {
|
|
2765
|
+
ApiKey = 'apiKey',
|
|
2766
|
+
ProjectApp = 'projectApp',
|
|
2767
|
+
Session = 'session',
|
|
2768
|
+
System = 'system',
|
|
2769
|
+
}
|
|
2770
|
+
|
|
2771
|
+
export type UpdateAccountProjectTagInput = {
|
|
2772
|
+
accountId: Scalars['ID']['input'];
|
|
2773
|
+
isPrimary: Scalars['Boolean']['input'];
|
|
2774
|
+
projectId: Scalars['ID']['input'];
|
|
2775
|
+
tagId: Scalars['ID']['input'];
|
|
2776
|
+
};
|
|
2777
|
+
|
|
2778
|
+
export type UpdateAccountTagInput = {
|
|
2779
|
+
accountId: Scalars['ID']['input'];
|
|
2780
|
+
isPrimary: Scalars['Boolean']['input'];
|
|
2781
|
+
tagId: Scalars['ID']['input'];
|
|
2782
|
+
};
|
|
2783
|
+
|
|
2784
|
+
export type UpdateGroupInput = {
|
|
2785
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
2786
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
2787
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
2788
|
+
permissionIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2789
|
+
primaryTagId?: InputMaybe<Scalars['ID']['input']>;
|
|
2790
|
+
scope: Scope;
|
|
2791
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2792
|
+
};
|
|
2793
|
+
|
|
2794
|
+
export type UpdateGroupTagInput = {
|
|
2795
|
+
groupId: Scalars['ID']['input'];
|
|
2796
|
+
isPrimary: Scalars['Boolean']['input'];
|
|
2797
|
+
tagId: Scalars['ID']['input'];
|
|
2798
|
+
};
|
|
2799
|
+
|
|
2800
|
+
export type UpdateMyUserAuthenticationMethodInput = {
|
|
2801
|
+
isPrimary?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2802
|
+
isVerified?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2803
|
+
provider?: InputMaybe<UserAuthenticationMethodProvider>;
|
|
2804
|
+
providerData?: InputMaybe<Scalars['JSON']['input']>;
|
|
2805
|
+
providerId?: InputMaybe<Scalars['String']['input']>;
|
|
2806
|
+
};
|
|
2807
|
+
|
|
2808
|
+
export type UpdateMyUserInput = {
|
|
2809
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
2810
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
2811
|
+
};
|
|
2812
|
+
|
|
2813
|
+
export type UpdateOrganizationInput = {
|
|
2814
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
2815
|
+
requireMfaForSensitiveActions?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2816
|
+
scope: Scope;
|
|
2817
|
+
};
|
|
2818
|
+
|
|
2819
|
+
export type UpdateOrganizationInvitationInput = {
|
|
2820
|
+
acceptedAt?: InputMaybe<Scalars['Date']['input']>;
|
|
2821
|
+
expiresAt?: InputMaybe<Scalars['Date']['input']>;
|
|
2822
|
+
invitedAt?: InputMaybe<Scalars['Date']['input']>;
|
|
2823
|
+
status?: InputMaybe<OrganizationInvitationStatus>;
|
|
2824
|
+
token?: InputMaybe<Scalars['String']['input']>;
|
|
2825
|
+
};
|
|
2826
|
+
|
|
2827
|
+
export type UpdateOrganizationMemberInput = {
|
|
2828
|
+
roleId: Scalars['ID']['input'];
|
|
2829
|
+
scope: Scope;
|
|
2830
|
+
};
|
|
2831
|
+
|
|
2832
|
+
export type UpdateOrganizationProjectTagInput = {
|
|
2833
|
+
isPrimary: Scalars['Boolean']['input'];
|
|
2834
|
+
organizationId: Scalars['ID']['input'];
|
|
2835
|
+
projectId: Scalars['ID']['input'];
|
|
2836
|
+
tagId: Scalars['ID']['input'];
|
|
2837
|
+
};
|
|
2838
|
+
|
|
2839
|
+
export type UpdateOrganizationTagInput = {
|
|
2840
|
+
isPrimary: Scalars['Boolean']['input'];
|
|
2841
|
+
organizationId: Scalars['ID']['input'];
|
|
2842
|
+
tagId: Scalars['ID']['input'];
|
|
2843
|
+
};
|
|
2844
|
+
|
|
2845
|
+
export type UpdatePermissionInput = {
|
|
2846
|
+
action?: InputMaybe<Scalars['String']['input']>;
|
|
2847
|
+
condition?: InputMaybe<Scalars['JSON']['input']>;
|
|
2848
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
2849
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
2850
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
2851
|
+
primaryTagId?: InputMaybe<Scalars['ID']['input']>;
|
|
2852
|
+
resourceId?: InputMaybe<Scalars['ID']['input']>;
|
|
2853
|
+
scope: Scope;
|
|
2854
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2855
|
+
};
|
|
2856
|
+
|
|
2857
|
+
export type UpdatePermissionTagInput = {
|
|
2858
|
+
isPrimary: Scalars['Boolean']['input'];
|
|
2859
|
+
permissionId: Scalars['ID']['input'];
|
|
2860
|
+
tagId: Scalars['ID']['input'];
|
|
2861
|
+
};
|
|
2862
|
+
|
|
2863
|
+
export type UpdateProjectAppInput = {
|
|
2864
|
+
/** Allow new users to sign up when authenticating via this app. */
|
|
2865
|
+
allowSignUp?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2866
|
+
/** Auth providers enabled for this app (e.g. github, email). Empty/null = all configured providers. */
|
|
2867
|
+
enabledProviders?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2868
|
+
/** Display name for the app. */
|
|
2869
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
2870
|
+
primaryTagId?: InputMaybe<Scalars['ID']['input']>;
|
|
2871
|
+
/** Allowed redirect URIs for OAuth callback. If provided, at least one required. */
|
|
2872
|
+
redirectUris?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2873
|
+
scope: Scope;
|
|
2874
|
+
/** Optional OAuth scopes the app may request. */
|
|
2875
|
+
scopes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2876
|
+
/** Role to assign to users who sign up via this app. Required when allowSignUp is true; must be a role in the project. */
|
|
2877
|
+
signUpRoleId?: InputMaybe<Scalars['ID']['input']>;
|
|
2878
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2879
|
+
};
|
|
2880
|
+
|
|
2881
|
+
export type UpdateProjectAppTagInput = {
|
|
2882
|
+
isPrimary: Scalars['Boolean']['input'];
|
|
2883
|
+
projectAppId: Scalars['ID']['input'];
|
|
2884
|
+
tagId: Scalars['ID']['input'];
|
|
2885
|
+
};
|
|
2886
|
+
|
|
2887
|
+
export type UpdateProjectInput = {
|
|
2888
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
2889
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
2890
|
+
primaryTagId?: InputMaybe<Scalars['ID']['input']>;
|
|
2891
|
+
scope: Scope;
|
|
2892
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2893
|
+
};
|
|
2894
|
+
|
|
2895
|
+
export type UpdateProjectTagInput = {
|
|
2896
|
+
isPrimary: Scalars['Boolean']['input'];
|
|
2897
|
+
projectId: Scalars['ID']['input'];
|
|
2898
|
+
tagId: Scalars['ID']['input'];
|
|
2899
|
+
};
|
|
2900
|
+
|
|
2901
|
+
export type UpdateResourceInput = {
|
|
2902
|
+
actions?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2903
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
2904
|
+
isActive?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2905
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
2906
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
2907
|
+
primaryTagId?: InputMaybe<Scalars['ID']['input']>;
|
|
2908
|
+
scope: Scope;
|
|
2909
|
+
slug?: InputMaybe<Scalars['String']['input']>;
|
|
2910
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2911
|
+
};
|
|
2912
|
+
|
|
2913
|
+
export type UpdateResourceTagInput = {
|
|
2914
|
+
isPrimary: Scalars['Boolean']['input'];
|
|
2915
|
+
resourceId: Scalars['ID']['input'];
|
|
2916
|
+
tagId: Scalars['ID']['input'];
|
|
2917
|
+
};
|
|
2918
|
+
|
|
2919
|
+
export type UpdateRoleInput = {
|
|
2920
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
2921
|
+
groupIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2922
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
2923
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
2924
|
+
primaryTagId?: InputMaybe<Scalars['ID']['input']>;
|
|
2925
|
+
scope: Scope;
|
|
2926
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2927
|
+
};
|
|
2928
|
+
|
|
2929
|
+
export type UpdateRoleTagInput = {
|
|
2930
|
+
isPrimary: Scalars['Boolean']['input'];
|
|
2931
|
+
roleId: Scalars['ID']['input'];
|
|
2932
|
+
tagId: Scalars['ID']['input'];
|
|
2933
|
+
};
|
|
2934
|
+
|
|
2935
|
+
export type UpdateTagInput = {
|
|
2936
|
+
color?: InputMaybe<Scalars['String']['input']>;
|
|
2937
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
2938
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
2939
|
+
scope: Scope;
|
|
2940
|
+
};
|
|
2941
|
+
|
|
2942
|
+
export type UpdateUserAuthenticationMethodInput = {
|
|
2943
|
+
isPrimary?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2944
|
+
isVerified?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2945
|
+
provider?: InputMaybe<UserAuthenticationMethodProvider>;
|
|
2946
|
+
providerData?: InputMaybe<Scalars['JSON']['input']>;
|
|
2947
|
+
providerId?: InputMaybe<Scalars['String']['input']>;
|
|
2948
|
+
};
|
|
2949
|
+
|
|
2950
|
+
export type UpdateUserInput = {
|
|
2951
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
2952
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
2953
|
+
pictureUrl?: InputMaybe<Scalars['String']['input']>;
|
|
2954
|
+
primaryTagId?: InputMaybe<Scalars['ID']['input']>;
|
|
2955
|
+
roleIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2956
|
+
scope: Scope;
|
|
2957
|
+
tagIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2958
|
+
};
|
|
2959
|
+
|
|
2960
|
+
export type UpdateUserSessionInput = {
|
|
2961
|
+
id: Scalars['ID']['input'];
|
|
2962
|
+
ipAddress?: InputMaybe<Scalars['String']['input']>;
|
|
2963
|
+
lastUsedAt?: InputMaybe<Scalars['Date']['input']>;
|
|
2964
|
+
userAgent?: InputMaybe<Scalars['String']['input']>;
|
|
2965
|
+
};
|
|
2966
|
+
|
|
2967
|
+
export type UpdateUserTagInput = {
|
|
2968
|
+
isPrimary: Scalars['Boolean']['input'];
|
|
2969
|
+
tagId: Scalars['ID']['input'];
|
|
2970
|
+
userId: Scalars['ID']['input'];
|
|
2971
|
+
};
|
|
2972
|
+
|
|
2973
|
+
export type UploadMyUserPictureInput = {
|
|
2974
|
+
contentType: Scalars['String']['input'];
|
|
2975
|
+
file: Scalars['String']['input'];
|
|
2976
|
+
filename: Scalars['String']['input'];
|
|
2977
|
+
};
|
|
2978
|
+
|
|
2979
|
+
export type UploadUserPictureInput = {
|
|
2980
|
+
contentType: Scalars['String']['input'];
|
|
2981
|
+
file: Scalars['String']['input'];
|
|
2982
|
+
filename: Scalars['String']['input'];
|
|
2983
|
+
scope: Scope;
|
|
2984
|
+
userId: Scalars['ID']['input'];
|
|
2985
|
+
};
|
|
2986
|
+
|
|
2987
|
+
export type UploadUserPictureResult = {
|
|
2988
|
+
__typename?: 'UploadUserPictureResult';
|
|
2989
|
+
path: Scalars['String']['output'];
|
|
2990
|
+
url: Scalars['String']['output'];
|
|
2991
|
+
};
|
|
2992
|
+
|
|
2993
|
+
export type User = Auditable & {
|
|
2994
|
+
__typename?: 'User';
|
|
2995
|
+
accounts?: Maybe<Array<Account>>;
|
|
2996
|
+
authenticationMethods?: Maybe<Array<UserAuthenticationMethod>>;
|
|
2997
|
+
createdAt: Scalars['Date']['output'];
|
|
2998
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
2999
|
+
id: Scalars['ID']['output'];
|
|
3000
|
+
metadata: Scalars['JSON']['output'];
|
|
3001
|
+
name: Scalars['String']['output'];
|
|
3002
|
+
pictureUrl?: Maybe<Scalars['String']['output']>;
|
|
3003
|
+
roles?: Maybe<Array<Role>>;
|
|
3004
|
+
tags?: Maybe<Array<Tag>>;
|
|
3005
|
+
updatedAt: Scalars['Date']['output'];
|
|
3006
|
+
};
|
|
3007
|
+
|
|
3008
|
+
export type UserApiKeyCdmInput = {
|
|
3009
|
+
clientId?: InputMaybe<Scalars['String']['input']>;
|
|
3010
|
+
clientSecret?: InputMaybe<Scalars['String']['input']>;
|
|
3011
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
3012
|
+
expiresAt?: InputMaybe<Scalars['Date']['input']>;
|
|
3013
|
+
key?: InputMaybe<Scalars['String']['input']>;
|
|
3014
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
3015
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
3016
|
+
};
|
|
3017
|
+
|
|
3018
|
+
export enum UserAuthenticationEmailProviderAction {
|
|
3019
|
+
Connect = 'connect',
|
|
3020
|
+
Login = 'login',
|
|
3021
|
+
Register = 'register',
|
|
3022
|
+
}
|
|
3023
|
+
|
|
3024
|
+
export type UserAuthenticationMethod = Auditable & {
|
|
3025
|
+
__typename?: 'UserAuthenticationMethod';
|
|
3026
|
+
createdAt: Scalars['Date']['output'];
|
|
3027
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
3028
|
+
id: Scalars['ID']['output'];
|
|
3029
|
+
isPrimary: Scalars['Boolean']['output'];
|
|
3030
|
+
isVerified: Scalars['Boolean']['output'];
|
|
3031
|
+
lastUsedAt?: Maybe<Scalars['Date']['output']>;
|
|
3032
|
+
provider: UserAuthenticationMethodProvider;
|
|
3033
|
+
providerData: Scalars['JSON']['output'];
|
|
3034
|
+
providerId: Scalars['String']['output'];
|
|
3035
|
+
updatedAt: Scalars['Date']['output'];
|
|
3036
|
+
user?: Maybe<User>;
|
|
3037
|
+
userId: Scalars['ID']['output'];
|
|
3038
|
+
};
|
|
3039
|
+
|
|
3040
|
+
export enum UserAuthenticationMethodProvider {
|
|
3041
|
+
Email = 'email',
|
|
3042
|
+
Github = 'github',
|
|
3043
|
+
Google = 'google',
|
|
3044
|
+
}
|
|
3045
|
+
|
|
3046
|
+
export type UserCdmInput = {
|
|
3047
|
+
apiKeys?: InputMaybe<Array<UserApiKeyCdmInput>>;
|
|
3048
|
+
groups?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3049
|
+
key: CdmKeyResolverInput;
|
|
3050
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
3051
|
+
name: Scalars['String']['input'];
|
|
3052
|
+
permissions?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3053
|
+
primaryTag?: InputMaybe<Scalars['String']['input']>;
|
|
3054
|
+
roles?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3055
|
+
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3056
|
+
};
|
|
3057
|
+
|
|
3058
|
+
export type UserDataExport = {
|
|
3059
|
+
__typename?: 'UserDataExport';
|
|
3060
|
+
accounts: Array<AccountExportData>;
|
|
3061
|
+
authenticationMethods: Array<AuthenticationMethodExportData>;
|
|
3062
|
+
exportedAt: Scalars['Date']['output'];
|
|
3063
|
+
organizationMemberships: Array<OrganizationMembershipExportData>;
|
|
3064
|
+
projectMemberships: Array<ProjectMembershipExportData>;
|
|
3065
|
+
sessions: Array<SessionExportData>;
|
|
3066
|
+
user: UserExportData;
|
|
3067
|
+
};
|
|
3068
|
+
|
|
3069
|
+
export type UserExportData = {
|
|
3070
|
+
__typename?: 'UserExportData';
|
|
3071
|
+
createdAt: Scalars['Date']['output'];
|
|
3072
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
3073
|
+
id: Scalars['ID']['output'];
|
|
3074
|
+
name: Scalars['String']['output'];
|
|
3075
|
+
updatedAt: Scalars['Date']['output'];
|
|
3076
|
+
};
|
|
3077
|
+
|
|
3078
|
+
export type UserPage = PaginatedResults & {
|
|
3079
|
+
__typename?: 'UserPage';
|
|
3080
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
3081
|
+
totalCount: Scalars['Int']['output'];
|
|
3082
|
+
users: Array<User>;
|
|
3083
|
+
};
|
|
3084
|
+
|
|
3085
|
+
export type UserRegistrationData = {
|
|
3086
|
+
name: Scalars['String']['input'];
|
|
3087
|
+
password: Scalars['String']['input'];
|
|
3088
|
+
username: Scalars['String']['input'];
|
|
3089
|
+
};
|
|
3090
|
+
|
|
3091
|
+
export type UserRole = Auditable & {
|
|
3092
|
+
__typename?: 'UserRole';
|
|
3093
|
+
createdAt: Scalars['Date']['output'];
|
|
3094
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
3095
|
+
id: Scalars['ID']['output'];
|
|
3096
|
+
role?: Maybe<Role>;
|
|
3097
|
+
roleId: Scalars['ID']['output'];
|
|
3098
|
+
updatedAt: Scalars['Date']['output'];
|
|
3099
|
+
user?: Maybe<User>;
|
|
3100
|
+
userId: Scalars['ID']['output'];
|
|
3101
|
+
};
|
|
3102
|
+
|
|
3103
|
+
export type UserRoleRoleArgs = {
|
|
3104
|
+
scope: Scope;
|
|
3105
|
+
};
|
|
3106
|
+
|
|
3107
|
+
export type UserRoleUserArgs = {
|
|
3108
|
+
scope: Scope;
|
|
3109
|
+
};
|
|
3110
|
+
|
|
3111
|
+
export enum UserSearchableField {
|
|
3112
|
+
Name = 'name',
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
export type UserSession = Auditable & {
|
|
3116
|
+
__typename?: 'UserSession';
|
|
3117
|
+
audience: Scalars['String']['output'];
|
|
3118
|
+
createdAt: Scalars['Date']['output'];
|
|
3119
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
3120
|
+
expiresAt: Scalars['Date']['output'];
|
|
3121
|
+
id: Scalars['ID']['output'];
|
|
3122
|
+
ipAddress?: Maybe<Scalars['String']['output']>;
|
|
3123
|
+
lastUsedAt?: Maybe<Scalars['Date']['output']>;
|
|
3124
|
+
token: Scalars['String']['output'];
|
|
3125
|
+
updatedAt: Scalars['Date']['output'];
|
|
3126
|
+
user?: Maybe<User>;
|
|
3127
|
+
userAgent?: Maybe<Scalars['String']['output']>;
|
|
3128
|
+
userAuthenticationMethod?: Maybe<UserAuthenticationMethod>;
|
|
3129
|
+
userAuthenticationMethodId: Scalars['ID']['output'];
|
|
3130
|
+
userId: Scalars['ID']['output'];
|
|
3131
|
+
};
|
|
3132
|
+
|
|
3133
|
+
export type UserSessionPage = PaginatedResults & {
|
|
3134
|
+
__typename?: 'UserSessionPage';
|
|
3135
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
3136
|
+
totalCount: Scalars['Int']['output'];
|
|
3137
|
+
userSessions: Array<UserSession>;
|
|
3138
|
+
};
|
|
3139
|
+
|
|
3140
|
+
export enum UserSessionSearchableField {
|
|
3141
|
+
Audience = 'audience',
|
|
3142
|
+
IpAddress = 'ipAddress',
|
|
3143
|
+
Token = 'token',
|
|
3144
|
+
UserAgent = 'userAgent',
|
|
3145
|
+
}
|
|
3146
|
+
|
|
3147
|
+
export type UserSessionSortInput = {
|
|
3148
|
+
field: UserSessionSortableField;
|
|
3149
|
+
order: SortOrder;
|
|
3150
|
+
};
|
|
3151
|
+
|
|
3152
|
+
export enum UserSessionSortableField {
|
|
3153
|
+
LastUsedAt = 'lastUsedAt',
|
|
3154
|
+
}
|
|
3155
|
+
|
|
3156
|
+
export type UserSortInput = {
|
|
3157
|
+
field: UserSortableField;
|
|
3158
|
+
order: SortOrder;
|
|
3159
|
+
};
|
|
3160
|
+
|
|
3161
|
+
export enum UserSortableField {
|
|
3162
|
+
Name = 'name',
|
|
3163
|
+
}
|
|
3164
|
+
|
|
3165
|
+
export type UserTag = Auditable & {
|
|
3166
|
+
__typename?: 'UserTag';
|
|
3167
|
+
createdAt: Scalars['Date']['output'];
|
|
3168
|
+
deletedAt?: Maybe<Scalars['Date']['output']>;
|
|
3169
|
+
id: Scalars['ID']['output'];
|
|
3170
|
+
isPrimary: Scalars['Boolean']['output'];
|
|
3171
|
+
tag?: Maybe<Tag>;
|
|
3172
|
+
tagId: Scalars['ID']['output'];
|
|
3173
|
+
updatedAt: Scalars['Date']['output'];
|
|
3174
|
+
user?: Maybe<User>;
|
|
3175
|
+
userId: Scalars['ID']['output'];
|
|
3176
|
+
};
|
|
3177
|
+
|
|
3178
|
+
export type UserTagTagArgs = {
|
|
3179
|
+
scope: Scope;
|
|
3180
|
+
};
|
|
3181
|
+
|
|
3182
|
+
export type UserTagUserArgs = {
|
|
3183
|
+
scope: Scope;
|
|
3184
|
+
};
|
|
3185
|
+
|
|
3186
|
+
export type VerifyEmailInput = {
|
|
3187
|
+
token: Scalars['String']['input'];
|
|
3188
|
+
};
|
|
3189
|
+
|
|
3190
|
+
export type VerifyEmailResponse = {
|
|
3191
|
+
__typename?: 'VerifyEmailResponse';
|
|
3192
|
+
message: Scalars['String']['output'];
|
|
3193
|
+
messageKey?: Maybe<Scalars['String']['output']>;
|
|
3194
|
+
success: Scalars['Boolean']['output'];
|
|
3195
|
+
};
|
|
3196
|
+
|
|
3197
|
+
export type VerifyMfaInput = {
|
|
3198
|
+
code: Scalars['String']['input'];
|
|
3199
|
+
};
|
|
3200
|
+
|
|
3201
|
+
export type VerifyMfaRecoveryCodeInput = {
|
|
3202
|
+
code: Scalars['String']['input'];
|
|
3203
|
+
};
|
|
3204
|
+
|
|
3205
|
+
export type VerifyMyMfaEnrollmentInput = {
|
|
3206
|
+
code: Scalars['String']['input'];
|
|
3207
|
+
};
|