swoop-common 2.2.129 → 2.2.131

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.
@@ -350,10 +350,12 @@ export declare class SwoopService {
350
350
  * @param search Search against title
351
351
  * @param region antarctica, arctic, patagonia
352
352
  * @param publishstate unpublished, approval, published, rejected
353
+ * @param startDate Filter trips with departures from this date (YYYY-MM-DD)
354
+ * @param endDate Filter trips with departures until this date (YYYY-MM-DD)
353
355
  * @returns Trip Trip collection
354
356
  * @throws ApiError
355
357
  */
356
- tripsGetCollection(page?: number, itemsPerPage?: number, search?: string, region?: string, publishstate?: string): CancelablePromise<Array<Trip>>;
358
+ tripsGetCollection(page?: number, itemsPerPage?: number, search?: string, region?: string, publishstate?: string, startDate?: string, endDate?: string): CancelablePromise<Array<Trip>>;
357
359
  /**
358
360
  * Retrieves a Trip resource.
359
361
  * Retrieves a Trip resource.
@@ -571,10 +571,12 @@ export class SwoopService {
571
571
  * @param search Search against title
572
572
  * @param region antarctica, arctic, patagonia
573
573
  * @param publishstate unpublished, approval, published, rejected
574
+ * @param startDate Filter trips with departures from this date (YYYY-MM-DD)
575
+ * @param endDate Filter trips with departures until this date (YYYY-MM-DD)
574
576
  * @returns Trip Trip collection
575
577
  * @throws ApiError
576
578
  */
577
- tripsGetCollection(page = 1, itemsPerPage = 30, search, region, publishstate) {
579
+ tripsGetCollection(page = 1, itemsPerPage = 30, search, region, publishstate, startDate, endDate) {
578
580
  return __request(OpenAPI, {
579
581
  method: 'GET',
580
582
  url: '/api/trips',
@@ -584,6 +586,8 @@ export class SwoopService {
584
586
  'search': search,
585
587
  'region': region,
586
588
  'publishstate': publishstate,
589
+ 'startDate': startDate,
590
+ 'endDate': endDate,
587
591
  },
588
592
  });
589
593
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swoop-common",
3
- "version": "2.2.129",
3
+ "version": "2.2.131",
4
4
  "main": "dist/api/index.js",
5
5
  "types": "dist/api/index.d.ts",
6
6
  "exports": {