rclone-openapi 1.0.9 → 1.0.10

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 (3) hide show
  1. package/openapi.json +247 -2
  2. package/package.json +1 -1
  3. package/types.d.ts +49 -3
package/openapi.json CHANGED
@@ -6486,11 +6486,119 @@
6486
6486
  "application/json": {
6487
6487
  "schema": {
6488
6488
  "type": "object",
6489
+ "required": [
6490
+ "dlna",
6491
+ "filter",
6492
+ "ftp",
6493
+ "http",
6494
+ "log",
6495
+ "main",
6496
+ "mount",
6497
+ "nfs",
6498
+ "proxy",
6499
+ "rc",
6500
+ "restic",
6501
+ "s3",
6502
+ "sftp",
6503
+ "vfs",
6504
+ "webdav"
6505
+ ],
6506
+ "properties": {
6507
+ "dlna": {
6508
+ "type": "array",
6509
+ "items": {
6510
+ "$ref": "#/components/schemas/OptionsInfoOption"
6511
+ }
6512
+ },
6513
+ "filter": {
6514
+ "type": "array",
6515
+ "items": {
6516
+ "$ref": "#/components/schemas/OptionsInfoOption"
6517
+ }
6518
+ },
6519
+ "ftp": {
6520
+ "type": "array",
6521
+ "items": {
6522
+ "$ref": "#/components/schemas/OptionsInfoOption"
6523
+ }
6524
+ },
6525
+ "http": {
6526
+ "type": "array",
6527
+ "items": {
6528
+ "$ref": "#/components/schemas/OptionsInfoOption"
6529
+ }
6530
+ },
6531
+ "log": {
6532
+ "type": "array",
6533
+ "items": {
6534
+ "$ref": "#/components/schemas/OptionsInfoOption"
6535
+ }
6536
+ },
6537
+ "main": {
6538
+ "type": "array",
6539
+ "items": {
6540
+ "$ref": "#/components/schemas/OptionsInfoOption"
6541
+ }
6542
+ },
6543
+ "mount": {
6544
+ "type": "array",
6545
+ "items": {
6546
+ "$ref": "#/components/schemas/OptionsInfoOption"
6547
+ }
6548
+ },
6549
+ "nfs": {
6550
+ "type": "array",
6551
+ "items": {
6552
+ "$ref": "#/components/schemas/OptionsInfoOption"
6553
+ }
6554
+ },
6555
+ "proxy": {
6556
+ "type": "array",
6557
+ "items": {
6558
+ "$ref": "#/components/schemas/OptionsInfoOption"
6559
+ }
6560
+ },
6561
+ "rc": {
6562
+ "type": "array",
6563
+ "items": {
6564
+ "$ref": "#/components/schemas/OptionsInfoOption"
6565
+ }
6566
+ },
6567
+ "restic": {
6568
+ "type": "array",
6569
+ "items": {
6570
+ "$ref": "#/components/schemas/OptionsInfoOption"
6571
+ }
6572
+ },
6573
+ "s3": {
6574
+ "type": "array",
6575
+ "items": {
6576
+ "$ref": "#/components/schemas/OptionsInfoOption"
6577
+ }
6578
+ },
6579
+ "sftp": {
6580
+ "type": "array",
6581
+ "items": {
6582
+ "$ref": "#/components/schemas/OptionsInfoOption"
6583
+ }
6584
+ },
6585
+ "vfs": {
6586
+ "type": "array",
6587
+ "items": {
6588
+ "$ref": "#/components/schemas/OptionsInfoOption"
6589
+ }
6590
+ },
6591
+ "webdav": {
6592
+ "type": "array",
6593
+ "items": {
6594
+ "$ref": "#/components/schemas/OptionsInfoOption"
6595
+ }
6596
+ }
6597
+ },
6489
6598
  "additionalProperties": {
6490
6599
  "type": "array",
6491
6600
  "items": {
6492
- "type": "object",
6493
- "additionalProperties": true
6601
+ "$ref": "#/components/schemas/OptionsInfoOption"
6494
6602
  }
6495
6603
  }
6496
6604
  }
@@ -7563,6 +7671,143 @@
7563
7671
  },
7564
7672
  "additionalProperties": true
7565
7673
  },
