@lasuillard/raindrop-client 0.5.1 → 0.5.2
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.cjs.js +1 -1
- package/dist/index.d.ts +133 -1555
- package/dist/index.es.js +102 -148
- package/package.json +1 -1
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
|
|
@@ -467,7 +429,7 @@ declare class CollectionApi_2 extends BaseAPI {
|
|
|
467
429
|
* @throws {RequiredError}
|
|
468
430
|
* @memberof CollectionApi
|
|
469
431
|
*/
|
|
470
|
-
deleteCollaborator(userId: number, id: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<
|
|
432
|
+
deleteCollaborator(userId: number, id: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<SimpleResponse, any>>;
|
|
471
433
|
/**
|
|
472
434
|
*
|
|
473
435
|
* @param {*} [options] Override http request option.
|
|
@@ -541,7 +503,7 @@ declare class CollectionApi_2 extends BaseAPI {
|
|
|
541
503
|
* @throws {RequiredError}
|
|
542
504
|
* @memberof CollectionApi
|
|
543
505
|
*/
|
|
544
|
-
removeCollection(id: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<
|
|
506
|
+
removeCollection(id: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<SimpleResponse, any>>;
|
|
545
507
|
/**
|
|
546
508
|
*
|
|
547
509
|
* @param {RemoveCollectionsRequest} [removeCollectionsRequest]
|
|
@@ -565,7 +527,7 @@ declare class CollectionApi_2 extends BaseAPI {
|
|
|
565
527
|
* @throws {RequiredError}
|
|
566
528
|
* @memberof CollectionApi
|
|
567
529
|
*/
|
|
568
|
-
searchCovers(text: string, options?: RawAxiosRequestConfig): Promise<AxiosResponse<
|
|
530
|
+
searchCovers(text: string, options?: RawAxiosRequestConfig): Promise<AxiosResponse<SearchCoversResponse, any>>;
|
|
569
531
|
/**
|
|
570
532
|
*
|
|
571
533
|
* @param {number} id
|
|
@@ -582,7 +544,7 @@ declare class CollectionApi_2 extends BaseAPI {
|
|
|
582
544
|
* @throws {RequiredError}
|
|
583
545
|
* @memberof CollectionApi
|
|
584
546
|
*/
|
|
585
|
-
unshareOrLeaveCollection(id: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<
|
|
547
|
+
unshareOrLeaveCollection(id: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<SimpleResponse, any>>;
|
|
586
548
|
/**
|
|
587
549
|
*
|
|
588
550
|
* @param {number} id
|
|
@@ -792,7 +754,7 @@ declare const CollectionApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
792
754
|
* @param {*} [options] Override http request option.
|
|
793
755
|
* @throws {RequiredError}
|
|
794
756
|
*/
|
|
795
|
-
deleteCollaborator(userId: number, id: number, options?: any): AxiosPromise<
|
|
757
|
+
deleteCollaborator(userId: number, id: number, options?: any): AxiosPromise<SimpleResponse>;
|
|
796
758
|
/**
|
|
797
759
|
*
|
|
798
760
|
* @param {*} [options] Override http request option.
|
|
@@ -856,7 +818,7 @@ declare const CollectionApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
856
818
|
* @param {*} [options] Override http request option.
|
|
857
819
|
* @throws {RequiredError}
|
|
858
820
|
*/
|
|
859
|
-
removeCollection(id: number, options?: any): AxiosPromise<
|
|
821
|
+
removeCollection(id: number, options?: any): AxiosPromise<SimpleResponse>;
|
|
860
822
|
/**
|
|
861
823
|
*
|
|
862
824
|
* @param {RemoveCollectionsRequest} [removeCollectionsRequest]
|
|
@@ -877,7 +839,7 @@ declare const CollectionApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
877
839
|
* @param {*} [options] Override http request option.
|
|
878
840
|
* @throws {RequiredError}
|
|
879
841
|
*/
|
|
880
|
-
searchCovers(text: string, options?: any): AxiosPromise<
|
|
842
|
+
searchCovers(text: string, options?: any): AxiosPromise<SearchCoversResponse>;
|
|
881
843
|
/**
|
|
882
844
|
*
|
|
883
845
|
* @param {number} id
|
|
@@ -892,7 +854,7 @@ declare const CollectionApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
892
854
|
* @param {*} [options] Override http request option.
|
|
893
855
|
* @throws {RequiredError}
|
|
894
856
|
*/
|
|
895
|
-
unshareOrLeaveCollection(id: number, options?: any): AxiosPromise<
|
|
857
|
+
unshareOrLeaveCollection(id: number, options?: any): AxiosPromise<SimpleResponse>;
|
|
896
858
|
/**
|
|
897
859
|
*
|
|
898
860
|
* @param {number} id
|
|
@@ -946,7 +908,7 @@ declare const CollectionApiFp: (configuration?: Configuration) => {
|
|
|
946
908
|
* @param {*} [options] Override http request option.
|
|
947
909
|
* @throws {RequiredError}
|
|
948
910
|
*/
|
|
949
|
-
deleteCollaborator(userId: number, id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
911
|
+
deleteCollaborator(userId: number, id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SimpleResponse>>;
|
|
950
912
|
/**
|
|
951
913
|
*
|
|
952
914
|
* @param {*} [options] Override http request option.
|
|
@@ -1010,7 +972,7 @@ declare const CollectionApiFp: (configuration?: Configuration) => {
|
|
|
1010
972
|
* @param {*} [options] Override http request option.
|
|
1011
973
|
* @throws {RequiredError}
|
|
1012
974
|
*/
|
|
1013
|
-
removeCollection(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
975
|
+
removeCollection(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SimpleResponse>>;
|
|
1014
976
|
/**
|
|
1015
977
|
*
|
|
1016
978
|
* @param {RemoveCollectionsRequest} [removeCollectionsRequest]
|
|
@@ -1031,7 +993,7 @@ declare const CollectionApiFp: (configuration?: Configuration) => {
|
|
|
1031
993
|
* @param {*} [options] Override http request option.
|
|
1032
994
|
* @throws {RequiredError}
|
|
1033
995
|
*/
|
|
1034
|
-
searchCovers(text: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
996
|
+
searchCovers(text: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchCoversResponse>>;
|
|
1035
997
|
/**
|
|
1036
998
|
*
|
|
1037
999
|
* @param {number} id
|
|
@@ -1046,7 +1008,7 @@ declare const CollectionApiFp: (configuration?: Configuration) => {
|
|
|
1046
1008
|
* @param {*} [options] Override http request option.
|
|
1047
1009
|
* @throws {RequiredError}
|
|
1048
1010
|
*/
|
|
1049
|
-
unshareOrLeaveCollection(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1011
|
+
unshareOrLeaveCollection(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SimpleResponse>>;
|
|
1050
1012
|
/**
|
|
1051
1013
|
*
|
|
1052
1014
|
* @param {number} id
|
|
@@ -1099,46 +1061,6 @@ declare const CollectionRefRefEnum: {
|
|
|
1099
1061
|
|
|
1100
1062
|
declare type CollectionRefRefEnum = typeof CollectionRefRefEnum[keyof typeof CollectionRefRefEnum];
|
|
1101
1063
|
|
|
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
1064
|
declare class Configuration {
|
|
1143
1065
|
/**
|
|
1144
1066
|
* parameter for apiKey security
|
|
@@ -1246,66 +1168,6 @@ declare const ConnectSocialNetworkProviderProviderEnum: {
|
|
|
1246
1168
|
|
|
1247
1169
|
declare type ConnectSocialNetworkProviderProviderEnum = typeof ConnectSocialNetworkProviderProviderEnum[keyof typeof ConnectSocialNetworkProviderProviderEnum];
|
|
1248
1170
|
|
|
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
1171
|
/**
|
|
1310
1172
|
*
|
|
1311
1173
|
* @export
|
|
@@ -1492,110 +1354,6 @@ declare interface CreateCollectionResponseItem {
|
|
|
1492
1354
|
'__v': number;
|
|
1493
1355
|
}
|
|
1494
1356
|
|
|
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;
|
|
1513
|
-
/**
|
|
1514
|
-
*
|
|
1515
|
-
* @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
|
|
1595
|
-
*/
|
|
1596
|
-
'pleaseParse'?: object;
|
|
1597
|
-
}
|
|
1598
|
-
|
|
1599
1357
|
/**
|
|
1600
1358
|
*
|
|
1601
1359
|
* @export
|
|
@@ -1965,76 +1723,6 @@ declare const DisconnectSocialNetworkProviderProviderEnum: {
|
|
|
1965
1723
|
|
|
1966
1724
|
declare type DisconnectSocialNetworkProviderProviderEnum = typeof DisconnectSocialNetworkProviderProviderEnum[keyof typeof DisconnectSocialNetworkProviderProviderEnum];
|
|
1967
1725
|
|
|
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
1726
|
/**
|
|
2039
1727
|
* FilterApi - object-oriented interface
|
|
2040
1728
|
* @export
|
|
@@ -2051,7 +1739,7 @@ declare class FilterApi extends BaseAPI {
|
|
|
2051
1739
|
* @throws {RequiredError}
|
|
2052
1740
|
* @memberof FilterApi
|
|
2053
1741
|
*/
|
|
2054
|
-
getFilters(collectionId: number, tagsSort?: GetFiltersTagsSortEnum, search?: string, options?: RawAxiosRequestConfig): Promise<AxiosResponse<
|
|
1742
|
+
getFilters(collectionId: number, tagsSort?: GetFiltersTagsSortEnum, search?: string, options?: RawAxiosRequestConfig): Promise<AxiosResponse<GetFiltersResponse, any>>;
|
|
2055
1743
|
}
|
|
2056
1744
|
|
|
2057
1745
|
/**
|
|
@@ -2083,7 +1771,7 @@ declare const FilterApiFactory: (configuration?: Configuration, basePath?: strin
|
|
|
2083
1771
|
* @param {*} [options] Override http request option.
|
|
2084
1772
|
* @throws {RequiredError}
|
|
2085
1773
|
*/
|
|
2086
|
-
getFilters(collectionId: number, tagsSort?: GetFiltersTagsSortEnum, search?: string, options?: any): AxiosPromise<
|
|
1774
|
+
getFilters(collectionId: number, tagsSort?: GetFiltersTagsSortEnum, search?: string, options?: any): AxiosPromise<GetFiltersResponse>;
|
|
2087
1775
|
};
|
|
2088
1776
|
|
|
2089
1777
|
/**
|
|
@@ -2099,109 +1787,12 @@ declare const FilterApiFp: (configuration?: Configuration) => {
|
|
|
2099
1787
|
* @param {*} [options] Override http request option.
|
|
2100
1788
|
* @throws {RequiredError}
|
|
2101
1789
|
*/
|
|
2102
|
-
getFilters(collectionId: number, tagsSort?: GetFiltersTagsSortEnum, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1790
|
+
getFilters(collectionId: number, tagsSort?: GetFiltersTagsSortEnum, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFiltersResponse>>;
|
|
2103
1791
|
};
|
|
2104
1792
|
|
|
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
1793
|
declare namespace generated {
|
|
2202
1794
|
export {
|
|
2203
1795
|
AcceptInvitation200Response,
|
|
2204
|
-
Bookmark,
|
|
2205
1796
|
ChangeCollaboratorAccessLevelRequest,
|
|
2206
1797
|
CheckURLsExistRequest,
|
|
2207
1798
|
CheckURLsExistResponse,
|
|
@@ -2210,15 +1801,9 @@ declare namespace generated {
|
|
|
2210
1801
|
CollectionAccess,
|
|
2211
1802
|
CollectionRef,
|
|
2212
1803
|
CollectionRefRefEnum,
|
|
2213
|
-
CollectionResponseMany,
|
|
2214
|
-
CollectionResponseOne,
|
|
2215
|
-
Cover,
|
|
2216
|
-
CoverIconsInner,
|
|
2217
|
-
CoverResponse,
|
|
2218
1804
|
CreateCollectionRequest,
|
|
2219
1805
|
CreateCollectionResponse,
|
|
2220
1806
|
CreateCollectionResponseItem,
|
|
2221
|
-
CreateRaindrop,
|
|
2222
1807
|
CreateRaindropRequest,
|
|
2223
1808
|
CreateRaindropRequestCollection,
|
|
2224
1809
|
CreateRaindropRequestHighlightsInner,
|
|
@@ -2228,23 +1813,19 @@ declare namespace generated {
|
|
|
2228
1813
|
CreateRaindropsResponse,
|
|
2229
1814
|
CreatorRef,
|
|
2230
1815
|
CreatorRefOneOf,
|
|
2231
|
-
ErrorResponse,
|
|
2232
|
-
Filter,
|
|
2233
|
-
FilterResponse,
|
|
2234
|
-
FilterTagsInner,
|
|
2235
|
-
Folder,
|
|
2236
1816
|
GetAllHighlightsResponse,
|
|
2237
1817
|
GetAllHighlightsResponseItemsInner,
|
|
2238
1818
|
GetChildCollectionsResponse,
|
|
2239
1819
|
GetChildCollectionsResponseItemsInner,
|
|
2240
1820
|
GetCollectionResponse,
|
|
1821
|
+
GetCurrentUserResponse,
|
|
2241
1822
|
GetFeaturedCoversResponse,
|
|
2242
1823
|
GetFeaturedCoversResponseItemsInner,
|
|
2243
1824
|
GetFiltersResponse,
|
|
1825
|
+
GetFiltersResponseCreatedInner,
|
|
2244
1826
|
GetHighlightsInCollectionResponse,
|
|
2245
1827
|
GetOrRefreshToken200Response,
|
|
2246
1828
|
GetOrRefreshTokenRequest,
|
|
2247
|
-
GetPublicUserByName200Response,
|
|
2248
1829
|
GetPublicUserByNameResponse,
|
|
2249
1830
|
GetPublicUserByNameResponseUser,
|
|
2250
1831
|
GetPublicUserByNameResponseUserConfig,
|
|
@@ -2256,16 +1837,8 @@ declare namespace generated {
|
|
|
2256
1837
|
GetSystemCollectionStatsResponse,
|
|
2257
1838
|
GetSystemCollectionStatsResponseItemsInner,
|
|
2258
1839
|
GetSystemCollectionStatsResponseMeta,
|
|
2259
|
-
GetTagsInCollection200Response,
|
|
2260
|
-
GetTagsInCollection200ResponseAllOfItemsInner,
|
|
2261
1840
|
GetTagsInCollectionResponse,
|
|
2262
1841
|
Group,
|
|
2263
|
-
Highlight_2 as Highlight,
|
|
2264
|
-
HighlightColorEnum,
|
|
2265
|
-
HighlightItem,
|
|
2266
|
-
HighlightItemColorEnum,
|
|
2267
|
-
HighlightResponse,
|
|
2268
|
-
ImportFileResponse,
|
|
2269
1842
|
ImportHTMLBookmarkFileResponse,
|
|
2270
1843
|
ImportHTMLBookmarkFileResponseCount,
|
|
2271
1844
|
ImportHTMLBookmarkFileResponseItemBookmark,
|
|
@@ -2278,18 +1851,6 @@ declare namespace generated {
|
|
|
2278
1851
|
ParseURLResponseItem,
|
|
2279
1852
|
ParseURLResponseItemMediaInner,
|
|
2280
1853
|
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
1854
|
RefreshToken,
|
|
2294
1855
|
RefreshTokenGrantTypeEnum,
|
|
2295
1856
|
RemoveAllEmptyCollectionsResponse,
|
|
@@ -2302,7 +1863,6 @@ declare namespace generated {
|
|
|
2302
1863
|
RemoveTagsFromCollectionRequest,
|
|
2303
1864
|
RenameOrMergeTagsRequest,
|
|
2304
1865
|
ReorderAllCollectionsRequest,
|
|
2305
|
-
Response_2 as Response,
|
|
2306
1866
|
Role,
|
|
2307
1867
|
SearchCoversResponse,
|
|
2308
1868
|
SearchCoversResponseItemsInner,
|
|
@@ -2310,15 +1870,9 @@ declare namespace generated {
|
|
|
2310
1870
|
ShareCollectionRequest,
|
|
2311
1871
|
ShareCollectionResponse,
|
|
2312
1872
|
SimpleResponse,
|
|
2313
|
-
StatResponse,
|
|
2314
|
-
StatResponseAllOfItems,
|
|
2315
|
-
StatResponseAllOfMeta,
|
|
2316
|
-
StatResponseAllOfMetaDuplicates,
|
|
2317
|
-
Suggest,
|
|
2318
1873
|
SuggestForExistingBookmarkResponse,
|
|
2319
1874
|
SuggestForNewBookmarkRequest,
|
|
2320
1875
|
SuggestForNewBookmarkResponse,
|
|
2321
|
-
SuggestResponse,
|
|
2322
1876
|
TokenErrorResponse,
|
|
2323
1877
|
TokenResponse,
|
|
2324
1878
|
TokenResponseTokenTypeEnum,
|
|
@@ -2337,21 +1891,15 @@ declare namespace generated {
|
|
|
2337
1891
|
UploadCollectionCoverResponseItem,
|
|
2338
1892
|
UploadFileResponse,
|
|
2339
1893
|
UploadFileResponseItem,
|
|
1894
|
+
UploadFileResponseItemFile,
|
|
2340
1895
|
UploadRaindropCoverResponse,
|
|
2341
1896
|
UploadRaindropCoverResponseItem,
|
|
2342
|
-
UrlParse,
|
|
2343
|
-
UrlParseErrorResponse,
|
|
2344
|
-
UrlParseMediaInner,
|
|
2345
|
-
UrlParseMeta,
|
|
2346
|
-
UrlParseResponse,
|
|
2347
1897
|
User,
|
|
2348
1898
|
UserConfig,
|
|
2349
1899
|
UserDropbox,
|
|
2350
1900
|
UserFiles,
|
|
2351
1901
|
UserRef,
|
|
2352
|
-
UserResponse,
|
|
2353
1902
|
UserTfa,
|
|
2354
|
-
View,
|
|
2355
1903
|
AuthenticationApiAxiosParamCreator,
|
|
2356
1904
|
AuthenticationApiFp,
|
|
2357
1905
|
AuthenticationApiFactory,
|
|
@@ -2642,6 +2190,26 @@ declare interface GetCollectionResponse {
|
|
|
2642
2190
|
'item'?: Collection;
|
|
2643
2191
|
}
|
|
2644
2192
|
|
|
2193
|
+
/**
|
|
2194
|
+
*
|
|
2195
|
+
* @export
|
|
2196
|
+
* @interface GetCurrentUserResponse
|
|
2197
|
+
*/
|
|
2198
|
+
declare interface GetCurrentUserResponse {
|
|
2199
|
+
/**
|
|
2200
|
+
*
|
|
2201
|
+
* @type {boolean}
|
|
2202
|
+
* @memberof GetCurrentUserResponse
|
|
2203
|
+
*/
|
|
2204
|
+
'result': boolean;
|
|
2205
|
+
/**
|
|
2206
|
+
*
|
|
2207
|
+
* @type {User}
|
|
2208
|
+
* @memberof GetCurrentUserResponse
|
|
2209
|
+
*/
|
|
2210
|
+
'user': User;
|
|
2211
|
+
}
|
|
2212
|
+
|
|
2645
2213
|
/**
|
|
2646
2214
|
*
|
|
2647
2215
|
* @export
|
|
@@ -2700,7 +2268,7 @@ declare interface GetFeaturedCoversResponseItemsInner {
|
|
|
2700
2268
|
* @interface GetFiltersResponse
|
|
2701
2269
|
*/
|
|
2702
2270
|
declare interface GetFiltersResponse {
|
|
2703
|
-
[key: string]:
|
|
2271
|
+
[key: string]: GetFiltersResponseCreatedInner | any;
|
|
2704
2272
|
/**
|
|
2705
2273
|
*
|
|
2706
2274
|
* @type {boolean}
|
|
@@ -2715,22 +2283,42 @@ declare interface GetFiltersResponse {
|
|
|
2715
2283
|
'collectionId': number;
|
|
2716
2284
|
/**
|
|
2717
2285
|
*
|
|
2718
|
-
* @type {Array<
|
|
2286
|
+
* @type {Array<GetFiltersResponseCreatedInner>}
|
|
2719
2287
|
* @memberof GetFiltersResponse
|
|
2720
2288
|
*/
|
|
2721
|
-
'created': Array<
|
|
2289
|
+
'created': Array<GetFiltersResponseCreatedInner>;
|
|
2722
2290
|
/**
|
|
2723
2291
|
*
|
|
2724
|
-
* @type {Array<
|
|
2292
|
+
* @type {Array<GetFiltersResponseCreatedInner>}
|
|
2725
2293
|
* @memberof GetFiltersResponse
|
|
2726
2294
|
*/
|
|
2727
|
-
'tags': Array<
|
|
2295
|
+
'tags': Array<GetFiltersResponseCreatedInner>;
|
|
2728
2296
|
/**
|
|
2729
2297
|
*
|
|
2730
|
-
* @type {Array<
|
|
2298
|
+
* @type {Array<GetFiltersResponseCreatedInner>}
|
|
2731
2299
|
* @memberof GetFiltersResponse
|
|
2732
2300
|
*/
|
|
2733
|
-
'types': Array<
|
|
2301
|
+
'types': Array<GetFiltersResponseCreatedInner>;
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2304
|
+
/**
|
|
2305
|
+
*
|
|
2306
|
+
* @export
|
|
2307
|
+
* @interface GetFiltersResponseCreatedInner
|
|
2308
|
+
*/
|
|
2309
|
+
declare interface GetFiltersResponseCreatedInner {
|
|
2310
|
+
/**
|
|
2311
|
+
*
|
|
2312
|
+
* @type {string}
|
|
2313
|
+
* @memberof GetFiltersResponseCreatedInner
|
|
2314
|
+
*/
|
|
2315
|
+
'_id': string;
|
|
2316
|
+
/**
|
|
2317
|
+
*
|
|
2318
|
+
* @type {number}
|
|
2319
|
+
* @memberof GetFiltersResponseCreatedInner
|
|
2320
|
+
*/
|
|
2321
|
+
'count': number;
|
|
2734
2322
|
}
|
|
2735
2323
|
|
|
2736
2324
|
/**
|
|
@@ -2775,50 +2363,6 @@ declare type GetOrRefreshToken200Response = TokenErrorResponse | TokenResponse;
|
|
|
2775
2363
|
*/
|
|
2776
2364
|
declare type GetOrRefreshTokenRequest = ObtainToken | RefreshToken;
|
|
2777
2365
|
|
|
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
2366
|
/**
|
|
2823
2367
|
*
|
|
2824
2368
|
* @export
|
|
@@ -3245,46 +2789,6 @@ declare interface GetSystemCollectionStatsResponseMeta {
|
|
|
3245
2789
|
'changedBookmarksDate': string;
|
|
3246
2790
|
}
|
|
3247
2791
|
|
|
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
2792
|
/**
|
|
3289
2793
|
*
|
|
3290
2794
|
* @export
|
|
@@ -3299,10 +2803,10 @@ declare interface GetTagsInCollectionResponse {
|
|
|
3299
2803
|
'result': boolean;
|
|
3300
2804
|
/**
|
|
3301
2805
|
*
|
|
3302
|
-
* @type {Array<
|
|
2806
|
+
* @type {Array<GetFiltersResponseCreatedInner>}
|
|
3303
2807
|
* @memberof GetTagsInCollectionResponse
|
|
3304
2808
|
*/
|
|
3305
|
-
'items': Array<
|
|
2809
|
+
'items': Array<GetFiltersResponseCreatedInner>;
|
|
3306
2810
|
}
|
|
3307
2811
|
|
|
3308
2812
|
/**
|
|
@@ -3337,44 +2841,6 @@ declare interface Group {
|
|
|
3337
2841
|
'collections': Array<number>;
|
|
3338
2842
|
}
|
|
3339
2843
|
|
|
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
2844
|
/**
|
|
3379
2845
|
* HighlightApi - object-oriented interface
|
|
3380
2846
|
* @export
|
|
@@ -3390,7 +2856,7 @@ declare class HighlightApi extends BaseAPI {
|
|
|
3390
2856
|
* @throws {RequiredError}
|
|
3391
2857
|
* @memberof HighlightApi
|
|
3392
2858
|
*/
|
|
3393
|
-
getAllHighlights(page?: number, perpage?: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<
|
|
2859
|
+
getAllHighlights(page?: number, perpage?: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<GetAllHighlightsResponse, any>>;
|
|
3394
2860
|
/**
|
|
3395
2861
|
*
|
|
3396
2862
|
* @param {number} collectionId
|
|
@@ -3400,7 +2866,7 @@ declare class HighlightApi extends BaseAPI {
|
|
|
3400
2866
|
* @throws {RequiredError}
|
|
3401
2867
|
* @memberof HighlightApi
|
|
3402
2868
|
*/
|
|
3403
|
-
getHighlightsInCollection(collectionId: number, page?: number, perpage?: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<
|
|
2869
|
+
getHighlightsInCollection(collectionId: number, page?: number, perpage?: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<GetHighlightsInCollectionResponse, any>>;
|
|
3404
2870
|
/**
|
|
3405
2871
|
*
|
|
3406
2872
|
* @param {number} id
|
|
@@ -3471,7 +2937,7 @@ declare const HighlightApiFactory: (configuration?: Configuration, basePath?: st
|
|
|
3471
2937
|
* @param {*} [options] Override http request option.
|
|
3472
2938
|
* @throws {RequiredError}
|
|
3473
2939
|
*/
|
|
3474
|
-
getAllHighlights(page?: number, perpage?: number, options?: any): AxiosPromise<
|
|
2940
|
+
getAllHighlights(page?: number, perpage?: number, options?: any): AxiosPromise<GetAllHighlightsResponse>;
|
|
3475
2941
|
/**
|
|
3476
2942
|
*
|
|
3477
2943
|
* @param {number} collectionId
|
|
@@ -3480,7 +2946,7 @@ declare const HighlightApiFactory: (configuration?: Configuration, basePath?: st
|
|
|
3480
2946
|
* @param {*} [options] Override http request option.
|
|
3481
2947
|
* @throws {RequiredError}
|
|
3482
2948
|
*/
|
|
3483
|
-
getHighlightsInCollection(collectionId: number, page?: number, perpage?: number, options?: any): AxiosPromise<
|
|
2949
|
+
getHighlightsInCollection(collectionId: number, page?: number, perpage?: number, options?: any): AxiosPromise<GetHighlightsInCollectionResponse>;
|
|
3484
2950
|
/**
|
|
3485
2951
|
*
|
|
3486
2952
|
* @param {number} id
|
|
@@ -3510,7 +2976,7 @@ declare const HighlightApiFp: (configuration?: Configuration) => {
|
|
|
3510
2976
|
* @param {*} [options] Override http request option.
|
|
3511
2977
|
* @throws {RequiredError}
|
|
3512
2978
|
*/
|
|
3513
|
-
getAllHighlights(page?: number, perpage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2979
|
+
getAllHighlights(page?: number, perpage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAllHighlightsResponse>>;
|
|
3514
2980
|
/**
|
|
3515
2981
|
*
|
|
3516
2982
|
* @param {number} collectionId
|
|
@@ -3519,7 +2985,7 @@ declare const HighlightApiFp: (configuration?: Configuration) => {
|
|
|
3519
2985
|
* @param {*} [options] Override http request option.
|
|
3520
2986
|
* @throws {RequiredError}
|
|
3521
2987
|
*/
|
|
3522
|
-
getHighlightsInCollection(collectionId: number, page?: number, perpage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2988
|
+
getHighlightsInCollection(collectionId: number, page?: number, perpage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetHighlightsInCollectionResponse>>;
|
|
3523
2989
|
/**
|
|
3524
2990
|
*
|
|
3525
2991
|
* @param {number} id
|
|
@@ -3537,122 +3003,6 @@ declare const HighlightApiFp: (configuration?: Configuration) => {
|
|
|
3537
3003
|
updateRaindrop(id: number, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateRaindropResponse>>;
|
|
3538
3004
|
};
|
|
3539
3005
|
|
|
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
3006
|
/**
|
|
3657
3007
|
* ImportApi - object-oriented interface
|
|
3658
3008
|
* @export
|
|
@@ -3770,26 +3120,6 @@ declare const ImportApiFp: (configuration?: Configuration) => {
|
|
|
3770
3120
|
parseURL(url?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ParseURLResponse>>;
|
|
3771
3121
|
};
|
|
3772
3122
|
|
|
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
3123
|
/**
|
|
3794
3124
|
*
|
|
3795
3125
|
* @export
|
|
@@ -4043,75 +3373,23 @@ declare type ObtainTokenGrantTypeEnum = typeof ObtainTokenGrantTypeEnum[keyof ty
|
|
|
4043
3373
|
/**
|
|
4044
3374
|
*
|
|
4045
3375
|
* @export
|
|
4046
|
-
* @interface
|
|
3376
|
+
* @interface ParseURLResponse
|
|
4047
3377
|
*/
|
|
4048
|
-
declare interface
|
|
3378
|
+
declare interface ParseURLResponse {
|
|
4049
3379
|
/**
|
|
4050
3380
|
*
|
|
4051
3381
|
* @type {boolean}
|
|
4052
|
-
* @memberof
|
|
3382
|
+
* @memberof ParseURLResponse
|
|
4053
3383
|
*/
|
|
4054
3384
|
'result': boolean;
|
|
4055
3385
|
/**
|
|
4056
3386
|
*
|
|
4057
|
-
* @type {
|
|
4058
|
-
* @memberof
|
|
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
|
|
3387
|
+
* @type {ParseURLResponseItem}
|
|
3388
|
+
* @memberof ParseURLResponse
|
|
4091
3389
|
*/
|
|
4092
3390
|
'item': ParseURLResponseItem;
|
|
4093
3391
|
}
|
|
4094
3392
|
|
|
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
3393
|
/**
|
|
4116
3394
|
*
|
|
4117
3395
|
* @export
|
|
@@ -4205,209 +3483,6 @@ declare class Raindrop {
|
|
|
4205
3483
|
constructor(configuration?: Configuration, client?: AxiosInstance);
|
|
4206
3484
|
}
|
|
4207
3485
|
|
|
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
3486
|
declare class RaindropApi extends RaindropApi_2 {
|
|
4412
3487
|
/**
|
|
4413
3488
|
* Fetch all raindrops of a collection.
|
|
@@ -4416,7 +3491,7 @@ declare class RaindropApi extends RaindropApi_2 {
|
|
|
4416
3491
|
* @param options Axios request config.
|
|
4417
3492
|
* @returns Array of raindrops.
|
|
4418
3493
|
*/
|
|
4419
|
-
getAllRaindrops(collectionId?: number, params?: GetAllRaindropsParams, options?: AxiosRequestConfig<any>): Promise<
|
|
3494
|
+
getAllRaindrops(collectionId?: number, params?: GetAllRaindropsParams, options?: AxiosRequestConfig<any>): Promise<RaindropItem[]>;
|
|
4420
3495
|
}
|
|
4421
3496
|
|
|
4422
3497
|
/**
|
|
@@ -4469,7 +3544,7 @@ declare class RaindropApi_2 extends BaseAPI {
|
|
|
4469
3544
|
* @throws {RequiredError}
|
|
4470
3545
|
* @memberof RaindropApi
|
|
4471
3546
|
*/
|
|
4472
|
-
getRaindrops(collectionId: number, sort?: string, perpage?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<AxiosResponse<
|
|
3547
|
+
getRaindrops(collectionId: number, sort?: string, perpage?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<AxiosResponse<GetRaindropsResponse, any>>;
|
|
4473
3548
|
/**
|
|
4474
3549
|
*
|
|
4475
3550
|
* @param {number} id
|
|
@@ -4693,7 +3768,7 @@ declare const RaindropApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
4693
3768
|
* @param {*} [options] Override http request option.
|
|
4694
3769
|
* @throws {RequiredError}
|
|
4695
3770
|
*/
|
|
4696
|
-
getRaindrops(collectionId: number, sort?: string, perpage?: number, page?: number, search?: string, options?: any): AxiosPromise<
|
|
3771
|
+
getRaindrops(collectionId: number, sort?: string, perpage?: number, page?: number, search?: string, options?: any): AxiosPromise<GetRaindropsResponse>;
|
|
4697
3772
|
/**
|
|
4698
3773
|
*
|
|
4699
3774
|
* @param {number} id
|
|
@@ -4801,7 +3876,7 @@ declare const RaindropApiFp: (configuration?: Configuration) => {
|
|
|
4801
3876
|
* @param {*} [options] Override http request option.
|
|
4802
3877
|
* @throws {RequiredError}
|
|
4803
3878
|
*/
|
|
4804
|
-
getRaindrops(collectionId: number, sort?: string, perpage?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3879
|
+
getRaindrops(collectionId: number, sort?: string, perpage?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRaindropsResponse>>;
|
|
4805
3880
|
/**
|
|
4806
3881
|
*
|
|
4807
3882
|
* @param {number} id
|
|
@@ -4866,202 +3941,7 @@ declare const RaindropApiFp: (configuration?: Configuration) => {
|
|
|
4866
3941
|
uploadRaindropCover(id: number, cover?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UploadRaindropCoverResponse>>;
|
|
4867
3942
|
};
|
|
4868
3943
|
|
|
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
|
-
}
|
|
3944
|
+
declare type RaindropItem = GetRaindropsResponse["items"][0];
|
|
5065
3945
|
|
|
5066
3946
|
/**
|
|
5067
3947
|
*
|
|
@@ -5394,25 +4274,11 @@ declare interface ReorderAllCollectionsRequest {
|
|
|
5394
4274
|
/**
|
|
5395
4275
|
*
|
|
5396
4276
|
* @export
|
|
5397
|
-
* @interface RequestArgs
|
|
5398
|
-
*/
|
|
5399
|
-
declare interface RequestArgs {
|
|
5400
|
-
url: string;
|
|
5401
|
-
options: RawAxiosRequestConfig;
|
|
5402
|
-
}
|
|
5403
|
-
|
|
5404
|
-
/**
|
|
5405
|
-
*
|
|
5406
|
-
* @export
|
|
5407
|
-
* @interface Response
|
|
4277
|
+
* @interface RequestArgs
|
|
5408
4278
|
*/
|
|
5409
|
-
declare interface
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
* @type {boolean}
|
|
5413
|
-
* @memberof Response
|
|
5414
|
-
*/
|
|
5415
|
-
'result': boolean;
|
|
4279
|
+
declare interface RequestArgs {
|
|
4280
|
+
url: string;
|
|
4281
|
+
options: RawAxiosRequestConfig;
|
|
5416
4282
|
}
|
|
5417
4283
|
|
|
5418
4284
|
/**
|
|
@@ -5535,124 +4401,6 @@ declare interface SimpleResponse {
|
|
|
5535
4401
|
'result': boolean;
|
|
5536
4402
|
}
|
|
5537
4403
|
|
|
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
4404
|
/**
|
|
5657
4405
|
*
|
|
5658
4406
|
* @export
|
|
@@ -5695,26 +4443,6 @@ declare interface SuggestForNewBookmarkResponse {
|
|
|
5695
4443
|
'result'?: boolean;
|
|
5696
4444
|
}
|
|
5697
4445
|
|
|
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
4446
|
/**
|
|
5719
4447
|
* TagApi - object-oriented interface
|
|
5720
4448
|
* @export
|
|
@@ -5729,7 +4457,7 @@ declare class TagApi extends BaseAPI {
|
|
|
5729
4457
|
* @throws {RequiredError}
|
|
5730
4458
|
* @memberof TagApi
|
|
5731
4459
|
*/
|
|
5732
|
-
getTagsInCollection(collectionId?: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<
|
|
4460
|
+
getTagsInCollection(collectionId?: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<GetTagsInCollectionResponse, any>>;
|
|
5733
4461
|
/**
|
|
5734
4462
|
*
|
|
5735
4463
|
* @param {number} [collectionId]
|
|
@@ -5738,7 +4466,7 @@ declare class TagApi extends BaseAPI {
|
|
|
5738
4466
|
* @throws {RequiredError}
|
|
5739
4467
|
* @memberof TagApi
|
|
5740
4468
|
*/
|
|
5741
|
-
removeTagsFromCollection(collectionId?: number, removeTagsFromCollectionRequest?: RemoveTagsFromCollectionRequest, options?: RawAxiosRequestConfig): Promise<AxiosResponse<
|
|
4469
|
+
removeTagsFromCollection(collectionId?: number, removeTagsFromCollectionRequest?: RemoveTagsFromCollectionRequest, options?: RawAxiosRequestConfig): Promise<AxiosResponse<SimpleResponse, any>>;
|
|
5742
4470
|
/**
|
|
5743
4471
|
*
|
|
5744
4472
|
* @param {number} [collectionId]
|
|
@@ -5747,7 +4475,7 @@ declare class TagApi extends BaseAPI {
|
|
|
5747
4475
|
* @throws {RequiredError}
|
|
5748
4476
|
* @memberof TagApi
|
|
5749
4477
|
*/
|
|
5750
|
-
renameOrMergeTags(collectionId?: number, renameOrMergeTagsRequest?: RenameOrMergeTagsRequest, options?: RawAxiosRequestConfig): Promise<AxiosResponse<
|
|
4478
|
+
renameOrMergeTags(collectionId?: number, renameOrMergeTagsRequest?: RenameOrMergeTagsRequest, options?: RawAxiosRequestConfig): Promise<AxiosResponse<SimpleResponse, any>>;
|
|
5751
4479
|
}
|
|
5752
4480
|
|
|
5753
4481
|
/**
|
|
@@ -5791,7 +4519,7 @@ declare const TagApiFactory: (configuration?: Configuration, basePath?: string,
|
|
|
5791
4519
|
* @param {*} [options] Override http request option.
|
|
5792
4520
|
* @throws {RequiredError}
|
|
5793
4521
|
*/
|
|
5794
|
-
getTagsInCollection(collectionId?: number, options?: any): AxiosPromise<
|
|
4522
|
+
getTagsInCollection(collectionId?: number, options?: any): AxiosPromise<GetTagsInCollectionResponse>;
|
|
5795
4523
|
/**
|
|
5796
4524
|
*
|
|
5797
4525
|
* @param {number} [collectionId]
|
|
@@ -5799,7 +4527,7 @@ declare const TagApiFactory: (configuration?: Configuration, basePath?: string,
|
|
|
5799
4527
|
* @param {*} [options] Override http request option.
|
|
5800
4528
|
* @throws {RequiredError}
|
|
5801
4529
|
*/
|
|
5802
|
-
removeTagsFromCollection(collectionId?: number, removeTagsFromCollectionRequest?: RemoveTagsFromCollectionRequest, options?: any): AxiosPromise<
|
|
4530
|
+
removeTagsFromCollection(collectionId?: number, removeTagsFromCollectionRequest?: RemoveTagsFromCollectionRequest, options?: any): AxiosPromise<SimpleResponse>;
|
|
5803
4531
|
/**
|
|
5804
4532
|
*
|
|
5805
4533
|
* @param {number} [collectionId]
|
|
@@ -5807,7 +4535,7 @@ declare const TagApiFactory: (configuration?: Configuration, basePath?: string,
|
|
|
5807
4535
|
* @param {*} [options] Override http request option.
|
|
5808
4536
|
* @throws {RequiredError}
|
|
5809
4537
|
*/
|
|
5810
|
-
renameOrMergeTags(collectionId?: number, renameOrMergeTagsRequest?: RenameOrMergeTagsRequest, options?: any): AxiosPromise<
|
|
4538
|
+
renameOrMergeTags(collectionId?: number, renameOrMergeTagsRequest?: RenameOrMergeTagsRequest, options?: any): AxiosPromise<SimpleResponse>;
|
|
5811
4539
|
};
|
|
5812
4540
|
|
|
5813
4541
|
/**
|
|
@@ -5821,7 +4549,7 @@ declare const TagApiFp: (configuration?: Configuration) => {
|
|
|
5821
4549
|
* @param {*} [options] Override http request option.
|
|
5822
4550
|
* @throws {RequiredError}
|
|
5823
4551
|
*/
|
|
5824
|
-
getTagsInCollection(collectionId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4552
|
+
getTagsInCollection(collectionId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTagsInCollectionResponse>>;
|
|
5825
4553
|
/**
|
|
5826
4554
|
*
|
|
5827
4555
|
* @param {number} [collectionId]
|
|
@@ -5829,7 +4557,7 @@ declare const TagApiFp: (configuration?: Configuration) => {
|
|
|
5829
4557
|
* @param {*} [options] Override http request option.
|
|
5830
4558
|
* @throws {RequiredError}
|
|
5831
4559
|
*/
|
|
5832
|
-
removeTagsFromCollection(collectionId?: number, removeTagsFromCollectionRequest?: RemoveTagsFromCollectionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4560
|
+
removeTagsFromCollection(collectionId?: number, removeTagsFromCollectionRequest?: RemoveTagsFromCollectionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SimpleResponse>>;
|
|
5833
4561
|
/**
|
|
5834
4562
|
*
|
|
5835
4563
|
* @param {number} [collectionId]
|
|
@@ -5837,7 +4565,7 @@ declare const TagApiFp: (configuration?: Configuration) => {
|
|
|
5837
4565
|
* @param {*} [options] Override http request option.
|
|
5838
4566
|
* @throws {RequiredError}
|
|
5839
4567
|
*/
|
|
5840
|
-
renameOrMergeTags(collectionId?: number, renameOrMergeTagsRequest?: RenameOrMergeTagsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4568
|
+
renameOrMergeTags(collectionId?: number, renameOrMergeTagsRequest?: RenameOrMergeTagsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SimpleResponse>>;
|
|
5841
4569
|
};
|
|
5842
4570
|
|
|
5843
4571
|
/**
|
|
@@ -6713,10 +5441,10 @@ declare interface UploadFileResponseItem {
|
|
|
6713
5441
|
'excerpt': string;
|
|
6714
5442
|
/**
|
|
6715
5443
|
*
|
|
6716
|
-
* @type {
|
|
5444
|
+
* @type {UploadFileResponseItemFile}
|
|
6717
5445
|
* @memberof UploadFileResponseItem
|
|
6718
5446
|
*/
|
|
6719
|
-
'file':
|
|
5447
|
+
'file': UploadFileResponseItemFile;
|
|
6720
5448
|
/**
|
|
6721
5449
|
*
|
|
6722
5450
|
* @type {string}
|
|
@@ -6779,6 +5507,32 @@ declare interface UploadFileResponseItem {
|
|
|
6779
5507
|
'user': UserRef;
|
|
6780
5508
|
}
|
|
6781
5509
|
|
|
5510
|
+
/**
|
|
5511
|
+
*
|
|
5512
|
+
* @export
|
|
5513
|
+
* @interface UploadFileResponseItemFile
|
|
5514
|
+
*/
|
|
5515
|
+
declare interface UploadFileResponseItemFile {
|
|
5516
|
+
/**
|
|
5517
|
+
*
|
|
5518
|
+
* @type {string}
|
|
5519
|
+
* @memberof UploadFileResponseItemFile
|
|
5520
|
+
*/
|
|
5521
|
+
'name': string;
|
|
5522
|
+
/**
|
|
5523
|
+
*
|
|
5524
|
+
* @type {number}
|
|
5525
|
+
* @memberof UploadFileResponseItemFile
|
|
5526
|
+
*/
|
|
5527
|
+
'size': number;
|
|
5528
|
+
/**
|
|
5529
|
+
*
|
|
5530
|
+
* @type {string}
|
|
5531
|
+
* @memberof UploadFileResponseItemFile
|
|
5532
|
+
*/
|
|
5533
|
+
'type': string;
|
|
5534
|
+
}
|
|
5535
|
+
|
|
6782
5536
|
/**
|
|
6783
5537
|
*
|
|
6784
5538
|
* @export
|
|
@@ -6921,148 +5675,6 @@ declare interface UploadRaindropCoverResponseItem {
|
|
|
6921
5675
|
'user': UserRef;
|
|
6922
5676
|
}
|
|
6923
5677
|
|
|
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
5678
|
/**
|
|
7067
5679
|
*
|
|
7068
5680
|
* @export
|
|
@@ -7214,7 +5826,7 @@ declare class UserApi extends BaseAPI {
|
|
|
7214
5826
|
* @throws {RequiredError}
|
|
7215
5827
|
* @memberof UserApi
|
|
7216
5828
|
*/
|
|
7217
|
-
getCurrentUser(options?: RawAxiosRequestConfig): Promise<AxiosResponse<
|
|
5829
|
+
getCurrentUser(options?: RawAxiosRequestConfig): Promise<AxiosResponse<GetCurrentUserResponse, any>>;
|
|
7218
5830
|
/**
|
|
7219
5831
|
*
|
|
7220
5832
|
* @param {number} name
|
|
@@ -7222,7 +5834,7 @@ declare class UserApi extends BaseAPI {
|
|
|
7222
5834
|
* @throws {RequiredError}
|
|
7223
5835
|
* @memberof UserApi
|
|
7224
5836
|
*/
|
|
7225
|
-
getPublicUserByName(name: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<
|
|
5837
|
+
getPublicUserByName(name: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<GetPublicUserByNameResponse, any>>;
|
|
7226
5838
|
/**
|
|
7227
5839
|
*
|
|
7228
5840
|
* @param {*} [options] Override http request option.
|
|
@@ -7237,7 +5849,7 @@ declare class UserApi extends BaseAPI {
|
|
|
7237
5849
|
* @throws {RequiredError}
|
|
7238
5850
|
* @memberof UserApi
|
|
7239
5851
|
*/
|
|
7240
|
-
updateCurrentUser(updateCurrentUserRequest?: UpdateCurrentUserRequest, options?: RawAxiosRequestConfig): Promise<AxiosResponse<
|
|
5852
|
+
updateCurrentUser(updateCurrentUserRequest?: UpdateCurrentUserRequest, options?: RawAxiosRequestConfig): Promise<AxiosResponse<UpdateCurrentUserResponse, any>>;
|
|
7241
5853
|
}
|
|
7242
5854
|
|
|
7243
5855
|
/**
|
|
@@ -7311,14 +5923,14 @@ declare const UserApiFactory: (configuration?: Configuration, basePath?: string,
|
|
|
7311
5923
|
* @param {*} [options] Override http request option.
|
|
7312
5924
|
* @throws {RequiredError}
|
|
7313
5925
|
*/
|
|
7314
|
-
getCurrentUser(options?: any): AxiosPromise<
|
|
5926
|
+
getCurrentUser(options?: any): AxiosPromise<GetCurrentUserResponse>;
|
|
7315
5927
|
/**
|
|
7316
5928
|
*
|
|
7317
5929
|
* @param {number} name
|
|
7318
5930
|
* @param {*} [options] Override http request option.
|
|
7319
5931
|
* @throws {RequiredError}
|
|
7320
5932
|
*/
|
|
7321
|
-
getPublicUserByName(name: number, options?: any): AxiosPromise<
|
|
5933
|
+
getPublicUserByName(name: number, options?: any): AxiosPromise<GetPublicUserByNameResponse>;
|
|
7322
5934
|
/**
|
|
7323
5935
|
*
|
|
7324
5936
|
* @param {*} [options] Override http request option.
|
|
@@ -7331,7 +5943,7 @@ declare const UserApiFactory: (configuration?: Configuration, basePath?: string,
|
|
|
7331
5943
|
* @param {*} [options] Override http request option.
|
|
7332
5944
|
* @throws {RequiredError}
|
|
7333
5945
|
*/
|
|
7334
|
-
updateCurrentUser(updateCurrentUserRequest?: UpdateCurrentUserRequest, options?: any): AxiosPromise<
|
|
5946
|
+
updateCurrentUser(updateCurrentUserRequest?: UpdateCurrentUserRequest, options?: any): AxiosPromise<UpdateCurrentUserResponse>;
|
|
7335
5947
|
};
|
|
7336
5948
|
|
|
7337
5949
|
/**
|
|
@@ -7358,14 +5970,14 @@ declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
7358
5970
|
* @param {*} [options] Override http request option.
|
|
7359
5971
|
* @throws {RequiredError}
|
|
7360
5972
|
*/
|
|
7361
|
-
getCurrentUser(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
5973
|
+
getCurrentUser(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCurrentUserResponse>>;
|
|
7362
5974
|
/**
|
|
7363
5975
|
*
|
|
7364
5976
|
* @param {number} name
|
|
7365
5977
|
* @param {*} [options] Override http request option.
|
|
7366
5978
|
* @throws {RequiredError}
|
|
7367
5979
|
*/
|
|
7368
|
-
getPublicUserByName(name: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
5980
|
+
getPublicUserByName(name: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublicUserByNameResponse>>;
|
|
7369
5981
|
/**
|
|
7370
5982
|
*
|
|
7371
5983
|
* @param {*} [options] Override http request option.
|
|
@@ -7378,7 +5990,7 @@ declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
7378
5990
|
* @param {*} [options] Override http request option.
|
|
7379
5991
|
* @throws {RequiredError}
|
|
7380
5992
|
*/
|
|
7381
|
-
updateCurrentUser(updateCurrentUserRequest?: UpdateCurrentUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
5993
|
+
updateCurrentUser(updateCurrentUserRequest?: UpdateCurrentUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCurrentUserResponse>>;
|
|
7382
5994
|
};
|
|
7383
5995
|
|
|
7384
5996
|
/**
|
|
@@ -7545,26 +6157,6 @@ declare interface UserRef {
|
|
|
7545
6157
|
'$ref': string;
|
|
7546
6158
|
}
|
|
7547
6159
|
|
|
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
6160
|
/**
|
|
7569
6161
|
*
|
|
7570
6162
|
* @export
|
|
@@ -7586,20 +6178,6 @@ declare namespace utils {
|
|
|
7586
6178
|
}
|
|
7587
6179
|
export { utils }
|
|
7588
6180
|
|
|
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
6181
|
export { }
|
|
7604
6182
|
|
|
7605
6183
|
|