@code0-tech/sagittarius-graphql-types 0.0.0-6c84ca6a692d3341e857f740343aead437ab4427 → 0.0.0-6dff4363750d2fd791eeeb1c03332895dfebcdcc

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.
Files changed (3) hide show
  1. package/index.d.ts +890 -359
  2. package/package.json +4 -5
  3. package/index.js +0 -0
package/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  export type Maybe<T> = T | null;
2
2
  export type InputMaybe<T> = Maybe<T>;
3
- export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
4
- export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
5
- export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
6
- export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
7
- export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
3
+ export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }
4
+ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> }
5
+ export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> }
6
+ export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never }
7
+ export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }
8
8
  /** All built-in and custom scalars, mapped to their actual values */
9
9
  export interface Scalars {
10
10
  ID: { input: `gid://sagittarius//${number}`; output: `gid://sagittarius//${number}`; }
@@ -12,71 +12,37 @@ export interface Scalars {
12
12
  Boolean: { input: boolean; output: boolean; }
13
13
  Int: { input: number; output: number; }
14
14
  Float: { input: number; output: number; }
15
- /** A unique identifier for all DataType entities of the application */
16
15
  DataTypeID: { input: `gid://sagittarius/DataType/${number}`; output: `gid://sagittarius/DataType/${number}`; }
17
- /** A unique identifier for all DataTypeIdentifier entities of the application */
18
16
  DataTypeIdentifierID: { input: `gid://sagittarius/DataTypeIdentifier/${number}`; output: `gid://sagittarius/DataTypeIdentifier/${number}`; }
19
- /** A unique identifier for all DataTypeRule entities of the application */
20
17
  DataTypeRuleID: { input: `gid://sagittarius/DataTypeRule/${number}`; output: `gid://sagittarius/DataTypeRule/${number}`; }
21
- /** A unique identifier for all Flow entities of the application */
22
18
  FlowID: { input: `gid://sagittarius/Flow/${number}`; output: `gid://sagittarius/Flow/${number}`; }
23
- /** A unique identifier for all FlowSetting entities of the application */
24
19
  FlowSettingID: { input: `gid://sagittarius/FlowSetting/${number}`; output: `gid://sagittarius/FlowSetting/${number}`; }
25
- /** A unique identifier for all FlowType entities of the application */
26
20
  FlowTypeID: { input: `gid://sagittarius/FlowType/${number}`; output: `gid://sagittarius/FlowType/${number}`; }
27
- /** A unique identifier for all FlowTypeSetting entities of the application */
28
21
  FlowTypeSettingID: { input: `gid://sagittarius/FlowTypeSetting/${number}`; output: `gid://sagittarius/FlowTypeSetting/${number}`; }
29
- /** A unique identifier for all FunctionDefinition entities of the application */
30
22
  FunctionDefinitionID: { input: `gid://sagittarius/FunctionDefinition/${number}`; output: `gid://sagittarius/FunctionDefinition/${number}`; }
31
- /** A unique identifier for all GenericMapper entities of the application */
23
+ GenericCombinationStrategyID: { input: `gid://sagittarius/GenericCombinationStrategy/${number}`; output: `gid://sagittarius/GenericCombinationStrategy/${number}`; }
32
24
  GenericMapperID: { input: `gid://sagittarius/GenericMapper/${number}`; output: `gid://sagittarius/GenericMapper/${number}`; }
33
- /** A unique identifier for all GenericType entities of the application */
34
25
  GenericTypeID: { input: `gid://sagittarius/GenericType/${number}`; output: `gid://sagittarius/GenericType/${number}`; }
35
- /** Represents untyped JSON */
36
26
  JSON: { input: any; output: any; }
37
- /** A unique identifier for all Namespace entities of the application */
38
27
  NamespaceID: { input: `gid://sagittarius/Namespace/${number}`; output: `gid://sagittarius/Namespace/${number}`; }
39
- /** A unique identifier for all NamespaceLicense entities of the application */
40
28
  NamespaceLicenseID: { input: `gid://sagittarius/NamespaceLicense/${number}`; output: `gid://sagittarius/NamespaceLicense/${number}`; }
41
- /** A unique identifier for all NamespaceMember entities of the application */
42
29
  NamespaceMemberID: { input: `gid://sagittarius/NamespaceMember/${number}`; output: `gid://sagittarius/NamespaceMember/${number}`; }
43
- /** A unique identifier for all NamespaceMemberRole entities of the application */
44
30
  NamespaceMemberRoleID: { input: `gid://sagittarius/NamespaceMemberRole/${number}`; output: `gid://sagittarius/NamespaceMemberRole/${number}`; }
45
- /** A unique identifier for all NamespaceProject entities of the application */
46
31
  NamespaceProjectID: { input: `gid://sagittarius/NamespaceProject/${number}`; output: `gid://sagittarius/NamespaceProject/${number}`; }
47
- /** A unique identifier for all NamespaceRole entities of the application */
48
32
  NamespaceRoleID: { input: `gid://sagittarius/NamespaceRole/${number}`; output: `gid://sagittarius/NamespaceRole/${number}`; }
49
- /** A unique identifier for all NodeFunction entities of the application */
50
33
  NodeFunctionID: { input: `gid://sagittarius/NodeFunction/${number}`; output: `gid://sagittarius/NodeFunction/${number}`; }
51
- /** A unique identifier for all NodeParameter entities of the application */
52
34
  NodeParameterID: { input: `gid://sagittarius/NodeParameter/${number}`; output: `gid://sagittarius/NodeParameter/${number}`; }
53
- /** A unique identifier for all Organization entities of the application */
54
35
  OrganizationID: { input: `gid://sagittarius/Organization/${number}`; output: `gid://sagittarius/Organization/${number}`; }
55
- /** A unique identifier for all ParameterDefinition entities of the application */
56
36
  ParameterDefinitionID: { input: `gid://sagittarius/ParameterDefinition/${number}`; output: `gid://sagittarius/ParameterDefinition/${number}`; }
57
- /** A unique identifier for all ReferencePath entities of the application */
58
37
  ReferencePathID: { input: `gid://sagittarius/ReferencePath/${number}`; output: `gid://sagittarius/ReferencePath/${number}`; }
59
- /** A unique identifier for all ReferenceValue entities of the application */
60
38
  ReferenceValueID: { input: `gid://sagittarius/ReferenceValue/${number}`; output: `gid://sagittarius/ReferenceValue/${number}`; }
61
- /** A unique identifier for all RuntimeFunctionDefinition entities of the application */
62
39
  RuntimeFunctionDefinitionID: { input: `gid://sagittarius/RuntimeFunctionDefinition/${number}`; output: `gid://sagittarius/RuntimeFunctionDefinition/${number}`; }
63
- /** A unique identifier for all Runtime entities of the application */
64
40
  RuntimeID: { input: `gid://sagittarius/Runtime/${number}`; output: `gid://sagittarius/Runtime/${number}`; }
65
- /** A unique identifier for all RuntimeParameterDefinition entities of the application */
66
41
  RuntimeParameterDefinitionID: { input: `gid://sagittarius/RuntimeParameterDefinition/${number}`; output: `gid://sagittarius/RuntimeParameterDefinition/${number}`; }
67
- /**
68
- * Time represented in ISO 8601.
69
- *
70
- * For example: "2023-12-15T17:31:00Z".
71
- */
72
42
  Time: { input: string; output: string; }
73
- /** A unique identifier for all Types::FlowType entities of the application */
74
43
  TypesFlowTypeID: { input: `gid://sagittarius/TypesFlowType/${number}`; output: `gid://sagittarius/TypesFlowType/${number}`; }
75
- /** A unique identifier for all User entities of the application */
76
44
  UserID: { input: `gid://sagittarius/User/${number}`; output: `gid://sagittarius/User/${number}`; }
77
- /** A unique identifier for all UserIdentity entities of the application */
78
45
  UserIdentityID: { input: `gid://sagittarius/UserIdentity/${number}`; output: `gid://sagittarius/UserIdentity/${number}`; }
79
- /** A unique identifier for all UserSession entities of the application */
80
46
  UserSessionID: { input: `gid://sagittarius/UserSession/${number}`; output: `gid://sagittarius/UserSession/${number}`; }
81
47
  }
82
48
 
@@ -84,18 +50,18 @@ export interface Scalars {
84
50
  export interface ActiveModelError {
85
51
  __typename?: 'ActiveModelError';
86
52
  /** The affected attribute on the model */
87
- attribute: Scalars['String']['output'];
53
+ attribute?: Maybe<Scalars['String']['output']>;
88
54
  /** The validation type that failed for the attribute */
89
- type: Scalars['String']['output'];
55
+ type?: Maybe<Scalars['String']['output']>;
90
56
  }
91
57
 
92
58
  /** Represents the application settings */
93
59
  export interface ApplicationSettings {
94
60
  __typename?: 'ApplicationSettings';
95
61
  /** Shows if organization creation is restricted to administrators */
96
- organizationCreationRestricted: Scalars['Boolean']['output'];
62
+ organizationCreationRestricted?: Maybe<Scalars['Boolean']['output']>;
97
63
  /** Shows if user registration is enabled */
98
- userRegistrationEnabled: Scalars['Boolean']['output'];
64
+ userRegistrationEnabled?: Maybe<Scalars['Boolean']['output']>;
99
65
  }
100
66
 
101
67
  /** Autogenerated input type of ApplicationSettingsUpdate */
@@ -116,7 +82,7 @@ export interface ApplicationSettingsUpdatePayload {
116
82
  /** A unique identifier for the client performing the mutation. */
117
83
  clientMutationId?: Maybe<Scalars['String']['output']>;
118
84
  /** Errors encountered during execution of the mutation. */
119
- errors: Array<Error>;
85
+ errors?: Maybe<Array<Error>>;
120
86
  }
121
87
 
122
88
  /** Objects that can present an authentication */
@@ -126,25 +92,23 @@ export type Authentication = UserSession;
126
92
  export interface DataType {
127
93
  __typename?: 'DataType';
128
94
  /** Time when this DataType was created */
129
- createdAt: Scalars['Time']['output'];
95
+ createdAt?: Maybe<Scalars['Time']['output']>;
130
96
  /** Generic keys of the datatype */
131
97
  genericKeys?: Maybe<Array<Scalars['String']['output']>>;
132
98
  /** Global ID of this DataType */
133
- id: Scalars['DataTypeID']['output'];
99
+ id?: Maybe<Scalars['DataTypeID']['output']>;
134
100
  /** The identifier scoped to the namespace */
135
- identifier: Scalars['String']['output'];
101
+ identifier?: Maybe<Scalars['String']['output']>;
136
102
  /** Names of the flow type setting */
137
- name: TranslationConnection;
138
- /** The namespace where this datatype belongs to */
139
- namespace?: Maybe<Namespace>;
140
- /** The parent datatype */
141
- parent?: Maybe<DataTypeIdentifier>;
103
+ name?: Maybe<TranslationConnection>;
142
104
  /** Rules of the datatype */
143
- rules: DataTypeRuleConnection;
105
+ rules?: Maybe<DataTypeRuleConnection>;
106
+ /** The runtime where this datatype belongs to */
107
+ runtime?: Maybe<Runtime>;
144
108
  /** Time when this DataType was last updated */
145
- updatedAt: Scalars['Time']['output'];
109
+ updatedAt?: Maybe<Scalars['Time']['output']>;
146
110
  /** The type of the datatype */
147
- variant: DataTypeVariant;
111
+ variant?: Maybe<DataTypeVariant>;
148
112
  }
149
113
 
150
114
 
@@ -169,20 +133,20 @@ export interface DataTypeRulesArgs {
169
133
  export interface DataTypeConnection {
170
134
  __typename?: 'DataTypeConnection';
171
135
  /** Total count of collection. */
172
- count: Scalars['Int']['output'];
136
+ count?: Maybe<Scalars['Int']['output']>;
173
137
  /** A list of edges. */
174
138
  edges?: Maybe<Array<Maybe<DataTypeEdge>>>;
175
139
  /** A list of nodes. */
176
140
  nodes?: Maybe<Array<Maybe<DataType>>>;
177
141
  /** Information to aid in pagination. */
178
- pageInfo: PageInfo;
142
+ pageInfo?: Maybe<PageInfo>;
179
143
  }
180
144
 
181
145
  /** An edge in a connection. */
182
146
  export interface DataTypeEdge {
183
147
  __typename?: 'DataTypeEdge';
184
148
  /** A cursor for use in pagination. */
185
- cursor: Scalars['String']['output'];
149
+ cursor?: Maybe<Scalars['String']['output']>;
186
150
  /** The item at the end of the edge. */
187
151
  node?: Maybe<DataType>;
188
152
  }
@@ -191,7 +155,7 @@ export interface DataTypeEdge {
191
155
  export interface DataTypeIdentifier {
192
156
  __typename?: 'DataTypeIdentifier';
193
157
  /** Time when this DataTypeIdentifier was created */
194
- createdAt: Scalars['Time']['output'];
158
+ createdAt?: Maybe<Scalars['Time']['output']>;
195
159
  /** The data type of the data type identifier. */
196
160
  dataType?: Maybe<DataType>;
197
161
  /** The generic key of the data type identifier. */
@@ -199,91 +163,81 @@ export interface DataTypeIdentifier {
199
163
  /** The generic type of the data type identifier. */
200
164
  genericType?: Maybe<GenericType>;
201
165
  /** Global ID of this DataTypeIdentifier */
202
- id: Scalars['DataTypeIdentifierID']['output'];
166
+ id?: Maybe<Scalars['DataTypeIdentifierID']['output']>;
203
167
  /** Time when this DataTypeIdentifier was last updated */
204
- updatedAt: Scalars['Time']['output'];
205
- }
206
-
207
- /** Input type for data type identifier */
208
- export interface DataTypeIdentifierInput {
209
- /** Data type ID */
210
- dataTypeId?: InputMaybe<Scalars['DataTypeID']['input']>;
211
- /** Generic key value */
212
- genericKey?: InputMaybe<Scalars['String']['input']>;
213
- /** Generic type information */
214
- genericType?: InputMaybe<GenericTypeInput>;
168
+ updatedAt?: Maybe<Scalars['Time']['output']>;
215
169
  }
216
170
 
217
171
  /** Represents a rule that can be applied to a data type. */
218
172
  export interface DataTypeRule {
219
173
  __typename?: 'DataTypeRule';
220
174
  /** The configuration of the rule */
221
- config: DataTypeRulesConfig;
175
+ config?: Maybe<DataTypeRulesConfig>;
222
176
  /** Time when this DataTypeRule was created */
223
- createdAt: Scalars['Time']['output'];
177
+ createdAt?: Maybe<Scalars['Time']['output']>;
224
178
  /** Global ID of this DataTypeRule */
225
- id: Scalars['DataTypeRuleID']['output'];
179
+ id?: Maybe<Scalars['DataTypeRuleID']['output']>;
226
180
  /** Time when this DataTypeRule was last updated */
227
- updatedAt: Scalars['Time']['output'];
181
+ updatedAt?: Maybe<Scalars['Time']['output']>;
228
182
  /** The type of the rule */
229
- variant: DataTypeRulesVariant;
183
+ variant?: Maybe<DataTypeRulesVariant>;
230
184
  }
231
185
 
232
186
  /** The connection type for DataTypeRule. */
233
187
  export interface DataTypeRuleConnection {
234
188
  __typename?: 'DataTypeRuleConnection';
235
189
  /** Total count of collection. */
236
- count: Scalars['Int']['output'];
190
+ count?: Maybe<Scalars['Int']['output']>;
237
191
  /** A list of edges. */
238
192
  edges?: Maybe<Array<Maybe<DataTypeRuleEdge>>>;
239
193
  /** A list of nodes. */
240
194
  nodes?: Maybe<Array<Maybe<DataTypeRule>>>;
241
195
  /** Information to aid in pagination. */
242
- pageInfo: PageInfo;
196
+ pageInfo?: Maybe<PageInfo>;
243
197
  }
244
198
 
245
199
  /** An edge in a connection. */
246
200
  export interface DataTypeRuleEdge {
247
201
  __typename?: 'DataTypeRuleEdge';
248
202
  /** A cursor for use in pagination. */
249
- cursor: Scalars['String']['output'];
203
+ cursor?: Maybe<Scalars['String']['output']>;
250
204
  /** The item at the end of the edge. */
251
205
  node?: Maybe<DataTypeRule>;
252
206
  }
253
207
 
254
208
  /** Represents a rule that can be applied to a data type. */
255
- export type DataTypeRulesConfig = DataTypeRulesContainsKeyConfig | DataTypeRulesContainsTypeConfig | DataTypeRulesInputTypesConfig | DataTypeRulesItemOfCollectionConfig | DataTypeRulesNumberRangeConfig | DataTypeRulesRegexConfig | DataTypeRulesReturnTypeConfig;
209
+ export type DataTypeRulesConfig = DataTypeRulesContainsKeyConfig | DataTypeRulesContainsTypeConfig | DataTypeRulesInputTypesConfig | DataTypeRulesItemOfCollectionConfig | DataTypeRulesNumberRangeConfig | DataTypeRulesParentTypeConfig | DataTypeRulesRegexConfig | DataTypeRulesReturnTypeConfig;
256
210
 
257
211
  /** Represents a rule that can be applied to a data type. */
258
212
  export interface DataTypeRulesContainsKeyConfig {
259
213
  __typename?: 'DataTypeRulesContainsKeyConfig';
260
214
  /** The identifier of the data type this rule belongs to */
261
- dataTypeIdentifier: DataTypeIdentifier;
215
+ dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
262
216
  /** The key of the rule */
263
- key: Scalars['String']['output'];
217
+ key?: Maybe<Scalars['String']['output']>;
264
218
  }
265
219
 
266
220
  /** Represents a rule that can be applied to a data type. */
267
221
  export interface DataTypeRulesContainsTypeConfig {
268
222
  __typename?: 'DataTypeRulesContainsTypeConfig';
269
223
  /** The identifier of the data type this rule belongs to */
270
- dataTypeIdentifier: DataTypeIdentifier;
224
+ dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
271
225
  }
272
226
 
273
227
  /** Represents a subtype of input type configuration for a input data type. */
274
228
  export interface DataTypeRulesInputTypeConfig {
275
229
  __typename?: 'DataTypeRulesInputTypeConfig';
276
230
  /** The identifier of the data type this input type belongs to */
277
- dataTypeIdentifier: DataTypeIdentifier;
278
- /** The input data type that this configuration applies to */
279
- inputType: DataType;
231
+ dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
232
+ /** The input identifier that this configuration applies to */
233
+ inputIdentifier?: Maybe<Scalars['String']['output']>;
280
234
  }
281
235
 
282
236
  /** Represents a rule that can be applied to a data type. */
283
237
  export interface DataTypeRulesInputTypesConfig {
284
238
  __typename?: 'DataTypeRulesInputTypesConfig';
285
239
  /** The input types that can be used in this data type rule */
286
- inputTypes: Array<DataTypeRulesInputTypeConfig>;
240
+ inputTypes?: Maybe<Array<DataTypeRulesInputTypeConfig>>;
287
241
  }
288
242
 
289
243
  /** Represents a rule that can be applied to a data type. */
@@ -297,29 +251,36 @@ export interface DataTypeRulesItemOfCollectionConfig {
297
251
  export interface DataTypeRulesNumberRangeConfig {
298
252
  __typename?: 'DataTypeRulesNumberRangeConfig';
299
253
  /** The minimum value of the range */
300
- from: Scalars['Int']['output'];
254
+ from?: Maybe<Scalars['Int']['output']>;
301
255
  /** The step value for the range, if applicable */
302
256
  steps?: Maybe<Scalars['Int']['output']>;
303
257
  /** The maximum value of the range */
304
- to: Scalars['Int']['output'];
258
+ to?: Maybe<Scalars['Int']['output']>;
259
+ }
260
+
261
+ /** Represents a rule that can be applied to a data type. */
262
+ export interface DataTypeRulesParentTypeConfig {
263
+ __typename?: 'DataTypeRulesParentTypeConfig';
264
+ /** The data type identifier for the parent type. */
265
+ dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
305
266
  }
306
267
 
307
268
  /** Represents a rule that can be applied to a data type. */
308
269
  export interface DataTypeRulesRegexConfig {
309
270
  __typename?: 'DataTypeRulesRegexConfig';
310
271
  /** The regex pattern to match against the data type value. */
311
- pattern: Scalars['String']['output'];
272
+ pattern?: Maybe<Scalars['String']['output']>;
312
273
  }
313
274
 
314
275
  /** Represents a rule that can be applied to a data type. */
315
276
  export interface DataTypeRulesReturnTypeConfig {
316
277
  __typename?: 'DataTypeRulesReturnTypeConfig';
317
278
  /** The data type identifier for the return type. */
318
- dataTypeIdentifier: DataTypeIdentifier;
279
+ dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
319
280
  }
320
281
 
321
282
  /** The type of rule that can be applied to a data type. */
322
- export enum DataTypeRulesVariant {
283
+ export const enum DataTypeRulesVariant {
323
284
  /** The rule checks if a key is present in the data type. */
324
285
  ContainsKey = 'CONTAINS_KEY',
325
286
  /** The rule checks if a specific type is present in the data type. */
@@ -330,6 +291,8 @@ export enum DataTypeRulesVariant {
330
291
  ItemOfCollection = 'ITEM_OF_COLLECTION',
331
292
  /** The rule checks if a number falls within a specified range. */
332
293
  NumberRange = 'NUMBER_RANGE',
294
+ /** The rule checks if the data type is a child of a specific parent type. */
295
+ ParentType = 'PARENT_TYPE',
333
296
  /** The rule checks if a string matches a specified regular expression. */
334
297
  Regex = 'REGEX',
335
298
  /** The rule checks if the data type matches a specific return type. */
@@ -337,7 +300,7 @@ export enum DataTypeRulesVariant {
337
300
  }
338
301
 
339
302
  /** Represent all available types of a datatype */
340
- export enum DataTypeVariant {
303
+ export const enum DataTypeVariant {
341
304
  /** Represents an array */
342
305
  Array = 'ARRAY',
343
306
  /** Represents an data type containing a data type */
@@ -368,59 +331,152 @@ export interface EchoPayload {
368
331
  /** A unique identifier for the client performing the mutation. */
369
332
  clientMutationId?: Maybe<Scalars['String']['output']>;
370
333
  /** Errors encountered during execution of the mutation. */
371
- errors: Array<Error>;
334
+ errors?: Maybe<Array<Error>>;
372
335
  /** Message returned to the user. */
373
336
  message?: Maybe<Scalars['String']['output']>;
374
337
  }
375
338
 
376
339
  /** Objects that can present an error */
377
- export type Error = ActiveModelError | MessageError;
340
+ export type Error = ActiveModelError | ErrorCode | MessageError;
341
+
342
+ /** Represents an error code */
343
+ export interface ErrorCode {
344
+ __typename?: 'ErrorCode';
345
+ /** The error code */
346
+ errorCode?: Maybe<ErrorCodeEnum>;
347
+ }
348
+
349
+ /** Represents the available error responses */
350
+ export const enum ErrorCodeEnum {
351
+ /** This action would remove the last administrative role */
352
+ CannotDeleteLastAdminRole = 'CANNOT_DELETE_LAST_ADMIN_ROLE',
353
+ /** This action would remove the last administrator */
354
+ CannotRemoveLastAdministrator = 'CANNOT_REMOVE_LAST_ADMINISTRATOR',
355
+ /** This action would remove the last administrative ability */
356
+ CannotRemoveLastAdminAbility = 'CANNOT_REMOVE_LAST_ADMIN_ABILITY',
357
+ /** This external identity does not exist */
358
+ ExternalIdentityDoesNotExist = 'EXTERNAL_IDENTITY_DOES_NOT_EXIST',
359
+ /** The old backup codes could not be deleted */
360
+ FailedToInvalidateOldBackupCodes = 'FAILED_TO_INVALIDATE_OLD_BACKUP_CODES',
361
+ /** The new backup codes could not be saved */
362
+ FailedToSaveValidBackupCode = 'FAILED_TO_SAVE_VALID_BACKUP_CODE',
363
+ /** The given key was not found in the data type */
364
+ GenericKeyNotFound = 'GENERIC_KEY_NOT_FOUND',
365
+ /** Failed to validate the external identity */
366
+ IdentityValidationFailed = 'IDENTITY_VALIDATION_FAILED',
367
+ /** Resources are from different namespaces */
368
+ InconsistentNamespace = 'INCONSISTENT_NAMESPACE',
369
+ /** This external identity is invalid */
370
+ InvalidExternalIdentity = 'INVALID_EXTERNAL_IDENTITY',
371
+ /** Invalid login data provided */
372
+ InvalidLoginData = 'INVALID_LOGIN_DATA',
373
+ /** Invalid setting provided */
374
+ InvalidSetting = 'INVALID_SETTING',
375
+ /** Invalid verification code provided */
376
+ InvalidVerificationCode = 'INVALID_VERIFICATION_CODE',
377
+ /** Invalid MFA data provided */
378
+ MfaFailed = 'MFA_FAILED',
379
+ /** MFA is required */
380
+ MfaRequired = 'MFA_REQUIRED',
381
+ /** This external identity is missing data */
382
+ MissingIdentityData = 'MISSING_IDENTITY_DATA',
383
+ /** Not all required parameters are present */
384
+ MissingParameter = 'MISSING_PARAMETER',
385
+ /** The user is not permitted to perform this operation */
386
+ MissingPermission = 'MISSING_PERMISSION',
387
+ /** There are no free license seats to complete this operation */
388
+ NoFreeLicenseSeats = 'NO_FREE_LICENSE_SEATS',
389
+ /** The project does not have a primary runtime */
390
+ NoPrimaryRuntime = 'NO_PRIMARY_RUNTIME',
391
+ /** @deprecated Outdated concept */
392
+ PrimaryLevelNotFound = 'PRIMARY_LEVEL_NOT_FOUND',
393
+ /** Self-registration is disabled */
394
+ RegistrationDisabled = 'REGISTRATION_DISABLED',
395
+ /** Resources are from different runtimes */
396
+ RuntimeMismatch = 'RUNTIME_MISMATCH',
397
+ /** @deprecated Outdated concept */
398
+ SecondaryLevelNotFound = 'SECONDARY_LEVEL_NOT_FOUND',
399
+ /** @deprecated Outdated concept */
400
+ TertiaryLevelExceedsParameters = 'TERTIARY_LEVEL_EXCEEDS_PARAMETERS',
401
+ /** This user already has TOTP set up */
402
+ TotpSecretAlreadySet = 'TOTP_SECRET_ALREADY_SET',
403
+ /** The user is not permitted to modify this field */
404
+ UnmodifiableField = 'UNMODIFIABLE_FIELD',
405
+ /** Invalid TOTP code provided */
406
+ WrongTotp = 'WRONG_TOTP'
407
+ }
378
408
 
379
409
  /** Represents a flow */
380
410
  export interface Flow {
381
411
  __typename?: 'Flow';
382
412
  /** Time when this Flow was created */
383
- createdAt: Scalars['Time']['output'];
413
+ createdAt?: Maybe<Scalars['Time']['output']>;
384
414
  /** Global ID of this Flow */
385
- id: Scalars['FlowID']['output'];
415
+ id?: Maybe<Scalars['FlowID']['output']>;
386
416
  /** The input data type of the flow */
387
417
  inputType?: Maybe<DataType>;
418
+ /** Name of the flow */
419
+ name?: Maybe<Scalars['String']['output']>;
420
+ /** Nodes of the flow */
421
+ nodes?: Maybe<NodeFunctionConnection>;
388
422
  /** The return data type of the flow */
389
423
  returnType?: Maybe<DataType>;
390
424
  /** The settings of the flow */
391
- settings?: Maybe<Array<FlowSetting>>;
392
- /** The starting node of the flow */
393
- startingNode: NodeFunction;
425
+ settings?: Maybe<FlowSettingConnection>;
426
+ /** The ID of the starting node of the flow */
427
+ startingNodeId?: Maybe<Scalars['NodeFunctionID']['output']>;
394
428
  /** The flow type of the flow */
395
- type: FlowType;
429
+ type?: Maybe<FlowType>;
396
430
  /** Time when this Flow was last updated */
397
- updatedAt: Scalars['Time']['output'];
431
+ updatedAt?: Maybe<Scalars['Time']['output']>;
432
+ /** Abilities for the current user on this Flow */
433
+ userAbilities?: Maybe<FlowUserAbilities>;
434
+ }
435
+
436
+
437
+ /** Represents a flow */
438
+ export interface FlowNodesArgs {
439
+ after?: InputMaybe<Scalars['String']['input']>;
440
+ before?: InputMaybe<Scalars['String']['input']>;
441
+ first?: InputMaybe<Scalars['Int']['input']>;
442
+ last?: InputMaybe<Scalars['Int']['input']>;
443
+ }
444
+
445
+
446
+ /** Represents a flow */
447
+ export interface FlowSettingsArgs {
448
+ after?: InputMaybe<Scalars['String']['input']>;
449
+ before?: InputMaybe<Scalars['String']['input']>;
450
+ first?: InputMaybe<Scalars['Int']['input']>;
451
+ last?: InputMaybe<Scalars['Int']['input']>;
398
452
  }
399
453
 
400
454
  /** The connection type for Flow. */
401
455
  export interface FlowConnection {
402
456
  __typename?: 'FlowConnection';
403
457
  /** Total count of collection. */
404
- count: Scalars['Int']['output'];
458
+ count?: Maybe<Scalars['Int']['output']>;
405
459
  /** A list of edges. */
406
460
  edges?: Maybe<Array<Maybe<FlowEdge>>>;
407
461
  /** A list of nodes. */
408
462
  nodes?: Maybe<Array<Maybe<Flow>>>;
409
463
  /** Information to aid in pagination. */
410
- pageInfo: PageInfo;
464
+ pageInfo?: Maybe<PageInfo>;
411
465
  }
412
466
 
413
467
  /** An edge in a connection. */
414
468
  export interface FlowEdge {
415
469
  __typename?: 'FlowEdge';
416
470
  /** A cursor for use in pagination. */
417
- cursor: Scalars['String']['output'];
471
+ cursor?: Maybe<Scalars['String']['output']>;
418
472
  /** The item at the end of the edge. */
419
473
  node?: Maybe<Flow>;
420
474
  }
421
475
 
422
476
  /** Input type for creating or updating a flow */
423
477
  export interface FlowInput {
478
+ /** The name of the flow */
479
+ name: Scalars['String']['input'];
424
480
  /** The settings of the flow */
425
481
  settings?: InputMaybe<Array<FlowSettingInput>>;
426
482
  /** The starting node of the flow */
@@ -433,15 +489,37 @@ export interface FlowInput {
433
489
  export interface FlowSetting {
434
490
  __typename?: 'FlowSetting';
435
491
  /** Time when this FlowSetting was created */
436
- createdAt: Scalars['Time']['output'];
492
+ createdAt?: Maybe<Scalars['Time']['output']>;
437
493
  /** The identifier of the flow setting */
438
- flowSettingId: Scalars['String']['output'];
494
+ flowSettingIdentifier?: Maybe<Scalars['String']['output']>;
439
495
  /** Global ID of this FlowSetting */
440
- id: Scalars['FlowSettingID']['output'];
496
+ id?: Maybe<Scalars['FlowSettingID']['output']>;
441
497
  /** Time when this FlowSetting was last updated */
442
- updatedAt: Scalars['Time']['output'];
498
+ updatedAt?: Maybe<Scalars['Time']['output']>;
443
499
  /** The value of the flow setting */
444
- value: Scalars['JSON']['output'];
500
+ value?: Maybe<Scalars['JSON']['output']>;
501
+ }
502
+
503
+ /** The connection type for FlowSetting. */
504
+ export interface FlowSettingConnection {
505
+ __typename?: 'FlowSettingConnection';
506
+ /** Total count of collection. */
507
+ count?: Maybe<Scalars['Int']['output']>;
508
+ /** A list of edges. */
509
+ edges?: Maybe<Array<Maybe<FlowSettingEdge>>>;
510
+ /** A list of nodes. */
511
+ nodes?: Maybe<Array<Maybe<FlowSetting>>>;
512
+ /** Information to aid in pagination. */
513
+ pageInfo?: Maybe<PageInfo>;
514
+ }
515
+
516
+ /** An edge in a connection. */
517
+ export interface FlowSettingEdge {
518
+ __typename?: 'FlowSettingEdge';
519
+ /** A cursor for use in pagination. */
520
+ cursor?: Maybe<Scalars['String']['output']>;
521
+ /** The item at the end of the edge. */
522
+ node?: Maybe<FlowSetting>;
445
523
  }
446
524
 
447
525
  /** Input type for flow settings */
@@ -456,17 +534,17 @@ export interface FlowSettingInput {
456
534
  export interface FlowType {
457
535
  __typename?: 'FlowType';
458
536
  /** Time when this FlowType was created */
459
- createdAt: Scalars['Time']['output'];
537
+ createdAt?: Maybe<Scalars['Time']['output']>;
460
538
  /** Descriptions of the flow type */
461
539
  descriptions?: Maybe<TranslationConnection>;
462
540
  /** Editable status of the flow type */
463
- editable: Scalars['Boolean']['output'];
541
+ editable?: Maybe<Scalars['Boolean']['output']>;
464
542
  /** Flow type settings of the flow type */
465
- flowTypeSettings: Array<FlowTypeSetting>;
543
+ flowTypeSettings?: Maybe<Array<FlowTypeSetting>>;
466
544
  /** Global ID of this FlowType */
467
- id: Scalars['TypesFlowTypeID']['output'];
545
+ id?: Maybe<Scalars['TypesFlowTypeID']['output']>;
468
546
  /** Identifier of the flow type */
469
- identifier: Scalars['String']['output'];
547
+ identifier?: Maybe<Scalars['String']['output']>;
470
548
  /** Input type of the flow type */
471
549
  inputType?: Maybe<DataType>;
472
550
  /** Names of the flow type */
@@ -474,7 +552,7 @@ export interface FlowType {
474
552
  /** Return type of the flow type */
475
553
  returnType?: Maybe<DataType>;
476
554
  /** Time when this FlowType was last updated */
477
- updatedAt: Scalars['Time']['output'];
555
+ updatedAt?: Maybe<Scalars['Time']['output']>;
478
556
  }
479
557
 
480
558
 
@@ -499,20 +577,20 @@ export interface FlowTypeNamesArgs {
499
577
  export interface FlowTypeConnection {
500
578
  __typename?: 'FlowTypeConnection';
501
579
  /** Total count of collection. */
502
- count: Scalars['Int']['output'];
580
+ count?: Maybe<Scalars['Int']['output']>;
503
581
  /** A list of edges. */
504
582
  edges?: Maybe<Array<Maybe<FlowTypeEdge>>>;
505
583
  /** A list of nodes. */
506
584
  nodes?: Maybe<Array<Maybe<FlowType>>>;
507
585
  /** Information to aid in pagination. */
508
- pageInfo: PageInfo;
586
+ pageInfo?: Maybe<PageInfo>;
509
587
  }
510
588
 
511
589
  /** An edge in a connection. */
512
590
  export interface FlowTypeEdge {
513
591
  __typename?: 'FlowTypeEdge';
514
592
  /** A cursor for use in pagination. */
515
- cursor: Scalars['String']['output'];
593
+ cursor?: Maybe<Scalars['String']['output']>;
516
594
  /** The item at the end of the edge. */
517
595
  node?: Maybe<FlowType>;
518
596
  }
@@ -521,23 +599,23 @@ export interface FlowTypeEdge {
521
599
  export interface FlowTypeSetting {
522
600
  __typename?: 'FlowTypeSetting';
523
601
  /** Time when this FlowTypeSetting was created */
524
- createdAt: Scalars['Time']['output'];
602
+ createdAt?: Maybe<Scalars['Time']['output']>;
525
603
  /** Data type of the flow type setting */
526
604
  dataType?: Maybe<DataType>;
527
605
  /** Descriptions of the flow type setting */
528
- descriptions: TranslationConnection;
606
+ descriptions?: Maybe<TranslationConnection>;
529
607
  /** Flow type of the flow type setting */
530
608
  flowType?: Maybe<FlowType>;
531
609
  /** Global ID of this FlowTypeSetting */
532
- id: Scalars['FlowTypeSettingID']['output'];
610
+ id?: Maybe<Scalars['FlowTypeSettingID']['output']>;
533
611
  /** Identifier of the flow type setting */
534
- identifier: Scalars['String']['output'];
612
+ identifier?: Maybe<Scalars['String']['output']>;
535
613
  /** Names of the flow type setting */
536
- names: TranslationConnection;
614
+ names?: Maybe<TranslationConnection>;
537
615
  /** Unique status of the flow type setting */
538
- unique: Scalars['Boolean']['output'];
616
+ unique?: Maybe<Scalars['Boolean']['output']>;
539
617
  /** Time when this FlowTypeSetting was last updated */
540
- updatedAt: Scalars['Time']['output'];
618
+ updatedAt?: Maybe<Scalars['Time']['output']>;
541
619
  }
542
620
 
543
621
 
@@ -558,25 +636,51 @@ export interface FlowTypeSettingNamesArgs {
558
636
  last?: InputMaybe<Scalars['Int']['input']>;
559
637
  }
560
638
 
639
+ /** Abilities for the current user on this Flow */
640
+ export interface FlowUserAbilities {
641
+ __typename?: 'FlowUserAbilities';
642
+ /** Shows if the current user has the `delete_flow` ability on this Flow */
643
+ deleteFlow?: Maybe<Scalars['Boolean']['output']>;
644
+ }
645
+
561
646
  /** Represents a function definition */
562
647
  export interface FunctionDefinition {
563
648
  __typename?: 'FunctionDefinition';
564
649
  /** Time when this FunctionDefinition was created */
565
- createdAt: Scalars['Time']['output'];
650
+ createdAt?: Maybe<Scalars['Time']['output']>;
651
+ /** Deprecation message of the function */
652
+ deprecationMessages?: Maybe<TranslationConnection>;
566
653
  /** Description of the function */
567
654
  descriptions?: Maybe<TranslationConnection>;
568
655
  /** Documentation of the function */
569
656
  documentations?: Maybe<TranslationConnection>;
657
+ /** Generic keys of the function */
658
+ genericKeys?: Maybe<Array<Scalars['String']['output']>>;
570
659
  /** Global ID of this FunctionDefinition */
571
- id: Scalars['FunctionDefinitionID']['output'];
660
+ id?: Maybe<Scalars['FunctionDefinitionID']['output']>;
661
+ /** Identifier of the function */
662
+ identifier?: Maybe<Scalars['String']['output']>;
572
663
  /** Name of the function */
573
664
  names?: Maybe<TranslationConnection>;
574
665
  /** Parameters of the function */
575
666
  parameterDefinitions?: Maybe<ParameterDefinitionConnection>;
576
667
  /** Return type of the function */
577
668
  returnType?: Maybe<DataTypeIdentifier>;
669
+ /** Runtime function definition */
670
+ runtimeFunctionDefinition?: Maybe<RuntimeFunctionDefinition>;
671
+ /** Indicates if the function can throw an error */
672
+ throwsError?: Maybe<Scalars['Boolean']['output']>;
578
673
  /** Time when this FunctionDefinition was last updated */
579
- updatedAt: Scalars['Time']['output'];
674
+ updatedAt?: Maybe<Scalars['Time']['output']>;
675
+ }
676
+
677
+
678
+ /** Represents a function definition */
679
+ export interface FunctionDefinitionDeprecationMessagesArgs {
680
+ after?: InputMaybe<Scalars['String']['input']>;
681
+ before?: InputMaybe<Scalars['String']['input']>;
682
+ first?: InputMaybe<Scalars['Int']['input']>;
683
+ last?: InputMaybe<Scalars['Int']['input']>;
580
684
  }
581
685
 
582
686
 
@@ -619,68 +723,77 @@ export interface FunctionDefinitionParameterDefinitionsArgs {
619
723
  export interface FunctionDefinitionConnection {
620
724
  __typename?: 'FunctionDefinitionConnection';
621
725
  /** Total count of collection. */
622
- count: Scalars['Int']['output'];
726
+ count?: Maybe<Scalars['Int']['output']>;
623
727
  /** A list of edges. */
624
728
  edges?: Maybe<Array<Maybe<FunctionDefinitionEdge>>>;
625
729
  /** A list of nodes. */
626
730
  nodes?: Maybe<Array<Maybe<FunctionDefinition>>>;
627
731
  /** Information to aid in pagination. */
628
- pageInfo: PageInfo;
732
+ pageInfo?: Maybe<PageInfo>;
629
733
  }
630
734
 
631
735
  /** An edge in a connection. */
632
736
  export interface FunctionDefinitionEdge {
633
737
  __typename?: 'FunctionDefinitionEdge';
634
738
  /** A cursor for use in pagination. */
635
- cursor: Scalars['String']['output'];
739
+ cursor?: Maybe<Scalars['String']['output']>;
636
740
  /** The item at the end of the edge. */
637
741
  node?: Maybe<FunctionDefinition>;
638
742
  }
639
743
 
744
+ /** Represents a combination strategy with AND/OR logic used by a generic mapper. */
745
+ export interface GenericCombinationStrategy {
746
+ __typename?: 'GenericCombinationStrategy';
747
+ /** Time when this GenericCombinationStrategy was created */
748
+ createdAt?: Maybe<Scalars['Time']['output']>;
749
+ /** The associated generic mapper, if any. */
750
+ genericMapper?: Maybe<GenericMapper>;
751
+ /** Global ID of this GenericCombinationStrategy */
752
+ id?: Maybe<Scalars['GenericCombinationStrategyID']['output']>;
753
+ /** The combination type ('AND' or 'OR'). */
754
+ type?: Maybe<GenericCombinationStrategyType>;
755
+ /** Time when this GenericCombinationStrategy was last updated */
756
+ updatedAt?: Maybe<Scalars['Time']['output']>;
757
+ }
758
+
759
+ /** The available combination strategy types. */
760
+ export const enum GenericCombinationStrategyType {
761
+ /** Represents a logical AND combination. */
762
+ And = 'AND',
763
+ /** Represents a logical OR combination. */
764
+ Or = 'OR'
765
+ }
766
+
640
767
  /** Represents a mapping between a source data type and a target key for generic values. */
641
768
  export interface GenericMapper {
642
769
  __typename?: 'GenericMapper';
643
770
  /** Time when this GenericMapper was created */
644
- createdAt: Scalars['Time']['output'];
771
+ createdAt?: Maybe<Scalars['Time']['output']>;
772
+ /** Combination strategies associated with this generic mapper. */
773
+ genericCombinationStrategies?: Maybe<Array<GenericCombinationStrategy>>;
645
774
  /** Global ID of this GenericMapper */
646
- id: Scalars['GenericMapperID']['output'];
775
+ id?: Maybe<Scalars['GenericMapperID']['output']>;
647
776
  /** The source data type identifier. */
648
- source: DataTypeIdentifier;
777
+ sourceDataTypeIdentifiers?: Maybe<Array<DataTypeIdentifier>>;
649
778
  /** The target key for the generic value. */
650
- target: Scalars['String']['output'];
779
+ target?: Maybe<Scalars['String']['output']>;
651
780
  /** Time when this GenericMapper was last updated */
652
- updatedAt: Scalars['Time']['output'];
653
- }
654
-
655
- /** Input type for generic mappers */
656
- export interface GenericMapperInput {
657
- /** The source data type identifier for the mapper */
658
- sources: Array<DataTypeIdentifierInput>;
659
- /** The target data type identifier for the mapper */
660
- target: Scalars['String']['input'];
781
+ updatedAt?: Maybe<Scalars['Time']['output']>;
661
782
  }
662
783
 
663
784
  /** Represents a generic type that can be used in various contexts. */
664
785
  export interface GenericType {
665
786
  __typename?: 'GenericType';
666
787
  /** Time when this GenericType was created */
667
- createdAt: Scalars['Time']['output'];
788
+ createdAt?: Maybe<Scalars['Time']['output']>;
668
789
  /** The data type associated with this generic type. */
669
- dataType: DataType;
790
+ dataType?: Maybe<DataType>;
670
791
  /** The mappers associated with this generic type. */
671
- genericMappers: Array<GenericMapper>;
792
+ genericMappers?: Maybe<Array<GenericMapper>>;
672
793
  /** Global ID of this GenericType */
673
- id: Scalars['GenericTypeID']['output'];
794
+ id?: Maybe<Scalars['GenericTypeID']['output']>;
674
795
  /** Time when this GenericType was last updated */
675
- updatedAt: Scalars['Time']['output'];
676
- }
677
-
678
- /** Input type for generic type operations. */
679
- export interface GenericTypeInput {
680
- /** The data type associated with this generic type. */
681
- dataTypeId: Scalars['DataTypeID']['input'];
682
- /** The mappers associated with this generic type. */
683
- genericMappers: Array<GenericMapperInput>;
796
+ updatedAt?: Maybe<Scalars['Time']['output']>;
684
797
  }
685
798
 
686
799
  /** Represents the input for external user identity validation */
@@ -689,22 +802,39 @@ export interface IdentityInput {
689
802
  code?: InputMaybe<Scalars['String']['input']>;
690
803
  }
691
804
 
805
+ /** Abilities for the current user on this Instance */
806
+ export interface InstanceUserAbilities {
807
+ __typename?: 'InstanceUserAbilities';
808
+ /** Shows if the current user has the `create_organization` ability on this Instance */
809
+ createOrganization?: Maybe<Scalars['Boolean']['output']>;
810
+ /** Shows if the current user has the `create_runtime` ability on this Instance */
811
+ createRuntime?: Maybe<Scalars['Boolean']['output']>;
812
+ /** Shows if the current user has the `delete_runtime` ability on this Instance */
813
+ deleteRuntime?: Maybe<Scalars['Boolean']['output']>;
814
+ /** Shows if the current user has the `rotate_runtime_token` ability on this Instance */
815
+ rotateRuntimeToken?: Maybe<Scalars['Boolean']['output']>;
816
+ /** Shows if the current user has the `update_application_setting` ability on this Instance */
817
+ updateApplicationSetting?: Maybe<Scalars['Boolean']['output']>;
818
+ /** Shows if the current user has the `update_runtime` ability on this Instance */
819
+ updateRuntime?: Maybe<Scalars['Boolean']['output']>;
820
+ }
821
+
692
822
  /** Represents a literal value, such as a string or number. */
693
823
  export interface LiteralValue {
694
824
  __typename?: 'LiteralValue';
695
825
  /** Time when this LiteralValue was created */
696
- createdAt: Scalars['Time']['output'];
826
+ createdAt?: Maybe<Scalars['Time']['output']>;
697
827
  /** Time when this LiteralValue was last updated */
698
- updatedAt: Scalars['Time']['output'];
828
+ updatedAt?: Maybe<Scalars['Time']['output']>;
699
829
  /** The literal value itself as JSON. */
700
- value: Scalars['JSON']['output'];
830
+ value?: Maybe<Scalars['JSON']['output']>;
701
831
  }
702
832
 
703
833
  /** Represents an error message */
704
834
  export interface MessageError {
705
835
  __typename?: 'MessageError';
706
836
  /** The message provided from the error */
707
- message: Scalars['String']['output'];
837
+ message?: Maybe<Scalars['String']['output']>;
708
838
  }
709
839
 
710
840
  /** Represents the input for mfa authentication */
@@ -716,7 +846,7 @@ export interface MfaInput {
716
846
  }
717
847
 
718
848
  /** Represent all available types to authenticate with mfa */
719
- export enum MfaType {
849
+ export const enum MfaType {
720
850
  /** Single use backup code */
721
851
  BackupCode = 'BACKUP_CODE',
722
852
  /** Time based onetime password */
@@ -733,11 +863,12 @@ export interface Mutation {
733
863
  *
734
864
  * This is expected to be used for testing of endpoints, to verify
735
865
  * that a user has mutation access.
866
+ *
736
867
  */
737
868
  echo?: Maybe<EchoPayload>;
738
- /** Create a new namespace license. */
869
+ /** (EE only) Create a new namespace license. */
739
870
  namespacesLicensesCreate?: Maybe<NamespacesLicensesCreatePayload>;
740
- /** Deletes an namespace license. */
871
+ /** (EE only) Deletes an namespace license. */
741
872
  namespacesLicensesDelete?: Maybe<NamespacesLicensesDeletePayload>;
742
873
  /** Update the roles a member is assigned to. */
743
874
  namespacesMembersAssignRoles?: Maybe<NamespacesMembersAssignRolesPayload>;
@@ -781,6 +912,8 @@ export interface Mutation {
781
912
  runtimesRotateToken?: Maybe<RuntimesRotateTokenPayload>;
782
913
  /** Update an existing runtime. */
783
914
  runtimesUpdate?: Maybe<RuntimesUpdatePayload>;
915
+ /** Verify your email when changing it or signing up */
916
+ usersEmailVerification?: Maybe<UsersEmailVerificationPayload>;
784
917
  /** Links an external identity to an existing user */
785
918
  usersIdentityLink?: Maybe<UsersIdentityLinkPayload>;
786
919
  /** Login to an existing user via an external identity */
@@ -799,6 +932,10 @@ export interface Mutation {
799
932
  usersMfaTotpGenerateSecret?: Maybe<UsersMfaTotpGenerateSecretPayload>;
800
933
  /** Validates a TOTP value for the given secret and enables TOTP MFA for the user */
801
934
  usersMfaTotpValidateSecret?: Maybe<UsersMfaTotpValidateSecretPayload>;
935
+ /** Reset the password using a reset token */
936
+ usersPasswordReset?: Maybe<UsersPasswordResetPayload>;
937
+ /** Request an password reset */
938
+ usersPasswordResetRequest?: Maybe<UsersPasswordResetRequestPayload>;
802
939
  /** Register a new user */
803
940
  usersRegister?: Maybe<UsersRegisterPayload>;
804
941
  /** Update an existing user. */
@@ -956,6 +1093,12 @@ export interface MutationRuntimesUpdateArgs {
956
1093
  }
957
1094
 
958
1095
 
1096
+ /** Root Mutation type */
1097
+ export interface MutationUsersEmailVerificationArgs {
1098
+ input: UsersEmailVerificationInput;
1099
+ }
1100
+
1101
+
959
1102
  /** Root Mutation type */
960
1103
  export interface MutationUsersIdentityLinkArgs {
961
1104
  input: UsersIdentityLinkInput;
@@ -1010,6 +1153,18 @@ export interface MutationUsersMfaTotpValidateSecretArgs {
1010
1153
  }
1011
1154
 
1012
1155
 
1156
+ /** Root Mutation type */
1157
+ export interface MutationUsersPasswordResetArgs {
1158
+ input: UsersPasswordResetInput;
1159
+ }
1160
+
1161
+
1162
+ /** Root Mutation type */
1163
+ export interface MutationUsersPasswordResetRequestArgs {
1164
+ input: UsersPasswordResetRequestInput;
1165
+ }
1166
+
1167
+
1013
1168
  /** Root Mutation type */
1014
1169
  export interface MutationUsersRegisterArgs {
1015
1170
  input: UsersRegisterInput;
@@ -1025,23 +1180,27 @@ export interface MutationUsersUpdateArgs {
1025
1180
  export interface Namespace {
1026
1181
  __typename?: 'Namespace';
1027
1182
  /** Time when this Namespace was created */
1028
- createdAt: Scalars['Time']['output'];
1183
+ createdAt?: Maybe<Scalars['Time']['output']>;
1184
+ /** (EE only) Currently active license of the namespace */
1185
+ currentNamespaceLicense?: Maybe<NamespaceLicense>;
1029
1186
  /** Global ID of this Namespace */
1030
- id: Scalars['NamespaceID']['output'];
1187
+ id?: Maybe<Scalars['NamespaceID']['output']>;
1031
1188
  /** Members of the namespace */
1032
- members: NamespaceMemberConnection;
1033
- /** Licenses of the namespace */
1034
- namespaceLicenses: NamespaceLicenseConnection;
1189
+ members?: Maybe<NamespaceMemberConnection>;
1190
+ /** (EE only) Licenses of the namespace */
1191
+ namespaceLicenses?: Maybe<NamespaceLicenseConnection>;
1035
1192
  /** Parent of this namespace */
1036
- parent: NamespaceParent;
1193
+ parent?: Maybe<NamespaceParent>;
1037
1194
  /** Projects of the namespace */
1038
- projects: NamespaceProjectConnection;
1195
+ projects?: Maybe<NamespaceProjectConnection>;
1039
1196
  /** Roles of the namespace */
1040
- roles: NamespaceRoleConnection;
1197
+ roles?: Maybe<NamespaceRoleConnection>;
1041
1198
  /** Runtime of the namespace */
1042
- runtimes: RuntimeConnection;
1199
+ runtimes?: Maybe<RuntimeConnection>;
1043
1200
  /** Time when this Namespace was last updated */
1044
- updatedAt: Scalars['Time']['output'];
1201
+ updatedAt?: Maybe<Scalars['Time']['output']>;
1202
+ /** Abilities for the current user on this Namespace */
1203
+ userAbilities?: Maybe<NamespaceUserAbilities>;
1045
1204
  }
1046
1205
 
1047
1206
 
@@ -1089,74 +1248,113 @@ export interface NamespaceRuntimesArgs {
1089
1248
  last?: InputMaybe<Scalars['Int']['input']>;
1090
1249
  }
1091
1250
 
1092
- /** Represents a Namespace License */
1251
+ /** (EE only) Represents a Namespace License */
1093
1252
  export interface NamespaceLicense {
1094
1253
  __typename?: 'NamespaceLicense';
1095
1254
  /** Time when this NamespaceLicense was created */
1096
- createdAt: Scalars['Time']['output'];
1255
+ createdAt?: Maybe<Scalars['Time']['output']>;
1256
+ /** The end date of the license */
1257
+ endDate?: Maybe<Scalars['Time']['output']>;
1097
1258
  /** Global ID of this NamespaceLicense */
1098
- id: Scalars['NamespaceLicenseID']['output'];
1259
+ id?: Maybe<Scalars['NamespaceLicenseID']['output']>;
1260
+ /** The licensee information */
1261
+ licensee?: Maybe<Scalars['JSON']['output']>;
1099
1262
  /** The namespace the license belongs to */
1100
- namespace: Namespace;
1263
+ namespace?: Maybe<Namespace>;
1264
+ /** The start date of the license */
1265
+ startDate?: Maybe<Scalars['Time']['output']>;
1101
1266
  /** Time when this NamespaceLicense was last updated */
1102
- updatedAt: Scalars['Time']['output'];
1267
+ updatedAt?: Maybe<Scalars['Time']['output']>;
1268
+ /** Abilities for the current user on this NamespaceLicense */
1269
+ userAbilities?: Maybe<NamespaceLicenseUserAbilities>;
1103
1270
  }
1104
1271
 
1105
1272
  /** The connection type for NamespaceLicense. */
1106
1273
  export interface NamespaceLicenseConnection {
1107
1274
  __typename?: 'NamespaceLicenseConnection';
1108
1275
  /** Total count of collection. */
1109
- count: Scalars['Int']['output'];
1276
+ count?: Maybe<Scalars['Int']['output']>;
1110
1277
  /** A list of edges. */
1111
1278
  edges?: Maybe<Array<Maybe<NamespaceLicenseEdge>>>;
1112
1279
  /** A list of nodes. */
1113
1280
  nodes?: Maybe<Array<Maybe<NamespaceLicense>>>;
1114
1281
  /** Information to aid in pagination. */
1115
- pageInfo: PageInfo;
1282
+ pageInfo?: Maybe<PageInfo>;
1116
1283
  }
1117
1284
 
1118
1285
  /** An edge in a connection. */
1119
1286
  export interface NamespaceLicenseEdge {
1120
1287
  __typename?: 'NamespaceLicenseEdge';
1121
1288
  /** A cursor for use in pagination. */
1122
- cursor: Scalars['String']['output'];
1289
+ cursor?: Maybe<Scalars['String']['output']>;
1123
1290
  /** The item at the end of the edge. */
1124
1291
  node?: Maybe<NamespaceLicense>;
1125
1292
  }
1126
1293
 
1294
+ /** Abilities for the current user on this NamespaceLicense */
1295
+ export interface NamespaceLicenseUserAbilities {
1296
+ __typename?: 'NamespaceLicenseUserAbilities';
1297
+ /** Shows if the current user has the `delete_namespace_license` ability on this NamespaceLicense */
1298
+ deleteNamespaceLicense?: Maybe<Scalars['Boolean']['output']>;
1299
+ }
1300
+
1127
1301
  /** Represents a namespace member */
1128
1302
  export interface NamespaceMember {
1129
1303
  __typename?: 'NamespaceMember';
1130
1304
  /** Time when this NamespaceMember was created */
1131
- createdAt: Scalars['Time']['output'];
1305
+ createdAt?: Maybe<Scalars['Time']['output']>;
1132
1306
  /** Global ID of this NamespaceMember */
1133
- id: Scalars['NamespaceMemberID']['output'];
1307
+ id?: Maybe<Scalars['NamespaceMemberID']['output']>;
1308
+ /** Memberroles of the member */
1309
+ memberRoles?: Maybe<NamespaceMemberRoleConnection>;
1134
1310
  /** Namespace this member belongs to */
1135
- namespace: Namespace;
1311
+ namespace?: Maybe<Namespace>;
1312
+ /** Roles of the member */
1313
+ roles?: Maybe<NamespaceRoleConnection>;
1136
1314
  /** Time when this NamespaceMember was last updated */
1137
- updatedAt: Scalars['Time']['output'];
1315
+ updatedAt?: Maybe<Scalars['Time']['output']>;
1138
1316
  /** User this member belongs to */
1139
- user: User;
1317
+ user?: Maybe<User>;
1318
+ /** Abilities for the current user on this NamespaceMember */
1319
+ userAbilities?: Maybe<NamespaceMemberUserAbilities>;
1320
+ }
1321
+
1322
+
1323
+ /** Represents a namespace member */
1324
+ export interface NamespaceMemberMemberRolesArgs {
1325
+ after?: InputMaybe<Scalars['String']['input']>;
1326
+ before?: InputMaybe<Scalars['String']['input']>;
1327
+ first?: InputMaybe<Scalars['Int']['input']>;
1328
+ last?: InputMaybe<Scalars['Int']['input']>;
1329
+ }
1330
+
1331
+
1332
+ /** Represents a namespace member */
1333
+ export interface NamespaceMemberRolesArgs {
1334
+ after?: InputMaybe<Scalars['String']['input']>;
1335
+ before?: InputMaybe<Scalars['String']['input']>;
1336
+ first?: InputMaybe<Scalars['Int']['input']>;
1337
+ last?: InputMaybe<Scalars['Int']['input']>;
1140
1338
  }
1141
1339
 
1142
1340
  /** The connection type for NamespaceMember. */
1143
1341
  export interface NamespaceMemberConnection {
1144
1342
  __typename?: 'NamespaceMemberConnection';
1145
1343
  /** Total count of collection. */
1146
- count: Scalars['Int']['output'];
1344
+ count?: Maybe<Scalars['Int']['output']>;
1147
1345
  /** A list of edges. */
1148
1346
  edges?: Maybe<Array<Maybe<NamespaceMemberEdge>>>;
1149
1347
  /** A list of nodes. */
1150
1348
  nodes?: Maybe<Array<Maybe<NamespaceMember>>>;
1151
1349
  /** Information to aid in pagination. */
1152
- pageInfo: PageInfo;
1350
+ pageInfo?: Maybe<PageInfo>;
1153
1351
  }
1154
1352
 
1155
1353
  /** An edge in a connection. */
1156
1354
  export interface NamespaceMemberEdge {
1157
1355
  __typename?: 'NamespaceMemberEdge';
1158
1356
  /** A cursor for use in pagination. */
1159
- cursor: Scalars['String']['output'];
1357
+ cursor?: Maybe<Scalars['String']['output']>;
1160
1358
  /** The item at the end of the edge. */
1161
1359
  node?: Maybe<NamespaceMember>;
1162
1360
  }
@@ -1165,43 +1363,76 @@ export interface NamespaceMemberEdge {
1165
1363
  export interface NamespaceMemberRole {
1166
1364
  __typename?: 'NamespaceMemberRole';
1167
1365
  /** Time when this NamespaceMemberRole was created */
1168
- createdAt: Scalars['Time']['output'];
1366
+ createdAt?: Maybe<Scalars['Time']['output']>;
1169
1367
  /** Global ID of this NamespaceMemberRole */
1170
- id: Scalars['NamespaceMemberRoleID']['output'];
1368
+ id?: Maybe<Scalars['NamespaceMemberRoleID']['output']>;
1171
1369
  /** The member the role is assigned to */
1172
1370
  member?: Maybe<NamespaceMember>;
1173
1371
  /** The assigned role */
1174
1372
  role?: Maybe<NamespaceRole>;
1175
1373
  /** Time when this NamespaceMemberRole was last updated */
1176
- updatedAt: Scalars['Time']['output'];
1374
+ updatedAt?: Maybe<Scalars['Time']['output']>;
1375
+ }
1376
+
1377
+ /** The connection type for NamespaceMemberRole. */
1378
+ export interface NamespaceMemberRoleConnection {
1379
+ __typename?: 'NamespaceMemberRoleConnection';
1380
+ /** Total count of collection. */
1381
+ count?: Maybe<Scalars['Int']['output']>;
1382
+ /** A list of edges. */
1383
+ edges?: Maybe<Array<Maybe<NamespaceMemberRoleEdge>>>;
1384
+ /** A list of nodes. */
1385
+ nodes?: Maybe<Array<Maybe<NamespaceMemberRole>>>;
1386
+ /** Information to aid in pagination. */
1387
+ pageInfo?: Maybe<PageInfo>;
1388
+ }
1389
+
1390
+ /** An edge in a connection. */
1391
+ export interface NamespaceMemberRoleEdge {
1392
+ __typename?: 'NamespaceMemberRoleEdge';
1393
+ /** A cursor for use in pagination. */
1394
+ cursor?: Maybe<Scalars['String']['output']>;
1395
+ /** The item at the end of the edge. */
1396
+ node?: Maybe<NamespaceMemberRole>;
1397
+ }
1398
+
1399
+ /** Abilities for the current user on this NamespaceMember */
1400
+ export interface NamespaceMemberUserAbilities {
1401
+ __typename?: 'NamespaceMemberUserAbilities';
1402
+ /** Shows if the current user has the `assign_member_roles` ability on this NamespaceMember */
1403
+ assignMemberRoles?: Maybe<Scalars['Boolean']['output']>;
1404
+ /** Shows if the current user has the `delete_member` ability on this NamespaceMember */
1405
+ deleteMember?: Maybe<Scalars['Boolean']['output']>;
1177
1406
  }
1178
1407
 
1179
1408
  /** Objects that can present a namespace */
1180
- export type NamespaceParent = Organization;
1409
+ export type NamespaceParent = Organization | User;
1181
1410
 
1182
1411
  /** Represents a namespace project */
1183
1412
  export interface NamespaceProject {
1184
1413
  __typename?: 'NamespaceProject';
1185
1414
  /** Time when this NamespaceProject was created */
1186
- createdAt: Scalars['Time']['output'];
1415
+ createdAt?: Maybe<Scalars['Time']['output']>;
1187
1416
  /** Description of the project */
1188
- description: Scalars['String']['output'];
1417
+ description?: Maybe<Scalars['String']['output']>;
1189
1418
  /** Fetches an flow given by its ID */
1190
1419
  flow?: Maybe<Flow>;
1191
1420
  /** Fetches all flows in this project */
1192
1421
  flows?: Maybe<FlowConnection>;
1193
1422
  /** Global ID of this NamespaceProject */
1194
- id: Scalars['NamespaceProjectID']['output'];
1423
+ id?: Maybe<Scalars['NamespaceProjectID']['output']>;
1195
1424
  /** Name of the project */
1196
- name: Scalars['String']['output'];
1425
+ name?: Maybe<Scalars['String']['output']>;
1197
1426
  /** The namespace where this project belongs to */
1198
- namespace: Namespace;
1427
+ namespace?: Maybe<Namespace>;
1199
1428
  /** The primary runtime for the project */
1200
1429
  primaryRuntime?: Maybe<Runtime>;
1201
1430
  /** Runtimes assigned to this project */
1202
- runtimes: RuntimeConnection;
1431
+ runtimes?: Maybe<RuntimeConnection>;
1203
1432
  /** Time when this NamespaceProject was last updated */
1204
- updatedAt: Scalars['Time']['output'];
1433
+ updatedAt?: Maybe<Scalars['Time']['output']>;
1434
+ /** Abilities for the current user on this NamespaceProject */
1435
+ userAbilities?: Maybe<NamespaceProjectUserAbilities>;
1205
1436
  }
1206
1437
 
1207
1438
 
@@ -1232,41 +1463,56 @@ export interface NamespaceProjectRuntimesArgs {
1232
1463
  export interface NamespaceProjectConnection {
1233
1464
  __typename?: 'NamespaceProjectConnection';
1234
1465
  /** Total count of collection. */
1235
- count: Scalars['Int']['output'];
1466
+ count?: Maybe<Scalars['Int']['output']>;
1236
1467
  /** A list of edges. */
1237
1468
  edges?: Maybe<Array<Maybe<NamespaceProjectEdge>>>;
1238
1469
  /** A list of nodes. */
1239
1470
  nodes?: Maybe<Array<Maybe<NamespaceProject>>>;
1240
1471
  /** Information to aid in pagination. */
1241
- pageInfo: PageInfo;
1472
+ pageInfo?: Maybe<PageInfo>;
1242
1473
  }
1243
1474
 
1244
1475
  /** An edge in a connection. */
1245
1476
  export interface NamespaceProjectEdge {
1246
1477
  __typename?: 'NamespaceProjectEdge';
1247
1478
  /** A cursor for use in pagination. */
1248
- cursor: Scalars['String']['output'];
1479
+ cursor?: Maybe<Scalars['String']['output']>;
1249
1480
  /** The item at the end of the edge. */
1250
1481
  node?: Maybe<NamespaceProject>;
1251
1482
  }
1252
1483
 
1484
+ /** Abilities for the current user on this NamespaceProject */
1485
+ export interface NamespaceProjectUserAbilities {
1486
+ __typename?: 'NamespaceProjectUserAbilities';
1487
+ /** Shows if the current user has the `assign_project_runtimes` ability on this NamespaceProject */
1488
+ assignProjectRuntimes?: Maybe<Scalars['Boolean']['output']>;
1489
+ /** Shows if the current user has the `create_flow` ability on this NamespaceProject */
1490
+ createFlow?: Maybe<Scalars['Boolean']['output']>;
1491
+ /** Shows if the current user has the `delete_namespace_project` ability on this NamespaceProject */
1492
+ deleteNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1493
+ /** Shows if the current user has the `update_namespace_project` ability on this NamespaceProject */
1494
+ updateNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1495
+ }
1496
+
1253
1497
  /** Represents a namespace role. */
1254
1498
  export interface NamespaceRole {
1255
1499
  __typename?: 'NamespaceRole';
1256
1500
  /** The abilities the role is granted */
1257
- abilities: Array<NamespaceRoleAbility>;
1501
+ abilities?: Maybe<Array<NamespaceRoleAbility>>;
1258
1502
  /** The projects this role is assigned to */
1259
1503
  assignedProjects?: Maybe<NamespaceProjectConnection>;
1260
1504
  /** Time when this NamespaceRole was created */
1261
- createdAt: Scalars['Time']['output'];
1505
+ createdAt?: Maybe<Scalars['Time']['output']>;
1262
1506
  /** Global ID of this NamespaceRole */
1263
- id: Scalars['NamespaceRoleID']['output'];
1507
+ id?: Maybe<Scalars['NamespaceRoleID']['output']>;
1264
1508
  /** The name of this role */
1265
- name: Scalars['String']['output'];
1509
+ name?: Maybe<Scalars['String']['output']>;
1266
1510
  /** The namespace where this role belongs to */
1267
1511
  namespace?: Maybe<Namespace>;
1268
1512
  /** Time when this NamespaceRole was last updated */
1269
- updatedAt: Scalars['Time']['output'];
1513
+ updatedAt?: Maybe<Scalars['Time']['output']>;
1514
+ /** Abilities for the current user on this NamespaceRole */
1515
+ userAbilities?: Maybe<NamespaceRoleUserAbilities>;
1270
1516
  }
1271
1517
 
1272
1518
 
@@ -1279,7 +1525,7 @@ export interface NamespaceRoleAssignedProjectsArgs {
1279
1525
  }
1280
1526
 
1281
1527
  /** Represents abilities that can be granted to roles in namespaces. */
1282
- export enum NamespaceRoleAbility {
1528
+ export const enum NamespaceRoleAbility {
1283
1529
  /** Allows to change the roles of a namespace member */
1284
1530
  AssignMemberRoles = 'ASSIGN_MEMBER_ROLES',
1285
1531
  /** Allows to assign runtimes to a project in the namespace */
@@ -1289,7 +1535,7 @@ export enum NamespaceRoleAbility {
1289
1535
  /** Allows to change the assigned projects of a namespace role */
1290
1536
  AssignRoleProjects = 'ASSIGN_ROLE_PROJECTS',
1291
1537
  /** Allows to create flows in a namespace project */
1292
- CreateFlows = 'CREATE_FLOWS',
1538
+ CreateFlow = 'CREATE_FLOW',
1293
1539
  /** Allows to create a license for the namespace */
1294
1540
  CreateNamespaceLicense = 'CREATE_NAMESPACE_LICENSE',
1295
1541
  /** Allows to create a project in the namespace */
@@ -1299,7 +1545,7 @@ export enum NamespaceRoleAbility {
1299
1545
  /** Allows to create a runtime globally or for the namespace */
1300
1546
  CreateRuntime = 'CREATE_RUNTIME',
1301
1547
  /** Allows to delete flows in a namespace project */
1302
- DeleteFlows = 'DELETE_FLOWS',
1548
+ DeleteFlow = 'DELETE_FLOW',
1303
1549
  /** Allows to remove members of a namespace */
1304
1550
  DeleteMember = 'DELETE_MEMBER',
1305
1551
  /** Allows to delete the license of the namespace */
@@ -1323,7 +1569,7 @@ export enum NamespaceRoleAbility {
1323
1569
  /** Allows to regenerate a runtime token */
1324
1570
  RotateRuntimeToken = 'ROTATE_RUNTIME_TOKEN',
1325
1571
  /** Allows to update flows in the project */
1326
- UpdateFlows = 'UPDATE_FLOWS',
1572
+ UpdateFlow = 'UPDATE_FLOW',
1327
1573
  /** Allows to update the project of the namespace */
1328
1574
  UpdateNamespaceProject = 'UPDATE_NAMESPACE_PROJECT',
1329
1575
  /** Allows to update the namespace role */
@@ -1338,24 +1584,52 @@ export enum NamespaceRoleAbility {
1338
1584
  export interface NamespaceRoleConnection {
1339
1585
  __typename?: 'NamespaceRoleConnection';
1340
1586
  /** Total count of collection. */
1341
- count: Scalars['Int']['output'];
1587
+ count?: Maybe<Scalars['Int']['output']>;
1342
1588
  /** A list of edges. */
1343
1589
  edges?: Maybe<Array<Maybe<NamespaceRoleEdge>>>;
1344
1590
  /** A list of nodes. */
1345
1591
  nodes?: Maybe<Array<Maybe<NamespaceRole>>>;
1346
1592
  /** Information to aid in pagination. */
1347
- pageInfo: PageInfo;
1593
+ pageInfo?: Maybe<PageInfo>;
1348
1594
  }
1349
1595
 
1350
1596
  /** An edge in a connection. */
1351
1597
  export interface NamespaceRoleEdge {
1352
1598
  __typename?: 'NamespaceRoleEdge';
1353
1599
  /** A cursor for use in pagination. */
1354
- cursor: Scalars['String']['output'];
1600
+ cursor?: Maybe<Scalars['String']['output']>;
1355
1601
  /** The item at the end of the edge. */
1356
1602
  node?: Maybe<NamespaceRole>;
1357
1603
  }
1358
1604
 
1605
+ /** Abilities for the current user on this NamespaceRole */
1606
+ export interface NamespaceRoleUserAbilities {
1607
+ __typename?: 'NamespaceRoleUserAbilities';
1608
+ /** Shows if the current user has the `assign_role_abilities` ability on this NamespaceRole */
1609
+ assignRoleAbilities?: Maybe<Scalars['Boolean']['output']>;
1610
+ /** Shows if the current user has the `assign_role_projects` ability on this NamespaceRole */
1611
+ assignRoleProjects?: Maybe<Scalars['Boolean']['output']>;
1612
+ /** Shows if the current user has the `delete_namespace_role` ability on this NamespaceRole */
1613
+ deleteNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
1614
+ /** Shows if the current user has the `update_namespace_role` ability on this NamespaceRole */
1615
+ updateNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
1616
+ }
1617
+
1618
+ /** Abilities for the current user on this Namespace */
1619
+ export interface NamespaceUserAbilities {
1620
+ __typename?: 'NamespaceUserAbilities';
1621
+ /** Shows if the current user has the `create_namespace_license` ability on this Namespace */
1622
+ createNamespaceLicense?: Maybe<Scalars['Boolean']['output']>;
1623
+ /** Shows if the current user has the `create_namespace_project` ability on this Namespace */
1624
+ createNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1625
+ /** Shows if the current user has the `create_namespace_role` ability on this Namespace */
1626
+ createNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
1627
+ /** Shows if the current user has the `create_runtime` ability on this Namespace */
1628
+ createRuntime?: Maybe<Scalars['Boolean']['output']>;
1629
+ /** Shows if the current user has the `invite_member` ability on this Namespace */
1630
+ inviteMember?: Maybe<Scalars['Boolean']['output']>;
1631
+ }
1632
+
1359
1633
  /** Autogenerated input type of NamespacesLicensesCreate */
1360
1634
  export interface NamespacesLicensesCreateInput {
1361
1635
  /** A unique identifier for the client performing the mutation. */
@@ -1372,7 +1646,7 @@ export interface NamespacesLicensesCreatePayload {
1372
1646
  /** A unique identifier for the client performing the mutation. */
1373
1647
  clientMutationId?: Maybe<Scalars['String']['output']>;
1374
1648
  /** Errors encountered during execution of the mutation. */
1375
- errors: Array<Error>;
1649
+ errors?: Maybe<Array<Error>>;
1376
1650
  /** The newly created license. */
1377
1651
  namespaceLicense?: Maybe<NamespaceLicense>;
1378
1652
  }
@@ -1391,7 +1665,7 @@ export interface NamespacesLicensesDeletePayload {
1391
1665
  /** A unique identifier for the client performing the mutation. */
1392
1666
  clientMutationId?: Maybe<Scalars['String']['output']>;
1393
1667
  /** Errors encountered during execution of the mutation. */
1394
- errors: Array<Error>;
1668
+ errors?: Maybe<Array<Error>>;
1395
1669
  /** The deleted namespace license. */
1396
1670
  namespaceLicense?: Maybe<NamespaceLicense>;
1397
1671
  }
@@ -1412,7 +1686,7 @@ export interface NamespacesMembersAssignRolesPayload {
1412
1686
  /** A unique identifier for the client performing the mutation. */
1413
1687
  clientMutationId?: Maybe<Scalars['String']['output']>;
1414
1688
  /** Errors encountered during execution of the mutation. */
1415
- errors: Array<Error>;
1689
+ errors?: Maybe<Array<Error>>;
1416
1690
  /** The roles the member is now assigned to */
1417
1691
  namespaceMemberRoles?: Maybe<Array<NamespaceMemberRole>>;
1418
1692
  }
@@ -1431,7 +1705,7 @@ export interface NamespacesMembersDeletePayload {
1431
1705
  /** A unique identifier for the client performing the mutation. */
1432
1706
  clientMutationId?: Maybe<Scalars['String']['output']>;
1433
1707
  /** Errors encountered during execution of the mutation. */
1434
- errors: Array<Error>;
1708
+ errors?: Maybe<Array<Error>>;
1435
1709
  /** The removed namespace member */
1436
1710
  namespaceMember?: Maybe<NamespaceMember>;
1437
1711
  }
@@ -1452,7 +1726,7 @@ export interface NamespacesMembersInvitePayload {
1452
1726
  /** A unique identifier for the client performing the mutation. */
1453
1727
  clientMutationId?: Maybe<Scalars['String']['output']>;
1454
1728
  /** Errors encountered during execution of the mutation. */
1455
- errors: Array<Error>;
1729
+ errors?: Maybe<Array<Error>>;
1456
1730
  /** The newly created namespace member */
1457
1731
  namespaceMember?: Maybe<NamespaceMember>;
1458
1732
  }
@@ -1473,7 +1747,7 @@ export interface NamespacesProjectsAssignRuntimesPayload {
1473
1747
  /** A unique identifier for the client performing the mutation. */
1474
1748
  clientMutationId?: Maybe<Scalars['String']['output']>;
1475
1749
  /** Errors encountered during execution of the mutation. */
1476
- errors: Array<Error>;
1750
+ errors?: Maybe<Array<Error>>;
1477
1751
  /** The updated project with assigned runtimes */
1478
1752
  namespaceProject?: Maybe<NamespaceProject>;
1479
1753
  }
@@ -1496,7 +1770,7 @@ export interface NamespacesProjectsCreatePayload {
1496
1770
  /** A unique identifier for the client performing the mutation. */
1497
1771
  clientMutationId?: Maybe<Scalars['String']['output']>;
1498
1772
  /** Errors encountered during execution of the mutation. */
1499
- errors: Array<Error>;
1773
+ errors?: Maybe<Array<Error>>;
1500
1774
  /** The newly created project. */
1501
1775
  namespaceProject?: Maybe<NamespaceProject>;
1502
1776
  }
@@ -1515,7 +1789,7 @@ export interface NamespacesProjectsDeletePayload {
1515
1789
  /** A unique identifier for the client performing the mutation. */
1516
1790
  clientMutationId?: Maybe<Scalars['String']['output']>;
1517
1791
  /** Errors encountered during execution of the mutation. */
1518
- errors: Array<Error>;
1792
+ errors?: Maybe<Array<Error>>;
1519
1793
  /** The deleted project. */
1520
1794
  namespaceProject?: Maybe<NamespaceProject>;
1521
1795
  }
@@ -1536,7 +1810,7 @@ export interface NamespacesProjectsFlowsCreatePayload {
1536
1810
  /** A unique identifier for the client performing the mutation. */
1537
1811
  clientMutationId?: Maybe<Scalars['String']['output']>;
1538
1812
  /** Errors encountered during execution of the mutation. */
1539
- errors: Array<Error>;
1813
+ errors?: Maybe<Array<Error>>;
1540
1814
  /** The newly created flow. */
1541
1815
  flow?: Maybe<Flow>;
1542
1816
  }
@@ -1555,7 +1829,7 @@ export interface NamespacesProjectsFlowsDeletePayload {
1555
1829
  /** A unique identifier for the client performing the mutation. */
1556
1830
  clientMutationId?: Maybe<Scalars['String']['output']>;
1557
1831
  /** Errors encountered during execution of the mutation. */
1558
- errors: Array<Error>;
1832
+ errors?: Maybe<Array<Error>>;
1559
1833
  /** The deleted flow. */
1560
1834
  flow?: Maybe<Flow>;
1561
1835
  }
@@ -1580,7 +1854,7 @@ export interface NamespacesProjectsUpdatePayload {
1580
1854
  /** A unique identifier for the client performing the mutation. */
1581
1855
  clientMutationId?: Maybe<Scalars['String']['output']>;
1582
1856
  /** Errors encountered during execution of the mutation. */
1583
- errors: Array<Error>;
1857
+ errors?: Maybe<Array<Error>>;
1584
1858
  /** The updated project. */
1585
1859
  namespaceProject?: Maybe<NamespaceProject>;
1586
1860
  }
@@ -1603,7 +1877,7 @@ export interface NamespacesRolesAssignAbilitiesPayload {
1603
1877
  /** A unique identifier for the client performing the mutation. */
1604
1878
  clientMutationId?: Maybe<Scalars['String']['output']>;
1605
1879
  /** Errors encountered during execution of the mutation. */
1606
- errors: Array<Error>;
1880
+ errors?: Maybe<Array<Error>>;
1607
1881
  }
1608
1882
 
1609
1883
  /** Autogenerated input type of NamespacesRolesAssignProjects */
@@ -1622,7 +1896,7 @@ export interface NamespacesRolesAssignProjectsPayload {
1622
1896
  /** A unique identifier for the client performing the mutation. */
1623
1897
  clientMutationId?: Maybe<Scalars['String']['output']>;
1624
1898
  /** Errors encountered during execution of the mutation. */
1625
- errors: Array<Error>;
1899
+ errors?: Maybe<Array<Error>>;
1626
1900
  /** The now assigned projects */
1627
1901
  projects?: Maybe<Array<NamespaceProject>>;
1628
1902
  }
@@ -1643,7 +1917,7 @@ export interface NamespacesRolesCreatePayload {
1643
1917
  /** A unique identifier for the client performing the mutation. */
1644
1918
  clientMutationId?: Maybe<Scalars['String']['output']>;
1645
1919
  /** Errors encountered during execution of the mutation. */
1646
- errors: Array<Error>;
1920
+ errors?: Maybe<Array<Error>>;
1647
1921
  /** The newly created namespace role */
1648
1922
  namespaceRole?: Maybe<NamespaceRole>;
1649
1923
  }
@@ -1662,7 +1936,7 @@ export interface NamespacesRolesDeletePayload {
1662
1936
  /** A unique identifier for the client performing the mutation. */
1663
1937
  clientMutationId?: Maybe<Scalars['String']['output']>;
1664
1938
  /** Errors encountered during execution of the mutation. */
1665
- errors: Array<Error>;
1939
+ errors?: Maybe<Array<Error>>;
1666
1940
  /** The deleted namespace role */
1667
1941
  namespaceRole?: Maybe<NamespaceRole>;
1668
1942
  }
@@ -1683,7 +1957,7 @@ export interface NamespacesRolesUpdatePayload {
1683
1957
  /** A unique identifier for the client performing the mutation. */
1684
1958
  clientMutationId?: Maybe<Scalars['String']['output']>;
1685
1959
  /** Errors encountered during execution of the mutation. */
1686
- errors: Array<Error>;
1960
+ errors?: Maybe<Array<Error>>;
1687
1961
  /** The updated namespace role. */
1688
1962
  namespaceRole?: Maybe<NamespaceRole>;
1689
1963
  }
@@ -1691,24 +1965,24 @@ export interface NamespacesRolesUpdatePayload {
1691
1965
  /** An object with an ID. */
1692
1966
  export interface Node {
1693
1967
  /** ID of the object. */
1694
- id: Scalars['ID']['output'];
1968
+ id?: Maybe<Scalars['ID']['output']>;
1695
1969
  }
1696
1970
 
1697
1971
  /** Represents a Node Function */
1698
1972
  export interface NodeFunction {
1699
1973
  __typename?: 'NodeFunction';
1700
1974
  /** Time when this NodeFunction was created */
1701
- createdAt: Scalars['Time']['output'];
1975
+ createdAt?: Maybe<Scalars['Time']['output']>;
1976
+ /** The definition of the Node Function */
1977
+ functionDefinition?: Maybe<FunctionDefinition>;
1702
1978
  /** Global ID of this NodeFunction */
1703
- id: Scalars['NodeFunctionID']['output'];
1704
- /** The next Node Function in the flow */
1705
- nextNode?: Maybe<NodeFunction>;
1979
+ id?: Maybe<Scalars['NodeFunctionID']['output']>;
1980
+ /** The ID of the next Node Function in the flow */
1981
+ nextNodeId?: Maybe<Scalars['NodeFunctionID']['output']>;
1706
1982
  /** The parameters of the Node Function */
1707
- parameters: NodeParameterConnection;
1708
- /** The definition of the Node Function */
1709
- runtimeFunction: RuntimeFunctionDefinition;
1983
+ parameters?: Maybe<NodeParameterConnection>;
1710
1984
  /** Time when this NodeFunction was last updated */
1711
- updatedAt: Scalars['Time']['output'];
1985
+ updatedAt?: Maybe<Scalars['Time']['output']>;
1712
1986
  }
1713
1987
 
1714
1988
 
@@ -1720,6 +1994,28 @@ export interface NodeFunctionParametersArgs {
1720
1994
  last?: InputMaybe<Scalars['Int']['input']>;
1721
1995
  }
1722
1996
 
1997
+ /** The connection type for NodeFunction. */
1998
+ export interface NodeFunctionConnection {
1999
+ __typename?: 'NodeFunctionConnection';
2000
+ /** Total count of collection. */
2001
+ count?: Maybe<Scalars['Int']['output']>;
2002
+ /** A list of edges. */
2003
+ edges?: Maybe<Array<Maybe<NodeFunctionEdge>>>;
2004
+ /** A list of nodes. */
2005
+ nodes?: Maybe<Array<Maybe<NodeFunction>>>;
2006
+ /** Information to aid in pagination. */
2007
+ pageInfo?: Maybe<PageInfo>;
2008
+ }
2009
+
2010
+ /** An edge in a connection. */
2011
+ export interface NodeFunctionEdge {
2012
+ __typename?: 'NodeFunctionEdge';
2013
+ /** A cursor for use in pagination. */
2014
+ cursor?: Maybe<Scalars['String']['output']>;
2015
+ /** The item at the end of the edge. */
2016
+ node?: Maybe<NodeFunction>;
2017
+ }
2018
+
1723
2019
  /** Input type for a Node Function */
1724
2020
  export interface NodeFunctionInput {
1725
2021
  /** The next Node Function in the flow */
@@ -1734,13 +2030,13 @@ export interface NodeFunctionInput {
1734
2030
  export interface NodeParameter {
1735
2031
  __typename?: 'NodeParameter';
1736
2032
  /** Time when this NodeParameter was created */
1737
- createdAt: Scalars['Time']['output'];
2033
+ createdAt?: Maybe<Scalars['Time']['output']>;
1738
2034
  /** Global ID of this NodeParameter */
1739
- id: Scalars['NodeParameterID']['output'];
2035
+ id?: Maybe<Scalars['NodeParameterID']['output']>;
1740
2036
  /** The definition of the parameter */
1741
- runtimeParameter: RuntimeParameterDefinition;
2037
+ runtimeParameter?: Maybe<RuntimeParameterDefinition>;
1742
2038
  /** Time when this NodeParameter was last updated */
1743
- updatedAt: Scalars['Time']['output'];
2039
+ updatedAt?: Maybe<Scalars['Time']['output']>;
1744
2040
  /** The value of the parameter */
1745
2041
  value?: Maybe<NodeParameterValue>;
1746
2042
  }
@@ -1749,20 +2045,20 @@ export interface NodeParameter {
1749
2045
  export interface NodeParameterConnection {
1750
2046
  __typename?: 'NodeParameterConnection';
1751
2047
  /** Total count of collection. */
1752
- count: Scalars['Int']['output'];
2048
+ count?: Maybe<Scalars['Int']['output']>;
1753
2049
  /** A list of edges. */
1754
2050
  edges?: Maybe<Array<Maybe<NodeParameterEdge>>>;
1755
2051
  /** A list of nodes. */
1756
2052
  nodes?: Maybe<Array<Maybe<NodeParameter>>>;
1757
2053
  /** Information to aid in pagination. */
1758
- pageInfo: PageInfo;
2054
+ pageInfo?: Maybe<PageInfo>;
1759
2055
  }
1760
2056
 
1761
2057
  /** An edge in a connection. */
1762
2058
  export interface NodeParameterEdge {
1763
2059
  __typename?: 'NodeParameterEdge';
1764
2060
  /** A cursor for use in pagination. */
1765
- cursor: Scalars['String']['output'];
2061
+ cursor?: Maybe<Scalars['String']['output']>;
1766
2062
  /** The item at the end of the edge. */
1767
2063
  node?: Maybe<NodeParameter>;
1768
2064
  }
@@ -1792,15 +2088,48 @@ export interface NodeParameterValueInput {
1792
2088
  export interface Organization {
1793
2089
  __typename?: 'Organization';
1794
2090
  /** Time when this Organization was created */
1795
- createdAt: Scalars['Time']['output'];
2091
+ createdAt?: Maybe<Scalars['Time']['output']>;
1796
2092
  /** Global ID of this Organization */
1797
- id: Scalars['OrganizationID']['output'];
2093
+ id?: Maybe<Scalars['OrganizationID']['output']>;
1798
2094
  /** Name of the organization */
1799
- name: Scalars['String']['output'];
2095
+ name?: Maybe<Scalars['String']['output']>;
1800
2096
  /** Namespace of this organization */
1801
- namespace: Namespace;
2097
+ namespace?: Maybe<Namespace>;
1802
2098
  /** Time when this Organization was last updated */
1803
- updatedAt: Scalars['Time']['output'];
2099
+ updatedAt?: Maybe<Scalars['Time']['output']>;
2100
+ /** Abilities for the current user on this Organization */
2101
+ userAbilities?: Maybe<OrganizationUserAbilities>;
2102
+ }
2103
+
2104
+ /** The connection type for Organization. */
2105
+ export interface OrganizationConnection {
2106
+ __typename?: 'OrganizationConnection';
2107
+ /** Total count of collection. */
2108
+ count?: Maybe<Scalars['Int']['output']>;
2109
+ /** A list of edges. */
2110
+ edges?: Maybe<Array<Maybe<OrganizationEdge>>>;
2111
+ /** A list of nodes. */
2112
+ nodes?: Maybe<Array<Maybe<Organization>>>;
2113
+ /** Information to aid in pagination. */
2114
+ pageInfo?: Maybe<PageInfo>;
2115
+ }
2116
+
2117
+ /** An edge in a connection. */
2118
+ export interface OrganizationEdge {
2119
+ __typename?: 'OrganizationEdge';
2120
+ /** A cursor for use in pagination. */
2121
+ cursor?: Maybe<Scalars['String']['output']>;
2122
+ /** The item at the end of the edge. */
2123
+ node?: Maybe<Organization>;
2124
+ }
2125
+
2126
+ /** Abilities for the current user on this Organization */
2127
+ export interface OrganizationUserAbilities {
2128
+ __typename?: 'OrganizationUserAbilities';
2129
+ /** Shows if the current user has the `delete_organization` ability on this Organization */
2130
+ deleteOrganization?: Maybe<Scalars['Boolean']['output']>;
2131
+ /** Shows if the current user has the `update_organization` ability on this Organization */
2132
+ updateOrganization?: Maybe<Scalars['Boolean']['output']>;
1804
2133
  }
1805
2134
 
1806
2135
  /** Autogenerated input type of OrganizationsCreate */
@@ -1817,7 +2146,7 @@ export interface OrganizationsCreatePayload {
1817
2146
  /** A unique identifier for the client performing the mutation. */
1818
2147
  clientMutationId?: Maybe<Scalars['String']['output']>;
1819
2148
  /** Errors encountered during execution of the mutation. */
1820
- errors: Array<Error>;
2149
+ errors?: Maybe<Array<Error>>;
1821
2150
  /** The newly created organization. */
1822
2151
  organization?: Maybe<Organization>;
1823
2152
  }
@@ -1836,7 +2165,7 @@ export interface OrganizationsDeletePayload {
1836
2165
  /** A unique identifier for the client performing the mutation. */
1837
2166
  clientMutationId?: Maybe<Scalars['String']['output']>;
1838
2167
  /** Errors encountered during execution of the mutation. */
1839
- errors: Array<Error>;
2168
+ errors?: Maybe<Array<Error>>;
1840
2169
  /** The deleted organization. */
1841
2170
  organization?: Maybe<Organization>;
1842
2171
  }
@@ -1857,7 +2186,7 @@ export interface OrganizationsUpdatePayload {
1857
2186
  /** A unique identifier for the client performing the mutation. */
1858
2187
  clientMutationId?: Maybe<Scalars['String']['output']>;
1859
2188
  /** Errors encountered during execution of the mutation. */
1860
- errors: Array<Error>;
2189
+ errors?: Maybe<Array<Error>>;
1861
2190
  /** The updated organization. */
1862
2191
  organization?: Maybe<Organization>;
1863
2192
  }
@@ -1868,9 +2197,9 @@ export interface PageInfo {
1868
2197
  /** When paginating forwards, the cursor to continue. */
1869
2198
  endCursor?: Maybe<Scalars['String']['output']>;
1870
2199
  /** When paginating forwards, are there more items? */
1871
- hasNextPage: Scalars['Boolean']['output'];
2200
+ hasNextPage?: Maybe<Scalars['Boolean']['output']>;
1872
2201
  /** When paginating backwards, are there more items? */
1873
- hasPreviousPage: Scalars['Boolean']['output'];
2202
+ hasPreviousPage?: Maybe<Scalars['Boolean']['output']>;
1874
2203
  /** When paginating backwards, the cursor to continue. */
1875
2204
  startCursor?: Maybe<Scalars['String']['output']>;
1876
2205
  }
@@ -1879,19 +2208,21 @@ export interface PageInfo {
1879
2208
  export interface ParameterDefinition {
1880
2209
  __typename?: 'ParameterDefinition';
1881
2210
  /** Time when this ParameterDefinition was created */
1882
- createdAt: Scalars['Time']['output'];
2211
+ createdAt?: Maybe<Scalars['Time']['output']>;
1883
2212
  /** Data type of the parameter */
1884
- dataType?: Maybe<DataTypeIdentifier>;
2213
+ dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
1885
2214
  /** Description of the parameter */
1886
2215
  descriptions?: Maybe<TranslationConnection>;
1887
2216
  /** Documentation of the parameter */
1888
2217
  documentations?: Maybe<TranslationConnection>;
1889
2218
  /** Global ID of this ParameterDefinition */
1890
- id: Scalars['ParameterDefinitionID']['output'];
2219
+ id?: Maybe<Scalars['ParameterDefinitionID']['output']>;
2220
+ /** Identifier of the parameter */
2221
+ identifier?: Maybe<Scalars['String']['output']>;
1891
2222
  /** Name of the parameter */
1892
2223
  names?: Maybe<TranslationConnection>;
1893
2224
  /** Time when this ParameterDefinition was last updated */
1894
- updatedAt: Scalars['Time']['output'];
2225
+ updatedAt?: Maybe<Scalars['Time']['output']>;
1895
2226
  }
1896
2227
 
1897
2228
 
@@ -1925,20 +2256,20 @@ export interface ParameterDefinitionNamesArgs {
1925
2256
  export interface ParameterDefinitionConnection {
1926
2257
  __typename?: 'ParameterDefinitionConnection';
1927
2258
  /** Total count of collection. */
1928
- count: Scalars['Int']['output'];
2259
+ count?: Maybe<Scalars['Int']['output']>;
1929
2260
  /** A list of edges. */
1930
2261
  edges?: Maybe<Array<Maybe<ParameterDefinitionEdge>>>;
1931
2262
  /** A list of nodes. */
1932
2263
  nodes?: Maybe<Array<Maybe<ParameterDefinition>>>;
1933
2264
  /** Information to aid in pagination. */
1934
- pageInfo: PageInfo;
2265
+ pageInfo?: Maybe<PageInfo>;
1935
2266
  }
1936
2267
 
1937
2268
  /** An edge in a connection. */
1938
2269
  export interface ParameterDefinitionEdge {
1939
2270
  __typename?: 'ParameterDefinitionEdge';
1940
2271
  /** A cursor for use in pagination. */
1941
- cursor: Scalars['String']['output'];
2272
+ cursor?: Maybe<Scalars['String']['output']>;
1942
2273
  /** The item at the end of the edge. */
1943
2274
  node?: Maybe<ParameterDefinition>;
1944
2275
  }
@@ -1953,9 +2284,9 @@ export interface Query {
1953
2284
  /** Get the currently logged in user */
1954
2285
  currentUser?: Maybe<User>;
1955
2286
  /** Field available for use to test API access */
1956
- echo: Scalars['String']['output'];
2287
+ echo?: Maybe<Scalars['String']['output']>;
1957
2288
  /** Find runtimes */
1958
- globalRuntimes: RuntimeConnection;
2289
+ globalRuntimes?: Maybe<RuntimeConnection>;
1959
2290
  /** Find a namespace */
1960
2291
  namespace?: Maybe<Namespace>;
1961
2292
  /** Fetches an object given its ID */
@@ -1964,8 +2295,12 @@ export interface Query {
1964
2295
  nodes?: Maybe<Array<Maybe<Node>>>;
1965
2296
  /** Find a organization */
1966
2297
  organization?: Maybe<Organization>;
2298
+ /** Find organizations */
2299
+ organizations?: Maybe<OrganizationConnection>;
2300
+ /** Abilities for the current user on this Instance */
2301
+ userAbilities?: Maybe<InstanceUserAbilities>;
1967
2302
  /** Find users */
1968
- users: UserConnection;
2303
+ users?: Maybe<UserConnection>;
1969
2304
  }
1970
2305
 
1971
2306
 
@@ -2009,6 +2344,15 @@ export interface QueryOrganizationArgs {
2009
2344
  }
2010
2345
 
2011
2346
 
2347
+ /** Root Query type */
2348
+ export interface QueryOrganizationsArgs {
2349
+ after?: InputMaybe<Scalars['String']['input']>;
2350
+ before?: InputMaybe<Scalars['String']['input']>;
2351
+ first?: InputMaybe<Scalars['Int']['input']>;
2352
+ last?: InputMaybe<Scalars['Int']['input']>;
2353
+ }
2354
+
2355
+
2012
2356
  /** Root Query type */
2013
2357
  export interface QueryUsersArgs {
2014
2358
  after?: InputMaybe<Scalars['String']['input']>;
@@ -2023,13 +2367,13 @@ export interface ReferencePath {
2023
2367
  /** The array index of the referenced data by the path */
2024
2368
  arrayIndex?: Maybe<Scalars['Int']['output']>;
2025
2369
  /** Time when this ReferencePath was created */
2026
- createdAt: Scalars['Time']['output'];
2370
+ createdAt?: Maybe<Scalars['Time']['output']>;
2027
2371
  /** Global ID of this ReferencePath */
2028
- id: Scalars['ReferencePathID']['output'];
2372
+ id?: Maybe<Scalars['ReferencePathID']['output']>;
2029
2373
  /** The path to the reference in the flow */
2030
2374
  path?: Maybe<Scalars['String']['output']>;
2031
2375
  /** Time when this ReferencePath was last updated */
2032
- updatedAt: Scalars['Time']['output'];
2376
+ updatedAt?: Maybe<Scalars['Time']['output']>;
2033
2377
  }
2034
2378
 
2035
2379
  /** Input type for reference path */
@@ -2044,62 +2388,52 @@ export interface ReferencePathInput {
2044
2388
  export interface ReferenceValue {
2045
2389
  __typename?: 'ReferenceValue';
2046
2390
  /** Time when this ReferenceValue was created */
2047
- createdAt: Scalars['Time']['output'];
2048
- /** The identifier of the data type this reference value belongs to. */
2049
- dataTypeIdentifier: DataTypeIdentifier;
2391
+ createdAt?: Maybe<Scalars['Time']['output']>;
2050
2392
  /** Global ID of this ReferenceValue */
2051
- id: Scalars['ReferenceValueID']['output'];
2052
- /** The primary level of the reference value. */
2053
- primaryLevel: Scalars['Int']['output'];
2393
+ id?: Maybe<Scalars['ReferenceValueID']['output']>;
2394
+ /** The referenced value. */
2395
+ nodeFunction?: Maybe<NodeFunction>;
2054
2396
  /** The paths associated with this reference value. */
2055
- referencePath: Array<ReferencePath>;
2056
- /** The secondary level of the reference value. */
2057
- secondaryLevel: Scalars['Int']['output'];
2058
- /** The tertiary level of the reference value, if applicable. */
2059
- tertiaryLevel?: Maybe<Scalars['Int']['output']>;
2397
+ referencePath?: Maybe<Array<ReferencePath>>;
2060
2398
  /** Time when this ReferenceValue was last updated */
2061
- updatedAt: Scalars['Time']['output'];
2399
+ updatedAt?: Maybe<Scalars['Time']['output']>;
2062
2400
  }
2063
2401
 
2064
2402
  /** Input type for reference value */
2065
2403
  export interface ReferenceValueInput {
2066
- /** The identifier of the data type this reference value belongs to */
2067
- dataTypeIdentifier: DataTypeIdentifierInput;
2068
- /** The primary level of the reference value */
2069
- primaryLevel: Scalars['Int']['input'];
2404
+ /** The referenced value */
2405
+ nodeFunction: Scalars['NodeFunctionID']['input'];
2070
2406
  /** The paths associated with this reference value */
2071
2407
  referencePath: Array<ReferencePathInput>;
2072
- /** The secondary level of the reference value */
2073
- secondaryLevel: Scalars['Int']['input'];
2074
- /** The tertiary level of the reference value */
2075
- tertiaryLevel?: InputMaybe<Scalars['Int']['input']>;
2076
2408
  }
2077
2409
 
2078
2410
  /** Represents a runtime */
2079
2411
  export interface Runtime {
2080
2412
  __typename?: 'Runtime';
2081
2413
  /** Time when this Runtime was created */
2082
- createdAt: Scalars['Time']['output'];
2414
+ createdAt?: Maybe<Scalars['Time']['output']>;
2083
2415
  /** DataTypes of the runtime */
2084
- dataTypes: DataTypeConnection;
2416
+ dataTypes?: Maybe<DataTypeConnection>;
2085
2417
  /** The description for the runtime if present */
2086
- description: Scalars['String']['output'];
2418
+ description?: Maybe<Scalars['String']['output']>;
2087
2419
  /** FlowTypes of the runtime */
2088
- flowTypes: FlowTypeConnection;
2420
+ flowTypes?: Maybe<FlowTypeConnection>;
2089
2421
  /** Global ID of this Runtime */
2090
- id: Scalars['RuntimeID']['output'];
2422
+ id?: Maybe<Scalars['RuntimeID']['output']>;
2091
2423
  /** The name for the runtime */
2092
- name: Scalars['String']['output'];
2424
+ name?: Maybe<Scalars['String']['output']>;
2093
2425
  /** The parent namespace for the runtime */
2094
2426
  namespace?: Maybe<Namespace>;
2095
2427
  /** Projects associated with the runtime */
2096
- projects: NamespaceProjectConnection;
2428
+ projects?: Maybe<NamespaceProjectConnection>;
2097
2429
  /** The status of the runtime */
2098
- status: RuntimeStatusType;
2430
+ status?: Maybe<RuntimeStatusType>;
2099
2431
  /** Token belonging to the runtime, only present on creation */
2100
2432
  token?: Maybe<Scalars['String']['output']>;
2101
2433
  /** Time when this Runtime was last updated */
2102
- updatedAt: Scalars['Time']['output'];
2434
+ updatedAt?: Maybe<Scalars['Time']['output']>;
2435
+ /** Abilities for the current user on this Runtime */
2436
+ userAbilities?: Maybe<RuntimeUserAbilities>;
2103
2437
  }
2104
2438
 
2105
2439
 
@@ -2133,39 +2467,45 @@ export interface RuntimeProjectsArgs {
2133
2467
  export interface RuntimeConnection {
2134
2468
  __typename?: 'RuntimeConnection';
2135
2469
  /** Total count of collection. */
2136
- count: Scalars['Int']['output'];
2470
+ count?: Maybe<Scalars['Int']['output']>;
2137
2471
  /** A list of edges. */
2138
2472
  edges?: Maybe<Array<Maybe<RuntimeEdge>>>;
2139
2473
  /** A list of nodes. */
2140
2474
  nodes?: Maybe<Array<Maybe<Runtime>>>;
2141
2475
  /** Information to aid in pagination. */
2142
- pageInfo: PageInfo;
2476
+ pageInfo?: Maybe<PageInfo>;
2143
2477
  }
2144
2478
 
2145
2479
  /** An edge in a connection. */
2146
2480
  export interface RuntimeEdge {
2147
2481
  __typename?: 'RuntimeEdge';
2148
2482
  /** A cursor for use in pagination. */
2149
- cursor: Scalars['String']['output'];
2483
+ cursor?: Maybe<Scalars['String']['output']>;
2150
2484
  /** The item at the end of the edge. */
2151
2485
  node?: Maybe<Runtime>;
2152
2486
  }
2153
2487
 
2154
- /** Represents a Node Function definition */
2488
+ /** Represents a runtime function definition */
2155
2489
  export interface RuntimeFunctionDefinition {
2156
2490
  __typename?: 'RuntimeFunctionDefinition';
2157
2491
  /** Time when this RuntimeFunctionDefinition was created */
2158
- createdAt: Scalars['Time']['output'];
2159
- /** Function definitions of the Node Function */
2492
+ createdAt?: Maybe<Scalars['Time']['output']>;
2493
+ /** Function definitions of the runtime function definition */
2160
2494
  functionDefinitions?: Maybe<FunctionDefinitionConnection>;
2161
2495
  /** Global ID of this RuntimeFunctionDefinition */
2162
- id: Scalars['RuntimeParameterDefinitionID']['output'];
2496
+ id?: Maybe<Scalars['RuntimeFunctionDefinitionID']['output']>;
2497
+ /** Identifier of the runtime function definition */
2498
+ identifier?: Maybe<Scalars['String']['output']>;
2499
+ /** The runtime this runtime function definition belongs to */
2500
+ runtime?: Maybe<Runtime>;
2501
+ /** Parameter definitions of the runtime function definition */
2502
+ runtimeParameterDefinitions?: Maybe<RuntimeParameterDefinitionConnection>;
2163
2503
  /** Time when this RuntimeFunctionDefinition was last updated */
2164
- updatedAt: Scalars['Time']['output'];
2504
+ updatedAt?: Maybe<Scalars['Time']['output']>;
2165
2505
  }
2166
2506
 
2167
2507
 
2168
- /** Represents a Node Function definition */
2508
+ /** Represents a runtime function definition */
2169
2509
  export interface RuntimeFunctionDefinitionFunctionDefinitionsArgs {
2170
2510
  after?: InputMaybe<Scalars['String']['input']>;
2171
2511
  before?: InputMaybe<Scalars['String']['input']>;
@@ -2173,25 +2513,67 @@ export interface RuntimeFunctionDefinitionFunctionDefinitionsArgs {
2173
2513
  last?: InputMaybe<Scalars['Int']['input']>;
2174
2514
  }
2175
2515
 
2176
- /** Represents a Node parameter definition */
2516
+
2517
+ /** Represents a runtime function definition */
2518
+ export interface RuntimeFunctionDefinitionRuntimeParameterDefinitionsArgs {
2519
+ after?: InputMaybe<Scalars['String']['input']>;
2520
+ before?: InputMaybe<Scalars['String']['input']>;
2521
+ first?: InputMaybe<Scalars['Int']['input']>;
2522
+ last?: InputMaybe<Scalars['Int']['input']>;
2523
+ }
2524
+
2525
+ /** Represents a runtime parameter definition */
2177
2526
  export interface RuntimeParameterDefinition {
2178
2527
  __typename?: 'RuntimeParameterDefinition';
2179
2528
  /** Time when this RuntimeParameterDefinition was created */
2180
- createdAt: Scalars['Time']['output'];
2529
+ createdAt?: Maybe<Scalars['Time']['output']>;
2181
2530
  /** Global ID of this RuntimeParameterDefinition */
2182
- id: Scalars['RuntimeParameterDefinitionID']['output'];
2531
+ id?: Maybe<Scalars['RuntimeParameterDefinitionID']['output']>;
2183
2532
  /** Time when this RuntimeParameterDefinition was last updated */
2184
- updatedAt: Scalars['Time']['output'];
2533
+ updatedAt?: Maybe<Scalars['Time']['output']>;
2534
+ }
2535
+
2536
+ /** The connection type for RuntimeParameterDefinition. */
2537
+ export interface RuntimeParameterDefinitionConnection {
2538
+ __typename?: 'RuntimeParameterDefinitionConnection';
2539
+ /** Total count of collection. */
2540
+ count?: Maybe<Scalars['Int']['output']>;
2541
+ /** A list of edges. */
2542
+ edges?: Maybe<Array<Maybe<RuntimeParameterDefinitionEdge>>>;
2543
+ /** A list of nodes. */
2544
+ nodes?: Maybe<Array<Maybe<RuntimeParameterDefinition>>>;
2545
+ /** Information to aid in pagination. */
2546
+ pageInfo?: Maybe<PageInfo>;
2547
+ }
2548
+
2549
+ /** An edge in a connection. */
2550
+ export interface RuntimeParameterDefinitionEdge {
2551
+ __typename?: 'RuntimeParameterDefinitionEdge';
2552
+ /** A cursor for use in pagination. */
2553
+ cursor?: Maybe<Scalars['String']['output']>;
2554
+ /** The item at the end of the edge. */
2555
+ node?: Maybe<RuntimeParameterDefinition>;
2185
2556
  }
2186
2557
 
2187
2558
  /** Represent all available types of statuses of a runtime */
2188
- export enum RuntimeStatusType {
2559
+ export const enum RuntimeStatusType {
2189
2560
  /** No problem with connection, everything works as expected */
2190
2561
  Connected = 'CONNECTED',
2191
2562
  /** The runtime is disconnected, cause unknown */
2192
2563
  Disconnected = 'DISCONNECTED'
2193
2564
  }
2194
2565
 
2566
+ /** Abilities for the current user on this Runtime */
2567
+ export interface RuntimeUserAbilities {
2568
+ __typename?: 'RuntimeUserAbilities';
2569
+ /** Shows if the current user has the `delete_runtime` ability on this Runtime */
2570
+ deleteRuntime?: Maybe<Scalars['Boolean']['output']>;
2571
+ /** Shows if the current user has the `rotate_runtime_token` ability on this Runtime */
2572
+ rotateRuntimeToken?: Maybe<Scalars['Boolean']['output']>;
2573
+ /** Shows if the current user has the `update_runtime` ability on this Runtime */
2574
+ updateRuntime?: Maybe<Scalars['Boolean']['output']>;
2575
+ }
2576
+
2195
2577
  /** Autogenerated input type of RuntimesCreate */
2196
2578
  export interface RuntimesCreateInput {
2197
2579
  /** A unique identifier for the client performing the mutation. */
@@ -2210,7 +2592,7 @@ export interface RuntimesCreatePayload {
2210
2592
  /** A unique identifier for the client performing the mutation. */
2211
2593
  clientMutationId?: Maybe<Scalars['String']['output']>;
2212
2594
  /** Errors encountered during execution of the mutation. */
2213
- errors: Array<Error>;
2595
+ errors?: Maybe<Array<Error>>;
2214
2596
  /** The newly created runtime. */
2215
2597
  runtime?: Maybe<Runtime>;
2216
2598
  }
@@ -2229,7 +2611,7 @@ export interface RuntimesDeletePayload {
2229
2611
  /** A unique identifier for the client performing the mutation. */
2230
2612
  clientMutationId?: Maybe<Scalars['String']['output']>;
2231
2613
  /** Errors encountered during execution of the mutation. */
2232
- errors: Array<Error>;
2614
+ errors?: Maybe<Array<Error>>;
2233
2615
  /** The updated organization. */
2234
2616
  runtime?: Maybe<Runtime>;
2235
2617
  }
@@ -2248,7 +2630,7 @@ export interface RuntimesRotateTokenPayload {
2248
2630
  /** A unique identifier for the client performing the mutation. */
2249
2631
  clientMutationId?: Maybe<Scalars['String']['output']>;
2250
2632
  /** Errors encountered during execution of the mutation. */
2251
- errors: Array<Error>;
2633
+ errors?: Maybe<Array<Error>>;
2252
2634
  /** The updated runtime. */
2253
2635
  runtime?: Maybe<Runtime>;
2254
2636
  }
@@ -2271,7 +2653,7 @@ export interface RuntimesUpdatePayload {
2271
2653
  /** A unique identifier for the client performing the mutation. */
2272
2654
  clientMutationId?: Maybe<Scalars['String']['output']>;
2273
2655
  /** Errors encountered during execution of the mutation. */
2274
- errors: Array<Error>;
2656
+ errors?: Maybe<Array<Error>>;
2275
2657
  /** The updated runtime. */
2276
2658
  runtime?: Maybe<Runtime>;
2277
2659
  }
@@ -2280,29 +2662,29 @@ export interface RuntimesUpdatePayload {
2280
2662
  export interface Translation {
2281
2663
  __typename?: 'Translation';
2282
2664
  /** Code of the translation */
2283
- code: Scalars['String']['output'];
2665
+ code?: Maybe<Scalars['String']['output']>;
2284
2666
  /** Content of the translation */
2285
- content: Scalars['String']['output'];
2667
+ content?: Maybe<Scalars['String']['output']>;
2286
2668
  }
2287
2669
 
2288
2670
  /** The connection type for Translation. */
2289
2671
  export interface TranslationConnection {
2290
2672
  __typename?: 'TranslationConnection';
2291
2673
  /** Total count of collection. */
2292
- count: Scalars['Int']['output'];
2674
+ count?: Maybe<Scalars['Int']['output']>;
2293
2675
  /** A list of edges. */
2294
2676
  edges?: Maybe<Array<Maybe<TranslationEdge>>>;
2295
2677
  /** A list of nodes. */
2296
2678
  nodes?: Maybe<Array<Maybe<Translation>>>;
2297
2679
  /** Information to aid in pagination. */
2298
- pageInfo: PageInfo;
2680
+ pageInfo?: Maybe<PageInfo>;
2299
2681
  }
2300
2682
 
2301
2683
  /** An edge in a connection. */
2302
2684
  export interface TranslationEdge {
2303
2685
  __typename?: 'TranslationEdge';
2304
2686
  /** A cursor for use in pagination. */
2305
- cursor: Scalars['String']['output'];
2687
+ cursor?: Maybe<Scalars['String']['output']>;
2306
2688
  /** The item at the end of the edge. */
2307
2689
  node?: Maybe<Translation>;
2308
2690
  }
@@ -2311,27 +2693,44 @@ export interface TranslationEdge {
2311
2693
  export interface User {
2312
2694
  __typename?: 'User';
2313
2695
  /** Global admin status of the user */
2314
- admin: Scalars['Boolean']['output'];
2696
+ admin?: Maybe<Scalars['Boolean']['output']>;
2315
2697
  /** The avatar if present of the user */
2316
2698
  avatarPath?: Maybe<Scalars['String']['output']>;
2317
2699
  /** Time when this User was created */
2318
- createdAt: Scalars['Time']['output'];
2700
+ createdAt?: Maybe<Scalars['Time']['output']>;
2319
2701
  /** Email of the user */
2320
- email: Scalars['String']['output'];
2702
+ email?: Maybe<Scalars['String']['output']>;
2703
+ /** Email verification date of the user if present */
2704
+ emailVerifiedAt?: Maybe<Scalars['Time']['output']>;
2321
2705
  /** Firstname of the user */
2322
- firstname: Scalars['String']['output'];
2706
+ firstname?: Maybe<Scalars['String']['output']>;
2323
2707
  /** Global ID of this User */
2324
- id: Scalars['UserID']['output'];
2708
+ id?: Maybe<Scalars['UserID']['output']>;
2709
+ /** Identities of this user */
2710
+ identities?: Maybe<UserIdentityConnection>;
2325
2711
  /** Lastname of the user */
2326
- lastname: Scalars['String']['output'];
2712
+ lastname?: Maybe<Scalars['String']['output']>;
2327
2713
  /** Namespace of this user */
2328
2714
  namespace?: Maybe<Namespace>;
2329
2715
  /** Namespace Memberships of this user */
2330
- namespaceMemberships: NamespaceMemberConnection;
2716
+ namespaceMemberships?: Maybe<NamespaceMemberConnection>;
2717
+ /** Sessions of this user */
2718
+ sessions?: Maybe<UserSessionConnection>;
2331
2719
  /** Time when this User was last updated */
2332
- updatedAt: Scalars['Time']['output'];
2720
+ updatedAt?: Maybe<Scalars['Time']['output']>;
2721
+ /** Abilities for the current user on this User */
2722
+ userAbilities?: Maybe<UserUserAbilities>;
2333
2723
  /** Username of the user */
2334
- username: Scalars['String']['output'];
2724
+ username?: Maybe<Scalars['String']['output']>;
2725
+ }
2726
+
2727
+
2728
+ /** Represents a user */
2729
+ export interface UserIdentitiesArgs {
2730
+ after?: InputMaybe<Scalars['String']['input']>;
2731
+ before?: InputMaybe<Scalars['String']['input']>;
2732
+ first?: InputMaybe<Scalars['Int']['input']>;
2733
+ last?: InputMaybe<Scalars['Int']['input']>;
2335
2734
  }
2336
2735
 
2337
2736
 
@@ -2343,24 +2742,33 @@ export interface UserNamespaceMembershipsArgs {
2343
2742
  last?: InputMaybe<Scalars['Int']['input']>;
2344
2743
  }
2345
2744
 
2745
+
2746
+ /** Represents a user */
2747
+ export interface UserSessionsArgs {
2748
+ after?: InputMaybe<Scalars['String']['input']>;
2749
+ before?: InputMaybe<Scalars['String']['input']>;
2750
+ first?: InputMaybe<Scalars['Int']['input']>;
2751
+ last?: InputMaybe<Scalars['Int']['input']>;
2752
+ }
2753
+
2346
2754
  /** The connection type for User. */
2347
2755
  export interface UserConnection {
2348
2756
  __typename?: 'UserConnection';
2349
2757
  /** Total count of collection. */
2350
- count: Scalars['Int']['output'];
2758
+ count?: Maybe<Scalars['Int']['output']>;
2351
2759
  /** A list of edges. */
2352
2760
  edges?: Maybe<Array<Maybe<UserEdge>>>;
2353
2761
  /** A list of nodes. */
2354
2762
  nodes?: Maybe<Array<Maybe<User>>>;
2355
2763
  /** Information to aid in pagination. */
2356
- pageInfo: PageInfo;
2764
+ pageInfo?: Maybe<PageInfo>;
2357
2765
  }
2358
2766
 
2359
2767
  /** An edge in a connection. */
2360
2768
  export interface UserEdge {
2361
2769
  __typename?: 'UserEdge';
2362
2770
  /** A cursor for use in pagination. */
2363
- cursor: Scalars['String']['output'];
2771
+ cursor?: Maybe<Scalars['String']['output']>;
2364
2772
  /** The item at the end of the edge. */
2365
2773
  node?: Maybe<User>;
2366
2774
  }
@@ -2369,34 +2777,115 @@ export interface UserEdge {
2369
2777
  export interface UserIdentity {
2370
2778
  __typename?: 'UserIdentity';
2371
2779
  /** Time when this UserIdentity was created */
2372
- createdAt: Scalars['Time']['output'];
2780
+ createdAt?: Maybe<Scalars['Time']['output']>;
2373
2781
  /** Global ID of this UserIdentity */
2374
- id: Scalars['UserIdentityID']['output'];
2782
+ id?: Maybe<Scalars['UserIdentityID']['output']>;
2375
2783
  /** The description for the runtime if present */
2376
- identifier: Scalars['String']['output'];
2784
+ identifier?: Maybe<Scalars['String']['output']>;
2377
2785
  /** The name for the runtime */
2378
- providerId: Scalars['String']['output'];
2786
+ providerId?: Maybe<Scalars['String']['output']>;
2379
2787
  /** Time when this UserIdentity was last updated */
2380
- updatedAt: Scalars['Time']['output'];
2788
+ updatedAt?: Maybe<Scalars['Time']['output']>;
2381
2789
  /** The correlating user of the identity */
2382
- user: User;
2790
+ user?: Maybe<User>;
2791
+ }
2792
+
2793
+ /** The connection type for UserIdentity. */
2794
+ export interface UserIdentityConnection {
2795
+ __typename?: 'UserIdentityConnection';
2796
+ /** Total count of collection. */
2797
+ count?: Maybe<Scalars['Int']['output']>;
2798
+ /** A list of edges. */
2799
+ edges?: Maybe<Array<Maybe<UserIdentityEdge>>>;
2800
+ /** A list of nodes. */
2801
+ nodes?: Maybe<Array<Maybe<UserIdentity>>>;
2802
+ /** Information to aid in pagination. */
2803
+ pageInfo?: Maybe<PageInfo>;
2804
+ }
2805
+
2806
+ /** An edge in a connection. */
2807
+ export interface UserIdentityEdge {
2808
+ __typename?: 'UserIdentityEdge';
2809
+ /** A cursor for use in pagination. */
2810
+ cursor?: Maybe<Scalars['String']['output']>;
2811
+ /** The item at the end of the edge. */
2812
+ node?: Maybe<UserIdentity>;
2383
2813
  }
2384
2814
 
2385
2815
  /** Represents a user session */
2386
2816
  export interface UserSession {
2387
2817
  __typename?: 'UserSession';
2388
2818
  /** Whether or not the session is active and can be used */
2389
- active: Scalars['Boolean']['output'];
2819
+ active?: Maybe<Scalars['Boolean']['output']>;
2390
2820
  /** Time when this UserSession was created */
2391
- createdAt: Scalars['Time']['output'];
2821
+ createdAt?: Maybe<Scalars['Time']['output']>;
2392
2822
  /** Global ID of this UserSession */
2393
- id: Scalars['UserSessionID']['output'];
2823
+ id?: Maybe<Scalars['UserSessionID']['output']>;
2394
2824
  /** Token belonging to the session, only present on creation */
2395
2825
  token?: Maybe<Scalars['String']['output']>;
2396
2826
  /** Time when this UserSession was last updated */
2397
- updatedAt: Scalars['Time']['output'];
2827
+ updatedAt?: Maybe<Scalars['Time']['output']>;
2398
2828
  /** User that belongs to the session */
2399
- user: User;
2829
+ user?: Maybe<User>;
2830
+ /** Abilities for the current user on this UserSession */
2831
+ userAbilities?: Maybe<UserSessionUserAbilities>;
2832
+ }
2833
+
2834
+ /** The connection type for UserSession. */
2835
+ export interface UserSessionConnection {
2836
+ __typename?: 'UserSessionConnection';
2837
+ /** Total count of collection. */
2838
+ count?: Maybe<Scalars['Int']['output']>;
2839
+ /** A list of edges. */
2840
+ edges?: Maybe<Array<Maybe<UserSessionEdge>>>;
2841
+ /** A list of nodes. */
2842
+ nodes?: Maybe<Array<Maybe<UserSession>>>;
2843
+ /** Information to aid in pagination. */
2844
+ pageInfo?: Maybe<PageInfo>;
2845
+ }
2846
+
2847
+ /** An edge in a connection. */
2848
+ export interface UserSessionEdge {
2849
+ __typename?: 'UserSessionEdge';
2850
+ /** A cursor for use in pagination. */
2851
+ cursor?: Maybe<Scalars['String']['output']>;
2852
+ /** The item at the end of the edge. */
2853
+ node?: Maybe<UserSession>;
2854
+ }
2855
+
2856
+ /** Abilities for the current user on this UserSession */
2857
+ export interface UserSessionUserAbilities {
2858
+ __typename?: 'UserSessionUserAbilities';
2859
+ /** Shows if the current user has the `logout_session` ability on this UserSession */
2860
+ logoutSession?: Maybe<Scalars['Boolean']['output']>;
2861
+ }
2862
+
2863
+ /** Abilities for the current user on this User */
2864
+ export interface UserUserAbilities {
2865
+ __typename?: 'UserUserAbilities';
2866
+ /** Shows if the current user has the `manage_mfa` ability on this User */
2867
+ manageMfa?: Maybe<Scalars['Boolean']['output']>;
2868
+ /** Shows if the current user has the `update_user` ability on this User */
2869
+ updateUser?: Maybe<Scalars['Boolean']['output']>;
2870
+ }
2871
+
2872
+ /** Autogenerated input type of UsersEmailVerification */
2873
+ export interface UsersEmailVerificationInput {
2874
+ /** A unique identifier for the client performing the mutation. */
2875
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
2876
+ /** The email verification token */
2877
+ token: Scalars['String']['input'];
2878
+ }
2879
+
2880
+ /** Autogenerated return type of UsersEmailVerification. */
2881
+ export interface UsersEmailVerificationPayload {
2882
+ __typename?: 'UsersEmailVerificationPayload';
2883
+ /** A unique identifier for the client performing the mutation. */
2884
+ clientMutationId?: Maybe<Scalars['String']['output']>;
2885
+ /** Errors encountered during execution of the mutation. */
2886
+ errors?: Maybe<Array<Error>>;
2887
+ /** The user whose email was verified */
2888
+ user?: Maybe<User>;
2400
2889
  }
2401
2890
 
2402
2891
  /** Autogenerated input type of UsersIdentityLink */
@@ -2415,7 +2904,7 @@ export interface UsersIdentityLinkPayload {
2415
2904
  /** A unique identifier for the client performing the mutation. */
2416
2905
  clientMutationId?: Maybe<Scalars['String']['output']>;
2417
2906
  /** Errors encountered during execution of the mutation. */
2418
- errors: Array<Error>;
2907
+ errors?: Maybe<Array<Error>>;
2419
2908
  /** The created user identity */
2420
2909
  userIdentity?: Maybe<UserIdentity>;
2421
2910
  }
@@ -2436,7 +2925,7 @@ export interface UsersIdentityLoginPayload {
2436
2925
  /** A unique identifier for the client performing the mutation. */
2437
2926
  clientMutationId?: Maybe<Scalars['String']['output']>;
2438
2927
  /** Errors encountered during execution of the mutation. */
2439
- errors: Array<Error>;
2928
+ errors?: Maybe<Array<Error>>;
2440
2929
  /** The created user session */
2441
2930
  userSession?: Maybe<UserSession>;
2442
2931
  }
@@ -2457,7 +2946,7 @@ export interface UsersIdentityRegisterPayload {
2457
2946
  /** A unique identifier for the client performing the mutation. */
2458
2947
  clientMutationId?: Maybe<Scalars['String']['output']>;
2459
2948
  /** Errors encountered during execution of the mutation. */
2460
- errors: Array<Error>;
2949
+ errors?: Maybe<Array<Error>>;
2461
2950
  /** The created users session */
2462
2951
  userSession?: Maybe<UserSession>;
2463
2952
  }
@@ -2476,7 +2965,7 @@ export interface UsersIdentityUnlinkPayload {
2476
2965
  /** A unique identifier for the client performing the mutation. */
2477
2966
  clientMutationId?: Maybe<Scalars['String']['output']>;
2478
2967
  /** Errors encountered during execution of the mutation. */
2479
- errors: Array<Error>;
2968
+ errors?: Maybe<Array<Error>>;
2480
2969
  /** The removed identity */
2481
2970
  userIdentity?: Maybe<UserIdentity>;
2482
2971
  }
@@ -2501,7 +2990,7 @@ export interface UsersLoginPayload {
2501
2990
  /** A unique identifier for the client performing the mutation. */
2502
2991
  clientMutationId?: Maybe<Scalars['String']['output']>;
2503
2992
  /** Errors encountered during execution of the mutation. */
2504
- errors: Array<Error>;
2993
+ errors?: Maybe<Array<Error>>;
2505
2994
  /** The created user session */
2506
2995
  userSession?: Maybe<UserSession>;
2507
2996
  }
@@ -2520,7 +3009,7 @@ export interface UsersLogoutPayload {
2520
3009
  /** A unique identifier for the client performing the mutation. */
2521
3010
  clientMutationId?: Maybe<Scalars['String']['output']>;
2522
3011
  /** Errors encountered during execution of the mutation. */
2523
- errors: Array<Error>;
3012
+ errors?: Maybe<Array<Error>>;
2524
3013
  /** The logged out user session */
2525
3014
  userSession?: Maybe<UserSession>;
2526
3015
  }
@@ -2539,7 +3028,7 @@ export interface UsersMfaBackupCodesRotatePayload {
2539
3028
  /** The newly rotated backup codes. */
2540
3029
  codes?: Maybe<Array<Scalars['String']['output']>>;
2541
3030
  /** Errors encountered during execution of the mutation. */
2542
- errors: Array<Error>;
3031
+ errors?: Maybe<Array<Error>>;
2543
3032
  }
2544
3033
 
2545
3034
  /** Autogenerated input type of UsersMfaTotpGenerateSecret */
@@ -2554,7 +3043,7 @@ export interface UsersMfaTotpGenerateSecretPayload {
2554
3043
  /** A unique identifier for the client performing the mutation. */
2555
3044
  clientMutationId?: Maybe<Scalars['String']['output']>;
2556
3045
  /** Errors encountered during execution of the mutation. */
2557
- errors: Array<Error>;
3046
+ errors?: Maybe<Array<Error>>;
2558
3047
  /** The created and signed secret */
2559
3048
  secret?: Maybe<Scalars['String']['output']>;
2560
3049
  }
@@ -2578,11 +3067,53 @@ export interface UsersMfaTotpValidateSecretPayload {
2578
3067
  /** A unique identifier for the client performing the mutation. */
2579
3068
  clientMutationId?: Maybe<Scalars['String']['output']>;
2580
3069
  /** Errors encountered during execution of the mutation. */
2581
- errors: Array<Error>;
3070
+ errors?: Maybe<Array<Error>>;
2582
3071
  /** The modified user */
2583
3072
  user?: Maybe<User>;
2584
3073
  }
2585
3074
 
3075
+ /** Autogenerated input type of UsersPasswordReset */
3076
+ export interface UsersPasswordResetInput {
3077
+ /** A unique identifier for the client performing the mutation. */
3078
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3079
+ /** The new password to set for the user */
3080
+ newPassword: Scalars['String']['input'];
3081
+ /** The confirmation of the new password to set for the user needs to be the same as the new password */
3082
+ newPasswordConfirmation: Scalars['String']['input'];
3083
+ /** The password reset token sent to the user email */
3084
+ resetToken: Scalars['String']['input'];
3085
+ }
3086
+
3087
+ /** Autogenerated return type of UsersPasswordReset. */
3088
+ export interface UsersPasswordResetPayload {
3089
+ __typename?: 'UsersPasswordResetPayload';
3090
+ /** A unique identifier for the client performing the mutation. */
3091
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3092
+ /** Errors encountered during execution of the mutation. */
3093
+ errors?: Maybe<Array<Error>>;
3094
+ /** A message indicating the result of the password reset request */
3095
+ message?: Maybe<Scalars['String']['output']>;
3096
+ }
3097
+
3098
+ /** Autogenerated input type of UsersPasswordResetRequest */
3099
+ export interface UsersPasswordResetRequestInput {
3100
+ /** A unique identifier for the client performing the mutation. */
3101
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3102
+ /** Email of the user to reset the password */
3103
+ email: Scalars['String']['input'];
3104
+ }
3105
+
3106
+ /** Autogenerated return type of UsersPasswordResetRequest. */
3107
+ export interface UsersPasswordResetRequestPayload {
3108
+ __typename?: 'UsersPasswordResetRequestPayload';
3109
+ /** A unique identifier for the client performing the mutation. */
3110
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3111
+ /** Errors encountered during execution of the mutation. */
3112
+ errors?: Maybe<Array<Error>>;
3113
+ /** A message indicating the result of the password reset request */
3114
+ message?: Maybe<Scalars['String']['output']>;
3115
+ }
3116
+
2586
3117
  /** Autogenerated input type of UsersRegister */
2587
3118
  export interface UsersRegisterInput {
2588
3119
  /** A unique identifier for the client performing the mutation. */
@@ -2603,7 +3134,7 @@ export interface UsersRegisterPayload {
2603
3134
  /** A unique identifier for the client performing the mutation. */
2604
3135
  clientMutationId?: Maybe<Scalars['String']['output']>;
2605
3136
  /** Errors encountered during execution of the mutation. */
2606
- errors: Array<Error>;
3137
+ errors?: Maybe<Array<Error>>;
2607
3138
  /** The created users session */
2608
3139
  userSession?: Maybe<UserSession>;
2609
3140
  }
@@ -2638,7 +3169,7 @@ export interface UsersUpdatePayload {
2638
3169
  /** A unique identifier for the client performing the mutation. */
2639
3170
  clientMutationId?: Maybe<Scalars['String']['output']>;
2640
3171
  /** Errors encountered during execution of the mutation. */
2641
- errors: Array<Error>;
3172
+ errors?: Maybe<Array<Error>>;
2642
3173
  /** The updated user. */
2643
3174
  user?: Maybe<User>;
2644
3175
  }