@mivis/petmart-api 1.2.198 → 1.2.201

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/type.d.ts +15 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.198",
3
+ "version": "1.2.201",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -1639,8 +1639,9 @@ declare namespace Components {
1639
1639
  }
1640
1640
 
1641
1641
  export enum ESex {
1642
- MALE = 'male',
1643
- FEMALE = 'female',
1642
+ STALLION = 'stallion',
1643
+ MARE = 'mare',
1644
+ GELDING = 'gelding',
1644
1645
  }
1645
1646
 
1646
1647
  export interface ICompetitionHistory {
@@ -1776,7 +1777,7 @@ declare namespace Components {
1776
1777
 
1777
1778
  export interface IGetCombinedHorses {
1778
1779
  user_id?: string; // objectid
1779
- sex?: 'male' | 'female';
1780
+ sex?: 'stallion' | 'mare' | 'gelding';
1780
1781
  breed?: string; // objectid
1781
1782
  suit?: string; // objectid
1782
1783
  ageMin?: string;
@@ -1794,5 +1795,16 @@ declare namespace Components {
1794
1795
  count?: number;
1795
1796
  radius_meters?: number;
1796
1797
  }
1798
+
1799
+ export interface IHorseQueryRequest extends FilterBaseQuery {}
1800
+
1801
+ export interface IAdminHorsesQueryResponse {
1802
+ horses: IPopulatedHorse[];
1803
+ count: number;
1804
+ }
1805
+
1806
+ export interface IActionsHorseRequest {
1807
+ toDelete: string;
1808
+ }
1797
1809
  }
1798
1810
  }