@lasuillard/raindrop-client 0.5.1 → 0.5.3

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/dist/index.d.ts CHANGED
@@ -145,44 +145,6 @@ declare class BaseAPI {
145
145
  constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
146
146
  }
147
147
 
148
- /**
149
- *
150
- * @export
151
- * @interface Bookmark
152
- */
153
- declare interface Bookmark {
154
- /**
155
- *
156
- * @type {string}
157
- * @memberof Bookmark
158
- */
159
- 'link': string;
160
- /**
161
- *
162
- * @type {string}
163
- * @memberof Bookmark
164
- */
165
- 'title': string;
166
- /**
167
- *
168
- * @type {string}
169
- * @memberof Bookmark
170
- */
171
- 'lastUpdate': string;
172
- /**
173
- *
174
- * @type {Array<string>}
175
- * @memberof Bookmark
176
- */
177
- 'tags': Array<string>;
178
- /**
179
- *
180
- * @type {string}
181
- * @memberof Bookmark
182
- */
183
- 'excerpt': string;
184
- }
185
-
186
148
  /**
187
149
  *
188
150
  * @export
@@ -384,6 +346,12 @@ declare interface Collection {
384
346
  * @memberof Collection
385
347
  */
386
348
  'author': boolean;
349
+ /**
350
+ *
351
+ * @type {object}
352
+ * @memberof Collection
353
+ */
354
+ 'parent': object | null;
387
355
  }
388
356
 
389
357
  /**
@@ -467,7 +435,7 @@ declare class CollectionApi_2 extends BaseAPI {
467
435
  * @throws {RequiredError}
468
436
  * @memberof CollectionApi
469
437
  */
