losant_rest 1.22.4 → 1.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +1290 -142
  3. data/docs/file.md +3 -3
  4. data/docs/files.md +2 -2
  5. data/docs/privateFile.md +222 -0
  6. data/docs/privateFiles.md +97 -0
  7. data/lib/platform_rest/client.rb +10 -2
  8. data/lib/platform_rest/file.rb +3 -3
  9. data/lib/platform_rest/files.rb +1 -1
  10. data/lib/platform_rest/private_file.rb +230 -0
  11. data/lib/platform_rest/private_files.rb +146 -0
  12. data/lib/platform_rest/version.rb +1 -1
  13. data/lib/platform_rest.rb +2 -0
  14. data/schemas/apiTokenPost.json +12 -2
  15. data/schemas/application.json +7 -0
  16. data/schemas/applicationClonePost.json +4 -0
  17. data/schemas/applicationCreationByTemplateResult.json +7 -0
  18. data/schemas/applicationDashboardPost.json +3 -1
  19. data/schemas/applicationExportPost.json +4 -0
  20. data/schemas/applicationImportExecutions.json +2 -0
  21. data/schemas/applicationPatch.json +4 -0
  22. data/schemas/applicationPost.json +4 -0
  23. data/schemas/applicationTemplate.json +3 -0
  24. data/schemas/applicationTemplates.json +3 -0
  25. data/schemas/applications.json +7 -0
  26. data/schemas/auditLog.json +1 -0
  27. data/schemas/auditLogFilter.json +1 -0
  28. data/schemas/auditLogs.json +1 -0
  29. data/schemas/credentialLinkedResources.json +18 -0
  30. data/schemas/dashboard.json +3 -1
  31. data/schemas/dashboardBlockSuggestCodePost.json +620 -0
  32. data/schemas/dashboardBlockSuggestCodeResponse.json +49 -0
  33. data/schemas/dashboardPatch.json +3 -1
  34. data/schemas/dashboardPost.json +3 -1
  35. data/schemas/dashboards.json +3 -1
  36. data/schemas/experienceLinkedResources.json +18 -0
  37. data/schemas/fileUploadPostResponse.json +103 -82
  38. data/schemas/files.json +1 -1
  39. data/schemas/flow.json +6 -0
  40. data/schemas/flowPatch.json +6 -0
  41. data/schemas/flowPost.json +6 -0
  42. data/schemas/flowVersion.json +12 -0
  43. data/schemas/flowVersionPost.json +6 -0
  44. data/schemas/flowVersions.json +12 -0
  45. data/schemas/flows.json +6 -0
  46. data/schemas/flowsImportPost.json +12 -0
  47. data/schemas/flowsImportResult.json +18 -0
  48. data/schemas/githubLogin.json +12 -2
  49. data/schemas/historicalSummaries.json +10 -0
  50. data/schemas/historicalSummary.json +10 -0
  51. data/schemas/importIntoApplicationOptions.json +1 -0
  52. data/schemas/importNewApplicationOptions.json +1 -0
  53. data/schemas/instance.json +7 -0
  54. data/schemas/instanceOrg.json +7 -0
  55. data/schemas/instanceOrgPatch.json +4 -0
  56. data/schemas/instanceOrgPost.json +4 -0
  57. data/schemas/instanceOrgs.json +7 -0
  58. data/schemas/instancePatch.json +4 -0
  59. data/schemas/instanceSandbox.json +6 -0
  60. data/schemas/instanceSandboxes.json +6 -0
  61. data/schemas/instances.json +7 -0
  62. data/schemas/me.json +6 -0
  63. data/schemas/notebook.json +9 -0
  64. data/schemas/notebookPatch.json +9 -0
  65. data/schemas/notebookPost.json +9 -0
  66. data/schemas/notebooks.json +9 -0
  67. data/schemas/org.json +7 -0
  68. data/schemas/orgs.json +7 -0
  69. data/schemas/samlResponse.json +12 -2
  70. data/schemas/suggestFunctionResponse.json +13 -1
  71. data/schemas/userCredentials.json +12 -2
  72. data/schemas/userPost.json +12 -2
  73. metadata +8 -2
data/docs/_schemas.md CHANGED
@@ -67,6 +67,8 @@
67
67
  * [Credential Post](#credential-post)
68
68
  * [Credentials](#credentials)
69
69
  * [Dashboard](#dashboard)
70
+ * [Dashboard Block Suggest Code Post](#dashboard-block-suggest-code-post)
71
+ * [Suggest Function Respone](#suggest-function-respone)
70
72
  * [Dashboard Context Instance](#dashboard-context-instance)
71
73
  * [Dashboard Patch](#dashboard-patch)
72
74
  * [Dashboard Post](#dashboard-post)
@@ -14106,10 +14108,12 @@ Schema for the body of an API Token creation request
14106
14108
  "flows.*",
14107
14109
  "flowVersion.*",
14108
14110
  "flowVersions.*",
14109
- "resourceJobs.*",
14110
- "resourceJob.*",
14111
14111
  "notebook.*",
14112
14112
  "notebooks.*",
14113
+ "privateFile.*",
14114
+ "privateFiles.*",
14115
+ "resourceJobs.*",
14116
+ "resourceJob.*",
14113
14117
  "webhook.*",
14114
14118
  "webhooks.*",
14115
14119
  "application.applyTemplate",
@@ -14346,6 +14350,13 @@ Schema for the body of an API Token creation request
14346
14350
  "notebook.upload",
14347
14351
  "notebooks.get",
14348
14352
  "notebooks.post",
14353
+ "privateFile.get",
14354
+ "privateFile.patch",
14355
+ "privateFile.move",
14356
+ "privateFile.delete",
14357
+ "privateFile.upload",
14358
+ "privateFiles.get",
14359
+ "privateFiles.post",
14349
14360
  "resourceJob.get",
14350
14361
  "resourceJob.logs",
14351
14362
  "resourceJob.patch",
@@ -14382,6 +14393,7 @@ Schema for the body of an API Token creation request
14382
14393
  "dashboard.patch",
14383
14394
  "dashboard.delete",
14384
14395
  "dashboard.sendReport",
14396
+ "dashboard.suggestCode",
14385
14397
  "dashboards.get",
14386
14398
  "dashboards.post",
14387
14399
  "org.get",
@@ -14926,6 +14938,9 @@ Schema for a single Application
14926
14938
  "notebookCount": {
14927
14939
  "type": "integer"
14928
14940
  },
14941
+ "privateFileCount": {
14942
+ "type": "integer"
14943
+ },
14929
14944
  "resourceJobCount": {
14930
14945
  "type": "integer"
14931
14946
  },
@@ -15228,6 +15243,10 @@ Schema for a single Application
15228
15243
  "type": "boolean",
15229
15244
  "default": false
15230
15245
  },
15246
+ "includePrivateFiles": {
15247
+ "type": "boolean",
15248
+ "default": false
15249
+ },
15231
15250
  "includeDataTableRows": {
15232
15251
  "type": "boolean",
15233
15252
  "default": false
@@ -16451,6 +16470,10 @@ Schema for the body of an application clone request
16451
16470
  "type": "boolean",
16452
16471
  "default": false
16453
16472
  },
16473
+ "includePrivateFiles": {
16474
+ "type": "boolean",
16475
+ "default": false
16476
+ },
16454
16477
  "includeDataTableRows": {
16455
16478
  "type": "boolean",
16456
16479
  "default": false
@@ -16692,6 +16715,9 @@ Schema for creating an application by template result
16692
16715
  "notebookCount": {
16693
16716
  "type": "integer"
16694
16717
  },
16718
+ "privateFileCount": {
16719
+ "type": "integer"
16720
+ },
16695
16721
  "resourceJobCount": {
16696
16722
  "type": "integer"
16697
16723
  },
@@ -16994,6 +17020,10 @@ Schema for creating an application by template result
16994
17020
  "type": "boolean",
16995
17021
  "default": false
16996
17022
  },
17023
+ "includePrivateFiles": {
17024
+ "type": "boolean",
17025
+ "default": false
17026
+ },
16997
17027
  "includeDataTableRows": {
16998
17028
  "type": "boolean",
16999
17029
  "default": false
@@ -18127,8 +18157,10 @@ Schema for the body of an Application scoped Dashboard creation request
18127
18157
  "vegaLite3",
18128
18158
  "vegaLite4",
18129
18159
  "vegaLite5",
18160
+ "vegaLite6",
18130
18161
  "vega4",
18131
- "vega5"
18162
+ "vega5",
18163
+ "vega6"
18132
18164
  ]
18133
18165
  },
18134
18166
  "tooltipEventSubscribe": {
@@ -23624,6 +23656,10 @@ Schema for the body of an application export request
23624
23656
  "type": "boolean",
23625
23657
  "default": false
23626
23658
  },
23659
+ "includePrivateFiles": {
23660
+ "type": "boolean",
23661
+ "default": false
23662
+ },
23627
23663
  "includeDataTableRows": {
23628
23664
  "type": "boolean",
23629
23665
  "default": false
@@ -23886,6 +23922,7 @@ Schema for a list Application import executions
23886
23922
  "Global",
23887
23923
  "Integration",
23888
23924
  "Notebook",
23925
+ "PrivateFile",
23889
23926
  "Webhook",
23890
23927
  "ResourceJob"
23891
23928
  ]
@@ -23947,6 +23984,7 @@ Schema for a list Application import executions
23947
23984
  "Global",
23948
23985
  "Integration",
23949
23986
  "Notebook",
23987
+ "PrivateFile",
23950
23988
  "Webhook",
23951
23989
  "ResourceJob"
23952
23990
  ]
@@ -25438,6 +25476,10 @@ Schema for the body of an Application modification request
25438
25476
  "type": "boolean",
25439
25477
  "default": false
25440
25478
  },
25479
+ "includePrivateFiles": {
25480
+ "type": "boolean",
25481
+ "default": false
25482
+ },
25441
25483
  "includeDataTableRows": {
25442
25484
  "type": "boolean",
25443
25485
  "default": false
@@ -25752,6 +25794,10 @@ Schema for the body of an Application creation request
25752
25794
  "type": "boolean",
25753
25795
  "default": false
25754
25796
  },
25797
+ "includePrivateFiles": {
25798
+ "type": "boolean",
25799
+ "default": false
25800
+ },
25755
25801
  "includeDataTableRows": {
25756
25802
  "type": "boolean",
25757
25803
  "default": false
@@ -26222,6 +26268,9 @@ Schema for a single Application Template
26222
26268
  "notebookCount": {
26223
26269
  "type": "integer"
26224
26270
  },
26271
+ "privateFileCount": {
26272
+ "type": "integer"
26273
+ },
26225
26274
  "resourceJobCount": {
26226
26275
  "type": "integer"
26227
26276
  },
@@ -26264,6 +26313,7 @@ Schema for a single Application Template
26264
26313
  "flowCount": 1,
26265
26314
  "integrationCount": 0,
26266
26315
  "notebookCount": 0,
26316
+ "privateFileCount": 0,
26267
26317
  "resourceJobCount": 0,
26268
26318
  "dataTableCsvSize": 4008,
26269
26319
  "webhookCount": 0
@@ -26540,6 +26590,9 @@ Schema for a collection of Application Templates
26540
26590
  "notebookCount": {
26541
26591
  "type": "integer"
26542
26592
  },
26593
+ "privateFileCount": {
26594
+ "type": "integer"
26595
+ },
26543
26596
  "resourceJobCount": {
26544
26597
  "type": "integer"
26545
26598
  },
@@ -26630,6 +26683,7 @@ Schema for a collection of Application Templates
26630
26683
  "flowCount": 1,
26631
26684
  "integrationCount": 0,
26632
26685
  "notebookCount": 0,
26686
+ "privateFileCount": 0,
26633
26687
  "resourceJobCount": 0,
26634
26688
  "dataTableCsvSize": 4008,
26635
26689
  "webhookCount": 0
@@ -26833,6 +26887,9 @@ Schema for a collection of Applications
26833
26887
  "notebookCount": {
26834
26888
  "type": "integer"
26835
26889
  },
26890
+ "privateFileCount": {
26891
+ "type": "integer"
26892
+ },
26836
26893
  "resourceJobCount": {
26837
26894
  "type": "integer"
26838
26895
  },
@@ -27135,6 +27192,10 @@ Schema for a collection of Applications
27135
27192
  "type": "boolean",
27136
27193
  "default": false
27137
27194
  },
27195
+ "includePrivateFiles": {
27196
+ "type": "boolean",
27197
+ "default": false
27198
+ },
27138
27199
  "includeDataTableRows": {
27139
27200
  "type": "boolean",
27140
27201
  "default": false
@@ -27455,6 +27516,7 @@ Schema for a single Audit Log entry
27455
27516
  "Flow",
27456
27517
  "Integration",
27457
27518
  "Notebook",
27519
+ "PrivateFile",
27458
27520
  "ResourceJob",
27459
27521
  "Webhook"
27460
27522
  ]
@@ -27608,6 +27670,7 @@ Schema for the filter of an audit log query
27608
27670
  "Flow",
27609
27671
  "Integration",
27610
27672
  "Notebook",
27673
+ "PrivateFile",
27611
27674
  "ResourceJob",
27612
27675
  "Webhook"
27613
27676
  ]
@@ -27778,6 +27841,7 @@ Schema for a collection of Audit Logs
27778
27841
  "Flow",
27779
27842
  "Integration",
27780
27843
  "Notebook",
27844
+ "PrivateFile",
27781
27845
  "ResourceJob",
27782
27846
  "Webhook"
27783
27847
  ]
@@ -29290,6 +29354,12 @@ The body of an credential linked resources response
29290
29354
  },
29291
29355
  "update": {
29292
29356
  "type": "boolean"
29357
+ },
29358
+ "public": {
29359
+ "type": "boolean"
29360
+ },
29361
+ "private": {
29362
+ "type": "boolean"
29293
29363
  }
29294
29364
  },
