@axinom/mosaic-id-link-be 0.13.4-rc.3 → 0.13.4-rc.30

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.
@@ -18,1621 +18,749 @@ export type Scalars = {
18
18
  Boolean: boolean;
19
19
  Int: number;
20
20
  Float: number;
21
- /** A universally unique identifier as defined by [RFC 4122](https://tools.ietf.org/html/rfc4122). */
22
- UUID: any;
21
+ /** A location in a connection that can be used for resuming pagination. */
22
+ Cursor: any;
23
23
  /**
24
24
  * A point in time as described by the [ISO
25
25
  * 8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone.
26
26
  */
27
27
  Datetime: any;
28
- /** A location in a connection that can be used for resuming pagination. */
29
- Cursor: any;
30
28
  /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
31
29
  JSON: {
32
30
  [key: string]: any;
33
31
  };
34
- };
35
- /** The root query type which gives access points into the data universe. */
36
- export type Query = {
37
- __typename?: 'Query';
38
- /** Reads and enables pagination through a set of `ActivePermission`. */
39
- activePermissions?: Maybe<ActivePermissionsConnection>;
40
- getUserRoleTagValues?: Maybe<GetUserRoleTagValuesConnection>;
41
- permission?: Maybe<Permission>;
42
- /** Reads and enables pagination through a set of `Permission`. */
43
- permissions?: Maybe<PermissionsConnection>;
44
- /**
45
- * Exposes the root query type nested one level down. This is helpful for Relay 1
46
- * which can only query top level fields if they are in a particular form.
47
- */
48
- query: Query;
49
- user?: Maybe<User>;
50
- userRole?: Maybe<UserRole>;
51
- /** Reads and enables pagination through a set of `UserRoleInheritedPermission`. */
52
- userRoleAllPermissionAssignments?: Maybe<UserRoleInheritedPermissionsConnection>;
53
- userRoleAssignment?: Maybe<UserRoleAssignment>;
54
- /** Reads and enables pagination through a set of `UserRoleAssignment`. */
55
- userRoleAssignments?: Maybe<UserRoleAssignmentsConnection>;
56
- userRoleParentAssignment?: Maybe<UserRoleParentAssignment>;
57
- /** Reads and enables pagination through a set of `UserRoleParentAssignment`. */
58
- userRoleParentAssignments?: Maybe<UserRoleParentAssignmentsConnection>;
59
- userRolePermissionAssignment?: Maybe<UserRolePermissionAssignment>;
60
- /** Reads and enables pagination through a set of `UserRolePermissionAssignment`. */
61
- userRolePermissionAssignments?: Maybe<UserRolePermissionAssignmentsConnection>;
62
- userRoleTagAssignment?: Maybe<UserRoleTagAssignment>;
63
- /** Reads and enables pagination through a set of `UserRoleTagAssignment`. */
64
- userRoleTagAssignments?: Maybe<UserRoleTagAssignmentsConnection>;
65
- /** Reads and enables pagination through a set of `UserRole`. */
66
- userRoles?: Maybe<UserRolesConnection>;
67
- /** Reads and enables pagination through a set of `User`. */
68
- users?: Maybe<UsersConnection>;
69
- /** Reads and enables pagination through a set of `User`. */
70
- usersWithUserRoleFilter?: Maybe<UsersConnection>;
71
- };
72
- /** The root query type which gives access points into the data universe. */
73
- export type QueryActivePermissionsArgs = {
74
- first?: Maybe<Scalars['Int']>;
75
- last?: Maybe<Scalars['Int']>;
76
- offset?: Maybe<Scalars['Int']>;
77
- before?: Maybe<Scalars['Cursor']>;
78
- after?: Maybe<Scalars['Cursor']>;
79
- orderBy?: Maybe<Array<ActivePermissionsOrderBy>>;
80
- condition?: Maybe<ActivePermissionCondition>;
81
- filter?: Maybe<ActivePermissionFilter>;
82
- };
83
- /** The root query type which gives access points into the data universe. */
84
- export type QueryGetUserRoleTagValuesArgs = {
85
- searchText?: Maybe<Scalars['String']>;
86
- exclusionList?: Maybe<Array<Maybe<Scalars['String']>>>;
87
- first?: Maybe<Scalars['Int']>;
88
- last?: Maybe<Scalars['Int']>;
89
- offset?: Maybe<Scalars['Int']>;
90
- before?: Maybe<Scalars['Cursor']>;
91
- after?: Maybe<Scalars['Cursor']>;
92
- filter?: Maybe<StringFilter>;
93
- };
94
- /** The root query type which gives access points into the data universe. */
95
- export type QueryPermissionArgs = {
96
- id: Scalars['UUID'];
97
- };
98
- /** The root query type which gives access points into the data universe. */
99
- export type QueryPermissionsArgs = {
100
- first?: Maybe<Scalars['Int']>;
101
- last?: Maybe<Scalars['Int']>;
102
- offset?: Maybe<Scalars['Int']>;
103
- before?: Maybe<Scalars['Cursor']>;
104
- after?: Maybe<Scalars['Cursor']>;
105
- orderBy?: Maybe<Array<PermissionsOrderBy>>;
106
- condition?: Maybe<PermissionCondition>;
107
- filter?: Maybe<PermissionFilter>;
108
- };
109
- /** The root query type which gives access points into the data universe. */
110
- export type QueryUserArgs = {
111
- id: Scalars['UUID'];
112
- };
113
- /** The root query type which gives access points into the data universe. */
114
- export type QueryUserRoleArgs = {
115
- id: Scalars['UUID'];
116
- };
117
- /** The root query type which gives access points into the data universe. */
118
- export type QueryUserRoleAllPermissionAssignmentsArgs = {
119
- userRoleId?: Maybe<Scalars['UUID']>;
120
- first?: Maybe<Scalars['Int']>;
121
- last?: Maybe<Scalars['Int']>;
122
- offset?: Maybe<Scalars['Int']>;
123
- before?: Maybe<Scalars['Cursor']>;
124
- after?: Maybe<Scalars['Cursor']>;
125
- filter?: Maybe<UserRoleInheritedPermissionFilter>;
126
- };
127
- /** The root query type which gives access points into the data universe. */
128
- export type QueryUserRoleAssignmentArgs = {
129
- id: Scalars['UUID'];
130
- };
131
- /** The root query type which gives access points into the data universe. */
132
- export type QueryUserRoleAssignmentsArgs = {
133
- first?: Maybe<Scalars['Int']>;
134
- last?: Maybe<Scalars['Int']>;
135
- offset?: Maybe<Scalars['Int']>;
136
- before?: Maybe<Scalars['Cursor']>;
137
- after?: Maybe<Scalars['Cursor']>;
138
- orderBy?: Maybe<Array<UserRoleAssignmentsOrderBy>>;
139
- condition?: Maybe<UserRoleAssignmentCondition>;
140
- filter?: Maybe<UserRoleAssignmentFilter>;
141
- };
142
- /** The root query type which gives access points into the data universe. */
143
- export type QueryUserRoleParentAssignmentArgs = {
144
- id: Scalars['UUID'];
145
- };
146
- /** The root query type which gives access points into the data universe. */
147
- export type QueryUserRoleParentAssignmentsArgs = {
148
- first?: Maybe<Scalars['Int']>;
149
- last?: Maybe<Scalars['Int']>;
150
- offset?: Maybe<Scalars['Int']>;
151
- before?: Maybe<Scalars['Cursor']>;
152
- after?: Maybe<Scalars['Cursor']>;
153
- orderBy?: Maybe<Array<UserRoleParentAssignmentsOrderBy>>;
154
- condition?: Maybe<UserRoleParentAssignmentCondition>;
155
- filter?: Maybe<UserRoleParentAssignmentFilter>;
156
- };
157
- /** The root query type which gives access points into the data universe. */
158
- export type QueryUserRolePermissionAssignmentArgs = {
159
- id: Scalars['UUID'];
160
- };
161
- /** The root query type which gives access points into the data universe. */
162
- export type QueryUserRolePermissionAssignmentsArgs = {
163
- first?: Maybe<Scalars['Int']>;
164
- last?: Maybe<Scalars['Int']>;
165
- offset?: Maybe<Scalars['Int']>;
166
- before?: Maybe<Scalars['Cursor']>;
167
- after?: Maybe<Scalars['Cursor']>;
168
- orderBy?: Maybe<Array<UserRolePermissionAssignmentsOrderBy>>;
169
- condition?: Maybe<UserRolePermissionAssignmentCondition>;
170
- filter?: Maybe<UserRolePermissionAssignmentFilter>;
171
- };
172
- /** The root query type which gives access points into the data universe. */
173
- export type QueryUserRoleTagAssignmentArgs = {
174
- tenantId: Scalars['UUID'];
175
- environmentId: Scalars['UUID'];
176
- userRoleId: Scalars['UUID'];
177
- tag: Scalars['String'];
178
- };
179
- /** The root query type which gives access points into the data universe. */
180
- export type QueryUserRoleTagAssignmentsArgs = {
181
- first?: Maybe<Scalars['Int']>;
182
- last?: Maybe<Scalars['Int']>;
183
- offset?: Maybe<Scalars['Int']>;
184
- before?: Maybe<Scalars['Cursor']>;
185
- after?: Maybe<Scalars['Cursor']>;
186
- orderBy?: Maybe<Array<UserRoleTagAssignmentsOrderBy>>;
187
- condition?: Maybe<UserRoleTagAssignmentCondition>;
188
- filter?: Maybe<UserRoleTagAssignmentFilter>;
189
- };
190
- /** The root query type which gives access points into the data universe. */
191
- export type QueryUserRolesArgs = {
192
- first?: Maybe<Scalars['Int']>;
193
- last?: Maybe<Scalars['Int']>;
194
- offset?: Maybe<Scalars['Int']>;
195
- before?: Maybe<Scalars['Cursor']>;
196
- after?: Maybe<Scalars['Cursor']>;
197
- orderBy?: Maybe<Array<UserRolesOrderBy>>;
198
- condition?: Maybe<UserRoleCondition>;
199
- filter?: Maybe<UserRoleFilter>;
200
- };
201
- /** The root query type which gives access points into the data universe. */
202
- export type QueryUsersArgs = {
203
- first?: Maybe<Scalars['Int']>;
204
- last?: Maybe<Scalars['Int']>;
205
- offset?: Maybe<Scalars['Int']>;
206
- before?: Maybe<Scalars['Cursor']>;
207
- after?: Maybe<Scalars['Cursor']>;
208
- orderBy?: Maybe<Array<UsersOrderBy>>;
209
- condition?: Maybe<UserCondition>;
210
- filter?: Maybe<UserFilter>;
211
- };
212
- /** The root query type which gives access points into the data universe. */
213
- export type QueryUsersWithUserRoleFilterArgs = {
214
- includeRoles?: Maybe<Array<Maybe<Scalars['String']>>>;
215
- excludeRoles?: Maybe<Array<Maybe<Scalars['String']>>>;
216
- includeRolesIncludeInherited?: Maybe<Scalars['Boolean']>;
217
- excludeRolesIncludeInherited?: Maybe<Scalars['Boolean']>;
218
- first?: Maybe<Scalars['Int']>;
219
- last?: Maybe<Scalars['Int']>;
220
- offset?: Maybe<Scalars['Int']>;
221
- before?: Maybe<Scalars['Cursor']>;
222
- after?: Maybe<Scalars['Cursor']>;
223
- orderBy?: Maybe<Array<UsersOrderBy>>;
224
- filter?: Maybe<UserFilter>;
225
- };
226
- /** A connection to a list of `ActivePermission` values. */
227
- export type ActivePermissionsConnection = {
228
- __typename?: 'ActivePermissionsConnection';
229
- /** A list of `ActivePermission` objects. */
230
- nodes: Array<ActivePermission>;
231
- /** A list of edges which contains the `ActivePermission` and cursor to aid in pagination. */
232
- edges: Array<ActivePermissionsEdge>;
233
- /** Information to aid in pagination. */
234
- pageInfo: PageInfo;
235
- /** The count of *all* `ActivePermission` you could get from the connection. */
236
- totalCount: Scalars['Int'];
32
+ /** A universally unique identifier as defined by [RFC 4122](https://tools.ietf.org/html/rfc4122). */
33
+ UUID: any;
237
34
  };
238
35
  export type ActivePermission = {
239
36
  __typename?: 'ActivePermission';
37
+ createdAt?: Maybe<Scalars['Datetime']>;
38
+ createdBy?: Maybe<Scalars['String']>;
39
+ environmentId?: Maybe<Scalars['UUID']>;
40
+ fromManagedService?: Maybe<Scalars['Boolean']>;
240
41
  id?: Maybe<Scalars['UUID']>;
241
- serviceId?: Maybe<Scalars['String']>;
242
42
  name?: Maybe<Scalars['String']>;
243
- fromManagedService?: Maybe<Scalars['Boolean']>;
43
+ serviceId?: Maybe<Scalars['String']>;
244
44
  tenantId?: Maybe<Scalars['UUID']>;
245
- environmentId?: Maybe<Scalars['UUID']>;
45
+ title?: Maybe<Scalars['String']>;
46
+ updatedAt?: Maybe<Scalars['Datetime']>;
47
+ updatedBy?: Maybe<Scalars['String']>;
48
+ usedByManagedServiceOnly?: Maybe<Scalars['Boolean']>;
49
+ usedForDevelopment?: Maybe<Scalars['Boolean']>;
50
+ };
51
+ /**
52
+ * A condition to be used against `ActivePermission` object types. All fields are
53
+ * tested for equality and combined with a logical ‘and.’
54
+ */
55
+ export type ActivePermissionCondition = {
56
+ /** Checks for equality with the object’s `createdAt` field. */
246
57
  createdAt?: Maybe<Scalars['Datetime']>;
58
+ /** Checks for equality with the object’s `createdBy` field. */
247
59
  createdBy?: Maybe<Scalars['String']>;
60
+ /** Checks for equality with the object’s `environmentId` field. */
61
+ environmentId?: Maybe<Scalars['UUID']>;
62
+ /** Checks for equality with the object’s `fromManagedService` field. */
63
+ fromManagedService?: Maybe<Scalars['Boolean']>;
64
+ /** Checks for equality with the object’s `id` field. */
65
+ id?: Maybe<Scalars['UUID']>;
66
+ /** Checks for equality with the object’s `name` field. */
67
+ name?: Maybe<Scalars['String']>;
68
+ /** Checks for equality with the object’s `serviceId` field. */
69
+ serviceId?: Maybe<Scalars['String']>;
70
+ /** Checks for equality with the object’s `tenantId` field. */
71
+ tenantId?: Maybe<Scalars['UUID']>;
72
+ /** Checks for equality with the object’s `title` field. */
73
+ title?: Maybe<Scalars['String']>;
74
+ /** Checks for equality with the object’s `updatedAt` field. */
248
75
  updatedAt?: Maybe<Scalars['Datetime']>;
76
+ /** Checks for equality with the object’s `updatedBy` field. */
249
77
  updatedBy?: Maybe<Scalars['String']>;
250
- title?: Maybe<Scalars['String']>;
78
+ /** Checks for equality with the object’s `usedByManagedServiceOnly` field. */
251
79
  usedByManagedServiceOnly?: Maybe<Scalars['Boolean']>;
80
+ /** Checks for equality with the object’s `usedForDevelopment` field. */
252
81
  usedForDevelopment?: Maybe<Scalars['Boolean']>;
253
82
  };