470
- deleteCollaborator(userId: number, id: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<Response_2, any>>;
438
+ deleteCollaborator(userId: number, id: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<SimpleResponse, any>>;
471
439
  /**
472
440
  *
473
441
  * @param {*} [options] Override http request option.
@@ -541,7 +509,7 @@ declare class CollectionApi_2 extends BaseAPI {
541
509
  * @throws {RequiredError}
542
510
  * @memberof CollectionApi
543
511
  */
544
- removeCollection(id: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<Response_2, any>>;
512
+ removeCollection(id: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<SimpleResponse, any>>;
545
513
  /**
546
514
  *
547
515
  * @param {RemoveCollectionsRequest} [removeCollectionsRequest]
@@ -565,7 +533,7 @@ declare class CollectionApi_2 extends BaseAPI {
565
533
  * @throws {RequiredError}
566
534
  * @memberof CollectionApi
567
535
  */
568
- searchCovers(text: string, options?: RawAxiosRequestConfig): Promise<AxiosResponse<CoverResponse, any>>;
536
+ searchCovers(text: string, options?: RawAxiosRequestConfig): Promise<AxiosResponse<SearchCoversResponse, any>>;
569
537
  /**
570
538
  *
571
539
  * @param {number} id
@@ -582,7 +550,7 @@ declare class CollectionApi_2 extends BaseAPI {
582
550
  * @throws {RequiredError}
583
551
  * @memberof CollectionApi
584
552
  */
585
- unshareOrLeaveCollection(id: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<Response_2, any>>;
553
+ unshareOrLeaveCollection(id: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<SimpleResponse, any>>;
586
554
  /**
587
555
  *
588
556
  * @param {number} id
@@ -792,7 +760,7 @@ declare const CollectionApiFactory: (configuration?: Configuration, basePath?: s
792
760
  * @param {*} [options] Override http request option.
793
761
  * @throws {RequiredError}
794
762
  */
795
- deleteCollaborator(userId: number, id: number, options?: any): AxiosPromise<Response_2>;
763
+ deleteCollaborator(userId: number, id: number, options?: any): AxiosPromise<SimpleResponse>;
796
764
  /**
797
765
  *
798
766
  * @param {*} [options] Override http request option.
@@ -856,7 +824,7 @@ declare const CollectionApiFactory: (configuration?: Configuration, basePath?: s
856
824
  * @param {*} [options] Override http request option.
857
825
  * @throws {RequiredError}
858
826
  */
859
- removeCollection(id: number, options?: any): AxiosPromise<Response_2>;
827
+ removeCollection(id: number, options?: any): AxiosPromise<SimpleResponse>;
860
828
  /**
861
829
  *
862
830
  * @param {RemoveCollectionsRequest} [removeCollectionsRequest]
@@ -877,7 +845,7 @@ declare const CollectionApiFactory: (configuration?: Configuration, basePath?: s
877
845
  * @param {*} [options] Override http request option.
878
846
  * @throws {RequiredError}
879
847
  */
880
- searchCovers(text: string, options?: any): AxiosPromise<CoverResponse>;
848
+ searchCovers(text: string, options?: any): AxiosPromise<SearchCoversResponse>;
881
849
  /**
882
850
  *
883
851
  * @param {number} id
@@ -892,7 +860,7 @@ declare const CollectionApiFactory: (configuration?: Configuration, basePath?: s
892
860
  * @param {*} [options] Override http request option.
893
861
  * @throws {RequiredError}
894
862
  */
895
- unshareOrLeaveCollection(id: number, options?: any): AxiosPromise<Response_2>;
863
+ unshareOrLeaveCollection(id: number, options?: any): AxiosPromise<SimpleResponse>;
896
864
  /**
897
865
  *
898
866
  * @param {number} id
@@ -946,7 +914,7 @@ declare const CollectionApiFp: (configuration?: Configuration) => {
946
914
  * @param {*} [options] Override http request option.
947
915
  * @throws {RequiredError}
948
916
  */
949
- deleteCollaborator(userId: number, id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response_2>>;
917
+ deleteCollaborator(userId: number, id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SimpleResponse>>;
950
918
  /**
951
919
  *
952
920
  * @param {*} [options] Override http request option.
@@ -1010,7 +978,7 @@ declare const CollectionApiFp: (configuration?: Configuration) => {
1010
978
  * @param {*} [options] Override http request option.
1011
979
  * @throws {RequiredError}
1012
980
  */
1013
- removeCollection(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response_2>>;
981
+ removeCollection(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SimpleResponse>>;
1014
982
  /**
1015
983
  *
1016
984
  * @param {RemoveCollectionsRequest} [removeCollectionsRequest]
@@ -1031,7 +999,7 @@ declare const CollectionApiFp: (configuration?: Configuration) => {
1031
999
  * @param {*} [options] Override http request option.
1032
1000
  * @throws {RequiredError}
1033
1001
  */
1034
- searchCovers(text: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CoverResponse>>;
1002
+ searchCovers(text: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchCoversResponse>>;
1035
1003
  /**
1036
1004
  *
1037
1005
  * @param {number} id
@@ -1046,7 +1014,7 @@ declare const CollectionApiFp: (configuration?: Configuration) => {
1046
1014
  * @param {*} [options] Override http request option.
1047
1015
  * @throws {RequiredError}
1048
1016
  */
1049
- unshareOrLeaveCollection(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response_2>>;
1017
+ unshareOrLeaveCollection(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SimpleResponse>>;
1050
1018
  /**
1051
1019
  *
1052
1020
  * @param {number} id
@@ -1099,46 +1067,6 @@ declare const CollectionRefRefEnum: {
1099
1067
 
1100
1068
  declare type CollectionRefRefEnum = typeof CollectionRefRefEnum[keyof typeof CollectionRefRefEnum];
1101
1069
 
1102
- /**
1103
- *
1104
- * @export
1105
- * @interface CollectionResponseMany
1106
- */
1107
- declare interface CollectionResponseMany {
1108
- /**
1109
- *
1110
- * @type {boolean}
1111
- * @memberof CollectionResponseMany
1112
- */
1113
- 'result': boolean;
1114
- /**
1115
- *
1116
- * @type {Array<Collection>}
1117
- * @memberof CollectionResponseMany
1118
- */
1119
- 'items': Array<Collection>;
1120
- }
1121
-
1122
- /**
1123
- *
1124
- * @export
1125
- * @interface CollectionResponseOne
1126
- */
1127
- declare interface CollectionResponseOne {
1128
- /**
1129
- *
1130
- * @type {boolean}
1131
- * @memberof CollectionResponseOne
1132
- */
1133
- 'result': boolean;
1134
- /**
1135
- *
1136
- * @type {Collection}
1137
- * @memberof CollectionResponseOne
1138
- */
1139
- 'item'?: Collection;
1140
- }
1141
-
1142
1070
  declare class Configuration {
1143
1071
  /**
1144
1072
  * parameter for apiKey security
@@ -1246,66 +1174,6 @@ declare const ConnectSocialNetworkProviderProviderEnum: {
1246
1174
 
1247
1175
  declare type ConnectSocialNetworkProviderProviderEnum = typeof ConnectSocialNetworkProviderProviderEnum[keyof typeof ConnectSocialNetworkProviderProviderEnum];
1248
1176
 
1249
- /**
1250
- *
1251
- * @export
1252
- * @interface Cover
1253
- */
1254
- declare interface Cover {
1255
- /**
1256
- *
1257
- * @type {string}
1258
- * @memberof Cover
1259
- */
1260
- 'title': string;
1261
- /**
1262
- *
1263
- * @type {Array<CoverIconsInner>}
1264
- * @memberof Cover
1265
- */
1266
- 'icons': Array<CoverIconsInner>;
1267
- }
1268
-
1269
- /**
1270
- *
1271
- * @export
1272
- * @interface CoverIconsInner
1273
- */
1274
- declare interface CoverIconsInner {
1275
- /**
1276
- *
1277
- * @type {string}
1278
- * @memberof CoverIconsInner
1279
- */
1280
- 'png': string;
1281
- /**
1282
- *
1283
- * @type {string}
1284
- * @memberof CoverIconsInner
1285
- */
1286
- 'svg'?: string;
1287
- }
1288
-
1289
- /**
1290
- *
1291
- * @export
1292
- * @interface CoverResponse
1293
- */
1294
- declare interface CoverResponse {
1295
- /**
1296
- *
1297
- * @type {boolean}
1298
- * @memberof CoverResponse
1299
- */
1300
- 'result': boolean;
1301
- /**
1302
- *
1303
- * @type {Array<Cover>}
1304
- * @memberof CoverResponse
1305
- */
1306
- 'items': Array<Cover>;
1307
- }
1308
-
1309
1177
  /**
1310
1178
  *
1311
1179
  * @export
@@ -1341,7 +1209,7 @@ declare interface CreateCollectionRequest {
1341
1209
  * @type {CollectionRef}
1342
1210
  * @memberof CreateCollectionRequest
1343
1211
  */
1344
- 'parent'?: CollectionRef;
1212
+ 'parent'?: CollectionRef | null;
1345
1213
  /**
1346
1214
  *
1347
1215
  * @type {Array<string>}
@@ -1486,114 +1354,16 @@ declare interface CreateCollectionResponseItem {
1486
1354
  'author': boolean;
1487
1355
  /**
1488
1356
  *
1489
- * @type {number}
1357
+ * @type {object}
1490
1358
  * @memberof CreateCollectionResponseItem
1491
1359
  */
1492
- '__v': number;
1493
- }
1494
-
1495
- /**
1496
- *
1497
- * @export
1498
- * @interface CreateRaindrop
1499
- */
1500
- declare interface CreateRaindrop {
1501
- /**
1502
- *
1503
- * @type {string}
1504
- * @memberof CreateRaindrop
1505
- */
1506
- 'created': string;
1507
- /**
1508
- *
1509
- * @type {string}
1510
- * @memberof CreateRaindrop
1511
- */
1512
- 'lastUpdate': string;
1360
+ 'parent': object | null;
1513
1361
  /**
1514
1362
  *
1515
1363
  * @type {number}
1516
- * @memberof CreateRaindrop
1517
- */
1518
- 'sort'?: number;
1519
- /**
1520
- *
1521
- * @type {boolean}
1522
- * @memberof CreateRaindrop
1523
- */
1524
- 'important': boolean;
1525
- /**
1526
- *
1527
- * @type {RaindropBaseReminder}
1528
- * @memberof CreateRaindrop
1529
- */
1530
- 'reminder': RaindropBaseReminder;
1531
- /**
1532
- *
1533
- * @type {Array<string>}
1534
- * @memberof CreateRaindrop
1535
- */
1536
- 'tags': Array<string>;
1537
- /**
1538
- *
1539
- * @type {Array<RaindropBaseMediaInner>}
1540
- * @memberof CreateRaindrop
1541
- */
1542
- 'media': Array<RaindropBaseMediaInner>;
1543
- /**
1544
- *
1545
- * @type {string}
1546
- * @memberof CreateRaindrop
1547
- */
1548
- 'cover': string;
1549
- /**
1550
- *
1551
- * @type {CollectionRef}
1552
- * @memberof CreateRaindrop
1553
- */
1554
- 'collection': CollectionRef;
1555
- /**
1556
- *
1557
- * @type {string}
1558
- * @memberof CreateRaindrop
1559
- */
1560
- 'type': string;
1561
- /**
1562
- *
1563
- * @type {string}
1564
- * @memberof CreateRaindrop
1565
- */
1566
- 'excerpt': string;
1567
- /**
1568
- *
1569
- * @type {string}
1570
- * @memberof CreateRaindrop
1571
- */
1572
- 'note': string;
1573
- /**
1574
- *
1575
- * @type {string}
1576
- * @memberof CreateRaindrop
1577
- */
1578
- 'title': string;
1579
- /**
1580
- *
1581
- * @type {string}
1582
- * @memberof CreateRaindrop
1583
- */
1584
- 'link': string;
1585
- /**
1586
- *
1587
- * @type {Array<Highlight>}
1588
- * @memberof CreateRaindrop
1589
- */
1590
- 'highlights': Array<Highlight_2>;
1591
- /**
1592
- *
1593
- * @type {object}
1594
- * @memberof CreateRaindrop
1364
+ * @memberof CreateCollectionResponseItem
1595
1365
  */
1596
- 'pleaseParse'?: object;
1366
+ '__v': number;
1597
1367
  }
1598
1368
 
1599
1369
  /**
@@ -1771,7 +1541,7 @@ declare interface CreateRaindropResponseItem {
1771
1541
  * @type {CollectionRef}
1772
1542
  * @memberof CreateRaindropResponseItem
1773
1543
  */
1774
- 'collection': CollectionRef;
1544
+ 'collection': CollectionRef | null;
1775
1545
  /**
1776
1546
  *
1777
1547
  * @type {number}
@@ -1965,76 +1735,6 @@ declare const DisconnectSocialNetworkProviderProviderEnum: {
1965
1735
 
1966
1736
  declare type DisconnectSocialNetworkProviderProviderEnum = typeof DisconnectSocialNetworkProviderProviderEnum[keyof typeof DisconnectSocialNetworkProviderProviderEnum];
1967
1737
 
1968
- /**
1969
- *
1970
- * @export
1971
- * @interface ErrorResponse
1972
- */
1973
- declare interface ErrorResponse {
1974
- /**
1975
- *
1976
- * @type {boolean}
1977
- * @memberof ErrorResponse
1978
- */
1979
- 'result': boolean;
1980
- /**
1981
- *
1982
- * @type {string}
1983
- * @memberof ErrorResponse
1984
- */
1985
- 'error': string;
1986
- /**
1987
- *
1988
- * @type {string}
1989
- * @memberof ErrorResponse
1990
- */
1991
- 'errorMessage': string;
1992
- }
1993
-
1994
- /**
1995
- *
1996
- * @export
1997
- * @interface Filter
1998
- */
1999
- declare interface Filter {
2000
- /**
2001
- *
2002
- * @type {StatResponseAllOfMetaDuplicates}
2003
- * @memberof Filter
2004
- */
2005
- 'broken': StatResponseAllOfMetaDuplicates;
2006
- /**
2007
- *
2008
- * @type {StatResponseAllOfMetaDuplicates}
2009
- * @memberof Filter
2010
- */
2011
- 'duplicates': StatResponseAllOfMetaDuplicates;
2012
- /**
2013
- *
2014
- * @type {StatResponseAllOfMetaDuplicates}
2015
- * @memberof Filter
2016
- */
2017
- 'important': StatResponseAllOfMetaDuplicates;
2018
- /**
2019
- *
2020
- * @type {StatResponseAllOfMetaDuplicates}
2021
- * @memberof Filter
2022
- */
2023
- 'notag': StatResponseAllOfMetaDuplicates;
2024
- /**
2025
- *
2026
- * @type {Array<FilterTagsInner>}
2027
- * @memberof Filter
2028
- */
2029
- 'tags': Array<FilterTagsInner>;
2030
- /**
2031
- *
2032
- * @type {Array<FilterTagsInner>}
2033
- * @memberof Filter
2034
- */
2035
- 'types': Array<FilterTagsInner>;
2036
- }
2037
-
2038
1738
  /**
2039
1739
  * FilterApi - object-oriented interface
2040
1740
  * @export
@@ -2051,7 +1751,7 @@ declare class FilterApi extends BaseAPI {
2051
1751
  * @throws {RequiredError}
2052
1752
  * @memberof FilterApi
2053
1753
  */
2054
- getFilters(collectionId: number, tagsSort?: GetFiltersTagsSortEnum, search?: string, options?: RawAxiosRequestConfig): Promise<AxiosResponse<FilterResponse, any>>;
1754
+ getFilters(collectionId: number, tagsSort?: GetFiltersTagsSortEnum, search?: string, options?: RawAxiosRequestConfig): Promise<AxiosResponse<GetFiltersResponse, any>>;
2055
1755
  }
2056
1756
 
2057
1757
  /**
@@ -2083,7 +1783,7 @@ declare const FilterApiFactory: (configuration?: Configuration, basePath?: strin
2083
1783
  * @param {*} [options] Override http request option.
2084
1784
  * @throws {RequiredError}
2085
1785
  */
2086
- getFilters(collectionId: number, tagsSort?: GetFiltersTagsSortEnum, search?: string, options?: any): AxiosPromise<FilterResponse>;
1786
+ getFilters(collectionId: number, tagsSort?: GetFiltersTagsSortEnum, search?: string, options?: any): AxiosPromise<GetFiltersResponse>;
2087
1787
  };
2088
1788
 
2089
1789
  /**
@@ -2099,109 +1799,12 @@ declare const FilterApiFp: (configuration?: Configuration) => {
2099
1799
  * @param {*} [options] Override http request option.
2100
1800
  * @throws {RequiredError}
2101
1801
  */
2102
- getFilters(collectionId: number, tagsSort?: GetFiltersTagsSortEnum, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FilterResponse>>;
1802
+ getFilters(collectionId: number, tagsSort?: GetFiltersTagsSortEnum, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFiltersResponse>>;
2103
1803
  };
2104
1804
 
2105
- /**
2106
- *
2107
- * @export
2108
- * @interface FilterResponse
2109
- */
2110
- declare interface FilterResponse {
2111
- /**
2112
- *
2113
- * @type {boolean}
2114
- * @memberof FilterResponse
2115
- */
2116
- 'result': boolean;
2117
- /**
2118
- *
2119
- * @type {StatResponseAllOfMetaDuplicates}
2120
- * @memberof FilterResponse
2121
- */
2122
- 'broken': StatResponseAllOfMetaDuplicates;
2123
- /**
2124
- *
2125
- * @type {StatResponseAllOfMetaDuplicates}
2126
- * @memberof FilterResponse
2127
- */
2128
- 'duplicates': StatResponseAllOfMetaDuplicates;
2129
- /**
2130
- *
2131
- * @type {StatResponseAllOfMetaDuplicates}
2132
- * @memberof FilterResponse
2133
- */
2134
- 'important': StatResponseAllOfMetaDuplicates;
2135
- /**
2136
- *
2137
- * @type {StatResponseAllOfMetaDuplicates}
2138
- * @memberof FilterResponse
2139
- */
2140
- 'notag': StatResponseAllOfMetaDuplicates;
2141
- /**
2142
- *
2143
- * @type {Array<FilterTagsInner>}
2144
- * @memberof FilterResponse
2145
- */
2146
- 'tags': Array<FilterTagsInner>;
2147
- /**
2148
- *
2149
- * @type {Array<FilterTagsInner>}
2150
- * @memberof FilterResponse
2151
- */
2152
- 'types': Array<FilterTagsInner>;
2153
- }
2154
-
2155
- /**
2156
- *
2157
- * @export
2158
- * @interface FilterTagsInner
2159
- */
2160
- declare interface FilterTagsInner {
2161
- /**
2162
- *
2163
- * @type {string}
2164
- * @memberof FilterTagsInner
2165
- */
2166
- '_id': string;
2167
- /**
2168
- *
2169
- * @type {number}
2170
- * @memberof FilterTagsInner
2171
- */
2172
- 'count': number;
2173
- }
2174
-
2175
- /**
2176
- *
2177
- * @export
2178
- * @interface Folder
2179
- */
2180
- declare interface Folder {
2181
- /**
2182
- *
2183
- * @type {string}
2184
- * @memberof Folder
2185
- */
2186
- 'title': string;
2187
- /**
2188
- *
2189
- * @type {Array<Folder>}
2190
- * @memberof Folder
2191
- */
2192
- 'folders': Array<Folder>;
2193
- /**
2194
- *
2195
- * @type {Array<Bookmark>}
2196
- * @memberof Folder
2197
- */
2198
- 'bookmarks': Array<Bookmark>;
2199
- }
2200
-
2201
1805
  declare namespace generated {
2202
1806
  export {
2203
1807
  AcceptInvitation200Response,
2204
- Bookmark,
2205
1808
  ChangeCollaboratorAccessLevelRequest,
2206
1809
  CheckURLsExistRequest,
2207
1810
  CheckURLsExistResponse,
@@ -2210,15 +1813,9 @@ declare namespace generated {
2210
1813
  CollectionAccess,
2211
1814
  CollectionRef,
2212
1815
  CollectionRefRefEnum,
2213
- CollectionResponseMany,
2214
- CollectionResponseOne,
2215
- Cover,
2216
- CoverIconsInner,
2217
- CoverResponse,
2218
1816
  CreateCollectionRequest,
2219
1817
  CreateCollectionResponse,
2220
1818
  CreateCollectionResponseItem,
2221
- CreateRaindrop,
2222
1819
  CreateRaindropRequest,
2223
1820
  CreateRaindropRequestCollection,
2224
1821
  CreateRaindropRequestHighlightsInner,
@@ -2228,23 +1825,19 @@ declare namespace generated {
2228
1825
  CreateRaindropsResponse,
2229
1826
  CreatorRef,
2230
1827
  CreatorRefOneOf,
2231
- ErrorResponse,
2232
- Filter,
2233
- FilterResponse,
2234
- FilterTagsInner,
2235
- Folder,
2236
1828
  GetAllHighlightsResponse,
2237
1829
  GetAllHighlightsResponseItemsInner,
2238
1830
  GetChildCollectionsResponse,
2239
1831
  GetChildCollectionsResponseItemsInner,
2240
1832
  GetCollectionResponse,
1833
+ GetCurrentUserResponse,
2241
1834
  GetFeaturedCoversResponse,
2242
1835
  GetFeaturedCoversResponseItemsInner,
2243
1836
  GetFiltersResponse,
1837
+ GetFiltersResponseCreatedInner,
2244
1838
  GetHighlightsInCollectionResponse,
2245
1839
  GetOrRefreshToken200Response,
2246
1840
  GetOrRefreshTokenRequest,
2247
- GetPublicUserByName200Response,
2248
1841
  GetPublicUserByNameResponse,
2249
1842
  GetPublicUserByNameResponseUser,
2250
1843
  GetPublicUserByNameResponseUserConfig,
@@ -2256,16 +1849,8 @@ declare namespace generated {
2256
1849
  GetSystemCollectionStatsResponse,
2257
1850
  GetSystemCollectionStatsResponseItemsInner,
2258
1851
  GetSystemCollectionStatsResponseMeta,
2259
- GetTagsInCollection200Response,
2260
- GetTagsInCollection200ResponseAllOfItemsInner,
2261
1852
  GetTagsInCollectionResponse,
2262
1853
  Group,
2263
- Highlight_2 as Highlight,
2264
- HighlightColorEnum,
2265
- HighlightItem,
2266
- HighlightItemColorEnum,
2267
- HighlightResponse,
2268
- ImportFileResponse,
2269
1854
  ImportHTMLBookmarkFileResponse,
2270
1855
  ImportHTMLBookmarkFileResponseCount,
2271
1856
  ImportHTMLBookmarkFileResponseItemBookmark,
@@ -2278,18 +1863,6 @@ declare namespace generated {
2278
1863
  ParseURLResponseItem,
2279
1864
  ParseURLResponseItemMediaInner,
2280
1865
  ParseURLResponseItemMeta,
2281
- ParseUrlErrorResponse,
2282
- ParseUrlResponse,
2283
- Raindrop_2 as Raindrop,
2284
- RaindropAllOfCache,
2285
- RaindropAllOfCacheStatusEnum,
2286
- RaindropAllOfFile,
2287
- RaindropBase,
2288
- RaindropBaseMediaInner,
2289
- RaindropBaseMediaInnerTypeEnum,
2290
- RaindropBaseReminder,
2291
- RaindropResponseMany,
2292
- RaindropResponseOne,
2293
1866
  RefreshToken,
2294
1867
  RefreshTokenGrantTypeEnum,
2295
1868
  RemoveAllEmptyCollectionsResponse,
@@ -2302,7 +1875,6 @@ declare namespace generated {
2302
1875
  RemoveTagsFromCollectionRequest,
2303
1876
  RenameOrMergeTagsRequest,
2304
1877
  ReorderAllCollectionsRequest,
2305
- Response_2 as Response,
2306
1878
  Role,
2307
1879
  SearchCoversResponse,
2308
1880
  SearchCoversResponseItemsInner,
@@ -2310,15 +1882,9 @@ declare namespace generated {
2310
1882
  ShareCollectionRequest,
2311
1883
  ShareCollectionResponse,
2312
1884
  SimpleResponse,
2313
- StatResponse,
2314
- StatResponseAllOfItems,
2315
- StatResponseAllOfMeta,
2316
- StatResponseAllOfMetaDuplicates,
2317
- Suggest,
2318
1885
  SuggestForExistingBookmarkResponse,
2319
1886
  SuggestForNewBookmarkRequest,
2320
1887
  SuggestForNewBookmarkResponse,
2321
- SuggestResponse,
2322
1888
  TokenErrorResponse,
2323
1889
  TokenResponse,
2324
1890
  TokenResponseTokenTypeEnum,
@@ -2337,21 +1903,15 @@ declare namespace generated {
2337
1903
  UploadCollectionCoverResponseItem,
2338
1904
  UploadFileResponse,
2339
1905
  UploadFileResponseItem,
1906
+ UploadFileResponseItemFile,
2340
1907
  UploadRaindropCoverResponse,
2341
1908
  UploadRaindropCoverResponseItem,
2342
- UrlParse,
2343
- UrlParseErrorResponse,
2344
- UrlParseMediaInner,
2345
- UrlParseMeta,
2346
- UrlParseResponse,
2347
1909
  User,
2348
1910
  UserConfig,
2349
1911
  UserDropbox,
2350
1912
  UserFiles,
2351
1913
  UserRef,
2352
- UserResponse,
2353
1914
  UserTfa,
2354
- View,
2355
1915
  AuthenticationApiAxiosParamCreator,
2356
1916
  AuthenticationApiFp,
2357
1917
  AuthenticationApiFactory,
@@ -2619,7 +2179,7 @@ declare interface GetChildCollectionsResponseItemsInner {
2619
2179
  * @type {CollectionRef}
2620
2180
  * @memberof GetChildCollectionsResponseItemsInner
2621
2181
  */
2622
- 'parent': CollectionRef;
2182
+ 'parent': CollectionRef | null;
2623
2183
  }
2624
2184
 
2625
2185
  /**
@@ -2642,6 +2202,26 @@ declare interface GetCollectionResponse {
2642
2202
  'item'?: Collection;
2643
2203
  }
2644
2204
 
2205
+ /**
2206
+ *
2207
+ * @export
2208
+ * @interface GetCurrentUserResponse
2209
+ */
2210
+ declare interface GetCurrentUserResponse {
2211
+ /**
2212
+ *
2213
+ * @type {boolean}
2214
+ * @memberof GetCurrentUserResponse
2215
+ */
2216
+ 'result': boolean;
2217
+ /**
2218
+ *
2219
+ * @type {User}
2220
+ * @memberof GetCurrentUserResponse
2221
+ */
2222
+ 'user': User;
2223
+ }
2224
+
2645
2225
  /**
2646
2226
  *
2647
2227
  * @export
@@ -2700,7 +2280,7 @@ declare interface GetFeaturedCoversResponseItemsInner {
2700
2280
  * @interface GetFiltersResponse
2701
2281
  */
2702
2282
  declare interface GetFiltersResponse {
2703
- [key: string]: FilterTagsInner | any;
2283
+ [key: string]: GetFiltersResponseCreatedInner | any;
2704
2284
  /**
2705
2285
  *
2706
2286
  * @type {boolean}
@@ -2715,22 +2295,42 @@ declare interface GetFiltersResponse {
2715
2295
  'collectionId': number;
2716
2296
  /**
2717
2297
  *
2718
- * @type {Array<FilterTagsInner>}
2298
+ * @type {Array<GetFiltersResponseCreatedInner>}
2719
2299
  * @memberof GetFiltersResponse
2720
2300
  */
2721
- 'created': Array<FilterTagsInner>;
2301
+ 'created': Array<GetFiltersResponseCreatedInner>;
2722
2302
  /**
2723
2303
  *
2724
- * @type {Array<FilterTagsInner>}
2304
+ * @type {Array<GetFiltersResponseCreatedInner>}
2725
2305
  * @memberof GetFiltersResponse
2726
2306
  */
2727
- 'tags': Array<FilterTagsInner>;
2307
+ 'tags': Array<GetFiltersResponseCreatedInner>;
2728
2308
  /**
2729
2309
  *
2730
- * @type {Array<FilterTagsInner>}
2310
+ * @type {Array<GetFiltersResponseCreatedInner>}
2731
2311
  * @memberof GetFiltersResponse
2732
2312
  */
2733
- 'types': Array<FilterTagsInner>;
2313
+ 'types': Array<GetFiltersResponseCreatedInner>;
2314
+ }
2315
+
2316
+ /**
2317
+ *
2318
+ * @export
2319
+ * @interface GetFiltersResponseCreatedInner
2320
+ */
2321
+ declare interface GetFiltersResponseCreatedInner {
2322
+ /**
2323
+ *
2324
+ * @type {string}
2325
+ * @memberof GetFiltersResponseCreatedInner
2326
+ */
2327
+ '_id': string;
2328
+ /**
2329
+ *
2330
+ * @type {number}
2331
+ * @memberof GetFiltersResponseCreatedInner
2332
+ */
2333
+ 'count': number;
2734
2334
  }
2735
2335
 
2736
2336
  /**
@@ -2775,50 +2375,6 @@ declare type GetOrRefreshToken200Response = TokenErrorResponse | TokenResponse;
2775
2375
  */
2776
2376
  declare type GetOrRefreshTokenRequest = ObtainToken | RefreshToken;
2777
2377
 
2778
- /**
2779
- *
2780
- * @export
2781
- * @interface GetPublicUserByName200Response
2782
- */
2783
- declare interface GetPublicUserByName200Response {
2784
- /**
2785
- *
2786
- * @type {boolean}
2787
- * @memberof GetPublicUserByName200Response
2788
- */
2789
- 'result': boolean;
2790
- /**
2791
- *
2792
- * @type {number}
2793
- * @memberof GetPublicUserByName200Response
2794
- */
2795
- '_id'?: number;
2796
- /**
2797
- *
2798
- * @type {string}
2799
- * @memberof GetPublicUserByName200Response
2800
- */
2801
- 'email_MD5'?: string;
2802
- /**
2803
- *
2804
- * @type {string}
2805
- * @memberof GetPublicUserByName200Response
2806
- */
2807
- 'fullName'?: string;
2808
- /**
2809
- *
2810
- * @type {boolean}
2811
- * @memberof GetPublicUserByName200Response
2812
- */
2813
- 'pro'?: boolean;
2814
- /**
2815
- *
2816
- * @type {string}
2817
- * @memberof GetPublicUserByName200Response
2818
- */
2819
- 'registered'?: string;
2820
- }
2821
-
2822
2378
  /**
2823
2379
  *
2824
2380
  * @export
@@ -2970,7 +2526,7 @@ declare interface GetRaindropResponseItem {
2970
2526
  * @type {CollectionRef}
2971
2527
  * @memberof GetRaindropResponseItem
2972
2528
  */
2973
- 'collection': CollectionRef;
2529
+ 'collection': CollectionRef | null;
2974
2530
  /**
2975
2531
  *
2976
2532
  * @type {number}
@@ -3245,46 +2801,6 @@ declare interface GetSystemCollectionStatsResponseMeta {
3245
2801
  'changedBookmarksDate': string;
3246
2802
  }
3247
2803
 
3248
- /**
3249
- *
3250
- * @export
3251
- * @interface GetTagsInCollection200Response
3252
- */
3253
- declare interface GetTagsInCollection200Response {
3254
- /**
3255
- *
3256
- * @type {boolean}
3257
- * @memberof GetTagsInCollection200Response
3258
- */
3259
- 'result': boolean;
3260
- /**
3261
- *
3262
- * @type {Array<GetTagsInCollection200ResponseAllOfItemsInner>}
3263
- * @memberof GetTagsInCollection200Response
3264
- */
3265
- 'items'?: Array<GetTagsInCollection200ResponseAllOfItemsInner>;
3266
- }
3267
-
3268
- /**
3269
- *
3270
- * @export
3271
- * @interface GetTagsInCollection200ResponseAllOfItemsInner
3272
- */
3273
- declare interface GetTagsInCollection200ResponseAllOfItemsInner {
3274
- /**
3275
- *
3276
- * @type {string}
3277
- * @memberof GetTagsInCollection200ResponseAllOfItemsInner
3278
- */
3279
- '_id'?: string;
3280
- /**
3281
- *
3282
- * @type {number}
3283
- * @memberof GetTagsInCollection200ResponseAllOfItemsInner
3284
- */
3285
- 'count'?: number;
3286
- }
3287
-
3288
2804
  /**
3289
2805
  *
3290
2806
  * @export
@@ -3299,10 +2815,10 @@ declare interface GetTagsInCollectionResponse {
3299
2815
  'result': boolean;
3300
2816
  /**
3301
2817
  *
3302
- * @type {Array<FilterTagsInner>}
2818
+ * @type {Array<GetFiltersResponseCreatedInner>}
3303
2819
  * @memberof GetTagsInCollectionResponse
3304
2820
  */
3305
- 'items': Array<FilterTagsInner>;
2821
+ 'items': Array<GetFiltersResponseCreatedInner>;
3306
2822
  }
3307
2823
 
3308
2824
  /**
@@ -3337,44 +2853,6 @@ declare interface Group {
3337
2853
  'collections': Array<number>;
3338
2854
  }
3339
2855
 
3340
- /**
3341
- *
3342
- * @export
3343
- * @interface Highlight
3344
- */
3345
- declare interface Highlight_2 {
3346
- /**
3347
- *
3348
- * @type {string}
3349
- * @memberof Highlight
3350
- */
3351
- '_id': string;
3352
- /**
3353
- *
3354
- * @type {string}
3355
- * @memberof Highlight
3356
- */
3357
- 'text': string;
3358
- /**
3359
- *
3360
- * @type {string}
3361
- * @memberof Highlight
3362
- */
3363
- 'color': HighlightColorEnum;
3364
- /**
3365
- *
3366
- * @type {string}
3367
- * @memberof Highlight
3368
- */
3369
- 'note': string;
3370
- /**
3371
- *
3372
- * @type {string}
3373
- * @memberof Highlight
3374
- */
3375
- 'created': string;
3376
- }
3377
-
3378
2856
  /**
3379
2857
  * HighlightApi - object-oriented interface
3380
2858
  * @export
@@ -3390,7 +2868,7 @@ declare class HighlightApi extends BaseAPI {
3390
2868
  * @throws {RequiredError}
3391
2869
  * @memberof HighlightApi
3392
2870
  */
3393
- getAllHighlights(page?: number, perpage?: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<HighlightResponse, any>>;
2871
+ getAllHighlights(page?: number, perpage?: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<GetAllHighlightsResponse, any>>;
3394
2872
  /**
3395
2873
  *
3396
2874
  * @param {number} collectionId
@@ -3400,7 +2878,7 @@ declare class HighlightApi extends BaseAPI {
3400
2878
  * @throws {RequiredError}
3401
2879
  * @memberof HighlightApi
3402
2880
  */
3403
- getHighlightsInCollection(collectionId: number, page?: number, perpage?: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<HighlightResponse, any>>;
2881
+ getHighlightsInCollection(collectionId: number, page?: number, perpage?: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<GetHighlightsInCollectionResponse, any>>;
3404
2882
  /**
3405
2883
  *
3406
2884
  * @param {number} id
@@ -3471,7 +2949,7 @@ declare const HighlightApiFactory: (configuration?: Configuration, basePath?: st
3471
2949
  * @param {*} [options] Override http request option.
3472
2950
  * @throws {RequiredError}
3473
2951
  */
3474
- getAllHighlights(page?: number, perpage?: number, options?: any): AxiosPromise<HighlightResponse>;
2952
+ getAllHighlights(page?: number, perpage?: number, options?: any): AxiosPromise<GetAllHighlightsResponse>;
3475
2953
  /**
3476
2954
  *
3477
2955
  * @param {number} collectionId
@@ -3480,7 +2958,7 @@ declare const HighlightApiFactory: (configuration?: Configuration, basePath?: st
3480
2958
  * @param {*} [options] Override http request option.
3481
2959
  * @throws {RequiredError}
3482
2960
  */
3483
- getHighlightsInCollection(collectionId: number, page?: number, perpage?: number, options?: any): AxiosPromise<HighlightResponse>;
2961
+ getHighlightsInCollection(collectionId: number, page?: number, perpage?: number, options?: any): AxiosPromise<GetHighlightsInCollectionResponse>;
3484
2962
  /**
3485
2963
  *
3486
2964
  * @param {number} id
@@ -3510,7 +2988,7 @@ declare const HighlightApiFp: (configuration?: Configuration) => {
3510
2988
  * @param {*} [options] Override http request option.
3511
2989
  * @throws {RequiredError}
3512
2990
  */
3513
- getAllHighlights(page?: number, perpage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HighlightResponse>>;
2991
+ getAllHighlights(page?: number, perpage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAllHighlightsResponse>>;
3514
2992
  /**
3515
2993
  *
3516
2994
  * @param {number} collectionId
@@ -3519,7 +2997,7 @@ declare const HighlightApiFp: (configuration?: Configuration) => {
3519
2997
  * @param {*} [options] Override http request option.
3520
2998
  * @throws {RequiredError}
3521
2999
  */
3522
- getHighlightsInCollection(collectionId: number, page?: number, perpage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HighlightResponse>>;
3000
+ getHighlightsInCollection(collectionId: number, page?: number, perpage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetHighlightsInCollectionResponse>>;
3523
3001
  /**
3524
3002
  *
3525
3003
  * @param {number} id
@@ -3537,122 +3015,6 @@ declare const HighlightApiFp: (configuration?: Configuration) => {
3537
3015
  updateRaindrop(id: number, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateRaindropResponse>>;
3538
3016
  };
3539
3017
 
3540
- declare const HighlightColorEnum: {
3541
- readonly Blue: "blue";
3542
- readonly Brown: "brown";
3543
- readonly Cyan: "cyan";
3544
- readonly Gray: "gray";
3545
- readonly Green: "green";
3546
- readonly Indigo: "indigo";
3547
- readonly Orange: "orange";
3548
- readonly Pink: "pink";
3549
- readonly Purple: "purple";
3550
- readonly Red: "red";
3551
- readonly Teal: "teal";
3552
- readonly Yellow: "yellow";
3553
- };
3554
-
3555
- declare type HighlightColorEnum = typeof HighlightColorEnum[keyof typeof HighlightColorEnum];
3556
-
3557
- /**
3558
- *
3559
- * @export
3560
- * @interface HighlightItem
3561
- */
3562
- declare interface HighlightItem {
3563
- /**
3564
- *
3565
- * @type {string}
3566
- * @memberof HighlightItem
3567
- */
3568
- '_id': string;
3569
- /**
3570
- *
3571
- * @type {string}
3572
- * @memberof HighlightItem
3573
- */
3574
- 'text': string;
3575
- /**
3576
- *
3577
- * @type {string}
3578
- * @memberof HighlightItem
3579
- */
3580
- 'color': HighlightItemColorEnum;
3581
- /**
3582
- *
3583
- * @type {string}
3584
- * @memberof HighlightItem
3585
- */
3586
- 'note': string;
3587
- /**
3588
- *
3589
- * @type {string}
3590
- * @memberof HighlightItem
3591
- */
3592
- 'created': string;
3593
- /**
3594
- *
3595
- * @type {number}
3596
- * @memberof HighlightItem
3597
- */
3598
- 'raindropRef': number;
3599
- /**
3600
- *
3601
- * @type {string}
3602
- * @memberof HighlightItem
3603
- */
3604
- 'link': string;
3605
- /**
3606
- *
3607
- * @type {string}
3608
- * @memberof HighlightItem
3609
- */
3610
- 'title': string;
3611
- /**
3612
- *
3613
- * @type {Array<string>}
3614
- * @memberof HighlightItem
3615
- */
3616
- 'tags': Array<string>;
3617
- }
3618
-
3619
- declare const HighlightItemColorEnum: {
3620
- readonly Blue: "blue";
3621
- readonly Brown: "brown";
3622
- readonly Cyan: "cyan";
3623
- readonly Gray: "gray";
3624
- readonly Green: "green";
3625
- readonly Indigo: "indigo";
3626
- readonly Orange: "orange";
3627
- readonly Pink: "pink";
3628
- readonly Purple: "purple";
3629
- readonly Red: "red";
3630
- readonly Teal: "teal";
3631
- readonly Yellow: "yellow";
3632
- };
3633
-
3634
- declare type HighlightItemColorEnum = typeof HighlightItemColorEnum[keyof typeof HighlightItemColorEnum];
3635
-
3636
- /**
3637
- *
3638
- * @export
3639
- * @interface HighlightResponse
3640
- */
3641
- declare interface HighlightResponse {
3642
- /**
3643
- *
3644
- * @type {boolean}
3645
- * @memberof HighlightResponse
3646
- */
3647
- 'result': boolean;
3648
- /**
3649
- *
3650
- * @type {Array<HighlightItem>}
3651
- * @memberof HighlightResponse
3652
- */
3653
- 'items': Array<HighlightItem>;
3654
- }
3655
-
3656
3018
  /**
3657
3019
  * ImportApi - object-oriented interface
3658
3020
  * @export
@@ -3770,26 +3132,6 @@ declare const ImportApiFp: (configuration?: Configuration) => {
3770
3132
  parseURL(url?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ParseURLResponse>>;
3771
3133
  };
3772
3134
 
3773
- /**
3774
- *
3775
- * @export
3776
- * @interface ImportFileResponse
3777
- */
3778
- declare interface ImportFileResponse {
3779
- /**
3780
- *
3781
- * @type {boolean}
3782
- * @memberof ImportFileResponse
3783
- */
3784
- 'result': boolean;
3785
- /**
3786
- *
3787
- * @type {Array<Folder>}
3788
- * @memberof ImportFileResponse
3789
- */
3790
- 'items': Array<Folder>;
3791
- }
3792
-
3793
3135
  /**
3794
3136
  *
3795
3137
  * @export
@@ -4043,75 +3385,23 @@ declare type ObtainTokenGrantTypeEnum = typeof ObtainTokenGrantTypeEnum[keyof ty
4043
3385
  /**
4044
3386
  *
4045
3387
  * @export
4046
- * @interface ParseUrlErrorResponse
3388
+ * @interface ParseURLResponse
4047
3389
  */
4048
- declare interface ParseUrlErrorResponse {
3390
+ declare interface ParseURLResponse {
4049
3391
  /**
4050
3392
  *
4051
3393
  * @type {boolean}
4052
- * @memberof ParseUrlErrorResponse
3394
+ * @memberof ParseURLResponse
4053
3395
  */
4054
3396
  'result': boolean;
4055
3397
  /**
4056
3398
  *
4057
- * @type {string}
4058
- * @memberof ParseUrlErrorResponse
4059
- */
4060
- 'error': string;
4061
- /**
4062
- *
4063
- * @type {string}
4064
- * @memberof ParseUrlErrorResponse
4065
- */
4066
- 'errorMessage': string;
4067
- /**
4068
- *
4069
- * @type {UrlParse}
4070
- * @memberof ParseUrlErrorResponse
4071
- */
4072
- 'item': UrlParse;
4073
- }
4074
-
4075
- /**
4076
- *
4077
- * @export
4078
- * @interface ParseURLResponse
4079
- */
4080
- declare interface ParseURLResponse {
4081
- /**
4082
- *
4083
- * @type {boolean}
4084
- * @memberof ParseURLResponse
4085
- */
4086
- 'result': boolean;
4087
- /**
4088
- *
4089
- * @type {ParseURLResponseItem}
4090
- * @memberof ParseURLResponse
3399
+ * @type {ParseURLResponseItem}
3400
+ * @memberof ParseURLResponse
4091
3401
  */
4092
3402
  'item': ParseURLResponseItem;
4093
3403
  }
4094
3404
 
4095
- /**
4096
- *
4097
- * @export
4098
- * @interface ParseUrlResponse
4099
- */
4100
- declare interface ParseUrlResponse {
4101
- /**
4102
- *
4103
- * @type {boolean}
4104
- * @memberof ParseUrlResponse
4105
- */
4106
- 'result': boolean;
4107
- /**
4108
- *
4109
- * @type {UrlParse}
4110
- * @memberof ParseUrlResponse
4111
- */
4112
- 'item': UrlParse;
4113
- }
4114
-
4115
3405
  /**
4116
3406
  *
4117
3407
  * @export
@@ -4205,209 +3495,6 @@ declare class Raindrop {
4205
3495
  constructor(configuration?: Configuration, client?: AxiosInstance);
4206
3496
  }
4207
3497
 
4208
- /**
4209
- *
4210
- * @export
4211
- * @interface Raindrop
4212
- */
4213
- declare interface Raindrop_2 {
4214
- /**
4215
- *
4216
- * @type {string}
4217
- * @memberof Raindrop
4218
- */
4219
- 'created': string;
4220
- /**
4221
- *
4222
- * @type {string}
4223
- * @memberof Raindrop
4224
- */
4225
- 'lastUpdate': string;
4226
- /**
4227
- *
4228
- * @type {number}
4229
- * @memberof Raindrop
4230
- */
4231
- 'sort'?: number;
4232
- /**
4233
- *
4234
- * @type {boolean}
4235
- * @memberof Raindrop
4236
- */
4237
- 'important': boolean;
4238
- /**
4239
- *
4240
- * @type {RaindropBaseReminder}
4241
- * @memberof Raindrop
4242
- */
4243
- 'reminder': RaindropBaseReminder;
4244
- /**
4245
- *
4246
- * @type {Array<string>}
4247
- * @memberof Raindrop
4248
- */
4249
- 'tags': Array<string>;
4250
- /**
4251
- *
4252
- * @type {Array<RaindropBaseMediaInner>}
4253
- * @memberof Raindrop
4254
- */
4255
- 'media': Array<RaindropBaseMediaInner>;
4256
- /**
4257
- *
4258
- * @type {string}
4259
- * @memberof Raindrop
4260
- */
4261
- 'cover': string;
4262
- /**
4263
- *
4264
- * @type {CollectionRef}
4265
- * @memberof Raindrop
4266
- */
4267
- 'collection': CollectionRef;
4268
- /**
4269
- *
4270
- * @type {string}
4271
- * @memberof Raindrop
4272
- */
4273
- 'type': string;
4274
- /**
4275
- *
4276
- * @type {string}
4277
- * @memberof Raindrop
4278
- */
4279
- 'excerpt': string;
4280
- /**
4281
- *
4282
- * @type {string}
4283
- * @memberof Raindrop
4284
- */
4285
- 'note': string;
4286
- /**
4287
- *
4288
- * @type {string}
4289
- * @memberof Raindrop
4290
- */
4291
- 'title': string;
4292
- /**
4293
- *
4294
- * @type {string}
4295
- * @memberof Raindrop
4296
- */
4297
- 'link': string;
4298
- /**
4299
- *
4300
- * @type {Array<Highlight>}
4301
- * @memberof Raindrop
4302
- */
4303
- 'highlights': Array<Highlight_2>;
4304
- /**
4305
- *
4306
- * @type {number}
4307
- * @memberof Raindrop
4308
- */
4309
- '_id': number;
4310
- /**
4311
- *
4312
- * @type {string}
4313
- * @memberof Raindrop
4314
- */
4315
- 'domain': string;
4316
- /**
4317
- *
4318
- * @type {CreatorRef}
4319
- * @memberof Raindrop
4320
- */
4321
- 'creatorRef': CreatorRef;
4322
- /**
4323
- *
4324
- * @type {UserRef}
4325
- * @memberof Raindrop
4326
- */
4327
- 'user': UserRef;
4328
- /**
4329
- *
4330
- * @type {boolean}
4331
- * @memberof Raindrop
4332
- */
4333
- 'broken': boolean;
4334
- /**
4335
- *
4336
- * @type {RaindropAllOfCache}
4337
- * @memberof Raindrop
4338
- */
4339
- 'cache': RaindropAllOfCache;
4340
- /**
4341
- *
4342
- * @type {RaindropAllOfFile}
4343
- * @memberof Raindrop
4344
- */
4345
- 'file'?: RaindropAllOfFile;
4346
- }
4347
-
4348
- /**
4349
- *
4350
- * @export
4351
- * @interface RaindropAllOfCache
4352
- */
4353
- declare interface RaindropAllOfCache {
4354
- /**
4355
- *
4356
- * @type {string}
4357
- * @memberof RaindropAllOfCache
4358
- */
4359
- 'status': RaindropAllOfCacheStatusEnum;
4360
- /**
4361
- *
4362
- * @type {number}
4363
- * @memberof RaindropAllOfCache
4364
- */
4365
- 'size': number;
4366
- /**
4367
- *
4368
- * @type {string}
4369
- * @memberof RaindropAllOfCache
4370
- */
4371
- 'created': string;
4372
- }
4373
-
4374
- declare const RaindropAllOfCacheStatusEnum: {
4375
- readonly Ready: "ready";
4376
- readonly Retry: "retry";
4377
- readonly Failed: "failed";
4378
- readonly InvalidMinusOrigin: "invalid-origin";
4379
- readonly InvalidMinusTimeout: "invalid-timeout";
4380
- readonly InvalidMinusSize: "invalid-size";
4381
- };
4382
-
4383
- declare type RaindropAllOfCacheStatusEnum = typeof RaindropAllOfCacheStatusEnum[keyof typeof RaindropAllOfCacheStatusEnum];
4384
-
4385
- /**
4386
- *
4387
- * @export
4388
- * @interface RaindropAllOfFile
4389
- */
4390
- declare interface RaindropAllOfFile {
4391
- /**
4392
- *
4393
- * @type {string}
4394
- * @memberof RaindropAllOfFile
4395
- */
4396
- 'name': string;
4397
- /**
4398
- *
4399
- * @type {number}
4400
- * @memberof RaindropAllOfFile
4401
- */
4402
- 'size': number;
4403
- /**
4404
- *
4405
- * @type {string}
4406
- * @memberof RaindropAllOfFile
4407
- */
4408
- 'type': string;
4409
- }
4410
-
4411
3498
  declare class RaindropApi extends RaindropApi_2 {
4412
3499
  /**
4413
3500
  * Fetch all raindrops of a collection.
@@ -4416,7 +3503,7 @@ declare class RaindropApi extends RaindropApi_2 {
4416
3503
  * @param options Axios request config.
4417
3504
  * @returns Array of raindrops.
4418
3505
  */
4419
- getAllRaindrops(collectionId?: number, params?: GetAllRaindropsParams, options?: AxiosRequestConfig<any>): Promise<Raindrop_2[]>;
3506
+ getAllRaindrops(collectionId?: number, params?: GetAllRaindropsParams, options?: AxiosRequestConfig<any>): Promise<RaindropItem[]>;
4420
3507
  }
4421
3508
 
4422
3509
  /**
@@ -4469,7 +3556,7 @@ declare class RaindropApi_2 extends BaseAPI {
4469
3556
  * @throws {RequiredError}
4470
3557
  * @memberof RaindropApi
4471
3558
  */
4472
- getRaindrops(collectionId: number, sort?: string, perpage?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<AxiosResponse<RaindropResponseMany, any>>;
3559
+ getRaindrops(collectionId: number, sort?: string, perpage?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<AxiosResponse<GetRaindropsResponse, any>>;
4473
3560
  /**
4474
3561
  *
4475
3562
  * @param {number} id
@@ -4693,7 +3780,7 @@ declare const RaindropApiFactory: (configuration?: Configuration, basePath?: str
4693
3780
  * @param {*} [options] Override http request option.
4694
3781
  * @throws {RequiredError}
4695
3782
  */
4696
- getRaindrops(collectionId: number, sort?: string, perpage?: number, page?: number, search?: string, options?: any): AxiosPromise<RaindropResponseMany>;
3783
+ getRaindrops(collectionId: number, sort?: string, perpage?: number, page?: number, search?: string, options?: any): AxiosPromise<GetRaindropsResponse>;
4697
3784
  /**
4698
3785
  *
4699
3786
  * @param {number} id
@@ -4801,7 +3888,7 @@ declare const RaindropApiFp: (configuration?: Configuration) => {
4801
3888
  * @param {*} [options] Override http request option.
4802
3889
  * @throws {RequiredError}
4803
3890
  */
4804
- getRaindrops(collectionId: number, sort?: string, perpage?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RaindropResponseMany>>;
3891
+ getRaindrops(collectionId: number, sort?: string, perpage?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRaindropsResponse>>;
4805
3892
  /**
4806
3893
  *
4807
3894
  * @param {number} id
@@ -4866,202 +3953,7 @@ declare const RaindropApiFp: (configuration?: Configuration) => {
4866
3953
  uploadRaindropCover(id: number, cover?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UploadRaindropCoverResponse>>;
4867
3954
  };
4868
3955
 
4869
- /**
4870
- *
4871
- * @export
4872
- * @interface RaindropBase
4873
- */
4874
- declare interface RaindropBase {
4875
- /**
4876
- *
4877
- * @type {string}
4878
- * @memberof RaindropBase
4879
- */
4880
- 'created': string;
4881
- /**
4882
- *
4883
- * @type {string}
4884
- * @memberof RaindropBase
4885
- */
4886
- 'lastUpdate': string;
4887
- /**
4888
- *
4889
- * @type {number}
4890
- * @memberof RaindropBase
4891
- */
4892
- 'sort'?: number;
4893
- /**
4894
- *
4895
- * @type {boolean}
4896
- * @memberof RaindropBase
4897
- */
4898
- 'important': boolean;
4899
- /**
4900
- *
4901
- * @type {RaindropBaseReminder}
4902
- * @memberof RaindropBase
4903
- */
4904
- 'reminder': RaindropBaseReminder;
4905
- /**
4906
- *
4907
- * @type {Array<string>}
4908
- * @memberof RaindropBase
4909
- */
4910
- 'tags': Array<string>;
4911
- /**
4912
- *
4913
- * @type {Array<RaindropBaseMediaInner>}
4914
- * @memberof RaindropBase
4915
- */
4916
- 'media': Array<RaindropBaseMediaInner>;
4917
- /**
4918
- *
4919
- * @type {string}
4920
- * @memberof RaindropBase
4921
- */
4922
- 'cover': string;
4923
- /**
4924
- *
4925
- * @type {CollectionRef}
4926
- * @memberof RaindropBase
4927
- */
4928
- 'collection': CollectionRef;
4929
- /**
4930
- *
4931
- * @type {string}
4932
- * @memberof RaindropBase
4933
- */
4934
- 'type': string;
4935
- /**
4936
- *
4937
- * @type {string}
4938
- * @memberof RaindropBase
4939
- */
4940
- 'excerpt': string;
4941
- /**
4942
- *
4943
- * @type {string}
4944
- * @memberof RaindropBase
4945
- */
4946
- 'note': string;
4947
- /**
4948
- *
4949
- * @type {string}
4950
- * @memberof RaindropBase
4951
- */
4952
- 'title': string;
4953
- /**
4954
- *
4955
- * @type {string}
4956
- * @memberof RaindropBase
4957
- */
4958
- 'link': string;
4959
- /**
4960
- *
4961
- * @type {Array<Highlight>}
4962
- * @memberof RaindropBase
4963
- */
4964
- 'highlights': Array<Highlight_2>;
4965
- }
4966
-
4967
- /**
4968
- *
4969
- * @export
4970
- * @interface RaindropBaseMediaInner
4971
- */
4972
- declare interface RaindropBaseMediaInner {
4973
- /**
4974
- *
4975
- * @type {string}
4976
- * @memberof RaindropBaseMediaInner
4977
- */
4978
- 'type': RaindropBaseMediaInnerTypeEnum;
4979
- /**
4980
- *
4981
- * @type {string}
4982
- * @memberof RaindropBaseMediaInner
4983
- */
4984
- 'link': string;
4985
- }
4986
-
4987
- declare const RaindropBaseMediaInnerTypeEnum: {
4988
- readonly Link: "link";
4989
- readonly Image: "image";
4990
- };
4991
-
4992
- declare type RaindropBaseMediaInnerTypeEnum = typeof RaindropBaseMediaInnerTypeEnum[keyof typeof RaindropBaseMediaInnerTypeEnum];
4993
-
4994
- /**
4995
- *
4996
- * @export
4997
- * @interface RaindropBaseReminder
4998
- */
4999
- declare interface RaindropBaseReminder {
5000
- /**
5001
- *
5002
- * @type {string}
5003
- * @memberof RaindropBaseReminder
5004
- */
5005
- 'date': string | null;
5006
- }
5007
-
5008
- /**
5009
- *
5010
- * @export
5011
- * @interface RaindropResponseMany
5012
- */
5013
- declare interface RaindropResponseMany {
5014
- /**
5015
- *
5016
- * @type {boolean}
5017
- * @memberof RaindropResponseMany
5018
- */
5019
- 'result': boolean;
5020
- /**
5021
- *
5022
- * @type {Array<Raindrop>}
5023
- * @memberof RaindropResponseMany
5024
- */
5025
- 'items': Array<Raindrop_2>;
5026
- /**
5027
- *
5028
- * @type {number}
5029
- * @memberof RaindropResponseMany
5030
- */
5031
- 'count': number;
5032
- /**
5033
- *
5034
- * @type {number}
5035
- * @memberof RaindropResponseMany
5036
- */
5037
- 'collectionId': number;
5038
- }
5039
-
5040
- /**
5041
- *
5042
- * @export
5043
- * @interface RaindropResponseOne
5044
- */
5045
- declare interface RaindropResponseOne {
5046
- /**
5047
- *
5048
- * @type {boolean}
5049
- * @memberof RaindropResponseOne
5050
- */
5051
- 'result': boolean;
5052
- /**
5053
- *
5054
- * @type {Raindrop}
5055
- * @memberof RaindropResponseOne
5056
- */
5057
- 'item': Raindrop_2;
5058
- /**
5059
- *
5060
- * @type {boolean}
5061
- * @memberof RaindropResponseOne
5062
- */
5063
- 'author': boolean;
5064
- }
3956
+ declare type RaindropItem = GetRaindropsResponse["items"][0];
5065
3957
 
5066
3958
  /**
5067
3959
  *
@@ -5198,7 +4090,7 @@ declare interface RemoveRaindropResponseItem {
5198
4090
  * @type {CollectionRef}
5199
4091
  * @memberof RemoveRaindropResponseItem
5200
4092
  */
5201
- 'collection': CollectionRef;
4093
+ 'collection': CollectionRef | null;
5202
4094
  /**
5203
4095
  *
5204
4096
  * @type {number}
@@ -5397,22 +4289,8 @@ declare interface ReorderAllCollectionsRequest {
5397
4289
  * @interface RequestArgs
5398
4290
  */
5399
4291
  declare interface RequestArgs {
5400
- url: string;
5401
- options: RawAxiosRequestConfig;
5402
- }
5403
-
5404
- /**
5405
- *
5406
- * @export
5407
- * @interface Response
5408
- */
5409
- declare interface Response_2 {
5410
- /**
5411
- *
5412
- * @type {boolean}
5413
- * @memberof Response
5414
- */
5415
- 'result': boolean;
4292
+ url: string;
4293
+ options: RawAxiosRequestConfig;
5416
4294
  }
5417
4295
 
5418
4296
  /**
@@ -5535,124 +4413,6 @@ declare interface SimpleResponse {
5535
4413
  'result': boolean;
5536
4414
  }
5537
4415
 
5538
- /**
5539
- *
5540
- * @export
5541
- * @interface StatResponse
5542
- */
5543
- declare interface StatResponse {
5544
- /**
5545
- *
5546
- * @type {boolean}
5547
- * @memberof StatResponse
5548
- */
5549
- 'result': boolean;
5550
- /**
5551
- *
5552
- * @type {Array<StatResponseAllOfItems>}
5553
- * @memberof StatResponse
5554
- */
5555
- 'items': Array<StatResponseAllOfItems>;
5556
- /**
5557
- *
5558
- * @type {StatResponseAllOfMeta}
5559
- * @memberof StatResponse
5560
- */
5561
- 'meta': StatResponseAllOfMeta;
5562
- }
5563
-
5564
- /**
5565
- *
5566
- * @export
5567
- * @interface StatResponseAllOfItems
5568
- */
5569
- declare interface StatResponseAllOfItems {
5570
- /**
5571
- *
5572
- * @type {number}
5573
- * @memberof StatResponseAllOfItems
5574
- */
5575
- '_id': number;
5576
- /**
5577
- *
5578
- * @type {number}
5579
- * @memberof StatResponseAllOfItems
5580
- */
5581
- 'count': number;
5582
- }
5583
-
5584
- /**
5585
- *
5586
- * @export
5587
- * @interface StatResponseAllOfMeta
5588
- */
5589
- declare interface StatResponseAllOfMeta {
5590
- /**
5591
- *
5592
- * @type {boolean}
5593
- * @memberof StatResponseAllOfMeta
5594
- */
5595
- 'pro': boolean;
5596
- /**
5597
- *
5598
- * @type {number}
5599
- * @memberof StatResponseAllOfMeta
5600
- */
5601
- '_id': number;
5602
- /**
5603
- *
5604
- * @type {string}
5605
- * @memberof StatResponseAllOfMeta
5606
- */
5607
- 'changedBookmarksDate': string;
5608
- /**
5609
- *
5610
- * @type {StatResponseAllOfMetaDuplicates}
5611
- * @memberof StatResponseAllOfMeta
5612
- */
5613
- 'duplicates': StatResponseAllOfMetaDuplicates;
5614
- /**
5615
- *
5616
- * @type {StatResponseAllOfMetaDuplicates}
5617
- * @memberof StatResponseAllOfMeta
5618
- */
5619
- 'broken': StatResponseAllOfMetaDuplicates;
5620
- }
5621
-
5622
- /**
5623
- *
5624
- * @export
5625
- * @interface StatResponseAllOfMetaDuplicates
5626
- */
5627
- declare interface StatResponseAllOfMetaDuplicates {
5628
- /**
5629
- *
5630
- * @type {number}
5631
- * @memberof StatResponseAllOfMetaDuplicates
5632
- */
5633
- 'count': number;
5634
- }
5635
-
5636
- /**
5637
- *
5638
- * @export
5639
- * @interface Suggest
5640
- */
5641
- declare interface Suggest {
5642
- /**
5643
- *
5644
- * @type {Array<CollectionRef>}
5645
- * @memberof Suggest
5646
- */
5647
- 'collections': Array<CollectionRef>;
5648
- /**
5649
- *
5650
- * @type {Array<string>}
5651
- * @memberof Suggest
5652
- */
5653
- 'tags': Array<string>;
5654
- }
5655
-
5656
4416
  /**
5657
4417
  *
5658
4418
  * @export
@@ -5695,26 +4455,6 @@ declare interface SuggestForNewBookmarkResponse {
5695
4455
  'result'?: boolean;
5696
4456
  }
5697
4457
 
5698
- /**
5699
- *
5700
- * @export
5701
- * @interface SuggestResponse
5702
- */
5703
- declare interface SuggestResponse {
5704
- /**
5705
- *
5706
- * @type {boolean}
5707
- * @memberof SuggestResponse
5708
- */
5709
- 'result': boolean;
5710
- /**
5711
- *
5712
- * @type {Suggest}
5713
- * @memberof SuggestResponse
5714
- */
5715
- 'item': Suggest;
5716
- }
5717
-
5718
4458
  /**
5719
4459
  * TagApi - object-oriented interface
5720
4460
  * @export
@@ -5729,7 +4469,7 @@ declare class TagApi extends BaseAPI {
5729
4469
  * @throws {RequiredError}
5730
4470
  * @memberof TagApi
5731
4471
  */
5732
- getTagsInCollection(collectionId?: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<GetTagsInCollection200Response, any>>;
4472
+ getTagsInCollection(collectionId?: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<GetTagsInCollectionResponse, any>>;
5733
4473
  /**
5734
4474
  *
5735
4475
  * @param {number} [collectionId]
@@ -5738,7 +4478,7 @@ declare class TagApi extends BaseAPI {
5738
4478
  * @throws {RequiredError}
5739
4479
  * @memberof TagApi
5740
4480
  */
5741
- removeTagsFromCollection(collectionId?: number, removeTagsFromCollectionRequest?: RemoveTagsFromCollectionRequest, options?: RawAxiosRequestConfig): Promise<AxiosResponse<Response_2, any>>;
4481
+ removeTagsFromCollection(collectionId?: number, removeTagsFromCollectionRequest?: RemoveTagsFromCollectionRequest, options?: RawAxiosRequestConfig): Promise<AxiosResponse<SimpleResponse, any>>;
5742
4482
  /**
5743
4483
  *
5744
4484
  * @param {number} [collectionId]
@@ -5747,7 +4487,7 @@ declare class TagApi extends BaseAPI {
5747
4487
  * @throws {RequiredError}
5748
4488
  * @memberof TagApi
5749
4489
  */
5750
- renameOrMergeTags(collectionId?: number, renameOrMergeTagsRequest?: RenameOrMergeTagsRequest, options?: RawAxiosRequestConfig): Promise<AxiosResponse<Response_2, any>>;
4490
+ renameOrMergeTags(collectionId?: number, renameOrMergeTagsRequest?: RenameOrMergeTagsRequest, options?: RawAxiosRequestConfig): Promise<AxiosResponse<SimpleResponse, any>>;
5751
4491
  }
5752
4492
 
5753
4493
  /**
@@ -5791,7 +4531,7 @@ declare const TagApiFactory: (configuration?: Configuration, basePath?: string,
5791
4531
  * @param {*} [options] Override http request option.
5792
4532
  * @throws {RequiredError}
5793
4533
  */
5794
- getTagsInCollection(collectionId?: number, options?: any): AxiosPromise<GetTagsInCollection200Response>;
4534
+ getTagsInCollection(collectionId?: number, options?: any): AxiosPromise<GetTagsInCollectionResponse>;
5795
4535
  /**
5796
4536
  *
5797
4537
  * @param {number} [collectionId]
@@ -5799,7 +4539,7 @@ declare const TagApiFactory: (configuration?: Configuration, basePath?: string,
5799
4539
  * @param {*} [options] Override http request option.
5800
4540
  * @throws {RequiredError}
5801
4541
  */
5802
- removeTagsFromCollection(collectionId?: number, removeTagsFromCollectionRequest?: RemoveTagsFromCollectionRequest, options?: any): AxiosPromise<Response_2>;
4542
+ removeTagsFromCollection(collectionId?: number, removeTagsFromCollectionRequest?: RemoveTagsFromCollectionRequest, options?: any): AxiosPromise<SimpleResponse>;
5803
4543
  /**
5804
4544
  *
5805
4545
  * @param {number} [collectionId]
@@ -5807,7 +4547,7 @@ declare const TagApiFactory: (configuration?: Configuration, basePath?: string,
5807
4547
  * @param {*} [options] Override http request option.
5808
4548
  * @throws {RequiredError}
5809
4549
  */
5810
- renameOrMergeTags(collectionId?: number, renameOrMergeTagsRequest?: RenameOrMergeTagsRequest, options?: any): AxiosPromise<Response_2>;
4550
+ renameOrMergeTags(collectionId?: number, renameOrMergeTagsRequest?: RenameOrMergeTagsRequest, options?: any): AxiosPromise<SimpleResponse>;
5811
4551
  };
5812
4552
 
5813
4553
  /**
@@ -5821,7 +4561,7 @@ declare const TagApiFp: (configuration?: Configuration) => {
5821
4561
  * @param {*} [options] Override http request option.
5822
4562
  * @throws {RequiredError}
5823
4563
  */
5824
- getTagsInCollection(collectionId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTagsInCollection200Response>>;
4564
+ getTagsInCollection(collectionId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTagsInCollectionResponse>>;
5825
4565
  /**
5826
4566
  *
5827
4567
  * @param {number} [collectionId]
@@ -5829,7 +4569,7 @@ declare const TagApiFp: (configuration?: Configuration) => {
5829
4569
  * @param {*} [options] Override http request option.
5830
4570
  * @throws {RequiredError}
5831
4571
  */
5832
- removeTagsFromCollection(collectionId?: number, removeTagsFromCollectionRequest?: RemoveTagsFromCollectionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response_2>>;
4572
+ removeTagsFromCollection(collectionId?: number, removeTagsFromCollectionRequest?: RemoveTagsFromCollectionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SimpleResponse>>;
5833
4573
  /**
5834
4574
  *
5835
4575
  * @param {number} [collectionId]
@@ -5837,7 +4577,7 @@ declare const TagApiFp: (configuration?: Configuration) => {
5837
4577
  * @param {*} [options] Override http request option.
5838
4578
  * @throws {RequiredError}
5839
4579
  */
5840
- renameOrMergeTags(collectionId?: number, renameOrMergeTagsRequest?: RenameOrMergeTagsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response_2>>;
4580
+ renameOrMergeTags(collectionId?: number, renameOrMergeTagsRequest?: RenameOrMergeTagsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SimpleResponse>>;
5841
4581
  };
5842
4582
 
5843
4583
  /**
@@ -5998,7 +4738,7 @@ declare interface UpdateCollectionRequest {
5998
4738
  * @type {CollectionRef}
5999
4739
  * @memberof UpdateCollectionRequest
6000
4740
  */
6001
- 'parent'?: CollectionRef;
4741
+ 'parent'?: CollectionRef | null;
6002
4742
  /**
6003
4743
  *
6004
4744
  * @type {Array<string>}
@@ -6260,7 +5000,7 @@ declare interface UpdateCurrentUserResponseUser {
6260
5000
  * @type {number}
6261
5001
  * @memberof UpdateCurrentUserResponseUser
6262
5002
  */
6263
- '__v': number;
5003
+ '__v'?: number;
6264
5004
  }
6265
5005
 
6266
5006
  /**
@@ -6306,7 +5046,7 @@ declare interface UpdateRaindropResponseItem {
6306
5046
  * @type {CollectionRef}
6307
5047
  * @memberof UpdateRaindropResponseItem
6308
5048
  */
6309
- 'collection': CollectionRef;
5049
+ 'collection': CollectionRef | null;
6310
5050
  /**
6311
5051
  *
6312
5052
  * @type {number}
@@ -6623,6 +5363,12 @@ declare interface UploadCollectionCoverResponseItem {
6623
5363
  * @memberof UploadCollectionCoverResponseItem
6624
5364
  */
6625
5365
  'author': boolean;
5366
+ /**
5367
+ *
5368
+ * @type {object}
5369
+ * @memberof UploadCollectionCoverResponseItem
5370
+ */
5371
+ 'parent': object | null;
6626
5372
  /**
6627
5373
  *
6628
5374
  * @type {number}
@@ -6674,7 +5420,7 @@ declare interface UploadFileResponseItem {
6674
5420
  * @type {CollectionRef}
6675
5421
  * @memberof UploadFileResponseItem
6676
5422
  */
6677
- 'collection': CollectionRef;
5423
+ 'collection': CollectionRef | null;
6678
5424
  /**
6679
5425
  *
6680
5426
  * @type {number}
@@ -6713,10 +5459,10 @@ declare interface UploadFileResponseItem {
6713
5459
  'excerpt': string;
6714
5460
  /**
6715
5461
  *
6716
- * @type {RaindropAllOfFile}
5462
+ * @type {UploadFileResponseItemFile}
6717
5463
  * @memberof UploadFileResponseItem
6718
5464
  */
6719
- 'file': RaindropAllOfFile;
5465
+ 'file': UploadFileResponseItemFile;
6720
5466
  /**
6721
5467
  *
6722
5468
  * @type {string}
@@ -6779,6 +5525,32 @@ declare interface UploadFileResponseItem {
6779
5525
  'user': UserRef;
6780
5526
  }
6781
5527
 
5528
+ /**
5529
+ *
5530
+ * @export
5531
+ * @interface UploadFileResponseItemFile
5532
+ */
5533
+ declare interface UploadFileResponseItemFile {
5534
+ /**
5535
+ *
5536
+ * @type {string}
5537
+ * @memberof UploadFileResponseItemFile
5538
+ */
5539
+ 'name': string;
5540
+ /**
5541
+ *
5542
+ * @type {number}
5543
+ * @memberof UploadFileResponseItemFile
5544
+ */
5545
+ 'size': number;
5546
+ /**
5547
+ *
5548
+ * @type {string}
5549
+ * @memberof UploadFileResponseItemFile
5550
+ */
5551
+ 'type': string;
5552
+ }
5553
+
6782
5554
  /**
6783
5555
  *
6784
5556
  * @export
@@ -6822,7 +5594,7 @@ declare interface UploadRaindropCoverResponseItem {
6822
5594
  * @type {CollectionRef}
6823
5595
  * @memberof UploadRaindropCoverResponseItem
6824
5596
  */
6825
- 'collection': CollectionRef;
5597
+ 'collection': CollectionRef | null;
6826
5598
  /**
6827
5599
  *
6828
5600
  * @type {number}
@@ -6921,148 +5693,6 @@ declare interface UploadRaindropCoverResponseItem {
6921
5693
  'user': UserRef;
6922
5694
  }
6923
5695
 
6924
- /**
6925
- *
6926
- * @export
6927
- * @interface UrlParse
6928
- */
6929
- declare interface UrlParse {
6930
- /**
6931
- *
6932
- * @type {string}
6933
- * @memberof UrlParse
6934
- */
6935
- 'title': string;
6936
- /**
6937
- *
6938
- * @type {string}
6939
- * @memberof UrlParse
6940
- */
6941
- 'excerpt': string;
6942
- /**
6943
- *
6944
- * @type {Array<UrlParseMediaInner>}
6945
- * @memberof UrlParse
6946
- */
6947
- 'media': Array<UrlParseMediaInner>;
6948
- /**
6949
- *
6950
- * @type {string}
6951
- * @memberof UrlParse
6952
- */
6953
- 'type': string;
6954
- /**
6955
- *
6956
- * @type {UrlParseMeta}
6957
- * @memberof UrlParse
6958
- */
6959
- 'meta': UrlParseMeta;
6960
- }
6961
-
6962
- /**
6963
- *
6964
- * @export
6965
- * @interface UrlParseErrorResponse
6966
- */
6967
- declare interface UrlParseErrorResponse {
6968
- /**
6969
- *
6970
- * @type {boolean}
6971
- * @memberof UrlParseErrorResponse
6972
- */
6973
- 'result': boolean;
6974
- /**
6975
- *
6976
- * @type {string}
6977
- * @memberof UrlParseErrorResponse
6978
- */
6979
- 'error': string;
6980
- /**
6981
- *
6982
- * @type {string}
6983
- * @memberof UrlParseErrorResponse
6984
- */
6985
- 'errorMessage': string;
6986
- /**
6987
- *
6988
- * @type {UrlParse}
6989
- * @memberof UrlParseErrorResponse
6990
- */
6991
- 'item': UrlParse;
6992
- }
6993
-
6994
- /**
6995
- *
6996
- * @export
6997
- * @interface UrlParseMediaInner
6998
- */
6999
- declare interface UrlParseMediaInner {
7000
- /**
7001
- *
7002
- * @type {string}
7003
- * @memberof UrlParseMediaInner
7004
- */
7005
- 'type': string;
7006
- /**
7007
- *
7008
- * @type {string}
7009
- * @memberof UrlParseMediaInner
7010
- */
7011
- 'link': string;
7012
- }
7013
-
7014
- /**
7015
- *
7016
- * @export
7017
- * @interface UrlParseMeta
7018
- */
7019
- declare interface UrlParseMeta {
7020
- /**
7021
- *
7022
- * @type {boolean}
7023
- * @memberof UrlParseMeta
7024
- */
7025
- 'possibleArticle': boolean;
7026
- /**
7027
- *
7028
- * @type {string}
7029
- * @memberof UrlParseMeta
7030
- */
7031
- 'canonical': string;
7032
- /**
7033
- *
7034
- * @type {string}
7035
- * @memberof UrlParseMeta
7036
- */
7037
- 'site': string;
7038
- /**
7039
- *
7040
- * @type {Array<string>}
7041
- * @memberof UrlParseMeta
7042
- */
7043
- 'tags': Array<string>;
7044
- }
7045
-
7046
- /**
7047
- *
7048
- * @export
7049
- * @interface UrlParseResponse
7050
- */
7051
- declare interface UrlParseResponse {
7052
- /**
7053
- *
7054
- * @type {boolean}
7055
- * @memberof UrlParseResponse
7056
- */
7057
- 'result': boolean;
7058
- /**
7059
- *
7060
- * @type {UrlParse}
7061
- * @memberof UrlParseResponse
7062
- */
7063
- 'item': UrlParse;
7064
- }
7065
-
7066
5696
  /**
7067
5697
  *
7068
5698
  * @export
@@ -7214,7 +5844,7 @@ declare class UserApi extends BaseAPI {
7214
5844
  * @throws {RequiredError}
7215
5845
  * @memberof UserApi
7216
5846
  */
7217
- getCurrentUser(options?: RawAxiosRequestConfig): Promise<AxiosResponse<UserResponse, any>>;
5847
+ getCurrentUser(options?: RawAxiosRequestConfig): Promise<AxiosResponse<GetCurrentUserResponse, any>>;
7218
5848
  /**
7219
5849
  *
7220
5850
  * @param {number} name
@@ -7222,7 +5852,7 @@ declare class UserApi extends BaseAPI {
7222
5852
  * @throws {RequiredError}
7223
5853
  * @memberof UserApi
7224
5854
  */
7225
- getPublicUserByName(name: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<GetPublicUserByName200Response, any>>;
5855
+ getPublicUserByName(name: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<GetPublicUserByNameResponse, any>>;
7226
5856
  /**
7227
5857
  *
7228
5858
  * @param {*} [options] Override http request option.
@@ -7237,7 +5867,7 @@ declare class UserApi extends BaseAPI {
7237
5867
  * @throws {RequiredError}
7238
5868
  * @memberof UserApi
7239
5869
  */
7240
- updateCurrentUser(updateCurrentUserRequest?: UpdateCurrentUserRequest, options?: RawAxiosRequestConfig): Promise<AxiosResponse<UserResponse, any>>;
5870
+ updateCurrentUser(updateCurrentUserRequest?: UpdateCurrentUserRequest, options?: RawAxiosRequestConfig): Promise<AxiosResponse<UpdateCurrentUserResponse, any>>;
7241
5871
  }
7242
5872
 
7243
5873
  /**
@@ -7311,14 +5941,14 @@ declare const UserApiFactory: (configuration?: Configuration, basePath?: string,
7311
5941
  * @param {*} [options] Override http request option.
7312
5942
  * @throws {RequiredError}
7313
5943
  */
7314
- getCurrentUser(options?: any): AxiosPromise<UserResponse>;
5944
+ getCurrentUser(options?: any): AxiosPromise<GetCurrentUserResponse>;
7315
5945
  /**
7316
5946
  *
7317
5947
  * @param {number} name
7318
5948
  * @param {*} [options] Override http request option.
7319
5949
  * @throws {RequiredError}
7320
5950
  */
7321
- getPublicUserByName(name: number, options?: any): AxiosPromise<GetPublicUserByName200Response>;
5951
+ getPublicUserByName(name: number, options?: any): AxiosPromise<GetPublicUserByNameResponse>;
7322
5952
  /**
7323
5953
  *
7324
5954
  * @param {*} [options] Override http request option.
@@ -7331,7 +5961,7 @@ declare const UserApiFactory: (configuration?: Configuration, basePath?: string,
7331
5961
  * @param {*} [options] Override http request option.
7332
5962
  * @throws {RequiredError}
7333
5963
  */
7334
- updateCurrentUser(updateCurrentUserRequest?: UpdateCurrentUserRequest, options?: any): AxiosPromise<UserResponse>;
5964
+ updateCurrentUser(updateCurrentUserRequest?: UpdateCurrentUserRequest, options?: any): AxiosPromise<UpdateCurrentUserResponse>;
7335
5965
  };
7336
5966
 
7337
5967
  /**
@@ -7358,14 +5988,14 @@ declare const UserApiFp: (configuration?: Configuration) => {
7358
5988
  * @param {*} [options] Override http request option.
7359
5989
  * @throws {RequiredError}
7360
5990
  */
7361
- getCurrentUser(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserResponse>>;
5991
+ getCurrentUser(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCurrentUserResponse>>;
7362
5992
  /**
7363
5993
  *
7364
5994
  * @param {number} name
7365
5995
  * @param {*} [options] Override http request option.
7366
5996
  * @throws {RequiredError}
7367
5997
  */
7368
- getPublicUserByName(name: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublicUserByName200Response>>;
5998
+ getPublicUserByName(name: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublicUserByNameResponse>>;
7369
5999
  /**
7370
6000
  *
7371
6001
  * @param {*} [options] Override http request option.
@@ -7378,7 +6008,7 @@ declare const UserApiFp: (configuration?: Configuration) => {
7378
6008
  * @param {*} [options] Override http request option.
7379
6009
  * @throws {RequiredError}
7380
6010
  */
7381
- updateCurrentUser(updateCurrentUserRequest?: UpdateCurrentUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserResponse>>;
6011
+ updateCurrentUser(updateCurrentUserRequest?: UpdateCurrentUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCurrentUserResponse>>;
7382
6012
  };
7383
6013
 
7384
6014
  /**
@@ -7545,26 +6175,6 @@ declare interface UserRef {
7545
6175
  '$ref': string;
7546
6176
  }
7547
6177
 
7548
- /**
7549
- *
7550
- * @export
7551
- * @interface UserResponse
7552
- */
7553
- declare interface UserResponse {
7554
- /**
7555
- *
7556
- * @type {boolean}
7557
- * @memberof UserResponse
7558
- */
7559
- 'result': boolean;
7560
- /**
7561
- *
7562
- * @type {User}
7563
- * @memberof UserResponse
7564
- */
7565
- 'user': User;
7566
- }
7567
-
7568
6178
  /**
7569
6179
  *
7570
6180
  * @export
@@ -7586,20 +6196,6 @@ declare namespace utils {
7586
6196
  }
7587
6197
  export { utils }
7588
6198
 
7589
- /**
7590
- *
7591
- * @export
7592
- * @enum {string}
7593
- */
7594
- declare const View: {
7595
- readonly List: "list";
7596
- readonly Simple: "simple";
7597
- readonly Grid: "grid";
7598
- readonly Masonry: "masonry";
7599
- };
7600
-
7601
- declare type View = typeof View[keyof typeof View];
7602
-
7603
6199
  export { }
7604
6200
 
7605
6201
 
@@ -7614,4 +6210,3 @@ declare module "vitest" {
7614
6210
  setupTools: SetupTools;
7615
6211
  }
7616
6212
  }
7617
-