29295
29365
  "additionalProperties": false
@@ -32421,6 +32491,12 @@ The body of an credential linked resources response
32421
32491
  },
32422
32492
  "update": {
32423
32493
  "type": "boolean"
32494
+ },
32495
+ "public": {
32496
+ "type": "boolean"
32497
+ },
32498
+ "private": {
32499
+ "type": "boolean"
32424
32500
  }
32425
32501
  },
32426
32502
  "additionalProperties": false
@@ -35461,6 +35537,12 @@ The body of an credential linked resources response
35461
35537
  },
35462
35538
  "update": {
35463
35539
  "type": "boolean"
35540
+ },
35541
+ "public": {
35542
+ "type": "boolean"
35543
+ },
35544
+ "private": {
35545
+ "type": "boolean"
35464
35546
  }
35465
35547
  },
35466
35548
  "additionalProperties": false
@@ -40591,8 +40673,10 @@ Schema for a single Dashboard
40591
40673
  "vegaLite3",
40592
40674
  "vegaLite4",
40593
40675
  "vegaLite5",
40676
+ "vegaLite6",
40594
40677
  "vega4",
40595
- "vega5"
40678
+ "vega5",
40679
+ "vega6"
40596
40680
  ]
40597
40681
  },
40598
40682
  "tooltipEventSubscribe": {
@@ -46037,6 +46121,746 @@ Schema for a single Dashboard
46037
46121
 
46038
46122
  <br/>
46039
46123
 
46124
+ ## Dashboard Block Suggest Code Post
46125
+
46126
+ Schema for the body of a dashboard block code suggestion request
46127
+
46128
+ ### <a name="dashboard-block-suggest-code-post-schema"></a> Schema
46129
+
46130
+ ```json
46131
+ {
46132
+ "$schema": "http://json-schema.org/draft-07/schema#",
46133
+ "type": "object",
46134
+ "properties": {
46135
+ "text": {
46136
+ "type": "string",
46137
+ "minLength": 1,
46138
+ "maxLength": 8192
46139
+ },
46140
+ "blockConfig": {
46141
+ "type": "object",
46142
+ "properties": {
46143
+ "id": {
46144
+ "type": "string",
46145
+ "maxLength": 48
46146
+ },
46147
+ "title": {
46148
+ "type": "string",
46149
+ "maxLength": 255
46150
+ },
46151
+ "description": {
46152
+ "type": "string",
46153
+ "maxLength": 32767
46154
+ },
46155
+ "applicationId": {
46156
+ "type": "string",
46157
+ "pattern": "^[A-Fa-f\\d]{24}$"
46158
+ },
46159
+ "startX": {
46160
+ "type": "number"
46161
+ },
46162
+ "startY": {
46163
+ "type": "number"
46164
+ },
46165
+ "width": {
46166
+ "type": "number"
46167
+ },
46168
+ "height": {
46169
+ "type": "number"
46170
+ },
46171
+ "blockType": {
46172
+ "type": "string",
46173
+ "enum": [
46174
+ "custom-chart",
46175
+ "custom-html"
46176
+ ]
46177
+ },
46178
+ "config": {
46179
+ "type": "object",
46180
+ "properties": {
46181
+ "configuration": {
46182
+ "oneOf": [
46183
+ {
46184
+ "type": "object",
46185
+ "properties": {
46186
+ "headContent": {
46187
+ "type": "string",
46188
+ "maxLength": 32767
46189
+ },
46190
+ "bodyContent": {
46191
+ "type": "string",
46192
+ "maxLength": 32767
46193
+ }
46194
+ },
46195
+ "additionalProperties": false
46196
+ },
46197
+ {
46198
+ "type": "string",
46199
+ "maxLength": 32767
46200
+ }
46201
+ ]
46202
+ },
46203
+ "segments": {
46204
+ "type": "array",
46205
+ "maxItems": 100,
46206
+ "items": {
46207
+ "oneOf": [
46208
+ {
46209
+ "type": "object",
46210
+ "properties": {
46211
+ "queryType": {
46212
+ "type": "string",
46213
+ "enum": [
46214
+ "time-series"
46215
+ ]
46216
+ },
46217
+ "id": {
46218
+ "type": "string",
46219
+ "maxLength": 48
46220
+ },
46221
+ "attribute": {
46222
+ "type": "string",
46223
+ "maxLength": 255
46224
+ },
46225
+ "aggregation": {
46226
+ "oneOf": [
46227
+ {
46228
+ "oneOf": [
46229
+ {
46230
+ "type": "string",
46231
+ "enum": [
46232
+ "FIRST",
46233
+ "LAST",
46234
+ "COUNT",
46235
+ "MAX",
46236
+ "MIN",
46237
+ "MEDIAN",
46238
+ "MEAN",
46239
+ "SUM",
46240
+ "STD_DEV"
46241
+ ]
46242
+ },
46243
+ {
46244
+ "type": "string",
46245
+ "enum": [
46246
+ "NONE"
46247
+ ]
46248
+ }
46249
+ ]
46250
+ },
46251
+ {
46252
+ "type": "object",
46253
+ "properties": {
46254
+ "type": {
46255
+ "oneOf": [
46256
+ {
46257
+ "type": "string",
46258
+ "enum": [
46259
+ "FIRST",
46260
+ "LAST",
46261
+ "COUNT",
46262
+ "MAX",
46263
+ "MIN",
46264
+ "MEDIAN",
46265
+ "MEAN",
46266
+ "SUM",
46267
+ "STD_DEV"
46268
+ ]
46269
+ },
46270
+ {
46271
+ "type": "string",
46272
+ "enum": [
46273
+ "NONE"
46274
+ ]
46275
+ }
46276
+ ]
46277
+ },
46278
+ "options": {
46279
+ "type": "object",
46280
+ "additionalProperties": false
46281
+ }
46282
+ },
46283
+ "additionalProperties": false,
46284
+ "required": [
46285
+ "type"
46286
+ ]
46287
+ },
46288
+ {
46289
+ "type": "object",
46290
+ "properties": {
46291
+ "type": {
46292
+ "type": "string",
46293
+ "enum": [
46294
+ "TIMEATVALUE"
46295
+ ]
46296
+ },
46297
+ "options": {
46298
+ "type": "object",
46299
+ "properties": {
46300
+ "value": {
46301
+ "oneOf": [
46302
+ {
46303
+ "type": "string",
46304
+ "maxLength": 255
46305
+ },
46306
+ {
46307
+ "type": "number"
46308
+ },
46309
+ {
46310
+ "type": "boolean"
46311
+ }
46312
+ ]
46313
+ }
46314
+ },
46315
+ "additionalProperties": false,
46316
+ "required": [
46317
+ "value"
46318
+ ]
46319
+ }
46320
+ },
46321
+ "additionalProperties": false,
46322
+ "required": [
46323
+ "type",
46324
+ "options"
46325
+ ]
46326
+ }
46327
+ ]
46328
+ },
46329
+ "deviceIds": {
46330
+ "type": "array",
46331
+ "maxItems": 100,
46332
+ "items": {
46333
+ "type": "string",
46334
+ "maxLength": 255
46335
+ }
46336
+ },
46337
+ "deviceTags": {
46338
+ "type": "array",
46339
+ "maxItems": 100,
46340
+ "items": {
46341
+ "type": "object",
46342
+ "properties": {
46343
+ "key": {
46344
+ "type": "string",
46345
+ "maxLength": 255
46346
+ },
46347
+ "value": {
46348
+ "type": "string",
46349
+ "maxLength": 255
46350
+ },
46351
+ "fromCtx": {
46352
+ "type": "string",
46353
+ "maxLength": 255
46354
+ }
46355
+ },
46356
+ "additionalProperties": false
46357
+ }
46358
+ },
46359
+ "query": {
46360
+ "type": "string",
46361
+ "maxLength": 32767
46362
+ },
46363
+ "duration": {
46364
+ "oneOf": [
46365
+ {
46366
+ "type": "integer",
46367
+ "minimum": 0
46368
+ },
46369
+ {
46370
+ "type": "string",
46371
+ "enum": [
46372
+ "{{dashboard.duration}}"
46373
+ ]
46374
+ }
46375
+ ]
46376
+ },
46377
+ "resolution": {
46378
+ "oneOf": [
46379
+ {
46380
+ "type": "integer",
46381
+ "minimum": 0
46382
+ },
46383
+ {
46384
+ "type": "null"
46385
+ },
46386
+ {
46387
+ "type": "string",
46388
+ "maxLength": 255
46389
+ }
46390
+ ]
46391
+ }
46392
+ },
46393
+ "additionalProperties": false
46394
+ },
46395
+ {
46396
+ "type": "object",
46397
+ "properties": {
46398
+ "queryType": {
46399
+ "type": "string",
46400
+ "enum": [
46401
+ "gauge"
46402
+ ]
46403
+ },
46404
+ "id": {
46405
+ "type": "string",
46406
+ "maxLength": 48
46407
+ },
46408
+ "attribute": {
46409
+ "type": "string",
46410
+ "maxLength": 255
46411
+ },
46412
+ "aggregation": {
46413
+ "oneOf": [
46414
+ {
46415
+ "oneOf": [
46416
+ {
46417
+ "type": "string",
46418
+ "enum": [
46419
+ "FIRST",
46420
+ "LAST",
46421
+ "COUNT",
46422
+ "MAX",
46423
+ "MIN",
46424
+ "MEDIAN",
46425
+ "MEAN",
46426
+ "SUM",
46427
+ "STD_DEV"
46428
+ ]
46429
+ },
46430
+ {
46431
+ "type": "string",
46432
+ "enum": [
46433
+ "NONE"
46434
+ ]
46435
+ }
46436
+ ]
46437
+ },
46438
+ {
46439
+ "type": "object",
46440
+ "properties": {
46441
+ "type": {
46442
+ "oneOf": [
46443
+ {
46444
+ "type": "string",
46445
+ "enum": [
46446
+ "FIRST",
46447
+ "LAST",
46448
+ "COUNT",
46449
+ "MAX",
46450
+ "MIN",
46451
+ "MEDIAN",
46452
+ "MEAN",
46453
+ "SUM",
46454
+ "STD_DEV"
46455
+ ]
46456
+ },
46457
+ {
46458
+ "type": "string",
46459
+ "enum": [
46460
+ "NONE"
46461
+ ]
46462
+ }
46463
+ ]
46464
+ },
46465
+ "options": {
46466
+ "type": "object",
46467
+ "additionalProperties": false
46468
+ }
46469
+ },
46470
+ "additionalProperties": false,
46471
+ "required": [
46472
+ "type"
46473
+ ]
46474
+ },
46475
+ {
46476
+ "type": "object",
46477
+ "properties": {
46478
+ "type": {
46479
+ "type": "string",
46480
+ "enum": [
46481
+ "TIMEATVALUE"
46482
+ ]
46483
+ },
46484
+ "options": {
46485
+ "type": "object",
46486
+ "properties": {
46487
+ "value": {
46488
+ "oneOf": [
46489
+ {
46490
+ "type": "string",
46491
+ "maxLength": 255
46492
+ },
46493
+ {
46494
+ "type": "number"
46495
+ },
46496
+ {
46497
+ "type": "boolean"
46498
+ }
46499
+ ]
46500
+ }
46501
+ },
46502
+ "additionalProperties": false,
46503
+ "required": [
46504
+ "value"
46505
+ ]
46506
+ }
46507
+ },
46508
+ "additionalProperties": false,
46509
+ "required": [
46510
+ "type",
46511
+ "options"
46512
+ ]
46513
+ }
46514
+ ]
46515
+ },
46516
+ "deviceIds": {
46517
+ "type": "array",
46518
+ "maxItems": 100,
46519
+ "items": {
46520
+ "type": "string",
46521
+ "maxLength": 255
46522
+ }
46523
+ },
46524
+ "deviceTags": {
46525
+ "type": "array",
46526
+ "maxItems": 100,
46527
+ "items": {
46528
+ "type": "object",
46529
+ "properties": {
46530
+ "key": {
46531
+ "type": "string",
46532
+ "maxLength": 255
46533
+ },
46534
+ "value": {
46535
+ "type": "string",
46536
+ "maxLength": 255
46537
+ },
46538
+ "fromCtx": {
46539
+ "type": "string",
46540
+ "maxLength": 255
46541
+ }
46542
+ },
46543
+ "additionalProperties": false
46544
+ }
46545
+ },
46546
+ "query": {
46547
+ "type": "string",
46548
+ "maxLength": 32767
46549
+ },
46550
+ "duration": {
46551
+ "oneOf": [
46552
+ {
46553
+ "type": "integer",
46554
+ "minimum": 0
46555
+ },
46556
+ {
46557
+ "type": "string",
46558
+ "enum": [
46559
+ "{{dashboard.duration}}"
46560
+ ]
46561
+ }
46562
+ ]
46563
+ }
46564
+ },
46565
+ "additionalProperties": false
46566
+ },
46567
+ {
46568
+ "type": "object",
46569
+ "properties": {
46570
+ "queryType": {
46571
+ "type": "string",
46572
+ "enum": [
46573
+ "data-table"
46574
+ ]
46575
+ },
46576
+ "id": {
46577
+ "type": "string",
46578
+ "maxLength": 48
46579
+ },
46580
+ "dataTableId": {
46581
+ "type": "string",
46582
+ "pattern": "^[A-Fa-f\\d]{24}$"
46583
+ },
46584
+ "query": {
46585
+ "type": "string",
46586
+ "maxLength": 32767
46587
+ },
46588
+ "queryMode": {
46589
+ "type": "string",
46590
+ "enum": [
46591
+ "$or",
46592
+ "$and",
46593
+ "advanced"
46594
+ ]
46595
+ },
46596
+ "sortColumn": {
46597
+ "type": "string",
46598
+ "maxLength": 255
46599
+ },
46600
+ "sortDirection": {
46601
+ "type": "string",
46602
+ "maxLength": 255
46603
+ },
46604
+ "limit": {
46605
+ "type": "string",
46606
+ "maxLength": 255
46607
+ },
46608
+ "offset": {
46609
+ "type": "string",
46610
+ "maxLength": 255
46611
+ }
46612
+ },
46613
+ "additionalProperties": false
46614
+ },
46615
+ {
46616
+ "type": "object",
46617
+ "properties": {
46618
+ "queryType": {
46619
+ "type": "string",
46620
+ "enum": [
46621
+ "device-info"
46622
+ ]
46623
+ },
46624
+ "id": {
46625
+ "type": "string",
46626
+ "maxLength": 48
46627
+ },
46628
+ "attributes": {
46629
+ "oneOf": [
46630
+ {
46631
+ "type": "null"
46632
+ },
46633
+ {
46634
+ "type": "array",
46635
+ "maxItems": 100,
46636
+ "items": {
46637
+ "type": "string",
46638
+ "maxLength": 255
46639
+ }
46640
+ }
46641
+ ]
46642
+ },
46643
+ "excludeConnectionInfo": {
46644
+ "type": "boolean"
46645
+ },
46646
+ "sortField": {
46647
+ "type": "string",
46648
+ "maxLength": 255
46649
+ },
46650
+ "sortDirection": {
46651
+ "type": "string",
46652
+ "maxLength": 255
46653
+ },
46654
+ "page": {
46655
+ "type": "string",
46656
+ "maxLength": 255
46657
+ },
46658
+ "perPage": {
46659
+ "type": "string",
46660
+ "maxLength": 255
46661
+ },
46662
+ "query": {
46663
+ "type": "string",
46664
+ "maxLength": 32767
46665
+ },
46666
+ "compositeStateType": {
46667
+ "type": "string",
46668
+ "maxLength": 255
46669
+ }
46670
+ },
46671
+ "additionalProperties": false
46672
+ },
46673
+ {
46674
+ "type": "object",
46675
+ "properties": {
46676
+ "queryType": {
46677
+ "type": "string",
46678
+ "enum": [
46679
+ "events"
46680
+ ]
46681
+ },
46682
+ "id": {
46683
+ "type": "string",
46684
+ "maxLength": 48
46685
+ },
46686
+ "sortField": {
46687
+ "type": "string",
46688
+ "maxLength": 255
46689
+ },
46690
+ "sortDirection": {
46691
+ "type": "string",
46692
+ "maxLength": 255
46693
+ },
46694
+ "page": {
46695
+ "type": "string",
46696
+ "maxLength": 255
46697
+ },
46698
+ "perPage": {
46699
+ "type": "string",
46700
+ "maxLength": 255
46701
+ },
46702
+ "query": {
46703
+ "type": "string",
46704
+ "maxLength": 32767
46705
+ },
46706
+ "includeExtendedEventInfo": {
46707
+ "type": "boolean"
46708
+ }
46709
+ },
46710
+ "additionalProperties": false
46711
+ }
46712
+ ]
46713
+ }
46714
+ },
46715
+ "vegaVersion": {
46716
+ "type": "string",
46717
+ "enum": [
46718
+ "vegaLite2",
46719
+ "vegaLite3",
46720
+ "vegaLite4",
46721
+ "vegaLite5",
46722
+ "vegaLite6",
46723
+ "vega4",
46724
+ "vega5",
46725
+ "vega6"
46726
+ ]
46727
+ },
46728
+ "tooltipEventSubscribe": {
46729
+ "type": "boolean"
46730
+ }
46731
+ },
46732
+ "additionalProperties": false
46733
+ }
46734
+ },
46735
+ "required": [
46736
+ "blockType",
46737
+ "startX",
46738
+ "startY",
46739
+ "width",
46740
+ "height"
46741
+ ],
46742
+ "additionalProperties": false
46743
+ }
46744
+ },
46745
+ "required": [
46746
+ "text",
46747
+ "blockConfig"
46748
+ ],
46749
+ "additionalProperties": false
46750
+ }
46751
+ ```
46752
+ ### <a name="dashboard-block-suggest-code-post-example"></a> Example
46753
+
46754
+ ```json
46755
+ {
46756
+ "text": "Generate a Google Charts time series chart using the data from the time series segment",
46757
+ "blockConfig": {
46758
+ "applicationId": "64b8f0f1f1c2a30008e4b8c1",
46759
+ "id": "1",
46760
+ "startX": 0,
46761
+ "startY": 0,
46762
+ "width": 6,
46763
+ "height": 6,
46764
+ "blockType": "custom-html",
46765
+ "config": {
46766
+ "configuration": {
46767
+ "headContent": "",
46768
+ "bodyContent": ""
46769
+ },
46770
+ "segments": [
46771
+ {
46772
+ "queryType": "time-series",
46773
+ "id": "time-series-0",
46774
+ "deviceIds": [
46775
+ "{{ctx.deviceId}}"
46776
+ ],
46777
+ "deviceTags": [],
46778
+ "attribute": "{{ctx.attribute}}",
46779
+ "duration": "{{dashboard.duration}}",
46780
+ "resolution": "{{dashboard.resolution}}"
46781
+ }
46782
+ ],
46783
+ "tooltipEventSubscribe": false
46784
+ }
46785
+ }
46786
+ }
46787
+ ```
46788
+
46789
+ <br/>
46790
+
46791
+ ## Suggest Function Respone
46792
+
46793
+ Schema for the response to a suggest function request
46794
+
46795
+ ### <a name="suggest-function-respone-schema"></a> Schema
46796
+
46797
+ ```json
46798
+ {
46799
+ "$schema": "http://json-schema.org/draft-07/schema#",
46800
+ "type": "object",
46801
+ "properties": {
46802
+ "response": {
46803
+ "type": "object",
46804
+ "properties": {
46805
+ "headContent": {
46806
+ "type": "string",
46807
+ "maxLength": 32767
46808
+ },
46809
+ "bodyContent": {
46810
+ "type": "string",
46811
+ "maxLength": 32767
46812
+ },
46813
+ "comments": {
46814
+ "type": "string",
46815
+ "maxLength": 32767
46816
+ }
46817
+ }
46818
+ },
46819
+ "responseId": {
46820
+ "type": "string",
46821
+ "minLength": 1,
46822
+ "maxLength": 1024
46823
+ },
46824
+ "finishReason": {
46825
+ "type": "string",
46826
+ "enum": [
46827
+ "FINISH_REASON_UNSPECIFIED",
46828
+ "STOP",
46829
+ "MAX_TOKENS",
46830
+ "SAFETY",
46831
+ "RECITATION",
46832
+ "OTHER",
46833
+ "BLOCKLIST",
46834
+ "PROHIBITED_CONTENT",
46835
+ "SPII",
46836
+ "MALFORMED_FUNCTION_CALL"
46837
+ ]
46838
+ }
46839
+ },
46840
+ "required": [
46841
+ "response",
46842
+ "responseId",
46843
+ "finishReason"
46844
+ ],
46845
+ "additionalProperties": false
46846
+ }
46847
+ ```
46848
+ ### <a name="suggest-function-respone-example"></a> Example
46849
+
46850
+ ```json
46851
+ {
46852
+ "response": {
46853
+ "headContent": "<script>window.alert('Hello from the Custom HTML Block!');</script>",
46854
+ "bodyContent": "<div>Did you see an alert?</div>",
46855
+ "comments": "This code will fire a window alert when the block initially loads."
46856
+ },
46857
+ "responseId": "YCwSaIeyOfComecPutWYyAg",
46858
+ "finishReason": "STOP"
46859
+ }
46860
+ ```
46861
+
46862
+ <br/>
46863
+
46040
46864
  ## Dashboard Context Instance
46041
46865
 
46042
46866
  Schema for a dashboard context instance
@@ -47028,8 +47852,10 @@ Schema for the body of a Dashboard modification request
47028
47852
  "vegaLite3",
47029
47853
  "vegaLite4",
47030
47854
  "vegaLite5",
47855
+ "vegaLite6",
47031
47856
  "vega4",
47032
- "vega5"
47857
+ "vega5",
47858
+ "vega6"
47033
47859
  ]
