rclone-openapi 1.73.4 → 1.74.1

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 +397 -1262
  2. package/openapi.yaml +266 -509
  3. package/package.json +4 -4
  4. package/types.d.ts +355 -355
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;
@@ -1999,7 +2019,7 @@ export interface components {
1999
2019
  Value: boolean;
2000
2020
  Valid: boolean;
2001
2021
  };
2002
- Value: (boolean | number) | null;
2022
+ Value: boolean | number | null;
2003
2023
  Hide: number;
2004
2024
  Required: boolean;
2005
2025
  IsPassword: boolean;
@@ -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
  };
@@ -3900,11 +3914,9 @@ export interface components {
3900
3914
  DataRateUnit: string;
3901
3915
  DefaultTime: string;
3902
3916
  DeleteMode: number;
3903
- /** Format: null */
3904
3917
  DisableFeatures: string | null;
3905
3918
  DisableHTTP2: boolean;
3906
3919
  DisableHTTPKeepAlives: boolean;
3907
- /** Format: null */
3908
3920
  DownloadHeaders: string | null;
3909
3921
  DryRun: boolean;
3910
3922
  Dump: string;
@@ -3913,7 +3925,6 @@ export interface components {
3913
3925
  FixCase: boolean;
3914
3926
  FsCacheExpireDuration: number;
3915
3927
  FsCacheExpireInterval: number;
3916
- /** Format: null */
3917
3928
  Headers: string | null;
3918
3929
  HumanReadable: boolean;
3919
3930
  IgnoreCaseSync: boolean;
@@ -3939,9 +3950,7 @@ export interface components {
3939
3950
  MaxStatsGroups: number;
3940
3951
  MaxTransfer: number;
3941
3952
  Metadata: boolean;
3942
- /** Format: null */
3943
3953
  MetadataMapper: string | null;
3944
- /** Format: null */
3945
3954
  MetadataSet: string | null;
3946
3955
  ModifyWindow: number;
3947
3956
  MultiThreadChunkSize: number;
@@ -3958,7 +3967,6 @@ export interface components {
3958
3967
  NoUpdateModTime: boolean;
3959
3968
  OrderBy: string;
3960
3969
  PartialSuffix: string;
3961
- /** Format: null */
3962
3970
  PasswordCommand: string | null;
3963
3971
  Progress: boolean;
3964
3972
  ProgressTerminalTitle: boolean;
@@ -3984,7 +3992,6 @@ export interface components {
3984
3992
  TrafficClass: number;
3985
3993
  Transfers: number;
3986
3994
  UpdateOlder: boolean;
3987
- /** Format: null */
3988
3995
  UploadHeaders: string | null;
3989
3996
  UseJSONLog: boolean;
3990
3997
  UseListR: boolean;
@@ -4547,93 +4554,63 @@ export interface components {
4547
4554
  Options_InfoPostBlocksParam: string;
4548
4555
  /** @description Overrides for the `dlna` option block. */
4549
4556
  Options_SetPostDlnaParam: {
4550
- [key: string]: string | number | boolean | unknown[] | {
4551
- [key: string]: unknown;
4552
- };
4557
+ [key: string]: unknown;
4553
4558
  };
4554
4559
  /** @description Overrides for the `filter` option block. */
4555
4560
  Options_SetPostFilterParam: {
4556
- [key: string]: string | number | boolean | unknown[] | {
4557
- [key: string]: unknown;
4558
- };
4561
+ [key: string]: unknown;
4559
4562
  };
4560
4563
  /** @description Overrides for the `ftp` option block. */
4561
4564
  Options_SetPostFtpParam: {
4562
- [key: string]: string | number | boolean | unknown[] | {
4563
- [key: string]: unknown;
4564
- };
4565
+ [key: string]: unknown;
4565
4566
  };
4566
4567
  /** @description Overrides for the `main` option block. */
4567
4568
  Options_SetPostMainParam: {
4568
- [key: string]: string | number | boolean | unknown[] | {
4569
- [key: string]: unknown;
4570
- };
4569
+ [key: string]: unknown;
4571
4570
  };
4572
4571
  /** @description Overrides for the `http` option block. */
4573
4572
  Options_SetPostHttpParam: {
4574
- [key: string]: string | number | boolean | unknown[] | {
4575
- [key: string]: unknown;
4576
- };
4573
+ [key: string]: unknown;
4577
4574
  };
4578
4575
  /** @description Overrides for the `log` option block. */
4579
4576
  Options_SetPostLogParam: {
4580
- [key: string]: string | number | boolean | unknown[] | {
4581
- [key: string]: unknown;
4582
- };
4577
+ [key: string]: unknown;
4583
4578
  };
4584
4579
  /** @description Overrides for the `mount` option block. */
4585
4580
  Options_SetPostMountParam: {
4586
- [key: string]: string | number | boolean | unknown[] | {
4587
- [key: string]: unknown;
4588
- };
4581
+ [key: string]: unknown;
4589
4582
  };
4590
4583
  /** @description Overrides for the `nfs` option block. */
4591
4584
  Options_SetPostNfsParam: {
4592
- [key: string]: string | number | boolean | unknown[] | {
4593
- [key: string]: unknown;
4594
- };
4585
+ [key: string]: unknown;
4595
4586
  };
4596
4587
  /** @description Overrides for the `proxy` option block. */
4597
4588
  Options_SetPostProxyParam: {
4598
- [key: string]: string | number | boolean | unknown[] | {
4599
- [key: string]: unknown;
4600
- };
4589
+ [key: string]: unknown;
4601
4590
  };
4602
4591
  /** @description Overrides for the `rc` option block. */
4603
4592
  Options_SetPostRcParam: {
4604
- [key: string]: string | number | boolean | unknown[] | {
4605
- [key: string]: unknown;
4606
- };
4593
+ [key: string]: unknown;
4607
4594
  };
4608
4595
  /** @description Overrides for the `restic` option block. */
4609
4596
  Options_SetPostResticParam: {
4610
- [key: string]: string | number | boolean | unknown[] | {
4611
- [key: string]: unknown;
4612
- };
4597
+ [key: string]: unknown;
4613
4598
  };
4614
4599
  /** @description Overrides for the `s3` option block. */
4615
4600
  Options_SetPostS3Param: {
4616
- [key: string]: string | number | boolean | unknown[] | {
4617
- [key: string]: unknown;
4618
- };
4601
+ [key: string]: unknown;
4619
4602
  };
4620
4603
  /** @description Overrides for the `sftp` option block. */
4621
4604
  Options_SetPostSftpParam: {
4622
- [key: string]: string | number | boolean | unknown[] | {
4623
- [key: string]: unknown;
4624
- };
4605
+ [key: string]: unknown;
4625
4606
  };
4626
4607
  /** @description Overrides for the `vfs` option block. */
4627
4608
  Options_SetPostVfsParam: {
4628
- [key: string]: string | number | boolean | unknown[] | {
4629
- [key: string]: unknown;
4630
- };
4609
+ [key: string]: unknown;
4631
4610
  };
4632
4611
  /** @description Overrides for the `webdav` option block. */
4633
4612
  Options_SetPostWebdavParam: {
4634
- [key: string]: string | number | boolean | unknown[] | {
4635
- [key: string]: unknown;
4636
- };
4613
+ [key: string]: unknown;
4637
4614
  };
4638
4615
  /** @description Type of server to start (e.g. `http`, `webdav`, `ftp`, `sftp`). */
4639
4616
  Serve_StartPostTypeParam: string;
@@ -4723,9 +4700,9 @@ export interface operations {
4723
4700
  };
4724
4701
  operationsCleanup: {
4725
4702
  parameters: {
4726
- query: {
4703
+ query?: {
4727
4704
  /** @description Remote name or path to clean up, for example `drive:`. */
4728
- fs: components["parameters"]["Operations_CleanupPostFsParam"];
4705
+ fs?: components["parameters"]["Operations_CleanupPostFsParam"];
4729
4706
  /** @description Assign the request to a custom stats group. */
4730
4707
  _group?: components["parameters"]["GlobalGroupParam"];
4731
4708
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4748,15 +4725,15 @@ export interface operations {
4748
4725
  };
4749
4726
  operationsCopyfile: {
4750
4727
  parameters: {
4751
- query: {
4728
+ query?: {
4752
4729
  /** @description Source remote name or path, such as `drive:` or `/` for the local filesystem. */
4753
- srcFs: components["parameters"]["Operations_CopyfilePostSrcFsParam"];
4730
+ srcFs?: components["parameters"]["Operations_CopyfilePostSrcFsParam"];
4754
4731
  /** @description Path to the source object within `srcFs`, for example `dir/file.txt`. */
4755
- srcRemote: components["parameters"]["Operations_CopyfilePostSrcRemoteParam"];
4732
+ srcRemote?: components["parameters"]["Operations_CopyfilePostSrcRemoteParam"];
4756
4733
  /** @description Destination remote name or path, such as `drive2:` or `/` for local filesystem. */
4757
- dstFs: components["parameters"]["Operations_CopyfilePostDstFsParam"];
4734
+ dstFs?: components["parameters"]["Operations_CopyfilePostDstFsParam"];
4758
4735
  /** @description Target path within `dstFs` where the file should be written. */
4759
- dstRemote: components["parameters"]["Operations_CopyfilePostDstRemoteParam"];
4736
+ dstRemote?: components["parameters"]["Operations_CopyfilePostDstRemoteParam"];
4760
4737
  /** @description Assign the request to a custom stats group. */
4761
4738
  _group?: components["parameters"]["GlobalGroupParam"];
4762
4739
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4779,13 +4756,13 @@ export interface operations {
4779
4756
  };
4780
4757
  operationsCopyurl: {
4781
4758
  parameters: {
4782
- query: {
4759
+ query?: {
4783
4760
  /** @description Remote name or path that will receive the downloaded file, e.g. `drive:`. */
4784
- fs: components["parameters"]["Operations_CopyurlPostFsParam"];
4761
+ fs?: components["parameters"]["Operations_CopyurlPostFsParam"];
4785
4762
  /** @description Destination path within `fs` where the fetched object will be stored. */
4786
- remote: components["parameters"]["Operations_CopyurlPostRemoteParam"];
4763
+ remote?: components["parameters"]["Operations_CopyurlPostRemoteParam"];
4787
4764
  /** @description Source URL to fetch the object from. */
4788
- url: components["parameters"]["Operations_CopyurlPostUrlParam"];
4765
+ url?: components["parameters"]["Operations_CopyurlPostUrlParam"];
4789
4766
  /** @description Set to true to derive the destination filename from the URL. */
4790
4767
  autoFilename?: components["parameters"]["Operations_CopyurlPostAutoFilenameParam"];
4791
4768
  /** @description Assign the request to a custom stats group. */
@@ -4810,9 +4787,9 @@ export interface operations {
4810
4787
  };
4811
4788
  operationsDelete: {
4812
4789
  parameters: {
4813
- query: {
4790
+ query?: {
4814
4791
  /** @description Remote name or path whose contents should be removed. */
4815
- fs: components["parameters"]["Operations_DeletePostFsParam"];
4792
+ fs?: components["parameters"]["Operations_DeletePostFsParam"];
4816
4793
  /** @description JSON encoded config overrides applied for this call only. */
4817
4794
  _config?: components["parameters"]["GlobalConfigParam"];
4818
4795
  /** @description JSON encoded filter overrides applied for this call only. */
@@ -4839,11 +4816,11 @@ export interface operations {
4839
4816
  };
4840
4817
  operationsDeletefile: {
4841
4818
  parameters: {
4842
- query: {
4819
+ query?: {
4843
4820
  /** @description Remote name or path that contains the file to delete. */
4844
- fs: components["parameters"]["Operations_DeletefilePostFsParam"];
4821
+ fs?: components["parameters"]["Operations_DeletefilePostFsParam"];
4845
4822
  /** @description Exact path to the file within `fs` that should be deleted. */
4846
- remote: components["parameters"]["Operations_DeletefilePostRemoteParam"];
4823
+ remote?: components["parameters"]["Operations_DeletefilePostRemoteParam"];
4847
4824
  /** @description Assign the request to a custom stats group. */
4848
4825
  _group?: components["parameters"]["GlobalGroupParam"];
4849
4826
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4866,9 +4843,9 @@ export interface operations {
4866
4843
  };
4867
4844
  operationsFsinfo: {
4868
4845
  parameters: {
4869
- query: {
4846
+ query?: {
4870
4847
  /** @description Remote name or path to inspect, e.g. `drive:`. */
4871
- fs: components["parameters"]["Operations_FsinfoPostFsParam"];
4848
+ fs?: components["parameters"]["Operations_FsinfoPostFsParam"];
4872
4849
  /** @description Assign the request to a custom stats group. */
4873
4850
  _group?: components["parameters"]["GlobalGroupParam"];
4874
4851
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4891,11 +4868,11 @@ export interface operations {
4891
4868
  };
4892
4869
  operationsHashsum: {
4893
4870
  parameters: {
4894
- query: {
4871
+ query?: {
4895
4872
  /** @description Remote name or path to hash, such as `drive:` or `/`. */
4896
- fs: components["parameters"]["Operations_HashsumPostFsParam"];
4873
+ fs?: components["parameters"]["Operations_HashsumPostFsParam"];
4897
4874
  /** @description Hash algorithm to use, e.g. `md5`, `sha1`, or another supported name. */
4898
- hashType: components["parameters"]["Operations_HashsumPostHashTypeParam"];
4875
+ hashType?: components["parameters"]["Operations_HashsumPostHashTypeParam"];
4899
4876
  /** @description Set to true to force reading the data instead of using remote checksums. */
4900
4877
  download?: components["parameters"]["Operations_HashsumPostDownloadParam"];
4901
4878
  /** @description Set to true to emit hash values in base64 rather than hexadecimal. */
@@ -4922,13 +4899,13 @@ export interface operations {
4922
4899
  };
4923
4900
  operationsHashsumfile: {
4924
4901
  parameters: {
4925
- query: {
4902
+ query?: {
4926
4903
  /** @description Remote name or path containing the file to hash. */
4927
- fs: components["parameters"]["Operations_HashsumfilePostFsParam"];
4904
+ fs?: components["parameters"]["Operations_HashsumfilePostFsParam"];
4928
4905
  /** @description Path to the specific file within `fs` to hash. */
4929
- remote: components["parameters"]["Operations_HashsumfilePostRemoteParam"];
4906
+ remote?: components["parameters"]["Operations_HashsumfilePostRemoteParam"];
4930
4907
  /** @description Hash algorithm to use, e.g. `md5`, `sha1`, or another supported name. */
4931
- hashType: components["parameters"]["Operations_HashsumfilePostHashTypeParam"];
4908
+ hashType?: components["parameters"]["Operations_HashsumfilePostHashTypeParam"];
4932
4909
  /** @description Set to true to force reading the data instead of using remote checksums. */
4933
4910
  download?: components["parameters"]["Operations_HashsumfilePostDownloadParam"];
4934
4911
  /** @description Set to true to emit the hash value in base64 rather than hexadecimal. */
@@ -4955,15 +4932,15 @@ export interface operations {
4955
4932
  };
4956
4933
  operationsMovefile: {
4957
4934
  parameters: {
4958
- query: {
4935
+ query?: {
4959
4936
  /** @description Source remote name or path containing the file to move. */
4960
- srcFs: components["parameters"]["Operations_MovefilePostSrcFsParam"];
4937
+ srcFs?: components["parameters"]["Operations_MovefilePostSrcFsParam"];
4961
4938
  /** @description Path to the source object within `srcFs`. */
4962
- srcRemote: components["parameters"]["Operations_MovefilePostSrcRemoteParam"];
4939
+ srcRemote?: components["parameters"]["Operations_MovefilePostSrcRemoteParam"];
4963
4940
  /** @description Destination remote name or path where the file will be moved. */
4964
- dstFs: components["parameters"]["Operations_MovefilePostDstFsParam"];
4941
+ dstFs?: components["parameters"]["Operations_MovefilePostDstFsParam"];
4965
4942
  /** @description Destination path within `dstFs` for the moved object. */
4966
- dstRemote: components["parameters"]["Operations_MovefilePostDstRemoteParam"];
4943
+ dstRemote?: components["parameters"]["Operations_MovefilePostDstRemoteParam"];
4967
4944
  /** @description Assign the request to a custom stats group. */
4968
4945
  _group?: components["parameters"]["GlobalGroupParam"];
4969
4946
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -4986,11 +4963,11 @@ export interface operations {
4986
4963
  };
4987
4964
  operationsPubliclink: {
4988
4965
  parameters: {
4989
- query: {
4966
+ query?: {
4990
4967
  /** @description Remote name or path hosting the object for which to manage a public link. */
4991
- fs: components["parameters"]["Operations_PubliclinkPostFsParam"];
4968
+ fs?: components["parameters"]["Operations_PubliclinkPostFsParam"];
4992
4969
  /** @description Path within `fs` to the object for which to create or remove a public link. */
4993
- remote: components["parameters"]["Operations_PubliclinkPostRemoteParam"];
4970
+ remote?: components["parameters"]["Operations_PubliclinkPostRemoteParam"];
4994
4971
  /** @description Set to true to remove an existing public link instead of creating one. */
4995
4972
  unlink?: components["parameters"]["Operations_PubliclinkPostUnlinkParam"];
4996
4973
  /** @description Optional expiration time for the public link, formatted as supported by the backend. */
@@ -5017,11 +4994,11 @@ export interface operations {
5017
4994
  };
5018
4995
  operationsRmdirs: {
5019
4996
  parameters: {
5020
- query: {
4997
+ query?: {
5021
4998
  /** @description Remote name or path to scan for empty directories. */
5022
- fs: components["parameters"]["Operations_RmdirsPostFsParam"];
4999
+ fs?: components["parameters"]["Operations_RmdirsPostFsParam"];
5023
5000
  /** @description Path within `fs` whose empty subdirectories should be removed. */
5024
- remote: components["parameters"]["Operations_RmdirsPostRemoteParam"];
5001
+ remote?: components["parameters"]["Operations_RmdirsPostRemoteParam"];
5025
5002
  /** @description Set to true to preserve the top-level directory even if empty. */
5026
5003
  leaveRoot?: components["parameters"]["Operations_RmdirsPostLeaveRootParam"];
5027
5004
  /** @description Assign the request to a custom stats group. */
@@ -5046,9 +5023,9 @@ export interface operations {
5046
5023
  };
5047
5024
  operationsSettier: {
5048
5025
  parameters: {
5049
- query: {
5026
+ query?: {
5050
5027
  /** @description Remote name or path whose storage class tier should be changed. */
5051
- fs: components["parameters"]["Operations_SettierPostFsParam"];
5028
+ fs?: components["parameters"]["Operations_SettierPostFsParam"];
5052
5029
  /** @description Assign the request to a custom stats group. */
5053
5030
  _group?: components["parameters"]["GlobalGroupParam"];
5054
5031
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5071,11 +5048,11 @@ export interface operations {
5071
5048
  };
5072
5049
  operationsSettierfile: {
5073
5050
  parameters: {
5074
- query: {
5051
+ query?: {
5075
5052
  /** @description Remote name or path that contains the object whose tier should change. */
5076
- fs: components["parameters"]["Operations_SettierfilePostFsParam"];
5053
+ fs?: components["parameters"]["Operations_SettierfilePostFsParam"];
5077
5054
  /** @description Path within `fs` to the object whose storage class tier should be updated. */
5078
- remote: components["parameters"]["Operations_SettierfilePostRemoteParam"];
5055
+ remote?: components["parameters"]["Operations_SettierfilePostRemoteParam"];
5079
5056
  /** @description Assign the request to a custom stats group. */
5080
5057
  _group?: components["parameters"]["GlobalGroupParam"];
5081
5058
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5098,9 +5075,9 @@ export interface operations {
5098
5075
  };
5099
5076
  operationsSize: {
5100
5077
  parameters: {
5101
- query: {
5078
+ query?: {
5102
5079
  /** @description Remote name or path to measure aggregate size information for. */
5103
- fs: components["parameters"]["Operations_SizePostFsParam"];
5080
+ fs?: components["parameters"]["Operations_SizePostFsParam"];
5104
5081
  /** @description Assign the request to a custom stats group. */
5105
5082
  _group?: components["parameters"]["GlobalGroupParam"];
5106
5083
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5148,9 +5125,9 @@ export interface operations {
5148
5125
  };
5149
5126
  coreCommand: {
5150
5127
  parameters: {
5151
- query: {
5128
+ query?: {
5152
5129
  /** @description Name of the rclone command to execute, for example `ls` or `lsf`. */
5153
- command: components["parameters"]["Core_CommandPostCommandParam"];
5130
+ command?: components["parameters"]["Core_CommandPostCommandParam"];
5154
5131
  /** @description Optional positional arguments for the command. Repeat to supply multiple values. */
5155
5132
  arg?: components["parameters"]["Core_CommandPostArgParam"];
5156
5133
  /** @description Optional command options encoded as a JSON string. */
@@ -5177,6 +5154,29 @@ export interface operations {
5177
5154
  "5XX": components["responses"]["RcError"];
5178
5155
  };
5179
5156
  };
5157
+ coreDisks: {
5158
+ parameters: {
5159
+ query?: {
5160
+ /** @description Assign the request to a custom stats group. */
5161
+ _group?: components["parameters"]["GlobalGroupParam"];
5162
+ /** @description Run the command asynchronously. Returns a job id immediately. */
5163
+ _async?: components["parameters"]["GlobalAsyncParam"];
5164
+ };
5165
+ header?: never;
5166
+ path?: never;
5167
+ cookie?: never;
5168
+ };
5169
+ requestBody?: {
5170
+ content: {
5171
+ "application/json": components["schemas"]["CoreDisksRequest"];
5172
+ };
5173
+ };
5174
+ responses: {
5175
+ 200: components["responses"]["CoreDisksResponse"];
5176
+ "4XX": components["responses"]["RcError"];
5177
+ "5XX": components["responses"]["RcError"];
5178
+ };
5179
+ };
5180
5180
  coreDu: {
5181
5181
  parameters: {
5182
5182
  query?: {
@@ -5293,9 +5293,9 @@ export interface operations {
5293
5293
  };
5294
5294
  coreObscure: {
5295
5295
  parameters: {
5296
- query: {
5296
+ query?: {
5297
5297
  /** @description Plain-text string to obscure for storage in the config file. */
5298
- clear: components["parameters"]["Core_ObscurePostClearParam"];
5298
+ clear?: components["parameters"]["Core_ObscurePostClearParam"];
5299
5299
  /** @description Assign the request to a custom stats group. */
5300
5300
  _group?: components["parameters"]["GlobalGroupParam"];
5301
5301
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5386,9 +5386,9 @@ export interface operations {
5386
5386
  };
5387
5387
  coreStatsDelete: {
5388
5388
  parameters: {
5389
- query: {
5389
+ query?: {
5390
5390
  /** @description Stats group identifier to remove. */
5391
- group: components["parameters"]["Core_StatsDeletePostGroupParam"];
5391
+ group?: components["parameters"]["Core_StatsDeletePostGroupParam"];
5392
5392
  /** @description Assign the request to a custom stats group. */
5393
5393
  _group?: components["parameters"]["GlobalGroupParam"];
5394
5394
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5461,9 +5461,9 @@ export interface operations {
5461
5461
  };
5462
5462
  debugSetBlockProfileRate: {
5463
5463
  parameters: {
5464
- query: {
5464
+ query?: {
5465
5465
  /** @description Sampling interval in nanoseconds for blocking profile collection; use 1 to capture all events. */
5466
- rate: components["parameters"]["Debug_SetBlockProfileRatePostRateParam"];
5466
+ rate?: components["parameters"]["Debug_SetBlockProfileRatePostRateParam"];
5467
5467
  /** @description Assign the request to a custom stats group. */
5468
5468
  _group?: components["parameters"]["GlobalGroupParam"];
5469
5469
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5486,9 +5486,9 @@ export interface operations {
5486
5486
  };
5487
5487
  debugSetGcPercent: {
5488
5488
  parameters: {
5489
- query: {
5489
+ query?: {
5490
5490
  /** @description Target percentage of newly allocated data to trigger garbage collection. */
5491
- "gc-percent": components["parameters"]["Debug_SetGcPercentPostGcPercentParam"];
5491
+ "gc-percent"?: components["parameters"]["Debug_SetGcPercentPostGcPercentParam"];
5492
5492
  /** @description Assign the request to a custom stats group. */
5493
5493
  _group?: components["parameters"]["GlobalGroupParam"];
5494
5494
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5511,9 +5511,9 @@ export interface operations {
5511
5511
  };
5512
5512
  debugSetMutexProfileFraction: {
5513
5513
  parameters: {
5514
- query: {
5514
+ query?: {
5515
5515
  /** @description Sampling fraction for mutex contention profiling; set to 0 to disable. */
5516
- rate: components["parameters"]["Debug_SetMutexProfileFractionPostRateParam"];
5516
+ rate?: components["parameters"]["Debug_SetMutexProfileFractionPostRateParam"];
5517
5517
  /** @description Assign the request to a custom stats group. */
5518
5518
  _group?: components["parameters"]["GlobalGroupParam"];
5519
5519
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5536,9 +5536,9 @@ export interface operations {
5536
5536
  };
5537
5537
  debugSetSoftMemoryLimit: {
5538
5538
  parameters: {
5539
- query: {
5539
+ query?: {
5540
5540
  /** @description Soft memory limit for the Go runtime in bytes. */
5541
- "mem-limit": components["parameters"]["Debug_SetSoftMemoryLimitPostMemLimitParam"];
5541
+ "mem-limit"?: components["parameters"]["Debug_SetSoftMemoryLimitPostMemLimitParam"];
5542
5542
  /** @description Assign the request to a custom stats group. */
5543
5543
  _group?: components["parameters"]["GlobalGroupParam"];
5544
5544
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5630,11 +5630,11 @@ export interface operations {
5630
5630
  };
5631
5631
  mountMount: {
5632
5632
  parameters: {
5633
- query: {
5633
+ query?: {
5634
5634
  /** @description Remote path to mount, such as `drive:` or `remote:subdir`. */
5635
- fs: components["parameters"]["Mount_MountPostFsParam"];
5635
+ fs?: components["parameters"]["Mount_MountPostFsParam"];
5636
5636
  /** @description Absolute local path where the remote should be mounted. */
5637
- mountPoint: components["parameters"]["Mount_MountPostMountPointParam"];
5637
+ mountPoint?: components["parameters"]["Mount_MountPostMountPointParam"];
5638
5638
  /** @description Optional mount implementation to use (`mount`, `cmount`, or `mount2`). */
5639
5639
  mountType?: components["parameters"]["Mount_MountPostMountTypeParam"];
5640
5640
  /** @description Mount options encoded as JSON, matching flags accepted by `rclone mount`. */
@@ -5690,9 +5690,9 @@ export interface operations {
5690
5690
  };
5691
5691
  mountUnmount: {
5692
5692
  parameters: {
5693
- query: {
5693
+ query?: {
5694
5694
  /** @description Local mount point path to unmount. */
5695
- mountPoint: components["parameters"]["Mount_UnmountPostMountPointParam"];
5695
+ mountPoint?: components["parameters"]["Mount_UnmountPostMountPointParam"];
5696
5696
  /** @description Assign the request to a custom stats group. */
5697
5697
  _group?: components["parameters"]["GlobalGroupParam"];
5698
5698
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5807,9 +5807,9 @@ export interface operations {
5807
5807
  };
5808
5808
  backendCommand: {
5809
5809
  parameters: {
5810
- query: {
5810
+ query?: {
5811
5811
  /** @description Backend-specific command to invoke. */
5812
- command: components["parameters"]["Backend_CommandPostCommandParam"];
5812
+ command?: components["parameters"]["Backend_CommandPostCommandParam"];
5813
5813
  /** @description Remote name or path the backend command should target. */
5814
5814
  fs?: components["parameters"]["Backend_CommandPostFsParam"];
5815
5815
  /** @description Optional positional arguments for the backend command. */
@@ -5838,9 +5838,9 @@ export interface operations {
5838
5838
  };
5839
5839
  cacheExpire: {
5840
5840
  parameters: {
5841
- query: {
5841
+ query?: {
5842
5842
  /** @description Remote path to expire from the cache, e.g. `remote:path/to/dir`. */
5843
- remote: components["parameters"]["Cache_ExpirePostRemoteParam"];
5843
+ remote?: components["parameters"]["Cache_ExpirePostRemoteParam"];
5844
5844
  /** @description Set to true to drop cached chunk data along with directory entries. */
5845
5845
  withData?: components["parameters"]["Cache_ExpirePostWithDataParam"];
5846
5846
  /** @description Assign the request to a custom stats group. */
@@ -5915,13 +5915,13 @@ export interface operations {
5915
5915
  };
5916
5916
  configCreate: {
5917
5917
  parameters: {
5918
- query: {
5918
+ query?: {
5919
5919
  /** @description Name of the new remote configuration. */
5920
- name: components["parameters"]["Config_CreatePostNameParam"];
5920
+ name?: components["parameters"]["Config_CreatePostNameParam"];
5921
5921
  /** @description JSON object of configuration key/value pairs required for the remote. */
5922
- parameters: components["parameters"]["Config_CreatePostParametersParam"];
5922
+ parameters?: components["parameters"]["Config_CreatePostParametersParam"];
5923
5923
  /** @description Backend type identifier, such as `drive`, `s3`, or `dropbox`. */
5924
- type: components["parameters"]["Config_CreatePostTypeParam"];
5924
+ type?: components["parameters"]["Config_CreatePostTypeParam"];
5925
5925
  /** @description Optional JSON object controlling interactive behaviour (e.g. `obscure`, `continue`). */
5926
5926
  opt?: components["parameters"]["Config_CreatePostOptParam"];
5927
5927
  /** @description Assign the request to a custom stats group. */
@@ -5946,9 +5946,9 @@ export interface operations {
5946
5946
  };
5947
5947
  configDelete: {
5948
5948
  parameters: {
5949
- query: {
5949
+ query?: {
5950
5950
  /** @description Name of the remote configuration to delete. */
5951
- name: components["parameters"]["Config_DeletePostNameParam"];
5951
+ name?: components["parameters"]["Config_DeletePostNameParam"];
5952
5952
  /** @description Assign the request to a custom stats group. */
5953
5953
  _group?: components["parameters"]["GlobalGroupParam"];
5954
5954
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -5994,9 +5994,9 @@ export interface operations {
5994
5994
  };
5995
5995
  configGet: {
5996
5996
  parameters: {
5997
- query: {
5997
+ query?: {
5998
5998
  /** @description Name of the remote configuration to fetch. */
5999
- name: components["parameters"]["Config_GetPostNameParam"];
5999
+ name?: components["parameters"]["Config_GetPostNameParam"];
6000
6000
  /** @description Assign the request to a custom stats group. */
6001
6001
  _group?: components["parameters"]["GlobalGroupParam"];
6002
6002
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -6042,11 +6042,11 @@ export interface operations {
6042
6042
  };
6043
6043
  configPassword: {
6044
6044
  parameters: {
6045
- query: {
6045
+ query?: {
6046
6046
  /** @description Name of the remote whose secrets should be updated. */
6047
- name: components["parameters"]["Config_PasswordPostNameParam"];
6047
+ name?: components["parameters"]["Config_PasswordPostNameParam"];
6048
6048
  /** @description JSON object of password answers, typically including `pass`. */
6049
- parameters: components["parameters"]["Config_PasswordPostParametersParam"];
6049
+ parameters?: components["parameters"]["Config_PasswordPostParametersParam"];
6050
6050
  /** @description Assign the request to a custom stats group. */
6051
6051
  _group?: components["parameters"]["GlobalGroupParam"];
6052
6052
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -6115,9 +6115,9 @@ export interface operations {
6115
6115
  };
6116
6116
  configSetpath: {
6117
6117
  parameters: {
6118
- query: {
6118
+ query?: {
6119
6119
  /** @description Absolute path to the `rclone.conf` file that rclone should use. */
6120
- path: components["parameters"]["Config_SetpathPostPathParam"];
6120
+ path?: components["parameters"]["Config_SetpathPostPathParam"];
6121
6121
  /** @description Assign the request to a custom stats group. */
6122
6122
  _group?: components["parameters"]["GlobalGroupParam"];
6123
6123
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -6140,9 +6140,9 @@ export interface operations {
6140
6140
  };
6141
6141
  configUnlock: {
6142
6142
  parameters: {
6143
- query: {
6143
+ query?: {
6144
6144
  /** @description Password used to unlock an encrypted config file. */
6145
- configPassword: components["parameters"]["Config_UnlockPostConfigPasswordParam"];
6145
+ configPassword?: components["parameters"]["Config_UnlockPostConfigPasswordParam"];
6146
6146
  /** @description Assign the request to a custom stats group. */
6147
6147
  _group?: components["parameters"]["GlobalGroupParam"];
6148
6148
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -6165,11 +6165,11 @@ export interface operations {
6165
6165
  };
6166
6166
  configUpdate: {
6167
6167
  parameters: {
6168
- query: {
6168
+ query?: {
6169
6169
  /** @description Name of the remote configuration to update. */
6170
- name: components["parameters"]["Config_UpdatePostNameParam"];
6170
+ name?: components["parameters"]["Config_UpdatePostNameParam"];
6171
6171
  /** @description JSON object of configuration key/value pairs to apply to the remote. */
6172
- parameters: components["parameters"]["Config_UpdatePostParametersParam"];
6172
+ parameters?: components["parameters"]["Config_UpdatePostParametersParam"];
6173
6173
  /** @description Optional JSON object controlling update behaviour (e.g. `obscure`, `continue`). */
6174
6174
  opt?: components["parameters"]["Config_UpdatePostOptParam"];
6175
6175
  /** @description Assign the request to a custom stats group. */
@@ -6290,9 +6290,9 @@ export interface operations {
6290
6290
  };
6291
6291
  jobStatus: {
6292
6292
  parameters: {
6293
- query: {
6293
+ query?: {
6294
6294
  /** @description Numeric identifier of the job to query, as returned from an async call. */
6295
- jobid: components["parameters"]["Job_StatusPostJobidParam"];
6295
+ jobid?: components["parameters"]["Job_StatusPostJobidParam"];
6296
6296
  /** @description Run the command asynchronously. Returns a job id immediately. */
6297
6297
  _async?: components["parameters"]["GlobalAsyncParam"];
6298
6298
  };
@@ -6313,9 +6313,9 @@ export interface operations {
6313
6313
  };
6314
6314
  jobStop: {
6315
6315
  parameters: {
6316
- query: {
6316
+ query?: {
6317
6317
  /** @description Numeric identifier of the job to cancel. */
6318
- jobid: components["parameters"]["Job_StopPostJobidParam"];
6318
+ jobid?: components["parameters"]["Job_StopPostJobidParam"];
6319
6319
  /** @description Run the command asynchronously. Returns a job id immediately. */
6320
6320
  _async?: components["parameters"]["GlobalAsyncParam"];
6321
6321
  };
@@ -6336,9 +6336,9 @@ export interface operations {
6336
6336
  };
6337
6337
  jobStopgroup: {
6338
6338
  parameters: {
6339
- query: {
6339
+ query?: {
6340
6340
  /** @description Stats group name whose active jobs should be stopped. */
6341
- group: components["parameters"]["Job_StopgroupPostGroupParam"];
6341
+ group?: components["parameters"]["Job_StopgroupPostGroupParam"];
6342
6342
  /** @description Run the command asynchronously. Returns a job id immediately. */
6343
6343
  _async?: components["parameters"]["GlobalAsyncParam"];
6344
6344
  };
@@ -6359,11 +6359,11 @@ export interface operations {
6359
6359
  };
6360
6360
  operationsList: {
6361
6361
  parameters: {
6362
- query: {
6362
+ query?: {
6363
6363
  /** @description Remote name or path to list, for example `drive:`. */
6364
- fs: components["parameters"]["Operations_ListPostFsParam"];
6364
+ fs?: components["parameters"]["Operations_ListPostFsParam"];
6365
6365
  /** @description Directory path within `fs` to list; leave empty to target the root. */
6366
- remote: components["parameters"]["Operations_ListPostRemoteParam"];
6366
+ remote?: components["parameters"]["Operations_ListPostRemoteParam"];
6367
6367
  /** @description Optional JSON-encoded object of listing flags (e.g. `{ "recurse": true, "showHash": true }`). */
6368
6368
  opt?: components["parameters"]["Operations_ListPostOptParam"];
6369
6369
  /** @description Set to true to list directories recursively. */
@@ -6408,11 +6408,11 @@ export interface operations {
6408
6408
  };
6409
6409
  operationsStat: {
6410
6410
  parameters: {
6411
- query: {
6411
+ query?: {
6412
6412
  /** @description Remote name or path that contains the item to inspect. */
6413
- fs: components["parameters"]["Operations_StatPostFsParam"];
6413
+ fs?: components["parameters"]["Operations_StatPostFsParam"];
6414
6414
  /** @description Path to the file or directory within `fs` to describe. */
6415
- remote: components["parameters"]["Operations_StatPostRemoteParam"];
6415
+ remote?: components["parameters"]["Operations_StatPostRemoteParam"];
6416
6416
  /** @description Optional JSON object of listing flags, matching those accepted by `operations/list`. */
6417
6417
  opt?: components["parameters"]["Operations_StatPostOptParam"];
6418
6418
  /** @description Assign the request to a custom stats group. */
@@ -6437,9 +6437,9 @@ export interface operations {
6437
6437
  };
6438
6438
  operationsAbout: {
6439
6439
  parameters: {
6440
- query: {
6440
+ query?: {
6441
6441
  /** @description Remote name or path to query for capacity information. */
6442
- fs: components["parameters"]["Operations_AboutPostFsParam"];
6442
+ fs?: components["parameters"]["Operations_AboutPostFsParam"];
6443
6443
  /** @description Assign the request to a custom stats group. */
6444
6444
  _group?: components["parameters"]["GlobalGroupParam"];
6445
6445
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -6462,11 +6462,11 @@ export interface operations {
6462
6462
  };
6463
6463
  operationsUploadfile: {
6464
6464
  parameters: {
6465
- query: {
6465
+ query?: {
6466
6466
  /** @description Remote name or path where the uploaded file should be stored. */
6467
- fs: components["parameters"]["Operations_UploadfilePostFsParam"];
6467
+ fs?: components["parameters"]["Operations_UploadfilePostFsParam"];
6468
6468
  /** @description Destination path within `fs` for the uploaded file. */
6469
- remote: components["parameters"]["Operations_UploadfilePostRemoteParam"];
6469
+ remote?: components["parameters"]["Operations_UploadfilePostRemoteParam"];
6470
6470
  /** @description Assign the request to a custom stats group. */
6471
6471
  _group?: components["parameters"]["GlobalGroupParam"];
6472
6472
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -6490,11 +6490,11 @@ export interface operations {
6490
6490
  };
6491
6491
  operationsPurge: {
6492
6492
  parameters: {
6493
- query: {
6493
+ query?: {
6494
6494
  /** @description Remote name or path from which to remove all contents. */
6495
- fs: components["parameters"]["Operations_PurgePostFsParam"];
6495
+ fs?: components["parameters"]["Operations_PurgePostFsParam"];
6496
6496
  /** @description Path within `fs` whose contents should be purged. */
6497
- remote: components["parameters"]["Operations_PurgePostRemoteParam"];
6497
+ remote?: components["parameters"]["Operations_PurgePostRemoteParam"];
6498
6498
  /** @description JSON encoded config overrides applied for this call only. */
6499
6499
  _config?: components["parameters"]["GlobalConfigParam"];
6500
6500
  /** @description JSON encoded filter overrides applied for this call only. */
@@ -6521,11 +6521,11 @@ export interface operations {
6521
6521
  };
6522
6522
  operationsMkdir: {
6523
6523
  parameters: {
6524
- query: {
6524
+ query?: {
6525
6525
  /** @description Remote name or path in which to create a directory. */
6526
- fs: components["parameters"]["Operations_MkdirPostFsParam"];
6526
+ fs?: components["parameters"]["Operations_MkdirPostFsParam"];
6527
6527
  /** @description Directory path within `fs` to create. */
6528
- remote: components["parameters"]["Operations_MkdirPostRemoteParam"];
6528
+ remote?: components["parameters"]["Operations_MkdirPostRemoteParam"];
6529
6529
  /** @description Assign the request to a custom stats group. */
6530
6530
  _group?: components["parameters"]["GlobalGroupParam"];
6531
6531
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -6548,11 +6548,11 @@ export interface operations {
6548
6548
  };
6549
6549
  operationsRmdir: {
6550
6550
  parameters: {
6551
- query: {
6551
+ query?: {
6552
6552
  /** @description Remote name or path containing the directory to remove. */
6553
- fs: components["parameters"]["Operations_RmdirPostFsParam"];
6553
+ fs?: components["parameters"]["Operations_RmdirPostFsParam"];
6554
6554
  /** @description Directory path within `fs` to delete. */
6555
- remote: components["parameters"]["Operations_RmdirPostRemoteParam"];
6555
+ remote?: components["parameters"]["Operations_RmdirPostRemoteParam"];
6556
6556
  /** @description Assign the request to a custom stats group. */
6557
6557
  _group?: components["parameters"]["GlobalGroupParam"];
6558
6558
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -6575,11 +6575,11 @@ export interface operations {
6575
6575
  };
6576
6576
  operationsCheck: {
6577
6577
  parameters: {
6578
- query: {
6578
+ query?: {
6579
6579
  /** @description Source remote name or path to verify, e.g. `drive:`. */
6580
- srcFs: components["parameters"]["Operations_CheckPostSrcFsParam"];
6580
+ srcFs?: components["parameters"]["Operations_CheckPostSrcFsParam"];
6581
6581
  /** @description Destination remote name or path that should match the source. */
6582
- dstFs: components["parameters"]["Operations_CheckPostDstFsParam"];
6582
+ dstFs?: components["parameters"]["Operations_CheckPostDstFsParam"];
6583
6583
  /** @description Set to true to read file contents during comparison instead of relying on hashes. */
6584
6584
  download?: components["parameters"]["Operations_CheckPostDownloadParam"];
6585
6585
  /** @description Hash name to expect in the supplied SUM file, such as `md5`. */
@@ -6624,11 +6624,11 @@ export interface operations {
6624
6624
  };
6625
6625
  syncSync: {
6626
6626
  parameters: {
6627
- query: {
6627
+ query?: {
6628
6628
  /** @description Source remote path to sync from, e.g. `drive:src`. */
6629
- srcFs: components["parameters"]["Sync_SyncPostSrcFsParam"];
6629
+ srcFs?: components["parameters"]["Sync_SyncPostSrcFsParam"];
6630
6630
  /** @description Destination remote path to sync to, e.g. `drive:dst`. */
6631
- dstFs: components["parameters"]["Sync_SyncPostDstFsParam"];
6631
+ dstFs?: components["parameters"]["Sync_SyncPostDstFsParam"];
6632
6632
  /** @description Set to true to create empty source directories on the destination. */
6633
6633
  createEmptySrcDirs?: components["parameters"]["Sync_SyncPostCreateEmptySrcDirsParam"];
6634
6634
  /** @description JSON encoded config overrides applied for this call only. */
@@ -6657,11 +6657,11 @@ export interface operations {
6657
6657
  };
6658
6658
  syncCopy: {
6659
6659
  parameters: {
6660
- query: {
6660
+ query?: {
6661
6661
  /** @description Source remote path to copy from. */
6662
- srcFs: components["parameters"]["Sync_CopyPostSrcFsParam"];
6662
+ srcFs?: components["parameters"]["Sync_CopyPostSrcFsParam"];
6663
6663
  /** @description Destination remote path to copy to. */
6664
- dstFs: components["parameters"]["Sync_CopyPostDstFsParam"];
6664
+ dstFs?: components["parameters"]["Sync_CopyPostDstFsParam"];
6665
6665
  /** @description Set to true to replicate empty source directories on the destination. */
6666
6666
  createEmptySrcDirs?: components["parameters"]["Sync_CopyPostCreateEmptySrcDirsParam"];
6667
6667
  /** @description JSON encoded config overrides applied for this call only. */
@@ -6690,11 +6690,11 @@ export interface operations {
6690
6690
  };
6691
6691
  syncMove: {
6692
6692
  parameters: {
6693
- query: {
6693
+ query?: {
6694
6694
  /** @description Source remote path whose contents will be moved. */
6695
- srcFs: components["parameters"]["Sync_MovePostSrcFsParam"];
6695
+ srcFs?: components["parameters"]["Sync_MovePostSrcFsParam"];
6696
6696
  /** @description Destination remote path that will receive moved files. */
6697
- dstFs: components["parameters"]["Sync_MovePostDstFsParam"];
6697
+ dstFs?: components["parameters"]["Sync_MovePostDstFsParam"];
6698
6698
  /** @description Set to true to create empty source directories on the destination. */
6699
6699
  createEmptySrcDirs?: components["parameters"]["Sync_MovePostCreateEmptySrcDirsParam"];
6700
6700
  /** @description Set to true to delete empty directories from the source after the move completes. */
@@ -6725,11 +6725,11 @@ export interface operations {
6725
6725
  };
6726
6726
  syncBisync: {
6727
6727
  parameters: {
6728
- query: {
6728
+ query?: {
6729
6729
  /** @description First remote directory, e.g. `drive:path1`. */
6730
- path1: components["parameters"]["Sync_BisyncPostPath1Param"];
6730
+ path1?: components["parameters"]["Sync_BisyncPostPath1Param"];
6731
6731
  /** @description Second remote directory, e.g. `drive:path2`. */
6732
- path2: components["parameters"]["Sync_BisyncPostPath2Param"];
6732
+ path2?: components["parameters"]["Sync_BisyncPostPath2Param"];
6733
6733
  /** @description Set to true to simulate the bisync run without making changes. */
6734
6734
  dryRun?: components["parameters"]["Sync_BisyncPostDryRunParam"];
6735
6735
  /** @description Set to true to perform a one-time resync, rebuilding bisync history. */
@@ -6960,13 +6960,13 @@ export interface operations {
6960
6960
  };
6961
6961
  serveStart: {
6962
6962
  parameters: {
6963
- query: {
6963
+ query?: {
6964
6964
  /** @description Type of server to start (e.g. `http`, `webdav`, `ftp`, `sftp`). */
6965
- type: components["parameters"]["Serve_StartPostTypeParam"];
6965
+ type?: components["parameters"]["Serve_StartPostTypeParam"];
6966
6966
  /** @description Remote path that will be served. */
6967
- fs: components["parameters"]["Serve_StartPostFsParam"];
6967
+ fs?: components["parameters"]["Serve_StartPostFsParam"];
6968
6968
  /** @description Address and port to bind the server to, such as `:5572` or `localhost:8080`. */
6969
- addr: components["parameters"]["Serve_StartPostAddrParam"];
6969
+ addr?: components["parameters"]["Serve_StartPostAddrParam"];
6970
6970
  /** @description Additional arbitrary parameters allowed. */
6971
6971
  params?: components["parameters"]["Serve_StartPostAdditionalParam"];
6972
6972
  /** @description JSON encoded config overrides applied for this call only. */
@@ -6995,9 +6995,9 @@ export interface operations {
6995
6995
  };
6996
6996
  serveStop: {
6997
6997
  parameters: {
6998
- query: {
6998
+ query?: {
6999
6999
  /** @description Identifier of the running serve instance returned by `serve/start`. */
7000
- id: components["parameters"]["Serve_StopPostIdParam"];
7000
+ id?: components["parameters"]["Serve_StopPostIdParam"];
7001
7001
  /** @description Assign the request to a custom stats group. */
7002
7002
  _group?: components["parameters"]["GlobalGroupParam"];
7003
7003
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -7059,7 +7059,7 @@ export interface operations {
7059
7059
  };
7060
7060
  };
7061
7061
  responses: {
7062
- 200: components["responses"]["EmptyResponse"];
7062
+ 200: components["responses"]["ServeTypesResponse"];
7063
7063
  "4XX": components["responses"]["RcError"];
7064
7064
  "5XX": components["responses"]["RcError"];
7065
7065
  };
@@ -7172,13 +7172,13 @@ export interface operations {
7172
7172
  };
7173
7173
  vfsQueueSetExpiry: {
7174
7174
  parameters: {
7175
- query: {
7175
+ query?: {
7176
7176
  /** @description Optional VFS identifier for the queued item. */
7177
7177
  fs?: components["parameters"]["Vfs_QueueSetExpiryPostFsParam"];
7178
7178
  /** @description Queue item ID as returned by `vfs/queue`. */
7179
- id: components["parameters"]["Vfs_QueueSetExpiryPostIdParam"];
7179
+ id?: components["parameters"]["Vfs_QueueSetExpiryPostIdParam"];
7180
7180
  /** @description New eligibility time in seconds (may be negative for immediate upload). */
7181
- expiry: components["parameters"]["Vfs_QueueSetExpiryPostExpiryParam"];
7181
+ expiry?: components["parameters"]["Vfs_QueueSetExpiryPostExpiryParam"];
7182
7182
  /** @description Set to true to treat `expiry` as relative to the current value. */
7183
7183
  relative?: components["parameters"]["Vfs_QueueSetExpiryPostRelativeParam"];
7184
7184
  /** @description Assign the request to a custom stats group. */
@@ -7257,9 +7257,9 @@ export interface operations {
7257
7257
  };
7258
7258
  pluginsctlAddPlugin: {
7259
7259
  parameters: {
7260
- query: {
7260
+ query?: {
7261
7261
  /** @description Repository URL of the plugin to install. */
7262
- url: components["parameters"]["Pluginsctl_AddPluginPostUrlParam"];
7262
+ url?: components["parameters"]["Pluginsctl_AddPluginPostUrlParam"];
7263
7263
  /** @description Assign the request to a custom stats group. */
7264
7264
  _group?: components["parameters"]["GlobalGroupParam"];
7265
7265
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -7355,9 +7355,9 @@ export interface operations {
7355
7355
  };
7356
7356
  pluginsctlRemovePlugin: {
7357
7357
  parameters: {
7358
- query: {
7358
+ query?: {
7359
7359
  /** @description Name of the plugin to uninstall. */
7360
- name: components["parameters"]["Pluginsctl_RemovePluginPostNameParam"];
7360
+ name?: components["parameters"]["Pluginsctl_RemovePluginPostNameParam"];
7361
7361
  /** @description Assign the request to a custom stats group. */
7362
7362
  _group?: components["parameters"]["GlobalGroupParam"];
7363
7363
  /** @description Run the command asynchronously. Returns a job id immediately. */
@@ -7380,9 +7380,9 @@ export interface operations {
7380
7380
  };
7381
7381
  pluginsctlRemoveTestPlugin: {
7382
7382
  parameters: {
7383
- query: {
7383
+ query?: {
7384
7384
  /** @description Name of the test plugin to uninstall. */
7385
- name: components["parameters"]["Pluginsctl_RemoveTestPluginPostNameParam"];
7385
+ name?: components["parameters"]["Pluginsctl_RemoveTestPluginPostNameParam"];
7386
7386
  /** @description Assign the request to a custom stats group. */
7387
7387
  _group?: components["parameters"]["GlobalGroupParam"];
7388
7388
  /** @description Run the command asynchronously. Returns a job id immediately. */