swoop-common 2.2.127 → 2.2.129
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.
|
@@ -278,10 +278,12 @@ export declare class SwoopService {
|
|
|
278
278
|
* @param region antarctica, arctic, patagonia
|
|
279
279
|
* @param search Search against title, alias, description, name, telephone, email
|
|
280
280
|
* @param active Filter by active status (0,1)
|
|
281
|
+
* @param startDate Filter partners with departures from this date (YYYY-MM-DD)
|
|
282
|
+
* @param endDate Filter partners with departures until this date (YYYY-MM-DD)
|
|
281
283
|
* @returns Partner Partner collection
|
|
282
284
|
* @throws ApiError
|
|
283
285
|
*/
|
|
284
|
-
partnersGetCollection(page?: number, itemsPerPage?: number, region?: string, search?: string, active?: string): CancelablePromise<Array<Partner>>;
|
|
286
|
+
partnersGetCollection(page?: number, itemsPerPage?: number, region?: string, search?: string, active?: string, startDate?: string, endDate?: string): CancelablePromise<Array<Partner>>;
|
|
285
287
|
/**
|
|
286
288
|
* Retrieves a Partner resource.
|
|
287
289
|
* Retrieves a Partner resource.
|
|
@@ -430,10 +430,12 @@ export class SwoopService {
|
|
|
430
430
|
* @param region antarctica, arctic, patagonia
|
|
431
431
|
* @param search Search against title, alias, description, name, telephone, email
|
|
432
432
|
* @param active Filter by active status (0,1)
|
|
433
|
+
* @param startDate Filter partners with departures from this date (YYYY-MM-DD)
|
|
434
|
+
* @param endDate Filter partners with departures until this date (YYYY-MM-DD)
|
|
433
435
|
* @returns Partner Partner collection
|
|
434
436
|
* @throws ApiError
|
|
435
437
|
*/
|
|
436
|
-
partnersGetCollection(page = 1, itemsPerPage = 30, region, search, active) {
|
|
438
|
+
partnersGetCollection(page = 1, itemsPerPage = 30, region, search, active, startDate, endDate) {
|
|
437
439
|
return __request(OpenAPI, {
|
|
438
440
|
method: 'GET',
|
|
439
441
|
url: '/api/partners',
|
|
@@ -443,6 +445,8 @@ export class SwoopService {
|
|
|
443
445
|
'region': region,
|
|
444
446
|
'search': search,
|
|
445
447
|
'active': active,
|
|
448
|
+
'startDate': startDate,
|
|
449
|
+
'endDate': endDate,
|
|
446
450
|
},
|
|
447
451
|
});
|
|
448
452
|
}
|