47034
47860
  },
47035
47861
  "tooltipEventSubscribe": {
@@ -53463,8 +54289,10 @@ Schema for the body of a Dashboard creation request
53463
54289
  "vegaLite3",
53464
54290
  "vegaLite4",
53465
54291
  "vegaLite5",
54292
+ "vegaLite6",
53466
54293
  "vega4",
53467
- "vega5"
54294
+ "vega5",
54295
+ "vega6"
53468
54296
  ]
53469
54297
  },
53470
54298
  "tooltipEventSubscribe": {
@@ -60297,8 +61125,10 @@ Schema for a collection of Dashboards
60297
61125
  "vegaLite3",
60298
61126
  "vegaLite4",
60299
61127
  "vegaLite5",
61128
+ "vegaLite6",
60300
61129
  "vega4",
60301
- "vega5"
61130
+ "vega5",
61131
+ "vega6"
60302
61132
  ]
60303
61133
  },
60304
61134
  "tooltipEventSubscribe": {
@@ -91093,6 +91923,12 @@ The body of an experience linked resources response
91093
91923
  },
91094
91924
  "update": {
91095
91925
  "type": "boolean"
91926
+ },
91927
+ "public": {
91928
+ "type": "boolean"
91929
+ },
91930
+ "private": {
91931
+ "type": "boolean"
91096
91932
  }
