rclone-openapi 1.73.4 → 1.74.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 (4) hide show
  1. package/openapi.json +311 -1196
  2. package/openapi.yaml +99 -419
  3. package/package.json +4 -4
  4. package/types.d.ts +354 -347
package/types.d.ts CHANGED
@@ -344,6 +344,26 @@ export interface paths {
344
344
  patch?: never;
345
345
  trace?: never;
346
346
  };
347
+ "/core/disks": {
348
+ parameters: {
349
+ query?: never;
350
+ header?: never;
351
+ path?: never;
352
+ cookie?: never;
353
+ };
354
+ get?: never;
355
+ put?: never;
356
+ /**
357
+ * List locally accessible paths
358
+ * @description Returns a list of locally accessible paths including mount points, user directories, and removable volumes.
359
+ */
360
+ post: operations["coreDisks"];
361
+ delete?: never;
362
+ options?: never;
363
+ head?: never;
364
+ patch?: never;
365
+ trace?: never;
366
+ };
347
367
  "/core/du": {
348
368
  parameters: {
349
369
  query?: never;
@@ -2069,6 +2089,14 @@ export interface components {
2069
2089
  speed?: number;
2070
2090
  /** @description Current speed in bytes per second as an exponentially weighted moving average. */
2071
2091
  speedAvg?: number;
2092
+ /** @description Source remote or filesystem for this transfer. */
2093
+ srcFs?: string;
2094
+ /** @description Destination remote or filesystem for this transfer. */
2095
+ dstFs?: string;
2096
+ /** @description Source path within srcFs. */
2097
+ srcRemote?: string;
2098
+ /** @description Destination path within dstFs. */
2099
+ dstRemote?: string;
2072
2100
  } & {
2073
2101
  [key: string]: unknown;
2074
2102
  };
@@ -2084,16 +2112,14 @@ export interface components {
2084
2112
  [key: string]: unknown;
2085
2113
  };
2086
2114
  RcNoopRequest: {
2087
- /** @description Additional arbitrary parameters allowed. */
2088
- params?: {
2089
- [key: string]: unknown;
2090
- };
2091
2115
  /** @description Run the command asynchronously. Returns a job id immediately. */
2092
2116
  _async?: boolean;
2117
+ } & {
2118
+ [key: string]: unknown;
2093
2119
  };
2094
2120
  OperationsCleanupRequest: {
2095
2121
  /** @description Remote name or path to clean up, for example `drive:`. */
2096
- fs: string;
2122
+ fs?: string;
2097
2123
  /** @description Assign the request to a custom stats group. */
2098
2124
  _group?: string;
2099
2125
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2101,13 +2127,13 @@ export interface components {
2101
2127
  };
2102
2128
  OperationsCopyfileRequest: {
2103
2129
  /** @description Source remote name or path, such as `drive:` or `/` for the local filesystem. */
2104
- srcFs: string;
2130
+ srcFs?: string;
2105
2131
  /** @description Path to the source object within `srcFs`, for example `dir/file.txt`. */
2106
- srcRemote: string;
2132
+ srcRemote?: string;
2107
2133
  /** @description Destination remote name or path, such as `drive2:` or `/` for local filesystem. */
2108
- dstFs: string;
2134
+ dstFs?: string;
2109
2135
  /** @description Target path within `dstFs` where the file should be written. */
2110
- dstRemote: string;
2136
+ dstRemote?: string;
2111
2137
  /** @description Assign the request to a custom stats group. */
2112
2138
  _group?: string;
2113
2139
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2115,11 +2141,11 @@ export interface components {
2115
2141
  };
2116
2142
  OperationsCopyurlRequest: {
2117
2143
  /** @description Remote name or path that will receive the downloaded file, e.g. `drive:`. */
2118
- fs: string;
2144
+ fs?: string;
2119
2145
  /** @description Destination path within `fs` where the fetched object will be stored. */
2120
- remote: string;
2146
+ remote?: string;
2121
2147
  /** @description Source URL to fetch the object from. */
2122
- url: string;
2148
+ url?: string;
2123
2149
  /** @description Set to true to derive the destination filename from the URL. */
2124
2150
  autoFilename?: boolean;
2125
2151
  /** @description Assign the request to a custom stats group. */
@@ -2129,7 +2155,7 @@ export interface components {
2129
2155
  };
2130
2156
  OperationsDeleteRequest: {
2131
2157
  /** @description Remote name or path whose contents should be removed. */
2132
- fs: string;
2158
+ fs?: string;
2133
2159
  /** @description JSON encoded config overrides applied for this call only. */
2134
2160
  _config?: string;
2135
2161
  /** @description JSON encoded filter overrides applied for this call only. */
@@ -2141,9 +2167,9 @@ export interface components {
2141
2167
  };
2142
2168
  OperationsDeletefileRequest: {
2143
2169
  /** @description Remote name or path that contains the file to delete. */
2144
- fs: string;
2170
+ fs?: string;
2145
2171
  /** @description Exact path to the file within `fs` that should be deleted. */
2146
- remote: string;
2172
+ remote?: string;
2147
2173
  /** @description Assign the request to a custom stats group. */
2148
2174
  _group?: string;
2149
2175
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2151,7 +2177,7 @@ export interface components {
2151
2177
  };
2152
2178
  OperationsFsinfoRequest: {
2153
2179
  /** @description Remote name or path to inspect, e.g. `drive:`. */
2154
- fs: string;
2180
+ fs?: string;
2155
2181
  /** @description Assign the request to a custom stats group. */
2156
2182
  _group?: string;
2157
2183
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2159,9 +2185,9 @@ export interface components {
2159
2185
  };
2160
2186
  OperationsHashsumRequest: {
2161
2187
  /** @description Remote name or path to hash, such as `drive:` or `/`. */
2162
- fs: string;
2188
+ fs?: string;
2163
2189
  /** @description Hash algorithm to use, e.g. `md5`, `sha1`, or another supported name. */
2164
- hashType: string;
2190
+ hashType?: string;
2165
2191
  /** @description Set to true to force reading the data instead of using remote checksums. */
2166
2192
  download?: boolean;
2167
2193
  /** @description Set to true to emit hash values in base64 rather than hexadecimal. */
@@ -2173,11 +2199,11 @@ export interface components {
2173
2199
  };
2174
2200
  OperationsHashsumfileRequest: {
2175
2201
  /** @description Remote name or path containing the file to hash. */
2176
- fs: string;
2202
+ fs?: string;
2177
2203
  /** @description Path to the specific file within `fs` to hash. */
2178
- remote: string;
2204
+ remote?: string;
2179
2205
  /** @description Hash algorithm to use, e.g. `md5`, `sha1`, or another supported name. */
2180
- hashType: string;
2206
+ hashType?: string;
2181
2207
  /** @description Set to true to force reading the data instead of using remote checksums. */
2182
2208
  download?: boolean;
2183
2209
  /** @description Set to true to emit the hash value in base64 rather than hexadecimal. */
@@ -2189,13 +2215,13 @@ export interface components {
2189
2215
  };
2190
2216
  OperationsMovefileRequest: {
2191
2217
  /** @description Source remote name or path containing the file to move. */
2192
- srcFs: string;
2218
+ srcFs?: string;
2193
2219
  /** @description Path to the source object within `srcFs`. */
2194
- srcRemote: string;
2220
+ srcRemote?: string;
2195
2221
  /** @description Destination remote name or path where the file will be moved. */
2196
- dstFs: string;
2222
+ dstFs?: string;
2197
2223
  /** @description Destination path within `dstFs` for the moved object. */
2198
- dstRemote: string;
2224
+ dstRemote?: string;
2199
2225
  /** @description Assign the request to a custom stats group. */
2200
2226
  _group?: string;
2201
2227
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2203,9 +2229,9 @@ export interface components {
2203
2229
  };
2204
2230
  OperationsPubliclinkRequest: {
2205
2231
  /** @description Remote name or path hosting the object for which to manage a public link. */
2206
- fs: string;
2232
+ fs?: string;
2207
2233
  /** @description Path within `fs` to the object for which to create or remove a public link. */
2208
- remote: string;
2234
+ remote?: string;
2209
2235
  /** @description Set to true to remove an existing public link instead of creating one. */
2210
2236
  unlink?: boolean;
2211
2237
  /** @description Optional expiration time for the public link, formatted as supported by the backend. */
@@ -2217,9 +2243,9 @@ export interface components {
2217
2243
  };
2218
2244
  OperationsRmdirsRequest: {
2219
2245
  /** @description Remote name or path to scan for empty directories. */
2220
- fs: string;
2246
+ fs?: string;
2221
2247
  /** @description Path within `fs` whose empty subdirectories should be removed. */
2222
- remote: string;
2248
+ remote?: string;
2223
2249
  /** @description Set to true to preserve the top-level directory even if empty. */
2224
2250
  leaveRoot?: boolean;
2225
2251
  /** @description Assign the request to a custom stats group. */
@@ -2229,7 +2255,7 @@ export interface components {
2229
2255
  };
2230
2256
  OperationsSettierRequest: {
2231
2257
  /** @description Remote name or path whose storage class tier should be changed. */
2232
- fs: string;
2258
+ fs?: string;
2233
2259
  /** @description Assign the request to a custom stats group. */
2234
2260
  _group?: string;
2235
2261
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2237,9 +2263,9 @@ export interface components {
2237
2263
  };
2238
2264
  OperationsSettierfileRequest: {
2239
2265
  /** @description Remote name or path that contains the object whose tier should change. */
2240
- fs: string;
2266
+ fs?: string;
2241
2267
  /** @description Path within `fs` to the object whose storage class tier should be updated. */
2242
- remote: string;
2268
+ remote?: string;
2243
2269
  /** @description Assign the request to a custom stats group. */
2244
2270
  _group?: string;
2245
2271
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2247,7 +2273,7 @@ export interface components {
2247
2273
  };
2248
2274
  OperationsSizeRequest: {
2249
2275
  /** @description Remote name or path to measure aggregate size information for. */
2250
- fs: string;
2276
+ fs?: string;
2251
2277
  /** @description Assign the request to a custom stats group. */
2252
2278
  _group?: string;
2253
2279
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2263,7 +2289,7 @@ export interface components {
2263
2289
  };
2264
2290
  CoreCommandRequest: {
2265
2291
  /** @description Name of the rclone command to execute, for example `ls` or `lsf`. */
2266
- command: string;
2292
+ command?: string;
2267
2293
  /** @description Optional positional arguments for the command. Repeat to supply multiple values. */
2268
2294
  arg?: string[];
2269
2295
  /** @description Optional command options encoded as a JSON string. */
@@ -2303,7 +2329,7 @@ export interface components {
2303
2329
  };
2304
2330
  CoreObscureRequest: {
2305
2331
  /** @description Plain-text string to obscure for storage in the config file. */
2306
- clear: string;
2332
+ clear?: string;
2307
2333
  /** @description Assign the request to a custom stats group. */
2308
2334
  _group?: string;
2309
2335
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2325,7 +2351,7 @@ export interface components {
2325
2351
  };
2326
2352
  CoreStatsDeleteRequest: {
2327
2353
  /** @description Stats group identifier to remove. */
2328
- group: string;
2354
+ group?: string;
2329
2355
  /** @description Assign the request to a custom stats group. */
2330
2356
  _group?: string;
2331
2357
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2349,7 +2375,7 @@ export interface components {
2349
2375
  };
2350
2376
  DebugSetBlockProfileRateRequest: {
2351
2377
  /** @description Sampling interval in nanoseconds for blocking profile collection; use 1 to capture all events. */
2352
- rate: number;
2378
+ rate?: number;
2353
2379
  /** @description Assign the request to a custom stats group. */
2354
2380
  _group?: string;
2355
2381
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2357,7 +2383,7 @@ export interface components {
2357
2383
  };
2358
2384
  DebugSetGcPercentRequest: {
2359
2385
  /** @description Target percentage of newly allocated data to trigger garbage collection. */
2360
- "gc-percent": number;
2386
+ "gc-percent"?: number;
2361
2387
  /** @description Assign the request to a custom stats group. */
2362
2388
  _group?: string;
2363
2389
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2365,7 +2391,7 @@ export interface components {
2365
2391
  };
2366
2392
  DebugSetMutexProfileFractionRequest: {
2367
2393
  /** @description Sampling fraction for mutex contention profiling; set to 0 to disable. */
2368
- rate: number;
2394
+ rate?: number;
2369
2395
  /** @description Assign the request to a custom stats group. */
2370
2396
  _group?: string;
2371
2397
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2373,7 +2399,7 @@ export interface components {
2373
2399
  };
2374
2400
  DebugSetSoftMemoryLimitRequest: {
2375
2401
  /** @description Soft memory limit for the Go runtime in bytes. */
2376
- "mem-limit": number;
2402
+ "mem-limit"?: number;
2377
2403
  /** @description Assign the request to a custom stats group. */
2378
2404
  _group?: string;
2379
2405
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2399,9 +2425,9 @@ export interface components {
2399
2425
  };
2400
2426
  MountMountRequest: {
2401
2427
  /** @description Remote path to mount, such as `drive:` or `remote:subdir`. */
2402
- fs: string;
2428
+ fs?: string;
2403
2429
  /** @description Absolute local path where the remote should be mounted. */
2404
- mountPoint: string;
2430
+ mountPoint?: string;
2405
2431
  /** @description Optional mount implementation to use (`mount`, `cmount`, or `mount2`). */
2406
2432
  mountType?: string;
2407
2433
  /** @description Mount options encoded as JSON, matching flags accepted by `rclone mount`. */
@@ -2425,7 +2451,7 @@ export interface components {
2425
2451
  };
2426
2452
  MountUnmountRequest: {
2427
2453
  /** @description Local mount point path to unmount. */
2428
- mountPoint: string;
2454
+ mountPoint?: string;
2429
2455
  /** @description Assign the request to a custom stats group. */
2430
2456
  _group?: string;
2431
2457
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2438,20 +2464,16 @@ export interface components {
2438
2464
  _async?: boolean;
2439
2465
  };
2440
2466
  RcNoopAuthRequest: {
2441
- /** @description Additional arbitrary parameters allowed. */
2442
- params?: {
2443
- [key: string]: unknown;
2444
- };
2445
2467
  /** @description Run the command asynchronously. Returns a job id immediately. */
2446
2468
  _async?: boolean;
2469
+ } & {
2470
+ [key: string]: unknown;
2447
2471
  };
2448
2472
  RcErrorRequest: {
2449
- /** @description Additional arbitrary parameters allowed. */
2450
- params?: {
2451
- [key: string]: unknown;
2452
- };
2453
2473
  /** @description Run the command asynchronously. Returns a job id immediately. */
2454
2474
  _async?: boolean;
2475
+ } & {
2476
+ [key: string]: unknown;
2455
2477
  };
2456
2478
  RcListRequest: {
2457
2479
  /** @description Assign the request to a custom stats group. */
@@ -2461,7 +2483,7 @@ export interface components {
2461
2483
  };
2462
2484
  BackendCommandRequest: {
2463
2485
  /** @description Backend-specific command to invoke. */
2464
- command: string;
2486
+ command?: string;
2465
2487
  /** @description Remote name or path the backend command should target. */
2466
2488
  fs?: string;
2467
2489
  /** @description Optional positional arguments for the backend command. */
@@ -2475,7 +2497,7 @@ export interface components {
2475
2497
  };
2476
2498
  CacheExpireRequest: {
2477
2499
  /** @description Remote path to expire from the cache, e.g. `remote:path/to/dir`. */
2478
- remote: string;
2500
+ remote?: string;
2479
2501
  /** @description Set to true to drop cached chunk data along with directory entries. */
2480
2502
  withData?: boolean;
2481
2503
  /** @description Assign the request to a custom stats group. */
@@ -2486,14 +2508,12 @@ export interface components {
2486
2508
  CacheFetchRequest: {
2487
2509
  /** @description Comma-separated chunk specifier list (e.g. `0:10,25:30`) describing file pieces to prefetch. */
2488
2510
  chunks?: string;
2489
- /** @description Additional arbitrary parameters allowed. */
2490
- params?: {
2491
- [key: string]: unknown;
2492
- };
2493
2511
  /** @description Assign the request to a custom stats group. */
2494
2512
  _group?: string;
2495
2513
  /** @description Run the command asynchronously. Returns a job id immediately. */
2496
2514
  _async?: boolean;
2515
+ } & {
2516
+ [key: string]: unknown;
2497
2517
  };
2498
2518
  CacheStatsRequest: {
2499
2519
  /** @description Assign the request to a custom stats group. */
@@ -2503,11 +2523,11 @@ export interface components {
2503
2523
  };
2504
2524
  ConfigCreateRequest: {
2505
2525
  /** @description Name of the new remote configuration. */
2506
- name: string;
2526
+ name?: string;
2507
2527
  /** @description JSON object of configuration key/value pairs required for the remote. */
2508
- parameters: string;
2528
+ parameters?: string;
2509
2529
  /** @description Backend type identifier, such as `drive`, `s3`, or `dropbox`. */
2510
- type: string;
2530
+ type?: string;
2511
2531
  /** @description Optional JSON object controlling interactive behaviour (e.g. `obscure`, `continue`). */
2512
2532
  opt?: string;
2513
2533
  /** @description Assign the request to a custom stats group. */
@@ -2517,7 +2537,7 @@ export interface components {
2517
2537
  };
2518
2538
  ConfigDeleteRequest: {
2519
2539
  /** @description Name of the remote configuration to delete. */
2520
- name: string;
2540
+ name?: string;
2521
2541
  /** @description Assign the request to a custom stats group. */
2522
2542
  _group?: string;
2523
2543
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2531,7 +2551,7 @@ export interface components {
2531
2551
  };
2532
2552
  ConfigGetRequest: {
2533
2553
  /** @description Name of the remote configuration to fetch. */
2534
- name: string;
2554
+ name?: string;
2535
2555
  /** @description Assign the request to a custom stats group. */
2536
2556
  _group?: string;
2537
2557
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2545,9 +2565,9 @@ export interface components {
2545
2565
  };
2546
2566
  ConfigPasswordRequest: {
2547
2567
  /** @description Name of the remote whose secrets should be updated. */
2548
- name: string;
2568
+ name?: string;
2549
2569
  /** @description JSON object of password answers, typically including `pass`. */
2550
- parameters: string;
2570
+ parameters?: string;
2551
2571
  /** @description Assign the request to a custom stats group. */
2552
2572
  _group?: string;
2553
2573
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2567,7 +2587,7 @@ export interface components {
2567
2587
  };
2568
2588
  ConfigSetpathRequest: {
2569
2589
  /** @description Absolute path to the `rclone.conf` file that rclone should use. */
2570
- path: string;
2590
+ path?: string;
2571
2591
  /** @description Assign the request to a custom stats group. */
2572
2592
  _group?: string;
2573
2593
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2575,7 +2595,7 @@ export interface components {
2575
2595
  };
2576
2596
  ConfigUnlockRequest: {
2577
2597
  /** @description Password used to unlock an encrypted config file. */
2578
- configPassword: string;
2598
+ configPassword?: string;
2579
2599
  /** @description Assign the request to a custom stats group. */
2580
2600
  _group?: string;
2581
2601
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2583,9 +2603,9 @@ export interface components {
2583
2603
  };
2584
2604
  ConfigUpdateRequest: {
2585
2605
  /** @description Name of the remote configuration to update. */
2586
- name: string;
2606
+ name?: string;
2587
2607
  /** @description JSON object of configuration key/value pairs to apply to the remote. */
2588
- parameters: string;
2608
+ parameters?: string;
2589
2609
  /** @description Optional JSON object controlling update behaviour (e.g. `obscure`, `continue`). */
2590
2610
  opt?: string;
2591
2611
  /** @description Assign the request to a custom stats group. */
@@ -2615,27 +2635,27 @@ export interface components {
2615
2635
  };
2616
2636
  JobStatusRequest: {
2617
2637
  /** @description Numeric identifier of the job to query, as returned from an async call. */
2618
- jobid: number;
2638
+ jobid?: number;
2619
2639
  /** @description Run the command asynchronously. Returns a job id immediately. */
2620
2640
  _async?: boolean;
2621
2641
  };
2622
2642
  JobStopRequest: {
2623
2643
  /** @description Numeric identifier of the job to cancel. */
2624
- jobid: number;
2644
+ jobid?: number;
2625
2645
  /** @description Run the command asynchronously. Returns a job id immediately. */
2626
2646
  _async?: boolean;
2627
2647
  };
2628
2648
  JobStopgroupRequest: {
2629
2649
  /** @description Stats group name whose active jobs should be stopped. */
2630
- group: string;
2650
+ group?: string;
2631
2651
  /** @description Run the command asynchronously. Returns a job id immediately. */
2632
2652
  _async?: boolean;
2633
2653
  };
2634
2654
  OperationsListRequest: {
2635
2655
  /** @description Remote name or path to list, for example `drive:`. */
2636
- fs: string;
2656
+ fs?: string;
2637
2657
  /** @description Directory path within `fs` to list; leave empty to target the root. */
2638
- remote: string;
2658
+ remote?: string;
2639
2659
  /** @description Optional JSON-encoded object of listing flags (e.g. `{ "recurse": true, "showHash": true }`). */
2640
2660
  opt?: string;
2641
2661
  /** @description Set to true to list directories recursively. */
@@ -2665,9 +2685,9 @@ export interface components {
2665
2685
  };
2666
2686
  OperationsStatRequest: {
2667
2687
  /** @description Remote name or path that contains the item to inspect. */
2668
- fs: string;
2688
+ fs?: string;
2669
2689
  /** @description Path to the file or directory within `fs` to describe. */
2670
- remote: string;
2690
+ remote?: string;
2671
2691
  /** @description Optional JSON object of listing flags, matching those accepted by `operations/list`. */
2672
2692
  opt?: string;
2673
2693
  /** @description Assign the request to a custom stats group. */
@@ -2677,7 +2697,7 @@ export interface components {
2677
2697
  };
2678
2698
  OperationsAboutRequest: {
2679
2699
  /** @description Remote name or path to query for capacity information. */
2680
- fs: string;
2700
+ fs?: string;
2681
2701
  /** @description Assign the request to a custom stats group. */
2682
2702
  _group?: string;
2683
2703
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2685,9 +2705,9 @@ export interface components {
2685
2705
  };
2686
2706
  OperationsPurgeRequest: {
2687
2707
  /** @description Remote name or path from which to remove all contents. */
2688
- fs: string;
2708
+ fs?: string;
2689
2709
  /** @description Path within `fs` whose contents should be purged. */
2690
- remote: string;
2710
+ remote?: string;
2691
2711
  /** @description JSON encoded config overrides applied for this call only. */
2692
2712
  _config?: string;
2693
2713
  /** @description JSON encoded filter overrides applied for this call only. */
@@ -2699,9 +2719,9 @@ export interface components {
2699
2719
  };
2700
2720
  OperationsMkdirRequest: {
2701
2721
  /** @description Remote name or path in which to create a directory. */
2702
- fs: string;
2722
+ fs?: string;
2703
2723
  /** @description Directory path within `fs` to create. */
2704
- remote: string;
2724
+ remote?: string;
2705
2725
  /** @description Assign the request to a custom stats group. */
2706
2726
  _group?: string;
2707
2727
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2709,9 +2729,9 @@ export interface components {
2709
2729
  };
2710
2730
  OperationsRmdirRequest: {
2711
2731
  /** @description Remote name or path containing the directory to remove. */
2712
- fs: string;
2732
+ fs?: string;
2713
2733
  /** @description Directory path within `fs` to delete. */
2714
- remote: string;
2734
+ remote?: string;
2715
2735
  /** @description Assign the request to a custom stats group. */
2716
2736
  _group?: string;
2717
2737
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -2719,9 +2739,9 @@ export interface components {
2719
2739
  };
2720
2740
  OperationsCheckRequest: {
2721
2741
  /** @description Source remote name or path to verify, e.g. `drive:`. */
2722
- srcFs: string;
2742
+ srcFs?: string;
2723
2743
  /** @description Destination remote name or path that should match the source. */
2724
- dstFs: string;
2744
+ dstFs?: string;
2725
2745
  /** @description Set to true to read file contents during comparison instead of relying on hashes. */
2726
2746
  download?: boolean;
2727
2747
  /** @description Hash name to expect in the supplied SUM file, such as `md5`. */
@@ -2751,9 +2771,9 @@ export interface components {
2751
2771
  };
2752
2772
  SyncSyncRequest: {
2753
2773
  /** @description Source remote path to sync from, e.g. `drive:src`. */
2754
- srcFs: string;
2774
+ srcFs?: string;
2755
2775
  /** @description Destination remote path to sync to, e.g. `drive:dst`. */
2756
- dstFs: string;
2776
+ dstFs?: string;
2757
2777
  /** @description Set to true to create empty source directories on the destination. */
2758
2778
  createEmptySrcDirs?: boolean;
2759
2779
  /** @description JSON encoded config overrides applied for this call only. */
@@ -2767,9 +2787,9 @@ export interface components {
2767
2787
  };
2768
2788
  SyncCopyRequest: {
2769
2789
  /** @description Source remote path to copy from. */
2770
- srcFs: string;
2790
+ srcFs?: string;
2771
2791
  /** @description Destination remote path to copy to. */
2772
- dstFs: string;
2792
+ dstFs?: string;
2773
2793
  /** @description Set to true to replicate empty source directories on the destination. */
2774
2794
  createEmptySrcDirs?: boolean;
2775
2795
  /** @description JSON encoded config overrides applied for this call only. */
@@ -2783,9 +2803,9 @@ export interface components {
2783
2803
  };
2784
2804
  SyncMoveRequest: {
2785
2805
  /** @description Source remote path whose contents will be moved. */
2786
- srcFs: string;
2806
+ srcFs?: string;
2787
2807
  /** @description Destination remote path that will receive moved files. */
2788
- dstFs: string;
2808
+ dstFs?: string;
2789
2809
  /** @description Set to true to create empty source directories on the destination. */
2790
2810
  createEmptySrcDirs?: boolean;
2791
2811
  /** @description Set to true to delete empty directories from the source after the move completes. */
@@ -2801,9 +2821,9 @@ export interface components {
2801
2821
  };
2802
2822
  SyncBisyncRequest: {
2803
2823
  /** @description First remote directory, e.g. `drive:path1`. */
2804
- path1: string;
2824
+ path1?: string;
2805
2825
  /** @description Second remote directory, e.g. `drive:path2`. */
2806
- path2: string;
2826
+ path2?: string;
2807
2827
  /** @description Set to true to simulate the bisync run without making changes. */
2808
2828
  dryRun?: boolean;
2809
2829
  /** @description Set to true to perform a one-time resync, rebuilding bisync history. */
@@ -2870,93 +2890,63 @@ export interface components {
2870
2890
  OptionsSetRequest: {
2871
2891
  /** @description Overrides for the `dlna` option block. */
2872
2892
  dlna?: {
2873
- [key: string]: string | number | boolean | unknown[] | {
2874
- [key: string]: unknown;
2875
- };
2893
+ [key: string]: unknown;
2876
2894
  };
2877
2895
  /** @description Overrides for the `filter` option block. */
2878
2896
  filter?: {
2879
- [key: string]: string | number | boolean | unknown[] | {
2880
- [key: string]: unknown;
2881
- };
2897
+ [key: string]: unknown;
2882
2898
  };
2883
2899
  /** @description Overrides for the `ftp` option block. */
2884
2900
  ftp?: {
2885
- [key: string]: string | number | boolean | unknown[] | {
2886
- [key: string]: unknown;
2887
- };
2901
+ [key: string]: unknown;
2888
2902
  };
2889
2903
  /** @description Overrides for the `main` option block. */
2890
2904
  main?: {
2891
- [key: string]: string | number | boolean | unknown[] | {
2892
- [key: string]: unknown;
2893
- };
2905
+ [key: string]: unknown;
2894
2906
  };
2895
2907
  /** @description Overrides for the `http` option block. */
2896
2908
  http?: {
2897
- [key: string]: string | number | boolean | unknown[] | {
2898
- [key: string]: unknown;
2899
- };
2909
+ [key: string]: unknown;
2900
2910
  };
2901
2911
  /** @description Overrides for the `log` option block. */
2902
2912
  log?: {
2903
- [key: string]: string | number | boolean | unknown[] | {
2904
- [key: string]: unknown;
2905
- };
2913
+ [key: string]: unknown;
2906
2914
  };
2907
2915
  /** @description Overrides for the `mount` option block. */
2908
2916
  mount?: {
2909
- [key: string]: string | number | boolean | unknown[] | {
2910
- [key: string]: unknown;
2911
- };
2917
+ [key: string]: unknown;
2912
2918
  };
2913
2919
  /** @description Overrides for the `nfs` option block. */
2914
2920
  nfs?: {
2915
- [key: string]: string | number | boolean | unknown[] | {
2916
- [key: string]: unknown;
2917
- };
2921
+ [key: string]: unknown;
2918
2922
  };
2919
2923
  /** @description Overrides for the `proxy` option block. */
2920
2924
  proxy?: {
2921
- [key: string]: string | number | boolean | unknown[] | {
2922
- [key: string]: unknown;
2923
- };
2925
+ [key: string]: unknown;
2924
2926
  };
2925
2927
  /** @description Overrides for the `rc` option block. */
2926
2928
  rc?: {
2927
- [key: string]: string | number | boolean | unknown[] | {
2928
- [key: string]: unknown;
2929
- };
2929
+ [key: string]: unknown;
2930
2930
  };
2931
2931
  /** @description Overrides for the `restic` option block. */
2932
2932
  restic?: {
2933
- [key: string]: string | number | boolean | unknown[] | {
2934
- [key: string]: unknown;
2935
- };
2933
+ [key: string]: unknown;
2936
2934
  };
2937
2935
  /** @description Overrides for the `s3` option block. */
2938
2936
  s3?: {
2939
- [key: string]: string | number | boolean | unknown[] | {
2940
- [key: string]: unknown;
2941
- };
2937
+ [key: string]: unknown;
2942
2938
  };
2943
2939
  /** @description Overrides for the `sftp` option block. */
2944
2940
  sftp?: {
2945
- [key: string]: string | number | boolean | unknown[] | {
2946
- [key: string]: unknown;
2947
- };
2941
+ [key: string]: unknown;
2948
2942
  };
2949
2943
  /** @description Overrides for the `vfs` option block. */
2950
2944
  vfs?: {
2951
- [key: string]: string | number | boolean | unknown[] | {
2952
- [key: string]: unknown;
2953
- };
2945
+ [key: string]: unknown;
2954
2946
  };
2955
2947
  /** @description Overrides for the `webdav` option block. */
2956
2948
  webdav?: {
2957
- [key: string]: string | number | boolean | unknown[] | {
2958
- [key: string]: unknown;
2959
- };
2949
+ [key: string]: unknown;
2960
2950
  };
2961
2951
  /** @description Assign the request to a custom stats group. */
2962
2952
  _group?: string;
@@ -2979,15 +2969,11 @@ export interface components {
2979
2969
  };
2980
2970
  ServeStartRequest: {
2981
2971
  /** @description Type of server to start (e.g. `http`, `webdav`, `ftp`, `sftp`). */
2982
- type: string;
2972
+ type?: string;
2983
2973
  /** @description Remote path that will be served. */
2984
- fs: string;
2974
+ fs?: string;
2985
2975
  /** @description Address and port to bind the server to, such as `:5572` or `localhost:8080`. */
2986
- addr: string;
2987
- /** @description Additional arbitrary parameters allowed. */
2988
- params?: {
2989
- [key: string]: unknown;
2990
- };
2976
+ addr?: string;
2991
2977
  /** @description JSON encoded config overrides applied for this call only. */
2992
2978
  _config?: string;
2993
2979
  /** @description JSON encoded filter overrides applied for this call only. */
@@ -2996,10 +2982,12 @@ export interface components {
2996
2982
  _group?: string;
2997
2983
  /** @description Run the command asynchronously. Returns a job id immediately. */
2998
2984
  _async?: boolean;
2985
+ } & {
2986
+ [key: string]: unknown;
2999
2987
  };
3000
2988
  ServeStopRequest: {
3001
2989
  /** @description Identifier of the running serve instance returned by `serve/start`. */
3002
- id: string;
2990
+ id?: string;
3003
2991
  /** @description Assign the request to a custom stats group. */
3004
2992
  _group?: string;
3005
2993
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -3020,14 +3008,12 @@ export interface components {
3020
3008
  VfsForgetRequest: {
3021
3009
  /** @description Optional VFS identifier to target; required when more than one VFS is active. */
3022
3010
  fs?: string;
3023
- /** @description Additional arbitrary parameters allowed. */
3024
- params?: {
3025
- [key: string]: unknown;
3026
- };
3027
3011
  /** @description Assign the request to a custom stats group. */
3028
3012
  _group?: string;
3029
3013
  /** @description Run the command asynchronously. Returns a job id immediately. */
3030
3014
  _async?: boolean;
3015
+ } & {
3016
+ [key: string]: unknown;
3031
3017
  };
3032
3018
  VfsListRequest: {
3033
3019
  /** @description Optional VFS identifier; omit to list all active VFS instances. */
@@ -3061,9 +3047,9 @@ export interface components {
3061
3047
  /** @description Optional VFS identifier for the queued item. */
3062
3048
  fs?: string;
3063
3049
  /** @description Queue item ID as returned by `vfs/queue`. */
3064
- id: number;
3050
+ id?: number;
3065
3051
  /** @description New eligibility time in seconds (may be negative for immediate upload). */
3066
- expiry: number;
3052
+ expiry?: number;
3067
3053
  /** @description Set to true to treat `expiry` as relative to the current value. */
3068
3054
  relative?: boolean;
3069
3055
  /** @description Assign the request to a custom stats group. */
@@ -3076,14 +3062,12 @@ export interface components {
3076
3062
  fs?: string;
3077
3063
  /** @description Set to true to refresh entire directory trees. */
3078
3064
  recursive?: boolean;
3079
- /** @description Additional arbitrary parameters allowed. */
3080
- params?: {
3081
- [key: string]: unknown;
3082
- };
3083
3065
  /** @description Assign the request to a custom stats group. */
3084
3066
  _group?: string;
3085
3067
  /** @description Run the command asynchronously. Returns a job id immediately. */
3086
3068
  _async?: boolean;
3069
+ } & {
3070
+ [key: string]: unknown;
3087
3071
  };
3088
3072
  VfsStatsRequest: {
3089
3073
  /** @description Optional VFS identifier whose statistics should be returned. */
@@ -3095,7 +3079,7 @@ export interface components {
3095
3079
  };
3096
3080
  PluginsctlAddPluginRequest: {
3097
3081
  /** @description Repository URL of the plugin to install. */
3098
- url: string;
3082
+ url?: string;
3099
3083
  /** @description Assign the request to a custom stats group. */
3100
3084
  _group?: string;
3101
3085
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -3125,7 +3109,7 @@ export interface components {
3125
3109
  };
3126
3110
  PluginsctlRemovePluginRequest: {
3127
3111
  /** @description Name of the plugin to uninstall. */
3128
- name: string;
3112
+ name?: string;
3129
3113
  /** @description Assign the request to a custom stats group. */
3130
3114
  _group?: string;
3131
3115
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -3133,7 +3117,13 @@ export interface components {
3133
3117
  };
3134
3118
  PluginsctlRemoveTestPluginRequest: {
3135
3119
  /** @description Name of the test plugin to uninstall. */
3136
- name: string;
3120
+ name?: string;
3121
+ /** @description Assign the request to a custom stats group. */
3122
+ _group?: string;
3123
+ /** @description Run the command asynchronously. Returns a job id immediately. */
3124
+ _async?: boolean;
3125
+ };
3126
+ CoreDisksRequest: {
3137
3127
  /** @description Assign the request to a custom stats group. */
3138
3128
  _group?: string;
3139
3129
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -3178,10 +3168,24 @@ export interface components {
3178
3168
  };
3179
3169
  content: {
3180
3170
  "application/json": {
3171
+ /** @description Job ID returned when _async=true. */
3172
+ jobid?: number;
3173
+ } & {
3181
3174
  [key: string]: unknown;
3182
3175
  };
3183
3176
  };
3184
3177
  };
3178
+ /** @description Supported rclone serve protocols. */
3179
+ ServeTypesResponse: {
3180
+ headers: {
3181
+ [name: string]: unknown;
3182
+ };
3183
+ content: {
3184
+ "application/json": {
3185
+ types: string[];
3186
+ };
3187
+ };
3188
+ };
3185
3189
  /** @description Response for sync operations, containing job ID if async. */
3186
3190
  SyncJobResponse: {
3187
3191
  headers: {
@@ -3304,6 +3308,18 @@ export interface components {
3304
3308
  };
3305
3309
  };
3306
3310
  };
3311
+ /** @description Locally accessible paths including mount points, user directories, and removable volumes. */
3312
+ CoreDisksResponse: {
3313
+ headers: {
3314
+ [name: string]: unknown;
3315
+ };
3316
+ content: {
3317
+ "application/json": {
3318
+ /** @description Accessible local paths such as disk mount points, user home folders, and removable volumes. */
3319
+ disks: string[];
3320
+ };
3321
+ };
3322
+ };
3307
3323
  /** @description Disk usage summary for the requested directory. */
3308
3324
  CoreDuResponse: {
3309
3325
  headers: {
@@ -3482,11 +3498,9 @@ export interface components {
3482
3498
  };
3483
3499
  content: {
3484
3500
  "application/json": {
3485
- name: string;
3486
3501
  type: string;
3487
- provider?: string;
3488
3502
  } & {
3489
- [key: string]: unknown;
3503
+ [key: string]: string;
3490
3504
  };
3491
3505
  };
3492
3506
  };
@@ -4547,93 +4561,63 @@ export interface components {
4547
4561
  Options_InfoPostBlocksParam: string;
4548
4562
  /** @description Overrides for the `dlna` option block. */
4549
4563
  Options_SetPostDlnaParam: {
4550
- [key: string]: string | number | boolean | unknown[] | {
4551
- [key: string]: unknown;
4552
- };
4564
+ [key: string]: unknown;
4553
4565
  };
4554
4566
  /** @description Overrides for the `filter` option block. */
4555
4567
  Options_SetPostFilterParam: {
4556
- [key: string]: string | number | boolean | unknown[] | {
4557
- [key: string]: unknown;
4558
- };
4568
+ [key: string]: unknown;
4559
4569
  };
4560
4570
  /** @description Overrides for the `ftp` option block. */
4561
4571
  Options_SetPostFtpParam: {
4562
- [key: string]: string | number | boolean | unknown[] | {
4563
- [key: string]: unknown;
4564
- };
4572
+ [key: string]: unknown;
4565
4573
  };
4566
4574
  /** @description Overrides for the `main` option block. */
4567
4575
  Options_SetPostMainParam: {
4568
- [key: string]: string | number | boolean | unknown[] | {
4569
- [key: string]: unknown;
4570
- };
4576
+ [key: string]: unknown;
4571
4577
  };
4572
4578
  /** @description Overrides for the `http` option block. */
4573
4579
  Options_SetPostHttpParam: {
4574
- [key: string]: string | number | boolean | unknown[] | {
4575
- [key: string]: unknown;
4576
- };
4580
+ [key: string]: unknown;
4577
4581
  };
4578
4582
  /** @description Overrides for the `log` option block. */
4579
4583
  Options_SetPostLogParam: {
4580
- [key: string]: string | number | boolean | unknown[] | {
4581
- [key: string]: unknown;
4582
- };
4584
+ [key: string]: unknown;
4583
4585
  };
4584
4586
  /** @description Overrides for the `mount` option block. */
4585
4587
  Options_SetPostMountParam: {
4586
- [key: string]: string | number | boolean | unknown[] | {
4587
- [key: string]: unknown;
4588
- };
4588
+ [key: string]: unknown;
4589
4589
  };
4590
4590
  /** @description Overrides for the `nfs` option block. */
4591
4591
  Options_SetPostNfsParam: {
4592
- [key: string]: string | number | boolean | unknown[] | {
4593
- [key: string]: unknown;
4594
- };
4592
+ [key: string]: unknown;
4595
4593
  };
4596
4594
  /** @description Overrides for the `proxy` option block. */
4597
4595
  Options_SetPostProxyParam: {
4598
- [key: string]: string | number | boolean | unknown[] | {
4599
- [key: string]: unknown;
4600
- };
4596
+ [key: string]: unknown;
4601
4597
  };
4602
4598
  /** @description Overrides for the `rc` option block. */
4603
4599
  Options_SetPostRcParam: {
4604
- [key: string]: string | number | boolean | unknown[] | {
4605
- [key: string]: unknown;
4606
- };
4600
+ [key: string]: unknown;
4607
4601
  };
4608
4602
  /** @description Overrides for the `restic` option block. */
4609
4603
  Options_SetPostResticParam: {
4610
- [key: string]: string | number | boolean | unknown[] | {
4611
- [key: string]: unknown;
4612
- };
4604
+ [key: string]: unknown;
4613
4605
  };
4614
4606
  /** @description Overrides for the `s3` option block. */
4615
4607
  Options_SetPostS3Param: {
4616
- [key: string]: string | number | boolean | unknown[] | {
4617
- [key: string]: unknown;
4618
- };
4608
+ [key: string]: unknown;
4619
4609
  };
4620
4610
  /** @description Overrides for the `sftp` option block. */
4621
4611
  Options_SetPostSftpParam: {
4622
- [key: string]: string | number | boolean | unknown[] | {
4623
- [key: string]: unknown;
4624
- };
4612
+ [key: string]: unknown;
4625
4613
  };
4626
4614
  /** @description Overrides for the `vfs` option block. */
4627
4615
  Options_SetPostVfsParam: {
4628
- [key: string]: string | number | boolean | unknown[] | {
4629
- [key: string]: unknown;
4630
- };
4616
+ [key: string]: unknown;
4631
4617
  };
4632
4618
  /** @description Overrides for the `webdav` option block. */
4633
4619
  Options_SetPostWebdavParam: {
4634
- [key: string]: string | number | boolean | unknown[] | {
4635
- [key: string]: unknown;
4636
- };
4620
+ [key: string]: unknown;
4637
4621
  };
4638
4622
  /** @description Type of server to start (e.g. `http`, `webdav`, `ftp`, `sftp`). */
4639
4623
  Serve_StartPostTypeParam: string;
@@ -4723,9 +4707,9 @@ export interface operations {
4723
4707
  };
4724
4708
  operationsCleanup: {
4725
4709
  parameters: {
4726
- query: {
4710
+ query?: {
4727
4711
  /** @description Remote name or path to clean up, for example `drive:`. */
4728
- fs: components["parameters"]["Operations_CleanupPostFsParam"];
4712
+ fs?: components["parameters"]["Operations_CleanupPostFsParam"];
4729
4713
  /** @description Assign the request to a custom stats group. */
4730
4714
  _group?: components["parameters"]["GlobalGroupParam"];
4731
4715
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4748,15 +4732,15 @@ export interface operations {
4748
4732
  };
4749
4733
  operationsCopyfile: {
4750
4734
  parameters: {
4751
- query: {
4735
+ query?: {
4752
4736
  /** @description Source remote name or path, such as `drive:` or `/` for the local filesystem. */
4753
- srcFs: components["parameters"]["Operations_CopyfilePostSrcFsParam"];
4737
+ srcFs?: components["parameters"]["Operations_CopyfilePostSrcFsParam"];
4754
4738
  /** @description Path to the source object within `srcFs`, for example `dir/file.txt`. */
4755
- srcRemote: components["parameters"]["Operations_CopyfilePostSrcRemoteParam"];
4739
+ srcRemote?: components["parameters"]["Operations_CopyfilePostSrcRemoteParam"];
4756
4740
  /** @description Destination remote name or path, such as `drive2:` or `/` for local filesystem. */
4757
- dstFs: components["parameters"]["Operations_CopyfilePostDstFsParam"];
4741
+ dstFs?: components["parameters"]["Operations_CopyfilePostDstFsParam"];
4758
4742
  /** @description Target path within `dstFs` where the file should be written. */
4759
- dstRemote: components["parameters"]["Operations_CopyfilePostDstRemoteParam"];
4743
+ dstRemote?: components["parameters"]["Operations_CopyfilePostDstRemoteParam"];
4760
4744
  /** @description Assign the request to a custom stats group. */
4761
4745
  _group?: components["parameters"]["GlobalGroupParam"];
4762
4746
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4779,13 +4763,13 @@ export interface operations {
4779
4763
  };
4780
4764
  operationsCopyurl: {
4781
4765
  parameters: {
4782
- query: {
4766
+ query?: {
4783
4767
  /** @description Remote name or path that will receive the downloaded file, e.g. `drive:`. */
4784
- fs: components["parameters"]["Operations_CopyurlPostFsParam"];
4768
+ fs?: components["parameters"]["Operations_CopyurlPostFsParam"];
4785
4769
  /** @description Destination path within `fs` where the fetched object will be stored. */
4786
- remote: components["parameters"]["Operations_CopyurlPostRemoteParam"];
4770
+ remote?: components["parameters"]["Operations_CopyurlPostRemoteParam"];
4787
4771
  /** @description Source URL to fetch the object from. */
4788
- url: components["parameters"]["Operations_CopyurlPostUrlParam"];
4772
+ url?: components["parameters"]["Operations_CopyurlPostUrlParam"];
4789
4773
  /** @description Set to true to derive the destination filename from the URL. */
4790
4774
  autoFilename?: components["parameters"]["Operations_CopyurlPostAutoFilenameParam"];
4791
4775
  /** @description Assign the request to a custom stats group. */
@@ -4810,9 +4794,9 @@ export interface operations {
4810
4794
  };
4811
4795
  operationsDelete: {
4812
4796
  parameters: {
4813
- query: {
4797
+ query?: {
4814
4798
  /** @description Remote name or path whose contents should be removed. */
4815
- fs: components["parameters"]["Operations_DeletePostFsParam"];
4799
+ fs?: components["parameters"]["Operations_DeletePostFsParam"];
4816
4800
  /** @description JSON encoded config overrides applied for this call only. */
4817
4801
  _config?: components["parameters"]["GlobalConfigParam"];
4818
4802
  /** @description JSON encoded filter overrides applied for this call only. */
@@ -4839,11 +4823,11 @@ export interface operations {
4839
4823
  };
4840
4824
  operationsDeletefile: {
4841
4825
  parameters: {
4842
- query: {
4826
+ query?: {
4843
4827
  /** @description Remote name or path that contains the file to delete. */
4844
- fs: components["parameters"]["Operations_DeletefilePostFsParam"];
4828
+ fs?: components["parameters"]["Operations_DeletefilePostFsParam"];
4845
4829
  /** @description Exact path to the file within `fs` that should be deleted. */
4846
- remote: components["parameters"]["Operations_DeletefilePostRemoteParam"];
4830
+ remote?: components["parameters"]["Operations_DeletefilePostRemoteParam"];
4847
4831
  /** @description Assign the request to a custom stats group. */
4848
4832
  _group?: components["parameters"]["GlobalGroupParam"];
4849
4833
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4866,9 +4850,9 @@ export interface operations {
4866
4850
  };
4867
4851
  operationsFsinfo: {
4868
4852
  parameters: {
4869
- query: {
4853
+ query?: {
4870
4854
  /** @description Remote name or path to inspect, e.g. `drive:`. */
4871
- fs: components["parameters"]["Operations_FsinfoPostFsParam"];
4855
+ fs?: components["parameters"]["Operations_FsinfoPostFsParam"];
4872
4856
  /** @description Assign the request to a custom stats group. */
4873
4857
  _group?: components["parameters"]["GlobalGroupParam"];
4874
4858
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4891,11 +4875,11 @@ export interface operations {
4891
4875
  };
4892
4876
  operationsHashsum: {
4893
4877
  parameters: {
4894
- query: {
4878
+ query?: {
4895
4879
  /** @description Remote name or path to hash, such as `drive:` or `/`. */
4896
- fs: components["parameters"]["Operations_HashsumPostFsParam"];
4880
+ fs?: components["parameters"]["Operations_HashsumPostFsParam"];
4897
4881
  /** @description Hash algorithm to use, e.g. `md5`, `sha1`, or another supported name. */
4898
- hashType: components["parameters"]["Operations_HashsumPostHashTypeParam"];
4882
+ hashType?: components["parameters"]["Operations_HashsumPostHashTypeParam"];
4899
4883
  /** @description Set to true to force reading the data instead of using remote checksums. */
4900
4884
  download?: components["parameters"]["Operations_HashsumPostDownloadParam"];
4901
4885
  /** @description Set to true to emit hash values in base64 rather than hexadecimal. */
@@ -4922,13 +4906,13 @@ export interface operations {
4922
4906
  };
4923
4907
  operationsHashsumfile: {
4924
4908
  parameters: {
4925
- query: {
4909
+ query?: {
4926
4910
  /** @description Remote name or path containing the file to hash. */
4927
- fs: components["parameters"]["Operations_HashsumfilePostFsParam"];
4911
+ fs?: components["parameters"]["Operations_HashsumfilePostFsParam"];
4928
4912
  /** @description Path to the specific file within `fs` to hash. */
4929
- remote: components["parameters"]["Operations_HashsumfilePostRemoteParam"];
4913
+ remote?: components["parameters"]["Operations_HashsumfilePostRemoteParam"];
4930
4914
  /** @description Hash algorithm to use, e.g. `md5`, `sha1`, or another supported name. */
4931
- hashType: components["parameters"]["Operations_HashsumfilePostHashTypeParam"];
4915
+ hashType?: components["parameters"]["Operations_HashsumfilePostHashTypeParam"];
4932
4916
  /** @description Set to true to force reading the data instead of using remote checksums. */
4933
4917
  download?: components["parameters"]["Operations_HashsumfilePostDownloadParam"];
4934
4918
  /** @description Set to true to emit the hash value in base64 rather than hexadecimal. */
@@ -4955,15 +4939,15 @@ export interface operations {
4955
4939
  };
4956
4940
  operationsMovefile: {
4957
4941
  parameters: {
4958
- query: {
4942
+ query?: {
4959
4943
  /** @description Source remote name or path containing the file to move. */
4960
- srcFs: components["parameters"]["Operations_MovefilePostSrcFsParam"];
4944
+ srcFs?: components["parameters"]["Operations_MovefilePostSrcFsParam"];
4961
4945
  /** @description Path to the source object within `srcFs`. */
4962
- srcRemote: components["parameters"]["Operations_MovefilePostSrcRemoteParam"];
4946
+ srcRemote?: components["parameters"]["Operations_MovefilePostSrcRemoteParam"];
4963
4947
  /** @description Destination remote name or path where the file will be moved. */
4964
- dstFs: components["parameters"]["Operations_MovefilePostDstFsParam"];
4948
+ dstFs?: components["parameters"]["Operations_MovefilePostDstFsParam"];
4965
4949
  /** @description Destination path within `dstFs` for the moved object. */
4966
- dstRemote: components["parameters"]["Operations_MovefilePostDstRemoteParam"];
4950
+ dstRemote?: components["parameters"]["Operations_MovefilePostDstRemoteParam"];
4967
4951
  /** @description Assign the request to a custom stats group. */
4968
4952
  _group?: components["parameters"]["GlobalGroupParam"];
4969
4953
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4986,11 +4970,11 @@ export interface operations {
4986
4970
  };
4987
4971
  operationsPubliclink: {
4988
4972
  parameters: {
4989
- query: {
4973
+ query?: {
4990
4974
  /** @description Remote name or path hosting the object for which to manage a public link. */
4991
- fs: components["parameters"]["Operations_PubliclinkPostFsParam"];
4975
+ fs?: components["parameters"]["Operations_PubliclinkPostFsParam"];
4992
4976
  /** @description Path within `fs` to the object for which to create or remove a public link. */
4993
- remote: components["parameters"]["Operations_PubliclinkPostRemoteParam"];
4977
+ remote?: components["parameters"]["Operations_PubliclinkPostRemoteParam"];
4994
4978
  /** @description Set to true to remove an existing public link instead of creating one. */
4995
4979
  unlink?: components["parameters"]["Operations_PubliclinkPostUnlinkParam"];
4996
4980
  /** @description Optional expiration time for the public link, formatted as supported by the backend. */
@@ -5017,11 +5001,11 @@ export interface operations {
5017
5001
  };
5018
5002
  operationsRmdirs: {
5019
5003
  parameters: {
5020
- query: {
5004
+ query?: {
5021
5005
  /** @description Remote name or path to scan for empty directories. */
5022
- fs: components["parameters"]["Operations_RmdirsPostFsParam"];
5006
+ fs?: components["parameters"]["Operations_RmdirsPostFsParam"];
5023
5007
  /** @description Path within `fs` whose empty subdirectories should be removed. */
5024
- remote: components["parameters"]["Operations_RmdirsPostRemoteParam"];
5008
+ remote?: components["parameters"]["Operations_RmdirsPostRemoteParam"];
5025
5009
  /** @description Set to true to preserve the top-level directory even if empty. */
5026
5010
  leaveRoot?: components["parameters"]["Operations_RmdirsPostLeaveRootParam"];
5027
5011
  /** @description Assign the request to a custom stats group. */
@@ -5046,9 +5030,9 @@ export interface operations {
5046
5030
  };
5047
5031
  operationsSettier: {
5048
5032
  parameters: {
5049
- query: {
5033
+ query?: {
5050
5034
  /** @description Remote name or path whose storage class tier should be changed. */
5051
- fs: components["parameters"]["Operations_SettierPostFsParam"];
5035
+ fs?: components["parameters"]["Operations_SettierPostFsParam"];
5052
5036
  /** @description Assign the request to a custom stats group. */
5053
5037
  _group?: components["parameters"]["GlobalGroupParam"];
5054
5038
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5071,11 +5055,11 @@ export interface operations {
5071
5055
  };
5072
5056
  operationsSettierfile: {
5073
5057
  parameters: {
5074
- query: {
5058
+ query?: {
5075
5059
  /** @description Remote name or path that contains the object whose tier should change. */
5076
- fs: components["parameters"]["Operations_SettierfilePostFsParam"];
5060
+ fs?: components["parameters"]["Operations_SettierfilePostFsParam"];
5077
5061
  /** @description Path within `fs` to the object whose storage class tier should be updated. */
5078
- remote: components["parameters"]["Operations_SettierfilePostRemoteParam"];
5062
+ remote?: components["parameters"]["Operations_SettierfilePostRemoteParam"];
5079
5063
  /** @description Assign the request to a custom stats group. */
5080
5064
  _group?: components["parameters"]["GlobalGroupParam"];
5081
5065
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5098,9 +5082,9 @@ export interface operations {
5098
5082
  };
5099
5083
  operationsSize: {
5100
5084
  parameters: {
5101
- query: {
5085
+ query?: {
5102
5086
  /** @description Remote name or path to measure aggregate size information for. */
5103
- fs: components["parameters"]["Operations_SizePostFsParam"];
5087
+ fs?: components["parameters"]["Operations_SizePostFsParam"];
5104
5088
  /** @description Assign the request to a custom stats group. */
5105
5089
  _group?: components["parameters"]["GlobalGroupParam"];
5106
5090
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5148,9 +5132,9 @@ export interface operations {
5148
5132
  };
5149
5133
  coreCommand: {
5150
5134
  parameters: {
5151
- query: {
5135
+ query?: {
5152
5136
  /** @description Name of the rclone command to execute, for example `ls` or `lsf`. */
5153
- command: components["parameters"]["Core_CommandPostCommandParam"];
5137
+ command?: components["parameters"]["Core_CommandPostCommandParam"];
5154
5138
  /** @description Optional positional arguments for the command. Repeat to supply multiple values. */
5155
5139
  arg?: components["parameters"]["Core_CommandPostArgParam"];
5156
5140
  /** @description Optional command options encoded as a JSON string. */
@@ -5177,6 +5161,29 @@ export interface operations {
5177
5161
  "5XX": components["responses"]["RcError"];
5178
5162
  };
5179
5163
  };
5164
+ coreDisks: {
5165
+ parameters: {
5166
+ query?: {
5167
+ /** @description Assign the request to a custom stats group. */
5168
+ _group?: components["parameters"]["GlobalGroupParam"];
5169
+ /** @description Run the command asynchronously. Returns a job id immediately. */
5170
+ _async?: components["parameters"]["GlobalAsyncParam"];
5171
+ };
5172
+ header?: never;
5173
+ path?: never;
5174
+ cookie?: never;
5175
+ };
5176
+ requestBody?: {
5177
+ content: {
5178
+ "application/json": components["schemas"]["CoreDisksRequest"];
5179
+ };
5180
+ };
5181
+ responses: {
5182
+ 200: components["responses"]["CoreDisksResponse"];
5183
+ "4XX": components["responses"]["RcError"];
5184
+ "5XX": components["responses"]["RcError"];
5185
+ };
5186
+ };
5180
5187
  coreDu: {
5181
5188
  parameters: {
5182
5189
  query?: {
@@ -5293,9 +5300,9 @@ export interface operations {
5293
5300
  };
5294
5301
  coreObscure: {
5295
5302
  parameters: {
5296
- query: {
5303
+ query?: {
5297
5304
  /** @description Plain-text string to obscure for storage in the config file. */
5298
- clear: components["parameters"]["Core_ObscurePostClearParam"];
5305
+ clear?: components["parameters"]["Core_ObscurePostClearParam"];
5299
5306
  /** @description Assign the request to a custom stats group. */
5300
5307
  _group?: components["parameters"]["GlobalGroupParam"];
5301
5308
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5386,9 +5393,9 @@ export interface operations {
5386
5393
  };
5387
5394
  coreStatsDelete: {
5388
5395
  parameters: {
5389
- query: {
5396
+ query?: {
5390
5397
  /** @description Stats group identifier to remove. */
5391
- group: components["parameters"]["Core_StatsDeletePostGroupParam"];
5398
+ group?: components["parameters"]["Core_StatsDeletePostGroupParam"];
5392
5399
  /** @description Assign the request to a custom stats group. */
5393
5400
  _group?: components["parameters"]["GlobalGroupParam"];
5394
5401
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5461,9 +5468,9 @@ export interface operations {
5461
5468
  };
5462
5469
  debugSetBlockProfileRate: {
5463
5470
  parameters: {
5464
- query: {
5471
+ query?: {
5465
5472
  /** @description Sampling interval in nanoseconds for blocking profile collection; use 1 to capture all events. */
5466
- rate: components["parameters"]["Debug_SetBlockProfileRatePostRateParam"];
5473
+ rate?: components["parameters"]["Debug_SetBlockProfileRatePostRateParam"];
5467
5474
  /** @description Assign the request to a custom stats group. */
5468
5475
  _group?: components["parameters"]["GlobalGroupParam"];
5469
5476
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5486,9 +5493,9 @@ export interface operations {
5486
5493
  };
5487
5494
  debugSetGcPercent: {
5488
5495
  parameters: {
5489
- query: {
5496
+ query?: {
5490
5497
  /** @description Target percentage of newly allocated data to trigger garbage collection. */
5491
- "gc-percent": components["parameters"]["Debug_SetGcPercentPostGcPercentParam"];
5498
+ "gc-percent"?: components["parameters"]["Debug_SetGcPercentPostGcPercentParam"];
5492
5499
  /** @description Assign the request to a custom stats group. */
5493
5500
  _group?: components["parameters"]["GlobalGroupParam"];
5494
5501
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5511,9 +5518,9 @@ export interface operations {
5511
5518
  };
5512
5519
  debugSetMutexProfileFraction: {
5513
5520
  parameters: {
5514
- query: {
5521
+ query?: {
5515
5522
  /** @description Sampling fraction for mutex contention profiling; set to 0 to disable. */
5516
- rate: components["parameters"]["Debug_SetMutexProfileFractionPostRateParam"];
5523
+ rate?: components["parameters"]["Debug_SetMutexProfileFractionPostRateParam"];
5517
5524
  /** @description Assign the request to a custom stats group. */
5518
5525
  _group?: components["parameters"]["GlobalGroupParam"];
5519
5526
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5536,9 +5543,9 @@ export interface operations {
5536
5543
  };
5537
5544
  debugSetSoftMemoryLimit: {
5538
5545
  parameters: {
5539
- query: {
5546
+ query?: {
5540
5547
  /** @description Soft memory limit for the Go runtime in bytes. */
5541
- "mem-limit": components["parameters"]["Debug_SetSoftMemoryLimitPostMemLimitParam"];
5548
+ "mem-limit"?: components["parameters"]["Debug_SetSoftMemoryLimitPostMemLimitParam"];
5542
5549
  /** @description Assign the request to a custom stats group. */
5543
5550
  _group?: components["parameters"]["GlobalGroupParam"];
5544
5551
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5630,11 +5637,11 @@ export interface operations {
5630
5637
  };
5631
5638
  mountMount: {
5632
5639
  parameters: {
5633
- query: {
5640
+ query?: {
5634
5641
  /** @description Remote path to mount, such as `drive:` or `remote:subdir`. */
5635
- fs: components["parameters"]["Mount_MountPostFsParam"];
5642
+ fs?: components["parameters"]["Mount_MountPostFsParam"];
5636
5643
  /** @description Absolute local path where the remote should be mounted. */
5637
- mountPoint: components["parameters"]["Mount_MountPostMountPointParam"];
5644
+ mountPoint?: components["parameters"]["Mount_MountPostMountPointParam"];
5638
5645
  /** @description Optional mount implementation to use (`mount`, `cmount`, or `mount2`). */
5639
5646
  mountType?: components["parameters"]["Mount_MountPostMountTypeParam"];
5640
5647
  /** @description Mount options encoded as JSON, matching flags accepted by `rclone mount`. */
@@ -5690,9 +5697,9 @@ export interface operations {
5690
5697
  };
5691
5698
  mountUnmount: {
5692
5699
  parameters: {
5693
- query: {
5700
+ query?: {
5694
5701
  /** @description Local mount point path to unmount. */
5695
- mountPoint: components["parameters"]["Mount_UnmountPostMountPointParam"];
5702
+ mountPoint?: components["parameters"]["Mount_UnmountPostMountPointParam"];
5696
5703
  /** @description Assign the request to a custom stats group. */
5697
5704
  _group?: components["parameters"]["GlobalGroupParam"];
5698
5705
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5807,9 +5814,9 @@ export interface operations {
5807
5814
  };
5808
5815
  backendCommand: {
5809
5816
  parameters: {
5810
- query: {
5817
+ query?: {
5811
5818
  /** @description Backend-specific command to invoke. */
5812
- command: components["parameters"]["Backend_CommandPostCommandParam"];
5819
+ command?: components["parameters"]["Backend_CommandPostCommandParam"];
5813
5820
  /** @description Remote name or path the backend command should target. */
5814
5821
  fs?: components["parameters"]["Backend_CommandPostFsParam"];
5815
5822
  /** @description Optional positional arguments for the backend command. */
@@ -5838,9 +5845,9 @@ export interface operations {
5838
5845
  };
5839
5846
  cacheExpire: {
5840
5847
  parameters: {
5841
- query: {
5848
+ query?: {
5842
5849
  /** @description Remote path to expire from the cache, e.g. `remote:path/to/dir`. */
5843
- remote: components["parameters"]["Cache_ExpirePostRemoteParam"];
5850
+ remote?: components["parameters"]["Cache_ExpirePostRemoteParam"];
5844
5851
  /** @description Set to true to drop cached chunk data along with directory entries. */
5845
5852
  withData?: components["parameters"]["Cache_ExpirePostWithDataParam"];
5846
5853
  /** @description Assign the request to a custom stats group. */
@@ -5915,13 +5922,13 @@ export interface operations {
5915
5922
  };
5916
5923
  configCreate: {
5917
5924
  parameters: {
5918
- query: {
5925
+ query?: {
5919
5926
  /** @description Name of the new remote configuration. */
5920
- name: components["parameters"]["Config_CreatePostNameParam"];
5927
+ name?: components["parameters"]["Config_CreatePostNameParam"];
5921
5928
  /** @description JSON object of configuration key/value pairs required for the remote. */
5922
- parameters: components["parameters"]["Config_CreatePostParametersParam"];
5929
+ parameters?: components["parameters"]["Config_CreatePostParametersParam"];
5923
5930
  /** @description Backend type identifier, such as `drive`, `s3`, or `dropbox`. */
5924
- type: components["parameters"]["Config_CreatePostTypeParam"];
5931
+ type?: components["parameters"]["Config_CreatePostTypeParam"];
5925
5932
  /** @description Optional JSON object controlling interactive behaviour (e.g. `obscure`, `continue`). */
5926
5933
  opt?: components["parameters"]["Config_CreatePostOptParam"];
5927
5934
  /** @description Assign the request to a custom stats group. */
@@ -5946,9 +5953,9 @@ export interface operations {
5946
5953
  };
5947
5954
  configDelete: {
5948
5955
  parameters: {
5949
- query: {
5956
+ query?: {
5950
5957
  /** @description Name of the remote configuration to delete. */
5951
- name: components["parameters"]["Config_DeletePostNameParam"];
5958
+ name?: components["parameters"]["Config_DeletePostNameParam"];
5952
5959
  /** @description Assign the request to a custom stats group. */
5953
5960
  _group?: components["parameters"]["GlobalGroupParam"];
5954
5961
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5994,9 +6001,9 @@ export interface operations {
5994
6001
  };
5995
6002
  configGet: {
5996
6003
  parameters: {
5997
- query: {
6004
+ query?: {
5998
6005
  /** @description Name of the remote configuration to fetch. */
5999
- name: components["parameters"]["Config_GetPostNameParam"];
6006
+ name?: components["parameters"]["Config_GetPostNameParam"];
6000
6007
  /** @description Assign the request to a custom stats group. */
6001
6008
  _group?: components["parameters"]["GlobalGroupParam"];
6002
6009
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -6042,11 +6049,11 @@ export interface operations {
6042
6049
  };
6043
6050
  configPassword: {
6044
6051
  parameters: {
6045
- query: {
6052
+ query?: {
6046
6053
  /** @description Name of the remote whose secrets should be updated. */
6047
- name: components["parameters"]["Config_PasswordPostNameParam"];
6054
+ name?: components["parameters"]["Config_PasswordPostNameParam"];
6048
6055
  /** @description JSON object of password answers, typically including `pass`. */
6049
- parameters: components["parameters"]["Config_PasswordPostParametersParam"];
6056
+ parameters?: components["parameters"]["Config_PasswordPostParametersParam"];
6050
6057
  /** @description Assign the request to a custom stats group. */
6051
6058
  _group?: components["parameters"]["GlobalGroupParam"];
6052
6059
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -6115,9 +6122,9 @@ export interface operations {
6115
6122
  };
6116
6123
  configSetpath: {
6117
6124
  parameters: {
6118
- query: {
6125
+ query?: {
6119
6126
  /** @description Absolute path to the `rclone.conf` file that rclone should use. */
6120
- path: components["parameters"]["Config_SetpathPostPathParam"];
6127
+ path?: components["parameters"]["Config_SetpathPostPathParam"];
6121
6128
  /** @description Assign the request to a custom stats group. */
6122
6129
  _group?: components["parameters"]["GlobalGroupParam"];
6123
6130
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -6140,9 +6147,9 @@ export interface operations {
6140
6147
  };
6141
6148
  configUnlock: {
6142
6149
  parameters: {
6143
- query: {
6150
+ query?: {
6144
6151
  /** @description Password used to unlock an encrypted config file. */
6145
- configPassword: components["parameters"]["Config_UnlockPostConfigPasswordParam"];
6152
+ configPassword?: components["parameters"]["Config_UnlockPostConfigPasswordParam"];
6146
6153
  /** @description Assign the request to a custom stats group. */
6147
6154
  _group?: components["parameters"]["GlobalGroupParam"];
6148
6155
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -6165,11 +6172,11 @@ export interface operations {
6165
6172
  };
6166
6173
  configUpdate: {
6167
6174
  parameters: {
6168
- query: {
6175
+ query?: {
6169
6176
  /** @description Name of the remote configuration to update. */
6170
- name: components["parameters"]["Config_UpdatePostNameParam"];
6177
+ name?: components["parameters"]["Config_UpdatePostNameParam"];
6171
6178
  /** @description JSON object of configuration key/value pairs to apply to the remote. */
6172
- parameters: components["parameters"]["Config_UpdatePostParametersParam"];
6179
+ parameters?: components["parameters"]["Config_UpdatePostParametersParam"];
6173
6180
  /** @description Optional JSON object controlling update behaviour (e.g. `obscure`, `continue`). */
6174
6181
  opt?: components["parameters"]["Config_UpdatePostOptParam"];
6175
6182
  /** @description Assign the request to a custom stats group. */
@@ -6290,9 +6297,9 @@ export interface operations {
6290
6297
  };
6291
6298
  jobStatus: {
6292
6299
  parameters: {
6293
- query: {
6300
+ query?: {
6294
6301
  /** @description Numeric identifier of the job to query, as returned from an async call. */
6295
- jobid: components["parameters"]["Job_StatusPostJobidParam"];
6302
+ jobid?: components["parameters"]["Job_StatusPostJobidParam"];
6296
6303
  /** @description Run the command asynchronously. Returns a job id immediately. */
6297
6304
  _async?: components["parameters"]["GlobalAsyncParam"];
6298
6305
  };
@@ -6313,9 +6320,9 @@ export interface operations {
6313
6320
  };
6314
6321
  jobStop: {
6315
6322
  parameters: {
6316
- query: {
6323
+ query?: {
6317
6324
  /** @description Numeric identifier of the job to cancel. */
6318
- jobid: components["parameters"]["Job_StopPostJobidParam"];
6325
+ jobid?: components["parameters"]["Job_StopPostJobidParam"];
6319
6326
  /** @description Run the command asynchronously. Returns a job id immediately. */
6320
6327
  _async?: components["parameters"]["GlobalAsyncParam"];
6321
6328
  };
@@ -6336,9 +6343,9 @@ export interface operations {
6336
6343
  };
6337
6344
  jobStopgroup: {
6338
6345
  parameters: {
6339
- query: {
6346
+ query?: {
6340
6347
  /** @description Stats group name whose active jobs should be stopped. */
6341
- group: components["parameters"]["Job_StopgroupPostGroupParam"];
6348
+ group?: components["parameters"]["Job_StopgroupPostGroupParam"];
6342
6349
  /** @description Run the command asynchronously. Returns a job id immediately. */
6343
6350
  _async?: components["parameters"]["GlobalAsyncParam"];
6344
6351
  };
@@ -6359,11 +6366,11 @@ export interface operations {
6359
6366
  };
6360
6367
  operationsList: {
6361
6368
  parameters: {
6362
- query: {
6369
+ query?: {
6363
6370
  /** @description Remote name or path to list, for example `drive:`. */
6364
- fs: components["parameters"]["Operations_ListPostFsParam"];
6371
+ fs?: components["parameters"]["Operations_ListPostFsParam"];
6365
6372
  /** @description Directory path within `fs` to list; leave empty to target the root. */
6366
- remote: components["parameters"]["Operations_ListPostRemoteParam"];
6373
+ remote?: components["parameters"]["Operations_ListPostRemoteParam"];
6367
6374
  /** @description Optional JSON-encoded object of listing flags (e.g. `{ "recurse": true, "showHash": true }`). */
6368
6375
  opt?: components["parameters"]["Operations_ListPostOptParam"];
6369
6376
  /** @description Set to true to list directories recursively. */
@@ -6408,11 +6415,11 @@ export interface operations {
6408
6415
  };
6409
6416
  operationsStat: {
6410
6417
  parameters: {
6411
- query: {
6418
+ query?: {
6412
6419
  /** @description Remote name or path that contains the item to inspect. */
6413
- fs: components["parameters"]["Operations_StatPostFsParam"];
6420
+ fs?: components["parameters"]["Operations_StatPostFsParam"];
6414
6421
  /** @description Path to the file or directory within `fs` to describe. */
6415
- remote: components["parameters"]["Operations_StatPostRemoteParam"];
6422
+ remote?: components["parameters"]["Operations_StatPostRemoteParam"];
6416
6423
  /** @description Optional JSON object of listing flags, matching those accepted by `operations/list`. */
6417
6424
  opt?: components["parameters"]["Operations_StatPostOptParam"];
6418
6425
  /** @description Assign the request to a custom stats group. */
@@ -6437,9 +6444,9 @@ export interface operations {
6437
6444
  };
6438
6445
  operationsAbout: {
6439
6446
  parameters: {
6440
- query: {
6447
+ query?: {
6441
6448
  /** @description Remote name or path to query for capacity information. */
6442
- fs: components["parameters"]["Operations_AboutPostFsParam"];
6449
+ fs?: components["parameters"]["Operations_AboutPostFsParam"];
6443
6450
  /** @description Assign the request to a custom stats group. */
6444
6451
  _group?: components["parameters"]["GlobalGroupParam"];
6445
6452
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -6462,11 +6469,11 @@ export interface operations {
6462
6469
  };
6463
6470
  operationsUploadfile: {
6464
6471
  parameters: {
6465
- query: {
6472
+ query?: {
6466
6473
  /** @description Remote name or path where the uploaded file should be stored. */
6467
- fs: components["parameters"]["Operations_UploadfilePostFsParam"];
6474
+ fs?: components["parameters"]["Operations_UploadfilePostFsParam"];
6468
6475
  /** @description Destination path within `fs` for the uploaded file. */
6469
- remote: components["parameters"]["Operations_UploadfilePostRemoteParam"];
6476
+ remote?: components["parameters"]["Operations_UploadfilePostRemoteParam"];
6470
6477
  /** @description Assign the request to a custom stats group. */
6471
6478
  _group?: components["parameters"]["GlobalGroupParam"];
6472
6479
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -6490,11 +6497,11 @@ export interface operations {
6490
6497
  };
6491
6498
  operationsPurge: {
6492
6499
  parameters: {
6493
- query: {
6500
+ query?: {
6494
6501
  /** @description Remote name or path from which to remove all contents. */
6495
- fs: components["parameters"]["Operations_PurgePostFsParam"];
6502
+ fs?: components["parameters"]["Operations_PurgePostFsParam"];
6496
6503
  /** @description Path within `fs` whose contents should be purged. */
6497
- remote: components["parameters"]["Operations_PurgePostRemoteParam"];
6504
+ remote?: components["parameters"]["Operations_PurgePostRemoteParam"];
6498
6505
  /** @description JSON encoded config overrides applied for this call only. */
6499
6506
  _config?: components["parameters"]["GlobalConfigParam"];
6500
6507
  /** @description JSON encoded filter overrides applied for this call only. */
@@ -6521,11 +6528,11 @@ export interface operations {
6521
6528
  };
6522
6529
  operationsMkdir: {
6523
6530
  parameters: {
6524
- query: {
6531
+ query?: {
6525
6532
  /** @description Remote name or path in which to create a directory. */
6526
- fs: components["parameters"]["Operations_MkdirPostFsParam"];
6533
+ fs?: components["parameters"]["Operations_MkdirPostFsParam"];
6527
6534
  /** @description Directory path within `fs` to create. */
6528
- remote: components["parameters"]["Operations_MkdirPostRemoteParam"];
6535
+ remote?: components["parameters"]["Operations_MkdirPostRemoteParam"];
6529
6536
  /** @description Assign the request to a custom stats group. */
6530
6537
  _group?: components["parameters"]["GlobalGroupParam"];
6531
6538
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -6548,11 +6555,11 @@ export interface operations {
6548
6555
  };
6549
6556
  operationsRmdir: {
6550
6557
  parameters: {
6551
- query: {
6558
+ query?: {
6552
6559
  /** @description Remote name or path containing the directory to remove. */
6553
- fs: components["parameters"]["Operations_RmdirPostFsParam"];
6560
+ fs?: components["parameters"]["Operations_RmdirPostFsParam"];
6554
6561
  /** @description Directory path within `fs` to delete. */
6555
- remote: components["parameters"]["Operations_RmdirPostRemoteParam"];
6562
+ remote?: components["parameters"]["Operations_RmdirPostRemoteParam"];
6556
6563
  /** @description Assign the request to a custom stats group. */
6557
6564
  _group?: components["parameters"]["GlobalGroupParam"];
6558
6565
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -6575,11 +6582,11 @@ export interface operations {
6575
6582
  };
6576
6583
  operationsCheck: {
6577
6584
  parameters: {
6578
- query: {
6585
+ query?: {
6579
6586
  /** @description Source remote name or path to verify, e.g. `drive:`. */
6580
- srcFs: components["parameters"]["Operations_CheckPostSrcFsParam"];
6587
+ srcFs?: components["parameters"]["Operations_CheckPostSrcFsParam"];
6581
6588
  /** @description Destination remote name or path that should match the source. */
6582
- dstFs: components["parameters"]["Operations_CheckPostDstFsParam"];
6589
+ dstFs?: components["parameters"]["Operations_CheckPostDstFsParam"];
6583
6590
  /** @description Set to true to read file contents during comparison instead of relying on hashes. */
6584
6591
  download?: components["parameters"]["Operations_CheckPostDownloadParam"];
6585
6592
  /** @description Hash name to expect in the supplied SUM file, such as `md5`. */
@@ -6624,11 +6631,11 @@ export interface operations {
6624
6631
  };
6625
6632
  syncSync: {
6626
6633
  parameters: {
6627
- query: {
6634
+ query?: {
6628
6635
  /** @description Source remote path to sync from, e.g. `drive:src`. */
6629
- srcFs: components["parameters"]["Sync_SyncPostSrcFsParam"];
6636
+ srcFs?: components["parameters"]["Sync_SyncPostSrcFsParam"];
6630
6637
  /** @description Destination remote path to sync to, e.g. `drive:dst`. */
6631
- dstFs: components["parameters"]["Sync_SyncPostDstFsParam"];
6638
+ dstFs?: components["parameters"]["Sync_SyncPostDstFsParam"];
6632
6639
  /** @description Set to true to create empty source directories on the destination. */
6633
6640
  createEmptySrcDirs?: components["parameters"]["Sync_SyncPostCreateEmptySrcDirsParam"];
6634
6641
  /** @description JSON encoded config overrides applied for this call only. */
@@ -6657,11 +6664,11 @@ export interface operations {
6657
6664
  };
6658
6665
  syncCopy: {
6659
6666
  parameters: {
6660
- query: {
6667
+ query?: {
6661
6668
  /** @description Source remote path to copy from. */
6662
- srcFs: components["parameters"]["Sync_CopyPostSrcFsParam"];
6669
+ srcFs?: components["parameters"]["Sync_CopyPostSrcFsParam"];
6663
6670
  /** @description Destination remote path to copy to. */
6664
- dstFs: components["parameters"]["Sync_CopyPostDstFsParam"];
6671
+ dstFs?: components["parameters"]["Sync_CopyPostDstFsParam"];
6665
6672
  /** @description Set to true to replicate empty source directories on the destination. */
6666
6673
  createEmptySrcDirs?: components["parameters"]["Sync_CopyPostCreateEmptySrcDirsParam"];
6667
6674
  /** @description JSON encoded config overrides applied for this call only. */
@@ -6690,11 +6697,11 @@ export interface operations {
6690
6697
  };
6691
6698
  syncMove: {
6692
6699
  parameters: {
6693
- query: {
6700
+ query?: {
6694
6701
  /** @description Source remote path whose contents will be moved. */
6695
- srcFs: components["parameters"]["Sync_MovePostSrcFsParam"];
6702
+ srcFs?: components["parameters"]["Sync_MovePostSrcFsParam"];
6696
6703
  /** @description Destination remote path that will receive moved files. */
6697
- dstFs: components["parameters"]["Sync_MovePostDstFsParam"];
6704
+ dstFs?: components["parameters"]["Sync_MovePostDstFsParam"];
6698
6705
  /** @description Set to true to create empty source directories on the destination. */
6699
6706
  createEmptySrcDirs?: components["parameters"]["Sync_MovePostCreateEmptySrcDirsParam"];
6700
6707
  /** @description Set to true to delete empty directories from the source after the move completes. */
@@ -6725,11 +6732,11 @@ export interface operations {
6725
6732
  };
6726
6733
  syncBisync: {
6727
6734
  parameters: {
6728
- query: {
6735
+ query?: {
6729
6736
  /** @description First remote directory, e.g. `drive:path1`. */
6730
- path1: components["parameters"]["Sync_BisyncPostPath1Param"];
6737
+ path1?: components["parameters"]["Sync_BisyncPostPath1Param"];
6731
6738
  /** @description Second remote directory, e.g. `drive:path2`. */
6732
- path2: components["parameters"]["Sync_BisyncPostPath2Param"];
6739
+ path2?: components["parameters"]["Sync_BisyncPostPath2Param"];
6733
6740
  /** @description Set to true to simulate the bisync run without making changes. */
6734
6741
  dryRun?: components["parameters"]["Sync_BisyncPostDryRunParam"];
6735
6742
  /** @description Set to true to perform a one-time resync, rebuilding bisync history. */
@@ -6960,13 +6967,13 @@ export interface operations {
6960
6967
  };
6961
6968
  serveStart: {
6962
6969
  parameters: {
6963
- query: {
6970
+ query?: {
6964
6971
  /** @description Type of server to start (e.g. `http`, `webdav`, `ftp`, `sftp`). */
6965
- type: components["parameters"]["Serve_StartPostTypeParam"];
6972
+ type?: components["parameters"]["Serve_StartPostTypeParam"];
6966
6973
  /** @description Remote path that will be served. */
6967
- fs: components["parameters"]["Serve_StartPostFsParam"];
6974
+ fs?: components["parameters"]["Serve_StartPostFsParam"];
6968
6975
  /** @description Address and port to bind the server to, such as `:5572` or `localhost:8080`. */
6969
- addr: components["parameters"]["Serve_StartPostAddrParam"];
6976
+ addr?: components["parameters"]["Serve_StartPostAddrParam"];
6970
6977
  /** @description Additional arbitrary parameters allowed. */
6971
6978
  params?: components["parameters"]["Serve_StartPostAdditionalParam"];
6972
6979
  /** @description JSON encoded config overrides applied for this call only. */
@@ -6995,9 +7002,9 @@ export interface operations {
6995
7002
  };
6996
7003
  serveStop: {
6997
7004
  parameters: {
6998
- query: {
7005
+ query?: {
6999
7006
  /** @description Identifier of the running serve instance returned by `serve/start`. */
7000
- id: components["parameters"]["Serve_StopPostIdParam"];
7007
+ id?: components["parameters"]["Serve_StopPostIdParam"];
7001
7008
  /** @description Assign the request to a custom stats group. */
7002
7009
  _group?: components["parameters"]["GlobalGroupParam"];
7003
7010
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -7059,7 +7066,7 @@ export interface operations {
7059
7066
  };
7060
7067
  };
7061
7068
  responses: {
7062
- 200: components["responses"]["EmptyResponse"];
7069
+ 200: components["responses"]["ServeTypesResponse"];
7063
7070
  "4XX": components["responses"]["RcError"];
7064
7071
  "5XX": components["responses"]["RcError"];
7065
7072
  };
@@ -7172,13 +7179,13 @@ export interface operations {
7172
7179
  };
7173
7180
  vfsQueueSetExpiry: {
7174
7181
  parameters: {
7175
- query: {
7182
+ query?: {
7176
7183
  /** @description Optional VFS identifier for the queued item. */
7177
7184
  fs?: components["parameters"]["Vfs_QueueSetExpiryPostFsParam"];
7178
7185
  /** @description Queue item ID as returned by `vfs/queue`. */
7179
- id: components["parameters"]["Vfs_QueueSetExpiryPostIdParam"];
7186
+ id?: components["parameters"]["Vfs_QueueSetExpiryPostIdParam"];
7180
7187
  /** @description New eligibility time in seconds (may be negative for immediate upload). */
7181
- expiry: components["parameters"]["Vfs_QueueSetExpiryPostExpiryParam"];
7188
+ expiry?: components["parameters"]["Vfs_QueueSetExpiryPostExpiryParam"];
7182
7189
  /** @description Set to true to treat `expiry` as relative to the current value. */
7183
7190
  relative?: components["parameters"]["Vfs_QueueSetExpiryPostRelativeParam"];
7184
7191
  /** @description Assign the request to a custom stats group. */
@@ -7257,9 +7264,9 @@ export interface operations {
7257
7264
  };
7258
7265
  pluginsctlAddPlugin: {
7259
7266
  parameters: {
7260
- query: {
7267
+ query?: {
7261
7268
  /** @description Repository URL of the plugin to install. */
7262
- url: components["parameters"]["Pluginsctl_AddPluginPostUrlParam"];
7269
+ url?: components["parameters"]["Pluginsctl_AddPluginPostUrlParam"];
7263
7270
  /** @description Assign the request to a custom stats group. */
7264
7271
  _group?: components["parameters"]["GlobalGroupParam"];
7265
7272
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -7355,9 +7362,9 @@ export interface operations {
7355
7362
  };
7356
7363
  pluginsctlRemovePlugin: {
7357
7364
  parameters: {
7358
- query: {
7365
+ query?: {
7359
7366
  /** @description Name of the plugin to uninstall. */
7360
- name: components["parameters"]["Pluginsctl_RemovePluginPostNameParam"];
7367
+ name?: components["parameters"]["Pluginsctl_RemovePluginPostNameParam"];
7361
7368
  /** @description Assign the request to a custom stats group. */
7362
7369
  _group?: components["parameters"]["GlobalGroupParam"];
7363
7370
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -7380,9 +7387,9 @@ export interface operations {
7380
7387
  };
7381
7388
  pluginsctlRemoveTestPlugin: {
7382
7389
  parameters: {
7383
- query: {
7390
+ query?: {
7384
7391
  /** @description Name of the test plugin to uninstall. */
7385
- name: components["parameters"]["Pluginsctl_RemoveTestPluginPostNameParam"];
7392
+ name?: components["parameters"]["Pluginsctl_RemoveTestPluginPostNameParam"];
7386
7393
  /** @description Assign the request to a custom stats group. */
7387
7394
  _group?: components["parameters"]["GlobalGroupParam"];
7388
7395
  /** @description Run the command asynchronously. Returns a job id immediately. */