7674
+ "OptionsInfoOptionExample": {
7675
+ "type": "object",
7676
+ "properties": {
7677
+ "Value": {
7678
+ "type": "string"
7679
+ },
7680
+ "Help": {
7681
+ "type": "string"
7682
+ }
7683
+ },
7684
+ "required": [
7685
+ "Value",
7686
+ "Help"
7687
+ ],
7688
+ "additionalProperties": true
7689
+ },
7690
+ "OptionsInfoOption": {
7691
+ "type": "object",
7692
+ "properties": {
7693
+ "Name": {
7694
+ "type": "string"
7695
+ },
7696
+ "FieldName": {
7697
+ "type": "string"
7698
+ },
7699
+ "Help": {
7700
+ "type": "string"
7701
+ },
7702
+ "Default": {
7703
+ "description": "Default value for this option.",
7704
+ "anyOf": [
7705
+ {
7706
+ "type": "array",
7707
+ "items": {
7708
+ "type": "string"
7709
+ }
7710
+ },
7711
+ {
7712
+ "type": "boolean"
7713
+ },
7714
+ {
7715
+ "type": "number"
7716
+ },
7717
+ {
7718
+ "type": "string"
7719
+ },
7720
+ {
7721
+ "type": "object",
7722
+ "properties": {
7723
+ "Value": {
7724
+ "type": "boolean"
7725
+ },
7726
+ "Valid": {
7727
+ "type": "boolean"
7728
+ }
7729
+ },
7730
+ "required": [
7731
+ "Value",
7732
+ "Valid"
7733
+ ],
7734
+ "additionalProperties": false
7735
+ }
7736
+ ]
7737
+ },
7738
+ "Value": {
7739
+ "nullable": true,
7740
+ "anyOf": [
7741
+ {
7742
+ "type": "boolean"
7743
+ },
7744
+ {
7745
+ "type": "number"
7746
+ }
7747
+ ]
7748
+ },
7749
+ "Hide": {
7750
+ "type": "integer"
7751
+ },
7752
+ "Required": {
7753
+ "type": "boolean"
7754
+ },
7755
+ "IsPassword": {
7756
+ "type": "boolean"
7757
+ },
7758
+ "NoPrefix": {
7759
+ "type": "boolean"
7760
+ },
7761
+ "Advanced": {
7762
+ "type": "boolean"
7763
+ },
7764
+ "Exclusive": {
7765
+ "type": "boolean"
7766
+ },
7767
+ "Sensitive": {
7768
+ "type": "boolean"
7769
+ },
7770
+ "DefaultStr": {
7771
+ "type": "string"
7772
+ },
7773
+ "ValueStr": {
7774
+ "type": "string"
7775
+ },
7776
+ "Type": {
7777
+ "type": "string"
7778
+ },
7779
+ "Groups": {
7780
+ "type": "string"
7781
+ },
7782
+ "ShortOpt": {
7783
+ "type": "string"
7784
+ },
7785
+ "Examples": {
7786
+ "type": "array",
7787
+ "items": {
7788
+ "$ref": "#/components/schemas/OptionsInfoOptionExample"
7789
+ }
7790
+ }
7791
+ },
7792
+ "required": [
7793
+ "Name",
7794
+ "FieldName",
7795
+ "Help",
7796
+ "Default",
7797
+ "Value",
7798
+ "Hide",
7799
+ "Required",
7800
+ "IsPassword",
7801
+ "NoPrefix",
7802
+ "Advanced",
7803
+ "Exclusive",
7804
+ "Sensitive",
7805
+ "DefaultStr",
7806
+ "ValueStr",
7807
+ "Type"
7808
+ ],
7809
+ "additionalProperties": true
7810
+ },
7566
7811
  "ConfigProviderOption": {
7567
7812
  "type": "object",
7568
7813
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rclone-openapi",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "keywords": [
5
5
  "rclone",
6
6
  "openapi",
package/types.d.ts CHANGED
@@ -4102,6 +4102,38 @@ export interface components {
4102
4102
  } & {
4103
4103
  [key: string]: unknown;
4104
4104
  };
4105
+ OptionsInfoOptionExample: {
4106
+ Value: string;
4107
+ Help: string;
4108
+ } & {
4109
+ [key: string]: unknown;
4110
+ };
4111
+ OptionsInfoOption: {
4112
+ Name: string;
4113
+ FieldName: string;
4114
+ Help: string;
4115
+ /** @description Default value for this option. */
4116
+ Default: string[] | boolean | number | string | {
4117
+ Value: boolean;
4118
+ Valid: boolean;
4119
+ };
4120
+ Value: (boolean | number) | null;
4121
+ Hide: number;
4122
+ Required: boolean;
4123
+ IsPassword: boolean;
4124
+ NoPrefix: boolean;
4125
+ Advanced: boolean;
4126
+ Exclusive: boolean;
4127
+ Sensitive: boolean;
4128
+ DefaultStr: string;
4129
+ ValueStr: string;
4130
+ Type: string;
4131
+ Groups?: string;
4132
+ ShortOpt?: string;
4133
+ Examples?: components["schemas"]["OptionsInfoOptionExample"][];
4134
+ } & {
4135
+ [key: string]: unknown;
4136
+ };
4105
4137
  ConfigProviderOption: {
4106
4138
  Advanced: boolean;
4107
4139
  Default: components["schemas"]["ConfigProviderOptionAny"];
@@ -4818,9 +4850,23 @@ export interface components {
4818
4850
  };
4819
4851
  content: {
4820
4852
  "application/json": {
4821
- [key: string]: {
4822
- [key: string]: unknown;
4823
- }[];
4853
+ dlna: components["schemas"]["OptionsInfoOption"][];
4854
+ filter: components["schemas"]["OptionsInfoOption"][];
4855
+ ftp: components["schemas"]["OptionsInfoOption"][];
4856
+ http: components["schemas"]["OptionsInfoOption"][];
4857
+ log: components["schemas"]["OptionsInfoOption"][];
4858
+ main: components["schemas"]["OptionsInfoOption"][];
4859
+ mount: components["schemas"]["OptionsInfoOption"][];
4860
+ nfs: components["schemas"]["OptionsInfoOption"][];
4861
+ proxy: components["schemas"]["OptionsInfoOption"][];
4862
+ rc: components["schemas"]["OptionsInfoOption"][];
4863
+ restic: components["schemas"]["OptionsInfoOption"][];
4864
+ s3: components["schemas"]["OptionsInfoOption"][];
4865
+ sftp: components["schemas"]["OptionsInfoOption"][];
4866
+ vfs: components["schemas"]["OptionsInfoOption"][];
4867
+ webdav: components["schemas"]["OptionsInfoOption"][];
4868
+ } & {
4869
+ [key: string]: components["schemas"]["OptionsInfoOption"][];
4824
4870
  };
4825
4871
  };
4826
4872
  };