91097
91933
  },
91098
91934
  "additionalProperties": false
@@ -94224,6 +95060,12 @@ The body of an experience linked resources response
94224
95060
  },
94225
95061
  "update": {
94226
95062
  "type": "boolean"
95063
+ },
95064
+ "public": {
95065
+ "type": "boolean"
95066
+ },
95067
+ "private": {
95068
+ "type": "boolean"
94227
95069
  }
94228
95070
  },
94229
95071
  "additionalProperties": false
@@ -97264,6 +98106,12 @@ The body of an experience linked resources response
97264
98106
  },
97265
98107
  "update": {
97266
98108
  "type": "boolean"
98109
+ },
98110
+ "public": {
98111
+ "type": "boolean"
98112
+ },
98113
+ "private": {
98114
+ "type": "boolean"
97267
98115
  }
97268
98116
  },
97269
98117
  "additionalProperties": false
@@ -102092,7 +102940,7 @@ Schema for a collection of Experience Views
102092
102940
 
102093
102941
  ## File Schema
102094
102942
 
102095
- Schema for a single file
102943
+ Schema for a single public or private file
102096
102944
 
102097
102945
  ### <a name="file-schema-schema"></a> Schema
102098
102946
 
@@ -102210,7 +103058,7 @@ Schema for a single file
102210
103058
 
102211
103059
  ## File Patch
102212
103060
 
102213
- Schema to patch a file
103061
+ Schema to patch a public or private file
102214
103062
 
102215
103063
  ### <a name="file-patch-schema"></a> Schema
102216
103064
 
@@ -102257,7 +103105,7 @@ Schema to patch a file
102257
103105
 
102258
103106
  ## File Post
102259
103107
 
102260
- Schema to create a single file or directory
103108
+ Schema to create a single public or private file or directory
102261
103109
 
102262
103110
  ### <a name="file-post-schema"></a> Schema
102263
103111
 
@@ -102298,140 +103146,161 @@ Schema to create a single file or directory
102298
103146
  "height": {
102299
103147
  "type": "number"
102300
103148
  }
