@@ -24,16 +24,16 @@ export interface OrgIsManagerOfVariables {
2424 pUserId ?: string ;
2525 pMaxDepth ?: number ;
2626}
27- export interface StepsAchievedVariables {
28- vlevel ?: string ;
29- vroleId ?: string ;
30- }
3127export interface AppPermissionsGetMaskVariables {
3228 ids ?: string [ ] ;
3329}
3430export interface OrgPermissionsGetMaskVariables {
3531 ids ?: string [ ] ;
3632}
33+ export interface StepsAchievedVariables {
34+ vlevel ?: string ;
35+ vroleId ?: string ;
36+ }
3737export interface AppPermissionsGetMaskByNamesVariables {
3838 names ?: string [ ] ;
3939}
@@ -178,56 +178,52 @@ export function createQueryOperations(client: OrmClient) {
178178 undefined
179179 ) ,
180180 } ) ,
181- stepsAchieved : (
182- args : StepsAchievedVariables ,
181+ appPermissionsGetMask : (
182+ args : AppPermissionsGetMaskVariables ,
183183 options ?: {
184184 select ?: Record < string , unknown > ;
185185 }
186186 ) =>
187187 new QueryBuilder < {
188- stepsAchieved : boolean | null ;
188+ appPermissionsGetMask : string | null ;
189189 } > ( {
190190 client,
191191 operation : 'query' ,
192- operationName : 'StepsAchieved ' ,
193- fieldName : 'stepsAchieved ' ,
192+ operationName : 'AppPermissionsGetMask ' ,
193+ fieldName : 'appPermissionsGetMask ' ,
194194 ...buildCustomDocument (
195195 'query' ,
196- 'StepsAchieved ' ,
197- 'stepsAchieved ' ,
196+ 'AppPermissionsGetMask ' ,
197+ 'appPermissionsGetMask ' ,
198198 options ?. select ,
199199 args ,
200200 [
201201 {
202- name : 'vlevel' ,
203- type : 'String' ,
204- } ,
205- {
206- name : 'vroleId' ,
207- type : 'UUID' ,
202+ name : 'ids' ,
203+ type : '[UUID]' ,
208204 } ,
209205 ] ,
210206 connectionFieldsMap ,
211207 undefined
212208 ) ,
213209 } ) ,
214- appPermissionsGetMask : (
215- args : AppPermissionsGetMaskVariables ,
210+ orgPermissionsGetMask : (
211+ args : OrgPermissionsGetMaskVariables ,
216212 options ?: {
217213 select ?: Record < string , unknown > ;
218214 }
219215 ) =>
220216 new QueryBuilder < {
221- appPermissionsGetMask : string | null ;
217+ orgPermissionsGetMask : string | null ;
222218 } > ( {
223219 client,
224220 operation : 'query' ,
225- operationName : 'AppPermissionsGetMask ' ,
226- fieldName : 'appPermissionsGetMask ' ,
221+ operationName : 'OrgPermissionsGetMask ' ,
222+ fieldName : 'orgPermissionsGetMask ' ,
227223 ...buildCustomDocument (
228224 'query' ,
229- 'AppPermissionsGetMask ' ,
230- 'appPermissionsGetMask ' ,
225+ 'OrgPermissionsGetMask ' ,
226+ 'orgPermissionsGetMask ' ,
231227 options ?. select ,
232228 args ,
233229 [
@@ -240,29 +236,33 @@ export function createQueryOperations(client: OrmClient) {
240236 undefined
241237 ) ,
242238 } ) ,
243- orgPermissionsGetMask : (
244- args : OrgPermissionsGetMaskVariables ,
239+ stepsAchieved : (
240+ args : StepsAchievedVariables ,
245241 options ?: {
246242 select ?: Record < string , unknown > ;
247243 }
248244 ) =>
249245 new QueryBuilder < {
250- orgPermissionsGetMask : string | null ;
246+ stepsAchieved : boolean | null ;
251247 } > ( {
252248 client,
253249 operation : 'query' ,
254- operationName : 'OrgPermissionsGetMask ' ,
255- fieldName : 'orgPermissionsGetMask ' ,
250+ operationName : 'StepsAchieved ' ,
251+ fieldName : 'stepsAchieved ' ,
256252 ...buildCustomDocument (
257253 'query' ,
258- 'OrgPermissionsGetMask ' ,
259- 'orgPermissionsGetMask ' ,
254+ 'StepsAchieved ' ,
255+ 'stepsAchieved ' ,
260256 options ?. select ,
261257 args ,
262258 [
263259 {
264- name : 'ids' ,
265- type : '[UUID]' ,
260+ name : 'vlevel' ,
261+ type : 'String' ,
262+ } ,
263+ {
264+ name : 'vroleId' ,
265+ type : 'UUID' ,
266266 } ,
267267 ] ,
268268 connectionFieldsMap ,
0 commit comments