rclone-openapi 1.0.21 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/openapi.json CHANGED
@@ -5719,7 +5719,18 @@
5719
5719
  "type": "boolean"
5720
5720
  },
5721
5721
  "what": {
5722
- "type": "string"
5722
+ "type": "string",
5723
+ "enum": [
5724
+ "transferring",
5725
+ "deleting",
5726
+ "checking",
5727
+ "importing",
5728
+ "hashing",
5729
+ "merging",
5730
+ "listing",
5731
+ "moving",
5732
+ "renaming"
5733
+ ]
5723
5734
  },
5724
5735
  "started_at": {
5725
5736
  "type": "string",
@@ -6166,6 +6177,9 @@
6166
6177
  "renames": {
6167
6178
  "type": "number"
6168
6179
  },
6180
+ "listed": {
6181
+ "type": "number"
6182
+ },
6169
6183
  "serverSideCopies": {
6170
6184
  "type": "number"
6171
6185
  },
@@ -6218,7 +6232,6 @@
6218
6232
  "deletes",
6219
6233
  "elapsedTime",
6220
6234
  "errors",
6221
- "eta",
6222
6235
  "fatalError",
6223
6236
  "retryError",
6224
6237
  "renames",
@@ -6540,76 +6553,85 @@
6540
6553
  "schema": {
6541
6554
  "type": "object",
6542
6555
  "properties": {
6543
- "Path": {
6544
- "type": "string",
6545
- "description": "Path relative to the remote root."
6546
- },
6547
- "Name": {
6548
- "type": "string",
6549
- "description": "Base name of the entry."
6550
- },
6551
- "Size": {
6552
- "type": "number",
6553
- "description": "Object size in bytes."
6554
- },
6555
- "MimeType": {
6556
- "type": "string",
6557
- "description": "MIME type where available."
6558
- },
6559
- "ModTime": {
6560
- "type": "string",
6561
- "description": "Modification timestamp in RFC3339 format."
6562
- },
6563
- "IsDir": {
6564
- "type": "boolean",
6565
- "description": "True if the entry is a directory."
6566
- },
6567
- "Hashes": {
6556
+ "item": {
6568
6557
  "type": "object",
6569
- "additionalProperties": {
6570
- "type": "string"
6571
- },
6572
- "description": "Hash digests keyed by algorithm when requested."
6573
- },
6574
- "ID": {
6575
- "type": "string",
6576
- "description": "Backend-specific identifier when provided."
6577
- },
6578
- "OrigID": {
6579
- "type": "string",
6580
- "description": "Original backend identifier when recorded."
6581
- },
6582
- "IsBucket": {
6583
- "type": "boolean",
6584
- "description": "True for bucket/root entries on bucket-based remotes."
6585
- },
6586
- "Tier": {
6587
- "type": "string",
6588
- "description": "Storage class or tier, if supplied by the backend."
6589
- },
6590
- "Encrypted": {
6591
- "type": "string",
6592
- "description": "Encrypted entry name when using crypt remotes."
6593
- },
6594
- "EncryptedPath": {
6595
- "type": "string",
6596
- "description": "Encrypted path when using crypt remotes."
6597
- },
6598
- "Metadata": {
6599
- "type": "object",
6600
- "additionalProperties": {
6601
- "nullable": true
6558
+ "nullable": true,
6559
+ "properties": {
6560
+ "Path": {
6561
+ "type": "string",
6562
+ "description": "Path relative to the remote root."
6563
+ },
6564
+ "Name": {
6565
+ "type": "string",
6566
+ "description": "Base name of the entry."
6567
+ },
6568
+ "Size": {
6569
+ "type": "number",
6570
+ "description": "Object size in bytes."
6571
+ },
6572
+ "MimeType": {
6573
+ "type": "string",
6574
+ "description": "MIME type where available."
6575
+ },
6576
+ "ModTime": {
6577
+ "type": "string",
6578
+ "description": "Modification timestamp in RFC3339 format."
6579
+ },
6580
+ "IsDir": {
6581
+ "type": "boolean",
6582
+ "description": "True if the entry is a directory."
6583
+ },
6584
+ "Hashes": {
6585
+ "type": "object",
6586
+ "additionalProperties": {
6587
+ "type": "string"
6588
+ },
6589
+ "description": "Hash digests keyed by algorithm when requested."
6590
+ },
6591
+ "ID": {
6592
+ "type": "string",
6593
+ "description": "Backend-specific identifier when provided."
6594
+ },
6595
+ "OrigID": {
6596
+ "type": "string",
6597
+ "description": "Original backend identifier when recorded."
6598
+ },
6599
+ "IsBucket": {
6600
+ "type": "boolean",
6601
+ "description": "True for bucket/root entries on bucket-based remotes."
6602
+ },
6603
+ "Tier": {
6604
+ "type": "string",
6605
+ "description": "Storage class or tier, if supplied by the backend."
6606
+ },
6607
+ "Encrypted": {
6608
+ "type": "string",
6609
+ "description": "Encrypted entry name when using crypt remotes."
6610
+ },
6611
+ "EncryptedPath": {
6612
+ "type": "string",
6613
+ "description": "Encrypted path when using crypt remotes."
6614
+ },
6615
+ "Metadata": {
6616
+ "type": "object",
6617
+ "additionalProperties": {
6618
+ "nullable": true
6619
+ },
6620
+ "description": "Backend-provided metadata map."
6621
+ }
6602
6622
  },
6603
- "description": "Backend-provided metadata map."
6623
+ "required": [
6624
+ "Path",
6625
+ "Name",
6626
+ "Size",
6627
+ "MimeType",
6628
+ "ModTime",
6629
+ "IsDir"
6630
+ ]
6604
6631
  }
6605
6632
  },
6606
6633
  "required": [
6607
- "Path",
6608
- "Name",
6609
- "Size",
6610
- "MimeType",
6611
- "ModTime",
6612
- "IsDir"
6634
+ "item"
6613
6635
  ]
6614
6636
  }
6615
6637
  }
@@ -8258,6 +8280,10 @@
8258
8280
  "speed": {
8259
8281
  "type": "number",
8260
8282
  "description": "Current transfer speed in bytes per second."
8283
+ },
8284
+ "speedAvg": {
8285
+ "type": "number",
8286
+ "description": "Current speed in bytes per second as an exponentially weighted moving average."
8261
8287
  }
8262
8288
  },
8263
8289
  "additionalProperties": true
package/openapi.yaml CHANGED
@@ -3342,6 +3342,16 @@ components:
3342
3342
  type: boolean
3343
3343
  what:
3344
3344
  type: string
3345
+ enum:
3346
+ - transferring
3347
+ - deleting
3348
+ - checking
3349
+ - importing
3350
+ - hashing
3351
+ - merging
3352
+ - listing
3353
+ - moving
3354
+ - renaming
3345
3355
  started_at:
3346
3356
  type: string
3347
3357
  description: "ISO8601 timestamp when the transfer started."
@@ -3633,6 +3643,8 @@ components:
3633
3643
  type: boolean
3634
3644
  renames:
3635
3645
  type: number
3646
+ listed:
3647
+ type: number
3636
3648
  serverSideCopies:
3637
3649
  type: number
3638
3650
  serverSideCopyBytes:
@@ -3670,7 +3682,6 @@ components:
3670
3682
  - deletes
3671
3683
  - elapsedTime
3672
3684
  - errors
3673
- - eta
3674
3685
  - fatalError
3675
3686
  - retryError
3676
3687
  - renames
@@ -3900,59 +3911,65 @@ components:
3900
3911
  schema:
3901
3912
  type: object
3902
3913
  properties:
3903
- Path:
3904
- type: string
3905
- description: "Path relative to the remote root."
3906
- Name:
3907
- type: string
3908
- description: "Base name of the entry."
3909
- Size:
3910
- type: number
3911
- description: "Object size in bytes."
3912
- MimeType:
3913
- type: string
3914
- description: "MIME type where available."
3915
- ModTime:
3916
- type: string
3917
- description: "Modification timestamp in RFC3339 format."
3918
- IsDir:
3919
- type: boolean
3920
- description: "True if the entry is a directory."
3921
- Hashes:
3922
- type: object
3923
- additionalProperties:
3924
- type: string
3925
- description: "Hash digests keyed by algorithm when requested."
3926
- ID:
3927
- type: string
3928
- description: "Backend-specific identifier when provided."
3929
- OrigID:
3930
- type: string
3931
- description: "Original backend identifier when recorded."
3932
- IsBucket:
3933
- type: boolean
3934
- description: "True for bucket/root entries on bucket-based remotes."
3935
- Tier:
3936
- type: string
3937
- description: "Storage class or tier, if supplied by the backend."
3938
- Encrypted:
3939
- type: string
3940
- description: "Encrypted entry name when using crypt remotes."
3941
- EncryptedPath:
3942
- type: string
3943
- description: "Encrypted path when using crypt remotes."
3944
- Metadata:
3914
+ item:
3945
3915
  type: object
3946
- additionalProperties:
3947
- nullable: true
3948
- description: "Backend-provided metadata map."
3916
+ nullable: true
3917
+ properties:
3918
+ Path:
3919
+ type: string
3920
+ description: "Path relative to the remote root."
3921
+ Name:
3922
+ type: string
3923
+ description: "Base name of the entry."
3924
+ Size:
3925
+ type: number
3926
+ description: "Object size in bytes."
3927
+ MimeType:
3928
+ type: string
3929
+ description: "MIME type where available."
3930
+ ModTime:
3931
+ type: string
3932
+ description: "Modification timestamp in RFC3339 format."
3933
+ IsDir:
3934
+ type: boolean
3935
+ description: "True if the entry is a directory."
3936
+ Hashes:
3937
+ type: object
3938
+ additionalProperties:
3939
+ type: string
3940
+ description: "Hash digests keyed by algorithm when requested."
3941
+ ID:
3942
+ type: string
3943
+ description: "Backend-specific identifier when provided."
3944
+ OrigID:
3945
+ type: string
3946
+ description: "Original backend identifier when recorded."
3947
+ IsBucket:
3948
+ type: boolean
3949
+ description: "True for bucket/root entries on bucket-based remotes."
3950
+ Tier:
3951
+ type: string
3952
+ description: "Storage class or tier, if supplied by the backend."
3953
+ Encrypted:
3954
+ type: string
3955
+ description: "Encrypted entry name when using crypt remotes."
3956
+ EncryptedPath:
3957
+ type: string
3958
+ description: "Encrypted path when using crypt remotes."
3959
+ Metadata:
3960
+ type: object
3961
+ additionalProperties:
3962
+ nullable: true
3963
+ description: "Backend-provided metadata map."
3964
+ required:
3965
+ - Path
3966
+ - Name
3967
+ - Size
3968
+ - MimeType
3969
+ - ModTime
3970
+ - IsDir
3949
3971
  required:
3950
- - Path
3951
- - Name
3952
- - Size
3953
- - MimeType
3954
- - ModTime
3955
- - IsDir
3972
+ - item
3956
3973
  OptionsBlocksResponse:
3957
3974
  description: "Names of option blocks that can be queried with `options/get` or `options/info`."
3958
3975
  content:
@@ -5070,6 +5087,9 @@ components:
5070
5087
  speed:
5071
5088
  type: number
5072
5089
  description: "Current transfer speed in bytes per second."
5090
+ speedAvg:
5091
+ type: number
5092
+ description: "Current speed in bytes per second as an exponentially weighted moving average."
5073
5093
  additionalProperties: true
5074
5094
  CoreStatsChecking:
5075
5095
  type: object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rclone-openapi",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "keywords": [
5
5
  "rclone",
6
6
  "openapi",
package/types.d.ts CHANGED
@@ -2047,6 +2047,8 @@ export interface components {
2047
2047
  size?: number;
2048
2048
  /** @description Current transfer speed in bytes per second. */
2049
2049
  speed?: number;
2050
+ /** @description Current speed in bytes per second as an exponentially weighted moving average. */
2051
+ speedAvg?: number;
2050
2052
  } & {
2051
2053
  [key: string]: unknown;
2052
2054
  };
@@ -2248,7 +2250,8 @@ export interface components {
2248
2250
  size?: number;
2249
2251
  bytes?: number;
2250
2252
  checked?: boolean;
2251
- what?: string;
2253
+ /** @enum {string} */
2254
+ what?: "transferring" | "deleting" | "checking" | "importing" | "hashing" | "merging" | "listing" | "moving" | "renaming";
2252
2255
  /** @description ISO8601 timestamp when the transfer started. */
2253
2256
  started_at?: string;
2254
2257
  /** @description ISO8601 timestamp when the transfer completed. */
@@ -2478,11 +2481,12 @@ export interface components {
2478
2481
  deletes: number;
2479
2482
  elapsedTime: number;
2480
2483
  errors: number;
2481
- eta: number | null;
2484
+ eta?: number | null;
2482
2485
  fatalError: boolean;
2483
2486
  lastError?: string;
2484
2487
  retryError: boolean;
2485
2488
  renames: number;
2489
+ listed?: number;
2486
2490
  serverSideCopies: number;
2487
2491
  serverSideCopyBytes: number;
2488
2492
  serverSideMoveBytes: number;
@@ -2642,38 +2646,40 @@ export interface components {
2642
2646
  };
2643
2647
  content: {
2644
2648
  "application/json": {
2645
- /** @description Path relative to the remote root. */
2646
- Path: string;
2647
- /** @description Base name of the entry. */
2648
- Name: string;
2649
- /** @description Object size in bytes. */
2650
- Size: number;
2651
- /** @description MIME type where available. */
2652
- MimeType: string;
2653
- /** @description Modification timestamp in RFC3339 format. */
2654
- ModTime: string;
2655
- /** @description True if the entry is a directory. */
2656
- IsDir: boolean;
2657
- /** @description Hash digests keyed by algorithm when requested. */
2658
- Hashes?: {
2659
- [key: string]: string;
2660
- };
2661
- /** @description Backend-specific identifier when provided. */
2662
- ID?: string;
2663
- /** @description Original backend identifier when recorded. */
2664
- OrigID?: string;
2665
- /** @description True for bucket/root entries on bucket-based remotes. */
2666
- IsBucket?: boolean;
2667
- /** @description Storage class or tier, if supplied by the backend. */
2668
- Tier?: string;
2669
- /** @description Encrypted entry name when using crypt remotes. */
2670
- Encrypted?: string;
2671
- /** @description Encrypted path when using crypt remotes. */
2672
- EncryptedPath?: string;
2673
- /** @description Backend-provided metadata map. */
2674
- Metadata?: {
2675
- [key: string]: unknown;
2676
- };
2649
+ item: {
2650
+ /** @description Path relative to the remote root. */
2651
+ Path: string;
2652
+ /** @description Base name of the entry. */
2653
+ Name: string;
2654
+ /** @description Object size in bytes. */
2655
+ Size: number;
2656
+ /** @description MIME type where available. */
2657
+ MimeType: string;
2658
+ /** @description Modification timestamp in RFC3339 format. */
2659
+ ModTime: string;
2660
+ /** @description True if the entry is a directory. */
2661
+ IsDir: boolean;
2662
+ /** @description Hash digests keyed by algorithm when requested. */
2663
+ Hashes?: {
2664
+ [key: string]: string;
2665
+ };
2666
+ /** @description Backend-specific identifier when provided. */
2667
+ ID?: string;
2668
+ /** @description Original backend identifier when recorded. */
2669
+ OrigID?: string;
2670
+ /** @description True for bucket/root entries on bucket-based remotes. */
2671
+ IsBucket?: boolean;
2672
+ /** @description Storage class or tier, if supplied by the backend. */
2673
+ Tier?: string;
2674
+ /** @description Encrypted entry name when using crypt remotes. */
2675
+ Encrypted?: string;
2676
+ /** @description Encrypted path when using crypt remotes. */
2677
+ EncryptedPath?: string;
2678
+ /** @description Backend-provided metadata map. */
2679
+ Metadata?: {
2680
+ [key: string]: unknown;
2681
+ };
2682
+ } | null;
2677
2683
  };
2678
2684
  };
2679
2685
  };