@@ -184,6 +184,7 @@ module.exports = (function() {
184
184
* @param {Array.<String> } opts.filterType filter by the `type` of the `ref` target
185
185
* @param {Array.<String> } opts.filterId filter by the `id` of the `ref` target
186
186
* @param {Array.<String> } opts.filterExtensionType filter by the extension type
187
+ * @param {Array.<*> } opts['filter[*]<-modifier>'] generic filter / <-modifier> is optional
187
188
* data is of type: {module:model/JsonApiCollection}
188
189
* @param {Object } oauth2client oauth2client for the call
189
190
* @param {Object } credentials credentials for the call
@@ -245,6 +246,7 @@ module.exports = (function() {
245
246
* @param {Array.<String> } opts.filterId filter by the `id` of the `ref` target
246
247
* @param {Array.<String> } opts.filterExtensionType filter by the extension type
247
248
* @param {Array.<String> } opts.filterMimeType Filter by mime type.
249
+ * @param {Array.<*> } opts['filter[*]<-modifier>'] generic filter / <-modifier> is optional
248
250
* data is of type: {module:model/Refs}
249
251
* @param {Object } oauth2client oauth2client for the call
250
252
* @param {Object } credentials credentials for the call
@@ -308,6 +310,7 @@ module.exports = (function() {
308
310
* @param {Array.<String> } opts.filterRefType filter by `refType`
309
311
* @param {module:model/String } opts.filterDirection filter by the direction of the reference
310
312
* @param {Array.<String> } opts.filterExtensionType filter by the extension type
313
+ * @param {Array.<*> } opts['filter[*]<-modifier>'] generic filter / <-modifier> is optional
311
314
* data is of type: {module:model/Refs}
312
315
* @param {Object } oauth2client oauth2client for the call
313
316
* @param {Object } credentials credentials for the call
@@ -430,6 +433,7 @@ module.exports = (function() {
430
433
* @param {Array.<String> } opts.filterId filter by the `id` of the `ref` target
431
434
* @param {Array.<String> } opts.filterExtensionType filter by the extension type
432
435
* @param {Array.<Integer> } opts.filterVersionNumber filter by `versionNumber`
436
+ * @param {Array.<*> } opts['filter[*]<-modifier>'] generic filter / <-modifier> is optional
433
437
* @param {Integer } opts.pageNumber specify the page number
434
438
* @param {Integer } opts.pageLimit specify the maximal number of elements per page
435
439
* data is of type: {module:model/Versions}
@@ -459,10 +463,10 @@ module.exports = (function() {
459
463
'filter[id]' : this . apiClient . buildCollectionParam ( opts [ 'filterId' ] , 'csv' ) ,
460
464
'filter[extension.type]' : this . apiClient . buildCollectionParam ( opts [ 'filterExtensionType' ] , 'csv' ) ,
461
465
'filter[versionNumber]' : this . apiClient . buildCollectionParam ( opts [ 'filterVersionNumber' ] , 'csv' ) ,
462
- // 'page[number]': opts['pageNumber'],
463
- // 'page[limit]': opts['pageLimit']
464
- 'page[number]' : this . apiClient . buildCollectionParam ( opts [ 'pageNumber' ] , 'csv' ) ,
465
- 'page[limit]' : this . apiClient . buildCollectionParam ( opts [ 'pageLimit' ] , 'csv' ) ,
466
+ 'page[number]' : opts [ 'pageNumber' ] ,
467
+ 'page[limit]' : opts [ 'pageLimit' ]
468
+ // 'page[number]': this.apiClient.buildCollectionParam(opts['pageNumber'], 'csv'),
469
+ // 'page[limit]': this.apiClient.buildCollectionParam(opts['pageLimit'], 'csv'),
466
470
} ;
467
471
var keys = Object . keys ( opts ) . filter ( function ( elt ) { return ( new RegExp ( / ^ f i l t e r \[ / ) . test ( elt ) ) ; } ) ;
468
472
var that = this ;
0 commit comments