102301
- },
102302
- "additionalProperties": false
102303
- }
102304
- },
102305
- "additionalProperties": false,
102306
- "required": [
102307
- "name",
102308
- "type"
102309
- ]
102310
- }
102311
- ```
102312
- ### <a name="file-post-example"></a> Example
102313
-
102314
- ```json
102315
- {
102316
- "name": "file.csv",
102317
- "type": "file",
102318
- "parentDirectory": "/",
102319
- "fileSize": 500,
102320
- "contentType": "text/csv"
102321
- }
102322
- ```
102323
-
102324
- <br/>
102325
-
102326
- ## File Upload Post Response
102327
-
102328
- Schema to upload the file to s3
102329
-
102330
- ### <a name="file-upload-post-response-schema"></a> Schema
102331
-
102332
- ```json
102333
- {
102334
- "$schema": "http://json-schema.org/draft-07/schema#",
102335
- "type": "object",
102336
- "properties": {
102337
- "id": {
102338
- "type": "string",
102339
- "pattern": "^[A-Fa-f\\d]{24}$"
102340
- },
102341
- "applicationId": {
102342
- "type": "string",
102343
- "pattern": "^[A-Fa-f\\d]{24}$"
102344
- },
102345
- "creationDate": {
102346
- "type": "string",
102347
- "format": "date-time"
102348
- },
102349
- "lastUpdated": {
102350
- "type": "string",
102351
- "format": "date-time"
102352
- },
102353
- "authorId": {
102354
- "type": "string",
102355
- "pattern": "^[A-Fa-f\\d]{24}$"
102356
- },
102357
- "authorType": {
102358
- "type": "string",
102359
- "enum": [
102360
- "flow",
102361
- "user",
102362
- "device",
102363
- "apiToken",
102364
- "notebook"
102365
- ]
102366
- },
102367
- "status": {
102368
- "type": "string",
102369
- "enum": [
102370
- "pending",
102371
- "moving",
102372
- "deleting",
102373
- "completed"
102374
- ]
102375
- },
102376
- "name": {
102377
- "type": "string",
102378
- "minLength": 1,
102379
- "maxLength": 1024
102380
- },
102381
- "parentDirectory": {
102382
- "type": "string",
102383
- "maxLength": 1024
102384
- },
102385
- "type": {
102386
- "type": "string",
102387
- "enum": [
102388
- "file",
102389
- "directory"
102390
- ]
102391
- },
102392
- "fileSize": {
102393
- "type": "number"
102394
- },
102395
- "contentType": {
102396
- "type": "string",
102397
- "maxLength": 1024
102398
- },
102399
- "fileDimensions": {
102400
- "type": "object",
102401
- "properties": {
102402
- "width": {
102403
- "type": "number"
102404
- },
102405
- "height": {
102406
- "type": "number"
102407
- }
102408
- }
102409
- },
102410
- "upload": {
103149
+ },
103150
+ "additionalProperties": false
103151
+ }
103152
+ },
103153
+ "additionalProperties": false,
103154
+ "required": [
103155
+ "name",
103156
+ "type"
103157
+ ]
103158
+ }
103159
+ ```
103160
+ ### <a name="file-post-example"></a> Example
103161
+
103162
+ ```json
103163
+ {
103164
+ "name": "file.csv",
103165
+ "type": "file",
103166
+ "parentDirectory": "/",
103167
+ "fileSize": 500,
103168
+ "contentType": "text/csv"
103169
+ }
103170
+ ```
103171
+
103172
+ <br/>
103173
+
103174
+ ## File Upload Post Response
103175
+
103176
+ Schema with the information needed to upload public or private file contents
103177
+
103178
+ ### <a name="file-upload-post-response-schema"></a> Schema
103179
+
103180
+ ```json
103181
+ {
103182
+ "$schema": "http://json-schema.org/draft-07/schema#",
103183
+ "allOf": [
103184
+ {
103185
+ "title": "File Schema",
103186
+ "description": "Schema for a single public or private file",
102411
103187
  "type": "object",
102412
103188
  "properties": {
102413
- "url": {
103189
+ "id": {
103190
+ "type": "string",
103191
+ "pattern": "^[A-Fa-f\\d]{24}$"
103192
+ },
103193
+ "applicationId": {
103194
+ "type": "string",
103195
+ "pattern": "^[A-Fa-f\\d]{24}$"
103196
+ },
103197
+ "creationDate": {
103198
+ "type": "string",
103199
+ "format": "date-time"
103200
+ },
103201
+ "lastUpdated": {
103202
+ "type": "string",
103203
+ "format": "date-time"
103204
+ },
103205
+ "authorId": {
103206
+ "type": "string",
103207
+ "pattern": "^[A-Fa-f\\d]{24}$"
103208
+ },
103209
+ "authorType": {
103210
+ "type": "string",
103211
+ "enum": [
103212
+ "flow",
103213
+ "user",
103214
+ "device",
103215
+ "apiToken",
103216
+ "notebook"
103217
+ ]
103218
+ },
103219
+ "status": {
103220
+ "type": "string",
103221
+ "enum": [
103222
+ "pending",
103223
+ "moving",
103224
+ "deleting",
103225
+ "completed"
103226
+ ]
103227
+ },
103228
+ "name": {
103229
+ "type": "string",
103230
+ "minLength": 1,
103231
+ "maxLength": 1024
103232
+ },
103233
+ "parentDirectory": {
103234
+ "type": "string",
103235
+ "maxLength": 1024
103236
+ },
103237
+ "type": {
103238
+ "type": "string",
103239
+ "enum": [
103240
+ "file",
103241
+ "directory"
103242
+ ]
103243
+ },
103244
+ "fileSize": {
103245
+ "type": "number"
103246
+ },
103247
+ "s3etag": {
102414
103248
  "type": "string"
102415
103249
  },
102416
- "fields": {
103250
+ "contentType": {
103251
+ "type": "string",
103252
+ "maxLength": 1024
103253
+ },
103254
+ "fileDimensions": {
102417
103255
  "type": "object",
102418
- "patternProperties": {
102419
- "^.*$": {
102420
- "type": "string"
103256
+ "properties": {
103257
+ "width": {
103258
+ "type": "number"
103259
+ },
103260
+ "height": {
103261
+ "type": "number"
102421
103262
  }
102422
- },
103263
+ }
103264
+ },
103265
+ "moveIntoId": {
103266
+ "type": "string",
103267
+ "pattern": "^[A-Fa-f\\d]{24}$"
103268
+ },
103269
+ "url": {
103270
+ "type": "string"
103271
+ }
103272
+ }
103273
+ },
103274
+ {
103275
+ "type": "object",
103276
+ "properties": {
103277
+ "upload": {
103278
+ "type": "object",
102423
103279
  "properties": {
102424
- "key": {
103280
+ "url": {
102425
103281
  "type": "string"
102426
103282
  },
102427
- "bucket": {
102428
- "type": "string"
103283
+ "fields": {
103284
+ "type": "object",
103285
+ "patternProperties": {
103286
+ "^.*$": {
103287
+ "type": "string"
103288
+ }
103289
+ },
103290
+ "properties": {
103291
+ "key": {
103292
+ "type": "string"
103293
+ },
103294
+ "bucket": {
103295
+ "type": "string"
103296
+ }
103297
+ }
102429
103298
  }
102430
103299
  }
102431
103300
  }
102432
103301
  }
102433
103302
  }
102434
- }
103303
+ ]
102435
103304
  }
102436
103305
  ```
102437
103306
  ### <a name="file-upload-post-response-example"></a> Example
@@ -102469,7 +103338,7 @@ Schema to upload the file to s3
102469
103338
 
102470
103339
  ## Files Schema
102471
103340
 
102472
- Schema for a collection of files
103341
+ Schema for a collection of public or private files
102473
103342
 
102474
103343
  ### <a name="files-schema-schema"></a> Schema
102475
103344
 
@@ -102482,7 +103351,7 @@ Schema for a collection of files
102482
103351
  "type": "array",
102483
103352
  "items": {
102484
103353
  "title": "File Schema",
102485
- "description": "Schema for a single file",
103354
+ "description": "Schema for a single public or private file",
102486
103355
  "type": "object",
102487
103356
  "properties": {
102488
103357
  "id": {
@@ -102784,6 +103653,12 @@ Schema for a single Workflow
102784
103653
  },
102785
103654
  "update": {
102786
103655
  "type": "boolean"
103656
+ },
103657
+ "public": {
103658
+ "type": "boolean"
103659
+ },
103660
+ "private": {
103661
+ "type": "boolean"
102787
103662
  }
102788
103663
  },
102789
103664
  "additionalProperties": false
@@ -106058,6 +106933,12 @@ Schema for the body of a Workflow modification request
106058
106933
  },
106059
106934
  "update": {
106060
106935
  "type": "boolean"
106936
+ },
106937
+ "public": {
106938
+ "type": "boolean"
106939
+ },
106940
+ "private": {
106941
+ "type": "boolean"
106061
106942
  }
106062
106943
  },
106063
106944
  "additionalProperties": false
@@ -109085,6 +109966,12 @@ Schema for the body of a Workflow creation request
109085
109966
  },
109086
109967
  "update": {
109087
109968
  "type": "boolean"
109969
+ },
109970
+ "public": {
109971
+ "type": "boolean"
109972
+ },
109973
+ "private": {
109974
+ "type": "boolean"
109088
109975
  }
109089
109976
  },
109090
109977
  "additionalProperties": false
@@ -112384,6 +113271,12 @@ Schema for a single Workflow Version
112384
113271
  },
112385
113272
  "update": {
112386
113273
  "type": "boolean"
113274
+ },
113275
+ "public": {
113276
+ "type": "boolean"
113277
+ },
113278
+ "private": {
113279
+ "type": "boolean"
112387
113280
  }
112388
113281
  },
112389
113282
  "additionalProperties": false
@@ -115424,6 +116317,12 @@ Schema for a single Workflow Version
115424
116317
  },
115425
116318
  "update": {
115426
116319
  "type": "boolean"
116320
+ },
116321
+ "public": {
116322
+ "type": "boolean"
116323
+ },
116324
+ "private": {
116325
+ "type": "boolean"
115427
116326
  }
115428
116327
  },
115429
116328
  "additionalProperties": false
@@ -118175,6 +119074,12 @@ Schema for the body of a Workflow Version creation request
118175
119074
  },
118176
119075
  "update": {
118177
119076
  "type": "boolean"
119077
+ },
119078
+ "public": {
119079
+ "type": "boolean"
119080
+ },
119081
+ "private": {
119082
+ "type": "boolean"
118178
119083
  }
118179
119084
  },
118180
119085
  "additionalProperties": false
@@ -121241,6 +122146,12 @@ Schema for a collection of Workflow Versions
121241
122146
  },
121242
122147
  "update": {
121243
122148
  "type": "boolean"
122149
+ },
122150
+ "public": {
122151
+ "type": "boolean"
122152
+ },
122153
+ "private": {
122154
+ "type": "boolean"
121244
122155
  }
121245
122156
  },
121246
122157
  "additionalProperties": false
@@ -124281,6 +125192,12 @@ Schema for a collection of Workflow Versions
124281
125192
  },
124282
125193
  "update": {
124283
125194
  "type": "boolean"
125195
+ },
125196
+ "public": {
125197
+ "type": "boolean"
125198
+ },
125199
+ "private": {
125200
+ "type": "boolean"
124284
125201
  }
124285
125202
  },
124286
125203
  "additionalProperties": false
@@ -128261,6 +129178,12 @@ Schema for a collection of Workflows
128261
129178
  },
128262
129179
  "update": {
128263
129180
  "type": "boolean"
129181
+ },
129182
+ "public": {
129183
+ "type": "boolean"
129184
+ },
129185
+ "private": {
129186
+ "type": "boolean"
128264
129187
  }
128265
129188
  },
128266
129189
  "additionalProperties": false
@@ -131412,6 +132335,12 @@ Schema for the body of a workflow import request
131412
132335
  },
131413
132336
  "update": {
131414
132337
  "type": "boolean"
132338
+ },
132339
+ "public": {
132340
+ "type": "boolean"
132341
+ },
132342
+ "private": {
132343
+ "type": "boolean"
131415
132344
  }
131416
132345
  },
131417
132346
  "additionalProperties": false
@@ -134441,6 +135370,12 @@ Schema for the body of a workflow import request
134441
135370
  },
134442
135371
  "update": {
134443
135372
  "type": "boolean"
135373
+ },
135374
+ "public": {
135375
+ "type": "boolean"
135376
+ },
135377
+ "private": {
135378
+ "type": "boolean"
134444
135379
  }
134445
135380
  },
134446
135381
  "additionalProperties": false
@@ -137544,6 +138479,12 @@ Schema for the result of a workflow import request
137544
138479
  },
137545
138480
  "update": {
137546
138481
  "type": "boolean"
138482
+ },
138483
+ "public": {
138484
+ "type": "boolean"
138485
+ },
138486
+ "private": {
138487
+ "type": "boolean"
137547
138488
  }
137548
138489
  },
137549
138490
  "additionalProperties": false
@@ -140624,6 +141565,12 @@ Schema for the result of a workflow import request
140624
141565
  },
140625
141566
  "update": {
140626
141567
  "type": "boolean"
141568
+ },
141569
+ "public": {
141570
+ "type": "boolean"
141571
+ },
141572
+ "private": {
141573
+ "type": "boolean"
140627
141574
  }
140628
141575
  },
140629
141576
  "additionalProperties": false
@@ -143664,6 +144611,12 @@ Schema for the result of a workflow import request
143664
144611
  },
143665
144612
  "update": {
143666
144613
  "type": "boolean"
144614
+ },
144615
+ "public": {
144616
+ "type": "boolean"
144617
+ },
144618
+ "private": {
144619
+ "type": "boolean"
143667
144620
  }
143668
144621
  },
143669
144622
  "additionalProperties": false
@@ -146447,10 +147400,12 @@ Schema for the body of a Github login request
146447
147400
  "flows.*",
146448
147401
  "flowVersion.*",
146449
147402
  "flowVersions.*",
146450
- "resourceJobs.*",
146451
- "resourceJob.*",
146452
147403
  "notebook.*",
146453
147404
  "notebooks.*",
147405
+ "privateFile.*",
147406
+ "privateFiles.*",
147407
+ "resourceJobs.*",
147408
+ "resourceJob.*",
146454
147409
  "webhook.*",
146455
147410
  "webhooks.*",
146456
147411
  "application.applyTemplate",
@@ -146687,6 +147642,13 @@ Schema for the body of a Github login request
146687
147642
  "notebook.upload",
146688
147643
  "notebooks.get",
146689
147644
  "notebooks.post",
147645
+ "privateFile.get",
147646
+ "privateFile.patch",
147647
+ "privateFile.move",
147648
+ "privateFile.delete",
147649
+ "privateFile.upload",
147650
+ "privateFiles.get",
147651
+ "privateFiles.post",
146690
147652
  "resourceJob.get",
146691
147653
  "resourceJob.logs",
146692
147654
  "resourceJob.patch",
@@ -146723,6 +147685,7 @@ Schema for the body of a Github login request
146723
147685
  "dashboard.patch",
146724
147686
  "dashboard.delete",
146725
147687
  "dashboard.sendReport",
147688
+ "dashboard.suggestCode",
146726
147689
  "dashboards.get",
146727
147690
  "dashboards.post",
146728
147691
  "org.get",
@@ -147044,6 +148007,10 @@ Schema for a collection of Historical Summaries
147044
148007
  "type": "integer",
147045
148008
  "minimum": 0
147046
148009
  },
148010
+ "privatefile": {
148011
+ "type": "integer",
148012
+ "minimum": 0
148013
+ },
147047
148014
  "resourcejob": {
147048
148015
  "type": "integer",
147049
148016
  "minimum": 0
@@ -147200,6 +148167,12 @@ Schema for a collection of Historical Summaries
147200
148167
  "notebookMinutesCount": {
147201
148168
  "type": "number"
147202
148169
  },
148170
+ "privateFileCount": {
148171
+ "type": "number"
148172
+ },
148173
+ "privateFileTotalSizeMb": {
148174
+ "type": "number"
148175
+ },
147203
148176
  "webhookCount": {
147204
148177
  "type": "number"
147205
148178
  },
@@ -147615,6 +148588,8 @@ Schema for a collection of Historical Summaries
147615
148588
  "resourceJobCount": 0,
147616
148589
  "notebookRunCount": 0,
147617
148590
  "notebookMinutesCount": 0,
148591
+ "privateFileCount": 0,
148592
+ "privateFileTotalSizeMb": 0,
147618
148593
  "webhookCount": 2,
147619
148594
  "workflowCount": 3,
147620
148595
  "payloadBillableCount": 437,
@@ -147784,6 +148759,10 @@ Schema for a historical summary report
147784
148759
  "type": "integer",
147785
148760
  "minimum": 0
147786
148761
  },
148762
+ "privatefile": {
148763
+ "type": "integer",
148764
+ "minimum": 0
148765
+ },
147787
148766
  "resourcejob": {
147788
148767
  "type": "integer",
147789
148768
  "minimum": 0
@@ -147940,6 +148919,12 @@ Schema for a historical summary report
147940
148919
  "notebookMinutesCount": {
147941
148920
  "type": "number"
147942
148921
  },
148922
+ "privateFileCount": {
148923
+ "type": "number"
148924
+ },
148925
+ "privateFileTotalSizeMb": {
148926
+ "type": "number"
148927
+ },
147943
148928
  "webhookCount": {
147944
148929
  "type": "number"
147945
148930
  },
@@ -148319,6 +149304,8 @@ Schema for a historical summary report
148319
149304
  "resourceJobCount": 0,
148320
149305
  "notebookRunCount": 0,
148321
149306
  "notebookMinutesCount": 0,
149307
+ "privateFileCount": 0,
149308
+ "privateFileTotalSizeMb": 0,
148322
149309
  "webhookCount": 2,
148323
149310
  "workflowCount": 3,
148324
149311
  "payloadBillableCount": 437,
@@ -148412,6 +149399,7 @@ Schema for additional application import options
148412
149399
  "Global",
148413
149400
  "Integration",
148414
149401
  "Notebook",
149402
+ "PrivateFile",
148415
149403
  "Webhook",
148416
149404
  "ResourceJob"
148417
149405
  ]
@@ -148497,6 +149485,7 @@ Schema for additional application import options (new application)
148497
149485
  "Global",
148498
149486
  "Integration",
148499
149487
  "Notebook",
149488
+ "PrivateFile",
148500
149489
  "Webhook",
148501
149490
  "ResourceJob"
148502
149491
  ]
@@ -148699,6 +149688,9 @@ Schema for a single Instance
148699
149688
  "notebook": {
148700
149689
  "type": "integer"
148701
149690
  },
149691
+ "privatefile": {
149692
+ "type": "integer"
149693
+ },
148702
149694
  "resourcejob": {
148703
149695
  "type": "integer"
148704
149696
  },
@@ -148825,6 +149817,10 @@ Schema for a single Instance
148825
149817
  "type": "integer",
148826
149818
  "minimum": 0
148827
149819
  },
149820
+ "privatefile": {
149821
+ "type": "integer",
149822
+ "minimum": 0
149823
+ },
148828
149824
  "resourcejob": {
148829
149825
  "type": "integer",
148830
149826
  "minimum": 0
@@ -148935,6 +149931,7 @@ Schema for a single Instance
148935
149931
  "integration": 50,
148936
149932
  "notebook": 100,
148937
149933
  "resourcejob": 10,
149934
+ "privatefile": 1000,
148938
149935
  "webhook": 1000,
148939
149936
  "dataTTL": 15552000,
148940
149937
  "member": 100,
@@ -152471,6 +153468,10 @@ Schema for the body of an Organization owned by an instance
152471
153468
  "type": "integer",
152472
153469
  "minimum": 0
152473
153470
  },
153471
+ "privatefile": {
153472
+ "type": "integer",
153473
+ "minimum": 0
153474
+ },
152474
153475
  "resourcejob": {
152475
153476
  "type": "integer",
152476
153477
  "minimum": 0
@@ -152592,6 +153593,9 @@ Schema for the body of an Organization owned by an instance
152592
153593
  "notebookCount": {
152593
153594
  "type": "integer"
152594
153595
  },
153596
+ "privateFileCount": {
153597
+ "type": "integer"
153598
+ },
152595
153599
  "resourceJobCount": {
152596
153600
  "type": "integer"
152597
153601
  },
@@ -152948,6 +153952,7 @@ Schema for the body of an Organization owned by an instance
152948
153952
  "integration": 50,
152949
153953
  "notebook": 100,
152950
153954
  "resourcejob": 100,
153955
+ "privatefile": 1000,
152951
153956
  "webhook": 1000,
152952
153957
  "dataTTL": 15552000,
152953
153958
  "member": 100,
@@ -152981,6 +153986,7 @@ Schema for the body of an Organization owned by an instance
152981
153986
  "flowCount": 30,
152982
153987
  "integrationCount": 6,
152983
153988
  "notebookCount": 0,
153989
+ "privateFileCount": 0,
152984
153990
  "resourceJobCount": 5,
152985
153991
  "keyCount": 17,
152986
153992
  "memberCount": 1,
@@ -153547,6 +154553,10 @@ Schema for the body of an Organization modification request within an instance
153547
154553
  "type": "integer",
153548
154554
  "minimum": 0
153549
154555
  },
154556
+ "privatefile": {
154557
+ "type": "integer",
154558
+ "minimum": 0
154559
+ },
153550
154560
  "resourcejob": {
153551
154561
  "type": "integer",
153552
154562
  "minimum": 0
@@ -153806,6 +154816,10 @@ Schema for the body of an Organization creation request within an instance
153806
154816
  "type": "integer",
153807
154817
  "minimum": 0
153808
154818
  },
154819
+ "privatefile": {
154820
+ "type": "integer",
154821
+ "minimum": 0
154822
+ },
153809
154823
  "resourcejob": {
153810
154824
  "type": "integer",
153811
154825
  "minimum": 0
@@ -154261,6 +155275,10 @@ Schema for a collection of Organizations within an instance
154261
155275
  "type": "integer",
154262
155276
  "minimum": 0
154263
155277
  },
155278
+ "privatefile": {
155279
+ "type": "integer",
155280
+ "minimum": 0
155281
+ },
154264
155282
  "resourcejob": {
154265
155283
  "type": "integer",
154266
155284
  "minimum": 0
@@ -154382,6 +155400,9 @@ Schema for a collection of Organizations within an instance
154382
155400
  "notebookCount": {
154383
155401
  "type": "integer"
154384
155402
  },
155403
+ "privateFileCount": {
155404
+ "type": "integer"
155405
+ },
154385
155406
  "resourceJobCount": {
154386
155407
  "type": "integer"
154387
155408
  },
@@ -154778,6 +155799,7 @@ Schema for a collection of Organizations within an instance
154778
155799
  "integration": 50,
154779
155800
  "notebook": 100,
154780
155801
  "resourcejob": 100,
155802
+ "privatefile": 1000,
154781
155803
  "webhook": 1000,
154782
155804
  "dataTTL": 15552000,
154783
155805
  "member": 100,
@@ -154811,6 +155833,7 @@ Schema for a collection of Organizations within an instance
154811
155833
  "flowCount": 30,
154812
155834
  "integrationCount": 6,
154813
155835
  "notebookCount": 0,
155836
+ "privateFileCount": 0,
154814
155837
  "resourceJobCount": 5,
154815
155838
  "keyCount": 17,
154816
155839
  "memberCount": 1,
@@ -155019,6 +156042,10 @@ Schema for instance patch request
155019
156042
  "type": "integer",
155020
156043
  "minimum": 0
155021
156044
  },
156045
+ "privatefile": {
156046
+ "type": "integer",
156047
+ "minimum": 0
156048
+ },
155022
156049
  "resourcejob": {
155023
156050
  "type": "integer",
155024
156051
  "minimum": 0
@@ -155359,6 +156386,9 @@ Schema for information about a sandbox user within an instance domain
155359
156386
  "notebook": {
155360
156387
  "type": "integer"
155361
156388
  },
156389
+ "privatefile": {
156390
+ "type": "integer"
156391
+ },
155362
156392
  "resourcejob": {
155363
156393
  "type": "integer"
155364
156394
  },
@@ -155467,6 +156497,9 @@ Schema for information about a sandbox user within an instance domain
155467
156497
  "resourceJobCount": {
155468
156498
  "type": "integer"
155469
156499
  },
156500
+ "privateFileCount": {
156501
+ "type": "integer"
156502
+ },
155470
156503
  "webhookCount": {
155471
156504
  "type": "integer"
155472
156505
  },
@@ -155924,6 +156957,9 @@ Schema for a collection of instance associated sandboxes
155924
156957
  "notebook": {
155925
156958
  "type": "integer"
155926
156959
  },
156960
+ "privatefile": {
156961
+ "type": "integer"
156962
+ },
155927
156963
  "resourcejob": {
155928
156964
  "type": "integer"
155929
156965
  },
@@ -156032,6 +157068,9 @@ Schema for a collection of instance associated sandboxes
156032
157068
  "resourceJobCount": {
156033
157069
  "type": "integer"
156034
157070
  },
157071
+ "privateFileCount": {
157072
+ "type": "integer"
157073
+ },
156035
157074
  "webhookCount": {
156036
157075
  "type": "integer"
156037
157076
  },
@@ -156569,6 +157608,9 @@ Schema for a collection of Instances
156569
157608
  "notebook": {
156570
157609
  "type": "integer"
156571
157610
  },
157611
+ "privatefile": {
157612
+ "type": "integer"
157613
+ },
156572
157614
  "resourcejob": {
156573
157615
  "type": "integer"
156574
157616
  },
@@ -156695,6 +157737,10 @@ Schema for a collection of Instances
156695
157737
  "type": "integer",
156696
157738
  "minimum": 0
156697
157739
  },
157740
+ "privatefile": {
157741
+ "type": "integer",
157742
+ "minimum": 0
157743
+ },
156698
157744
  "resourcejob": {
156699
157745
  "type": "integer",
156700
157746
  "minimum": 0
@@ -156842,6 +157888,7 @@ Schema for a collection of Instances
156842
157888
  "integration": 50,
156843
157889
  "notebook": 100,
156844
157890
  "resourcejob": 10,
157891
+ "privatefile": 1000,
156845
157892
  "webhook": 1000,
156846
157893
  "dataTTL": 15552000,
156847
157894
  "member": 100,
@@ -160738,6 +161785,9 @@ Schema for information about the currently authenticated user
160738
161785
  "notebook": {
160739
161786
  "type": "integer"
160740
161787
  },
161788
+ "privatefile": {
161789
+ "type": "integer"
161790
+ },
160741
161791
  "resourcejob": {
160742
161792
  "type": "integer"
160743
161793
  },
@@ -160960,6 +162010,9 @@ Schema for information about the currently authenticated user
160960
162010
  "resourceJobCount": {
160961
162011
  "type": "integer"
160962
162012
  },
162013
+ "privateFileCount": {
162014
+ "type": "integer"
162015
+ },
160963
162016
  "webhookCount": {
160964
162017
  "type": "integer"
160965
162018
  },
@@ -164132,6 +165185,9 @@ Schema for a single Notebook
164132
165185
  "type": "string",
164133
165186
  "minLength": 1,
164134
165187
  "maxLength": 1024
165188
+ },
165189
+ "destinationPrivate": {
165190
+ "type": "boolean"
164135
165191
  }
164136
165192
  },
164137
165193
  "required": [
@@ -164168,6 +165224,9 @@ Schema for a single Notebook
164168
165224
  "type": "string",
164169
165225
  "minLength": 1,
164170
165226
  "maxLength": 1024
165227
+ },
165228
+ "destinationPrivate": {
165229
+ "type": "boolean"
164171
165230
  }
164172
165231
  },
164173
165232
  "required": [
@@ -164205,6 +165264,9 @@ Schema for a single Notebook
164205
165264
  "type": "string",
164206
165265
  "minLength": 1,
164207
165266
  "maxLength": 1024
165267
+ },
165268
+ "destinationPrivate": {
165269
+ "type": "boolean"
164208
165270
  }
164209
165271
  },
164210
165272
  "required": [
@@ -165268,6 +166330,9 @@ Schema for the body of a Notebook modification request
165268
166330
  "type": "string",
165269
166331
  "minLength": 1,
165270
166332
  "maxLength": 1024
166333
+ },
166334
+ "destinationPrivate": {
166335
+ "type": "boolean"
165271
166336
  }
165272
166337
  },
165273
166338
  "required": [
@@ -165304,6 +166369,9 @@ Schema for the body of a Notebook modification request
165304
166369
  "type": "string",
165305
166370
  "minLength": 1,
165306
166371
  "maxLength": 1024
166372
+ },
166373
+ "destinationPrivate": {
166374
+ "type": "boolean"
165307
166375
  }
165308
166376
  },
165309
166377
  "required": [
@@ -165341,6 +166409,9 @@ Schema for the body of a Notebook modification request
165341
166409
  "type": "string",
165342
166410
  "minLength": 1,
165343
166411
  "maxLength": 1024
166412
+ },
166413
+ "destinationPrivate": {
166414
+ "type": "boolean"
165344
166415
  }
165345
166416
  },
165346
166417
  "required": [
@@ -165922,6 +166993,9 @@ Schema for the body of an Notebook creation request
165922
166993
  "type": "string",
165923
166994
  "minLength": 1,
165924
166995
  "maxLength": 1024
166996
+ },
166997
+ "destinationPrivate": {
166998
+ "type": "boolean"
165925
166999
  }
165926
167000
  },
165927
167001
  "required": [
@@ -165958,6 +167032,9 @@ Schema for the body of an Notebook creation request
165958
167032
  "type": "string",
165959
167033
  "minLength": 1,
165960
167034
  "maxLength": 1024
167035
+ },
167036
+ "destinationPrivate": {
167037
+ "type": "boolean"
165961
167038
  }
165962
167039
  },
165963
167040
  "required": [
@@ -165995,6 +167072,9 @@ Schema for the body of an Notebook creation request
165995
167072
  "type": "string",
165996
167073
  "minLength": 1,
165997
167074
  "maxLength": 1024
167075
+ },
167076
+ "destinationPrivate": {
167077
+ "type": "boolean"
165998
167078
  }
165999
167079
  },
166000
167080
  "required": [
@@ -166606,6 +167686,9 @@ Schema for a collection of Notebooks
166606
167686
  "type": "string",
166607
167687
  "minLength": 1,
166608
167688
  "maxLength": 1024
167689
+ },
167690
+ "destinationPrivate": {
167691
+ "type": "boolean"
166609
167692
  }
166610
167693
  },
166611
167694
  "required": [
@@ -166642,6 +167725,9 @@ Schema for a collection of Notebooks
166642
167725
  "type": "string",
166643
167726
  "minLength": 1,
166644
167727
  "maxLength": 1024
167728
+ },
167729
+ "destinationPrivate": {
167730
+ "type": "boolean"
166645
167731
  }
166646
167732
  },
166647
167733
  "required": [
@@ -166679,6 +167765,9 @@ Schema for a collection of Notebooks
166679
167765
  "type": "string",
166680
167766
  "minLength": 1,
166681
167767
  "maxLength": 1024
167768
+ },
167769
+ "destinationPrivate": {
167770
+ "type": "boolean"
166682
167771
  }
166683
167772
  },
166684
167773
  "required": [
@@ -168126,6 +169215,10 @@ Schema for a single Organization
168126
169215
  "type": "integer",
168127
169216
  "minimum": 0
168128
169217
  },
169218
+ "privatefile": {
169219
+ "type": "integer",
169220
+ "minimum": 0
169221
+ },
168129
169222
  "resourcejob": {
168130
169223
  "type": "integer",
168131
169224
  "minimum": 0
@@ -168247,6 +169340,9 @@ Schema for a single Organization
168247
169340
  "notebookCount": {
168248
169341
  "type": "integer"
168249
169342
  },
169343
+ "privateFileCount": {
169344
+ "type": "integer"
169345
+ },
168250
169346
  "resourceJobCount": {
168251
169347
  "type": "integer"
168252
169348
  },
@@ -170016,6 +171112,10 @@ Schema for a collection of Organizations
170016
171112
  "type": "integer",
170017
171113
  "minimum": 0
170018
171114
  },
171115
+ "privatefile": {
171116
+ "type": "integer",
171117
+ "minimum": 0
171118
+ },
170019
171119
  "resourcejob": {
170020
171120
  "type": "integer",
170021
171121
  "minimum": 0
@@ -170137,6 +171237,9 @@ Schema for a collection of Organizations
170137
171237
  "notebookCount": {
170138
171238
  "type": "integer"
170139
171239
  },
171240
+ "privateFileCount": {
171241
+ "type": "integer"
171242
+ },
170140
171243
  "resourceJobCount": {
170141
171244
  "type": "integer"
170142
171245
  },
@@ -172963,10 +174066,12 @@ SAML Response body for login
172963
174066
  "flows.*",
172964
174067
  "flowVersion.*",
172965
174068
  "flowVersions.*",
172966
- "resourceJobs.*",
172967
- "resourceJob.*",
172968
174069
  "notebook.*",
172969
174070
  "notebooks.*",
174071
+ "privateFile.*",
174072
+ "privateFiles.*",
174073
+ "resourceJobs.*",
174074
+ "resourceJob.*",
172970
174075
  "webhook.*",
172971
174076
  "webhooks.*",
172972
174077
  "application.applyTemplate",
@@ -173203,6 +174308,13 @@ SAML Response body for login
173203
174308
  "notebook.upload",
173204
174309
  "notebooks.get",
173205
174310
  "notebooks.post",
174311
+ "privateFile.get",
174312
+ "privateFile.patch",
174313
+ "privateFile.move",
174314
+ "privateFile.delete",
174315
+ "privateFile.upload",
174316
+ "privateFiles.get",
174317
+ "privateFiles.post",
173206
174318
  "resourceJob.get",
173207
174319
  "resourceJob.logs",
173208
174320
  "resourceJob.patch",
@@ -173239,6 +174351,7 @@ SAML Response body for login
173239
174351
  "dashboard.patch",
173240
174352
  "dashboard.delete",
173241
174353
  "dashboard.sendReport",
174354
+ "dashboard.suggestCode",
173242
174355
  "dashboards.get",
173243
174356
  "dashboards.post",
173244
174357
  "org.get",
@@ -173575,6 +174688,19 @@ Schema for the response to a suggest function request
173575
174688
  "maxLength": 32767,
173576
174689
  "minLength": 1
173577
174690
  },
174691
+ "response": {
174692
+ "type": "object",
174693
+ "properties": {
174694
+ "code": {
174695
+ "type": "string",
174696
+ "maxLength": 32767
174697
+ },
174698
+ "comments": {
174699
+ "type": "string",
174700
+ "maxLength": 32767
174701
+ }
174702
+ }
174703
+ },
173578
174704
  "responseId": {
173579
174705
  "type": "string",
173580
174706
  "minLength": 1,
@@ -173597,7 +174723,6 @@ Schema for the response to a suggest function request
173597
174723
  }
173598
174724
  },
173599
174725
  "required": [
173600
- "text",
173601
174726
  "responseId",
173602
174727
  "finishReason"
173603
174728
  ],
@@ -173608,7 +174733,10 @@ Schema for the response to a suggest function request
173608
174733
 
173609
174734
  ```json
173610
174735
  {
173611
- "text": "```javascript\n/**\n * A function to sort an array of objects, by their 'name' property,\n * from the nethermost 'Z' to the foremost 'A'.\n *\n * @param {Array<Object>} arr - The array of objects to be sorted,\n * each object possessing a 'name' property.\n * @returns {Array<Object>} - The sorted array of objects.\n */\nfunction sortObjectsByNameReverse(arr) {\n // Hark! A comparison function, to bend the wills of objects!\n // We shall compare the names, and judge which doth precede the other.\n return arr.sort((a, b) => {\n // Let 'nameA' be the name of the first object, brought low for scrutiny.\n const nameA = a.name.toUpperCase(); // Cast aloft to uppercase, lest lower case betray us!\n // And 'nameB', the name of the second, likewise brought before us.\n const nameB = b.name.toUpperCase(); // Uppercase again, that all be judged as equals!\n\n // Now, to the comparing! A most subtle dance of precedence!\n if (nameA < nameB) {\n // If 'nameA' be found wanting, and falls behind 'nameB'...\n return 1; // ...then 'nameB' shall take precedence, and rise above!\n }\n if (nameA > nameB) {\n // But if 'nameA' doth surpass 'nameB', and standeth taller...\n return -1; // ...then 'nameA' shall hold its place, and 'nameB' shall yield.\n }\n\n // Should they be equal, twins in name and form...\n return 0; // ...then let them remain as they were, neither before nor behind.\n });\n}\n\n// Example Usage: A scene of players, sorted by their given names!\nconst players = [\n { name: \"Hamlet\" },\n { name: \"Ophelia\" },\n { name: \"Lear\" },\n { name: \"Macbeth\" },\n { name: \"Juliet\" },\n];\n\nconst sortedPlayers = sortObjectsByNameReverse(players);\nconsole.log(sortedPlayers); // Behold! A tragedy, properly ordered!\n\n```\n\n**Explanation of the Shakespearean Comments:**\n\n* **Hark!**: An attention-grabbing start, like a herald announcing something important.\n* **Bend the wills of objects!**: A dramatic way of saying \"compare the objects.\"\n* **Brought low for scrutiny**: Figurative language for accessing the `name` property.\n* **Cast aloft to uppercase, lest lower case betray us!**: Converting to uppercase to ensure case-insensitive sorting (avoids confusion with lowercase vs. uppercase letters). The \"betray us\" adds a dramatic flair.\n* **A most subtle dance of precedence!**: Describing the comparison process in a poetic way.\n* **Found wanting, and falls behind**: Describing the comparison result in a theatrical manner.\n* **Take precedence, and rise above!**: Emphasizing the meaning of the return value `1`.\n* **Doth surpass... shall hold its place, and yield**: The inverse of the previous comment, for the `-1` return value.\n* **Twins in name and form**: Describes when the names are equal.\n* **Then let them remain as they were**: meaning return 0, and the original order remains intact.\n* **Behold! A tragedy, properly ordered!**: A dramatic conclusion to the example, linking the sorted array back to the Shakespearean theme.\n\nThe comments attempt to use language that is both descriptive of the code and stylistically reminiscent of Shakespeare's plays, adding a layer of humor and theatricality to the code explanation.\n",
174736
+ "response": {
174737
+ "code": "payload.tempF = (9/5 * payload.tempC) + 32;",
174738
+ "comments": "This function will convert a Fahrenheit temperature at `payload.tempF` to a Celsius temperature and place the result at `payload.tempC`."
174739
+ },
173612
174740
  "responseId": "YCwSaIeyOfComecPutWYyAg",
173613
174741
  "finishReason": "STOP"
173614
174742
  }
@@ -176338,10 +177466,12 @@ Schema for the body of a User authentication request
176338
177466
  "flows.*",
176339
177467
  "flowVersion.*",
176340
177468
  "flowVersions.*",
176341
- "resourceJobs.*",
176342
- "resourceJob.*",
176343
177469
  "notebook.*",
176344
177470
  "notebooks.*",
177471
+ "privateFile.*",
177472
+ "privateFiles.*",
177473
+ "resourceJobs.*",
177474
+ "resourceJob.*",
176345
177475
  "webhook.*",
176346
177476
  "webhooks.*",
176347
177477
  "application.applyTemplate",
@@ -176578,6 +177708,13 @@ Schema for the body of a User authentication request
176578
177708
  "notebook.upload",
176579
177709
  "notebooks.get",
176580
177710
  "notebooks.post",
177711
+ "privateFile.get",
177712
+ "privateFile.patch",
177713
+ "privateFile.move",
177714
+ "privateFile.delete",
177715
+ "privateFile.upload",
177716
+ "privateFiles.get",
177717
+ "privateFiles.post",
176581
177718
  "resourceJob.get",
176582
177719
  "resourceJob.logs",
176583
177720
  "resourceJob.patch",
@@ -176614,6 +177751,7 @@ Schema for the body of a User authentication request
176614
177751
  "dashboard.patch",
176615
177752
  "dashboard.delete",
176616
177753
  "dashboard.sendReport",
177754
+ "dashboard.suggestCode",
176617
177755
  "dashboards.get",
176618
177756
  "dashboards.post",
176619
177757
  "org.get",
@@ -176949,10 +178087,12 @@ Schema for the body of a User creation request
176949
178087
  "flows.*",
176950
178088
  "flowVersion.*",
176951
178089
  "flowVersions.*",
176952
- "resourceJobs.*",
176953
- "resourceJob.*",
176954
178090
  "notebook.*",
176955
178091
  "notebooks.*",
178092
+ "privateFile.*",
178093
+ "privateFiles.*",
178094
+ "resourceJobs.*",
178095
+ "resourceJob.*",
176956
178096
  "webhook.*",
176957
178097
  "webhooks.*",
176958
178098
  "application.applyTemplate",
@@ -177189,6 +178329,13 @@ Schema for the body of a User creation request
177189
178329
  "notebook.upload",
177190
178330
  "notebooks.get",
177191
178331
  "notebooks.post",
178332
+ "privateFile.get",
178333
+ "privateFile.patch",
178334
+ "privateFile.move",
178335
+ "privateFile.delete",
178336
+ "privateFile.upload",
178337
+ "privateFiles.get",
178338
+ "privateFiles.post",
177192
178339
  "resourceJob.get",
177193
178340
  "resourceJob.logs",
177194
178341
  "resourceJob.patch",
@@ -177225,6 +178372,7 @@ Schema for the body of a User creation request
177225
178372
  "dashboard.patch",
177226
178373
  "dashboard.delete",
177227
178374
  "dashboard.sendReport",
178375
+ "dashboard.suggestCode",
177228
178376
  "dashboards.get",
177229
178377
  "dashboards.post",
177230
178378
  "org.get",