catocli 2.0.1__py3-none-any.whl → 2.0.3__py3-none-any.whl

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.

Potentially problematic release.


This version of catocli might be problematic. Click here for more details.

Files changed (108) hide show
  1. catocli/Utils/clidriver.py +41 -6
  2. catocli/__init__.py +1 -1
  3. catocli/parsers/custom/__init__.py +7 -5
  4. catocli/parsers/custom/customLib.py +490 -1
  5. catocli/parsers/custom/export_rules/__init__.py +5 -1
  6. catocli/parsers/custom/export_rules/export_rules.py +32 -183
  7. catocli/parsers/custom/export_sites/__init__.py +20 -0
  8. catocli/parsers/custom/export_sites/export_sites.py +365 -0
  9. catocli/parsers/custom/import_rules_to_tf/__init__.py +3 -3
  10. catocli/parsers/custom/import_rules_to_tf/import_rules_to_tf.py +20 -146
  11. catocli/parsers/custom/import_sites_to_tf/__init__.py +45 -0
  12. catocli/parsers/custom/import_sites_to_tf/import_sites_to_tf.py +891 -0
  13. catocli/parsers/mutation_accountManagement/__init__.py +18 -21
  14. catocli/parsers/mutation_admin/__init__.py +18 -21
  15. catocli/parsers/mutation_container/__init__.py +6 -7
  16. catocli/parsers/mutation_hardware/__init__.py +6 -7
  17. catocli/parsers/mutation_policy/__init__.py +666 -588
  18. catocli/parsers/mutation_policy_terminalServer/README.md +7 -0
  19. catocli/parsers/mutation_policy_terminalServer_addRule/README.md +18 -0
  20. catocli/parsers/mutation_policy_terminalServer_addSection/README.md +18 -0
  21. catocli/parsers/mutation_policy_terminalServer_createPolicyRevision/README.md +18 -0
  22. catocli/parsers/mutation_policy_terminalServer_discardPolicyRevision/README.md +18 -0
  23. catocli/parsers/mutation_policy_terminalServer_moveRule/README.md +18 -0
  24. catocli/parsers/mutation_policy_terminalServer_moveSection/README.md +18 -0
  25. catocli/parsers/mutation_policy_terminalServer_publishPolicyRevision/README.md +18 -0
  26. catocli/parsers/mutation_policy_terminalServer_removeRule/README.md +18 -0
  27. catocli/parsers/mutation_policy_terminalServer_removeSection/README.md +18 -0
  28. catocli/parsers/mutation_policy_terminalServer_updatePolicy/README.md +18 -0
  29. catocli/parsers/mutation_policy_terminalServer_updateRule/README.md +18 -0
  30. catocli/parsers/mutation_policy_terminalServer_updateSection/README.md +18 -0
  31. catocli/parsers/mutation_sandbox/__init__.py +12 -14
  32. catocli/parsers/mutation_site/__init__.py +189 -175
  33. catocli/parsers/mutation_site_addSocketAddOnCard/README.md +17 -0
  34. catocli/parsers/mutation_site_removeSocketAddOnCard/README.md +17 -0
  35. catocli/parsers/mutation_site_startSiteUpgrade/README.md +17 -0
  36. catocli/parsers/mutation_sites/__init__.py +189 -175
  37. catocli/parsers/mutation_sites_addSocketAddOnCard/README.md +17 -0
  38. catocli/parsers/mutation_sites_removeSocketAddOnCard/README.md +17 -0
  39. catocli/parsers/mutation_sites_startSiteUpgrade/README.md +17 -0
  40. catocli/parsers/mutation_xdr/__init__.py +18 -21
  41. catocli/parsers/parserApiClient.py +36 -11
  42. catocli/parsers/query_accountBySubdomain/__init__.py +6 -7
  43. catocli/parsers/query_accountManagement/__init__.py +6 -7
  44. catocli/parsers/query_accountMetrics/__init__.py +6 -7
  45. catocli/parsers/query_accountRoles/__init__.py +6 -7
  46. catocli/parsers/query_accountSnapshot/__init__.py +6 -7
  47. catocli/parsers/query_admin/__init__.py +6 -7
  48. catocli/parsers/query_admins/__init__.py +6 -7
  49. catocli/parsers/query_appStats/__init__.py +6 -7
  50. catocli/parsers/query_appStatsTimeSeries/__init__.py +6 -7
  51. catocli/parsers/query_auditFeed/__init__.py +6 -7
  52. catocli/parsers/query_catalogs/__init__.py +6 -7
  53. catocli/parsers/query_container/__init__.py +6 -7
  54. catocli/parsers/query_devices/README.md +2 -1
  55. catocli/parsers/query_devices/__init__.py +6 -7
  56. catocli/parsers/query_entityLookup/__init__.py +6 -7
  57. catocli/parsers/query_events/__init__.py +6 -7
  58. catocli/parsers/query_eventsFeed/README.md +1 -1
  59. catocli/parsers/query_eventsFeed/__init__.py +6 -7
  60. catocli/parsers/query_eventsTimeSeries/__init__.py +6 -7
  61. catocli/parsers/query_hardware/__init__.py +6 -7
  62. catocli/parsers/query_hardwareManagement/__init__.py +6 -7
  63. catocli/parsers/query_licensing/__init__.py +6 -7
  64. catocli/parsers/query_policy/README.md +2 -1
  65. catocli/parsers/query_policy/__init__.py +6 -7
  66. catocli/parsers/query_sandbox/__init__.py +6 -7
  67. catocli/parsers/query_site/README.md +2 -1
  68. catocli/parsers/query_site/__init__.py +6 -7
  69. catocli/parsers/query_siteLocation/__init__.py +4 -8
  70. catocli/parsers/query_subDomains/__init__.py +6 -7
  71. catocli/parsers/query_xdr/__init__.py +12 -14
  72. catocli/parsers/raw/README.md +4 -0
  73. catocli/parsers/raw/__init__.py +5 -2
  74. {catocli-2.0.1.dist-info → catocli-2.0.3.dist-info}/METADATA +1 -1
  75. {catocli-2.0.1.dist-info → catocli-2.0.3.dist-info}/RECORD +108 -67
  76. graphql_client/api/call_api.py +12 -6
  77. models/mutation.policy.remotePortFwd.updateRule.json +6 -6
  78. models/mutation.policy.terminalServer.addRule.json +2403 -0
  79. models/mutation.policy.terminalServer.addSection.json +1358 -0
  80. models/mutation.policy.terminalServer.createPolicyRevision.json +1873 -0
  81. models/mutation.policy.terminalServer.discardPolicyRevision.json +1807 -0
  82. models/mutation.policy.terminalServer.moveRule.json +1605 -0
  83. models/mutation.policy.terminalServer.moveSection.json +1259 -0
  84. models/mutation.policy.terminalServer.publishPolicyRevision.json +1864 -0
  85. models/mutation.policy.terminalServer.removeRule.json +1253 -0
  86. models/mutation.policy.terminalServer.removeSection.json +958 -0
  87. models/mutation.policy.terminalServer.updatePolicy.json +1883 -0
  88. models/mutation.policy.terminalServer.updateRule.json +2096 -0
  89. models/mutation.policy.terminalServer.updateSection.json +1111 -0
  90. models/mutation.site.addSocketAddOnCard.json +1050 -0
  91. models/mutation.site.removeSocketAddOnCard.json +786 -0
  92. models/mutation.site.startSiteUpgrade.json +802 -0
  93. models/mutation.sites.addSocketAddOnCard.json +1050 -0
  94. models/mutation.sites.removeSocketAddOnCard.json +786 -0
  95. models/mutation.sites.startSiteUpgrade.json +802 -0
  96. models/query.devices.json +311 -2
  97. models/query.events.json +48 -0
  98. models/query.eventsFeed.json +12 -0
  99. models/query.eventsTimeSeries.json +36 -0
  100. models/query.licensing.json +21815 -10093
  101. models/query.policy.json +1898 -305
  102. models/query.site.json +225 -0
  103. models/query.siteLocation.json +97190 -295396
  104. schema/catolib.py +63 -30
  105. {catocli-2.0.1.dist-info → catocli-2.0.3.dist-info}/LICENSE +0 -0
  106. {catocli-2.0.1.dist-info → catocli-2.0.3.dist-info}/WHEEL +0 -0
  107. {catocli-2.0.1.dist-info → catocli-2.0.3.dist-info}/entry_points.txt +0 -0
  108. {catocli-2.0.1.dist-info → catocli-2.0.3.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,802 @@
1
+ {
2
+ "args": {
3
+ "accountId": {
4
+ "defaultValue": null,
5
+ "description": null,
6
+ "id_str": "accountId",
7
+ "name": "accountId",
8
+ "path": "accountId",
9
+ "requestStr": "$accountId:ID! ",
10
+ "required": true,
11
+ "responseStr": "accountId:$accountId ",
12
+ "type": {
13
+ "kind": [
14
+ "NON_NULL",
15
+ "SCALAR"
16
+ ],
17
+ "name": "ID",
18
+ "non_null": false
19
+ },
20
+ "varName": "accountId"
21
+ }
22
+ },
23
+ "childOperations": {
24
+ "startSiteUpgrade": {
25
+ "args": {
26
+ "startSiteUpgrade___input": {
27
+ "defaultValue": null,
28
+ "description": null,
29
+ "id_str": "startSiteUpgrade___input",
30
+ "name": "input",
31
+ "path": "startSiteUpgrade.input",
32
+ "requestStr": "$startSiteUpgradeInput:StartSiteUpgradeInput! ",
33
+ "required": true,
34
+ "responseStr": "input:$startSiteUpgradeInput ",
35
+ "type": {
36
+ "definition": {
37
+ "description": "Input for bulk site upgrade requests.",
38
+ "enumValues": null,
39
+ "fields": null,
40
+ "inputFields": {
41
+ "upgrades": {
42
+ "defaultValue": null,
43
+ "description": null,
44
+ "id_str": "startSiteUpgrade___input___upgrades",
45
+ "name": "upgrades",
46
+ "path": "startSiteUpgrade.input.upgrades",
47
+ "requestStr": "$siteUpgradeRequest:[SiteUpgradeRequest]! ",
48
+ "required": true,
49
+ "responseStr": "upgrades:$siteUpgradeRequest ",
50
+ "type": {
51
+ "definition": {
52
+ "description": "Represents a single site upgrade request.",
53
+ "enumValues": null,
54
+ "fields": null,
55
+ "inputFields": {
56
+ "site": {
57
+ "defaultValue": null,
58
+ "description": null,
59
+ "id_str": "startSiteUpgrade___input___upgrades___site",
60
+ "name": "site",
61
+ "path": "startSiteUpgrade.input.upgrades.site",
62
+ "requestStr": "$siteRefInput:SiteRefInput! ",
63
+ "required": true,
64
+ "responseStr": "site:$siteRefInput ",
65
+ "type": {
66
+ "definition": {
67
+ "description": null,
68
+ "enumValues": null,
69
+ "fields": null,
70
+ "inputFields": {
71
+ "by": {
72
+ "defaultValue": "ID",
73
+ "description": null,
74
+ "id_str": "startSiteUpgrade___input___upgrades___site___by",
75
+ "name": "by",
76
+ "path": "startSiteUpgrade.input.upgrades.site.by",
77
+ "requestStr": "$by:ObjectRefBy! ",
78
+ "required": true,
79
+ "responseStr": "by:$by ",
80
+ "type": {
81
+ "definition": {
82
+ "description": null,
83
+ "enumValues": [
84
+ {
85
+ "deprecationReason": null,
86
+ "description": null,
87
+ "isDeprecated": false,
88
+ "name": "ID"
89
+ },
90
+ {
91
+ "deprecationReason": null,
92
+ "description": null,
93
+ "isDeprecated": false,
94
+ "name": "NAME"
95
+ }
96
+ ],
97
+ "fields": null,
98
+ "inputFields": null,
99
+ "interfaces": null,
100
+ "kind": "ENUM",
101
+ "name": "ObjectRefBy",
102
+ "possibleTypes": null
103
+ },
104
+ "indexType": "enum",
105
+ "kind": [
106
+ "NON_NULL",
107
+ "ENUM"
108
+ ],
109
+ "name": "ObjectRefBy",
110
+ "non_null": false
111
+ },
112
+ "varName": "by"
113
+ },
114
+ "input": {
115
+ "defaultValue": null,
116
+ "description": null,
117
+ "id_str": "startSiteUpgrade___input___upgrades___site___input",
118
+ "name": "input",
119
+ "path": "startSiteUpgrade.input.upgrades.site.input",
120
+ "requestStr": "$input:String! ",
121
+ "required": true,
122
+ "responseStr": "input:$input ",
123
+ "type": {
124
+ "kind": [
125
+ "NON_NULL",
126
+ "SCALAR"
127
+ ],
128
+ "name": "String",
129
+ "non_null": false
130
+ },
131
+ "varName": "input"
132
+ }
133
+ },
134
+ "interfaces": null,
135
+ "kind": "INPUT_OBJECT",
136
+ "name": "SiteRefInput",
137
+ "possibleTypes": null
138
+ },
139
+ "indexType": "input_object",
140
+ "kind": [
141
+ "NON_NULL",
142
+ "INPUT_OBJECT"
143
+ ],
144
+ "name": "SiteRefInput",
145
+ "non_null": false
146
+ },
147
+ "varName": "siteRefInput"
148
+ },
149
+ "targetVersion": {
150
+ "defaultValue": null,
151
+ "description": "Target version to upgrade the site's sockets to.",
152
+ "id_str": "startSiteUpgrade___input___upgrades___targetVersion",
153
+ "name": "targetVersion",
154
+ "path": "startSiteUpgrade.input.upgrades.targetVersion",
155
+ "requestStr": "$targetVersion:String! ",
156
+ "required": true,
157
+ "responseStr": "targetVersion:$targetVersion ",
158
+ "type": {
159
+ "kind": [
160
+ "NON_NULL",
161
+ "SCALAR"
162
+ ],
163
+ "name": "String",
164
+ "non_null": false
165
+ },
166
+ "varName": "targetVersion"
167
+ }
168
+ },
169
+ "interfaces": null,
170
+ "kind": "INPUT_OBJECT",
171
+ "name": "SiteUpgradeRequest",
172
+ "possibleTypes": null
173
+ },
174
+ "indexType": "input_object",
175
+ "kind": [
176
+ "NON_NULL",
177
+ "LIST",
178
+ "NON_NULL",
179
+ "INPUT_OBJECT"
180
+ ],
181
+ "name": "SiteUpgradeRequest",
182
+ "non_null": false
183
+ },
184
+ "varName": "siteUpgradeRequest"
185
+ }
186
+ },
187
+ "interfaces": null,
188
+ "kind": "INPUT_OBJECT",
189
+ "name": "StartSiteUpgradeInput",
190
+ "possibleTypes": null
191
+ },
192
+ "indexType": "input_object",
193
+ "kind": [
194
+ "NON_NULL",
195
+ "INPUT_OBJECT"
196
+ ],
197
+ "name": "StartSiteUpgradeInput",
198
+ "non_null": false
199
+ },
200
+ "varName": "startSiteUpgradeInput"
201
+ }
202
+ },
203
+ "deprecationReason": null,
204
+ "description": "Requests an upgrade for multiple sites to specific versions.\nReturns the result of the request.",
205
+ "isDeprecated": false,
206
+ "name": "startSiteUpgrade",
207
+ "type": {
208
+ "kind": "OBJECT",
209
+ "name": "StartSiteUpgradePayload",
210
+ "ofType": null
211
+ }
212
+ }
213
+ },
214
+ "deprecationReason": "in favor of site",
215
+ "description": null,
216
+ "fieldTypes": {
217
+ "BulkUpgradeSiteInfo": true,
218
+ "ObjectRefBy": true,
219
+ "SiteRefInput": true,
220
+ "SiteUpgradeRequest": true,
221
+ "SiteUpgradeResult": true,
222
+ "StartSiteUpgradePayload": true
223
+ },
224
+ "isDeprecated": true,
225
+ "name": "sites",
226
+ "operationArgs": {
227
+ "accountId": {
228
+ "defaultValue": null,
229
+ "description": null,
230
+ "id_str": "accountId",
231
+ "name": "accountId",
232
+ "path": "accountId",
233
+ "requestStr": "$accountId:ID! ",
234
+ "required": true,
235
+ "responseStr": "accountId:$accountId ",
236
+ "type": {
237
+ "kind": [
238
+ "NON_NULL",
239
+ "SCALAR"
240
+ ],
241
+ "name": "ID",
242
+ "non_null": false
243
+ },
244
+ "varName": "accountId"
245
+ },
246
+ "startSiteUpgradeInput": {
247
+ "defaultValue": null,
248
+ "description": null,
249
+ "id_str": "startSiteUpgrade___input",
250
+ "name": "input",
251
+ "path": "startSiteUpgrade.input",
252
+ "requestStr": "$startSiteUpgradeInput:StartSiteUpgradeInput! ",
253
+ "required": true,
254
+ "responseStr": "input:$startSiteUpgradeInput ",
255
+ "type": {
256
+ "definition": {
257
+ "description": "Input for bulk site upgrade requests.",
258
+ "enumValues": null,
259
+ "fields": null,
260
+ "inputFields": {
261
+ "upgrades": {
262
+ "defaultValue": null,
263
+ "description": null,
264
+ "id_str": "startSiteUpgrade___input___upgrades",
265
+ "name": "upgrades",
266
+ "path": "startSiteUpgrade.input.upgrades",
267
+ "requestStr": "$siteUpgradeRequest:[SiteUpgradeRequest]! ",
268
+ "required": true,
269
+ "responseStr": "upgrades:$siteUpgradeRequest ",
270
+ "type": {
271
+ "definition": {
272
+ "description": "Represents a single site upgrade request.",
273
+ "enumValues": null,
274
+ "fields": null,
275
+ "inputFields": {
276
+ "site": {
277
+ "defaultValue": null,
278
+ "description": null,
279
+ "id_str": "startSiteUpgrade___input___upgrades___site",
280
+ "name": "site",
281
+ "path": "startSiteUpgrade.input.upgrades.site",
282
+ "requestStr": "$siteRefInput:SiteRefInput! ",
283
+ "required": true,
284
+ "responseStr": "site:$siteRefInput ",
285
+ "type": {
286
+ "definition": {
287
+ "description": null,
288
+ "enumValues": null,
289
+ "fields": null,
290
+ "inputFields": {
291
+ "by": {
292
+ "defaultValue": "ID",
293
+ "description": null,
294
+ "id_str": "startSiteUpgrade___input___upgrades___site___by",
295
+ "name": "by",
296
+ "path": "startSiteUpgrade.input.upgrades.site.by",
297
+ "requestStr": "$by:ObjectRefBy! ",
298
+ "required": true,
299
+ "responseStr": "by:$by ",
300
+ "type": {
301
+ "definition": {
302
+ "description": null,
303
+ "enumValues": [
304
+ {
305
+ "deprecationReason": null,
306
+ "description": null,
307
+ "isDeprecated": false,
308
+ "name": "ID"
309
+ },
310
+ {
311
+ "deprecationReason": null,
312
+ "description": null,
313
+ "isDeprecated": false,
314
+ "name": "NAME"
315
+ }
316
+ ],
317
+ "fields": null,
318
+ "inputFields": null,
319
+ "interfaces": null,
320
+ "kind": "ENUM",
321
+ "name": "ObjectRefBy",
322
+ "possibleTypes": null
323
+ },
324
+ "indexType": "enum",
325
+ "kind": [
326
+ "NON_NULL",
327
+ "ENUM"
328
+ ],
329
+ "name": "ObjectRefBy",
330
+ "non_null": false
331
+ },
332
+ "varName": "by"
333
+ },
334
+ "input": {
335
+ "defaultValue": null,
336
+ "description": null,
337
+ "id_str": "startSiteUpgrade___input___upgrades___site___input",
338
+ "name": "input",
339
+ "path": "startSiteUpgrade.input.upgrades.site.input",
340
+ "requestStr": "$input:String! ",
341
+ "required": true,
342
+ "responseStr": "input:$input ",
343
+ "type": {
344
+ "kind": [
345
+ "NON_NULL",
346
+ "SCALAR"
347
+ ],
348
+ "name": "String",
349
+ "non_null": false
350
+ },
351
+ "varName": "input"
352
+ }
353
+ },
354
+ "interfaces": null,
355
+ "kind": "INPUT_OBJECT",
356
+ "name": "SiteRefInput",
357
+ "possibleTypes": null
358
+ },
359
+ "indexType": "input_object",
360
+ "kind": [
361
+ "NON_NULL",
362
+ "INPUT_OBJECT"
363
+ ],
364
+ "name": "SiteRefInput",
365
+ "non_null": false
366
+ },
367
+ "varName": "siteRefInput"
368
+ },
369
+ "targetVersion": {
370
+ "defaultValue": null,
371
+ "description": "Target version to upgrade the site's sockets to.",
372
+ "id_str": "startSiteUpgrade___input___upgrades___targetVersion",
373
+ "name": "targetVersion",
374
+ "path": "startSiteUpgrade.input.upgrades.targetVersion",
375
+ "requestStr": "$targetVersion:String! ",
376
+ "required": true,
377
+ "responseStr": "targetVersion:$targetVersion ",
378
+ "type": {
379
+ "kind": [
380
+ "NON_NULL",
381
+ "SCALAR"
382
+ ],
383
+ "name": "String",
384
+ "non_null": false
385
+ },
386
+ "varName": "targetVersion"
387
+ }
388
+ },
389
+ "interfaces": null,
390
+ "kind": "INPUT_OBJECT",
391
+ "name": "SiteUpgradeRequest",
392
+ "possibleTypes": null
393
+ },
394
+ "indexType": "input_object",
395
+ "kind": [
396
+ "NON_NULL",
397
+ "LIST",
398
+ "NON_NULL",
399
+ "INPUT_OBJECT"
400
+ ],
401
+ "name": "SiteUpgradeRequest",
402
+ "non_null": false
403
+ },
404
+ "varName": "siteUpgradeRequest"
405
+ }
406
+ },
407
+ "interfaces": null,
408
+ "kind": "INPUT_OBJECT",
409
+ "name": "StartSiteUpgradeInput",
410
+ "possibleTypes": null
411
+ },
412
+ "indexType": "input_object",
413
+ "kind": [
414
+ "NON_NULL",
415
+ "INPUT_OBJECT"
416
+ ],
417
+ "name": "StartSiteUpgradeInput",
418
+ "non_null": false
419
+ },
420
+ "varName": "startSiteUpgradeInput"
421
+ }
422
+ },
423
+ "path": "mutation.sites.startSiteUpgrade",
424
+ "type": {
425
+ "definition": {
426
+ "description": null,
427
+ "enumValues": null,
428
+ "fields": {
429
+ "startSiteUpgrade": {
430
+ "args": {
431
+ "startSiteUpgrade___input": {
432
+ "defaultValue": null,
433
+ "description": null,
434
+ "id_str": "startSiteUpgrade___input",
435
+ "name": "input",
436
+ "path": "startSiteUpgrade.input",
437
+ "requestStr": "$startSiteUpgradeInput:StartSiteUpgradeInput! ",
438
+ "required": true,
439
+ "responseStr": "input:$startSiteUpgradeInput ",
440
+ "type": {
441
+ "definition": {
442
+ "description": "Input for bulk site upgrade requests.",
443
+ "enumValues": null,
444
+ "fields": null,
445
+ "inputFields": {
446
+ "upgrades": {
447
+ "defaultValue": null,
448
+ "description": null,
449
+ "id_str": "startSiteUpgrade___input___upgrades",
450
+ "name": "upgrades",
451
+ "path": "startSiteUpgrade.input.upgrades",
452
+ "requestStr": "$siteUpgradeRequest:[SiteUpgradeRequest]! ",
453
+ "required": true,
454
+ "responseStr": "upgrades:$siteUpgradeRequest ",
455
+ "type": {
456
+ "definition": {
457
+ "description": "Represents a single site upgrade request.",
458
+ "enumValues": null,
459
+ "fields": null,
460
+ "inputFields": {
461
+ "site": {
462
+ "defaultValue": null,
463
+ "description": null,
464
+ "id_str": "startSiteUpgrade___input___upgrades___site",
465
+ "name": "site",
466
+ "path": "startSiteUpgrade.input.upgrades.site",
467
+ "requestStr": "$siteRefInput:SiteRefInput! ",
468
+ "required": true,
469
+ "responseStr": "site:$siteRefInput ",
470
+ "type": {
471
+ "definition": {
472
+ "description": null,
473
+ "enumValues": null,
474
+ "fields": null,
475
+ "inputFields": {
476
+ "by": {
477
+ "defaultValue": "ID",
478
+ "description": null,
479
+ "id_str": "startSiteUpgrade___input___upgrades___site___by",
480
+ "name": "by",
481
+ "path": "startSiteUpgrade.input.upgrades.site.by",
482
+ "requestStr": "$by:ObjectRefBy! ",
483
+ "required": true,
484
+ "responseStr": "by:$by ",
485
+ "type": {
486
+ "definition": {
487
+ "description": null,
488
+ "enumValues": [
489
+ {
490
+ "deprecationReason": null,
491
+ "description": null,
492
+ "isDeprecated": false,
493
+ "name": "ID"
494
+ },
495
+ {
496
+ "deprecationReason": null,
497
+ "description": null,
498
+ "isDeprecated": false,
499
+ "name": "NAME"
500
+ }
501
+ ],
502
+ "fields": null,
503
+ "inputFields": null,
504
+ "interfaces": null,
505
+ "kind": "ENUM",
506
+ "name": "ObjectRefBy",
507
+ "possibleTypes": null
508
+ },
509
+ "indexType": "enum",
510
+ "kind": [
511
+ "NON_NULL",
512
+ "ENUM"
513
+ ],
514
+ "name": "ObjectRefBy",
515
+ "non_null": false
516
+ },
517
+ "varName": "by"
518
+ },
519
+ "input": {
520
+ "defaultValue": null,
521
+ "description": null,
522
+ "id_str": "startSiteUpgrade___input___upgrades___site___input",
523
+ "name": "input",
524
+ "path": "startSiteUpgrade.input.upgrades.site.input",
525
+ "requestStr": "$input:String! ",
526
+ "required": true,
527
+ "responseStr": "input:$input ",
528
+ "type": {
529
+ "kind": [
530
+ "NON_NULL",
531
+ "SCALAR"
532
+ ],
533
+ "name": "String",
534
+ "non_null": false
535
+ },
536
+ "varName": "input"
537
+ }
538
+ },
539
+ "interfaces": null,
540
+ "kind": "INPUT_OBJECT",
541
+ "name": "SiteRefInput",
542
+ "possibleTypes": null
543
+ },
544
+ "indexType": "input_object",
545
+ "kind": [
546
+ "NON_NULL",
547
+ "INPUT_OBJECT"
548
+ ],
549
+ "name": "SiteRefInput",
550
+ "non_null": false
551
+ },
552
+ "varName": "siteRefInput"
553
+ },
554
+ "targetVersion": {
555
+ "defaultValue": null,
556
+ "description": "Target version to upgrade the site's sockets to.",
557
+ "id_str": "startSiteUpgrade___input___upgrades___targetVersion",
558
+ "name": "targetVersion",
559
+ "path": "startSiteUpgrade.input.upgrades.targetVersion",
560
+ "requestStr": "$targetVersion:String! ",
561
+ "required": true,
562
+ "responseStr": "targetVersion:$targetVersion ",
563
+ "type": {
564
+ "kind": [
565
+ "NON_NULL",
566
+ "SCALAR"
567
+ ],
568
+ "name": "String",
569
+ "non_null": false
570
+ },
571
+ "varName": "targetVersion"
572
+ }
573
+ },
574
+ "interfaces": null,
575
+ "kind": "INPUT_OBJECT",
576
+ "name": "SiteUpgradeRequest",
577
+ "possibleTypes": null
578
+ },
579
+ "indexType": "input_object",
580
+ "kind": [
581
+ "NON_NULL",
582
+ "LIST",
583
+ "NON_NULL",
584
+ "INPUT_OBJECT"
585
+ ],
586
+ "name": "SiteUpgradeRequest",
587
+ "non_null": false
588
+ },
589
+ "varName": "siteUpgradeRequest"
590
+ }
591
+ },
592
+ "interfaces": null,
593
+ "kind": "INPUT_OBJECT",
594
+ "name": "StartSiteUpgradeInput",
595
+ "possibleTypes": null
596
+ },
597
+ "indexType": "input_object",
598
+ "kind": [
599
+ "NON_NULL",
600
+ "INPUT_OBJECT"
601
+ ],
602
+ "name": "StartSiteUpgradeInput",
603
+ "non_null": false
604
+ },
605
+ "varName": "startSiteUpgradeInput"
606
+ }
607
+ },
608
+ "deprecationReason": null,
609
+ "description": "Requests an upgrade for multiple sites to specific versions.\nReturns the result of the request.",
610
+ "id_str": "startSiteUpgrade",
611
+ "isDeprecated": false,
612
+ "name": "startSiteUpgrade",
613
+ "path": "startSiteUpgrade",
614
+ "requestStr": "$startSiteUpgradePayload:StartSiteUpgradePayload ",
615
+ "required": false,
616
+ "responseStr": "startSiteUpgrade:$startSiteUpgradePayload ",
617
+ "type": {
618
+ "definition": {
619
+ "description": "Wrapper for site upgrade response.",
620
+ "enumValues": null,
621
+ "fields": {
622
+ "results": {
623
+ "args": {},
624
+ "deprecationReason": null,
625
+ "description": "List of individual site upgrade results.",
626
+ "id_str": "startSiteUpgrade___results",
627
+ "isDeprecated": false,
628
+ "name": "results",
629
+ "path": "startSiteUpgrade.results",
630
+ "requestStr": "$siteUpgradeResult:[SiteUpgradeResult]! ",
631
+ "required": true,
632
+ "responseStr": "results:$siteUpgradeResult ",
633
+ "type": {
634
+ "definition": {
635
+ "description": "Represents the result of an upgrade request.",
636
+ "enumValues": null,
637
+ "fields": {
638
+ "site": {
639
+ "alias": "bulkUpgradeSiteInfoSite: site",
640
+ "args": {},
641
+ "deprecationReason": null,
642
+ "description": null,
643
+ "id_str": "startSiteUpgrade___results___site",
644
+ "isDeprecated": false,
645
+ "name": "site",
646
+ "path": "startSiteUpgrade.results.site",
647
+ "requestStr": "$bulkUpgradeSiteInfo:BulkUpgradeSiteInfo! ",
648
+ "required": true,
649
+ "responseStr": "site:$bulkUpgradeSiteInfo ",
650
+ "type": {
651
+ "definition": {
652
+ "description": null,
653
+ "enumValues": null,
654
+ "fields": {
655
+ "id": {
656
+ "args": {},
657
+ "deprecationReason": null,
658
+ "description": null,
659
+ "id_str": "startSiteUpgrade___results___site___id",
660
+ "isDeprecated": false,
661
+ "name": "id",
662
+ "path": "startSiteUpgrade.results.site.id",
663
+ "requestStr": "$id:ID! ",
664
+ "required": true,
665
+ "responseStr": "id:$id ",
666
+ "type": {
667
+ "kind": [
668
+ "NON_NULL",
669
+ "SCALAR"
670
+ ],
671
+ "name": "ID",
672
+ "non_null": false
673
+ },
674
+ "varName": "id"
675
+ },
676
+ "name": {
677
+ "args": {},
678
+ "deprecationReason": null,
679
+ "description": null,
680
+ "id_str": "startSiteUpgrade___results___site___name",
681
+ "isDeprecated": false,
682
+ "name": "name",
683
+ "path": "startSiteUpgrade.results.site.name",
684
+ "requestStr": "$name:String! ",
685
+ "required": true,
686
+ "responseStr": "name:$name ",
687
+ "type": {
688
+ "kind": [
689
+ "NON_NULL",
690
+ "SCALAR"
691
+ ],
692
+ "name": "String",
693
+ "non_null": false
694
+ },
695
+ "varName": "name"
696
+ }
697
+ },
698
+ "inputFields": null,
699
+ "interfaces": {},
700
+ "kind": "OBJECT",
701
+ "name": "BulkUpgradeSiteInfo",
702
+ "possibleTypes": null
703
+ },
704
+ "indexType": "object",
705
+ "kind": [
706
+ "NON_NULL",
707
+ "OBJECT"
708
+ ],
709
+ "name": "BulkUpgradeSiteInfo",
710
+ "non_null": false
711
+ },
712
+ "varName": "bulkUpgradeSiteInfo"
713
+ },
714
+ "targetVersion": {
715
+ "args": {},
716
+ "deprecationReason": null,
717
+ "description": "The requested version for this site.",
718
+ "id_str": "startSiteUpgrade___results___targetVersion",
719
+ "isDeprecated": false,
720
+ "name": "targetVersion",
721
+ "path": "startSiteUpgrade.results.targetVersion",
722
+ "requestStr": "$targetVersion:String! ",
723
+ "required": true,
724
+ "responseStr": "targetVersion:$targetVersion ",
725
+ "type": {
726
+ "kind": [
727
+ "NON_NULL",
728
+ "SCALAR"
729
+ ],
730
+ "name": "String",
731
+ "non_null": false
732
+ },
733
+ "varName": "targetVersion"
734
+ }
735
+ },
736
+ "inputFields": null,
737
+ "interfaces": {},
738
+ "kind": "OBJECT",
739
+ "name": "SiteUpgradeResult",
740
+ "possibleTypes": null
741
+ },
742
+ "indexType": "object",
743
+ "kind": [
744
+ "NON_NULL",
745
+ "LIST",
746
+ "NON_NULL",
747
+ "OBJECT"
748
+ ],
749
+ "name": "SiteUpgradeResult",
750
+ "non_null": false
751
+ },
752
+ "varName": "siteUpgradeResult"
753
+ }
754
+ },
755
+ "inputFields": null,
756
+ "interfaces": {},
757
+ "kind": "OBJECT",
758
+ "name": "StartSiteUpgradePayload",
759
+ "possibleTypes": null
760
+ },
761
+ "indexType": "object",
762
+ "kind": [
763
+ "OBJECT"
764
+ ],
765
+ "name": "StartSiteUpgradePayload",
766
+ "non_null": false
767
+ },
768
+ "varName": "startSiteUpgradePayload"
769
+ }
770
+ },
771
+ "inputFields": null,
772
+ "interfaces": [],
773
+ "kind": "OBJECT",
774
+ "name": "SiteMutations",
775
+ "possibleTypes": null
776
+ },
777
+ "indexType": "object",
778
+ "kind": [
779
+ "NON_NULL",
780
+ "OBJECT"
781
+ ],
782
+ "name": "SiteMutations",
783
+ "non_null": false
784
+ },
785
+ "variablesPayload": {
786
+ "startSiteUpgradeInput": {
787
+ "siteUpgradeRequest": {
788
+ "site": {
789
+ "by": {
790
+ "by": "enum(ObjectRefBy)"
791
+ },
792
+ "input": {
793
+ "input": "String"
794
+ }
795
+ },
796
+ "targetVersion": {
797
+ "targetVersion": "String"
798
+ }
799
+ }
800
+ }
801
+ }
802
+ }