254
- /** A `ActivePermission` edge in the connection. */
255
- export type ActivePermissionsEdge = {
256
- __typename?: 'ActivePermissionsEdge';
257
- /** A cursor for use in pagination. */
258
- cursor?: Maybe<Scalars['Cursor']>;
83
+ /** A filter to be used against `ActivePermission` object types. All fields are combined with a logical ‘and.’ */
84
+ export type ActivePermissionFilter = {
85
+ /** Checks for all expressions in this list. */
86
+ and?: Maybe<Array<ActivePermissionFilter>>;
87
+ /** Filter by the object’s `createdAt` field. */
88
+ createdAt?: Maybe<DatetimeFilter>;
89
+ /** Filter by the object’s `createdBy` field. */
90
+ createdBy?: Maybe<StringFilter>;
91
+ /** Filter by the object’s `environmentId` field. */
92
+ environmentId?: Maybe<UuidFilter>;
93
+ /** Filter by the object’s `fromManagedService` field. */
94
+ fromManagedService?: Maybe<BooleanFilter>;
95
+ /** Filter by the object’s `id` field. */
96
+ id?: Maybe<UuidFilter>;
97
+ /** Filter by the object’s `name` field. */
98
+ name?: Maybe<StringFilter>;
99
+ /** Negates the expression. */
100
+ not?: Maybe<ActivePermissionFilter>;
101
+ /** Checks for any expressions in this list. */
102
+ or?: Maybe<Array<ActivePermissionFilter>>;
103
+ /** Filter by the object’s `serviceId` field. */
104
+ serviceId?: Maybe<StringFilter>;
105
+ /** Filter by the object’s `tenantId` field. */
106
+ tenantId?: Maybe<UuidFilter>;
107
+ /** Filter by the object’s `title` field. */
108
+ title?: Maybe<StringFilter>;
109
+ /** Filter by the object’s `updatedAt` field. */
110
+ updatedAt?: Maybe<DatetimeFilter>;
111
+ /** Filter by the object’s `updatedBy` field. */
112
+ updatedBy?: Maybe<StringFilter>;
113
+ /** Filter by the object’s `usedByManagedServiceOnly` field. */
114
+ usedByManagedServiceOnly?: Maybe<BooleanFilter>;
115
+ /** Filter by the object’s `usedForDevelopment` field. */
116
+ usedForDevelopment?: Maybe<BooleanFilter>;
117
+ };
118
+ /** A connection to a list of `ActivePermission` values. */
119
+ export type ActivePermissionsConnection = {
120
+ __typename?: 'ActivePermissionsConnection';
121
+ /** A list of edges which contains the `ActivePermission` and cursor to aid in pagination. */
122
+ edges: Array<ActivePermissionsEdge>;
123
+ /** A list of `ActivePermission` objects. */
124
+ nodes: Array<ActivePermission>;
125
+ /** Information to aid in pagination. */
126
+ pageInfo: PageInfo;
127
+ /** The count of *all* `ActivePermission` you could get from the connection. */
128
+ totalCount: Scalars['Int'];
129
+ };
130
+ /** A `ActivePermission` edge in the connection. */
131
+ export type ActivePermissionsEdge = {
132
+ __typename?: 'ActivePermissionsEdge';
133
+ /** A cursor for use in pagination. */
134
+ cursor?: Maybe<Scalars['Cursor']>;
259
135
  /** The `ActivePermission` at the end of the edge. */
260
136
  node: ActivePermission;
261
137
  };
262
- /** Information about pagination in a connection. */
263
- export type PageInfo = {
264
- __typename?: 'PageInfo';
265
- /** When paginating forwards, are there more items? */
266
- hasNextPage: Scalars['Boolean'];
267
- /** When paginating backwards, are there more items? */
268
- hasPreviousPage: Scalars['Boolean'];
269
- /** When paginating backwards, the cursor to continue. */
270
- startCursor?: Maybe<Scalars['Cursor']>;
271
- /** When paginating forwards, the cursor to continue. */
272
- endCursor?: Maybe<Scalars['Cursor']>;
273
- };
274
138
  /** Methods to use when ordering `ActivePermission`. */
275
139
  export declare enum ActivePermissionsOrderBy {
276
- NATURAL = "NATURAL",
140
+ CREATED_AT_ASC = "CREATED_AT_ASC",
141
+ CREATED_AT_DESC = "CREATED_AT_DESC",
142
+ CREATED_BY_ASC = "CREATED_BY_ASC",
143
+ CREATED_BY_DESC = "CREATED_BY_DESC",
144
+ ENVIRONMENT_ID_ASC = "ENVIRONMENT_ID_ASC",
145
+ ENVIRONMENT_ID_DESC = "ENVIRONMENT_ID_DESC",
146
+ FROM_MANAGED_SERVICE_ASC = "FROM_MANAGED_SERVICE_ASC",
147
+ FROM_MANAGED_SERVICE_DESC = "FROM_MANAGED_SERVICE_DESC",
277
148
  ID_ASC = "ID_ASC",
278
149
  ID_DESC = "ID_DESC",
279
- SERVICE_ID_ASC = "SERVICE_ID_ASC",
280
- SERVICE_ID_DESC = "SERVICE_ID_DESC",
281
150
  NAME_ASC = "NAME_ASC",
282
151
  NAME_DESC = "NAME_DESC",
283
- FROM_MANAGED_SERVICE_ASC = "FROM_MANAGED_SERVICE_ASC",
284
- FROM_MANAGED_SERVICE_DESC = "FROM_MANAGED_SERVICE_DESC",
152
+ NATURAL = "NATURAL",
153
+ SERVICE_ID_ASC = "SERVICE_ID_ASC",
154
+ SERVICE_ID_DESC = "SERVICE_ID_DESC",
285
155
  TENANT_ID_ASC = "TENANT_ID_ASC",
286
156
  TENANT_ID_DESC = "TENANT_ID_DESC",
287
- ENVIRONMENT_ID_ASC = "ENVIRONMENT_ID_ASC",
288
- ENVIRONMENT_ID_DESC = "ENVIRONMENT_ID_DESC",
289
- CREATED_AT_ASC = "CREATED_AT_ASC",
290
- CREATED_AT_DESC = "CREATED_AT_DESC",
291
- CREATED_BY_ASC = "CREATED_BY_ASC",
292
- CREATED_BY_DESC = "CREATED_BY_DESC",
157
+ TITLE_ASC = "TITLE_ASC",
158
+ TITLE_DESC = "TITLE_DESC",
293
159
  UPDATED_AT_ASC = "UPDATED_AT_ASC",
294
160
  UPDATED_AT_DESC = "UPDATED_AT_DESC",
295
161
  UPDATED_BY_ASC = "UPDATED_BY_ASC",
296
162
  UPDATED_BY_DESC = "UPDATED_BY_DESC",
297
- TITLE_ASC = "TITLE_ASC",
298
- TITLE_DESC = "TITLE_DESC",
299
163
  USED_BY_MANAGED_SERVICE_ONLY_ASC = "USED_BY_MANAGED_SERVICE_ONLY_ASC",
300
164
  USED_BY_MANAGED_SERVICE_ONLY_DESC = "USED_BY_MANAGED_SERVICE_ONLY_DESC",
301
165
  USED_FOR_DEVELOPMENT_ASC = "USED_FOR_DEVELOPMENT_ASC",
302
166
  USED_FOR_DEVELOPMENT_DESC = "USED_FOR_DEVELOPMENT_DESC"
303
167
  }
304
- /**
305
- * A condition to be used against `ActivePermission` object types. All fields are
306
- * tested for equality and combined with a logical ‘and.’
307
- */
308
- export type ActivePermissionCondition = {
309
- /** Checks for equality with the object’s `id` field. */
310
- id?: Maybe<Scalars['UUID']>;
311
- /** Checks for equality with the object’s `serviceId` field. */
312
- serviceId?: Maybe<Scalars['String']>;
313
- /** Checks for equality with the object’s `name` field. */
314
- name?: Maybe<Scalars['String']>;
315
- /** Checks for equality with the object’s `fromManagedService` field. */
316
- fromManagedService?: Maybe<Scalars['Boolean']>;
317
- /** Checks for equality with the object’s `tenantId` field. */
318
- tenantId?: Maybe<Scalars['UUID']>;
319
- /** Checks for equality with the object’s `environmentId` field. */
320
- environmentId?: Maybe<Scalars['UUID']>;
321
- /** Checks for equality with the object’s `createdAt` field. */
322
- createdAt?: Maybe<Scalars['Datetime']>;
323
- /** Checks for equality with the object’s `createdBy` field. */
324
- createdBy?: Maybe<Scalars['String']>;
325
- /** Checks for equality with the object’s `updatedAt` field. */
326
- updatedAt?: Maybe<Scalars['Datetime']>;
327
- /** Checks for equality with the object’s `updatedBy` field. */
328
- updatedBy?: Maybe<Scalars['String']>;
329
- /** Checks for equality with the object’s `title` field. */
330
- title?: Maybe<Scalars['String']>;
331
- /** Checks for equality with the object’s `usedByManagedServiceOnly` field. */
332
- usedByManagedServiceOnly?: Maybe<Scalars['Boolean']>;
333
- /** Checks for equality with the object’s `usedForDevelopment` field. */
334
- usedForDevelopment?: Maybe<Scalars['Boolean']>;
168
+ export type AuthenticateManagedServiceAccountInput = {
169
+ /** Managed Service Account ID. */
170
+ clientId: Scalars['String'];
171
+ /** Managed Service Account Password. */
172
+ clientSecret: Scalars['String'];
173
+ /** Environment ID to be used in resulting AccessToken. If not provided, Root Environment ID will be used. */
174
+ targetEnvironmentId?: Maybe<Scalars['String']>;
175
+ /** Tenant ID to be used in resulting AccessToken. If not provided, Root Tenant ID will be used. */
176
+ targetTenantId?: Maybe<Scalars['String']>;
335
177
  };
336
- /** A filter to be used against `ActivePermission` object types. All fields are combined with a logical ‘and.’ */
337
- export type ActivePermissionFilter = {
338
- /** Filter by the object’s `id` field. */
339
- id?: Maybe<UuidFilter>;
340
- /** Filter by the object’s `serviceId` field. */
341
- serviceId?: Maybe<StringFilter>;
342
- /** Filter by the object’s `name` field. */
343
- name?: Maybe<StringFilter>;
344
- /** Filter by the object’s `fromManagedService` field. */
345
- fromManagedService?: Maybe<BooleanFilter>;
346
- /** Filter by the object’s `tenantId` field. */
347
- tenantId?: Maybe<UuidFilter>;
348
- /** Filter by the object’s `environmentId` field. */
349
- environmentId?: Maybe<UuidFilter>;
350
- /** Filter by the object’s `createdAt` field. */
351
- createdAt?: Maybe<DatetimeFilter>;
352
- /** Filter by the object’s `createdBy` field. */
353
- createdBy?: Maybe<StringFilter>;
354
- /** Filter by the object’s `updatedAt` field. */
355
- updatedAt?: Maybe<DatetimeFilter>;
356
- /** Filter by the object’s `updatedBy` field. */
357
- updatedBy?: Maybe<StringFilter>;
358
- /** Filter by the object’s `title` field. */
359
- title?: Maybe<StringFilter>;
360
- /** Filter by the object’s `usedByManagedServiceOnly` field. */
361
- usedByManagedServiceOnly?: Maybe<BooleanFilter>;
362
- /** Filter by the object’s `usedForDevelopment` field. */
363
- usedForDevelopment?: Maybe<BooleanFilter>;
364
- /** Checks for all expressions in this list. */
365
- and?: Maybe<Array<ActivePermissionFilter>>;
366
- /** Checks for any expressions in this list. */
367
- or?: Maybe<Array<ActivePermissionFilter>>;
368
- /** Negates the expression. */
369
- not?: Maybe<ActivePermissionFilter>;
178
+ export type AuthenticateManagedServiceAccountPayload = {
179
+ __typename?: 'AuthenticateManagedServiceAccountPayload';
180
+ /** Access Token containing permissions of the Service Account */
181
+ accessToken: Scalars['String'];
182
+ /** Access Token expiration timeout */
183
+ expiresInSeconds: Scalars['Int'];
184
+ /** Access Token type to use when making client requests */
185
+ tokenType: Scalars['String'];
370
186
  };
371
- /** A filter to be used against UUID fields. All fields are combined with a logical ‘and.’ */
372
- export type UuidFilter = {
373
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
374
- isNull?: Maybe<Scalars['Boolean']>;
375
- /** Equal to the specified value. */
376
- equalTo?: Maybe<Scalars['UUID']>;
377
- /** Not equal to the specified value. */
378
- notEqualTo?: Maybe<Scalars['UUID']>;
187
+ export type AuthenticateManagedServiceAccountWithEnvironmentScopeInput = {
188
+ /** Managed Service Account ID. */
189
+ clientId: Scalars['String'];
190
+ /** Managed Service Account Password. */
191
+ clientSecret: Scalars['String'];
192
+ /**
193
+ * A Management JWT authenticated by the Mosaic ID Service.
194
+ * The Tenant and Environment IDs in this JWT is used to scope
195
+ * the Managed Service Account Token to a specific Environment.
196
+ */
197
+ managementJWT: Scalars['String'];
198
+ };
199
+ export type AuthenticateServiceAccountInput = {
200
+ /** Service Account ID. */
201
+ clientId: Scalars['String'];
202
+ /** Service Account Password. */
203
+ clientSecret: Scalars['String'];
204
+ };
205
+ export type AuthenticateServiceAccountPayload = {
206
+ __typename?: 'AuthenticateServiceAccountPayload';
207
+ /** Access Token containing permissions of the Service Account */
208
+ accessToken: Scalars['String'];
209
+ /** Access Token expiration timeout */
210
+ expiresInSeconds: Scalars['Int'];
211
+ /** Access Token type to use when making client requests */
212
+ tokenType: Scalars['String'];
213
+ };
214
+ /** A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ */
215
+ export type BooleanFilter = {
379
216
  /** Not equal to the specified value, treating null like an ordinary value. */
380
- distinctFrom?: Maybe<Scalars['UUID']>;
381
- /** Equal to the specified value, treating null like an ordinary value. */
382
- notDistinctFrom?: Maybe<Scalars['UUID']>;
383
- /** Included in the specified list. */
384
- in?: Maybe<Array<Scalars['UUID']>>;
385
- /** Not included in the specified list. */
386
- notIn?: Maybe<Array<Scalars['UUID']>>;
387
- /** Less than the specified value. */
388
- lessThan?: Maybe<Scalars['UUID']>;
389
- /** Less than or equal to the specified value. */
390
- lessThanOrEqualTo?: Maybe<Scalars['UUID']>;
217
+ distinctFrom?: Maybe<Scalars['Boolean']>;
218
+ /** Equal to the specified value. */
219
+ equalTo?: Maybe<Scalars['Boolean']>;
391
220
  /** Greater than the specified value. */
392
- greaterThan?: Maybe<Scalars['UUID']>;
221
+ greaterThan?: Maybe<Scalars['Boolean']>;
393
222
  /** Greater than or equal to the specified value. */
394
- greaterThanOrEqualTo?: Maybe<Scalars['UUID']>;
395
- };
396
- /** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */
397
- export type StringFilter = {
223
+ greaterThanOrEqualTo?: Maybe<Scalars['Boolean']>;
224
+ /** Included in the specified list. */
225
+ in?: Maybe<Array<Scalars['Boolean']>>;
398
226
  /** Is null (if `true` is specified) or is not null (if `false` is specified). */
399
227
  isNull?: Maybe<Scalars['Boolean']>;
400
- /** Equal to the specified value. */
401
- equalTo?: Maybe<Scalars['String']>;
402
- /** Not equal to the specified value. */
403
- notEqualTo?: Maybe<Scalars['String']>;
404
- /** Not equal to the specified value, treating null like an ordinary value. */
405
- distinctFrom?: Maybe<Scalars['String']>;
406
- /** Equal to the specified value, treating null like an ordinary value. */
407
- notDistinctFrom?: Maybe<Scalars['String']>;
408
- /** Included in the specified list. */
409
- in?: Maybe<Array<Scalars['String']>>;
410
- /** Not included in the specified list. */
411
- notIn?: Maybe<Array<Scalars['String']>>;
412
228
  /** Less than the specified value. */
413
- lessThan?: Maybe<Scalars['String']>;
229
+ lessThan?: Maybe<Scalars['Boolean']>;
414
230
  /** Less than or equal to the specified value. */
415
- lessThanOrEqualTo?: Maybe<Scalars['String']>;
416
- /** Greater than the specified value. */
417
- greaterThan?: Maybe<Scalars['String']>;
418
- /** Greater than or equal to the specified value. */
419
- greaterThanOrEqualTo?: Maybe<Scalars['String']>;
420
- /** Contains the specified string (case-sensitive). */
421
- includes?: Maybe<Scalars['String']>;
422
- /** Does not contain the specified string (case-sensitive). */
423
- notIncludes?: Maybe<Scalars['String']>;
424
- /** Contains the specified string (case-insensitive). */
425
- includesInsensitive?: Maybe<Scalars['String']>;
426
- /** Does not contain the specified string (case-insensitive). */
427
- notIncludesInsensitive?: Maybe<Scalars['String']>;
428
- /** Starts with the specified string (case-sensitive). */
429
- startsWith?: Maybe<Scalars['String']>;
430
- /** Does not start with the specified string (case-sensitive). */
431
- notStartsWith?: Maybe<Scalars['String']>;
432
- /** Starts with the specified string (case-insensitive). */
433
- startsWithInsensitive?: Maybe<Scalars['String']>;
434
- /** Does not start with the specified string (case-insensitive). */
435
- notStartsWithInsensitive?: Maybe<Scalars['String']>;
436
- /** Ends with the specified string (case-sensitive). */
437
- endsWith?: Maybe<Scalars['String']>;
438
- /** Does not end with the specified string (case-sensitive). */
439
- notEndsWith?: Maybe<Scalars['String']>;
440
- /** Ends with the specified string (case-insensitive). */
441
- endsWithInsensitive?: Maybe<Scalars['String']>;
442
- /** Does not end with the specified string (case-insensitive). */
443
- notEndsWithInsensitive?: Maybe<Scalars['String']>;
444
- /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
445
- like?: Maybe<Scalars['String']>;
446
- /** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
447
- notLike?: Maybe<Scalars['String']>;
448
- /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
449
- likeInsensitive?: Maybe<Scalars['String']>;
450
- /** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
451
- notLikeInsensitive?: Maybe<Scalars['String']>;
452
- /** Equal to the specified value (case-insensitive). */
453
- equalToInsensitive?: Maybe<Scalars['String']>;
454
- /** Not equal to the specified value (case-insensitive). */
455
- notEqualToInsensitive?: Maybe<Scalars['String']>;
456
- /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
457
- distinctFromInsensitive?: Maybe<Scalars['String']>;
458
- /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
459
- notDistinctFromInsensitive?: Maybe<Scalars['String']>;
460
- /** Included in the specified list (case-insensitive). */
461
- inInsensitive?: Maybe<Array<Scalars['String']>>;
462
- /** Not included in the specified list (case-insensitive). */
463
- notInInsensitive?: Maybe<Array<Scalars['String']>>;
464
- /** Less than the specified value (case-insensitive). */
465
- lessThanInsensitive?: Maybe<Scalars['String']>;
466
- /** Less than or equal to the specified value (case-insensitive). */
467
- lessThanOrEqualToInsensitive?: Maybe<Scalars['String']>;
468
- /** Greater than the specified value (case-insensitive). */
469
- greaterThanInsensitive?: Maybe<Scalars['String']>;
470
- /** Greater than or equal to the specified value (case-insensitive). */
471
- greaterThanOrEqualToInsensitive?: Maybe<Scalars['String']>;
472
- };
473
- /** A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ */
474
- export type BooleanFilter = {
475
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
476
- isNull?: Maybe<Scalars['Boolean']>;
477
- /** Equal to the specified value. */
478
- equalTo?: Maybe<Scalars['Boolean']>;
479
- /** Not equal to the specified value. */
480
- notEqualTo?: Maybe<Scalars['Boolean']>;
481
- /** Not equal to the specified value, treating null like an ordinary value. */
482
- distinctFrom?: Maybe<Scalars['Boolean']>;
231
+ lessThanOrEqualTo?: Maybe<Scalars['Boolean']>;
483
232
  /** Equal to the specified value, treating null like an ordinary value. */
484
233
  notDistinctFrom?: Maybe<Scalars['Boolean']>;
485
- /** Included in the specified list. */
486
- in?: Maybe<Array<Scalars['Boolean']>>;
487
- /** Not included in the specified list. */
488
- notIn?: Maybe<Array<Scalars['Boolean']>>;
489
- /** Less than the specified value. */
490
- lessThan?: Maybe<Scalars['Boolean']>;
491
- /** Less than or equal to the specified value. */
492
- lessThanOrEqualTo?: Maybe<Scalars['Boolean']>;
493
- /** Greater than the specified value. */
494
- greaterThan?: Maybe<Scalars['Boolean']>;
495
- /** Greater than or equal to the specified value. */
496
- greaterThanOrEqualTo?: Maybe<Scalars['Boolean']>;
497
- };
498
- /** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */
499
- export type DatetimeFilter = {
500
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
501
- isNull?: Maybe<Scalars['Boolean']>;
502
- /** Equal to the specified value. */
503
- equalTo?: Maybe<Scalars['Datetime']>;
504
234
  /** Not equal to the specified value. */
505
- notEqualTo?: Maybe<Scalars['Datetime']>;
506
- /** Not equal to the specified value, treating null like an ordinary value. */
507
- distinctFrom?: Maybe<Scalars['Datetime']>;
508
- /** Equal to the specified value, treating null like an ordinary value. */
509
- notDistinctFrom?: Maybe<Scalars['Datetime']>;
510
- /** Included in the specified list. */
511
- in?: Maybe<Array<Scalars['Datetime']>>;
235
+ notEqualTo?: Maybe<Scalars['Boolean']>;
512
236
  /** Not included in the specified list. */
513
- notIn?: Maybe<Array<Scalars['Datetime']>>;
514
- /** Less than the specified value. */
515
- lessThan?: Maybe<Scalars['Datetime']>;
516
- /** Less than or equal to the specified value. */
517
- lessThanOrEqualTo?: Maybe<Scalars['Datetime']>;
518
- /** Greater than the specified value. */
519
- greaterThan?: Maybe<Scalars['Datetime']>;
520
- /** Greater than or equal to the specified value. */
521
- greaterThanOrEqualTo?: Maybe<Scalars['Datetime']>;
237
+ notIn?: Maybe<Array<Scalars['Boolean']>>;
522
238
  };
523
- /** A connection to a list of `Permission` values. */
524
- export type PermissionsConnection = {
525
- __typename?: 'PermissionsConnection';
526
- /** A list of `Permission` objects. */
527
- nodes: Array<Permission>;
528
- /** A list of edges which contains the `Permission` and cursor to aid in pagination. */
529
- edges: Array<PermissionsEdge>;
530
- /** Information to aid in pagination. */
531
- pageInfo: PageInfo;
532
- /** The count of *all* `Permission` you could get from the connection. */
533
- totalCount: Scalars['Int'];
239
+ /** Bulk mutation payload type. */
240
+ export type BulkMutationUuidPayload = {
241
+ __typename?: 'BulkMutationUuidPayload';
242
+ affectedIds?: Maybe<Array<Maybe<Scalars['UUID']>>>;
243
+ totalCount?: Maybe<Scalars['Int']>;
534
244
  };
535
- export type Permission = {
536
- __typename?: 'Permission';
537
- id: Scalars['UUID'];
538
- serviceId: Scalars['String'];
539
- name: Scalars['String'];
540
- fromManagedService: Scalars['Boolean'];
541
- tenantId: Scalars['UUID'];
542
- environmentId: Scalars['UUID'];
543
- createdAt: Scalars['Datetime'];
544
- createdBy: Scalars['String'];
545
- updatedAt: Scalars['Datetime'];
546
- updatedBy: Scalars['String'];
547
- title: Scalars['String'];
548
- usedByManagedServiceOnly: Scalars['Boolean'];
549
- usedForDevelopment: Scalars['Boolean'];
550
- /** Reads and enables pagination through a set of `UserRolePermissionAssignment`. */
551
- userRolePermissionAssignments: UserRolePermissionAssignmentsConnection;
245
+ export type CreateDevServiceAccountInput = {
246
+ /** Optional Environment ID to use for service account. If not specified will default to configured dev value. */
247
+ environmentId?: Maybe<Scalars['String']>;
248
+ /**
249
+ * Example:
250
+ *
251
+ * permissionStructure: [
252
+ * {
253
+ * serviceId: "media-service",
254
+ * permissions: ["ADMIN", "MOVIES_EDIT"]
255
+ * },
256
+ * {
257
+ * serviceId: "ax-encoding-service",
258
+ * permissions: ["ADMIN", "VIDEOS_EDIT"]
259
+ * }
260
+ * ]
261
+ */
262
+ permissionStructure: Array<Maybe<DevPermissionStructureInput>>;
263
+ /** Service account name. */
264
+ serviceAccountName: Scalars['String'];
265
+ /** Optional tenant ID to use for service account. If not specified will default to configured dev value. */
266
+ tenantId?: Maybe<Scalars['String']>;
552
267
  };
553
- export type PermissionUserRolePermissionAssignmentsArgs = {
554
- first?: Maybe<Scalars['Int']>;
555
- last?: Maybe<Scalars['Int']>;
556
- offset?: Maybe<Scalars['Int']>;
557
- before?: Maybe<Scalars['Cursor']>;
558
- after?: Maybe<Scalars['Cursor']>;
559
- orderBy?: Maybe<Array<UserRolePermissionAssignmentsOrderBy>>;
560
- condition?: Maybe<UserRolePermissionAssignmentCondition>;
561
- filter?: Maybe<UserRolePermissionAssignmentFilter>;
268
+ export type CreateDevServiceAccountPayload = {
269
+ __typename?: 'CreateDevServiceAccountPayload';
270
+ clientId: Scalars['String'];
271
+ clientSecret: Scalars['String'];
272
+ environmentId: Scalars['String'];
273
+ serviceAccountName: Scalars['String'];
274
+ tenantId: Scalars['String'];
562
275
  };
563
- /** A connection to a list of `UserRolePermissionAssignment` values. */
564
- export type UserRolePermissionAssignmentsConnection = {
565
- __typename?: 'UserRolePermissionAssignmentsConnection';
566
- /** A list of `UserRolePermissionAssignment` objects. */
567
- nodes: Array<UserRolePermissionAssignment>;
568
- /** A list of edges which contains the `UserRolePermissionAssignment` and cursor to aid in pagination. */
569
- edges: Array<UserRolePermissionAssignmentsEdge>;
570
- /** Information to aid in pagination. */
571
- pageInfo: PageInfo;
572
- /** The count of *all* `UserRolePermissionAssignment` you could get from the connection. */
573
- totalCount: Scalars['Int'];
276
+ /** All input for the create `User` mutation. */
277
+ export type CreateUserInput = {
278
+ /**
279
+ * An arbitrary string value with no semantic meaning. Will be included in the
280
+ * payload verbatim. May be used to track mutations by the client.
281
+ */
282
+ clientMutationId?: Maybe<Scalars['String']>;
283
+ /** The `User` to be created by this mutation. */
284
+ user: UserInput;
574
285
  };
575
- export type UserRolePermissionAssignment = {
576
- __typename?: 'UserRolePermissionAssignment';
577
- id: Scalars['UUID'];
578
- userRoleId: Scalars['UUID'];
579
- permissionId: Scalars['UUID'];
580
- tenantId: Scalars['UUID'];
581
- environmentId: Scalars['UUID'];
582
- createdAt: Scalars['Datetime'];
583
- createdBy: Scalars['String'];
584
- updatedAt: Scalars['Datetime'];
585
- updatedBy: Scalars['String'];
586
- /** Reads a single `UserRole` that is related to this `UserRolePermissionAssignment`. */
587
- userRole?: Maybe<UserRole>;
588
- /** Reads a single `Permission` that is related to this `UserRolePermissionAssignment`. */
589
- permission?: Maybe<Permission>;
286
+ /** The output of our create `User` mutation. */
287
+ export type CreateUserPayload = {
288
+ __typename?: 'CreateUserPayload';
289
+ /**
290
+ * The exact same `clientMutationId` that was provided in the mutation input,
291
+ * unchanged and unused. May be used by a client to track mutations.
292
+ */
293
+ clientMutationId?: Maybe<Scalars['String']>;
294
+ /** Our root query field type. Allows us to run any query from our mutation payload. */
295
+ query?: Maybe<Query>;
296
+ /** The `User` that was created by this mutation. */
297
+ user?: Maybe<User>;
298
+ /** An edge for our `User`. May be used by Relay 1. */
299
+ userEdge?: Maybe<UsersEdge>;
590
300
  };
591
- export type UserRole = {
592
- __typename?: 'UserRole';
593
- id: Scalars['UUID'];
594
- name: Scalars['String'];
595
- description?: Maybe<Scalars['String']>;
596
- tenantId: Scalars['UUID'];
597
- environmentId: Scalars['UUID'];
598
- createdAt: Scalars['Datetime'];
599
- createdBy: Scalars['String'];
600
- updatedAt: Scalars['Datetime'];
601
- updatedBy: Scalars['String'];
602
- /** Reads and enables pagination through a set of `UserRoleParentAssignment`. */
603
- userRoleParentAssignments: UserRoleParentAssignmentsConnection;
604
- /** Reads and enables pagination through a set of `UserRoleAssignment`. */
605
- userRoleAssignments: UserRoleAssignmentsConnection;
606
- /** Reads and enables pagination through a set of `UserRolePermissionAssignment`. */
607
- userRolePermissionAssignments: UserRolePermissionAssignmentsConnection;
608
- /** Reads and enables pagination through a set of `UserRoleTagAssignment`. */
609
- userRoleTagAssignments: UserRoleTagAssignmentsConnection;
301
+ /** The output of our create `User` mutation. */
302
+ export type CreateUserPayloadUserEdgeArgs = {
303
+ orderBy?: Maybe<Array<UsersOrderBy>>;
610
304
  };
611
- export type UserRoleUserRoleParentAssignmentsArgs = {
612
- first?: Maybe<Scalars['Int']>;
613
- last?: Maybe<Scalars['Int']>;
614
- offset?: Maybe<Scalars['Int']>;
615
- before?: Maybe<Scalars['Cursor']>;
616
- after?: Maybe<Scalars['Cursor']>;
617
- orderBy?: Maybe<Array<UserRoleParentAssignmentsOrderBy>>;
618
- condition?: Maybe<UserRoleParentAssignmentCondition>;
619
- filter?: Maybe<UserRoleParentAssignmentFilter>;
305
+ /** All input for the create `UserRoleAssignment` mutation. */
306
+ export type CreateUserRoleAssignmentInput = {
307
+ /**
308
+ * An arbitrary string value with no semantic meaning. Will be included in the
309
+ * payload verbatim. May be used to track mutations by the client.
310
+ */
311
+ clientMutationId?: Maybe<Scalars['String']>;
312
+ /** The `UserRoleAssignment` to be created by this mutation. */
313
+ userRoleAssignment: UserRoleAssignmentInput;
620
314
  };
621
- export type UserRoleUserRoleAssignmentsArgs = {
622
- first?: Maybe<Scalars['Int']>;
623
- last?: Maybe<Scalars['Int']>;
624
- offset?: Maybe<Scalars['Int']>;
625
- before?: Maybe<Scalars['Cursor']>;
626
- after?: Maybe<Scalars['Cursor']>;
627
- orderBy?: Maybe<Array<UserRoleAssignmentsOrderBy>>;
628
- condition?: Maybe<UserRoleAssignmentCondition>;
629
- filter?: Maybe<UserRoleAssignmentFilter>;
315
+ /** The output of our create `UserRoleAssignment` mutation. */
316
+ export type CreateUserRoleAssignmentPayload = {
317
+ __typename?: 'CreateUserRoleAssignmentPayload';
318
+ /**
319
+ * The exact same `clientMutationId` that was provided in the mutation input,
320
+ * unchanged and unused. May be used by a client to track mutations.
321
+ */
322
+ clientMutationId?: Maybe<Scalars['String']>;
323
+ /** Our root query field type. Allows us to run any query from our mutation payload. */
324
+ query?: Maybe<Query>;
325
+ /** Reads a single `User` that is related to this `UserRoleAssignment`. */
326
+ user?: Maybe<User>;
327
+ /** Reads a single `UserRole` that is related to this `UserRoleAssignment`. */
328
+ userRole?: Maybe<UserRole>;
329
+ /** The `UserRoleAssignment` that was created by this mutation. */
330
+ userRoleAssignment?: Maybe<UserRoleAssignment>;
331
+ /** An edge for our `UserRoleAssignment`. May be used by Relay 1. */
332
+ userRoleAssignmentEdge?: Maybe<UserRoleAssignmentsEdge>;
630
333
  };
631
- export type UserRoleUserRolePermissionAssignmentsArgs = {
632
- first?: Maybe<Scalars['Int']>;
633
- last?: Maybe<Scalars['Int']>;
634
- offset?: Maybe<Scalars['Int']>;
635
- before?: Maybe<Scalars['Cursor']>;
636
- after?: Maybe<Scalars['Cursor']>;
637
- orderBy?: Maybe<Array<UserRolePermissionAssignmentsOrderBy>>;
638
- condition?: Maybe<UserRolePermissionAssignmentCondition>;
639
- filter?: Maybe<UserRolePermissionAssignmentFilter>;
334
+ /** The output of our create `UserRoleAssignment` mutation. */
335
+ export type CreateUserRoleAssignmentPayloadUserRoleAssignmentEdgeArgs = {
336
+ orderBy?: Maybe<Array<UserRoleAssignmentsOrderBy>>;
640
337
  };
641
- export type UserRoleUserRoleTagAssignmentsArgs = {
642
- first?: Maybe<Scalars['Int']>;
643
- last?: Maybe<Scalars['Int']>;
644
- offset?: Maybe<Scalars['Int']>;
645
- before?: Maybe<Scalars['Cursor']>;
646
- after?: Maybe<Scalars['Cursor']>;
647
- orderBy?: Maybe<Array<UserRoleTagAssignmentsOrderBy>>;
648
- condition?: Maybe<UserRoleTagAssignmentCondition>;
649
- filter?: Maybe<UserRoleTagAssignmentFilter>;
338
+ /** All input for the create `UserRole` mutation. */
339
+ export type CreateUserRoleInput = {
340
+ /**
341
+ * An arbitrary string value with no semantic meaning. Will be included in the
342
+ * payload verbatim. May be used to track mutations by the client.
343
+ */
344
+ clientMutationId?: Maybe<Scalars['String']>;
345
+ /** The `UserRole` to be created by this mutation. */
346
+ userRole: UserRoleInput;
650
347
  };
651
- /** A connection to a list of `UserRoleParentAssignment` values. */
652
- export type UserRoleParentAssignmentsConnection = {
653
- __typename?: 'UserRoleParentAssignmentsConnection';
654
- /** A list of `UserRoleParentAssignment` objects. */
655
- nodes: Array<UserRoleParentAssignment>;
656
- /** A list of edges which contains the `UserRoleParentAssignment` and cursor to aid in pagination. */
657
- edges: Array<UserRoleParentAssignmentsEdge>;
658
- /** Information to aid in pagination. */
659
- pageInfo: PageInfo;
660
- /** The count of *all* `UserRoleParentAssignment` you could get from the connection. */
661
- totalCount: Scalars['Int'];
348
+ /** All input for the create `UserRoleParentAssignment` mutation. */
349
+ export type CreateUserRoleParentAssignmentInput = {
350
+ /**
351
+ * An arbitrary string value with no semantic meaning. Will be included in the
352
+ * payload verbatim. May be used to track mutations by the client.
353
+ */
354
+ clientMutationId?: Maybe<Scalars['String']>;
355
+ /** The `UserRoleParentAssignment` to be created by this mutation. */
356
+ userRoleParentAssignment: UserRoleParentAssignmentInput;
662
357
  };
663
- export type UserRoleParentAssignment = {
664
- __typename?: 'UserRoleParentAssignment';
665
- id: Scalars['UUID'];
666
- userRoleId: Scalars['UUID'];
667
- parentUserRoleId: Scalars['UUID'];
668
- tenantId: Scalars['UUID'];
669
- environmentId: Scalars['UUID'];
670
- createdAt: Scalars['Datetime'];
671
- createdBy: Scalars['String'];
672
- updatedAt: Scalars['Datetime'];
673
- updatedBy: Scalars['String'];
358
+ /** The output of our create `UserRoleParentAssignment` mutation. */
359
+ export type CreateUserRoleParentAssignmentPayload = {
360
+ __typename?: 'CreateUserRoleParentAssignmentPayload';
361
+ /**
362
+ * The exact same `clientMutationId` that was provided in the mutation input,
363
+ * unchanged and unused. May be used by a client to track mutations.
364
+ */
365
+ clientMutationId?: Maybe<Scalars['String']>;
674
366
  /** Reads a single `UserRole` that is related to this `UserRoleParentAssignment`. */
675
367
  parentUserRole?: Maybe<UserRole>;
368
+ /** Our root query field type. Allows us to run any query from our mutation payload. */
369
+ query?: Maybe<Query>;
370
+ /** The `UserRoleParentAssignment` that was created by this mutation. */
371
+ userRoleParentAssignment?: Maybe<UserRoleParentAssignment>;
372
+ /** An edge for our `UserRoleParentAssignment`. May be used by Relay 1. */
373
+ userRoleParentAssignmentEdge?: Maybe<UserRoleParentAssignmentsEdge>;
676
374
  };
677
- /** A `UserRoleParentAssignment` edge in the connection. */
678
- export type UserRoleParentAssignmentsEdge = {
679
- __typename?: 'UserRoleParentAssignmentsEdge';
680
- /** A cursor for use in pagination. */
681
- cursor?: Maybe<Scalars['Cursor']>;
682
- /** The `UserRoleParentAssignment` at the end of the edge. */
683
- node: UserRoleParentAssignment;
375
+ /** The output of our create `UserRoleParentAssignment` mutation. */
376
+ export type CreateUserRoleParentAssignmentPayloadUserRoleParentAssignmentEdgeArgs = {
377
+ orderBy?: Maybe<Array<UserRoleParentAssignmentsOrderBy>>;
684
378
  };
685
- /** Methods to use when ordering `UserRoleParentAssignment`. */
686
- export declare enum UserRoleParentAssignmentsOrderBy {
687
- NATURAL = "NATURAL",
688
- ID_ASC = "ID_ASC",
689
- ID_DESC = "ID_DESC",
690
- USER_ROLE_ID_ASC = "USER_ROLE_ID_ASC",
691
- USER_ROLE_ID_DESC = "USER_ROLE_ID_DESC",
692
- PARENT_USER_ROLE_ID_ASC = "PARENT_USER_ROLE_ID_ASC",
693
- PARENT_USER_ROLE_ID_DESC = "PARENT_USER_ROLE_ID_DESC",
694
- TENANT_ID_ASC = "TENANT_ID_ASC",
695
- TENANT_ID_DESC = "TENANT_ID_DESC",
696
- ENVIRONMENT_ID_ASC = "ENVIRONMENT_ID_ASC",
697
- ENVIRONMENT_ID_DESC = "ENVIRONMENT_ID_DESC",
698
- CREATED_AT_ASC = "CREATED_AT_ASC",
699
- CREATED_AT_DESC = "CREATED_AT_DESC",
700
- CREATED_BY_ASC = "CREATED_BY_ASC",
701
- CREATED_BY_DESC = "CREATED_BY_DESC",
702
- UPDATED_AT_ASC = "UPDATED_AT_ASC",
703
- UPDATED_AT_DESC = "UPDATED_AT_DESC",
704
- UPDATED_BY_ASC = "UPDATED_BY_ASC",
705
- UPDATED_BY_DESC = "UPDATED_BY_DESC",
706
- PRIMARY_KEY_ASC = "PRIMARY_KEY_ASC",
707
- PRIMARY_KEY_DESC = "PRIMARY_KEY_DESC"
708
- }
709
- /**
710
- * A condition to be used against `UserRoleParentAssignment` object types. All
711
- * fields are tested for equality and combined with a logical ‘and.’
712
- */
713
- export type UserRoleParentAssignmentCondition = {
714
- /** Checks for equality with the object’s `id` field. */
715
- id?: Maybe<Scalars['UUID']>;
716
- /** Checks for equality with the object’s `userRoleId` field. */
717
- userRoleId?: Maybe<Scalars['UUID']>;
718
- /** Checks for equality with the object’s `parentUserRoleId` field. */
719
- parentUserRoleId?: Maybe<Scalars['UUID']>;
720
- /** Checks for equality with the object’s `tenantId` field. */
721
- tenantId?: Maybe<Scalars['UUID']>;
722
- /** Checks for equality with the object’s `environmentId` field. */
723
- environmentId?: Maybe<Scalars['UUID']>;
724
- /** Checks for equality with the object’s `createdAt` field. */
725
- createdAt?: Maybe<Scalars['Datetime']>;
726
- /** Checks for equality with the object’s `createdBy` field. */
727
- createdBy?: Maybe<Scalars['String']>;
728
- /** Checks for equality with the object’s `updatedAt` field. */
729
- updatedAt?: Maybe<Scalars['Datetime']>;
730
- /** Checks for equality with the object’s `updatedBy` field. */
731
- updatedBy?: Maybe<Scalars['String']>;
379
+ /** The output of our create `UserRole` mutation. */
380
+ export type CreateUserRolePayload = {
381
+ __typename?: 'CreateUserRolePayload';
382
+ /**
383
+ * The exact same `clientMutationId` that was provided in the mutation input,
384
+ * unchanged and unused. May be used by a client to track mutations.
385
+ */
386
+ clientMutationId?: Maybe<Scalars['String']>;
387
+ /** Our root query field type. Allows us to run any query from our mutation payload. */
388
+ query?: Maybe<Query>;
389
+ /** The `UserRole` that was created by this mutation. */
390
+ userRole?: Maybe<UserRole>;
391
+ /** An edge for our `UserRole`. May be used by Relay 1. */
392
+ userRoleEdge?: Maybe<UserRolesEdge>;
732
393
  };
733
- /** A filter to be used against `UserRoleParentAssignment` object types. All fields are combined with a logical ‘and.’ */
734
- export type UserRoleParentAssignmentFilter = {
735
- /** Filter by the object’s `id` field. */
736
- id?: Maybe<UuidFilter>;
737
- /** Filter by the object’s `userRoleId` field. */
738
- userRoleId?: Maybe<UuidFilter>;
739
- /** Filter by the object’s `parentUserRoleId` field. */
740
- parentUserRoleId?: Maybe<UuidFilter>;
741
- /** Filter by the object’s `tenantId` field. */
742
- tenantId?: Maybe<UuidFilter>;
743
- /** Filter by the object’s `environmentId` field. */
744
- environmentId?: Maybe<UuidFilter>;
745
- /** Filter by the object’s `createdAt` field. */
746
- createdAt?: Maybe<DatetimeFilter>;
747
- /** Filter by the object’s `createdBy` field. */
748
- createdBy?: Maybe<StringFilter>;
749
- /** Filter by the object’s `updatedAt` field. */
750
- updatedAt?: Maybe<DatetimeFilter>;
751
- /** Filter by the object’s `updatedBy` field. */
752
- updatedBy?: Maybe<StringFilter>;
753
- /** Filter by the object’s `parentUserRole` relation. */
754
- parentUserRole?: Maybe<UserRoleFilter>;
755
- /** Checks for all expressions in this list. */
756
- and?: Maybe<Array<UserRoleParentAssignmentFilter>>;
757
- /** Checks for any expressions in this list. */
758
- or?: Maybe<Array<UserRoleParentAssignmentFilter>>;
759
- /** Negates the expression. */
760
- not?: Maybe<UserRoleParentAssignmentFilter>;
394
+ /** The output of our create `UserRole` mutation. */
395
+ export type CreateUserRolePayloadUserRoleEdgeArgs = {
396
+ orderBy?: Maybe<Array<UserRolesOrderBy>>;
761
397
  };
762
- /** A filter to be used against `UserRole` object types. All fields are combined with a logical ‘and.’ */
763
- export type UserRoleFilter = {
764
- /** Filter by the object’s `id` field. */
765
- id?: Maybe<UuidFilter>;
766
- /** Filter by the object’s `name` field. */
767
- name?: Maybe<StringFilter>;
768
- /** Filter by the object’s `description` field. */
769
- description?: Maybe<StringFilter>;
770
- /** Filter by the object’s `tenantId` field. */
771
- tenantId?: Maybe<UuidFilter>;
772
- /** Filter by the object’s `environmentId` field. */
773
- environmentId?: Maybe<UuidFilter>;
774
- /** Filter by the object’s `createdAt` field. */
775
- createdAt?: Maybe<DatetimeFilter>;
776
- /** Filter by the object’s `createdBy` field. */
777
- createdBy?: Maybe<StringFilter>;
778
- /** Filter by the object’s `updatedAt` field. */
779
- updatedAt?: Maybe<DatetimeFilter>;
780
- /** Filter by the object’s `updatedBy` field. */
781
- updatedBy?: Maybe<StringFilter>;
782
- /** Filter by the object’s `userRoleParentAssignments` relation. */
783
- userRoleParentAssignments?: Maybe<UserRoleToManyUserRoleParentAssignmentFilter>;
784
- /** Some related `userRoleParentAssignments` exist. */
785
- userRoleParentAssignmentsExist?: Maybe<Scalars['Boolean']>;
786
- /** Filter by the object’s `userRoleAssignments` relation. */
787
- userRoleAssignments?: Maybe<UserRoleToManyUserRoleAssignmentFilter>;
788
- /** Some related `userRoleAssignments` exist. */
789
- userRoleAssignmentsExist?: Maybe<Scalars['Boolean']>;
790
- /** Filter by the object’s `userRolePermissionAssignments` relation. */
791
- userRolePermissionAssignments?: Maybe<UserRoleToManyUserRolePermissionAssignmentFilter>;
792
- /** Some related `userRolePermissionAssignments` exist. */
793
- userRolePermissionAssignmentsExist?: Maybe<Scalars['Boolean']>;
794
- /** Filter by the object’s `userRoleTagAssignments` relation. */
795
- userRoleTagAssignments?: Maybe<UserRoleToManyUserRoleTagAssignmentFilter>;
796
- /** Some related `userRoleTagAssignments` exist. */
797
- userRoleTagAssignmentsExist?: Maybe<Scalars['Boolean']>;
798
- /** Checks for all expressions in this list. */
799
- and?: Maybe<Array<UserRoleFilter>>;
800
- /** Checks for any expressions in this list. */
801
- or?: Maybe<Array<UserRoleFilter>>;
802
- /** Negates the expression. */
803
- not?: Maybe<UserRoleFilter>;
398
+ /** All input for the create `UserRolePermissionAssignment` mutation. */
399
+ export type CreateUserRolePermissionAssignmentInput = {
400
+ /**
401
+ * An arbitrary string value with no semantic meaning. Will be included in the
402
+ * payload verbatim. May be used to track mutations by the client.
403
+ */
404
+ clientMutationId?: Maybe<Scalars['String']>;
405
+ /** The `UserRolePermissionAssignment` to be created by this mutation. */
406
+ userRolePermissionAssignment: UserRolePermissionAssignmentInput;
804
407
  };
805
- /** A filter to be used against many `UserRoleParentAssignment` object types. All fields are combined with a logical ‘and.’ */
806
- export type UserRoleToManyUserRoleParentAssignmentFilter = {
807
- /** Every related `UserRoleParentAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
808
- every?: Maybe<UserRoleParentAssignmentFilter>;
809
- /** Some related `UserRoleParentAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
810
- some?: Maybe<UserRoleParentAssignmentFilter>;
811
- /** No related `UserRoleParentAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
812
- none?: Maybe<UserRoleParentAssignmentFilter>;
408
+ /** The output of our create `UserRolePermissionAssignment` mutation. */
409
+ export type CreateUserRolePermissionAssignmentPayload = {
410
+ __typename?: 'CreateUserRolePermissionAssignmentPayload';
411
+ /**
412
+ * The exact same `clientMutationId` that was provided in the mutation input,
413
+ * unchanged and unused. May be used by a client to track mutations.
414
+ */
415
+ clientMutationId?: Maybe<Scalars['String']>;
416
+ /** Reads a single `Permission` that is related to this `UserRolePermissionAssignment`. */
417
+ permission?: Maybe<Permission>;
418
+ /** Our root query field type. Allows us to run any query from our mutation payload. */
419
+ query?: Maybe<Query>;
420
+ /** Reads a single `UserRole` that is related to this `UserRolePermissionAssignment`. */
421
+ userRole?: Maybe<UserRole>;
422
+ /** The `UserRolePermissionAssignment` that was created by this mutation. */
423
+ userRolePermissionAssignment?: Maybe<UserRolePermissionAssignment>;
424
+ /** An edge for our `UserRolePermissionAssignment`. May be used by Relay 1. */
425
+ userRolePermissionAssignmentEdge?: Maybe<UserRolePermissionAssignmentsEdge>;
813
426
  };
814
- /** A filter to be used against many `UserRoleAssignment` object types. All fields are combined with a logical ‘and.’ */
815
- export type UserRoleToManyUserRoleAssignmentFilter = {
816
- /** Every related `UserRoleAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
817
- every?: Maybe<UserRoleAssignmentFilter>;
818
- /** Some related `UserRoleAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
819
- some?: Maybe<UserRoleAssignmentFilter>;
820
- /** No related `UserRoleAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
821
- none?: Maybe<UserRoleAssignmentFilter>;
427
+ /** The output of our create `UserRolePermissionAssignment` mutation. */
428
+ export type CreateUserRolePermissionAssignmentPayloadUserRolePermissionAssignmentEdgeArgs = {
429
+ orderBy?: Maybe<Array<UserRolePermissionAssignmentsOrderBy>>;
822
430
  };
823
- /** A filter to be used against `UserRoleAssignment` object types. All fields are combined with a logical ‘and.’ */
824
- export type UserRoleAssignmentFilter = {
825
- /** Filter by the object’s `id` field. */
826
- id?: Maybe<UuidFilter>;
827
- /** Filter by the object’s `userId` field. */
828
- userId?: Maybe<UuidFilter>;
829
- /** Filter by the object’s `userRoleId` field. */
830
- userRoleId?: Maybe<UuidFilter>;
831
- /** Filter by the object’s `tenantId` field. */
832
- tenantId?: Maybe<UuidFilter>;
833
- /** Filter by the object’s `environmentId` field. */
834
- environmentId?: Maybe<UuidFilter>;
835
- /** Filter by the object’s `createdAt` field. */
836
- createdAt?: Maybe<DatetimeFilter>;
837
- /** Filter by the object’s `createdBy` field. */
838
- createdBy?: Maybe<StringFilter>;
839
- /** Filter by the object’s `updatedAt` field. */
840
- updatedAt?: Maybe<DatetimeFilter>;
841
- /** Filter by the object’s `updatedBy` field. */
842
- updatedBy?: Maybe<StringFilter>;
843
- /** Filter by the object’s `user` relation. */
844
- user?: Maybe<UserFilter>;
845
- /** Filter by the object’s `userRole` relation. */
846
- userRole?: Maybe<UserRoleFilter>;
847
- /** Checks for all expressions in this list. */
848
- and?: Maybe<Array<UserRoleAssignmentFilter>>;
849
- /** Checks for any expressions in this list. */
850
- or?: Maybe<Array<UserRoleAssignmentFilter>>;
851
- /** Negates the expression. */
852
- not?: Maybe<UserRoleAssignmentFilter>;
431
+ /** All input for the create `UserRoleTagAssignment` mutation. */
432
+ export type CreateUserRoleTagAssignmentInput = {
433
+ /**
434
+ * An arbitrary string value with no semantic meaning. Will be included in the
435
+ * payload verbatim. May be used to track mutations by the client.
436
+ */
437
+ clientMutationId?: Maybe<Scalars['String']>;
438
+ /** The `UserRoleTagAssignment` to be created by this mutation. */
439
+ userRoleTagAssignment: UserRoleTagAssignmentInput;
853
440
  };
854
- /** A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ */
855
- export type UserFilter = {
856
- /** Filter by the object’s `id` field. */
857
- id?: Maybe<UuidFilter>;
858
- /** Filter by the object’s `name` field. */
859
- name?: Maybe<StringFilter>;
860
- /** Filter by the object’s `profilePictureUrl` field. */
861
- profilePictureUrl?: Maybe<StringFilter>;
862
- /** Filter by the object’s `email` field. */
863
- email?: Maybe<StringFilter>;
864
- /** Filter by the object’s `status` field. */
865
- status?: Maybe<UserStatusFilter>;
866
- /** Filter by the object’s `tenantId` field. */
867
- tenantId?: Maybe<UuidFilter>;
868
- /** Filter by the object’s `environmentId` field. */
869
- environmentId?: Maybe<UuidFilter>;
870
- /** Filter by the object’s `createdAt` field. */
871
- createdAt?: Maybe<DatetimeFilter>;
872
- /** Filter by the object’s `createdBy` field. */
873
- createdBy?: Maybe<StringFilter>;
874
- /** Filter by the object’s `updatedAt` field. */
875
- updatedAt?: Maybe<DatetimeFilter>;
876
- /** Filter by the object’s `updatedBy` field. */
877
- updatedBy?: Maybe<StringFilter>;
878
- /** Filter by the object’s `userRoleAssignments` relation. */
879
- userRoleAssignments?: Maybe<UserToManyUserRoleAssignmentFilter>;
880
- /** Some related `userRoleAssignments` exist. */
881
- userRoleAssignmentsExist?: Maybe<Scalars['Boolean']>;
882
- /** Checks for all expressions in this list. */
883
- and?: Maybe<Array<UserFilter>>;
884
- /** Checks for any expressions in this list. */
885
- or?: Maybe<Array<UserFilter>>;
886
- /** Negates the expression. */
887
- not?: Maybe<UserFilter>;
441
+ /** The output of our create `UserRoleTagAssignment` mutation. */
442
+ export type CreateUserRoleTagAssignmentPayload = {
443
+ __typename?: 'CreateUserRoleTagAssignmentPayload';
444
+ /**
445
+ * The exact same `clientMutationId` that was provided in the mutation input,
446
+ * unchanged and unused. May be used by a client to track mutations.
447
+ */
448
+ clientMutationId?: Maybe<Scalars['String']>;
449
+ /** Our root query field type. Allows us to run any query from our mutation payload. */
450
+ query?: Maybe<Query>;
451
+ /** Reads a single `UserRole` that is related to this `UserRoleTagAssignment`. */
452
+ userRole?: Maybe<UserRole>;
453
+ /** The `UserRoleTagAssignment` that was created by this mutation. */
454
+ userRoleTagAssignment?: Maybe<UserRoleTagAssignment>;
455
+ /** An edge for our `UserRoleTagAssignment`. May be used by Relay 1. */
456
+ userRoleTagAssignmentEdge?: Maybe<UserRoleTagAssignmentsEdge>;
888
457
  };
889
- /** A filter to be used against UserStatus fields. All fields are combined with a logical ‘and.’ */
890
- export type UserStatusFilter = {
891
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
892
- isNull?: Maybe<Scalars['Boolean']>;
893
- /** Equal to the specified value. */
894
- equalTo?: Maybe<UserStatus>;
895
- /** Not equal to the specified value. */
896
- notEqualTo?: Maybe<UserStatus>;
458
+ /** The output of our create `UserRoleTagAssignment` mutation. */
459
+ export type CreateUserRoleTagAssignmentPayloadUserRoleTagAssignmentEdgeArgs = {
460
+ orderBy?: Maybe<Array<UserRoleTagAssignmentsOrderBy>>;
461
+ };
462
+ /** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */
463
+ export type DatetimeFilter = {
897
464
  /** Not equal to the specified value, treating null like an ordinary value. */
898
- distinctFrom?: Maybe<UserStatus>;
899
- /** Equal to the specified value, treating null like an ordinary value. */
900
- notDistinctFrom?: Maybe<UserStatus>;
465
+ distinctFrom?: Maybe<Scalars['Datetime']>;
466
+ /** Equal to the specified value. */
467
+ equalTo?: Maybe<Scalars['Datetime']>;
468
+ /** Greater than the specified value. */
469
+ greaterThan?: Maybe<Scalars['Datetime']>;
470
+ /** Greater than or equal to the specified value. */
471
+ greaterThanOrEqualTo?: Maybe<Scalars['Datetime']>;
901
472
  /** Included in the specified list. */
902
- in?: Maybe<Array<UserStatus>>;
903
- /** Not included in the specified list. */
904
- notIn?: Maybe<Array<UserStatus>>;
473
+ in?: Maybe<Array<Scalars['Datetime']>>;
474
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
475
+ isNull?: Maybe<Scalars['Boolean']>;
905
476
  /** Less than the specified value. */
906
- lessThan?: Maybe<UserStatus>;
477
+ lessThan?: Maybe<Scalars['Datetime']>;
907
478
  /** Less than or equal to the specified value. */
908
- lessThanOrEqualTo?: Maybe<UserStatus>;
909
- /** Greater than the specified value. */
910
- greaterThan?: Maybe<UserStatus>;
911
- /** Greater than or equal to the specified value. */
912
- greaterThanOrEqualTo?: Maybe<UserStatus>;
479
+ lessThanOrEqualTo?: Maybe<Scalars['Datetime']>;
480
+ /** Equal to the specified value, treating null like an ordinary value. */
481
+ notDistinctFrom?: Maybe<Scalars['Datetime']>;
482
+ /** Not equal to the specified value. */
483
+ notEqualTo?: Maybe<Scalars['Datetime']>;
484
+ /** Not included in the specified list. */
485
+ notIn?: Maybe<Array<Scalars['Datetime']>>;
913
486
  };
914
- export declare enum UserStatus {
915
- /** Active */
916
- ACTIVE = "ACTIVE",
917
- /** Blocked */
918
- BLOCKED = "BLOCKED"
919
- }
920
- /** A filter to be used against many `UserRoleAssignment` object types. All fields are combined with a logical ‘and.’ */
921
- export type UserToManyUserRoleAssignmentFilter = {
922
- /** Every related `UserRoleAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
923
- every?: Maybe<UserRoleAssignmentFilter>;
924
- /** Some related `UserRoleAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
925
- some?: Maybe<UserRoleAssignmentFilter>;
926
- /** No related `UserRoleAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
927
- none?: Maybe<UserRoleAssignmentFilter>;
487
+ /** All input for the `deleteUser` mutation. */
488
+ export type DeleteUserInput = {
489
+ /**
490
+ * An arbitrary string value with no semantic meaning. Will be included in the
491
+ * payload verbatim. May be used to track mutations by the client.
492
+ */
493
+ clientMutationId?: Maybe<Scalars['String']>;
494
+ id: Scalars['UUID'];
928
495
  };
929
- /** A filter to be used against many `UserRolePermissionAssignment` object types. All fields are combined with a logical ‘and.’ */
930
- export type UserRoleToManyUserRolePermissionAssignmentFilter = {
931
- /** Every related `UserRolePermissionAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
932
- every?: Maybe<UserRolePermissionAssignmentFilter>;
933
- /** Some related `UserRolePermissionAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
934
- some?: Maybe<UserRolePermissionAssignmentFilter>;
935
- /** No related `UserRolePermissionAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
936
- none?: Maybe<UserRolePermissionAssignmentFilter>;
496
+ /** The output of our delete `User` mutation. */
497
+ export type DeleteUserPayload = {
498
+ __typename?: 'DeleteUserPayload';
499
+ /**
500
+ * The exact same `clientMutationId` that was provided in the mutation input,
501
+ * unchanged and unused. May be used by a client to track mutations.
502
+ */
503
+ clientMutationId?: Maybe<Scalars['String']>;
504
+ /** @deprecated The field is obsolete. */
505
+ deletedUserNodeId?: Maybe<Scalars['ID']>;
506
+ /** Our root query field type. Allows us to run any query from our mutation payload. */
507
+ query?: Maybe<Query>;
508
+ /** The `User` that was deleted by this mutation. */
509
+ user?: Maybe<User>;
510
+ /** An edge for our `User`. May be used by Relay 1. */
511
+ userEdge?: Maybe<UsersEdge>;
937
512
  };
938
- /** A filter to be used against `UserRolePermissionAssignment` object types. All fields are combined with a logical ‘and.’ */
939
- export type UserRolePermissionAssignmentFilter = {
940
- /** Filter by the object’s `id` field. */
941
- id?: Maybe<UuidFilter>;
942
- /** Filter by the object’s `userRoleId` field. */
943
- userRoleId?: Maybe<UuidFilter>;
944
- /** Filter by the object’s `permissionId` field. */
945
- permissionId?: Maybe<UuidFilter>;
946
- /** Filter by the object’s `tenantId` field. */
947
- tenantId?: Maybe<UuidFilter>;
948
- /** Filter by the object’s `environmentId` field. */
949
- environmentId?: Maybe<UuidFilter>;
950
- /** Filter by the object’s `createdAt` field. */
951
- createdAt?: Maybe<DatetimeFilter>;
952
- /** Filter by the object’s `createdBy` field. */
953
- createdBy?: Maybe<StringFilter>;
954
- /** Filter by the object’s `updatedAt` field. */
955
- updatedAt?: Maybe<DatetimeFilter>;
956
- /** Filter by the object’s `updatedBy` field. */
957
- updatedBy?: Maybe<StringFilter>;
958
- /** Filter by the object’s `userRole` relation. */
959
- userRole?: Maybe<UserRoleFilter>;
960
- /** Filter by the object’s `permission` relation. */
961
- permission?: Maybe<PermissionFilter>;
962
- /** Checks for all expressions in this list. */
963
- and?: Maybe<Array<UserRolePermissionAssignmentFilter>>;
964
- /** Checks for any expressions in this list. */
965
- or?: Maybe<Array<UserRolePermissionAssignmentFilter>>;
966
- /** Negates the expression. */
967
- not?: Maybe<UserRolePermissionAssignmentFilter>;
513
+ /** The output of our delete `User` mutation. */
514
+ export type DeleteUserPayloadUserEdgeArgs = {
515
+ orderBy?: Maybe<Array<UsersOrderBy>>;
968
516
  };
969
- /** A filter to be used against `Permission` object types. All fields are combined with a logical ‘and.’ */
970
- export type PermissionFilter = {
971
- /** Filter by the object’s `id` field. */
972
- id?: Maybe<UuidFilter>;
973
- /** Filter by the object’s `serviceId` field. */
974
- serviceId?: Maybe<StringFilter>;
975
- /** Filter by the object’s `name` field. */
976
- name?: Maybe<StringFilter>;
977
- /** Filter by the object’s `fromManagedService` field. */
978
- fromManagedService?: Maybe<BooleanFilter>;
979
- /** Filter by the object’s `tenantId` field. */
980
- tenantId?: Maybe<UuidFilter>;
981
- /** Filter by the object’s `environmentId` field. */
982
- environmentId?: Maybe<UuidFilter>;
983
- /** Filter by the object’s `createdAt` field. */
984
- createdAt?: Maybe<DatetimeFilter>;
985
- /** Filter by the object’s `createdBy` field. */
986
- createdBy?: Maybe<StringFilter>;
987
- /** Filter by the object’s `updatedAt` field. */
988
- updatedAt?: Maybe<DatetimeFilter>;
989
- /** Filter by the object’s `updatedBy` field. */
990
- updatedBy?: Maybe<StringFilter>;
991
- /** Filter by the object’s `title` field. */
992
- title?: Maybe<StringFilter>;
993
- /** Filter by the object’s `usedByManagedServiceOnly` field. */
994
- usedByManagedServiceOnly?: Maybe<BooleanFilter>;
995
- /** Filter by the object’s `usedForDevelopment` field. */
996
- usedForDevelopment?: Maybe<BooleanFilter>;
997
- /** Filter by the object’s `userRolePermissionAssignments` relation. */
998
- userRolePermissionAssignments?: Maybe<PermissionToManyUserRolePermissionAssignmentFilter>;
999
- /** Some related `userRolePermissionAssignments` exist. */
1000
- userRolePermissionAssignmentsExist?: Maybe<Scalars['Boolean']>;
1001
- /** Checks for all expressions in this list. */
1002
- and?: Maybe<Array<PermissionFilter>>;
1003
- /** Checks for any expressions in this list. */
1004
- or?: Maybe<Array<PermissionFilter>>;
1005
- /** Negates the expression. */
1006
- not?: Maybe<PermissionFilter>;
1007
- };
1008
- /** A filter to be used against many `UserRolePermissionAssignment` object types. All fields are combined with a logical ‘and.’ */
1009
- export type PermissionToManyUserRolePermissionAssignmentFilter = {
1010
- /** Every related `UserRolePermissionAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
1011
- every?: Maybe<UserRolePermissionAssignmentFilter>;
1012
- /** Some related `UserRolePermissionAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
1013
- some?: Maybe<UserRolePermissionAssignmentFilter>;
1014
- /** No related `UserRolePermissionAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
1015
- none?: Maybe<UserRolePermissionAssignmentFilter>;
1016
- };
1017
- /** A filter to be used against many `UserRoleTagAssignment` object types. All fields are combined with a logical ‘and.’ */
1018
- export type UserRoleToManyUserRoleTagAssignmentFilter = {
1019
- /** Every related `UserRoleTagAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
1020
- every?: Maybe<UserRoleTagAssignmentFilter>;
1021
- /** Some related `UserRoleTagAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
1022
- some?: Maybe<UserRoleTagAssignmentFilter>;
1023
- /** No related `UserRoleTagAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
1024
- none?: Maybe<UserRoleTagAssignmentFilter>;
1025
- };
1026
- /** A filter to be used against `UserRoleTagAssignment` object types. All fields are combined with a logical ‘and.’ */
1027
- export type UserRoleTagAssignmentFilter = {
1028
- /** Filter by the object’s `userRoleId` field. */
1029
- userRoleId?: Maybe<UuidFilter>;
1030
- /** Filter by the object’s `tag` field. */
1031
- tag?: Maybe<StringFilter>;
1032
- /** Filter by the object’s `tenantId` field. */
1033
- tenantId?: Maybe<UuidFilter>;
1034
- /** Filter by the object’s `environmentId` field. */
1035
- environmentId?: Maybe<UuidFilter>;
1036
- /** Filter by the object’s `createdAt` field. */
1037
- createdAt?: Maybe<DatetimeFilter>;
1038
- /** Filter by the object’s `createdBy` field. */
1039
- createdBy?: Maybe<StringFilter>;
1040
- /** Filter by the object’s `updatedAt` field. */
1041
- updatedAt?: Maybe<DatetimeFilter>;
1042
- /** Filter by the object’s `updatedBy` field. */
1043
- updatedBy?: Maybe<StringFilter>;
1044
- /** Filter by the object’s `userRole` relation. */
1045
- userRole?: Maybe<UserRoleFilter>;
1046
- /** Checks for all expressions in this list. */
1047
- and?: Maybe<Array<UserRoleTagAssignmentFilter>>;
1048
- /** Checks for any expressions in this list. */
1049
- or?: Maybe<Array<UserRoleTagAssignmentFilter>>;
1050
- /** Negates the expression. */
1051
- not?: Maybe<UserRoleTagAssignmentFilter>;
1052
- };
1053
- /** A connection to a list of `UserRoleAssignment` values. */
1054
- export type UserRoleAssignmentsConnection = {
1055
- __typename?: 'UserRoleAssignmentsConnection';
1056
- /** A list of `UserRoleAssignment` objects. */
1057
- nodes: Array<UserRoleAssignment>;
1058
- /** A list of edges which contains the `UserRoleAssignment` and cursor to aid in pagination. */
1059
- edges: Array<UserRoleAssignmentsEdge>;
1060
- /** Information to aid in pagination. */
1061
- pageInfo: PageInfo;
1062
- /** The count of *all* `UserRoleAssignment` you could get from the connection. */
1063
- totalCount: Scalars['Int'];
1064
- };
1065
- export type UserRoleAssignment = {
1066
- __typename?: 'UserRoleAssignment';
517
+ /** All input for the `deleteUserRoleAssignment` mutation. */
518
+ export type DeleteUserRoleAssignmentInput = {
519
+ /**
520
+ * An arbitrary string value with no semantic meaning. Will be included in the
521
+ * payload verbatim. May be used to track mutations by the client.
522
+ */
523
+ clientMutationId?: Maybe<Scalars['String']>;
1067
524
  id: Scalars['UUID'];
1068
- userId: Scalars['UUID'];
1069
- userRoleId: Scalars['UUID'];
1070
- tenantId: Scalars['UUID'];
1071
- environmentId: Scalars['UUID'];
1072
- createdAt: Scalars['Datetime'];
1073
- createdBy: Scalars['String'];
1074
- updatedAt: Scalars['Datetime'];
1075
- updatedBy: Scalars['String'];
525
+ };
526
+ /** The output of our delete `UserRoleAssignment` mutation. */
527
+ export type DeleteUserRoleAssignmentPayload = {
528
+ __typename?: 'DeleteUserRoleAssignmentPayload';
529
+ /**
530
+ * The exact same `clientMutationId` that was provided in the mutation input,
531
+ * unchanged and unused. May be used by a client to track mutations.
532
+ */
533
+ clientMutationId?: Maybe<Scalars['String']>;
534
+ /** @deprecated The field is obsolete. */
535
+ deletedUserRoleAssignmentNodeId?: Maybe<Scalars['ID']>;
536
+ /** Our root query field type. Allows us to run any query from our mutation payload. */
537
+ query?: Maybe<Query>;
1076
538
  /** Reads a single `User` that is related to this `UserRoleAssignment`. */
1077
539
  user?: Maybe<User>;
1078
540
  /** Reads a single `UserRole` that is related to this `UserRoleAssignment`. */
1079
541
  userRole?: Maybe<UserRole>;
542
+ /** The `UserRoleAssignment` that was deleted by this mutation. */
543
+ userRoleAssignment?: Maybe<UserRoleAssignment>;
544
+ /** An edge for our `UserRoleAssignment`. May be used by Relay 1. */
545
+ userRoleAssignmentEdge?: Maybe<UserRoleAssignmentsEdge>;
1080
546
  };
1081
- export type User = {
1082
- __typename?: 'User';
547
+ /** The output of our delete `UserRoleAssignment` mutation. */
548
+ export type DeleteUserRoleAssignmentPayloadUserRoleAssignmentEdgeArgs = {
549
+ orderBy?: Maybe<Array<UserRoleAssignmentsOrderBy>>;
550
+ };
551
+ /** All input for the `deleteUserRole` mutation. */
552
+ export type DeleteUserRoleInput = {
553
+ /**
554
+ * An arbitrary string value with no semantic meaning. Will be included in the
555
+ * payload verbatim. May be used to track mutations by the client.
556
+ */
557
+ clientMutationId?: Maybe<Scalars['String']>;
1083
558
  id: Scalars['UUID'];
1084
- name: Scalars['String'];
1085
- profilePictureUrl?: Maybe<Scalars['String']>;
1086
- email: Scalars['String'];
1087
- status: UserStatus;
1088
- tenantId: Scalars['UUID'];
1089
- environmentId: Scalars['UUID'];
1090
- createdAt: Scalars['Datetime'];
1091
- createdBy: Scalars['String'];
1092
- updatedAt: Scalars['Datetime'];
1093
- updatedBy: Scalars['String'];
1094
- /** Reads and enables pagination through a set of `UserRoleAssignment`. */
1095
- userRoleAssignments: UserRoleAssignmentsConnection;
1096
559
  };
1097
- export type UserUserRoleAssignmentsArgs = {
1098
- first?: Maybe<Scalars['Int']>;
1099
- last?: Maybe<Scalars['Int']>;
1100
- offset?: Maybe<Scalars['Int']>;
1101
- before?: Maybe<Scalars['Cursor']>;
1102
- after?: Maybe<Scalars['Cursor']>;
1103
- orderBy?: Maybe<Array<UserRoleAssignmentsOrderBy>>;
1104
- condition?: Maybe<UserRoleAssignmentCondition>;
1105
- filter?: Maybe<UserRoleAssignmentFilter>;
560
+ /** All input for the `deleteUserRoleParentAssignment` mutation. */
561
+ export type DeleteUserRoleParentAssignmentInput = {
562
+ /**
563
+ * An arbitrary string value with no semantic meaning. Will be included in the
564
+ * payload verbatim. May be used to track mutations by the client.
565
+ */
566
+ clientMutationId?: Maybe<Scalars['String']>;
567
+ id: Scalars['UUID'];
1106
568
  };
1107
- /** Methods to use when ordering `UserRoleAssignment`. */
1108
- export declare enum UserRoleAssignmentsOrderBy {
1109
- NATURAL = "NATURAL",
1110
- ID_ASC = "ID_ASC",
1111
- ID_DESC = "ID_DESC",
1112
- USER_ID_ASC = "USER_ID_ASC",
1113
- USER_ID_DESC = "USER_ID_DESC",
1114
- USER_ROLE_ID_ASC = "USER_ROLE_ID_ASC",
1115
- USER_ROLE_ID_DESC = "USER_ROLE_ID_DESC",
1116
- TENANT_ID_ASC = "TENANT_ID_ASC",
1117
- TENANT_ID_DESC = "TENANT_ID_DESC",
1118
- ENVIRONMENT_ID_ASC = "ENVIRONMENT_ID_ASC",
1119
- ENVIRONMENT_ID_DESC = "ENVIRONMENT_ID_DESC",
1120
- CREATED_AT_ASC = "CREATED_AT_ASC",
1121
- CREATED_AT_DESC = "CREATED_AT_DESC",
1122
- CREATED_BY_ASC = "CREATED_BY_ASC",
1123
- CREATED_BY_DESC = "CREATED_BY_DESC",
1124
- UPDATED_AT_ASC = "UPDATED_AT_ASC",
1125
- UPDATED_AT_DESC = "UPDATED_AT_DESC",
1126
- UPDATED_BY_ASC = "UPDATED_BY_ASC",
1127
- UPDATED_BY_DESC = "UPDATED_BY_DESC",
1128
- PRIMARY_KEY_ASC = "PRIMARY_KEY_ASC",
1129
- PRIMARY_KEY_DESC = "PRIMARY_KEY_DESC"
1130
- }
1131
- /**
1132
- * A condition to be used against `UserRoleAssignment` object types. All fields are
1133
- * tested for equality and combined with a logical ‘and.’
1134
- */
1135
- export type UserRoleAssignmentCondition = {
1136
- /** Checks for equality with the object’s `id` field. */
1137
- id?: Maybe<Scalars['UUID']>;
1138
- /** Checks for equality with the object’s `userId` field. */
1139
- userId?: Maybe<Scalars['UUID']>;
1140
- /** Checks for equality with the object’s `userRoleId` field. */
1141
- userRoleId?: Maybe<Scalars['UUID']>;
1142
- /** Checks for equality with the object’s `tenantId` field. */
1143
- tenantId?: Maybe<Scalars['UUID']>;
1144
- /** Checks for equality with the object’s `environmentId` field. */
1145
- environmentId?: Maybe<Scalars['UUID']>;
1146
- /** Checks for equality with the object’s `createdAt` field. */
1147
- createdAt?: Maybe<Scalars['Datetime']>;
1148
- /** Checks for equality with the object’s `createdBy` field. */
1149
- createdBy?: Maybe<Scalars['String']>;
1150
- /** Checks for equality with the object’s `updatedAt` field. */
1151
- updatedAt?: Maybe<Scalars['Datetime']>;
1152
- /** Checks for equality with the object’s `updatedBy` field. */
1153
- updatedBy?: Maybe<Scalars['String']>;
569
+ /** The output of our delete `UserRoleParentAssignment` mutation. */
570
+ export type DeleteUserRoleParentAssignmentPayload = {
571
+ __typename?: 'DeleteUserRoleParentAssignmentPayload';
572
+ /**
573
+ * The exact same `clientMutationId` that was provided in the mutation input,
574
+ * unchanged and unused. May be used by a client to track mutations.
575
+ */
576
+ clientMutationId?: Maybe<Scalars['String']>;
577
+ /** @deprecated The field is obsolete. */
578
+ deletedUserRoleParentNodeId?: Maybe<Scalars['ID']>;
579
+ /** Reads a single `UserRole` that is related to this `UserRoleParentAssignment`. */
580
+ parentUserRole?: Maybe<UserRole>;
581
+ /** Our root query field type. Allows us to run any query from our mutation payload. */
582
+ query?: Maybe<Query>;
583
+ /** The `UserRoleParentAssignment` that was deleted by this mutation. */
584
+ userRoleParentAssignment?: Maybe<UserRoleParentAssignment>;
585
+ /** An edge for our `UserRoleParentAssignment`. May be used by Relay 1. */
586
+ userRoleParentAssignmentEdge?: Maybe<UserRoleParentAssignmentsEdge>;
1154
587
  };
1155
- /** A `UserRoleAssignment` edge in the connection. */
1156
- export type UserRoleAssignmentsEdge = {
1157
- __typename?: 'UserRoleAssignmentsEdge';
1158
- /** A cursor for use in pagination. */
1159
- cursor?: Maybe<Scalars['Cursor']>;
1160
- /** The `UserRoleAssignment` at the end of the edge. */
1161
- node: UserRoleAssignment;
588
+ /** The output of our delete `UserRoleParentAssignment` mutation. */
589
+ export type DeleteUserRoleParentAssignmentPayloadUserRoleParentAssignmentEdgeArgs = {
590
+ orderBy?: Maybe<Array<UserRoleParentAssignmentsOrderBy>>;
1162
591
  };
1163
- /** Methods to use when ordering `UserRolePermissionAssignment`. */
1164
- export declare enum UserRolePermissionAssignmentsOrderBy {
1165
- NATURAL = "NATURAL",
1166
- ID_ASC = "ID_ASC",
1167
- ID_DESC = "ID_DESC",
1168
- USER_ROLE_ID_ASC = "USER_ROLE_ID_ASC",
1169
- USER_ROLE_ID_DESC = "USER_ROLE_ID_DESC",
1170
- PERMISSION_ID_ASC = "PERMISSION_ID_ASC",
1171
- PERMISSION_ID_DESC = "PERMISSION_ID_DESC",
1172
- TENANT_ID_ASC = "TENANT_ID_ASC",
1173
- TENANT_ID_DESC = "TENANT_ID_DESC",
1174
- ENVIRONMENT_ID_ASC = "ENVIRONMENT_ID_ASC",
1175
- ENVIRONMENT_ID_DESC = "ENVIRONMENT_ID_DESC",
1176
- CREATED_AT_ASC = "CREATED_AT_ASC",
1177
- CREATED_AT_DESC = "CREATED_AT_DESC",
1178
- CREATED_BY_ASC = "CREATED_BY_ASC",
1179
- CREATED_BY_DESC = "CREATED_BY_DESC",
1180
- UPDATED_AT_ASC = "UPDATED_AT_ASC",
1181
- UPDATED_AT_DESC = "UPDATED_AT_DESC",
1182
- UPDATED_BY_ASC = "UPDATED_BY_ASC",
1183
- UPDATED_BY_DESC = "UPDATED_BY_DESC",
1184
- PRIMARY_KEY_ASC = "PRIMARY_KEY_ASC",
1185
- PRIMARY_KEY_DESC = "PRIMARY_KEY_DESC"
1186
- }
1187
- /**
1188
- * A condition to be used against `UserRolePermissionAssignment` object types. All
1189
- * fields are tested for equality and combined with a logical ‘and.’
1190
- */
1191
- export type UserRolePermissionAssignmentCondition = {
1192
- /** Checks for equality with the object’s `id` field. */
1193
- id?: Maybe<Scalars['UUID']>;
1194
- /** Checks for equality with the object’s `userRoleId` field. */
1195
- userRoleId?: Maybe<Scalars['UUID']>;
1196
- /** Checks for equality with the object’s `permissionId` field. */
1197
- permissionId?: Maybe<Scalars['UUID']>;
1198
- /** Checks for equality with the object’s `tenantId` field. */
1199
- tenantId?: Maybe<Scalars['UUID']>;
1200
- /** Checks for equality with the object’s `environmentId` field. */
1201
- environmentId?: Maybe<Scalars['UUID']>;
1202
- /** Checks for equality with the object’s `createdAt` field. */
1203
- createdAt?: Maybe<Scalars['Datetime']>;
1204
- /** Checks for equality with the object’s `createdBy` field. */
1205
- createdBy?: Maybe<Scalars['String']>;
1206
- /** Checks for equality with the object’s `updatedAt` field. */
1207
- updatedAt?: Maybe<Scalars['Datetime']>;
1208
- /** Checks for equality with the object’s `updatedBy` field. */
1209
- updatedBy?: Maybe<Scalars['String']>;
592
+ /** The output of our delete `UserRole` mutation. */
593
+ export type DeleteUserRolePayload = {
594
+ __typename?: 'DeleteUserRolePayload';
595
+ /**
596
+ * The exact same `clientMutationId` that was provided in the mutation input,
597
+ * unchanged and unused. May be used by a client to track mutations.
598
+ */
599
+ clientMutationId?: Maybe<Scalars['String']>;
600
+ /** @deprecated The field is obsolete. */
601
+ deletedUserRoleNodeId?: Maybe<Scalars['ID']>;
602
+ /** Our root query field type. Allows us to run any query from our mutation payload. */
603
+ query?: Maybe<Query>;
604
+ /** The `UserRole` that was deleted by this mutation. */
605
+ userRole?: Maybe<UserRole>;
606
+ /** An edge for our `UserRole`. May be used by Relay 1. */
607
+ userRoleEdge?: Maybe<UserRolesEdge>;
1210
608
  };
1211
- /** A connection to a list of `UserRoleTagAssignment` values. */
1212
- export type UserRoleTagAssignmentsConnection = {
1213
- __typename?: 'UserRoleTagAssignmentsConnection';
1214
- /** A list of `UserRoleTagAssignment` objects. */
1215
- nodes: Array<UserRoleTagAssignment>;
1216
- /** A list of edges which contains the `UserRoleTagAssignment` and cursor to aid in pagination. */
1217
- edges: Array<UserRoleTagAssignmentsEdge>;
1218
- /** Information to aid in pagination. */
1219
- pageInfo: PageInfo;
1220
- /** The count of *all* `UserRoleTagAssignment` you could get from the connection. */
1221
- totalCount: Scalars['Int'];
609
+ /** The output of our delete `UserRole` mutation. */
610
+ export type DeleteUserRolePayloadUserRoleEdgeArgs = {
611
+ orderBy?: Maybe<Array<UserRolesOrderBy>>;
1222
612
  };
1223
- export type UserRoleTagAssignment = {
1224
- __typename?: 'UserRoleTagAssignment';
1225
- userRoleId: Scalars['UUID'];
613
+ /** All input for the `deleteUserRolePermissionAssignment` mutation. */
614
+ export type DeleteUserRolePermissionAssignmentInput = {
615
+ /**
616
+ * An arbitrary string value with no semantic meaning. Will be included in the
617
+ * payload verbatim. May be used to track mutations by the client.
618
+ */
619
+ clientMutationId?: Maybe<Scalars['String']>;
620
+ id: Scalars['UUID'];
621
+ };
622
+ /** The output of our delete `UserRolePermissionAssignment` mutation. */
623
+ export type DeleteUserRolePermissionAssignmentPayload = {
624
+ __typename?: 'DeleteUserRolePermissionAssignmentPayload';
625
+ /**
626
+ * The exact same `clientMutationId` that was provided in the mutation input,
627
+ * unchanged and unused. May be used by a client to track mutations.
628
+ */
629
+ clientMutationId?: Maybe<Scalars['String']>;
630
+ /** @deprecated The field is obsolete. */
631
+ deletedUserRolePermissionNodeId?: Maybe<Scalars['ID']>;
632
+ /** Reads a single `Permission` that is related to this `UserRolePermissionAssignment`. */
633
+ permission?: Maybe<Permission>;
634
+ /** Our root query field type. Allows us to run any query from our mutation payload. */
635
+ query?: Maybe<Query>;
636
+ /** Reads a single `UserRole` that is related to this `UserRolePermissionAssignment`. */
637
+ userRole?: Maybe<UserRole>;
638
+ /** The `UserRolePermissionAssignment` that was deleted by this mutation. */
639
+ userRolePermissionAssignment?: Maybe<UserRolePermissionAssignment>;
640
+ /** An edge for our `UserRolePermissionAssignment`. May be used by Relay 1. */
641
+ userRolePermissionAssignmentEdge?: Maybe<UserRolePermissionAssignmentsEdge>;
642
+ };
643
+ /** The output of our delete `UserRolePermissionAssignment` mutation. */
644
+ export type DeleteUserRolePermissionAssignmentPayloadUserRolePermissionAssignmentEdgeArgs = {
645
+ orderBy?: Maybe<Array<UserRolePermissionAssignmentsOrderBy>>;
646
+ };
647
+ /** All input for the `deleteUserRoleTagAssignment` mutation. */
648
+ export type DeleteUserRoleTagAssignmentInput = {
649
+ /**
650
+ * An arbitrary string value with no semantic meaning. Will be included in the
651
+ * payload verbatim. May be used to track mutations by the client.
652
+ */
653
+ clientMutationId?: Maybe<Scalars['String']>;
654
+ environmentId: Scalars['UUID'];
1226
655
  tag: Scalars['String'];
1227
656
  tenantId: Scalars['UUID'];
1228
- environmentId: Scalars['UUID'];
1229
- createdAt: Scalars['Datetime'];
1230
- createdBy: Scalars['String'];
1231
- updatedAt: Scalars['Datetime'];
1232
- updatedBy: Scalars['String'];
657
+ userRoleId: Scalars['UUID'];
658
+ };
659
+ /** The output of our delete `UserRoleTagAssignment` mutation. */
660
+ export type DeleteUserRoleTagAssignmentPayload = {
661
+ __typename?: 'DeleteUserRoleTagAssignmentPayload';
662
+ /**
663
+ * The exact same `clientMutationId` that was provided in the mutation input,
664
+ * unchanged and unused. May be used by a client to track mutations.
665
+ */
666
+ clientMutationId?: Maybe<Scalars['String']>;
667
+ /** @deprecated The field is obsolete. */
668
+ deletedUserRoleTagNodeId?: Maybe<Scalars['ID']>;
669
+ /** Our root query field type. Allows us to run any query from our mutation payload. */
670
+ query?: Maybe<Query>;
1233
671
  /** Reads a single `UserRole` that is related to this `UserRoleTagAssignment`. */
1234
672
  userRole?: Maybe<UserRole>;
673
+ /** The `UserRoleTagAssignment` that was deleted by this mutation. */
674
+ userRoleTagAssignment?: Maybe<UserRoleTagAssignment>;
675
+ /** An edge for our `UserRoleTagAssignment`. May be used by Relay 1. */
676
+ userRoleTagAssignmentEdge?: Maybe<UserRoleTagAssignmentsEdge>;
1235
677
  };
1236
- /** A `UserRoleTagAssignment` edge in the connection. */
1237
- export type UserRoleTagAssignmentsEdge = {
1238
- __typename?: 'UserRoleTagAssignmentsEdge';
1239
- /** A cursor for use in pagination. */
1240
- cursor?: Maybe<Scalars['Cursor']>;
1241
- /** The `UserRoleTagAssignment` at the end of the edge. */
1242
- node: UserRoleTagAssignment;
678
+ /** The output of our delete `UserRoleTagAssignment` mutation. */
679
+ export type DeleteUserRoleTagAssignmentPayloadUserRoleTagAssignmentEdgeArgs = {
680
+ orderBy?: Maybe<Array<UserRoleTagAssignmentsOrderBy>>;
1243
681
  };
1244
- /** Methods to use when ordering `UserRoleTagAssignment`. */
1245
- export declare enum UserRoleTagAssignmentsOrderBy {
1246
- NATURAL = "NATURAL",
1247
- USER_ROLE_ID_ASC = "USER_ROLE_ID_ASC",
1248
- USER_ROLE_ID_DESC = "USER_ROLE_ID_DESC",
1249
- TAG_ASC = "TAG_ASC",
1250
- TAG_DESC = "TAG_DESC",
1251
- TENANT_ID_ASC = "TENANT_ID_ASC",
1252
- TENANT_ID_DESC = "TENANT_ID_DESC",
1253
- ENVIRONMENT_ID_ASC = "ENVIRONMENT_ID_ASC",
1254
- ENVIRONMENT_ID_DESC = "ENVIRONMENT_ID_DESC",
1255
- CREATED_AT_ASC = "CREATED_AT_ASC",
1256
- CREATED_AT_DESC = "CREATED_AT_DESC",
1257
- CREATED_BY_ASC = "CREATED_BY_ASC",
1258
- CREATED_BY_DESC = "CREATED_BY_DESC",
1259
- UPDATED_AT_ASC = "UPDATED_AT_ASC",
1260
- UPDATED_AT_DESC = "UPDATED_AT_DESC",
1261
- UPDATED_BY_ASC = "UPDATED_BY_ASC",
1262
- UPDATED_BY_DESC = "UPDATED_BY_DESC",
1263
- PRIMARY_KEY_ASC = "PRIMARY_KEY_ASC",
1264
- PRIMARY_KEY_DESC = "PRIMARY_KEY_DESC"
1265
- }
1266
- /**
1267
- * A condition to be used against `UserRoleTagAssignment` object types. All fields
1268
- * are tested for equality and combined with a logical ‘and.’
1269
- */
1270
- export type UserRoleTagAssignmentCondition = {
1271
- /** Checks for equality with the object’s `userRoleId` field. */
1272
- userRoleId?: Maybe<Scalars['UUID']>;
1273
- /** Checks for equality with the object’s `tag` field. */
1274
- tag?: Maybe<Scalars['String']>;
1275
- /** Checks for equality with the object’s `tenantId` field. */
1276
- tenantId?: Maybe<Scalars['UUID']>;
1277
- /** Checks for equality with the object’s `environmentId` field. */
1278
- environmentId?: Maybe<Scalars['UUID']>;
1279
- /** Checks for equality with the object’s `createdAt` field. */
1280
- createdAt?: Maybe<Scalars['Datetime']>;
1281
- /** Checks for equality with the object’s `createdBy` field. */
1282
- createdBy?: Maybe<Scalars['String']>;
1283
- /** Checks for equality with the object’s `updatedAt` field. */
1284
- updatedAt?: Maybe<Scalars['Datetime']>;
1285
- /** Checks for equality with the object’s `updatedBy` field. */
1286
- updatedBy?: Maybe<Scalars['String']>;
682
+ export type DevDeleteServiceAccountInput = {
683
+ /** Client ID of the Service Account to be deleted */
684
+ clientId: Scalars['String'];
1287
685
  };
1288
- /** A `UserRolePermissionAssignment` edge in the connection. */
1289
- export type UserRolePermissionAssignmentsEdge = {
1290
- __typename?: 'UserRolePermissionAssignmentsEdge';
1291
- /** A cursor for use in pagination. */
1292
- cursor?: Maybe<Scalars['Cursor']>;
1293
- /** The `UserRolePermissionAssignment` at the end of the edge. */
1294
- node: UserRolePermissionAssignment;
686
+ export type DevDeleteServiceAccountPayload = {
687
+ __typename?: 'DevDeleteServiceAccountPayload';
688
+ /** Indicates if the permission structure was deleted successfully */
689
+ isSuccess: Scalars['Boolean'];
1295
690
  };
1296
- /** A `Permission` edge in the connection. */
1297
- export type PermissionsEdge = {
1298
- __typename?: 'PermissionsEdge';
1299
- /** A cursor for use in pagination. */
1300
- cursor?: Maybe<Scalars['Cursor']>;
1301
- /** The `Permission` at the end of the edge. */
1302
- node: Permission;
691
+ export type DevGenerateUserAccessTokenWithPermissionsInput = {
692
+ /**
693
+ * Email address the user token will be generated against.
694
+ * If not given, a pseudo user with following metadata data will be used for generating the token.
695
+ *
696
+ * name: **DEV**
697
+ * email: dev@domain.local
698
+ * id: 00000000-0000-0000-0000-000000000000
699
+ */
700
+ email?: Maybe<Scalars['String']>;
701
+ /**
702
+ * If set to true, the permissions will be validated against existing permissions.
703
+ * If any invalid permissions exist, the setup operation will be aborted.
704
+ */
705
+ enforceValidPermissionStructure?: Maybe<Scalars['Boolean']>;
706
+ /**
707
+ * Permission Structure for the new account.
708
+ * This is an array of shape {serviceId: String!, permissions: [String!]}
709
+ */
710
+ permissionStructure?: Maybe<Array<Maybe<PermissionStructure>>>;
711
+ /** Token Expiration time in seconds. If not given, this will be defaulted to 30 days. */
712
+ tokenExpirationInSeconds?: Maybe<Scalars['Int']>;
1303
713
  };
1304
- /** Methods to use when ordering `Permission`. */
1305
- export declare enum PermissionsOrderBy {
1306
- NATURAL = "NATURAL",
1307
- ID_ASC = "ID_ASC",
1308
- ID_DESC = "ID_DESC",
1309
- SERVICE_ID_ASC = "SERVICE_ID_ASC",
1310
- SERVICE_ID_DESC = "SERVICE_ID_DESC",
1311
- NAME_ASC = "NAME_ASC",
1312
- NAME_DESC = "NAME_DESC",
1313
- FROM_MANAGED_SERVICE_ASC = "FROM_MANAGED_SERVICE_ASC",
1314
- FROM_MANAGED_SERVICE_DESC = "FROM_MANAGED_SERVICE_DESC",
1315
- TENANT_ID_ASC = "TENANT_ID_ASC",
1316
- TENANT_ID_DESC = "TENANT_ID_DESC",
1317
- ENVIRONMENT_ID_ASC = "ENVIRONMENT_ID_ASC",
1318
- ENVIRONMENT_ID_DESC = "ENVIRONMENT_ID_DESC",
1319
- CREATED_AT_ASC = "CREATED_AT_ASC",
1320
- CREATED_AT_DESC = "CREATED_AT_DESC",
1321
- CREATED_BY_ASC = "CREATED_BY_ASC",
1322
- CREATED_BY_DESC = "CREATED_BY_DESC",
1323
- UPDATED_AT_ASC = "UPDATED_AT_ASC",
1324
- UPDATED_AT_DESC = "UPDATED_AT_DESC",
1325
- UPDATED_BY_ASC = "UPDATED_BY_ASC",
1326
- UPDATED_BY_DESC = "UPDATED_BY_DESC",
1327
- TITLE_ASC = "TITLE_ASC",
1328
- TITLE_DESC = "TITLE_DESC",
1329
- USED_BY_MANAGED_SERVICE_ONLY_ASC = "USED_BY_MANAGED_SERVICE_ONLY_ASC",
1330
- USED_BY_MANAGED_SERVICE_ONLY_DESC = "USED_BY_MANAGED_SERVICE_ONLY_DESC",
1331
- USED_FOR_DEVELOPMENT_ASC = "USED_FOR_DEVELOPMENT_ASC",
1332
- USED_FOR_DEVELOPMENT_DESC = "USED_FOR_DEVELOPMENT_DESC",
1333
- PRIMARY_KEY_ASC = "PRIMARY_KEY_ASC",
1334
- PRIMARY_KEY_DESC = "PRIMARY_KEY_DESC"
1335
- }
1336
- /**
1337
- * A condition to be used against `Permission` object types. All fields are tested
1338
- * for equality and combined with a logical ‘and.’
1339
- */
1340
- export type PermissionCondition = {
1341
- /** Checks for equality with the object’s `id` field. */
1342
- id?: Maybe<Scalars['UUID']>;
1343
- /** Checks for equality with the object’s `serviceId` field. */
1344
- serviceId?: Maybe<Scalars['String']>;
1345
- /** Checks for equality with the object’s `name` field. */
1346
- name?: Maybe<Scalars['String']>;
1347
- /** Checks for equality with the object’s `fromManagedService` field. */
1348
- fromManagedService?: Maybe<Scalars['Boolean']>;
1349
- /** Checks for equality with the object’s `tenantId` field. */
1350
- tenantId?: Maybe<Scalars['UUID']>;
1351
- /** Checks for equality with the object’s `environmentId` field. */
1352
- environmentId?: Maybe<Scalars['UUID']>;
1353
- /** Checks for equality with the object’s `createdAt` field. */
1354
- createdAt?: Maybe<Scalars['Datetime']>;
1355
- /** Checks for equality with the object’s `createdBy` field. */
1356
- createdBy?: Maybe<Scalars['String']>;
1357
- /** Checks for equality with the object’s `updatedAt` field. */
1358
- updatedAt?: Maybe<Scalars['Datetime']>;
1359
- /** Checks for equality with the object’s `updatedBy` field. */
1360
- updatedBy?: Maybe<Scalars['String']>;
1361
- /** Checks for equality with the object’s `title` field. */
1362
- title?: Maybe<Scalars['String']>;
1363
- /** Checks for equality with the object’s `usedByManagedServiceOnly` field. */
1364
- usedByManagedServiceOnly?: Maybe<Scalars['Boolean']>;
1365
- /** Checks for equality with the object’s `usedForDevelopment` field. */
1366
- usedForDevelopment?: Maybe<Scalars['Boolean']>;
1367
- };
1368
- /** A connection to a list of `User` values. */
1369
- export type UsersConnection = {
1370
- __typename?: 'UsersConnection';
1371
- /** A list of `User` objects. */
1372
- nodes: Array<User>;
1373
- /** A list of edges which contains the `User` and cursor to aid in pagination. */
1374
- edges: Array<UsersEdge>;
1375
- /** Information to aid in pagination. */
1376
- pageInfo: PageInfo;
1377
- /** The count of *all* `User` you could get from the connection. */
1378
- totalCount: Scalars['Int'];
1379
- };
1380
- /** A `User` edge in the connection. */
1381
- export type UsersEdge = {
1382
- __typename?: 'UsersEdge';
1383
- /** A cursor for use in pagination. */
1384
- cursor?: Maybe<Scalars['Cursor']>;
1385
- /** The `User` at the end of the edge. */
1386
- node: User;
1387
- };
1388
- /** Methods to use when ordering `User`. */
1389
- export declare enum UsersOrderBy {
1390
- NATURAL = "NATURAL",
1391
- ID_ASC = "ID_ASC",
1392
- ID_DESC = "ID_DESC",
1393
- NAME_ASC = "NAME_ASC",
1394
- NAME_DESC = "NAME_DESC",
1395
- PROFILE_PICTURE_URL_ASC = "PROFILE_PICTURE_URL_ASC",
1396
- PROFILE_PICTURE_URL_DESC = "PROFILE_PICTURE_URL_DESC",
1397
- EMAIL_ASC = "EMAIL_ASC",
1398
- EMAIL_DESC = "EMAIL_DESC",
1399
- STATUS_ASC = "STATUS_ASC",
1400
- STATUS_DESC = "STATUS_DESC",
1401
- TENANT_ID_ASC = "TENANT_ID_ASC",
1402
- TENANT_ID_DESC = "TENANT_ID_DESC",
1403
- ENVIRONMENT_ID_ASC = "ENVIRONMENT_ID_ASC",
1404
- ENVIRONMENT_ID_DESC = "ENVIRONMENT_ID_DESC",
1405
- CREATED_AT_ASC = "CREATED_AT_ASC",
1406
- CREATED_AT_DESC = "CREATED_AT_DESC",
1407
- CREATED_BY_ASC = "CREATED_BY_ASC",
1408
- CREATED_BY_DESC = "CREATED_BY_DESC",
1409
- UPDATED_AT_ASC = "UPDATED_AT_ASC",
1410
- UPDATED_AT_DESC = "UPDATED_AT_DESC",
1411
- UPDATED_BY_ASC = "UPDATED_BY_ASC",
1412
- UPDATED_BY_DESC = "UPDATED_BY_DESC",
1413
- PRIMARY_KEY_ASC = "PRIMARY_KEY_ASC",
1414
- PRIMARY_KEY_DESC = "PRIMARY_KEY_DESC"
1415
- }
1416
- /** A condition to be used against `User` object types. All fields are tested for equality and combined with a logical ‘and.’ */
1417
- export type UserCondition = {
1418
- /** Checks for equality with the object’s `id` field. */
1419
- id?: Maybe<Scalars['UUID']>;
1420
- /** Checks for equality with the object’s `name` field. */
1421
- name?: Maybe<Scalars['String']>;
1422
- /** Checks for equality with the object’s `profilePictureUrl` field. */
1423
- profilePictureUrl?: Maybe<Scalars['String']>;
1424
- /** Checks for equality with the object’s `email` field. */
1425
- email?: Maybe<Scalars['String']>;
1426
- /** Checks for equality with the object’s `status` field. */
1427
- status?: Maybe<UserStatus>;
1428
- /** Checks for equality with the object’s `tenantId` field. */
1429
- tenantId?: Maybe<Scalars['UUID']>;
1430
- /** Checks for equality with the object’s `environmentId` field. */
1431
- environmentId?: Maybe<Scalars['UUID']>;
1432
- /** Checks for equality with the object’s `createdAt` field. */
1433
- createdAt?: Maybe<Scalars['Datetime']>;
1434
- /** Checks for equality with the object’s `createdBy` field. */
1435
- createdBy?: Maybe<Scalars['String']>;
1436
- /** Checks for equality with the object’s `updatedAt` field. */
1437
- updatedAt?: Maybe<Scalars['Datetime']>;
1438
- /** Checks for equality with the object’s `updatedBy` field. */
1439
- updatedBy?: Maybe<Scalars['String']>;
1440
- };
1441
- /** A connection to a list of `UserRole` values. */
1442
- export type UserRolesConnection = {
1443
- __typename?: 'UserRolesConnection';
1444
- /** A list of `UserRole` objects. */
1445
- nodes: Array<UserRole>;
1446
- /** A list of edges which contains the `UserRole` and cursor to aid in pagination. */
1447
- edges: Array<UserRolesEdge>;
1448
- /** Information to aid in pagination. */
1449
- pageInfo: PageInfo;
1450
- /** The count of *all* `UserRole` you could get from the connection. */
1451
- totalCount: Scalars['Int'];
1452
- };
1453
- /** A `UserRole` edge in the connection. */
1454
- export type UserRolesEdge = {
1455
- __typename?: 'UserRolesEdge';
1456
- /** A cursor for use in pagination. */
1457
- cursor?: Maybe<Scalars['Cursor']>;
1458
- /** The `UserRole` at the end of the edge. */
1459
- node: UserRole;
1460
- };
1461
- /** Methods to use when ordering `UserRole`. */
1462
- export declare enum UserRolesOrderBy {
1463
- NATURAL = "NATURAL",
1464
- ID_ASC = "ID_ASC",
1465
- ID_DESC = "ID_DESC",
1466
- NAME_ASC = "NAME_ASC",
1467
- NAME_DESC = "NAME_DESC",
1468
- DESCRIPTION_ASC = "DESCRIPTION_ASC",
1469
- DESCRIPTION_DESC = "DESCRIPTION_DESC",
1470
- TENANT_ID_ASC = "TENANT_ID_ASC",
1471
- TENANT_ID_DESC = "TENANT_ID_DESC",
1472
- ENVIRONMENT_ID_ASC = "ENVIRONMENT_ID_ASC",
1473
- ENVIRONMENT_ID_DESC = "ENVIRONMENT_ID_DESC",
1474
- CREATED_AT_ASC = "CREATED_AT_ASC",
1475
- CREATED_AT_DESC = "CREATED_AT_DESC",
1476
- CREATED_BY_ASC = "CREATED_BY_ASC",
1477
- CREATED_BY_DESC = "CREATED_BY_DESC",
1478
- UPDATED_AT_ASC = "UPDATED_AT_ASC",
1479
- UPDATED_AT_DESC = "UPDATED_AT_DESC",
1480
- UPDATED_BY_ASC = "UPDATED_BY_ASC",
1481
- UPDATED_BY_DESC = "UPDATED_BY_DESC",
1482
- PRIMARY_KEY_ASC = "PRIMARY_KEY_ASC",
1483
- PRIMARY_KEY_DESC = "PRIMARY_KEY_DESC"
1484
- }
1485
- /**
1486
- * A condition to be used against `UserRole` object types. All fields are tested
1487
- * for equality and combined with a logical ‘and.’
1488
- */
1489
- export type UserRoleCondition = {
1490
- /** Checks for equality with the object’s `id` field. */
1491
- id?: Maybe<Scalars['UUID']>;
1492
- /** Checks for equality with the object’s `name` field. */
1493
- name?: Maybe<Scalars['String']>;
1494
- /** Checks for equality with the object’s `description` field. */
1495
- description?: Maybe<Scalars['String']>;
1496
- /** Checks for equality with the object’s `tenantId` field. */
1497
- tenantId?: Maybe<Scalars['UUID']>;
1498
- /** Checks for equality with the object’s `environmentId` field. */
1499
- environmentId?: Maybe<Scalars['UUID']>;
1500
- /** Checks for equality with the object’s `createdAt` field. */
1501
- createdAt?: Maybe<Scalars['Datetime']>;
1502
- /** Checks for equality with the object’s `createdBy` field. */
1503
- createdBy?: Maybe<Scalars['String']>;
1504
- /** Checks for equality with the object’s `updatedAt` field. */
1505
- updatedAt?: Maybe<Scalars['Datetime']>;
1506
- /** Checks for equality with the object’s `updatedBy` field. */
1507
- updatedBy?: Maybe<Scalars['String']>;
1508
- };
1509
- /** A connection to a list of `String` values. */
1510
- export type GetUserRoleTagValuesConnection = {
1511
- __typename?: 'GetUserRoleTagValuesConnection';
1512
- /** A list of `String` objects. */
1513
- nodes: Array<Maybe<Scalars['String']>>;
1514
- /** A list of edges which contains the `String` and cursor to aid in pagination. */
1515
- edges: Array<GetUserRoleTagValueEdge>;
1516
- /** The count of *all* `String` you could get from the connection. */
1517
- totalCount: Scalars['Int'];
1518
- };
1519
- /** A `String` edge in the connection. */
1520
- export type GetUserRoleTagValueEdge = {
1521
- __typename?: 'GetUserRoleTagValueEdge';
1522
- /** A cursor for use in pagination. */
1523
- cursor?: Maybe<Scalars['Cursor']>;
1524
- /** The `String` at the end of the edge. */
1525
- node?: Maybe<Scalars['String']>;
714
+ export type DevGenerateUserAccessTokenWithPermissionsPayload = {
715
+ __typename?: 'DevGenerateUserAccessTokenWithPermissionsPayload';
716
+ /** Access token with requested permissions. */
717
+ accessToken: Scalars['String'];
718
+ expiresInSeconds: Scalars['Int'];
719
+ tokenType: Scalars['String'];
1526
720
  };
1527
- /** A connection to a list of `UserRoleInheritedPermission` values. */
1528
- export type UserRoleInheritedPermissionsConnection = {
1529
- __typename?: 'UserRoleInheritedPermissionsConnection';
1530
- /** A list of `UserRoleInheritedPermission` objects. */
1531
- nodes: Array<UserRoleInheritedPermission>;
1532
- /** A list of edges which contains the `UserRoleInheritedPermission` and cursor to aid in pagination. */
1533
- edges: Array<UserRoleInheritedPermissionsEdge>;
1534
- /** Information to aid in pagination. */
1535
- pageInfo: PageInfo;
1536
- /** The count of *all* `UserRoleInheritedPermission` you could get from the connection. */
1537
- totalCount: Scalars['Int'];
721
+ export type DevPermissionStructureInput = {
722
+ permissions?: Maybe<Array<Maybe<Scalars['String']>>>;
723
+ serviceId: Scalars['String'];
1538
724
  };
1539
- export type UserRoleInheritedPermission = {
1540
- __typename?: 'UserRoleInheritedPermission';
1541
- tenantId?: Maybe<Scalars['UUID']>;
1542
- environmentId?: Maybe<Scalars['UUID']>;
1543
- userRoleId?: Maybe<Scalars['UUID']>;
1544
- permissionId?: Maybe<Scalars['UUID']>;
1545
- name?: Maybe<Scalars['String']>;
1546
- fromManagedService?: Maybe<Scalars['Boolean']>;
1547
- serviceId?: Maybe<Scalars['String']>;
1548
- isInherited?: Maybe<Scalars['Boolean']>;
1549
- parentUserRoleNames?: Maybe<Array<Maybe<Scalars['String']>>>;
1550
- parentUserRoleIds?: Maybe<Array<Maybe<Scalars['String']>>>;
1551
- createdAt?: Maybe<Scalars['Datetime']>;
1552
- createdBy?: Maybe<Scalars['String']>;
1553
- permissionAssignmentId?: Maybe<Scalars['UUID']>;
725
+ export type DevSetupServiceAccountWithPermissionsInput = {
726
+ /**
727
+ * If set to true, the permissions will be validated against existing permissions.
728
+ * If any invalid permissions exist, the setup operation will be aborted.
729
+ */
730
+ enforceValidPermissionStructure?: Maybe<Scalars['Boolean']>;
731
+ /**
732
+ * Permission Structure for the new account.
733
+ * This is an array of shape {serviceId: String!, permissions: [String!]}
734
+ */
735
+ permissionStructure?: Maybe<Array<Maybe<PermissionStructure>>>;
736
+ /** Service Account Name */
737
+ serviceAccountName: Scalars['String'];
1554
738
  };
1555
- /** A `UserRoleInheritedPermission` edge in the connection. */
1556
- export type UserRoleInheritedPermissionsEdge = {
1557
- __typename?: 'UserRoleInheritedPermissionsEdge';
1558
- /** A cursor for use in pagination. */
1559
- cursor?: Maybe<Scalars['Cursor']>;
1560
- /** The `UserRoleInheritedPermission` at the end of the edge. */
1561
- node: UserRoleInheritedPermission;
739
+ export type DevSetupServiceAccountWithPermissionsPayload = {
740
+ __typename?: 'DevSetupServiceAccountWithPermissionsPayload';
741
+ /** Client ID of the created service account. */
742
+ clientId: Scalars['String'];
743
+ /** Client Secret of the created service account. */
744
+ clientSecret: Scalars['String'];
1562
745
  };
1563
- /** A filter to be used against `UserRoleInheritedPermission` object types. All fields are combined with a logical ‘and.’ */
1564
- export type UserRoleInheritedPermissionFilter = {
1565
- /** Filter by the object’s `tenantId` field. */
1566
- tenantId?: Maybe<UuidFilter>;
1567
- /** Filter by the object’s `environmentId` field. */
1568
- environmentId?: Maybe<UuidFilter>;
1569
- /** Filter by the object’s `userRoleId` field. */
1570
- userRoleId?: Maybe<UuidFilter>;
1571
- /** Filter by the object’s `permissionId` field. */
1572
- permissionId?: Maybe<UuidFilter>;
1573
- /** Filter by the object’s `name` field. */
1574
- name?: Maybe<StringFilter>;
1575
- /** Filter by the object’s `fromManagedService` field. */
1576
- fromManagedService?: Maybe<BooleanFilter>;
1577
- /** Filter by the object’s `serviceId` field. */
1578
- serviceId?: Maybe<StringFilter>;
1579
- /** Filter by the object’s `isInherited` field. */
1580
- isInherited?: Maybe<BooleanFilter>;
1581
- /** Filter by the object’s `parentUserRoleNames` field. */
1582
- parentUserRoleNames?: Maybe<StringListFilter>;
1583
- /** Filter by the object’s `parentUserRoleIds` field. */
1584
- parentUserRoleIds?: Maybe<StringListFilter>;
1585
- /** Filter by the object’s `createdAt` field. */
1586
- createdAt?: Maybe<DatetimeFilter>;
1587
- /** Filter by the object’s `createdBy` field. */
1588
- createdBy?: Maybe<StringFilter>;
1589
- /** Filter by the object’s `permissionAssignmentId` field. */
1590
- permissionAssignmentId?: Maybe<UuidFilter>;
1591
- /** Checks for all expressions in this list. */
1592
- and?: Maybe<Array<UserRoleInheritedPermissionFilter>>;
1593
- /** Checks for any expressions in this list. */
1594
- or?: Maybe<Array<UserRoleInheritedPermissionFilter>>;
1595
- /** Negates the expression. */
1596
- not?: Maybe<UserRoleInheritedPermissionFilter>;
746
+ export type DevUpdateServiceAccountPermissionStructureInput = {
747
+ /** Client ID of the Service Account to be updated */
748
+ clientId: Scalars['String'];
749
+ /**
750
+ * If set to true, the permissions will be validated against existing permissions.
751
+ * If any invalid permissions exist, the setup operation will be aborted.
752
+ */
753
+ enforceValidPermissionStructure?: Maybe<Scalars['Boolean']>;
754
+ /**
755
+ * Permission Structure for the new account.
756
+ * This is an array of shape {serviceId: String!, permissions: [String!]}
757
+ */
758
+ permissionStructure?: Maybe<Array<Maybe<PermissionStructure>>>;
1597
759
  };
1598
- /** A filter to be used against String List fields. All fields are combined with a logical ‘and.’ */
1599
- export type StringListFilter = {
1600
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1601
- isNull?: Maybe<Scalars['Boolean']>;
1602
- /** Equal to the specified value. */
1603
- equalTo?: Maybe<Array<Maybe<Scalars['String']>>>;
1604
- /** Not equal to the specified value. */
1605
- notEqualTo?: Maybe<Array<Maybe<Scalars['String']>>>;
1606
- /** Not equal to the specified value, treating null like an ordinary value. */
1607
- distinctFrom?: Maybe<Array<Maybe<Scalars['String']>>>;
1608
- /** Equal to the specified value, treating null like an ordinary value. */
1609
- notDistinctFrom?: Maybe<Array<Maybe<Scalars['String']>>>;
1610
- /** Less than the specified value. */
1611
- lessThan?: Maybe<Array<Maybe<Scalars['String']>>>;
1612
- /** Less than or equal to the specified value. */
1613
- lessThanOrEqualTo?: Maybe<Array<Maybe<Scalars['String']>>>;
1614
- /** Greater than the specified value. */
1615
- greaterThan?: Maybe<Array<Maybe<Scalars['String']>>>;
1616
- /** Greater than or equal to the specified value. */
1617
- greaterThanOrEqualTo?: Maybe<Array<Maybe<Scalars['String']>>>;
1618
- /** Contains the specified list of values. */
1619
- contains?: Maybe<Array<Maybe<Scalars['String']>>>;
1620
- /** Contained by the specified list of values. */
1621
- containedBy?: Maybe<Array<Maybe<Scalars['String']>>>;
1622
- /** Overlaps the specified list of values. */
1623
- overlaps?: Maybe<Array<Maybe<Scalars['String']>>>;
1624
- /** Any array item is equal to the specified value. */
1625
- anyEqualTo?: Maybe<Scalars['String']>;
1626
- /** Any array item is not equal to the specified value. */
1627
- anyNotEqualTo?: Maybe<Scalars['String']>;
1628
- /** Any array item is less than the specified value. */
1629
- anyLessThan?: Maybe<Scalars['String']>;
1630
- /** Any array item is less than or equal to the specified value. */
1631
- anyLessThanOrEqualTo?: Maybe<Scalars['String']>;
1632
- /** Any array item is greater than the specified value. */
1633
- anyGreaterThan?: Maybe<Scalars['String']>;
1634
- /** Any array item is greater than or equal to the specified value. */
1635
- anyGreaterThanOrEqualTo?: Maybe<Scalars['String']>;
760
+ export type DevUpdateServiceAccountPermissionStructurePayload = {
761
+ __typename?: 'DevUpdateServiceAccountPermissionStructurePayload';
762
+ /** Indicates if the permission structure was updated successfully */
763
+ isSuccess: Scalars['Boolean'];
1636
764
  };
1637
765
  /** Exposes all error codes and messages for errors that a service requests can throw. In some cases, messages that are actually thrown can be different, since they can include more details or a single code can used for different errors of the same type. */
1638
766
  export declare enum ErrorCodesEnum {
@@ -1654,16 +782,16 @@ export declare enum ErrorCodesEnum {
1654
782
  ACTIVE_SIGNING_KEY_EXISTS = "ACTIVE_SIGNING_KEY_EXISTS",
1655
783
  /** The assertion check for the identifier %s failed. */
1656
784
  ASSERTION_FAILED = "ASSERTION_FAILED",
785
+ /** Auth Callback Error */
786
+ AUTH_CALLBACK_ERROR = "AUTH_CALLBACK_ERROR",
787
+ /** Auth config is invalid. */
788
+ AUTH_CONFIG_INVALID = "AUTH_CONFIG_INVALID",
1657
789
  /** Authenticated End User not found. */
1658
790
  AUTHENTICATED_END_USER_NOT_FOUND = "AUTHENTICATED_END_USER_NOT_FOUND",
1659
791
  /** Authenticated Management Subject not found. */
1660
792
  AUTHENTICATED_MANAGEMENT_SUBJECT_NOT_FOUND = "AUTHENTICATED_MANAGEMENT_SUBJECT_NOT_FOUND",
1661
793
  /** A Permission Definition or an EndUserAuthorizationConfig was not found to be passed into Postgraphile build options. This is a development time issue. */
1662
794
  AUTHORIZATION_OPTIONS_MISCONFIGURED = "AUTHORIZATION_OPTIONS_MISCONFIGURED",
1663
- /** Auth Callback Error */
1664
- AUTH_CALLBACK_ERROR = "AUTH_CALLBACK_ERROR",
1665
- /** Auth config is invalid. */
1666
- AUTH_CONFIG_INVALID = "AUTH_CONFIG_INVALID",
1667
795
  /** Bad Request */
1668
796
  BAD_REQUEST = "BAD_REQUEST",
1669
797
  /** Basic Data has not been setup. Please run the [_DEV_setupIdBasicData] mutation. */
@@ -1692,18 +820,18 @@ export declare enum ErrorCodesEnum {
1692
820
  DATABASE_VALIDATION_FAILED = "DATABASE_VALIDATION_FAILED",
1693
821
  /** Error accessing database. */
1694
822
  DB_ACCESS_ERROR = "DB_ACCESS_ERROR",
1695
- /** Environment [%s] is not enabled for use. */
1696
- ENVIRONMENT_NOT_ACTIVE = "ENVIRONMENT_NOT_ACTIVE",
1697
- /** The environment is not enabled for use. Please contact your Tenant Administrator or Axinom Support. */
1698
- ENVIRONMENT_NOT_ENABLED = "ENVIRONMENT_NOT_ENABLED",
1699
- /** Environment [%s] not found. */
1700
- ENVIRONMENT_NOT_FOUND = "ENVIRONMENT_NOT_FOUND",
1701
823
  /** The account is not activated. Please contact another Tenant Administrator or Axinom Support to activate the account. */
1702
824
  ENV_ADMIN_ACCOUNT_NOT_ACTIVE = "ENV_ADMIN_ACCOUNT_NOT_ACTIVE",
1703
825
  /** Either the account or the tenant is not enabled for usage. */
1704
826
  ENV_ADMIN_OR_TENANT_NOT_ACTIVE = "ENV_ADMIN_OR_TENANT_NOT_ACTIVE",
1705
827
  /** Cannot enable the environment when the initialization status is not [Completed]. */
1706
828
  ENV_INITIALIZATION_NOT_COMPLETED = "ENV_INITIALIZATION_NOT_COMPLETED",
829
+ /** Environment [%s] is not enabled for use. */
830
+ ENVIRONMENT_NOT_ACTIVE = "ENVIRONMENT_NOT_ACTIVE",
831
+ /** The environment is not enabled for use. Please contact your Tenant Administrator or Axinom Support. */
832
+ ENVIRONMENT_NOT_ENABLED = "ENVIRONMENT_NOT_ENABLED",
833
+ /** Environment [%s] not found. */
834
+ ENVIRONMENT_NOT_FOUND = "ENVIRONMENT_NOT_FOUND",
1707
835
  /** An error occurred while generating long lived token. */
1708
836
  ERROR_GENERATING_LONG_LIVED_TOKEN = "ERROR_GENERATING_LONG_LIVED_TOKEN",
1709
837
  /** Error occurred generating a service account secret. */
@@ -1770,6 +898,12 @@ export declare enum ErrorCodesEnum {
1770
898
  MANAGED_SERVICE_NOT_FOUND = "MANAGED_SERVICE_NOT_FOUND",
1771
899
  /** Management super admin account not found. */
1772
900
  MANAGEMENT_SUPER_ADMIN_ACCOUNT_NOT_FOUND = "MANAGEMENT_SUPER_ADMIN_ACCOUNT_NOT_FOUND",
901
+ /** No active token signing keys found for the environment [%s]. */
902
+ NO_ACTIVE_SIGNING_KEY = "NO_ACTIVE_SIGNING_KEY",
903
+ /** Token does not contain an email. */
904
+ NO_EMAIL_IN_TOKEN = "NO_EMAIL_IN_TOKEN",
905
+ /** A caught error does not contain an error code. */
906
+ NO_ERROR_CODE_FOUND = "NO_ERROR_CODE_FOUND",
1773
907
  /** The token is not an Authenticated End-User */
1774
908
  NOT_AUTHENTICATED_END_USER = "NOT_AUTHENTICATED_END_USER",
1775
909
  /** The object is not a AuthenticatedManagementSubject */
@@ -1786,12 +920,8 @@ export declare enum ErrorCodesEnum {
1786
920
  NOT_GENERIC_AUTHENTICATED_SUBJECT = "NOT_GENERIC_AUTHENTICATED_SUBJECT",
1787
921
  /** The object is not a ManagementAuthenticationContext */
1788
922
  NOT_MANAGEMENT_AUTHENTICATION_CONTEXT = "NOT_MANAGEMENT_AUTHENTICATION_CONTEXT",
1789
- /** No active token signing keys found for the environment [%s]. */
1790
- NO_ACTIVE_SIGNING_KEY = "NO_ACTIVE_SIGNING_KEY",
1791
- /** Token does not contain an email. */
1792
- NO_EMAIL_IN_TOKEN = "NO_EMAIL_IN_TOKEN",
1793
- /** A caught error does not contain an error code. */
1794
- NO_ERROR_CODE_FOUND = "NO_ERROR_CODE_FOUND",
923
+ /** The %s is missing required properties: %s. */
924
+ OBJECT_IS_MISSING_PROPERTIES = "OBJECT_IS_MISSING_PROPERTIES",
1795
925
  /** The user [%s] can only use Single Sign-On mode for tenant [%s]. */
1796
926
  ONLY_SSO_ALLOWED = "ONLY_SSO_ALLOWED",
1797
927
  /** The environment's first orchestration step must have message-params. */
@@ -1808,10 +938,10 @@ export declare enum ErrorCodesEnum {
1808
938
  PERMISSION_SYNC_ERROR = "PERMISSION_SYNC_ERROR",
1809
939
  /** Permissions with the `usedByManagedServiceOnly` flag set can only be synchronized by a Managed Service. */
1810
940
  PERMISSION_USED_BY_MANAGED_SERVICE_ONLY = "PERMISSION_USED_BY_MANAGED_SERVICE_ONLY",
1811
- /** Root Environment not found. */
1812
- ROOT_ENVIRONMENT_NOT_FOUND = "ROOT_ENVIRONMENT_NOT_FOUND",
1813
941
  /** Root environment not found. */
1814
942
  ROOT_ENV_NOT_FOUND = "ROOT_ENV_NOT_FOUND",
943
+ /** Root Environment not found. */
944
+ ROOT_ENVIRONMENT_NOT_FOUND = "ROOT_ENVIRONMENT_NOT_FOUND",
1815
945
  /** Root Tenant not found. */
1816
946
  ROOT_TENANT_NOT_FOUND = "ROOT_TENANT_NOT_FOUND",
1817
947
  /** No Service Account exists for Client ID [%s]. */
@@ -1828,10 +958,10 @@ export declare enum ErrorCodesEnum {
1828
958
  SSO_TOKEN_VALIDATION_ERROR = "SSO_TOKEN_VALIDATION_ERROR",
1829
959
  /** An application startup error has occurred. The actual message will have more information. */
1830
960
  STARTUP_ERROR = "STARTUP_ERROR",
1831
- /** Step function [%s] is not found in the mapping. */
1832
- STEP_FUNCTION_NOT_FOUND_IN_MAPPING = "STEP_FUNCTION_NOT_FOUND_IN_MAPPING",
1833
961
  /** Orchestration error. Step function [%s] not found. */
1834
962
  STEP_FUNC_NOT_FOUND = "STEP_FUNC_NOT_FOUND",
963
+ /** Step function [%s] is not found in the mapping. */
964
+ STEP_FUNCTION_NOT_FOUND_IN_MAPPING = "STEP_FUNCTION_NOT_FOUND_IN_MAPPING",
1835
965
  /** Could not complete authentication. targetTenantId is missing. */
1836
966
  TARGET_TENANT_MISSING = "TARGET_TENANT_MISSING",
1837
967
  /** The linked Environment Administration Portal account [%s] is not active. Please contact Axinom Support. */
@@ -1866,11 +996,79 @@ export declare enum ErrorCodesEnum {
1866
996
  USER_NOT_AUTHORIZED = "USER_NOT_AUTHORIZED",
1867
997
  /** The User service is not accessible. Please contact Axinom support. */
1868
998
  USER_SERVICE_NOT_ACCESSIBLE = "USER_SERVICE_NOT_ACCESSIBLE",
999
+ /** The %s is not an object. */
1000
+ VALUE_IS_NOT_OBJECT = "VALUE_IS_NOT_OBJECT",
1869
1001
  /** Websocket not found in ExtendedGraphQLContext. This is a development time issue. A reference to the websocket must be included in Postgraphile build options. */
1870
1002
  WEBSOCKET_NOT_FOUND = "WEBSOCKET_NOT_FOUND",
1871
1003
  /** An error occurred while resolving the well-known-config URLs. */
1872
1004
  WELL_KNOWN_CONFIG_URL_RESOLVE_ERROR = "WELL_KNOWN_CONFIG_URL_RESOLVE_ERROR"
1873
1005
  }
1006
+ export type GenerateDevAccessTokenInput = {
1007
+ /** Optional Environment ID to use for service account. If not specified will default to configured dev value. */
1008
+ environmentId?: Maybe<Scalars['String']>;
1009
+ /**
1010
+ * Example:
1011
+ *
1012
+ * permissionStructure: [
1013
+ * {
1014
+ * serviceId: "media-service",
1015
+ * permissions: ["ADMIN", "MOVIES_EDIT"]
1016
+ * },
1017
+ * {
1018
+ * serviceId: "ax-encoding-service",
1019
+ * permissions: ["ADMIN", "VIDEOS_EDIT"]
1020
+ * }
1021
+ * ]
1022
+ */
1023
+ permissionStructure?: Maybe<Array<Maybe<DevPermissionStructureInput>>>;
1024
+ /**
1025
+ * Example:
1026
+ *
1027
+ * tags: ["LK_MANAGER", "DE_MANAGER"]
1028
+ */
1029
+ tags?: Maybe<Array<Maybe<Scalars['String']>>>;
1030
+ /** Optional tenant ID to use for service account. If not specified will default to configured dev value. */
1031
+ tenantId?: Maybe<Scalars['String']>;
1032
+ };
1033
+ export type GenerateDevAccessTokenPayload = {
1034
+ __typename?: 'GenerateDevAccessTokenPayload';
1035
+ accessToken: Scalars['String'];
1036
+ expiresInSeconds: Scalars['Int'];
1037
+ tokenType: Scalars['String'];
1038
+ };
1039
+ export type GenerateLongLivedTokenInput = {
1040
+ /** User access token to extend the validity period for. */
1041
+ userToken: Scalars['String'];
1042
+ /** Validity duration from time of invocation. Defaults to 30 days if unspecified. */
1043
+ validityDurationInSeconds?: Maybe<Scalars['Int']>;
1044
+ };
1045
+ export type GenerateLongLivedTokenPayload = {
1046
+ __typename?: 'GenerateLongLivedTokenPayload';
1047
+ /** Long lived access token */
1048
+ accessToken: Scalars['String'];
1049
+ /** Access Token expiration timeout in seconds */
1050
+ expiresInSeconds: Scalars['Int'];
1051
+ /** Access Token type to use when making client requests */
1052
+ tokenType: Scalars['String'];
1053
+ };
1054
+ /** A `String` edge in the connection. */
1055
+ export type GetUserRoleTagValueEdge = {
1056
+ __typename?: 'GetUserRoleTagValueEdge';
1057
+ /** A cursor for use in pagination. */
1058
+ cursor?: Maybe<Scalars['Cursor']>;
1059
+ /** The `String` at the end of the edge. */
1060
+ node?: Maybe<Scalars['String']>;
1061
+ };
1062
+ /** A connection to a list of `String` values. */
1063
+ export type GetUserRoleTagValuesConnection = {
1064
+ __typename?: 'GetUserRoleTagValuesConnection';
1065
+ /** A list of edges which contains the `String` and cursor to aid in pagination. */
1066
+ edges: Array<GetUserRoleTagValueEdge>;
1067
+ /** A list of `String` objects. */
1068
+ nodes: Array<Maybe<Scalars['String']>>;
1069
+ /** The count of *all* `String` you could get from the connection. */
1070
+ totalCount: Scalars['Int'];
1071
+ };
1874
1072
  /** The root mutation type which contains root level fields which mutate data. */
1875
1073
  export type Mutation = {
1876
1074
  __typename?: 'Mutation';
@@ -1912,9 +1110,9 @@ export type Mutation = {
1912
1110
  deleteUserRoleParentAssignment?: Maybe<DeleteUserRoleParentAssignmentPayload>;
1913
1111
  /** Deletes a single `UserRolePermissionAssignment` using a unique key. */
1914
1112
  deleteUserRolePermissionAssignment?: Maybe<DeleteUserRolePermissionAssignmentPayload>;
1113
+ deleteUserRoles?: Maybe<BulkMutationUuidPayload>;
1915
1114
  /** Deletes a single `UserRoleTagAssignment` using a unique key. */
1916
1115
  deleteUserRoleTagAssignment?: Maybe<DeleteUserRoleTagAssignmentPayload>;
1917
- deleteUserRoles?: Maybe<BulkMutationUuidPayload>;
1918
1116
  deleteUsers?: Maybe<BulkMutationUuidPayload>;
1919
1117
  /** Delete a Service Account */
1920
1118
  devDeleteServiceAccount: DevDeleteServiceAccountPayload;
@@ -2010,14 +1208,14 @@ export type MutationDeleteUserRolePermissionAssignmentArgs = {
2010
1208
  input: DeleteUserRolePermissionAssignmentInput;
2011
1209
  };
2012
1210
  /** The root mutation type which contains root level fields which mutate data. */
2013
- export type MutationDeleteUserRoleTagAssignmentArgs = {
2014
- input: DeleteUserRoleTagAssignmentInput;
2015
- };
2016
- /** The root mutation type which contains root level fields which mutate data. */
2017
1211
  export type MutationDeleteUserRolesArgs = {
2018
1212
  filter?: Maybe<UserRoleFilter>;
2019
1213
  };
2020
1214
  /** The root mutation type which contains root level fields which mutate data. */
1215
+ export type MutationDeleteUserRoleTagAssignmentArgs = {
1216
+ input: DeleteUserRoleTagAssignmentInput;
1217
+ };
1218
+ /** The root mutation type which contains root level fields which mutate data. */
2021
1219
  export type MutationDeleteUsersArgs = {
2022
1220
  filter?: Maybe<UserFilter>;
2023
1221
  };
@@ -2061,242 +1259,524 @@ export type MutationUpdateUserRoleArgs = {
2061
1259
  export type MutationValidateCyclicUserRoleArgs = {
2062
1260
  input?: Maybe<ValidateCyclicUserRoleInput>;
2063
1261
  };
2064
- /** The output of our create `User` mutation. */
2065
- export type CreateUserPayload = {
2066
- __typename?: 'CreateUserPayload';
2067
- /**
2068
- * The exact same `clientMutationId` that was provided in the mutation input,
2069
- * unchanged and unused. May be used by a client to track mutations.
2070
- */
2071
- clientMutationId?: Maybe<Scalars['String']>;
2072
- /** The `User` that was created by this mutation. */
2073
- user?: Maybe<User>;
2074
- /** Our root query field type. Allows us to run any query from our mutation payload. */
2075
- query?: Maybe<Query>;
2076
- /** An edge for our `User`. May be used by Relay 1. */
2077
- userEdge?: Maybe<UsersEdge>;
1262
+ /** Information about pagination in a connection. */
1263
+ export type PageInfo = {
1264
+ __typename?: 'PageInfo';
1265
+ /** When paginating forwards, the cursor to continue. */
1266
+ endCursor?: Maybe<Scalars['Cursor']>;
1267
+ /** When paginating forwards, are there more items? */
1268
+ hasNextPage: Scalars['Boolean'];
1269
+ /** When paginating backwards, are there more items? */
1270
+ hasPreviousPage: Scalars['Boolean'];
1271
+ /** When paginating backwards, the cursor to continue. */
1272
+ startCursor?: Maybe<Scalars['Cursor']>;
2078
1273
  };
2079
- /** The output of our create `User` mutation. */
2080
- export type CreateUserPayloadUserEdgeArgs = {
2081
- orderBy?: Maybe<Array<UsersOrderBy>>;
1274
+ export type Permission = {
1275
+ __typename?: 'Permission';
1276
+ createdAt: Scalars['Datetime'];
1277
+ createdBy: Scalars['String'];
1278
+ environmentId: Scalars['UUID'];
1279
+ fromManagedService: Scalars['Boolean'];
1280
+ id: Scalars['UUID'];
1281
+ name: Scalars['String'];
1282
+ serviceId: Scalars['String'];
1283
+ tenantId: Scalars['UUID'];
1284
+ title: Scalars['String'];
1285
+ updatedAt: Scalars['Datetime'];
1286
+ updatedBy: Scalars['String'];
1287
+ usedByManagedServiceOnly: Scalars['Boolean'];
1288
+ usedForDevelopment: Scalars['Boolean'];
1289
+ /** Reads and enables pagination through a set of `UserRolePermissionAssignment`. */
1290
+ userRolePermissionAssignments: UserRolePermissionAssignmentsConnection;
2082
1291
  };
2083
- /** All input for the create `User` mutation. */
2084
- export type CreateUserInput = {
1292
+ export type PermissionUserRolePermissionAssignmentsArgs = {
1293
+ after?: Maybe<Scalars['Cursor']>;
1294
+ before?: Maybe<Scalars['Cursor']>;
1295
+ condition?: Maybe<UserRolePermissionAssignmentCondition>;
1296
+ filter?: Maybe<UserRolePermissionAssignmentFilter>;
1297
+ first?: Maybe<Scalars['Int']>;
1298
+ last?: Maybe<Scalars['Int']>;
1299
+ offset?: Maybe<Scalars['Int']>;
1300
+ orderBy?: Maybe<Array<UserRolePermissionAssignmentsOrderBy>>;
1301
+ };
1302
+ /**
1303
+ * A condition to be used against `Permission` object types. All fields are tested
1304
+ * for equality and combined with a logical ‘and.’
1305
+ */
1306
+ export type PermissionCondition = {
1307
+ /** Checks for equality with the object’s `createdAt` field. */
1308
+ createdAt?: Maybe<Scalars['Datetime']>;
1309
+ /** Checks for equality with the object’s `createdBy` field. */
1310
+ createdBy?: Maybe<Scalars['String']>;
1311
+ /** Checks for equality with the object’s `environmentId` field. */
1312
+ environmentId?: Maybe<Scalars['UUID']>;
1313
+ /** Checks for equality with the object’s `fromManagedService` field. */
1314
+ fromManagedService?: Maybe<Scalars['Boolean']>;
1315
+ /** Checks for equality with the object’s `id` field. */
1316
+ id?: Maybe<Scalars['UUID']>;
1317
+ /** Checks for equality with the object’s `name` field. */
1318
+ name?: Maybe<Scalars['String']>;
1319
+ /** Checks for equality with the object’s `serviceId` field. */
1320
+ serviceId?: Maybe<Scalars['String']>;
1321
+ /** Checks for equality with the object’s `tenantId` field. */
1322
+ tenantId?: Maybe<Scalars['UUID']>;
1323
+ /** Checks for equality with the object’s `title` field. */
1324
+ title?: Maybe<Scalars['String']>;
1325
+ /** Checks for equality with the object’s `updatedAt` field. */
1326
+ updatedAt?: Maybe<Scalars['Datetime']>;
1327
+ /** Checks for equality with the object’s `updatedBy` field. */
1328
+ updatedBy?: Maybe<Scalars['String']>;
1329
+ /** Checks for equality with the object’s `usedByManagedServiceOnly` field. */
1330
+ usedByManagedServiceOnly?: Maybe<Scalars['Boolean']>;
1331
+ /** Checks for equality with the object’s `usedForDevelopment` field. */
1332
+ usedForDevelopment?: Maybe<Scalars['Boolean']>;
1333
+ };
1334
+ /** A filter to be used against `Permission` object types. All fields are combined with a logical ‘and.’ */
1335
+ export type PermissionFilter = {
1336
+ /** Checks for all expressions in this list. */
1337
+ and?: Maybe<Array<PermissionFilter>>;
1338
+ /** Filter by the object’s `createdAt` field. */
1339
+ createdAt?: Maybe<DatetimeFilter>;
1340
+ /** Filter by the object’s `createdBy` field. */
1341
+ createdBy?: Maybe<StringFilter>;
1342
+ /** Filter by the object’s `environmentId` field. */
1343
+ environmentId?: Maybe<UuidFilter>;
1344
+ /** Filter by the object’s `fromManagedService` field. */
1345
+ fromManagedService?: Maybe<BooleanFilter>;
1346
+ /** Filter by the object’s `id` field. */
1347
+ id?: Maybe<UuidFilter>;
1348
+ /** Filter by the object’s `name` field. */
1349
+ name?: Maybe<StringFilter>;
1350
+ /** Negates the expression. */
1351
+ not?: Maybe<PermissionFilter>;
1352
+ /** Checks for any expressions in this list. */
1353
+ or?: Maybe<Array<PermissionFilter>>;
1354
+ /** Filter by the object’s `serviceId` field. */
1355
+ serviceId?: Maybe<StringFilter>;
1356
+ /** Filter by the object’s `tenantId` field. */
1357
+ tenantId?: Maybe<UuidFilter>;
1358
+ /** Filter by the object’s `title` field. */
1359
+ title?: Maybe<StringFilter>;
1360
+ /** Filter by the object’s `updatedAt` field. */
1361
+ updatedAt?: Maybe<DatetimeFilter>;
1362
+ /** Filter by the object’s `updatedBy` field. */
1363
+ updatedBy?: Maybe<StringFilter>;
1364
+ /** Filter by the object’s `usedByManagedServiceOnly` field. */
1365
+ usedByManagedServiceOnly?: Maybe<BooleanFilter>;
1366
+ /** Filter by the object’s `usedForDevelopment` field. */
1367
+ usedForDevelopment?: Maybe<BooleanFilter>;
1368
+ /** Filter by the object’s `userRolePermissionAssignments` relation. */
1369
+ userRolePermissionAssignments?: Maybe<PermissionToManyUserRolePermissionAssignmentFilter>;
1370
+ /** Some related `userRolePermissionAssignments` exist. */
1371
+ userRolePermissionAssignmentsExist?: Maybe<Scalars['Boolean']>;
1372
+ };
1373
+ /** A connection to a list of `Permission` values. */
1374
+ export type PermissionsConnection = {
1375
+ __typename?: 'PermissionsConnection';
1376
+ /** A list of edges which contains the `Permission` and cursor to aid in pagination. */
1377
+ edges: Array<PermissionsEdge>;
1378
+ /** A list of `Permission` objects. */
1379
+ nodes: Array<Permission>;
1380
+ /** Information to aid in pagination. */
1381
+ pageInfo: PageInfo;
1382
+ /** The count of *all* `Permission` you could get from the connection. */
1383
+ totalCount: Scalars['Int'];
1384
+ };
1385
+ /** A `Permission` edge in the connection. */
1386
+ export type PermissionsEdge = {
1387
+ __typename?: 'PermissionsEdge';
1388
+ /** A cursor for use in pagination. */
1389
+ cursor?: Maybe<Scalars['Cursor']>;
1390
+ /** The `Permission` at the end of the edge. */
1391
+ node: Permission;
1392
+ };
1393
+ /** Methods to use when ordering `Permission`. */
1394
+ export declare enum PermissionsOrderBy {
1395
+ CREATED_AT_ASC = "CREATED_AT_ASC",
1396
+ CREATED_AT_DESC = "CREATED_AT_DESC",
1397
+ CREATED_BY_ASC = "CREATED_BY_ASC",
1398
+ CREATED_BY_DESC = "CREATED_BY_DESC",
1399
+ ENVIRONMENT_ID_ASC = "ENVIRONMENT_ID_ASC",
1400
+ ENVIRONMENT_ID_DESC = "ENVIRONMENT_ID_DESC",
1401
+ FROM_MANAGED_SERVICE_ASC = "FROM_MANAGED_SERVICE_ASC",
1402
+ FROM_MANAGED_SERVICE_DESC = "FROM_MANAGED_SERVICE_DESC",
1403
+ ID_ASC = "ID_ASC",
1404
+ ID_DESC = "ID_DESC",
1405
+ NAME_ASC = "NAME_ASC",
1406
+ NAME_DESC = "NAME_DESC",
1407
+ NATURAL = "NATURAL",
1408
+ PRIMARY_KEY_ASC = "PRIMARY_KEY_ASC",
1409
+ PRIMARY_KEY_DESC = "PRIMARY_KEY_DESC",
1410
+ SERVICE_ID_ASC = "SERVICE_ID_ASC",
1411
+ SERVICE_ID_DESC = "SERVICE_ID_DESC",
1412
+ TENANT_ID_ASC = "TENANT_ID_ASC",
1413
+ TENANT_ID_DESC = "TENANT_ID_DESC",
1414
+ TITLE_ASC = "TITLE_ASC",
1415
+ TITLE_DESC = "TITLE_DESC",
1416
+ UPDATED_AT_ASC = "UPDATED_AT_ASC",
1417
+ UPDATED_AT_DESC = "UPDATED_AT_DESC",
1418
+ UPDATED_BY_ASC = "UPDATED_BY_ASC",
1419
+ UPDATED_BY_DESC = "UPDATED_BY_DESC",
1420
+ USED_BY_MANAGED_SERVICE_ONLY_ASC = "USED_BY_MANAGED_SERVICE_ONLY_ASC",
1421
+ USED_BY_MANAGED_SERVICE_ONLY_DESC = "USED_BY_MANAGED_SERVICE_ONLY_DESC",
1422
+ USED_FOR_DEVELOPMENT_ASC = "USED_FOR_DEVELOPMENT_ASC",
1423
+ USED_FOR_DEVELOPMENT_DESC = "USED_FOR_DEVELOPMENT_DESC"
1424
+ }
1425
+ export type PermissionStructure = {
1426
+ permissions: Array<Maybe<Scalars['String']>>;
1427
+ serviceId: Scalars['String'];
1428
+ };
1429
+ /** A filter to be used against many `UserRolePermissionAssignment` object types. All fields are combined with a logical ‘and.’ */
1430
+ export type PermissionToManyUserRolePermissionAssignmentFilter = {
1431
+ /** Every related `UserRolePermissionAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
1432
+ every?: Maybe<UserRolePermissionAssignmentFilter>;
1433
+ /** No related `UserRolePermissionAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
1434
+ none?: Maybe<UserRolePermissionAssignmentFilter>;
1435
+ /** Some related `UserRolePermissionAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
1436
+ some?: Maybe<UserRolePermissionAssignmentFilter>;
1437
+ };
1438
+ /** The root query type which gives access points into the data universe. */
1439
+ export type Query = {
1440
+ __typename?: 'Query';
1441
+ /** Reads and enables pagination through a set of `ActivePermission`. */
1442
+ activePermissions?: Maybe<ActivePermissionsConnection>;
1443
+ getUserRoleTagValues?: Maybe<GetUserRoleTagValuesConnection>;
1444
+ permission?: Maybe<Permission>;
1445
+ /** Reads and enables pagination through a set of `Permission`. */
1446
+ permissions?: Maybe<PermissionsConnection>;
2085
1447
  /**
2086
- * An arbitrary string value with no semantic meaning. Will be included in the
2087
- * payload verbatim. May be used to track mutations by the client.
1448
+ * Exposes the root query type nested one level down. This is helpful for Relay 1
1449
+ * which can only query top level fields if they are in a particular form.
2088
1450
  */
2089
- clientMutationId?: Maybe<Scalars['String']>;
2090
- /** The `User` to be created by this mutation. */
2091
- user: UserInput;
1451
+ query: Query;
1452
+ user?: Maybe<User>;
1453
+ userRole?: Maybe<UserRole>;
1454
+ /** Reads and enables pagination through a set of `UserRoleInheritedPermission`. */
1455
+ userRoleAllPermissionAssignments?: Maybe<UserRoleInheritedPermissionsConnection>;
1456
+ userRoleAssignment?: Maybe<UserRoleAssignment>;
1457
+ /** Reads and enables pagination through a set of `UserRoleAssignment`. */
1458
+ userRoleAssignments?: Maybe<UserRoleAssignmentsConnection>;
1459
+ userRoleParentAssignment?: Maybe<UserRoleParentAssignment>;
1460
+ /** Reads and enables pagination through a set of `UserRoleParentAssignment`. */
1461
+ userRoleParentAssignments?: Maybe<UserRoleParentAssignmentsConnection>;
1462
+ userRolePermissionAssignment?: Maybe<UserRolePermissionAssignment>;
1463
+ /** Reads and enables pagination through a set of `UserRolePermissionAssignment`. */
1464
+ userRolePermissionAssignments?: Maybe<UserRolePermissionAssignmentsConnection>;
1465
+ /** Reads and enables pagination through a set of `UserRole`. */
1466
+ userRoles?: Maybe<UserRolesConnection>;
1467
+ userRoleTagAssignment?: Maybe<UserRoleTagAssignment>;
1468
+ /** Reads and enables pagination through a set of `UserRoleTagAssignment`. */
1469
+ userRoleTagAssignments?: Maybe<UserRoleTagAssignmentsConnection>;
1470
+ /** Reads and enables pagination through a set of `User`. */
1471
+ users?: Maybe<UsersConnection>;
1472
+ /** Reads and enables pagination through a set of `User`. */
1473
+ usersWithUserRoleFilter?: Maybe<UsersConnection>;
1474
+ };
1475
+ /** The root query type which gives access points into the data universe. */
1476
+ export type QueryActivePermissionsArgs = {
1477
+ after?: Maybe<Scalars['Cursor']>;
1478
+ before?: Maybe<Scalars['Cursor']>;
1479
+ condition?: Maybe<ActivePermissionCondition>;
1480
+ filter?: Maybe<ActivePermissionFilter>;
1481
+ first?: Maybe<Scalars['Int']>;
1482
+ last?: Maybe<Scalars['Int']>;
1483
+ offset?: Maybe<Scalars['Int']>;
1484
+ orderBy?: Maybe<Array<ActivePermissionsOrderBy>>;
2092
1485
  };
2093
- /** An input for mutations affecting `User` */
2094
- export type UserInput = {
2095
- name: Scalars['String'];
2096
- profilePictureUrl?: Maybe<Scalars['String']>;
2097
- email: Scalars['String'];
2098
- status?: Maybe<UserStatus>;
1486
+ /** The root query type which gives access points into the data universe. */
1487
+ export type QueryGetUserRoleTagValuesArgs = {
1488
+ after?: Maybe<Scalars['Cursor']>;
1489
+ before?: Maybe<Scalars['Cursor']>;
1490
+ exclusionList?: Maybe<Array<Maybe<Scalars['String']>>>;
1491
+ filter?: Maybe<StringFilter>;
1492
+ first?: Maybe<Scalars['Int']>;
1493
+ last?: Maybe<Scalars['Int']>;
1494
+ offset?: Maybe<Scalars['Int']>;
1495
+ searchText?: Maybe<Scalars['String']>;
2099
1496
  };
2100
- /** The output of our create `UserRole` mutation. */
2101
- export type CreateUserRolePayload = {
2102
- __typename?: 'CreateUserRolePayload';
2103
- /**
2104
- * The exact same `clientMutationId` that was provided in the mutation input,
2105
- * unchanged and unused. May be used by a client to track mutations.
2106
- */
2107
- clientMutationId?: Maybe<Scalars['String']>;
2108
- /** The `UserRole` that was created by this mutation. */
2109
- userRole?: Maybe<UserRole>;
2110
- /** Our root query field type. Allows us to run any query from our mutation payload. */
2111
- query?: Maybe<Query>;
2112
- /** An edge for our `UserRole`. May be used by Relay 1. */
2113
- userRoleEdge?: Maybe<UserRolesEdge>;
1497
+ /** The root query type which gives access points into the data universe. */
1498
+ export type QueryPermissionArgs = {
1499
+ id: Scalars['UUID'];
2114
1500
  };
2115
- /** The output of our create `UserRole` mutation. */
2116
- export type CreateUserRolePayloadUserRoleEdgeArgs = {
2117
- orderBy?: Maybe<Array<UserRolesOrderBy>>;
1501
+ /** The root query type which gives access points into the data universe. */
1502
+ export type QueryPermissionsArgs = {
1503
+ after?: Maybe<Scalars['Cursor']>;
1504
+ before?: Maybe<Scalars['Cursor']>;
1505
+ condition?: Maybe<PermissionCondition>;
1506
+ filter?: Maybe<PermissionFilter>;
1507
+ first?: Maybe<Scalars['Int']>;
1508
+ last?: Maybe<Scalars['Int']>;
1509
+ offset?: Maybe<Scalars['Int']>;
1510
+ orderBy?: Maybe<Array<PermissionsOrderBy>>;
2118
1511
  };
2119
- /** All input for the create `UserRole` mutation. */
2120
- export type CreateUserRoleInput = {
2121
- /**
2122
- * An arbitrary string value with no semantic meaning. Will be included in the
2123
- * payload verbatim. May be used to track mutations by the client.
2124
- */
2125
- clientMutationId?: Maybe<Scalars['String']>;
2126
- /** The `UserRole` to be created by this mutation. */
2127
- userRole: UserRoleInput;
1512
+ /** The root query type which gives access points into the data universe. */
1513
+ export type QueryUserArgs = {
1514
+ id: Scalars['UUID'];
2128
1515
  };
2129
- /** An input for mutations affecting `UserRole` */
2130
- export type UserRoleInput = {
2131
- name: Scalars['String'];
2132
- description?: Maybe<Scalars['String']>;
1516
+ /** The root query type which gives access points into the data universe. */
1517
+ export type QueryUserRoleArgs = {
1518
+ id: Scalars['UUID'];
2133
1519
  };
2134
- /** The output of our create `UserRoleAssignment` mutation. */
2135
- export type CreateUserRoleAssignmentPayload = {
2136
- __typename?: 'CreateUserRoleAssignmentPayload';
2137
- /**
2138
- * The exact same `clientMutationId` that was provided in the mutation input,
2139
- * unchanged and unused. May be used by a client to track mutations.
2140
- */
2141
- clientMutationId?: Maybe<Scalars['String']>;
2142
- /** The `UserRoleAssignment` that was created by this mutation. */
2143
- userRoleAssignment?: Maybe<UserRoleAssignment>;
2144
- /** Our root query field type. Allows us to run any query from our mutation payload. */
2145
- query?: Maybe<Query>;
2146
- /** Reads a single `User` that is related to this `UserRoleAssignment`. */
2147
- user?: Maybe<User>;
2148
- /** Reads a single `UserRole` that is related to this `UserRoleAssignment`. */
2149
- userRole?: Maybe<UserRole>;
2150
- /** An edge for our `UserRoleAssignment`. May be used by Relay 1. */
2151
- userRoleAssignmentEdge?: Maybe<UserRoleAssignmentsEdge>;
1520
+ /** The root query type which gives access points into the data universe. */
1521
+ export type QueryUserRoleAllPermissionAssignmentsArgs = {
1522
+ after?: Maybe<Scalars['Cursor']>;
1523
+ before?: Maybe<Scalars['Cursor']>;
1524
+ filter?: Maybe<UserRoleInheritedPermissionFilter>;
1525
+ first?: Maybe<Scalars['Int']>;
1526
+ last?: Maybe<Scalars['Int']>;
1527
+ offset?: Maybe<Scalars['Int']>;
1528
+ userRoleId?: Maybe<Scalars['UUID']>;
2152
1529
  };
2153
- /** The output of our create `UserRoleAssignment` mutation. */
2154
- export type CreateUserRoleAssignmentPayloadUserRoleAssignmentEdgeArgs = {
1530
+ /** The root query type which gives access points into the data universe. */
1531
+ export type QueryUserRoleAssignmentArgs = {
1532
+ id: Scalars['UUID'];
1533
+ };
1534
+ /** The root query type which gives access points into the data universe. */
1535
+ export type QueryUserRoleAssignmentsArgs = {
1536
+ after?: Maybe<Scalars['Cursor']>;
1537
+ before?: Maybe<Scalars['Cursor']>;
1538
+ condition?: Maybe<UserRoleAssignmentCondition>;
1539
+ filter?: Maybe<UserRoleAssignmentFilter>;
1540
+ first?: Maybe<Scalars['Int']>;
1541
+ last?: Maybe<Scalars['Int']>;
1542
+ offset?: Maybe<Scalars['Int']>;
2155
1543
  orderBy?: Maybe<Array<UserRoleAssignmentsOrderBy>>;
2156
1544
  };
2157
- /** All input for the create `UserRoleAssignment` mutation. */
2158
- export type CreateUserRoleAssignmentInput = {
2159
- /**
2160
- * An arbitrary string value with no semantic meaning. Will be included in the
2161
- * payload verbatim. May be used to track mutations by the client.
2162
- */
2163
- clientMutationId?: Maybe<Scalars['String']>;
2164
- /** The `UserRoleAssignment` to be created by this mutation. */
2165
- userRoleAssignment: UserRoleAssignmentInput;
1545
+ /** The root query type which gives access points into the data universe. */
1546
+ export type QueryUserRoleParentAssignmentArgs = {
1547
+ id: Scalars['UUID'];
2166
1548
  };
2167
- /** An input for mutations affecting `UserRoleAssignment` */
2168
- export type UserRoleAssignmentInput = {
2169
- userId: Scalars['UUID'];
2170
- userRoleId: Scalars['UUID'];
1549
+ /** The root query type which gives access points into the data universe. */
1550
+ export type QueryUserRoleParentAssignmentsArgs = {
1551
+ after?: Maybe<Scalars['Cursor']>;
1552
+ before?: Maybe<Scalars['Cursor']>;
1553
+ condition?: Maybe<UserRoleParentAssignmentCondition>;
1554
+ filter?: Maybe<UserRoleParentAssignmentFilter>;
1555
+ first?: Maybe<Scalars['Int']>;
1556
+ last?: Maybe<Scalars['Int']>;
1557
+ offset?: Maybe<Scalars['Int']>;
1558
+ orderBy?: Maybe<Array<UserRoleParentAssignmentsOrderBy>>;
2171
1559
  };
2172
- /** The output of our create `UserRoleParentAssignment` mutation. */
2173
- export type CreateUserRoleParentAssignmentPayload = {
2174
- __typename?: 'CreateUserRoleParentAssignmentPayload';
2175
- /**
2176
- * The exact same `clientMutationId` that was provided in the mutation input,
2177
- * unchanged and unused. May be used by a client to track mutations.
2178
- */
2179
- clientMutationId?: Maybe<Scalars['String']>;
2180
- /** The `UserRoleParentAssignment` that was created by this mutation. */
2181
- userRoleParentAssignment?: Maybe<UserRoleParentAssignment>;
2182
- /** Our root query field type. Allows us to run any query from our mutation payload. */
2183
- query?: Maybe<Query>;
2184
- /** Reads a single `UserRole` that is related to this `UserRoleParentAssignment`. */
2185
- parentUserRole?: Maybe<UserRole>;
2186
- /** An edge for our `UserRoleParentAssignment`. May be used by Relay 1. */
2187
- userRoleParentAssignmentEdge?: Maybe<UserRoleParentAssignmentsEdge>;
1560
+ /** The root query type which gives access points into the data universe. */
1561
+ export type QueryUserRolePermissionAssignmentArgs = {
1562
+ id: Scalars['UUID'];
2188
1563
  };
2189
- /** The output of our create `UserRoleParentAssignment` mutation. */
2190
- export type CreateUserRoleParentAssignmentPayloadUserRoleParentAssignmentEdgeArgs = {
2191
- orderBy?: Maybe<Array<UserRoleParentAssignmentsOrderBy>>;
1564
+ /** The root query type which gives access points into the data universe. */
1565
+ export type QueryUserRolePermissionAssignmentsArgs = {
1566
+ after?: Maybe<Scalars['Cursor']>;
1567
+ before?: Maybe<Scalars['Cursor']>;
1568
+ condition?: Maybe<UserRolePermissionAssignmentCondition>;
1569
+ filter?: Maybe<UserRolePermissionAssignmentFilter>;
1570
+ first?: Maybe<Scalars['Int']>;
1571
+ last?: Maybe<Scalars['Int']>;
1572
+ offset?: Maybe<Scalars['Int']>;
1573
+ orderBy?: Maybe<Array<UserRolePermissionAssignmentsOrderBy>>;
2192
1574
  };
2193
- /** All input for the create `UserRoleParentAssignment` mutation. */
2194
- export type CreateUserRoleParentAssignmentInput = {
2195
- /**
2196
- * An arbitrary string value with no semantic meaning. Will be included in the
2197
- * payload verbatim. May be used to track mutations by the client.
2198
- */
2199
- clientMutationId?: Maybe<Scalars['String']>;
2200
- /** The `UserRoleParentAssignment` to be created by this mutation. */
2201
- userRoleParentAssignment: UserRoleParentAssignmentInput;
1575
+ /** The root query type which gives access points into the data universe. */
1576
+ export type QueryUserRolesArgs = {
1577
+ after?: Maybe<Scalars['Cursor']>;
1578
+ before?: Maybe<Scalars['Cursor']>;
1579
+ condition?: Maybe<UserRoleCondition>;
1580
+ filter?: Maybe<UserRoleFilter>;
1581
+ first?: Maybe<Scalars['Int']>;
1582
+ last?: Maybe<Scalars['Int']>;
1583
+ offset?: Maybe<Scalars['Int']>;
1584
+ orderBy?: Maybe<Array<UserRolesOrderBy>>;
2202
1585
  };
2203
- /** An input for mutations affecting `UserRoleParentAssignment` */
2204
- export type UserRoleParentAssignmentInput = {
1586
+ /** The root query type which gives access points into the data universe. */
1587
+ export type QueryUserRoleTagAssignmentArgs = {
1588
+ environmentId: Scalars['UUID'];
1589
+ tag: Scalars['String'];
1590
+ tenantId: Scalars['UUID'];
2205
1591
  userRoleId: Scalars['UUID'];
2206
- parentUserRoleId: Scalars['UUID'];
2207
1592
  };
2208
- /** The output of our create `UserRolePermissionAssignment` mutation. */
2209
- export type CreateUserRolePermissionAssignmentPayload = {
2210
- __typename?: 'CreateUserRolePermissionAssignmentPayload';
2211
- /**
2212
- * The exact same `clientMutationId` that was provided in the mutation input,
2213
- * unchanged and unused. May be used by a client to track mutations.
2214
- */
2215
- clientMutationId?: Maybe<Scalars['String']>;
2216
- /** The `UserRolePermissionAssignment` that was created by this mutation. */
2217
- userRolePermissionAssignment?: Maybe<UserRolePermissionAssignment>;
2218
- /** Our root query field type. Allows us to run any query from our mutation payload. */
2219
- query?: Maybe<Query>;
2220
- /** Reads a single `UserRole` that is related to this `UserRolePermissionAssignment`. */
2221
- userRole?: Maybe<UserRole>;
2222
- /** Reads a single `Permission` that is related to this `UserRolePermissionAssignment`. */
2223
- permission?: Maybe<Permission>;
2224
- /** An edge for our `UserRolePermissionAssignment`. May be used by Relay 1. */
2225
- userRolePermissionAssignmentEdge?: Maybe<UserRolePermissionAssignmentsEdge>;
1593
+ /** The root query type which gives access points into the data universe. */
1594
+ export type QueryUserRoleTagAssignmentsArgs = {
1595
+ after?: Maybe<Scalars['Cursor']>;
1596
+ before?: Maybe<Scalars['Cursor']>;
1597
+ condition?: Maybe<UserRoleTagAssignmentCondition>;
1598
+ filter?: Maybe<UserRoleTagAssignmentFilter>;
1599
+ first?: Maybe<Scalars['Int']>;
1600
+ last?: Maybe<Scalars['Int']>;
1601
+ offset?: Maybe<Scalars['Int']>;
1602
+ orderBy?: Maybe<Array<UserRoleTagAssignmentsOrderBy>>;
2226
1603
  };
2227
- /** The output of our create `UserRolePermissionAssignment` mutation. */
2228
- export type CreateUserRolePermissionAssignmentPayloadUserRolePermissionAssignmentEdgeArgs = {
2229
- orderBy?: Maybe<Array<UserRolePermissionAssignmentsOrderBy>>;
1604
+ /** The root query type which gives access points into the data universe. */
1605
+ export type QueryUsersArgs = {
1606
+ after?: Maybe<Scalars['Cursor']>;
1607
+ before?: Maybe<Scalars['Cursor']>;
1608
+ condition?: Maybe<UserCondition>;
1609
+ filter?: Maybe<UserFilter>;
1610
+ first?: Maybe<Scalars['Int']>;
1611
+ last?: Maybe<Scalars['Int']>;
1612
+ offset?: Maybe<Scalars['Int']>;
1613
+ orderBy?: Maybe<Array<UsersOrderBy>>;
2230
1614
  };
2231
- /** All input for the create `UserRolePermissionAssignment` mutation. */
2232
- export type CreateUserRolePermissionAssignmentInput = {
2233
- /**
2234
- * An arbitrary string value with no semantic meaning. Will be included in the
2235
- * payload verbatim. May be used to track mutations by the client.
2236
- */
2237
- clientMutationId?: Maybe<Scalars['String']>;
2238
- /** The `UserRolePermissionAssignment` to be created by this mutation. */
2239
- userRolePermissionAssignment: UserRolePermissionAssignmentInput;
1615
+ /** The root query type which gives access points into the data universe. */
1616
+ export type QueryUsersWithUserRoleFilterArgs = {
1617
+ after?: Maybe<Scalars['Cursor']>;
1618
+ before?: Maybe<Scalars['Cursor']>;
1619
+ excludeRoles?: Maybe<Array<Maybe<Scalars['String']>>>;
1620
+ excludeRolesIncludeInherited?: Maybe<Scalars['Boolean']>;
1621
+ filter?: Maybe<UserFilter>;
1622
+ first?: Maybe<Scalars['Int']>;
1623
+ includeRoles?: Maybe<Array<Maybe<Scalars['String']>>>;
1624
+ includeRolesIncludeInherited?: Maybe<Scalars['Boolean']>;
1625
+ last?: Maybe<Scalars['Int']>;
1626
+ offset?: Maybe<Scalars['Int']>;
1627
+ orderBy?: Maybe<Array<UsersOrderBy>>;
2240
1628
  };
2241
- /** An input for mutations affecting `UserRolePermissionAssignment` */
2242
- export type UserRolePermissionAssignmentInput = {
2243
- userRoleId: Scalars['UUID'];
2244
- permissionId: Scalars['UUID'];
1629
+ export type RevokeRefreshTokenPayload = {
1630
+ __typename?: 'RevokeRefreshTokenPayload';
1631
+ revokedRefreshTokenCount: Scalars['Int'];
2245
1632
  };
2246
- /** The output of our create `UserRoleTagAssignment` mutation. */
2247
- export type CreateUserRoleTagAssignmentPayload = {
2248
- __typename?: 'CreateUserRoleTagAssignmentPayload';
2249
- /**
2250
- * The exact same `clientMutationId` that was provided in the mutation input,
2251
- * unchanged and unused. May be used by a client to track mutations.
2252
- */
2253
- clientMutationId?: Maybe<Scalars['String']>;
2254
- /** The `UserRoleTagAssignment` that was created by this mutation. */
2255
- userRoleTagAssignment?: Maybe<UserRoleTagAssignment>;
2256
- /** Our root query field type. Allows us to run any query from our mutation payload. */
2257
- query?: Maybe<Query>;
2258
- /** Reads a single `UserRole` that is related to this `UserRoleTagAssignment`. */
2259
- userRole?: Maybe<UserRole>;
2260
- /** An edge for our `UserRoleTagAssignment`. May be used by Relay 1. */
2261
- userRoleTagAssignmentEdge?: Maybe<UserRoleTagAssignmentsEdge>;
1633
+ export type SetupDevBasicDataInput = {
1634
+ /** Email given here will be setup as the tenant administrator email, as well as user administrator email. */
1635
+ adminEmail: Scalars['String'];
1636
+ /** Password given here will be setup as the tenant administrator password. */
1637
+ adminPassword: Scalars['String'];
1638
+ /** Optional Environment ID to generate basic data with. If not specified will default to configured dev value. */
1639
+ environmentId?: Maybe<Scalars['String']>;
1640
+ /** environmentTemplateId */
1641
+ environmentTemplateId: Scalars['String'];
1642
+ /** Google IDP Configuration - Client ID. */
1643
+ googleClientId: Scalars['String'];
1644
+ /** Google IDP Configuration - Client Secret. */
1645
+ googleClientSecret: Scalars['String'];
1646
+ /** Optional tenant ID to generate basic data with. If not specified will default to configured dev value. */
1647
+ tenantId?: Maybe<Scalars['String']>;
2262
1648
  };
2263
- /** The output of our create `UserRoleTagAssignment` mutation. */
2264
- export type CreateUserRoleTagAssignmentPayloadUserRoleTagAssignmentEdgeArgs = {
2265
- orderBy?: Maybe<Array<UserRoleTagAssignmentsOrderBy>>;
1649
+ export type SetupDevBasicDataPayload = {
1650
+ __typename?: 'SetupDevBasicDataPayload';
1651
+ /** Development Environment ID to be used in ID Service integration. */
1652
+ environmentId: Scalars['String'];
1653
+ /** Development Tenant ID to be used in ID Service integration. */
1654
+ tenantId: Scalars['String'];
2266
1655
  };
2267
- /** All input for the create `UserRoleTagAssignment` mutation. */
2268
- export type CreateUserRoleTagAssignmentInput = {
2269
- /**
2270
- * An arbitrary string value with no semantic meaning. Will be included in the
2271
- * payload verbatim. May be used to track mutations by the client.
2272
- */
2273
- clientMutationId?: Maybe<Scalars['String']>;
2274
- /** The `UserRoleTagAssignment` to be created by this mutation. */
2275
- userRoleTagAssignment: UserRoleTagAssignmentInput;
1656
+ /** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */
1657
+ export type StringFilter = {
1658
+ /** Not equal to the specified value, treating null like an ordinary value. */
1659
+ distinctFrom?: Maybe<Scalars['String']>;
1660
+ /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
1661
+ distinctFromInsensitive?: Maybe<Scalars['String']>;
1662
+ /** Ends with the specified string (case-sensitive). */
1663
+ endsWith?: Maybe<Scalars['String']>;
1664
+ /** Ends with the specified string (case-insensitive). */
1665
+ endsWithInsensitive?: Maybe<Scalars['String']>;
1666
+ /** Equal to the specified value. */
1667
+ equalTo?: Maybe<Scalars['String']>;
1668
+ /** Equal to the specified value (case-insensitive). */
1669
+ equalToInsensitive?: Maybe<Scalars['String']>;
1670
+ /** Greater than the specified value. */
1671
+ greaterThan?: Maybe<Scalars['String']>;
1672
+ /** Greater than the specified value (case-insensitive). */
1673
+ greaterThanInsensitive?: Maybe<Scalars['String']>;
1674
+ /** Greater than or equal to the specified value. */
1675
+ greaterThanOrEqualTo?: Maybe<Scalars['String']>;
1676
+ /** Greater than or equal to the specified value (case-insensitive). */
1677
+ greaterThanOrEqualToInsensitive?: Maybe<Scalars['String']>;
1678
+ /** Included in the specified list. */
1679
+ in?: Maybe<Array<Scalars['String']>>;
1680
+ /** Contains the specified string (case-sensitive). */
1681
+ includes?: Maybe<Scalars['String']>;
1682
+ /** Contains the specified string (case-insensitive). */
1683
+ includesInsensitive?: Maybe<Scalars['String']>;
1684
+ /** Included in the specified list (case-insensitive). */
1685
+ inInsensitive?: Maybe<Array<Scalars['String']>>;
1686
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1687
+ isNull?: Maybe<Scalars['Boolean']>;
1688
+ /** Less than the specified value. */
1689
+ lessThan?: Maybe<Scalars['String']>;
1690
+ /** Less than the specified value (case-insensitive). */
1691
+ lessThanInsensitive?: Maybe<Scalars['String']>;
1692
+ /** Less than or equal to the specified value. */
1693
+ lessThanOrEqualTo?: Maybe<Scalars['String']>;
1694
+ /** Less than or equal to the specified value (case-insensitive). */
1695
+ lessThanOrEqualToInsensitive?: Maybe<Scalars['String']>;
1696
+ /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
1697
+ like?: Maybe<Scalars['String']>;
1698
+ /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
1699
+ likeInsensitive?: Maybe<Scalars['String']>;
1700
+ /** Equal to the specified value, treating null like an ordinary value. */
1701
+ notDistinctFrom?: Maybe<Scalars['String']>;
1702
+ /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
1703
+ notDistinctFromInsensitive?: Maybe<Scalars['String']>;
1704
+ /** Does not end with the specified string (case-sensitive). */
1705
+ notEndsWith?: Maybe<Scalars['String']>;
1706
+ /** Does not end with the specified string (case-insensitive). */
1707
+ notEndsWithInsensitive?: Maybe<Scalars['String']>;
1708
+ /** Not equal to the specified value. */
1709
+ notEqualTo?: Maybe<Scalars['String']>;
1710
+ /** Not equal to the specified value (case-insensitive). */
1711
+ notEqualToInsensitive?: Maybe<Scalars['String']>;
1712
+ /** Not included in the specified list. */
1713
+ notIn?: Maybe<Array<Scalars['String']>>;
1714
+ /** Does not contain the specified string (case-sensitive). */
1715
+ notIncludes?: Maybe<Scalars['String']>;
1716
+ /** Does not contain the specified string (case-insensitive). */
1717
+ notIncludesInsensitive?: Maybe<Scalars['String']>;
1718
+ /** Not included in the specified list (case-insensitive). */
1719
+ notInInsensitive?: Maybe<Array<Scalars['String']>>;
1720
+ /** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
1721
+ notLike?: Maybe<Scalars['String']>;
1722
+ /** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
1723
+ notLikeInsensitive?: Maybe<Scalars['String']>;
1724
+ /** Does not start with the specified string (case-sensitive). */
1725
+ notStartsWith?: Maybe<Scalars['String']>;
1726
+ /** Does not start with the specified string (case-insensitive). */
1727
+ notStartsWithInsensitive?: Maybe<Scalars['String']>;
1728
+ /** Starts with the specified string (case-sensitive). */
1729
+ startsWith?: Maybe<Scalars['String']>;
1730
+ /** Starts with the specified string (case-insensitive). */
1731
+ startsWithInsensitive?: Maybe<Scalars['String']>;
2276
1732
  };
2277
- /** An input for mutations affecting `UserRoleTagAssignment` */
2278
- export type UserRoleTagAssignmentInput = {
2279
- userRoleId: Scalars['UUID'];
2280
- tag: Scalars['String'];
1733
+ /** A filter to be used against String List fields. All fields are combined with a logical ‘and.’ */
1734
+ export type StringListFilter = {
1735
+ /** Any array item is equal to the specified value. */
1736
+ anyEqualTo?: Maybe<Scalars['String']>;
1737
+ /** Any array item is greater than the specified value. */
1738
+ anyGreaterThan?: Maybe<Scalars['String']>;
1739
+ /** Any array item is greater than or equal to the specified value. */
1740
+ anyGreaterThanOrEqualTo?: Maybe<Scalars['String']>;
1741
+ /** Any array item is less than the specified value. */
1742
+ anyLessThan?: Maybe<Scalars['String']>;
1743
+ /** Any array item is less than or equal to the specified value. */
1744
+ anyLessThanOrEqualTo?: Maybe<Scalars['String']>;
1745
+ /** Any array item is not equal to the specified value. */
1746
+ anyNotEqualTo?: Maybe<Scalars['String']>;
1747
+ /** Contained by the specified list of values. */
1748
+ containedBy?: Maybe<Array<Maybe<Scalars['String']>>>;
1749
+ /** Contains the specified list of values. */
1750
+ contains?: Maybe<Array<Maybe<Scalars['String']>>>;
1751
+ /** Not equal to the specified value, treating null like an ordinary value. */
1752
+ distinctFrom?: Maybe<Array<Maybe<Scalars['String']>>>;
1753
+ /** Equal to the specified value. */
1754
+ equalTo?: Maybe<Array<Maybe<Scalars['String']>>>;
1755
+ /** Greater than the specified value. */
1756
+ greaterThan?: Maybe<Array<Maybe<Scalars['String']>>>;
1757
+ /** Greater than or equal to the specified value. */
1758
+ greaterThanOrEqualTo?: Maybe<Array<Maybe<Scalars['String']>>>;
1759
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1760
+ isNull?: Maybe<Scalars['Boolean']>;
1761
+ /** Less than the specified value. */
1762
+ lessThan?: Maybe<Array<Maybe<Scalars['String']>>>;
1763
+ /** Less than or equal to the specified value. */
1764
+ lessThanOrEqualTo?: Maybe<Array<Maybe<Scalars['String']>>>;
1765
+ /** Equal to the specified value, treating null like an ordinary value. */
1766
+ notDistinctFrom?: Maybe<Array<Maybe<Scalars['String']>>>;
1767
+ /** Not equal to the specified value. */
1768
+ notEqualTo?: Maybe<Array<Maybe<Scalars['String']>>>;
1769
+ /** Overlaps the specified list of values. */
1770
+ overlaps?: Maybe<Array<Maybe<Scalars['String']>>>;
2281
1771
  };
2282
- /** The output of our update `User` mutation. */
2283
- export type UpdateUserPayload = {
2284
- __typename?: 'UpdateUserPayload';
2285
- /**
2286
- * The exact same `clientMutationId` that was provided in the mutation input,
2287
- * unchanged and unused. May be used by a client to track mutations.
2288
- */
2289
- clientMutationId?: Maybe<Scalars['String']>;
2290
- /** The `User` that was updated by this mutation. */
2291
- user?: Maybe<User>;
2292
- /** Our root query field type. Allows us to run any query from our mutation payload. */
2293
- query?: Maybe<Query>;
2294
- /** An edge for our `User`. May be used by Relay 1. */
2295
- userEdge?: Maybe<UsersEdge>;
1772
+ export type SynchronizePermissionsInput = {
1773
+ permissions: Array<Maybe<Scalars['JSON']>>;
1774
+ serviceId: Scalars['String'];
2296
1775
  };
2297
- /** The output of our update `User` mutation. */
2298
- export type UpdateUserPayloadUserEdgeArgs = {
2299
- orderBy?: Maybe<Array<UsersOrderBy>>;
1776
+ export type SynchronizePermissionsPayload = {
1777
+ __typename?: 'SynchronizePermissionsPayload';
1778
+ added?: Maybe<Array<Maybe<Scalars['String']>>>;
1779
+ removed?: Maybe<Array<Maybe<Scalars['String']>>>;
2300
1780
  };
2301
1781
  /** All input for the `updateUser` mutation. */
2302
1782
  export type UpdateUserInput = {
@@ -2305,501 +1785,1025 @@ export type UpdateUserInput = {
2305
1785
  * payload verbatim. May be used to track mutations by the client.
2306
1786
  */
2307
1787
  clientMutationId?: Maybe<Scalars['String']>;
1788
+ id: Scalars['UUID'];
2308
1789
  /** An object where the defined keys will be set on the `User` being updated. */
2309
1790
  patch: UserPatch;
2310
- id: Scalars['UUID'];
2311
1791
  };
2312
- /** Represents an update to a `User`. Fields that are set will be updated. */
2313
- export type UserPatch = {
2314
- status?: Maybe<UserStatus>;
2315
- };
2316
- /** The output of our update `UserRole` mutation. */
2317
- export type UpdateUserRolePayload = {
2318
- __typename?: 'UpdateUserRolePayload';
1792
+ /** The output of our update `User` mutation. */
1793
+ export type UpdateUserPayload = {
1794
+ __typename?: 'UpdateUserPayload';
2319
1795
  /**
2320
1796
  * The exact same `clientMutationId` that was provided in the mutation input,
2321
1797
  * unchanged and unused. May be used by a client to track mutations.
2322
1798
  */
2323
1799
  clientMutationId?: Maybe<Scalars['String']>;
2324
- /** The `UserRole` that was updated by this mutation. */
2325
- userRole?: Maybe<UserRole>;
2326
1800
  /** Our root query field type. Allows us to run any query from our mutation payload. */
2327
1801
  query?: Maybe<Query>;
2328
- /** An edge for our `UserRole`. May be used by Relay 1. */
2329
- userRoleEdge?: Maybe<UserRolesEdge>;
2330
- };
2331
- /** The output of our update `UserRole` mutation. */
2332
- export type UpdateUserRolePayloadUserRoleEdgeArgs = {
2333
- orderBy?: Maybe<Array<UserRolesOrderBy>>;
2334
- };
2335
- /** All input for the `updateUserRole` mutation. */
2336
- export type UpdateUserRoleInput = {
2337
- /**
2338
- * An arbitrary string value with no semantic meaning. Will be included in the
2339
- * payload verbatim. May be used to track mutations by the client.
2340
- */
2341
- clientMutationId?: Maybe<Scalars['String']>;
2342
- /** An object where the defined keys will be set on the `UserRole` being updated. */
2343
- patch: UserRolePatch;
2344
- id: Scalars['UUID'];
2345
- };
2346
- /** Represents an update to a `UserRole`. Fields that are set will be updated. */
2347
- export type UserRolePatch = {
2348
- name?: Maybe<Scalars['String']>;
2349
- description?: Maybe<Scalars['String']>;
2350
- };
2351
- /** The output of our delete `User` mutation. */
2352
- export type DeleteUserPayload = {
2353
- __typename?: 'DeleteUserPayload';
2354
- /**
2355
- * The exact same `clientMutationId` that was provided in the mutation input,
2356
- * unchanged and unused. May be used by a client to track mutations.
2357
- */
2358
- clientMutationId?: Maybe<Scalars['String']>;
2359
- /** The `User` that was deleted by this mutation. */
1802
+ /** The `User` that was updated by this mutation. */
2360
1803
  user?: Maybe<User>;
2361
- /** @deprecated The field is obsolete. */
2362
- deletedUserNodeId?: Maybe<Scalars['ID']>;
2363
- /** Our root query field type. Allows us to run any query from our mutation payload. */
2364
- query?: Maybe<Query>;
2365
1804
  /** An edge for our `User`. May be used by Relay 1. */
2366
1805
  userEdge?: Maybe<UsersEdge>;
2367
1806
  };
2368
- /** The output of our delete `User` mutation. */
2369
- export type DeleteUserPayloadUserEdgeArgs = {
1807
+ /** The output of our update `User` mutation. */
1808
+ export type UpdateUserPayloadUserEdgeArgs = {
2370
1809
  orderBy?: Maybe<Array<UsersOrderBy>>;
2371
1810
  };
2372
- /** All input for the `deleteUser` mutation. */
2373
- export type DeleteUserInput = {
1811
+ /** All input for the `updateUserRole` mutation. */
1812
+ export type UpdateUserRoleInput = {
2374
1813
  /**
2375
1814
  * An arbitrary string value with no semantic meaning. Will be included in the
2376
1815
  * payload verbatim. May be used to track mutations by the client.
2377
1816
  */
2378
1817
  clientMutationId?: Maybe<Scalars['String']>;
2379
1818
  id: Scalars['UUID'];
1819
+ /** An object where the defined keys will be set on the `UserRole` being updated. */
1820
+ patch: UserRolePatch;
2380
1821
  };
2381
- /** The output of our delete `UserRole` mutation. */
2382
- export type DeleteUserRolePayload = {
2383
- __typename?: 'DeleteUserRolePayload';
1822
+ /** The output of our update `UserRole` mutation. */
1823
+ export type UpdateUserRolePayload = {
1824
+ __typename?: 'UpdateUserRolePayload';
2384
1825
  /**
2385
1826
  * The exact same `clientMutationId` that was provided in the mutation input,
2386
1827
  * unchanged and unused. May be used by a client to track mutations.
2387
1828
  */
2388
1829
  clientMutationId?: Maybe<Scalars['String']>;
2389
- /** The `UserRole` that was deleted by this mutation. */
2390
- userRole?: Maybe<UserRole>;
2391
- /** @deprecated The field is obsolete. */
2392
- deletedUserRoleNodeId?: Maybe<Scalars['ID']>;
2393
1830
  /** Our root query field type. Allows us to run any query from our mutation payload. */
2394
1831
  query?: Maybe<Query>;
1832
+ /** The `UserRole` that was updated by this mutation. */
1833
+ userRole?: Maybe<UserRole>;
2395
1834
  /** An edge for our `UserRole`. May be used by Relay 1. */
2396
1835
  userRoleEdge?: Maybe<UserRolesEdge>;
2397
1836
  };
2398
- /** The output of our delete `UserRole` mutation. */
2399
- export type DeleteUserRolePayloadUserRoleEdgeArgs = {
1837
+ /** The output of our update `UserRole` mutation. */
1838
+ export type UpdateUserRolePayloadUserRoleEdgeArgs = {
2400
1839
  orderBy?: Maybe<Array<UserRolesOrderBy>>;
2401
1840
  };
2402
- /** All input for the `deleteUserRole` mutation. */
2403
- export type DeleteUserRoleInput = {
2404
- /**
2405
- * An arbitrary string value with no semantic meaning. Will be included in the
2406
- * payload verbatim. May be used to track mutations by the client.
2407
- */
2408
- clientMutationId?: Maybe<Scalars['String']>;
1841
+ export type User = {
1842
+ __typename?: 'User';
1843
+ createdAt: Scalars['Datetime'];
1844
+ createdBy: Scalars['String'];
1845
+ email: Scalars['String'];
1846
+ environmentId: Scalars['UUID'];
2409
1847
  id: Scalars['UUID'];
1848
+ name: Scalars['String'];
1849
+ profilePictureUrl?: Maybe<Scalars['String']>;
1850
+ status: UserStatus;
1851
+ tenantId: Scalars['UUID'];
1852
+ updatedAt: Scalars['Datetime'];
1853
+ updatedBy: Scalars['String'];
1854
+ /** Reads and enables pagination through a set of `UserRoleAssignment`. */
1855
+ userRoleAssignments: UserRoleAssignmentsConnection;
2410
1856
  };
2411
- /** The output of our delete `UserRoleAssignment` mutation. */
2412
- export type DeleteUserRoleAssignmentPayload = {
2413
- __typename?: 'DeleteUserRoleAssignmentPayload';
2414
- /**
2415
- * The exact same `clientMutationId` that was provided in the mutation input,
2416
- * unchanged and unused. May be used by a client to track mutations.
2417
- */
2418
- clientMutationId?: Maybe<Scalars['String']>;
2419
- /** The `UserRoleAssignment` that was deleted by this mutation. */
2420
- userRoleAssignment?: Maybe<UserRoleAssignment>;
2421
- /** @deprecated The field is obsolete. */
2422
- deletedUserRoleAssignmentNodeId?: Maybe<Scalars['ID']>;
2423
- /** Our root query field type. Allows us to run any query from our mutation payload. */
2424
- query?: Maybe<Query>;
1857
+ export type UserUserRoleAssignmentsArgs = {
1858
+ after?: Maybe<Scalars['Cursor']>;
1859
+ before?: Maybe<Scalars['Cursor']>;
1860
+ condition?: Maybe<UserRoleAssignmentCondition>;
1861
+ filter?: Maybe<UserRoleAssignmentFilter>;
1862
+ first?: Maybe<Scalars['Int']>;
1863
+ last?: Maybe<Scalars['Int']>;
1864
+ offset?: Maybe<Scalars['Int']>;
1865
+ orderBy?: Maybe<Array<UserRoleAssignmentsOrderBy>>;
1866
+ };
1867
+ /** A condition to be used against `User` object types. All fields are tested for equality and combined with a logical ‘and.’ */
1868
+ export type UserCondition = {
1869
+ /** Checks for equality with the object’s `createdAt` field. */
1870
+ createdAt?: Maybe<Scalars['Datetime']>;
1871
+ /** Checks for equality with the object’s `createdBy` field. */
1872
+ createdBy?: Maybe<Scalars['String']>;
1873
+ /** Checks for equality with the object’s `email` field. */
1874
+ email?: Maybe<Scalars['String']>;
1875
+ /** Checks for equality with the object’s `environmentId` field. */
1876
+ environmentId?: Maybe<Scalars['UUID']>;
1877
+ /** Checks for equality with the object’s `id` field. */
1878
+ id?: Maybe<Scalars['UUID']>;
1879
+ /** Checks for equality with the object’s `name` field. */
1880
+ name?: Maybe<Scalars['String']>;
1881
+ /** Checks for equality with the object’s `profilePictureUrl` field. */
1882
+ profilePictureUrl?: Maybe<Scalars['String']>;
1883
+ /** Checks for equality with the object’s `status` field. */
1884
+ status?: Maybe<UserStatus>;
1885
+ /** Checks for equality with the object’s `tenantId` field. */
1886
+ tenantId?: Maybe<Scalars['UUID']>;
1887
+ /** Checks for equality with the object’s `updatedAt` field. */
1888
+ updatedAt?: Maybe<Scalars['Datetime']>;
1889
+ /** Checks for equality with the object’s `updatedBy` field. */
1890
+ updatedBy?: Maybe<Scalars['String']>;
1891
+ };
1892
+ /** A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ */
1893
+ export type UserFilter = {
1894
+ /** Checks for all expressions in this list. */
1895
+ and?: Maybe<Array<UserFilter>>;
1896
+ /** Filter by the object’s `createdAt` field. */
1897
+ createdAt?: Maybe<DatetimeFilter>;
1898
+ /** Filter by the object’s `createdBy` field. */
1899
+ createdBy?: Maybe<StringFilter>;
1900
+ /** Filter by the object’s `email` field. */
1901
+ email?: Maybe<StringFilter>;
1902
+ /** Filter by the object’s `environmentId` field. */
1903
+ environmentId?: Maybe<UuidFilter>;
1904
+ /** Filter by the object’s `id` field. */
1905
+ id?: Maybe<UuidFilter>;
1906
+ /** Filter by the object’s `name` field. */
1907
+ name?: Maybe<StringFilter>;
1908
+ /** Negates the expression. */
1909
+ not?: Maybe<UserFilter>;
1910
+ /** Checks for any expressions in this list. */
1911
+ or?: Maybe<Array<UserFilter>>;
1912
+ /** Filter by the object’s `profilePictureUrl` field. */
1913
+ profilePictureUrl?: Maybe<StringFilter>;
1914
+ /** Filter by the object’s `status` field. */
1915
+ status?: Maybe<UserStatusFilter>;
1916
+ /** Filter by the object’s `tenantId` field. */
1917
+ tenantId?: Maybe<UuidFilter>;
1918
+ /** Filter by the object’s `updatedAt` field. */
1919
+ updatedAt?: Maybe<DatetimeFilter>;
1920
+ /** Filter by the object’s `updatedBy` field. */
1921
+ updatedBy?: Maybe<StringFilter>;
1922
+ /** Filter by the object’s `userRoleAssignments` relation. */
1923
+ userRoleAssignments?: Maybe<UserToManyUserRoleAssignmentFilter>;
1924
+ /** Some related `userRoleAssignments` exist. */
1925
+ userRoleAssignmentsExist?: Maybe<Scalars['Boolean']>;
1926
+ };
1927
+ /** An input for mutations affecting `User` */
1928
+ export type UserInput = {
1929
+ email: Scalars['String'];
1930
+ name: Scalars['String'];
1931
+ profilePictureUrl?: Maybe<Scalars['String']>;
1932
+ status?: Maybe<UserStatus>;
1933
+ };
1934
+ /** Represents an update to a `User`. Fields that are set will be updated. */
1935
+ export type UserPatch = {
1936
+ status?: Maybe<UserStatus>;
1937
+ };
1938
+ export type UserRole = {
1939
+ __typename?: 'UserRole';
1940
+ createdAt: Scalars['Datetime'];
1941
+ createdBy: Scalars['String'];
1942
+ description?: Maybe<Scalars['String']>;
1943
+ environmentId: Scalars['UUID'];
1944
+ id: Scalars['UUID'];
1945
+ name: Scalars['String'];
1946
+ tenantId: Scalars['UUID'];
1947
+ updatedAt: Scalars['Datetime'];
1948
+ updatedBy: Scalars['String'];
1949
+ /** Reads and enables pagination through a set of `UserRoleAssignment`. */
1950
+ userRoleAssignments: UserRoleAssignmentsConnection;
1951
+ /** Reads and enables pagination through a set of `UserRoleParentAssignment`. */
1952
+ userRoleParentAssignments: UserRoleParentAssignmentsConnection;
1953
+ /** Reads and enables pagination through a set of `UserRolePermissionAssignment`. */
1954
+ userRolePermissionAssignments: UserRolePermissionAssignmentsConnection;
1955
+ /** Reads and enables pagination through a set of `UserRoleTagAssignment`. */
1956
+ userRoleTagAssignments: UserRoleTagAssignmentsConnection;
1957
+ };
1958
+ export type UserRoleUserRoleAssignmentsArgs = {
1959
+ after?: Maybe<Scalars['Cursor']>;
1960
+ before?: Maybe<Scalars['Cursor']>;
1961
+ condition?: Maybe<UserRoleAssignmentCondition>;
1962
+ filter?: Maybe<UserRoleAssignmentFilter>;
1963
+ first?: Maybe<Scalars['Int']>;
1964
+ last?: Maybe<Scalars['Int']>;
1965
+ offset?: Maybe<Scalars['Int']>;
1966
+ orderBy?: Maybe<Array<UserRoleAssignmentsOrderBy>>;
1967
+ };
1968
+ export type UserRoleUserRoleParentAssignmentsArgs = {
1969
+ after?: Maybe<Scalars['Cursor']>;
1970
+ before?: Maybe<Scalars['Cursor']>;
1971
+ condition?: Maybe<UserRoleParentAssignmentCondition>;
1972
+ filter?: Maybe<UserRoleParentAssignmentFilter>;
1973
+ first?: Maybe<Scalars['Int']>;
1974
+ last?: Maybe<Scalars['Int']>;
1975
+ offset?: Maybe<Scalars['Int']>;
1976
+ orderBy?: Maybe<Array<UserRoleParentAssignmentsOrderBy>>;
1977
+ };
1978
+ export type UserRoleUserRolePermissionAssignmentsArgs = {
1979
+ after?: Maybe<Scalars['Cursor']>;
1980
+ before?: Maybe<Scalars['Cursor']>;
1981
+ condition?: Maybe<UserRolePermissionAssignmentCondition>;
1982
+ filter?: Maybe<UserRolePermissionAssignmentFilter>;
1983
+ first?: Maybe<Scalars['Int']>;
1984
+ last?: Maybe<Scalars['Int']>;
1985
+ offset?: Maybe<Scalars['Int']>;
1986
+ orderBy?: Maybe<Array<UserRolePermissionAssignmentsOrderBy>>;
1987
+ };
1988
+ export type UserRoleUserRoleTagAssignmentsArgs = {
1989
+ after?: Maybe<Scalars['Cursor']>;
1990
+ before?: Maybe<Scalars['Cursor']>;
1991
+ condition?: Maybe<UserRoleTagAssignmentCondition>;
1992
+ filter?: Maybe<UserRoleTagAssignmentFilter>;
1993
+ first?: Maybe<Scalars['Int']>;
1994
+ last?: Maybe<Scalars['Int']>;
1995
+ offset?: Maybe<Scalars['Int']>;
1996
+ orderBy?: Maybe<Array<UserRoleTagAssignmentsOrderBy>>;
1997
+ };
1998
+ export type UserRoleAssignment = {
1999
+ __typename?: 'UserRoleAssignment';
2000
+ createdAt: Scalars['Datetime'];
2001
+ createdBy: Scalars['String'];
2002
+ environmentId: Scalars['UUID'];
2003
+ id: Scalars['UUID'];
2004
+ tenantId: Scalars['UUID'];
2005
+ updatedAt: Scalars['Datetime'];
2006
+ updatedBy: Scalars['String'];
2425
2007
  /** Reads a single `User` that is related to this `UserRoleAssignment`. */
2426
2008
  user?: Maybe<User>;
2009
+ userId: Scalars['UUID'];
2427
2010
  /** Reads a single `UserRole` that is related to this `UserRoleAssignment`. */
2428
2011
  userRole?: Maybe<UserRole>;
2429
- /** An edge for our `UserRoleAssignment`. May be used by Relay 1. */
2430
- userRoleAssignmentEdge?: Maybe<UserRoleAssignmentsEdge>;
2012
+ userRoleId: Scalars['UUID'];
2431
2013
  };
2432
- /** The output of our delete `UserRoleAssignment` mutation. */
2433
- export type DeleteUserRoleAssignmentPayloadUserRoleAssignmentEdgeArgs = {
2434
- orderBy?: Maybe<Array<UserRoleAssignmentsOrderBy>>;
2014
+ /**
2015
+ * A condition to be used against `UserRoleAssignment` object types. All fields are
2016
+ * tested for equality and combined with a logical ‘and.’
2017
+ */
2018
+ export type UserRoleAssignmentCondition = {
2019
+ /** Checks for equality with the object’s `createdAt` field. */
2020
+ createdAt?: Maybe<Scalars['Datetime']>;
2021
+ /** Checks for equality with the object’s `createdBy` field. */
2022
+ createdBy?: Maybe<Scalars['String']>;
2023
+ /** Checks for equality with the object’s `environmentId` field. */
2024
+ environmentId?: Maybe<Scalars['UUID']>;
2025
+ /** Checks for equality with the object’s `id` field. */
2026
+ id?: Maybe<Scalars['UUID']>;
2027
+ /** Checks for equality with the object’s `tenantId` field. */
2028
+ tenantId?: Maybe<Scalars['UUID']>;
2029
+ /** Checks for equality with the object’s `updatedAt` field. */
2030
+ updatedAt?: Maybe<Scalars['Datetime']>;
2031
+ /** Checks for equality with the object’s `updatedBy` field. */
2032
+ updatedBy?: Maybe<Scalars['String']>;
2033
+ /** Checks for equality with the object’s `userId` field. */
2034
+ userId?: Maybe<Scalars['UUID']>;
2035
+ /** Checks for equality with the object’s `userRoleId` field. */
2036
+ userRoleId?: Maybe<Scalars['UUID']>;
2037
+ };
2038
+ /** A filter to be used against `UserRoleAssignment` object types. All fields are combined with a logical ‘and.’ */
2039
+ export type UserRoleAssignmentFilter = {
2040
+ /** Checks for all expressions in this list. */
2041
+ and?: Maybe<Array<UserRoleAssignmentFilter>>;
2042
+ /** Filter by the object’s `createdAt` field. */
2043
+ createdAt?: Maybe<DatetimeFilter>;
2044
+ /** Filter by the object’s `createdBy` field. */
2045
+ createdBy?: Maybe<StringFilter>;
2046
+ /** Filter by the object’s `environmentId` field. */
2047
+ environmentId?: Maybe<UuidFilter>;
2048
+ /** Filter by the object’s `id` field. */
2049
+ id?: Maybe<UuidFilter>;
2050
+ /** Negates the expression. */
2051
+ not?: Maybe<UserRoleAssignmentFilter>;
2052
+ /** Checks for any expressions in this list. */
2053
+ or?: Maybe<Array<UserRoleAssignmentFilter>>;
2054
+ /** Filter by the object’s `tenantId` field. */
2055
+ tenantId?: Maybe<UuidFilter>;
2056
+ /** Filter by the object’s `updatedAt` field. */
2057
+ updatedAt?: Maybe<DatetimeFilter>;
2058
+ /** Filter by the object’s `updatedBy` field. */
2059
+ updatedBy?: Maybe<StringFilter>;
2060
+ /** Filter by the object’s `user` relation. */
2061
+ user?: Maybe<UserFilter>;
2062
+ /** Filter by the object’s `userId` field. */
2063
+ userId?: Maybe<UuidFilter>;
2064
+ /** Filter by the object’s `userRole` relation. */
2065
+ userRole?: Maybe<UserRoleFilter>;
2066
+ /** Filter by the object’s `userRoleId` field. */
2067
+ userRoleId?: Maybe<UuidFilter>;
2435
2068
  };
2436
- /** All input for the `deleteUserRoleAssignment` mutation. */
2437
- export type DeleteUserRoleAssignmentInput = {
2438
- /**
2439
- * An arbitrary string value with no semantic meaning. Will be included in the
2440
- * payload verbatim. May be used to track mutations by the client.
2441
- */
2442
- clientMutationId?: Maybe<Scalars['String']>;
2443
- id: Scalars['UUID'];
2069
+ /** An input for mutations affecting `UserRoleAssignment` */
2070
+ export type UserRoleAssignmentInput = {
2071
+ userId: Scalars['UUID'];
2072
+ userRoleId: Scalars['UUID'];
2444
2073
  };
2445
- /** The output of our delete `UserRoleParentAssignment` mutation. */
2446
- export type DeleteUserRoleParentAssignmentPayload = {
2447
- __typename?: 'DeleteUserRoleParentAssignmentPayload';
2448
- /**
2449
- * The exact same `clientMutationId` that was provided in the mutation input,
2450
- * unchanged and unused. May be used by a client to track mutations.
2451
- */
2452
- clientMutationId?: Maybe<Scalars['String']>;
2453
- /** The `UserRoleParentAssignment` that was deleted by this mutation. */
2454
- userRoleParentAssignment?: Maybe<UserRoleParentAssignment>;
2455
- /** @deprecated The field is obsolete. */
2456
- deletedUserRoleParentNodeId?: Maybe<Scalars['ID']>;
2457
- /** Our root query field type. Allows us to run any query from our mutation payload. */
2458
- query?: Maybe<Query>;
2459
- /** Reads a single `UserRole` that is related to this `UserRoleParentAssignment`. */
2460
- parentUserRole?: Maybe<UserRole>;
2461
- /** An edge for our `UserRoleParentAssignment`. May be used by Relay 1. */
2462
- userRoleParentAssignmentEdge?: Maybe<UserRoleParentAssignmentsEdge>;
2074
+ /** A connection to a list of `UserRoleAssignment` values. */
2075
+ export type UserRoleAssignmentsConnection = {
2076
+ __typename?: 'UserRoleAssignmentsConnection';
2077
+ /** A list of edges which contains the `UserRoleAssignment` and cursor to aid in pagination. */
2078
+ edges: Array<UserRoleAssignmentsEdge>;
2079
+ /** A list of `UserRoleAssignment` objects. */
2080
+ nodes: Array<UserRoleAssignment>;
2081
+ /** Information to aid in pagination. */
2082
+ pageInfo: PageInfo;
2083
+ /** The count of *all* `UserRoleAssignment` you could get from the connection. */
2084
+ totalCount: Scalars['Int'];
2463
2085
  };
2464
- /** The output of our delete `UserRoleParentAssignment` mutation. */
2465
- export type DeleteUserRoleParentAssignmentPayloadUserRoleParentAssignmentEdgeArgs = {
2466
- orderBy?: Maybe<Array<UserRoleParentAssignmentsOrderBy>>;
2086
+ /** A `UserRoleAssignment` edge in the connection. */
2087
+ export type UserRoleAssignmentsEdge = {
2088
+ __typename?: 'UserRoleAssignmentsEdge';
2089
+ /** A cursor for use in pagination. */
2090
+ cursor?: Maybe<Scalars['Cursor']>;
2091
+ /** The `UserRoleAssignment` at the end of the edge. */
2092
+ node: UserRoleAssignment;
2467
2093
  };
2468
- /** All input for the `deleteUserRoleParentAssignment` mutation. */
2469
- export type DeleteUserRoleParentAssignmentInput = {
2470
- /**
2471
- * An arbitrary string value with no semantic meaning. Will be included in the
2472
- * payload verbatim. May be used to track mutations by the client.
2473
- */
2474
- clientMutationId?: Maybe<Scalars['String']>;
2475
- id: Scalars['UUID'];
2094
+ /** Methods to use when ordering `UserRoleAssignment`. */
2095
+ export declare enum UserRoleAssignmentsOrderBy {
2096
+ CREATED_AT_ASC = "CREATED_AT_ASC",
2097
+ CREATED_AT_DESC = "CREATED_AT_DESC",
2098
+ CREATED_BY_ASC = "CREATED_BY_ASC",
2099
+ CREATED_BY_DESC = "CREATED_BY_DESC",
2100
+ ENVIRONMENT_ID_ASC = "ENVIRONMENT_ID_ASC",
2101
+ ENVIRONMENT_ID_DESC = "ENVIRONMENT_ID_DESC",
2102
+ ID_ASC = "ID_ASC",
2103
+ ID_DESC = "ID_DESC",
2104
+ NATURAL = "NATURAL",
2105
+ PRIMARY_KEY_ASC = "PRIMARY_KEY_ASC",
2106
+ PRIMARY_KEY_DESC = "PRIMARY_KEY_DESC",
2107
+ TENANT_ID_ASC = "TENANT_ID_ASC",
2108
+ TENANT_ID_DESC = "TENANT_ID_DESC",
2109
+ UPDATED_AT_ASC = "UPDATED_AT_ASC",
2110
+ UPDATED_AT_DESC = "UPDATED_AT_DESC",
2111
+ UPDATED_BY_ASC = "UPDATED_BY_ASC",
2112
+ UPDATED_BY_DESC = "UPDATED_BY_DESC",
2113
+ USER_ID_ASC = "USER_ID_ASC",
2114
+ USER_ID_DESC = "USER_ID_DESC",
2115
+ USER_ROLE_ID_ASC = "USER_ROLE_ID_ASC",
2116
+ USER_ROLE_ID_DESC = "USER_ROLE_ID_DESC"
2117
+ }
2118
+ /**
2119
+ * A condition to be used against `UserRole` object types. All fields are tested
2120
+ * for equality and combined with a logical ‘and.’
2121
+ */
2122
+ export type UserRoleCondition = {
2123
+ /** Checks for equality with the object’s `createdAt` field. */
2124
+ createdAt?: Maybe<Scalars['Datetime']>;
2125
+ /** Checks for equality with the object’s `createdBy` field. */
2126
+ createdBy?: Maybe<Scalars['String']>;
2127
+ /** Checks for equality with the object’s `description` field. */
2128
+ description?: Maybe<Scalars['String']>;
2129
+ /** Checks for equality with the object’s `environmentId` field. */
2130
+ environmentId?: Maybe<Scalars['UUID']>;
2131
+ /** Checks for equality with the object’s `id` field. */
2132
+ id?: Maybe<Scalars['UUID']>;
2133
+ /** Checks for equality with the object’s `name` field. */
2134
+ name?: Maybe<Scalars['String']>;
2135
+ /** Checks for equality with the object’s `tenantId` field. */
2136
+ tenantId?: Maybe<Scalars['UUID']>;
2137
+ /** Checks for equality with the object’s `updatedAt` field. */
2138
+ updatedAt?: Maybe<Scalars['Datetime']>;
2139
+ /** Checks for equality with the object’s `updatedBy` field. */
2140
+ updatedBy?: Maybe<Scalars['String']>;
2476
2141
  };
2477
- /** The output of our delete `UserRolePermissionAssignment` mutation. */
2478
- export type DeleteUserRolePermissionAssignmentPayload = {
2479
- __typename?: 'DeleteUserRolePermissionAssignmentPayload';
2480
- /**
2481
- * The exact same `clientMutationId` that was provided in the mutation input,
2482
- * unchanged and unused. May be used by a client to track mutations.
2483
- */
2484
- clientMutationId?: Maybe<Scalars['String']>;
2485
- /** The `UserRolePermissionAssignment` that was deleted by this mutation. */
2486
- userRolePermissionAssignment?: Maybe<UserRolePermissionAssignment>;
2487
- /** @deprecated The field is obsolete. */
2488
- deletedUserRolePermissionNodeId?: Maybe<Scalars['ID']>;
2489
- /** Our root query field type. Allows us to run any query from our mutation payload. */
2490
- query?: Maybe<Query>;
2491
- /** Reads a single `UserRole` that is related to this `UserRolePermissionAssignment`. */
2492
- userRole?: Maybe<UserRole>;
2493
- /** Reads a single `Permission` that is related to this `UserRolePermissionAssignment`. */
2494
- permission?: Maybe<Permission>;
2495
- /** An edge for our `UserRolePermissionAssignment`. May be used by Relay 1. */
2496
- userRolePermissionAssignmentEdge?: Maybe<UserRolePermissionAssignmentsEdge>;
2142
+ /** A filter to be used against `UserRole` object types. All fields are combined with a logical ‘and.’ */
2143
+ export type UserRoleFilter = {
2144
+ /** Checks for all expressions in this list. */
2145
+ and?: Maybe<Array<UserRoleFilter>>;
2146
+ /** Filter by the object’s `createdAt` field. */
2147
+ createdAt?: Maybe<DatetimeFilter>;
2148
+ /** Filter by the object’s `createdBy` field. */
2149
+ createdBy?: Maybe<StringFilter>;
2150
+ /** Filter by the object’s `description` field. */
2151
+ description?: Maybe<StringFilter>;
2152
+ /** Filter by the object’s `environmentId` field. */
2153
+ environmentId?: Maybe<UuidFilter>;
2154
+ /** Filter by the object’s `id` field. */
2155
+ id?: Maybe<UuidFilter>;
2156
+ /** Filter by the object’s `name` field. */
2157
+ name?: Maybe<StringFilter>;
2158
+ /** Negates the expression. */
2159
+ not?: Maybe<UserRoleFilter>;
2160
+ /** Checks for any expressions in this list. */
2161
+ or?: Maybe<Array<UserRoleFilter>>;
2162
+ /** Filter by the object’s `tenantId` field. */
2163
+ tenantId?: Maybe<UuidFilter>;
2164
+ /** Filter by the object’s `updatedAt` field. */
2165
+ updatedAt?: Maybe<DatetimeFilter>;
2166
+ /** Filter by the object’s `updatedBy` field. */
2167
+ updatedBy?: Maybe<StringFilter>;
2168
+ /** Filter by the object’s `userRoleAssignments` relation. */
2169
+ userRoleAssignments?: Maybe<UserRoleToManyUserRoleAssignmentFilter>;
2170
+ /** Some related `userRoleAssignments` exist. */
2171
+ userRoleAssignmentsExist?: Maybe<Scalars['Boolean']>;
2172
+ /** Filter by the object’s `userRoleParentAssignments` relation. */
2173
+ userRoleParentAssignments?: Maybe<UserRoleToManyUserRoleParentAssignmentFilter>;
2174
+ /** Some related `userRoleParentAssignments` exist. */
2175
+ userRoleParentAssignmentsExist?: Maybe<Scalars['Boolean']>;
2176
+ /** Filter by the object’s `userRolePermissionAssignments` relation. */
2177
+ userRolePermissionAssignments?: Maybe<UserRoleToManyUserRolePermissionAssignmentFilter>;
2178
+ /** Some related `userRolePermissionAssignments` exist. */
2179
+ userRolePermissionAssignmentsExist?: Maybe<Scalars['Boolean']>;
2180
+ /** Filter by the object’s `userRoleTagAssignments` relation. */
2181
+ userRoleTagAssignments?: Maybe<UserRoleToManyUserRoleTagAssignmentFilter>;
2182
+ /** Some related `userRoleTagAssignments` exist. */
2183
+ userRoleTagAssignmentsExist?: Maybe<Scalars['Boolean']>;
2497
2184
  };
2498
- /** The output of our delete `UserRolePermissionAssignment` mutation. */
2499
- export type DeleteUserRolePermissionAssignmentPayloadUserRolePermissionAssignmentEdgeArgs = {
2500
- orderBy?: Maybe<Array<UserRolePermissionAssignmentsOrderBy>>;
2185
+ export type UserRoleInheritedPermission = {
2186
+ __typename?: 'UserRoleInheritedPermission';
2187
+ createdAt?: Maybe<Scalars['Datetime']>;
2188
+ createdBy?: Maybe<Scalars['String']>;
2189
+ environmentId?: Maybe<Scalars['UUID']>;
2190
+ fromManagedService?: Maybe<Scalars['Boolean']>;
2191
+ isInherited?: Maybe<Scalars['Boolean']>;
2192
+ name?: Maybe<Scalars['String']>;
2193
+ parentUserRoleIds?: Maybe<Array<Maybe<Scalars['String']>>>;
2194
+ parentUserRoleNames?: Maybe<Array<Maybe<Scalars['String']>>>;
2195
+ permissionAssignmentId?: Maybe<Scalars['UUID']>;
2196
+ permissionId?: Maybe<Scalars['UUID']>;
2197
+ serviceId?: Maybe<Scalars['String']>;
2198
+ tenantId?: Maybe<Scalars['UUID']>;
2199
+ userRoleId?: Maybe<Scalars['UUID']>;
2501
2200
  };
2502
- /** All input for the `deleteUserRolePermissionAssignment` mutation. */
2503
- export type DeleteUserRolePermissionAssignmentInput = {
2504
- /**
2505
- * An arbitrary string value with no semantic meaning. Will be included in the
2506
- * payload verbatim. May be used to track mutations by the client.
2507
- */
2508
- clientMutationId?: Maybe<Scalars['String']>;
2509
- id: Scalars['UUID'];
2201
+ /** A filter to be used against `UserRoleInheritedPermission` object types. All fields are combined with a logical ‘and.’ */
2202
+ export type UserRoleInheritedPermissionFilter = {
2203
+ /** Checks for all expressions in this list. */
2204
+ and?: Maybe<Array<UserRoleInheritedPermissionFilter>>;
2205
+ /** Filter by the object’s `createdAt` field. */
2206
+ createdAt?: Maybe<DatetimeFilter>;
2207
+ /** Filter by the object’s `createdBy` field. */
2208
+ createdBy?: Maybe<StringFilter>;
2209
+ /** Filter by the object’s `environmentId` field. */
2210
+ environmentId?: Maybe<UuidFilter>;
2211
+ /** Filter by the object’s `fromManagedService` field. */
2212
+ fromManagedService?: Maybe<BooleanFilter>;
2213
+ /** Filter by the object’s `isInherited` field. */
2214
+ isInherited?: Maybe<BooleanFilter>;
2215
+ /** Filter by the object’s `name` field. */
2216
+ name?: Maybe<StringFilter>;
2217
+ /** Negates the expression. */
2218
+ not?: Maybe<UserRoleInheritedPermissionFilter>;
2219
+ /** Checks for any expressions in this list. */
2220
+ or?: Maybe<Array<UserRoleInheritedPermissionFilter>>;
2221
+ /** Filter by the object’s `parentUserRoleIds` field. */
2222
+ parentUserRoleIds?: Maybe<StringListFilter>;
2223
+ /** Filter by the object’s `parentUserRoleNames` field. */
2224
+ parentUserRoleNames?: Maybe<StringListFilter>;
2225
+ /** Filter by the object’s `permissionAssignmentId` field. */
2226
+ permissionAssignmentId?: Maybe<UuidFilter>;
2227
+ /** Filter by the object’s `permissionId` field. */
2228
+ permissionId?: Maybe<UuidFilter>;
2229
+ /** Filter by the object’s `serviceId` field. */
2230
+ serviceId?: Maybe<StringFilter>;
2231
+ /** Filter by the object’s `tenantId` field. */
2232
+ tenantId?: Maybe<UuidFilter>;
2233
+ /** Filter by the object’s `userRoleId` field. */
2234
+ userRoleId?: Maybe<UuidFilter>;
2510
2235
  };
2511
- /** The output of our delete `UserRoleTagAssignment` mutation. */
2512
- export type DeleteUserRoleTagAssignmentPayload = {
2513
- __typename?: 'DeleteUserRoleTagAssignmentPayload';
2514
- /**
2515
- * The exact same `clientMutationId` that was provided in the mutation input,
2516
- * unchanged and unused. May be used by a client to track mutations.
2517
- */
2518
- clientMutationId?: Maybe<Scalars['String']>;
2519
- /** The `UserRoleTagAssignment` that was deleted by this mutation. */
2520
- userRoleTagAssignment?: Maybe<UserRoleTagAssignment>;
2521
- /** @deprecated The field is obsolete. */
2522
- deletedUserRoleTagNodeId?: Maybe<Scalars['ID']>;
2523
- /** Our root query field type. Allows us to run any query from our mutation payload. */
2524
- query?: Maybe<Query>;
2525
- /** Reads a single `UserRole` that is related to this `UserRoleTagAssignment`. */
2526
- userRole?: Maybe<UserRole>;
2527
- /** An edge for our `UserRoleTagAssignment`. May be used by Relay 1. */
2528
- userRoleTagAssignmentEdge?: Maybe<UserRoleTagAssignmentsEdge>;
2236
+ /** A connection to a list of `UserRoleInheritedPermission` values. */
2237
+ export type UserRoleInheritedPermissionsConnection = {
2238
+ __typename?: 'UserRoleInheritedPermissionsConnection';
2239
+ /** A list of edges which contains the `UserRoleInheritedPermission` and cursor to aid in pagination. */
2240
+ edges: Array<UserRoleInheritedPermissionsEdge>;
2241
+ /** A list of `UserRoleInheritedPermission` objects. */
2242
+ nodes: Array<UserRoleInheritedPermission>;
2243
+ /** Information to aid in pagination. */
2244
+ pageInfo: PageInfo;
2245
+ /** The count of *all* `UserRoleInheritedPermission` you could get from the connection. */
2246
+ totalCount: Scalars['Int'];
2529
2247
  };
2530
- /** The output of our delete `UserRoleTagAssignment` mutation. */
2531
- export type DeleteUserRoleTagAssignmentPayloadUserRoleTagAssignmentEdgeArgs = {
2532
- orderBy?: Maybe<Array<UserRoleTagAssignmentsOrderBy>>;
2248
+ /** A `UserRoleInheritedPermission` edge in the connection. */
2249
+ export type UserRoleInheritedPermissionsEdge = {
2250
+ __typename?: 'UserRoleInheritedPermissionsEdge';
2251
+ /** A cursor for use in pagination. */
2252
+ cursor?: Maybe<Scalars['Cursor']>;
2253
+ /** The `UserRoleInheritedPermission` at the end of the edge. */
2254
+ node: UserRoleInheritedPermission;
2533
2255
  };
2534
- /** All input for the `deleteUserRoleTagAssignment` mutation. */
2535
- export type DeleteUserRoleTagAssignmentInput = {
2536
- /**
2537
- * An arbitrary string value with no semantic meaning. Will be included in the
2538
- * payload verbatim. May be used to track mutations by the client.
2539
- */
2540
- clientMutationId?: Maybe<Scalars['String']>;
2541
- tenantId: Scalars['UUID'];
2256
+ /** An input for mutations affecting `UserRole` */
2257
+ export type UserRoleInput = {
2258
+ description?: Maybe<Scalars['String']>;
2259
+ name: Scalars['String'];
2260
+ };
2261
+ export type UserRoleParentAssignment = {
2262
+ __typename?: 'UserRoleParentAssignment';
2263
+ createdAt: Scalars['Datetime'];
2264
+ createdBy: Scalars['String'];
2542
2265
  environmentId: Scalars['UUID'];
2266
+ id: Scalars['UUID'];
2267
+ /** Reads a single `UserRole` that is related to this `UserRoleParentAssignment`. */
2268
+ parentUserRole?: Maybe<UserRole>;
2269
+ parentUserRoleId: Scalars['UUID'];
2270
+ tenantId: Scalars['UUID'];
2271
+ updatedAt: Scalars['Datetime'];
2272
+ updatedBy: Scalars['String'];
2543
2273
  userRoleId: Scalars['UUID'];
2544
- tag: Scalars['String'];
2545
2274
  };
2546
- export type ValidateCyclicUserRoleInput = {
2547
- baseUserRole: Scalars['UUID'];
2548
- parentUserRole: Scalars['UUID'];
2275
+ /**
2276
+ * A condition to be used against `UserRoleParentAssignment` object types. All
2277
+ * fields are tested for equality and combined with a logical ‘and.’
2278
+ */
2279
+ export type UserRoleParentAssignmentCondition = {
2280
+ /** Checks for equality with the object’s `createdAt` field. */
2281
+ createdAt?: Maybe<Scalars['Datetime']>;
2282
+ /** Checks for equality with the object’s `createdBy` field. */
2283
+ createdBy?: Maybe<Scalars['String']>;
2284
+ /** Checks for equality with the object’s `environmentId` field. */
2285
+ environmentId?: Maybe<Scalars['UUID']>;
2286
+ /** Checks for equality with the object’s `id` field. */
2287
+ id?: Maybe<Scalars['UUID']>;
2288
+ /** Checks for equality with the object’s `parentUserRoleId` field. */
2289
+ parentUserRoleId?: Maybe<Scalars['UUID']>;
2290
+ /** Checks for equality with the object’s `tenantId` field. */
2291
+ tenantId?: Maybe<Scalars['UUID']>;
2292
+ /** Checks for equality with the object’s `updatedAt` field. */
2293
+ updatedAt?: Maybe<Scalars['Datetime']>;
2294
+ /** Checks for equality with the object’s `updatedBy` field. */
2295
+ updatedBy?: Maybe<Scalars['String']>;
2296
+ /** Checks for equality with the object’s `userRoleId` field. */
2297
+ userRoleId?: Maybe<Scalars['UUID']>;
2549
2298
  };
2550
- export type SynchronizePermissionsPayload = {
2551
- __typename?: 'SynchronizePermissionsPayload';
2552
- added?: Maybe<Array<Maybe<Scalars['String']>>>;
2553
- removed?: Maybe<Array<Maybe<Scalars['String']>>>;
2299
+ /** A filter to be used against `UserRoleParentAssignment` object types. All fields are combined with a logical ‘and.’ */
2300
+ export type UserRoleParentAssignmentFilter = {
2301
+ /** Checks for all expressions in this list. */
2302
+ and?: Maybe<Array<UserRoleParentAssignmentFilter>>;
2303
+ /** Filter by the object’s `createdAt` field. */
2304
+ createdAt?: Maybe<DatetimeFilter>;
2305
+ /** Filter by the object’s `createdBy` field. */
2306
+ createdBy?: Maybe<StringFilter>;
2307
+ /** Filter by the object’s `environmentId` field. */
2308
+ environmentId?: Maybe<UuidFilter>;
2309
+ /** Filter by the object’s `id` field. */
2310
+ id?: Maybe<UuidFilter>;
2311
+ /** Negates the expression. */
2312
+ not?: Maybe<UserRoleParentAssignmentFilter>;
2313
+ /** Checks for any expressions in this list. */
2314
+ or?: Maybe<Array<UserRoleParentAssignmentFilter>>;
2315
+ /** Filter by the object’s `parentUserRole` relation. */
2316
+ parentUserRole?: Maybe<UserRoleFilter>;
2317
+ /** Filter by the object’s `parentUserRoleId` field. */
2318
+ parentUserRoleId?: Maybe<UuidFilter>;
2319
+ /** Filter by the object’s `tenantId` field. */
2320
+ tenantId?: Maybe<UuidFilter>;
2321
+ /** Filter by the object’s `updatedAt` field. */
2322
+ updatedAt?: Maybe<DatetimeFilter>;
2323
+ /** Filter by the object’s `updatedBy` field. */
2324
+ updatedBy?: Maybe<StringFilter>;
2325
+ /** Filter by the object’s `userRoleId` field. */
2326
+ userRoleId?: Maybe<UuidFilter>;
2554
2327
  };
2555
- export type SynchronizePermissionsInput = {
2556
- serviceId: Scalars['String'];
2557
- permissions: Array<Maybe<Scalars['JSON']>>;
2328
+ /** An input for mutations affecting `UserRoleParentAssignment` */
2329
+ export type UserRoleParentAssignmentInput = {
2330
+ parentUserRoleId: Scalars['UUID'];
2331
+ userRoleId: Scalars['UUID'];
2558
2332
  };
2559
- /** Bulk mutation payload type. */
2560
- export type BulkMutationUuidPayload = {
2561
- __typename?: 'BulkMutationUuidPayload';
2562
- affectedIds?: Maybe<Array<Maybe<Scalars['UUID']>>>;
2563
- totalCount?: Maybe<Scalars['Int']>;
2333
+ /** A connection to a list of `UserRoleParentAssignment` values. */
2334
+ export type UserRoleParentAssignmentsConnection = {
2335
+ __typename?: 'UserRoleParentAssignmentsConnection';
2336
+ /** A list of edges which contains the `UserRoleParentAssignment` and cursor to aid in pagination. */
2337
+ edges: Array<UserRoleParentAssignmentsEdge>;
2338
+ /** A list of `UserRoleParentAssignment` objects. */
2339
+ nodes: Array<UserRoleParentAssignment>;
2340
+ /** Information to aid in pagination. */
2341
+ pageInfo: PageInfo;
2342
+ /** The count of *all* `UserRoleParentAssignment` you could get from the connection. */
2343
+ totalCount: Scalars['Int'];
2564
2344
  };
2565
- export type RevokeRefreshTokenPayload = {
2566
- __typename?: 'RevokeRefreshTokenPayload';
2567
- revokedRefreshTokenCount: Scalars['Int'];
2345
+ /** A `UserRoleParentAssignment` edge in the connection. */
2346
+ export type UserRoleParentAssignmentsEdge = {
2347
+ __typename?: 'UserRoleParentAssignmentsEdge';
2348
+ /** A cursor for use in pagination. */
2349
+ cursor?: Maybe<Scalars['Cursor']>;
2350
+ /** The `UserRoleParentAssignment` at the end of the edge. */
2351
+ node: UserRoleParentAssignment;
2568
2352
  };
2569
- export type AuthenticateServiceAccountPayload = {
2570
- __typename?: 'AuthenticateServiceAccountPayload';
2571
- /** Access Token containing permissions of the Service Account */
2572
- accessToken: Scalars['String'];
2573
- /** Access Token type to use when making client requests */
2574
- tokenType: Scalars['String'];
2575
- /** Access Token expiration timeout */
2576
- expiresInSeconds: Scalars['Int'];
2353
+ /** Methods to use when ordering `UserRoleParentAssignment`. */
2354
+ export declare enum UserRoleParentAssignmentsOrderBy {
2355
+ CREATED_AT_ASC = "CREATED_AT_ASC",
2356
+ CREATED_AT_DESC = "CREATED_AT_DESC",
2357
+ CREATED_BY_ASC = "CREATED_BY_ASC",
2358
+ CREATED_BY_DESC = "CREATED_BY_DESC",
2359
+ ENVIRONMENT_ID_ASC = "ENVIRONMENT_ID_ASC",
2360
+ ENVIRONMENT_ID_DESC = "ENVIRONMENT_ID_DESC",
2361
+ ID_ASC = "ID_ASC",
2362
+ ID_DESC = "ID_DESC",
2363
+ NATURAL = "NATURAL",
2364
+ PARENT_USER_ROLE_ID_ASC = "PARENT_USER_ROLE_ID_ASC",
2365
+ PARENT_USER_ROLE_ID_DESC = "PARENT_USER_ROLE_ID_DESC",
2366
+ PRIMARY_KEY_ASC = "PRIMARY_KEY_ASC",
2367
+ PRIMARY_KEY_DESC = "PRIMARY_KEY_DESC",
2368
+ TENANT_ID_ASC = "TENANT_ID_ASC",
2369
+ TENANT_ID_DESC = "TENANT_ID_DESC",
2370
+ UPDATED_AT_ASC = "UPDATED_AT_ASC",
2371
+ UPDATED_AT_DESC = "UPDATED_AT_DESC",
2372
+ UPDATED_BY_ASC = "UPDATED_BY_ASC",
2373
+ UPDATED_BY_DESC = "UPDATED_BY_DESC",
2374
+ USER_ROLE_ID_ASC = "USER_ROLE_ID_ASC",
2375
+ USER_ROLE_ID_DESC = "USER_ROLE_ID_DESC"
2376
+ }
2377
+ /** Represents an update to a `UserRole`. Fields that are set will be updated. */
2378
+ export type UserRolePatch = {
2379
+ description?: Maybe<Scalars['String']>;
2380
+ name?: Maybe<Scalars['String']>;
2577
2381
  };
2578
- export type AuthenticateServiceAccountInput = {
2579
- /** Service Account ID. */
2580
- clientId: Scalars['String'];
2581
- /** Service Account Password. */
2582
- clientSecret: Scalars['String'];
2382
+ export type UserRolePermissionAssignment = {
2383
+ __typename?: 'UserRolePermissionAssignment';
2384
+ createdAt: Scalars['Datetime'];
2385
+ createdBy: Scalars['String'];
2386
+ environmentId: Scalars['UUID'];
2387
+ id: Scalars['UUID'];
2388
+ /** Reads a single `Permission` that is related to this `UserRolePermissionAssignment`. */
2389
+ permission?: Maybe<Permission>;
2390
+ permissionId: Scalars['UUID'];
2391
+ tenantId: Scalars['UUID'];
2392
+ updatedAt: Scalars['Datetime'];
2393
+ updatedBy: Scalars['String'];
2394
+ /** Reads a single `UserRole` that is related to this `UserRolePermissionAssignment`. */
2395
+ userRole?: Maybe<UserRole>;
2396
+ userRoleId: Scalars['UUID'];
2583
2397
  };
2584
- export type AuthenticateManagedServiceAccountPayload = {
2585
- __typename?: 'AuthenticateManagedServiceAccountPayload';
2586
- /** Access Token containing permissions of the Service Account */
2587
- accessToken: Scalars['String'];
2588
- /** Access Token type to use when making client requests */
2589
- tokenType: Scalars['String'];
2590
- /** Access Token expiration timeout */
2591
- expiresInSeconds: Scalars['Int'];
2398
+ /**
2399
+ * A condition to be used against `UserRolePermissionAssignment` object types. All
2400
+ * fields are tested for equality and combined with a logical ‘and.’
2401
+ */
2402
+ export type UserRolePermissionAssignmentCondition = {
2403
+ /** Checks for equality with the object’s `createdAt` field. */
2404
+ createdAt?: Maybe<Scalars['Datetime']>;
2405
+ /** Checks for equality with the object’s `createdBy` field. */
2406
+ createdBy?: Maybe<Scalars['String']>;
2407
+ /** Checks for equality with the object’s `environmentId` field. */
2408
+ environmentId?: Maybe<Scalars['UUID']>;
2409
+ /** Checks for equality with the object’s `id` field. */
2410
+ id?: Maybe<Scalars['UUID']>;
2411
+ /** Checks for equality with the object’s `permissionId` field. */
2412
+ permissionId?: Maybe<Scalars['UUID']>;
2413
+ /** Checks for equality with the object’s `tenantId` field. */
2414
+ tenantId?: Maybe<Scalars['UUID']>;
2415
+ /** Checks for equality with the object’s `updatedAt` field. */
2416
+ updatedAt?: Maybe<Scalars['Datetime']>;
2417
+ /** Checks for equality with the object’s `updatedBy` field. */
2418
+ updatedBy?: Maybe<Scalars['String']>;
2419
+ /** Checks for equality with the object’s `userRoleId` field. */
2420
+ userRoleId?: Maybe<Scalars['UUID']>;
2592
2421
  };
2593
- export type AuthenticateManagedServiceAccountInput = {
2594
- /** Managed Service Account ID. */
2595
- clientId: Scalars['String'];
2596
- /** Managed Service Account Password. */
2597
- clientSecret: Scalars['String'];
2598
- /** Tenant ID to be used in resulting AccessToken. If not provided, Root Tenant ID will be used. */
2599
- targetTenantId?: Maybe<Scalars['String']>;
2600
- /** Environment ID to be used in resulting AccessToken. If not provided, Root Environment ID will be used. */
2601
- targetEnvironmentId?: Maybe<Scalars['String']>;
2422
+ /** A filter to be used against `UserRolePermissionAssignment` object types. All fields are combined with a logical ‘and.’ */
2423
+ export type UserRolePermissionAssignmentFilter = {
2424
+ /** Checks for all expressions in this list. */
2425
+ and?: Maybe<Array<UserRolePermissionAssignmentFilter>>;
2426
+ /** Filter by the object’s `createdAt` field. */
2427
+ createdAt?: Maybe<DatetimeFilter>;
2428
+ /** Filter by the object’s `createdBy` field. */
2429
+ createdBy?: Maybe<StringFilter>;
2430
+ /** Filter by the object’s `environmentId` field. */
2431
+ environmentId?: Maybe<UuidFilter>;
2432
+ /** Filter by the object’s `id` field. */
2433
+ id?: Maybe<UuidFilter>;
2434
+ /** Negates the expression. */
2435
+ not?: Maybe<UserRolePermissionAssignmentFilter>;
2436
+ /** Checks for any expressions in this list. */
2437
+ or?: Maybe<Array<UserRolePermissionAssignmentFilter>>;
2438
+ /** Filter by the object’s `permission` relation. */
2439
+ permission?: Maybe<PermissionFilter>;
2440
+ /** Filter by the object’s `permissionId` field. */
2441
+ permissionId?: Maybe<UuidFilter>;
2442
+ /** Filter by the object’s `tenantId` field. */
2443
+ tenantId?: Maybe<UuidFilter>;
2444
+ /** Filter by the object’s `updatedAt` field. */
2445
+ updatedAt?: Maybe<DatetimeFilter>;
2446
+ /** Filter by the object’s `updatedBy` field. */
2447
+ updatedBy?: Maybe<StringFilter>;
2448
+ /** Filter by the object’s `userRole` relation. */
2449
+ userRole?: Maybe<UserRoleFilter>;
2450
+ /** Filter by the object’s `userRoleId` field. */
2451
+ userRoleId?: Maybe<UuidFilter>;
2602
2452
  };
2603
- export type AuthenticateManagedServiceAccountWithEnvironmentScopeInput = {
2604
- /** Managed Service Account ID. */
2605
- clientId: Scalars['String'];
2606
- /** Managed Service Account Password. */
2607
- clientSecret: Scalars['String'];
2608
- /**
2609
- * A Management JWT authenticated by the Mosaic ID Service.
2610
- * The Tenant and Environment IDs in this JWT is used to scope
2611
- * the Managed Service Account Token to a specific Environment.
2612
- */
2613
- managementJWT: Scalars['String'];
2453
+ /** An input for mutations affecting `UserRolePermissionAssignment` */
2454
+ export type UserRolePermissionAssignmentInput = {
2455
+ permissionId: Scalars['UUID'];
2456
+ userRoleId: Scalars['UUID'];
2614
2457
  };
2615
- export type GenerateLongLivedTokenPayload = {
2616
- __typename?: 'GenerateLongLivedTokenPayload';
2617
- /** Long lived access token */
2618
- accessToken: Scalars['String'];
2619
- /** Access Token type to use when making client requests */
2620
- tokenType: Scalars['String'];
2621
- /** Access Token expiration timeout in seconds */
2622
- expiresInSeconds: Scalars['Int'];
2458
+ /** A connection to a list of `UserRolePermissionAssignment` values. */
2459
+ export type UserRolePermissionAssignmentsConnection = {
2460
+ __typename?: 'UserRolePermissionAssignmentsConnection';
2461
+ /** A list of edges which contains the `UserRolePermissionAssignment` and cursor to aid in pagination. */
2462
+ edges: Array<UserRolePermissionAssignmentsEdge>;
2463
+ /** A list of `UserRolePermissionAssignment` objects. */
2464
+ nodes: Array<UserRolePermissionAssignment>;
2465
+ /** Information to aid in pagination. */
2466
+ pageInfo: PageInfo;
2467
+ /** The count of *all* `UserRolePermissionAssignment` you could get from the connection. */
2468
+ totalCount: Scalars['Int'];
2623
2469
  };
2624
- export type GenerateLongLivedTokenInput = {
2625
- /** User access token to extend the validity period for. */
2626
- userToken: Scalars['String'];
2627
- /** Validity duration from time of invocation. Defaults to 30 days if unspecified. */
2628
- validityDurationInSeconds?: Maybe<Scalars['Int']>;
2470
+ /** A `UserRolePermissionAssignment` edge in the connection. */
2471
+ export type UserRolePermissionAssignmentsEdge = {
2472
+ __typename?: 'UserRolePermissionAssignmentsEdge';
2473
+ /** A cursor for use in pagination. */
2474
+ cursor?: Maybe<Scalars['Cursor']>;
2475
+ /** The `UserRolePermissionAssignment` at the end of the edge. */
2476
+ node: UserRolePermissionAssignment;
2629
2477
  };
2630
- export type DevSetupServiceAccountWithPermissionsPayload = {
2631
- __typename?: 'DevSetupServiceAccountWithPermissionsPayload';
2632
- /** Client ID of the created service account. */
2633
- clientId: Scalars['String'];
2634
- /** Client Secret of the created service account. */
2635
- clientSecret: Scalars['String'];
2478
+ /** Methods to use when ordering `UserRolePermissionAssignment`. */
2479
+ export declare enum UserRolePermissionAssignmentsOrderBy {
2480
+ CREATED_AT_ASC = "CREATED_AT_ASC",
2481
+ CREATED_AT_DESC = "CREATED_AT_DESC",
2482
+ CREATED_BY_ASC = "CREATED_BY_ASC",
2483
+ CREATED_BY_DESC = "CREATED_BY_DESC",
2484
+ ENVIRONMENT_ID_ASC = "ENVIRONMENT_ID_ASC",
2485
+ ENVIRONMENT_ID_DESC = "ENVIRONMENT_ID_DESC",
2486
+ ID_ASC = "ID_ASC",
2487
+ ID_DESC = "ID_DESC",
2488
+ NATURAL = "NATURAL",
2489
+ PERMISSION_ID_ASC = "PERMISSION_ID_ASC",
2490
+ PERMISSION_ID_DESC = "PERMISSION_ID_DESC",
2491
+ PRIMARY_KEY_ASC = "PRIMARY_KEY_ASC",
2492
+ PRIMARY_KEY_DESC = "PRIMARY_KEY_DESC",
2493
+ TENANT_ID_ASC = "TENANT_ID_ASC",
2494
+ TENANT_ID_DESC = "TENANT_ID_DESC",
2495
+ UPDATED_AT_ASC = "UPDATED_AT_ASC",
2496
+ UPDATED_AT_DESC = "UPDATED_AT_DESC",
2497
+ UPDATED_BY_ASC = "UPDATED_BY_ASC",
2498
+ UPDATED_BY_DESC = "UPDATED_BY_DESC",
2499
+ USER_ROLE_ID_ASC = "USER_ROLE_ID_ASC",
2500
+ USER_ROLE_ID_DESC = "USER_ROLE_ID_DESC"
2501
+ }
2502
+ /** A connection to a list of `UserRole` values. */
2503
+ export type UserRolesConnection = {
2504
+ __typename?: 'UserRolesConnection';
2505
+ /** A list of edges which contains the `UserRole` and cursor to aid in pagination. */
2506
+ edges: Array<UserRolesEdge>;
2507
+ /** A list of `UserRole` objects. */
2508
+ nodes: Array<UserRole>;
2509
+ /** Information to aid in pagination. */
2510
+ pageInfo: PageInfo;
2511
+ /** The count of *all* `UserRole` you could get from the connection. */
2512
+ totalCount: Scalars['Int'];
2636
2513
  };
2637
- export type DevSetupServiceAccountWithPermissionsInput = {
2638
- /** Service Account Name */
2639
- serviceAccountName: Scalars['String'];
2640
- /**
2641
- * Permission Structure for the new account.
2642
- * This is an array of shape {serviceId: String!, permissions: [String!]}
2643
- */
2644
- permissionStructure?: Maybe<Array<Maybe<PermissionStructure>>>;
2645
- /**
2646
- * If set to true, the permissions will be validated against existing permissions.
2647
- * If any invalid permissions exist, the setup operation will be aborted.
2648
- */
2649
- enforceValidPermissionStructure?: Maybe<Scalars['Boolean']>;
2514
+ /** A `UserRole` edge in the connection. */
2515
+ export type UserRolesEdge = {
2516
+ __typename?: 'UserRolesEdge';
2517
+ /** A cursor for use in pagination. */
2518
+ cursor?: Maybe<Scalars['Cursor']>;
2519
+ /** The `UserRole` at the end of the edge. */
2520
+ node: UserRole;
2650
2521
  };
2651
- export type PermissionStructure = {
2652
- serviceId: Scalars['String'];
2653
- permissions: Array<Maybe<Scalars['String']>>;
2522
+ /** Methods to use when ordering `UserRole`. */
2523
+ export declare enum UserRolesOrderBy {
2524
+ CREATED_AT_ASC = "CREATED_AT_ASC",
2525
+ CREATED_AT_DESC = "CREATED_AT_DESC",
2526
+ CREATED_BY_ASC = "CREATED_BY_ASC",
2527
+ CREATED_BY_DESC = "CREATED_BY_DESC",
2528
+ DESCRIPTION_ASC = "DESCRIPTION_ASC",
2529
+ DESCRIPTION_DESC = "DESCRIPTION_DESC",
2530
+ ENVIRONMENT_ID_ASC = "ENVIRONMENT_ID_ASC",
2531
+ ENVIRONMENT_ID_DESC = "ENVIRONMENT_ID_DESC",
2532
+ ID_ASC = "ID_ASC",
2533
+ ID_DESC = "ID_DESC",
2534
+ NAME_ASC = "NAME_ASC",
2535
+ NAME_DESC = "NAME_DESC",
2536
+ NATURAL = "NATURAL",
2537
+ PRIMARY_KEY_ASC = "PRIMARY_KEY_ASC",
2538
+ PRIMARY_KEY_DESC = "PRIMARY_KEY_DESC",
2539
+ TENANT_ID_ASC = "TENANT_ID_ASC",
2540
+ TENANT_ID_DESC = "TENANT_ID_DESC",
2541
+ UPDATED_AT_ASC = "UPDATED_AT_ASC",
2542
+ UPDATED_AT_DESC = "UPDATED_AT_DESC",
2543
+ UPDATED_BY_ASC = "UPDATED_BY_ASC",
2544
+ UPDATED_BY_DESC = "UPDATED_BY_DESC"
2545
+ }
2546
+ export type UserRoleTagAssignment = {
2547
+ __typename?: 'UserRoleTagAssignment';
2548
+ createdAt: Scalars['Datetime'];
2549
+ createdBy: Scalars['String'];
2550
+ environmentId: Scalars['UUID'];
2551
+ tag: Scalars['String'];
2552
+ tenantId: Scalars['UUID'];
2553
+ updatedAt: Scalars['Datetime'];
2554
+ updatedBy: Scalars['String'];
2555
+ /** Reads a single `UserRole` that is related to this `UserRoleTagAssignment`. */
2556
+ userRole?: Maybe<UserRole>;
2557
+ userRoleId: Scalars['UUID'];
2654
2558
  };
2655
- export type DevUpdateServiceAccountPermissionStructurePayload = {
2656
- __typename?: 'DevUpdateServiceAccountPermissionStructurePayload';
2657
- /** Indicates if the permission structure was updated successfully */
2658
- isSuccess: Scalars['Boolean'];
2559
+ /**
2560
+ * A condition to be used against `UserRoleTagAssignment` object types. All fields
2561
+ * are tested for equality and combined with a logical ‘and.’
2562
+ */
2563
+ export type UserRoleTagAssignmentCondition = {
2564
+ /** Checks for equality with the object’s `createdAt` field. */
2565
+ createdAt?: Maybe<Scalars['Datetime']>;
2566
+ /** Checks for equality with the object’s `createdBy` field. */
2567
+ createdBy?: Maybe<Scalars['String']>;
2568
+ /** Checks for equality with the object’s `environmentId` field. */
2569
+ environmentId?: Maybe<Scalars['UUID']>;
2570
+ /** Checks for equality with the object’s `tag` field. */
2571
+ tag?: Maybe<Scalars['String']>;
2572
+ /** Checks for equality with the object’s `tenantId` field. */
2573
+ tenantId?: Maybe<Scalars['UUID']>;
2574
+ /** Checks for equality with the object’s `updatedAt` field. */
2575
+ updatedAt?: Maybe<Scalars['Datetime']>;
2576
+ /** Checks for equality with the object’s `updatedBy` field. */
2577
+ updatedBy?: Maybe<Scalars['String']>;
2578
+ /** Checks for equality with the object’s `userRoleId` field. */
2579
+ userRoleId?: Maybe<Scalars['UUID']>;
2659
2580
  };
2660
- export type DevUpdateServiceAccountPermissionStructureInput = {
2661
- /** Client ID of the Service Account to be updated */
2662
- clientId: Scalars['String'];
2663
- /**
2664
- * Permission Structure for the new account.
2665
- * This is an array of shape {serviceId: String!, permissions: [String!]}
2666
- */
2667
- permissionStructure?: Maybe<Array<Maybe<PermissionStructure>>>;
2668
- /**
2669
- * If set to true, the permissions will be validated against existing permissions.
2670
- * If any invalid permissions exist, the setup operation will be aborted.
2671
- */
2672
- enforceValidPermissionStructure?: Maybe<Scalars['Boolean']>;
2581
+ /** A filter to be used against `UserRoleTagAssignment` object types. All fields are combined with a logical ‘and.’ */
2582
+ export type UserRoleTagAssignmentFilter = {
2583
+ /** Checks for all expressions in this list. */
2584
+ and?: Maybe<Array<UserRoleTagAssignmentFilter>>;
2585
+ /** Filter by the object’s `createdAt` field. */
2586
+ createdAt?: Maybe<DatetimeFilter>;
2587
+ /** Filter by the object’s `createdBy` field. */
2588
+ createdBy?: Maybe<StringFilter>;
2589
+ /** Filter by the object’s `environmentId` field. */
2590
+ environmentId?: Maybe<UuidFilter>;
2591
+ /** Negates the expression. */
2592
+ not?: Maybe<UserRoleTagAssignmentFilter>;
2593
+ /** Checks for any expressions in this list. */
2594
+ or?: Maybe<Array<UserRoleTagAssignmentFilter>>;
2595
+ /** Filter by the object’s `tag` field. */
2596
+ tag?: Maybe<StringFilter>;
2597
+ /** Filter by the object’s `tenantId` field. */
2598
+ tenantId?: Maybe<UuidFilter>;
2599
+ /** Filter by the object’s `updatedAt` field. */
2600
+ updatedAt?: Maybe<DatetimeFilter>;
2601
+ /** Filter by the object’s `updatedBy` field. */
2602
+ updatedBy?: Maybe<StringFilter>;
2603
+ /** Filter by the object’s `userRole` relation. */
2604
+ userRole?: Maybe<UserRoleFilter>;
2605
+ /** Filter by the object’s `userRoleId` field. */
2606
+ userRoleId?: Maybe<UuidFilter>;
2673
2607
  };
2674
- export type DevGenerateUserAccessTokenWithPermissionsPayload = {
2675
- __typename?: 'DevGenerateUserAccessTokenWithPermissionsPayload';
2676
- /** Access token with requested permissions. */
2677
- accessToken: Scalars['String'];
2678
- tokenType: Scalars['String'];
2679
- expiresInSeconds: Scalars['Int'];
2608
+ /** An input for mutations affecting `UserRoleTagAssignment` */
2609
+ export type UserRoleTagAssignmentInput = {
2610
+ tag: Scalars['String'];
2611
+ userRoleId: Scalars['UUID'];
2680
2612
  };
2681
- export type DevGenerateUserAccessTokenWithPermissionsInput = {
2682
- /**
2683
- * Email address the user token will be generated against.
2684
- * If not given, a pseudo user with following metadata data will be used for generating the token.
2685
- *
2686
- * name: **DEV**
2687
- * email: dev@domain.local
2688
- * id: 00000000-0000-0000-0000-000000000000
2689
- */
2690
- email?: Maybe<Scalars['String']>;
2691
- /**
2692
- * Permission Structure for the new account.
2693
- * This is an array of shape {serviceId: String!, permissions: [String!]}
2694
- */
2695
- permissionStructure?: Maybe<Array<Maybe<PermissionStructure>>>;
2696
- /**
2697
- * If set to true, the permissions will be validated against existing permissions.
2698
- * If any invalid permissions exist, the setup operation will be aborted.
2699
- */
2700
- enforceValidPermissionStructure?: Maybe<Scalars['Boolean']>;
2701
- /** Token Expiration time in seconds. If not given, this will be defaulted to 30 days. */
2702
- tokenExpirationInSeconds?: Maybe<Scalars['Int']>;
2613
+ /** A connection to a list of `UserRoleTagAssignment` values. */
2614
+ export type UserRoleTagAssignmentsConnection = {
2615
+ __typename?: 'UserRoleTagAssignmentsConnection';
2616
+ /** A list of edges which contains the `UserRoleTagAssignment` and cursor to aid in pagination. */
2617
+ edges: Array<UserRoleTagAssignmentsEdge>;
2618
+ /** A list of `UserRoleTagAssignment` objects. */
2619
+ nodes: Array<UserRoleTagAssignment>;
2620
+ /** Information to aid in pagination. */
2621
+ pageInfo: PageInfo;
2622
+ /** The count of *all* `UserRoleTagAssignment` you could get from the connection. */
2623
+ totalCount: Scalars['Int'];
2624
+ };
2625
+ /** A `UserRoleTagAssignment` edge in the connection. */
2626
+ export type UserRoleTagAssignmentsEdge = {
2627
+ __typename?: 'UserRoleTagAssignmentsEdge';
2628
+ /** A cursor for use in pagination. */
2629
+ cursor?: Maybe<Scalars['Cursor']>;
2630
+ /** The `UserRoleTagAssignment` at the end of the edge. */
2631
+ node: UserRoleTagAssignment;
2703
2632
  };
2704
- export type DevDeleteServiceAccountPayload = {
2705
- __typename?: 'DevDeleteServiceAccountPayload';
2706
- /** Indicates if the permission structure was deleted successfully */
2707
- isSuccess: Scalars['Boolean'];
2633
+ /** Methods to use when ordering `UserRoleTagAssignment`. */
2634
+ export declare enum UserRoleTagAssignmentsOrderBy {
2635
+ CREATED_AT_ASC = "CREATED_AT_ASC",
2636
+ CREATED_AT_DESC = "CREATED_AT_DESC",
2637
+ CREATED_BY_ASC = "CREATED_BY_ASC",
2638
+ CREATED_BY_DESC = "CREATED_BY_DESC",
2639
+ ENVIRONMENT_ID_ASC = "ENVIRONMENT_ID_ASC",
2640
+ ENVIRONMENT_ID_DESC = "ENVIRONMENT_ID_DESC",
2641
+ NATURAL = "NATURAL",
2642
+ PRIMARY_KEY_ASC = "PRIMARY_KEY_ASC",
2643
+ PRIMARY_KEY_DESC = "PRIMARY_KEY_DESC",
2644
+ TAG_ASC = "TAG_ASC",
2645
+ TAG_DESC = "TAG_DESC",
2646
+ TENANT_ID_ASC = "TENANT_ID_ASC",
2647
+ TENANT_ID_DESC = "TENANT_ID_DESC",
2648
+ UPDATED_AT_ASC = "UPDATED_AT_ASC",
2649
+ UPDATED_AT_DESC = "UPDATED_AT_DESC",
2650
+ UPDATED_BY_ASC = "UPDATED_BY_ASC",
2651
+ UPDATED_BY_DESC = "UPDATED_BY_DESC",
2652
+ USER_ROLE_ID_ASC = "USER_ROLE_ID_ASC",
2653
+ USER_ROLE_ID_DESC = "USER_ROLE_ID_DESC"
2654
+ }
2655
+ /** A filter to be used against many `UserRoleAssignment` object types. All fields are combined with a logical ‘and.’ */
2656
+ export type UserRoleToManyUserRoleAssignmentFilter = {
2657
+ /** Every related `UserRoleAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
2658
+ every?: Maybe<UserRoleAssignmentFilter>;
2659
+ /** No related `UserRoleAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
2660
+ none?: Maybe<UserRoleAssignmentFilter>;
2661
+ /** Some related `UserRoleAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
2662
+ some?: Maybe<UserRoleAssignmentFilter>;
2708
2663
  };
2709
- export type DevDeleteServiceAccountInput = {
2710
- /** Client ID of the Service Account to be deleted */
2711
- clientId: Scalars['String'];
2664
+ /** A filter to be used against many `UserRoleParentAssignment` object types. All fields are combined with a logical ‘and.’ */
2665
+ export type UserRoleToManyUserRoleParentAssignmentFilter = {
2666
+ /** Every related `UserRoleParentAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
2667
+ every?: Maybe<UserRoleParentAssignmentFilter>;
2668
+ /** No related `UserRoleParentAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
2669
+ none?: Maybe<UserRoleParentAssignmentFilter>;
2670
+ /** Some related `UserRoleParentAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
2671
+ some?: Maybe<UserRoleParentAssignmentFilter>;
2712
2672
  };
2713
- export type SetupDevBasicDataPayload = {
2714
- __typename?: 'SetupDevBasicDataPayload';
2715
- /** Development Tenant ID to be used in ID Service integration. */
2716
- tenantId: Scalars['String'];
2717
- /** Development Environment ID to be used in ID Service integration. */
2718
- environmentId: Scalars['String'];
2673
+ /** A filter to be used against many `UserRolePermissionAssignment` object types. All fields are combined with a logical ‘and.’ */
2674
+ export type UserRoleToManyUserRolePermissionAssignmentFilter = {
2675
+ /** Every related `UserRolePermissionAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
2676
+ every?: Maybe<UserRolePermissionAssignmentFilter>;
2677
+ /** No related `UserRolePermissionAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
2678
+ none?: Maybe<UserRolePermissionAssignmentFilter>;
2679
+ /** Some related `UserRolePermissionAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
2680
+ some?: Maybe<UserRolePermissionAssignmentFilter>;
2719
2681
  };
2720
- export type SetupDevBasicDataInput = {
2721
- /** Optional tenant ID to generate basic data with. If not specified will default to configured dev value. */
2722
- tenantId?: Maybe<Scalars['String']>;
2723
- /** Optional Environment ID to generate basic data with. If not specified will default to configured dev value. */
2724
- environmentId?: Maybe<Scalars['String']>;
2725
- /** Email given here will be setup as the tenant administrator email, as well as user administrator email. */
2726
- adminEmail: Scalars['String'];
2727
- /** Password given here will be setup as the tenant administrator password. */
2728
- adminPassword: Scalars['String'];
2729
- /** Google IDP Configuration - Client ID. */
2730
- googleClientId: Scalars['String'];
2731
- /** Google IDP Configuration - Client Secret. */
2732
- googleClientSecret: Scalars['String'];
2733
- /** environmentTemplateId */
2734
- environmentTemplateId: Scalars['String'];
2682
+ /** A filter to be used against many `UserRoleTagAssignment` object types. All fields are combined with a logical ‘and.’ */
2683
+ export type UserRoleToManyUserRoleTagAssignmentFilter = {
2684
+ /** Every related `UserRoleTagAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
2685
+ every?: Maybe<UserRoleTagAssignmentFilter>;
2686
+ /** No related `UserRoleTagAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
2687
+ none?: Maybe<UserRoleTagAssignmentFilter>;
2688
+ /** Some related `UserRoleTagAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
2689
+ some?: Maybe<UserRoleTagAssignmentFilter>;
2735
2690
  };
2736
- export type CreateDevServiceAccountPayload = {
2737
- __typename?: 'CreateDevServiceAccountPayload';
2738
- tenantId: Scalars['String'];
2739
- environmentId: Scalars['String'];
2740
- serviceAccountName: Scalars['String'];
2741
- clientId: Scalars['String'];
2742
- clientSecret: Scalars['String'];
2691
+ /** A connection to a list of `User` values. */
2692
+ export type UsersConnection = {
2693
+ __typename?: 'UsersConnection';
2694
+ /** A list of edges which contains the `User` and cursor to aid in pagination. */
2695
+ edges: Array<UsersEdge>;
2696
+ /** A list of `User` objects. */
2697
+ nodes: Array<User>;
2698
+ /** Information to aid in pagination. */
2699
+ pageInfo: PageInfo;
2700
+ /** The count of *all* `User` you could get from the connection. */
2701
+ totalCount: Scalars['Int'];
2743
2702
  };
2744
- export type CreateDevServiceAccountInput = {
2745
- /** Optional tenant ID to use for service account. If not specified will default to configured dev value. */
2746
- tenantId?: Maybe<Scalars['String']>;
2747
- /** Optional Environment ID to use for service account. If not specified will default to configured dev value. */
2748
- environmentId?: Maybe<Scalars['String']>;
2749
- /** Service account name. */
2750
- serviceAccountName: Scalars['String'];
2751
- /**
2752
- * Example:
2753
- *
2754
- * permissionStructure: [
2755
- * {
2756
- * serviceId: "media-service",
2757
- * permissions: ["ADMIN", "MOVIES_EDIT"]
2758
- * },
2759
- * {
2760
- * serviceId: "ax-encoding-service",
2761
- * permissions: ["ADMIN", "VIDEOS_EDIT"]
2762
- * }
2763
- * ]
2764
- */
2765
- permissionStructure: Array<Maybe<DevPermissionStructureInput>>;
2703
+ /** A `User` edge in the connection. */
2704
+ export type UsersEdge = {
2705
+ __typename?: 'UsersEdge';
2706
+ /** A cursor for use in pagination. */
2707
+ cursor?: Maybe<Scalars['Cursor']>;
2708
+ /** The `User` at the end of the edge. */
2709
+ node: User;
2766
2710
  };
2767
- export type DevPermissionStructureInput = {
2768
- serviceId: Scalars['String'];
2769
- permissions?: Maybe<Array<Maybe<Scalars['String']>>>;
2711
+ /** Methods to use when ordering `User`. */
2712
+ export declare enum UsersOrderBy {
2713
+ CREATED_AT_ASC = "CREATED_AT_ASC",
2714
+ CREATED_AT_DESC = "CREATED_AT_DESC",
2715
+ CREATED_BY_ASC = "CREATED_BY_ASC",
2716
+ CREATED_BY_DESC = "CREATED_BY_DESC",
2717
+ EMAIL_ASC = "EMAIL_ASC",
2718
+ EMAIL_DESC = "EMAIL_DESC",
2719
+ ENVIRONMENT_ID_ASC = "ENVIRONMENT_ID_ASC",
2720
+ ENVIRONMENT_ID_DESC = "ENVIRONMENT_ID_DESC",
2721
+ ID_ASC = "ID_ASC",
2722
+ ID_DESC = "ID_DESC",
2723
+ NAME_ASC = "NAME_ASC",
2724
+ NAME_DESC = "NAME_DESC",
2725
+ NATURAL = "NATURAL",
2726
+ PRIMARY_KEY_ASC = "PRIMARY_KEY_ASC",
2727
+ PRIMARY_KEY_DESC = "PRIMARY_KEY_DESC",
2728
+ PROFILE_PICTURE_URL_ASC = "PROFILE_PICTURE_URL_ASC",
2729
+ PROFILE_PICTURE_URL_DESC = "PROFILE_PICTURE_URL_DESC",
2730
+ STATUS_ASC = "STATUS_ASC",
2731
+ STATUS_DESC = "STATUS_DESC",
2732
+ TENANT_ID_ASC = "TENANT_ID_ASC",
2733
+ TENANT_ID_DESC = "TENANT_ID_DESC",
2734
+ UPDATED_AT_ASC = "UPDATED_AT_ASC",
2735
+ UPDATED_AT_DESC = "UPDATED_AT_DESC",
2736
+ UPDATED_BY_ASC = "UPDATED_BY_ASC",
2737
+ UPDATED_BY_DESC = "UPDATED_BY_DESC"
2738
+ }
2739
+ export declare enum UserStatus {
2740
+ /** Active */
2741
+ ACTIVE = "ACTIVE",
2742
+ /** Blocked */
2743
+ BLOCKED = "BLOCKED"
2744
+ }
2745
+ /** A filter to be used against UserStatus fields. All fields are combined with a logical ‘and.’ */
2746
+ export type UserStatusFilter = {
2747
+ /** Not equal to the specified value, treating null like an ordinary value. */
2748
+ distinctFrom?: Maybe<UserStatus>;
2749
+ /** Equal to the specified value. */
2750
+ equalTo?: Maybe<UserStatus>;
2751
+ /** Greater than the specified value. */
2752
+ greaterThan?: Maybe<UserStatus>;
2753
+ /** Greater than or equal to the specified value. */
2754
+ greaterThanOrEqualTo?: Maybe<UserStatus>;
2755
+ /** Included in the specified list. */
2756
+ in?: Maybe<Array<UserStatus>>;
2757
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
2758
+ isNull?: Maybe<Scalars['Boolean']>;
2759
+ /** Less than the specified value. */
2760
+ lessThan?: Maybe<UserStatus>;
2761
+ /** Less than or equal to the specified value. */
2762
+ lessThanOrEqualTo?: Maybe<UserStatus>;
2763
+ /** Equal to the specified value, treating null like an ordinary value. */
2764
+ notDistinctFrom?: Maybe<UserStatus>;
2765
+ /** Not equal to the specified value. */
2766
+ notEqualTo?: Maybe<UserStatus>;
2767
+ /** Not included in the specified list. */
2768
+ notIn?: Maybe<Array<UserStatus>>;
2770
2769
  };
2771
- export type GenerateDevAccessTokenPayload = {
2772
- __typename?: 'GenerateDevAccessTokenPayload';
2773
- accessToken: Scalars['String'];
2774
- tokenType: Scalars['String'];
2775
- expiresInSeconds: Scalars['Int'];
2770
+ /** A filter to be used against many `UserRoleAssignment` object types. All fields are combined with a logical ‘and.’ */
2771
+ export type UserToManyUserRoleAssignmentFilter = {
2772
+ /** Every related `UserRoleAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
2773
+ every?: Maybe<UserRoleAssignmentFilter>;
2774
+ /** No related `UserRoleAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
2775
+ none?: Maybe<UserRoleAssignmentFilter>;
2776
+ /** Some related `UserRoleAssignment` matches the filter criteria. All fields are combined with a logical ‘and.’ */
2777
+ some?: Maybe<UserRoleAssignmentFilter>;
2776
2778
  };
2777
- export type GenerateDevAccessTokenInput = {
2778
- /** Optional tenant ID to use for service account. If not specified will default to configured dev value. */
2779
- tenantId?: Maybe<Scalars['String']>;
2780
- /** Optional Environment ID to use for service account. If not specified will default to configured dev value. */
2781
- environmentId?: Maybe<Scalars['String']>;
2782
- /**
2783
- * Example:
2784
- *
2785
- * permissionStructure: [
2786
- * {
2787
- * serviceId: "media-service",
2788
- * permissions: ["ADMIN", "MOVIES_EDIT"]
2789
- * },
2790
- * {
2791
- * serviceId: "ax-encoding-service",
2792
- * permissions: ["ADMIN", "VIDEOS_EDIT"]
2793
- * }
2794
- * ]
2795
- */
2796
- permissionStructure?: Maybe<Array<Maybe<DevPermissionStructureInput>>>;
2797
- /**
2798
- * Example:
2799
- *
2800
- * tags: ["LK_MANAGER", "DE_MANAGER"]
2801
- */
2802
- tags?: Maybe<Array<Maybe<Scalars['String']>>>;
2779
+ /** A filter to be used against UUID fields. All fields are combined with a logical ‘and.’ */
2780
+ export type UuidFilter = {
2781
+ /** Not equal to the specified value, treating null like an ordinary value. */
2782
+ distinctFrom?: Maybe<Scalars['UUID']>;
2783
+ /** Equal to the specified value. */
2784
+ equalTo?: Maybe<Scalars['UUID']>;
2785
+ /** Greater than the specified value. */
2786
+ greaterThan?: Maybe<Scalars['UUID']>;
2787
+ /** Greater than or equal to the specified value. */
2788
+ greaterThanOrEqualTo?: Maybe<Scalars['UUID']>;
2789
+ /** Included in the specified list. */
2790
+ in?: Maybe<Array<Scalars['UUID']>>;
2791
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
2792
+ isNull?: Maybe<Scalars['Boolean']>;
2793
+ /** Less than the specified value. */
2794
+ lessThan?: Maybe<Scalars['UUID']>;
2795
+ /** Less than or equal to the specified value. */
2796
+ lessThanOrEqualTo?: Maybe<Scalars['UUID']>;
2797
+ /** Equal to the specified value, treating null like an ordinary value. */
2798
+ notDistinctFrom?: Maybe<Scalars['UUID']>;
2799
+ /** Not equal to the specified value. */
2800
+ notEqualTo?: Maybe<Scalars['UUID']>;
2801
+ /** Not included in the specified list. */
2802
+ notIn?: Maybe<Array<Scalars['UUID']>>;
2803
+ };
2804
+ export type ValidateCyclicUserRoleInput = {
2805
+ baseUserRole: Scalars['UUID'];
2806
+ parentUserRole: Scalars['UUID'];
2803
2807
  };
2804
2808
  export type DevCreateServiceAccountMutationVariables = Exact<{
2805
2809
  input: CreateDevServiceAccountInput;