@fugood/bricks-cli 2.26.0-beta.3 → 2.26.0-beta.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.
package/lib/907.js CHANGED
@@ -1,8 +1,8 @@
1
- export const __rspack_esm_id=907;export const __rspack_esm_ids=[907];export const __webpack_modules__={85382(e,i,t){t.r(i),t.d(i,{BricksClient:()=>b,BricksPublicClient:()=>I,createClient:()=>S,createFetchForUrl:()=>g.P,createPublicClient:()=>k});var a,n,r,o,s=t(99436),d=t(5018),l=t(44668),c=t(54506),u=t(78549),p=t(94370),m=t(43741),$=t(89293),g=t(75149),_=c.ApolloClient,v=c.InMemoryCache,h=c.HttpLink,y=u.o,f={query:"query",mutation:"mutate"},I=l(function e(i){d(this,e),this.baseUrl=i,this.endpoint="/api/graphql-nonauth";var t=new h({uri:`${i}${this.endpoint}`,fetch:(0,g.P)(i)});this.apolloClient=new _({link:t,cache:new v,defaultOptions:{query:{errorPolicy:"all",fetchPolicy:"no-cache"}}})},[{key:"checkWorkspaceOTP",value:(a=s(function*(e){var i=(0,p.default)`
1
+ export const __rspack_esm_id=907;export const __rspack_esm_ids=[907];export const __webpack_modules__={85382(e,i,t){t.r(i),t.d(i,{BricksClient:()=>S,BricksPublicClient:()=>k,createClient:()=>D,createFetchForUrl:()=>_.P,createPublicClient:()=>A});var n,a,r,o,s=t(99436),d=t(5018),l=t(44668),u=t(54506),c=t(78549),p=t(94370),m=t(90424),$=t(43741),g=t(89293),_=t(75149),v=u.ApolloClient,f=u.InMemoryCache,h=u.HttpLink,y=c.o,I={query:"query",mutation:"mutate"},k=l(function e(i){d(this,e),this.baseUrl=i,this.endpoint="/api/graphql-nonauth";var t=new h({uri:`${i}${this.endpoint}`,fetch:(0,_.P)(i)});this.apolloClient=new v({link:t,cache:new f,defaultOptions:{query:{errorPolicy:"all",fetchPolicy:"no-cache"}}})},[{key:"checkWorkspaceOTP",value:(n=s(function*(e){var i=(0,p.default)`
2
2
  query checkWorkspaceOTP($passcode: String!) {
3
3
  checkWorkspaceOTP(passcode: $passcode)
4
4
  }
5
- `,t=yield this.apolloClient.query({query:i,variables:{passcode:e}}),a=t.data,n=t.errors;if(n?.length>0)throw Error(n.map(({message:e})=>e).join("\n"));return a.checkWorkspaceOTP}),function(e){return a.apply(this,arguments)})},{key:"exchangeWorkspaceOTP",value:(n=s(function*(e){var i=(0,p.default)`
5
+ `,t=yield this.apolloClient.query({query:i,variables:{passcode:e}}),n=t.data,a=t.errors;if(a?.length>0)throw Error(a.map(({message:e})=>e).join("\n"));return n.checkWorkspaceOTP}),function(e){return n.apply(this,arguments)})},{key:"exchangeWorkspaceOTP",value:(a=s(function*(e){var i=(0,p.default)`
6
6
  mutation exchangeWorkspaceOTP($passcode: String!) {
7
7
  exchangeWorkspaceOTP(passcode: $passcode) {
8
8
  token
@@ -10,9 +10,9 @@ export const __rspack_esm_id=907;export const __rspack_esm_ids=[907];export cons
10
10
  workspaceName
11
11
  }
12
12
  }
13
- `,t=yield this.apolloClient.mutate({mutation:i,variables:{passcode:e}}),a=t.data,n=t.errors;if(n?.length>0)throw Error(n.map(({message:e})=>e).join("\n"));return a.exchangeWorkspaceOTP}),function(e){return n.apply(this,arguments)})}]),k=e=>new I(e),A="Note: OAuth workspace access is awaiting the next production server release. Until then, use workspace auth (passcode or token; CLI: `bricks auth login-workspace`).",C=(e,i)=>{if(i?.kind!=="oauth")return e;var t=e?.message||String(e);if(!(403===(e?.statusCode||e?.networkError?.statusCode||e?.cause?.statusCode)||/\b403\b|invalid algorithm/i.test(t))||t.includes(A))return e;var a=Error(`${t}
13
+ `,t=yield this.apolloClient.mutate({mutation:i,variables:{passcode:e}}),n=t.data,a=t.errors;if(a?.length>0)throw Error(a.map(({message:e})=>e).join("\n"));return n.exchangeWorkspaceOTP}),function(e){return a.apply(this,arguments)})}]),A=e=>new k(e),b="Note: OAuth workspace access is awaiting the next production server release. Until then, use workspace auth (passcode or token; CLI: `bricks auth login-workspace`).",C=(e,i)=>{if(i?.kind!=="oauth")return e;var t=e?.message||String(e);if(!(403===(e?.statusCode||e?.networkError?.statusCode||e?.cause?.statusCode)||/\b403\b|invalid algorithm/i.test(t))||t.includes(b))return e;var n=Error(`${t}
14
14
 
15
- ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseUrl=i,this.auth=(e=>{if(!e)return null;if("string"==typeof e){var i;return{kind:"token",token:e,getHeaders:(i=s(function*(){return{authorization:`Bearer ${e}`}}),function(){return i.apply(this,arguments)})}}return e})(t),this.token=this.auth?.token,this.endpoint="/api/graphql-workspace";var r=new h({uri:`${i}${this.endpoint}`,fetch:(0,g.P)(i)}),o=y((a=s(function*(e,{headers:i}){return{headers:{...i,...n.auth?yield n.auth.getHeaders():{}}}}),function(e,i){return a.apply(this,arguments)}));this.apolloClient=new _({link:o.concat(r),cache:new v,defaultOptions:{watchQuery:{errorPolicy:"all",fetchPolicy:"no-cache"},query:{errorPolicy:"all",fetchPolicy:"no-cache"}}}),this.queries=m,this.mutations=$,this.generateMethods()},[{key:"generateMethods",value:function(){var e=this,i=i=>([t,a])=>{if(!this[t]){var n,r=(n=s(function*(n,r){try{var o=e.apolloClient[f[i]].bind(e.apolloClient),s=yield o({[i]:a,variables:n,...r}),d=s.data,l=s.errors;if(l)throw Error(l.map(({message:e})=>e).join("\n"));return d[t]}catch(e){if(e.cause?.result?.errors)throw Error(e.cause.result.errors.map(({message:e})=>e).join("\n"));throw e}}),function(e,i){return n.apply(this,arguments)});this[t]=s(function*(i={},t={}){try{return yield r(i,t)}catch(a){if(e.auth?.kind==="oauth"&&e.auth.refresh&&/401|unauthoriz|jwt expired|token.*expired|invalid.*token/i.test(a?.message||"")){yield e.auth.refresh();try{return yield r(i,t)}catch(i){throw C(i,e.auth)}}throw C(a,e.auth)}})}};Object.entries(this.queries).forEach(i("query")),Object.entries(this.mutations).forEach(i("mutation"))}},{key:"query",value:(r=s(function*(e,i={}){var t=yield this.apolloClient.query({query:e,variables:i,fetchPolicy:"no-cache"}),a=t.data,n=t.errors;if(n?.length>0)throw Error(n.map(({message:e})=>e).join("\n"));return a}),function(e){return r.apply(this,arguments)})},{key:"mutate",value:(o=s(function*(e,i={}){var t=yield this.apolloClient.mutate({mutation:e,variables:i}),a=t.data,n=t.errors;if(n?.length>0)throw Error(n.map(({message:e})=>e).join("\n"));return a}),function(e){return o.apply(this,arguments)})}]),S=(e,i)=>new b(e,i)},75149(e,i,t){t.d(i,{P:()=>r});var a=t(79657),n=t(64007);function r(e){var i=process.env.HTTPS_PROXY||process.env.https_proxy;if(!i||!e.startsWith("https://"))return a.Ay;var t=new n(i);return(e,i={})=>(0,a.Ay)(e,{...i,agent:t})}},48596(e,i,t){t.d(i,{$7:()=>c,$V:()=>u,F3:()=>r,J6:()=>p,NJ:()=>s,VZ:()=>o,Yi:()=>n,lI:()=>l,mJ:()=>d});var a=t(94370),n=(0,a.default)`
15
+ ${b}`);return n.cause=e,n},S=l(function e(i,t){var n,a=this;d(this,e),this.baseUrl=i,this.auth=(e=>{if(!e)return null;if("string"==typeof e){var i;return{kind:"token",token:e,getHeaders:(i=s(function*(){return{authorization:`Bearer ${e}`}}),function(){return i.apply(this,arguments)})}}return e})(t),this.token=this.auth?.token,this.endpoint="/api/graphql-workspace";var r=new h({uri:`${i}${this.endpoint}`,fetch:(0,_.P)(i)}),o=y((n=s(function*(e,{headers:i}){return{headers:{...i,...a.auth?yield a.auth.getHeaders():{}}}}),function(e,i){return n.apply(this,arguments)}));this.apolloClient=new v({link:o.concat(r),cache:new f,defaultOptions:{watchQuery:{errorPolicy:"all",fetchPolicy:"no-cache"},query:{errorPolicy:"all",fetchPolicy:"no-cache"}}}),this.queries=$,this.mutations=g,this.generateMethods()},[{key:"generateMethods",value:function(){var e=this,i=i=>([t,n])=>{if(!this[t]){var a,r=(a=s(function*(a,r,o=!1){try{var s=e.apolloClient[I[i]].bind(e.apolloClient),d=yield s({[i]:o?(0,m.YR)(n,{FragmentDefinition(e){if("BlueprintRun"===e.typeCondition.name.value)return{...e,selectionSet:{...e.selectionSet,selections:e.selectionSet.selections.filter(e=>!["instance_id","sessions"].includes(e.name?.value))}}},VariableDefinition:e=>"instanceId"===e.variable.name.value?null:void 0,Argument:e=>"instanceId"===e.name.value?null:void 0}):n,variables:o?Object.fromEntries(Object.entries(a).filter(([e])=>"instanceId"!==e)):a,...r}),l=d.data,u=d.errors;if(u)throw Error(u.map(({message:e})=>e).join("\n"));return l[t]}catch(e){var c=e.cause?.result?.errors||e.networkError?.result?.errors;if(c)throw Error(c.map(({message:e})=>e).join("\n"));throw e}}),function(e,i){return a.apply(this,arguments)});this[t]=s(function*(i={},n={}){try{return yield r(i,n)}catch(o){let a;if(/blueprint/i.test(t)&&(a=o.message,/Unknown argument "instanceId".*acquireBlueprintRun|Cannot query field "(?:instance_id|sessions)" on type "BlueprintRun"/.test(a)))return r(i,n,!0);if(e.auth?.kind==="oauth"&&e.auth.refresh&&/401|unauthoriz|jwt expired|token.*expired|invalid.*token/i.test(o?.message||"")){yield e.auth.refresh();try{return yield r(i,n)}catch(i){throw C(i,e.auth)}}throw C(o,e.auth)}})}};Object.entries(this.queries).forEach(i("query")),Object.entries(this.mutations).forEach(i("mutation"))}},{key:"query",value:(r=s(function*(e,i={}){var t=yield this.apolloClient.query({query:e,variables:i,fetchPolicy:"no-cache"}),n=t.data,a=t.errors;if(a?.length>0)throw Error(a.map(({message:e})=>e).join("\n"));return n}),function(e){return r.apply(this,arguments)})},{key:"mutate",value:(o=s(function*(e,i={}){var t=yield this.apolloClient.mutate({mutation:e,variables:i}),n=t.data,a=t.errors;if(a?.length>0)throw Error(a.map(({message:e})=>e).join("\n"));return n}),function(e){return o.apply(this,arguments)})}]),D=(e,i)=>new S(e,i)},75149(e,i,t){t.d(i,{P:()=>r});var n=t(79657),a=t(64007);function r(e){var i=process.env.HTTPS_PROXY||process.env.https_proxy;if(!i||!e.startsWith("https://"))return n.Ay;var t=new a(i);return(e,i={})=>(0,n.Ay)(e,{...i,agent:t})}},48596(e,i,t){t.d(i,{$7:()=>u,$V:()=>c,C$:()=>_,F3:()=>r,J6:()=>p,NJ:()=>s,VZ:()=>o,Yi:()=>a,_A:()=>g,lI:()=>l,mJ:()=>d,zL:()=>$});var n=t(94370),a=(0,n.default)`
16
16
  fragment cliWorkspaceArguments on Workspace {
17
17
  _id
18
18
  name
@@ -38,7 +38,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
38
38
  }
39
39
  }
40
40
  }
41
- `,r=(0,a.default)`
41
+ `,r=(0,n.default)`
42
42
  fragment cliDeviceArguments on Device {
43
43
  _id
44
44
  name
@@ -113,18 +113,28 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
113
113
  env {
114
114
  variables
115
115
  }
116
+ lock {
117
+ enabled
118
+ }
119
+ activity_log {
120
+ enabled
121
+ filter
122
+ screenshot_enabled
123
+ }
124
+ # Stored settings; entry_detail.local_sync is the runtime status reported by the device
125
+ local_sync {
126
+ enabled
127
+ priority_as_main
128
+ disable_dynamic_latency
129
+ latency_offset
130
+ }
116
131
  used_workspace {
117
132
  _id
118
- media_resource {
119
- enable_media_workspace
120
- system_media_box_id
121
- system_media_box_passcode
122
- }
123
133
  }
124
134
  create_datetime
125
135
  last_modify_datetime
126
136
  }
127
- `,o=(0,a.default)`
137
+ `,o=(0,n.default)`
128
138
  fragment cliDevicePanelArguments on Device {
129
139
  _id
130
140
  name
@@ -162,7 +172,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
162
172
  }
163
173
  }
164
174
  }
165
- `,s=(0,a.default)`
175
+ `,s=(0,n.default)`
166
176
  fragment cliDeviceShortArguments on Device {
167
177
  _id
168
178
  name
@@ -179,7 +189,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
179
189
  }
180
190
  }
181
191
  }
182
- `,d=(0,a.default)`
192
+ `,d=(0,n.default)`
183
193
  fragment cliDeviceGroupArguments on DeviceGroup {
184
194
  _id
185
195
  name
@@ -192,7 +202,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
192
202
  create_datetime
193
203
  last_modify_datetime
194
204
  }
195
- `,l=(0,a.default)`
205
+ `,l=(0,n.default)`
196
206
  fragment cliApplicationArguments on Application {
197
207
  _id
198
208
  name
@@ -209,13 +219,16 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
209
219
  }
210
220
  short_edit {
211
221
  enabled
222
+ use_unstable_features
212
223
  ref_map
213
224
  }
214
225
  canvas_control {
215
226
  enabled
227
+ use_unstable_features
216
228
  }
217
229
  device_control {
218
230
  enabled
231
+ use_unstable_features
219
232
  }
220
233
  lock {
221
234
  enabled
@@ -224,6 +237,12 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
224
237
  device_id
225
238
  status
226
239
  frame
240
+ run_test
241
+ cron_tests {
242
+ test_id
243
+ cron
244
+ bind_id
245
+ }
227
246
  }
228
247
  id_for_devices
229
248
  sync_key
@@ -231,7 +250,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
231
250
  create_datetime
232
251
  last_modify_datetime
233
252
  }
234
- `,c=(0,a.default)`
253
+ `,u=(0,n.default)`
235
254
  fragment cliApplicationShortArguments on Application {
236
255
  _id
237
256
  name
@@ -239,7 +258,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
239
258
  has_unreleased_changes
240
259
  current_version
241
260
  }
242
- `,u=(0,a.default)`
261
+ `,c=(0,n.default)`
243
262
  fragment cliModuleArguments on Module {
244
263
  _id
245
264
  name
@@ -262,35 +281,114 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
262
281
  create_datetime
263
282
  last_modify_datetime
264
283
  }
265
- `,p=(0,a.default)`
284
+ `,p=(0,n.default)`
266
285
  fragment cliModuleShortArguments on Module {
267
286
  _id
268
287
  name
269
288
  description
270
289
  current_version
271
290
  }
272
- `},89293(e,i,t){t.r(i),t.d(i,{bindApplication:()=>_,bindButtressServer:()=>S,controlDevice:()=>o,createApplication:()=>u,createApplicationWithShareVersion:()=>p,createDevice:()=>r,createMediaFileUploadRequest:()=>C,createModule:()=>h,createVirtualDevice:()=>s,dispatchDeviceGroupAction:()=>c,issueButtressAccessToken:()=>w,issueDevtoolsAccessToken:()=>L,releaseApplication:()=>A,releaseModule:()=>b,removeApplication:()=>$,removeDevice:()=>l,removeModule:()=>f,shortEditApplication:()=>g,shortEditModule:()=>I,triggerApplicationCanvasControl:()=>v,unbindButtressServer:()=>D,updateApplication:()=>m,updateModule:()=>y,updateVirtualDevice:()=>d,updateWorkspace:()=>k});var a=t(94370),n=t(48596),r=(0,a.default)`
291
+ `,m=(0,n.default)`
292
+ fragment cliBlueprintEdgeArguments on BlueprintEdge {
293
+ id
294
+ from
295
+ to
296
+ type
297
+ label
298
+ derived
299
+ }
300
+ `,$=(0,n.default)`
301
+ fragment cliBlueprintRunArguments on BlueprintRun {
302
+ instance_id
303
+ sessions {
304
+ session_id
305
+ started_at
306
+ heartbeat_at
307
+ }
308
+ host
309
+ user_id
310
+ session_id
311
+ started_at
312
+ heartbeat_at
313
+ }
314
+ `,g=(0,n.default)`
315
+ fragment cliBlueprintArguments on Blueprint {
316
+ _id
317
+ name
318
+ description
319
+ revision
320
+ nodes {
321
+ id
322
+ kind
323
+ ref
324
+ name
325
+ role
326
+ position {
327
+ x
328
+ y
329
+ }
330
+ missing
331
+ missing_reason
332
+ }
333
+ edges {
334
+ ...cliBlueprintEdgeArguments
335
+ }
336
+ derivedEdges {
337
+ ...cliBlueprintEdgeArguments
338
+ }
339
+ unlinkedRefs {
340
+ fromNodeId
341
+ kind
342
+ ref
343
+ name
344
+ }
345
+ run {
346
+ ...cliBlueprintRunArguments
347
+ }
348
+ create_datetime
349
+ last_modify_datetime
350
+ }
351
+ ${m}
352
+ ${$}
353
+ `,_=(0,n.default)`
354
+ fragment cliBlueprintShortArguments on Blueprint {
355
+ _id
356
+ name
357
+ description
358
+ revision
359
+ nodes {
360
+ id
361
+ kind
362
+ missing
363
+ }
364
+ run {
365
+ ...cliBlueprintRunArguments
366
+ }
367
+ last_modify_datetime
368
+ }
369
+ ${$}
370
+ `},89293(e,i,t){t.r(i),t.d(i,{acquireBlueprintRun:()=>E,bindApplication:()=>f,bindButtressServer:()=>B,controlDevice:()=>o,createApplication:()=>p,createApplicationWithShareVersion:()=>m,createBlueprint:()=>q,createDevice:()=>r,createMediaFileUploadRequest:()=>S,createModule:()=>y,createVirtualDevice:()=>s,dispatchDeviceGroupAction:()=>c,heartbeatBlueprintRun:()=>V,issueButtressAccessToken:()=>w,issueDevtoolsAccessToken:()=>P,releaseApplication:()=>C,releaseBlueprintRun:()=>M,releaseModule:()=>D,removeApplication:()=>_,removeBlueprint:()=>x,removeDevice:()=>u,removeModule:()=>k,revertBlueprint:()=>R,shortEditApplication:()=>v,shortEditModule:()=>A,triggerApplicationCanvasControl:()=>h,unbindButtressServer:()=>L,updateApplication:()=>$,updateBlueprint:()=>T,updateDevice:()=>l,updateModule:()=>I,updateVirtualDevice:()=>d,updateWorkspace:()=>b,useApplicationReleaseVersion:()=>g});var n=t(94370),a=t(48596),r=(0,n.default)`
273
371
  mutation CLI_createDevice($bindPasscode: String, $name: String, $deviceName: String) {
274
372
  createDevice(bindPasscode: $bindPasscode, name: $name, deviceName: $deviceName) {
275
373
  ...cliDeviceArguments
276
374
  }
277
375
  }
278
- ${n.F3}
279
- `,o=(0,a.default)`
376
+ ${a.F3}
377
+ `,o=(0,n.default)`
280
378
  mutation CLI_controlDevice($id: ID!, $type: String!, $eventPayload: JSON) {
281
379
  controlDevice(id: $id, type: $type, eventPayload: $eventPayload) {
282
380
  _id
283
381
  name
284
382
  }
285
383
  }
286
- `,s=(0,a.default)`
384
+ `,s=(0,n.default)`
287
385
  mutation CLI_createVirtualDevice($name: String, $deviceName: String) {
288
386
  createVirtualDevice(name: $name, deviceName: $deviceName) {
289
387
  ...cliDeviceArguments
290
388
  }
291
389
  }
292
- ${n.F3}
293
- `,d=(0,a.default)`
390
+ ${a.F3}
391
+ `,d=(0,n.default)`
294
392
  mutation CLI_updateVirtualDevice($id: ID!, $tokens: [DeviceTokenInput], $revokeTokens: [ID!]) {
295
393
  updateVirtualDevice(id: $id, tokens: $tokens, revokeTokens: $revokeTokens) {
296
394
  device {
@@ -302,19 +400,46 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
302
400
  }
303
401
  }
304
402
  }
305
- ${n.F3}
306
- `,l=(0,a.default)`
403
+ ${a.F3}
404
+ `,l=(0,n.default)`
405
+ mutation CLI_updateDevice(
406
+ $id: ID!
407
+ $name: String
408
+ $description: String
409
+ $tags: [String]
410
+ $env: DeviceEnvInput
411
+ $activityLog: ActivityLogInput
412
+ $localSync: LocalSyncInput
413
+ $lock: DeviceLockInput
414
+ $forceNotifyDevice: Boolean
415
+ ) {
416
+ updateDevice(
417
+ id: $id
418
+ name: $name
419
+ description: $description
420
+ tags: $tags
421
+ env: $env
422
+ activityLog: $activityLog
423
+ localSync: $localSync
424
+ lock: $lock
425
+ forceNotifyDevice: $forceNotifyDevice
426
+ ) {
427
+ ...cliDeviceArguments
428
+ }
429
+ }
430
+ ${a.F3}
431
+ `,u=(0,n.default)`
307
432
  mutation CLI_removeDevice($id: ID!) {
308
433
  removeDevice(id: $id)
309
434
  }
310
- `,c=(0,a.default)`
435
+ `,c=(0,n.default)`
311
436
  mutation CLI_dispatchDeviceGroupAction($id: ID!, $action: String!) {
312
437
  dispatchDeviceGroupAction(id: $id, action: $action) {
313
438
  dispatched
314
439
  devices
315
440
  }
316
441
  }
317
- `,u=(0,a.default)`
442
+ `,p=(0,n.default)`
318
443
  mutation CLI_createApplication(
319
444
  $name: String
320
445
  $description: String
@@ -330,8 +455,8 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
330
455
  ...cliApplicationShortArguments
331
456
  }
332
457
  }
333
- ${n.$7}
334
- `,p=(0,a.default)`
458
+ ${a.$7}
459
+ `,m=(0,n.default)`
335
460
  mutation CLI_createApplicationWithShareVersion(
336
461
  $name: String
337
462
  $description: String
@@ -347,13 +472,15 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
347
472
  ...cliApplicationShortArguments
348
473
  }
349
474
  }
350
- ${n.$7}
351
- `,m=(0,a.default)`
475
+ ${a.$7}
476
+ `,$=(0,n.default)`
352
477
  mutation CLI_updateApplication(
353
478
  $id: ID!
354
479
  $config: String
355
480
  $name: String
356
481
  $description: String
482
+ $tags: [String]
483
+ $lock: ApplicationLockInput
357
484
  $validateConfig: Boolean
358
485
  $lastCommitId: String
359
486
  ) {
@@ -362,20 +489,33 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
362
489
  config: $config
363
490
  name: $name
364
491
  description: $description
492
+ tags: $tags
493
+ lock: $lock
365
494
  validateConfig: $validateConfig
366
495
  lastCommitId: $lastCommitId
367
496
  ) {
368
497
  ...cliApplicationShortArguments
369
498
  config
370
499
  has_unreleased_changes
500
+ tags
501
+ lock {
502
+ enabled
503
+ }
504
+ }
505
+ }
506
+ ${a.$7}
507
+ `,g=(0,n.default)`
508
+ mutation CLI_useApplicationReleaseVersion($id: ID!, $versionId: ID!) {
509
+ useApplicationReleaseVersion: updateApplication(id: $id, useReleaseVersion: $versionId) {
510
+ ...cliApplicationShortArguments
371
511
  }
372
512
  }
373
- ${n.$7}
374
- `,$=(0,a.default)`
513
+ ${a.$7}
514
+ `,_=(0,n.default)`
375
515
  mutation CLI_removeApplication($id: ID!) {
376
516
  removeApplication(id: $id)
377
517
  }
378
- `,g=(0,a.default)`
518
+ `,v=(0,n.default)`
379
519
  mutation CLI_shortEditApplication(
380
520
  $id: ID!
381
521
  $list: [ShortEditInput]!
@@ -386,19 +526,23 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
386
526
  ...cliApplicationShortArguments
387
527
  }
388
528
  }
389
- ${n.$7}
390
- `,_=(0,a.default)`
529
+ ${a.$7}
530
+ `,f=(0,n.default)`
391
531
  mutation CLI_bindApplication(
392
532
  $id: ID!
393
533
  $bindDevices: [ID]
394
534
  $unbindDevices: [ID]
535
+ $forceUnbindDevicesIfNeeded: Boolean
395
536
  $deviceFrames: JSON
537
+ $deviceSettings: [DeviceSettingInput]
396
538
  ) {
397
539
  bindApplication(
398
540
  id: $id
399
541
  bindDevices: $bindDevices
400
542
  unbindDevices: $unbindDevices
543
+ forceUnbindDevicesIfNeeded: $forceUnbindDevicesIfNeeded
401
544
  deviceFrames: $deviceFrames
545
+ deviceSettings: $deviceSettings
402
546
  ) {
403
547
  _id
404
548
  devices {
@@ -408,7 +552,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
408
552
  }
409
553
  }
410
554
  }
411
- `,v=(0,a.default)`
555
+ `,h=(0,n.default)`
412
556
  mutation CLI_triggerApplicationCanvasControl(
413
557
  $id: ID!
414
558
  $testId: String!
@@ -426,7 +570,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
426
570
  _id
427
571
  }
428
572
  }
429
- `,h=(0,a.default)`
573
+ `,y=(0,n.default)`
430
574
  mutation CLI_createModule(
431
575
  $name: String
432
576
  $description: String
@@ -450,8 +594,8 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
450
594
  ...cliModuleArguments
451
595
  }
452
596
  }
453
- ${n.$V}
454
- `,y=(0,a.default)`
597
+ ${a.$V}
598
+ `,I=(0,n.default)`
455
599
  mutation CLI_updateModule(
456
600
  $id: ID!
457
601
  $config: String
@@ -471,12 +615,12 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
471
615
  ...cliModuleArguments
472
616
  }
473
617
  }
474
- ${n.$V}
475
- `,f=(0,a.default)`
618
+ ${a.$V}
619
+ `,k=(0,n.default)`
476
620
  mutation CLI_removeModule($id: ID!) {
477
621
  removeModule(id: $id)
478
622
  }
479
- `,I=(0,a.default)`
623
+ `,A=(0,n.default)`
480
624
  mutation CLI_shortEditModule(
481
625
  $id: ID!
482
626
  $list: [ShortEditInput]!
@@ -488,7 +632,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
488
632
  name
489
633
  }
490
634
  }
491
- `,k=(0,a.default)`
635
+ `,b=(0,n.default)`
492
636
  mutation CLI_updateWorkspace(
493
637
  $name: String
494
638
  $description: String
@@ -512,26 +656,30 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
512
656
  }
513
657
  }
514
658
  }
515
- `,A=(0,a.default)`
659
+ `,C=(0,n.default)`
516
660
  mutation CLI_releaseApplication(
517
661
  $id: ID!
518
662
  $config: String
519
663
  $name: String
664
+ $validateConfig: Boolean
520
665
  $releaseCurrentVersion: String
521
666
  $releaseCurrentVersionNote: String
522
667
  ) {
523
- updateApplication(
668
+ releaseApplication: updateApplication(
524
669
  id: $id
525
670
  config: $config
526
671
  name: $name
672
+ validateConfig: $validateConfig
527
673
  releaseCurrentVersion: $releaseCurrentVersion
528
674
  releaseCurrentVersionNote: $releaseCurrentVersionNote
529
675
  ) {
530
676
  _id
531
677
  name
678
+ current_version
679
+ has_unreleased_changes
532
680
  }
533
681
  }
534
- `,C=(0,a.default)`
682
+ `,S=(0,n.default)`
535
683
  mutation CLI_createMediaFileUploadRequest(
536
684
  $name: String!
537
685
  $description: String!
@@ -558,7 +706,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
558
706
  }
559
707
  }
560
708
  }
561
- `,b=(0,a.default)`
709
+ `,D=(0,n.default)`
562
710
  mutation CLI_releaseModule(
563
711
  $id: ID!
564
712
  $config: String
@@ -578,7 +726,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
578
726
  name
579
727
  }
580
728
  }
581
- `,S=(0,a.default)`
729
+ `,B=(0,n.default)`
582
730
  mutation CLI_bindButtressServer(
583
731
  $serverId: String!
584
732
  $name: String
@@ -594,11 +742,11 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
594
742
  }
595
743
  }
596
744
  }
597
- `,D=(0,a.default)`
745
+ `,L=(0,n.default)`
598
746
  mutation CLI_unbindButtressServer($serverId: String!) {
599
747
  unbindButtressServer(serverId: $serverId)
600
748
  }
601
- `,w=(0,a.default)`
749
+ `,w=(0,n.default)`
602
750
  mutation CLI_issueButtressAccessToken($ttlSeconds: Int) {
603
751
  issueButtressAccessToken(ttlSeconds: $ttlSeconds) {
604
752
  token
@@ -607,7 +755,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
607
755
  jti
608
756
  }
609
757
  }
610
- `,L=(0,a.default)`
758
+ `,P=(0,n.default)`
611
759
  mutation CLI_issueDevtoolsAccessToken($ttlSeconds: Int) {
612
760
  issueDevtoolsAccessToken(ttlSeconds: $ttlSeconds) {
613
761
  token
@@ -616,49 +764,103 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
616
764
  jti
617
765
  }
618
766
  }
619
- `},43741(e,i,t){t.r(i),t.d(i,{application:()=>p,applicationProject:()=>b,applications:()=>m,buttressServers:()=>D,checkBindDevicePasscode:()=>h,device:()=>o,deviceGroup:()=>l,deviceGroups:()=>c,deviceUsage:()=>C,devices:()=>s,devicesByGroup:()=>u,devicesPanel:()=>d,mediaBox:()=>k,mediaBoxes:()=>I,mediaFile:()=>A,mediaFiles:()=>y,mediaWorkspace:()=>f,module:()=>g,moduleProject:()=>S,modules:()=>_,publicApplicationShareInfo:()=>$,publicModules:()=>v,workspace:()=>r});var a=t(94370),n=t(48596),r=(0,a.default)`
767
+ `,q=(0,n.default)`
768
+ mutation CLI_createBlueprint($name: String!, $description: String) {
769
+ createBlueprint(name: $name, description: $description) {
770
+ ...cliBlueprintArguments
771
+ }
772
+ }
773
+ ${a._A}
774
+ `,T=(0,n.default)`
775
+ mutation CLI_updateBlueprint($id: ID!, $revision: Int!, $patch: BlueprintPatchInput!) {
776
+ updateBlueprint(id: $id, revision: $revision, patch: $patch) {
777
+ ...cliBlueprintArguments
778
+ }
779
+ }
780
+ ${a._A}
781
+ `,R=(0,n.default)`
782
+ mutation CLI_revertBlueprint($id: ID!, $toRevision: Int!) {
783
+ revertBlueprint(id: $id, toRevision: $toRevision) {
784
+ ...cliBlueprintArguments
785
+ }
786
+ }
787
+ ${a._A}
788
+ `,x=(0,n.default)`
789
+ mutation CLI_removeBlueprint($id: ID!) {
790
+ removeBlueprint(id: $id)
791
+ }
792
+ `,E=(0,n.default)`
793
+ mutation CLI_acquireBlueprintRun(
794
+ $id: ID!
795
+ $host: String!
796
+ $sessionId: String!
797
+ $instanceId: String
798
+ ) {
799
+ acquireBlueprintRun(id: $id, host: $host, sessionId: $sessionId, instanceId: $instanceId) {
800
+ ok
801
+ run {
802
+ ...cliBlueprintRunArguments
803
+ }
804
+ }
805
+ }
806
+ ${a.zL}
807
+ `,V=(0,n.default)`
808
+ mutation CLI_heartbeatBlueprintRun($id: ID!, $sessionId: String!) {
809
+ heartbeatBlueprintRun(id: $id, sessionId: $sessionId) {
810
+ ok
811
+ run {
812
+ ...cliBlueprintRunArguments
813
+ }
814
+ }
815
+ }
816
+ ${a.zL}
817
+ `,M=(0,n.default)`
818
+ mutation CLI_releaseBlueprintRun($id: ID!, $sessionId: String!) {
819
+ releaseBlueprintRun(id: $id, sessionId: $sessionId)
820
+ }
821
+ `},43741(e,i,t){t.r(i),t.d(i,{application:()=>p,applicationDeviceSettings:()=>m,applicationProject:()=>D,applicationReleaseVersions:()=>$,applications:()=>g,blueprint:()=>w,blueprintEvents:()=>x,blueprintProjection:()=>T,blueprintRevisions:()=>R,blueprints:()=>P,blueprintsByInstance:()=>q,buttressServers:()=>L,checkBindDevicePasscode:()=>y,device:()=>o,deviceGroup:()=>l,deviceGroups:()=>u,deviceUsage:()=>S,devices:()=>s,devicesApplicationStatus:()=>E,devicesByGroup:()=>c,devicesPanel:()=>d,mediaBox:()=>b,mediaBoxes:()=>A,mediaFile:()=>C,mediaFiles:()=>I,mediaWorkspace:()=>k,module:()=>v,moduleProject:()=>B,modules:()=>f,publicApplicationShareInfo:()=>_,publicModules:()=>h,workspace:()=>r});var n=t(94370),a=t(48596),r=(0,n.default)`
620
822
  query CLI_workspace {
621
823
  workspace {
622
824
  ...cliWorkspaceArguments
623
825
  }
624
826
  }
625
- ${n.Yi}
626
- `,o=(0,a.default)`
827
+ ${a.Yi}
828
+ `,o=(0,n.default)`
627
829
  query CLI_device($id: ID) {
628
830
  device(id: $id) {
629
831
  ...cliDeviceArguments
630
832
  }
631
833
  }
632
- ${n.F3}
633
- `,s=(0,a.default)`
834
+ ${a.F3}
835
+ `,s=(0,n.default)`
634
836
  query CLI_devices($keyword: String, $paginate: Paginate) {
635
837
  devices(keyword: $keyword, paginate: $paginate) {
636
838
  ...cliDeviceShortArguments
637
839
  }
638
840
  }
639
- ${n.NJ}
640
- `,d=(0,a.default)`
841
+ ${a.NJ}
842
+ `,d=(0,n.default)`
641
843
  query CLI_devicesPanel($keyword: String, $paginate: Paginate) {
642
844
  devicesPanel: devices(keyword: $keyword, paginate: $paginate) {
643
845
  ...cliDevicePanelArguments
644
846
  }
645
847
  }
646
- ${n.VZ}
647
- `,l=(0,a.default)`
848
+ ${a.VZ}
849
+ `,l=(0,n.default)`
648
850
  query CLI_deviceGroup($id: ID) {
649
851
  deviceGroup(id: $id) {
650
852
  ...cliDeviceGroupArguments
651
853
  }
652
854
  }
653
- ${n.mJ}
654
- `,c=(0,a.default)`
855
+ ${a.mJ}
856
+ `,u=(0,n.default)`
655
857
  query CLI_deviceGroups($paginate: Paginate) {
656
858
  deviceGroups(paginate: $paginate) {
657
859
  ...cliDeviceGroupArguments
658
860
  }
659
861
  }
660
- ${n.mJ}
661
- `,u=(0,a.default)`
862
+ ${a.mJ}
863
+ `,c=(0,n.default)`
662
864
  query CLI_devicesByGroup($id: ID) {
663
865
  devicesByGroup(id: $id) {
664
866
  target_name
@@ -679,21 +881,55 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
679
881
  }
680
882
  }
681
883
  }
682
- `,p=(0,a.default)`
884
+ `,p=(0,n.default)`
683
885
  query CLI_application($id: ID!, $composed: Boolean, $debug: Boolean) {
684
886
  application(id: $id, composed: $composed, debug: $debug) {
685
887
  ...cliApplicationArguments
686
888
  }
687
889
  }
688
- ${n.lI}
689
- `,m=(0,a.default)`
890
+ ${a.lI}
891
+ `,m=(0,n.default)`
892
+ query CLI_applicationDeviceSettings($id: ID!) {
893
+ applicationDeviceSettings: application(id: $id) {
894
+ _id
895
+ devices {
896
+ device_id
897
+ frame
898
+ run_test
899
+ short_edit
900
+ canvas_control
901
+ device_control
902
+ env
903
+ cron_tests {
904
+ test_id
905
+ cron
906
+ date_range {
907
+ start
908
+ end
909
+ }
910
+ update_screenshot
911
+ bind_id
912
+ }
913
+ }
914
+ }
915
+ }
916
+ `,$=(0,n.default)`
917
+ query CLI_applicationReleaseVersions($id: ID!) {
918
+ applicationReleaseVersions(id: $id) {
919
+ _id
920
+ version
921
+ note
922
+ create_datetime
923
+ }
924
+ }
925
+ `,g=(0,n.default)`
690
926
  query CLI_applications($keyword: String, $paginate: Paginate) {
691
927
  applications(keyword: $keyword, paginate: $paginate) {
692
928
  ...cliApplicationShortArguments
693
929
  }
694
930
  }
695
- ${n.$7}
696
- `,$=(0,a.default)`
931
+ ${a.$7}
932
+ `,_=(0,n.default)`
697
933
  query CLI_publicApplicationShareInfo($id: ID!) {
698
934
  publicApplicationShareInfo(id: $id) {
699
935
  _id
@@ -718,32 +954,32 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
718
954
  }
719
955
  }
720
956
  }
721
- `,g=(0,a.default)`
957
+ `,v=(0,n.default)`
722
958
  query CLI_module($id: ID!) {
723
959
  module(id: $id) {
724
960
  ...cliModuleArguments
725
961
  }
726
962
  }
727
- ${n.$V}
728
- `,_=(0,a.default)`
963
+ ${a.$V}
964
+ `,f=(0,n.default)`
729
965
  query CLI_modules($keyword: String, $paginate: Paginate) {
730
966
  modules(keyword: $keyword, paginate: $paginate) {
731
967
  ...cliModuleShortArguments
732
968
  }
733
969
  }
734
- ${n.J6}
735
- `,v=(0,a.default)`
970
+ ${a.J6}
971
+ `,h=(0,n.default)`
736
972
  query CLI_publicModules($keyword: String!, $limit: Int) {
737
973
  publicModules(keyword: $keyword, paginate: { limit: $limit }) {
738
974
  ...cliModuleShortArguments
739
975
  }
740
976
  }
741
- ${n.J6}
742
- `,h=(0,a.default)`
977
+ ${a.J6}
978
+ `,y=(0,n.default)`
743
979
  query CLI_checkBindDevicePasscode($passcode: String!) {
744
980
  checkBindDevicePasscode(passcode: $passcode)
745
981
  }
746
- `,y=(0,a.default)`
982
+ `,I=(0,n.default)`
747
983
  query CLI_mediaFiles(
748
984
  $boxId: ID!
749
985
  $includeTypes: [String]
@@ -786,7 +1022,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
786
1022
  }
787
1023
  }
788
1024
  }
789
- `,f=(0,a.default)`
1025
+ `,k=(0,n.default)`
790
1026
  query CLI_mediaWorkspace {
791
1027
  mediaWorkspace {
792
1028
  id
@@ -799,7 +1035,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
799
1035
  updatedAt
800
1036
  }
801
1037
  }
802
- `,I=(0,a.default)`
1038
+ `,A=(0,n.default)`
803
1039
  query CLI_mediaBoxes {
804
1040
  mediaBoxes {
805
1041
  id
@@ -820,7 +1056,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
820
1056
  }
821
1057
  }
822
1058
  }
823
- `,k=(0,a.default)`
1059
+ `,b=(0,n.default)`
824
1060
  query CLI_mediaBox($id: ID!) {
825
1061
  mediaBox(id: $id) {
826
1062
  id
@@ -841,7 +1077,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
841
1077
  }
842
1078
  }
843
1079
  }
844
- `,A=(0,a.default)`
1080
+ `,C=(0,n.default)`
845
1081
  query CLI_mediaFile($id: ID!) {
846
1082
  mediaFile(id: $id) {
847
1083
  id
@@ -872,7 +1108,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
872
1108
  }
873
1109
  }
874
1110
  }
875
- `,C=(0,a.default)`
1111
+ `,S=(0,n.default)`
876
1112
  query CLI_deviceUsage($deviceId: ID, $startDate: Date, $endDate: Date) {
877
1113
  deviceUsage(deviceId: $deviceId, startDate: $startDate, endDate: $endDate) {
878
1114
  _id
@@ -891,7 +1127,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
891
1127
  }
892
1128
  }
893
1129
  }
894
- `,b=(0,a.default)`
1130
+ `,D=(0,n.default)`
895
1131
  query CLI_applicationProject(
896
1132
  $id: ID!
897
1133
  $buildApplicationOnly: Boolean
@@ -909,7 +1145,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
909
1145
  setupGeminiCLI: $setupGeminiCLI
910
1146
  )
911
1147
  }
912
- `,S=(0,a.default)`
1148
+ `,B=(0,n.default)`
913
1149
  query CLI_moduleProject(
914
1150
  $id: ID!
915
1151
  $buildApplicationOnly: Boolean
@@ -927,7 +1163,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
927
1163
  setupGeminiCLI: $setupGeminiCLI
928
1164
  )
929
1165
  }
930
- `,D=(0,a.default)`
1166
+ `,L=(0,n.default)`
931
1167
  query CLI_buttressServers {
932
1168
  buttressServers {
933
1169
  serverId
@@ -936,4 +1172,85 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
936
1172
  lastSeenAt
937
1173
  }
938
1174
  }
1175
+ `,w=(0,n.default)`
1176
+ query CLI_blueprint($id: ID!) {
1177
+ blueprint(id: $id) {
1178
+ ...cliBlueprintArguments
1179
+ }
1180
+ }
1181
+ ${a._A}
1182
+ `,P=(0,n.default)`
1183
+ query CLI_blueprints($keyword: String, $paginate: Paginate) {
1184
+ blueprints(keyword: $keyword, paginate: $paginate) {
1185
+ ...cliBlueprintShortArguments
1186
+ }
1187
+ }
1188
+ ${a.C$}
1189
+ `,q=(0,n.default)`
1190
+ query CLI_blueprintsByInstance($kind: BlueprintNodeKind!, $ref: String!) {
1191
+ blueprintsByInstance(kind: $kind, ref: $ref) {
1192
+ ...cliBlueprintShortArguments
1193
+ }
1194
+ }
1195
+ ${a.C$}
1196
+ `,T=(0,n.default)`
1197
+ query CLI_blueprintProjection($id: ID!, $format: Int) {
1198
+ blueprintProjection(id: $id, format: $format)
1199
+ }
1200
+ `,R=(0,n.default)`
1201
+ query CLI_blueprintRevisions($id: ID!, $limit: Int) {
1202
+ blueprintRevisions(id: $id, limit: $limit) {
1203
+ _id
1204
+ revision
1205
+ actor
1206
+ snapshot
1207
+ created_at
1208
+ }
1209
+ }
1210
+ `,x=(0,n.default)`
1211
+ query CLI_blueprintEvents($id: ID!, $limit: Int) {
1212
+ blueprintEvents(id: $id, limit: $limit) {
1213
+ _id
1214
+ type
1215
+ detail
1216
+ actor {
1217
+ type
1218
+ instance_id
1219
+ token_name
1220
+ }
1221
+ request_id
1222
+ task_id
1223
+ created_at
1224
+ }
1225
+ }
1226
+ `,E=(0,n.default)`
1227
+ query CLI_devicesApplicationStatus($filter: DeviceApplicationStatusFilter, $paginate: Paginate) {
1228
+ devicesApplicationStatus(filter: $filter, paginate: $paginate) {
1229
+ device_id
1230
+ name
1231
+ device_name
1232
+ application_status {
1233
+ status
1234
+ reason
1235
+ assigned {
1236
+ application_id
1237
+ name
1238
+ config_timestamp
1239
+ commit_id
1240
+ lazy_update
1241
+ }
1242
+ reported {
1243
+ _id
1244
+ name
1245
+ config_timestamp
1246
+ state
1247
+ error_stage
1248
+ error_code
1249
+ error_message
1250
+ }
1251
+ reported_at
1252
+ confirmed_at
1253
+ }
1254
+ }
1255
+ }
939
1256
  `}};