@gethydra/sdk 0.2.0 → 0.4.0

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/dist/index.d.ts +19 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -23691,6 +23691,7 @@ interface DirectoryListing {
23691
23691
  website: string | null;
23692
23692
  category_key: string;
23693
23693
  logo_id: string | null;
23694
+ logo_url: string | null;
23694
23695
  image_ids: string[];
23695
23696
  social: Record<string, string>;
23696
23697
  opening_hours: unknown | null;
@@ -23731,12 +23732,29 @@ interface ListDirectoryListingsParams {
23731
23732
  cursor?: string;
23732
23733
  sort?: 'created_at' | 'updated_at' | 'name' | 'city';
23733
23734
  order?: 'asc' | 'desc';
23735
+ fields?: string;
23734
23736
  city?: string;
23737
+ region?: string;
23738
+ postcode?: string;
23739
+ country?: string;
23740
+ slug?: string;
23735
23741
  category_key?: string;
23736
23742
  listing_tier?: string;
23737
23743
  status?: 'draft' | 'active' | 'pending' | 'suspended';
23744
+ service_mode?: 'location' | 'mobile' | 'online' | 'hybrid';
23745
+ price_range?: string;
23746
+ verified?: boolean;
23747
+ /** Filter by claim status. `true` = claimed, `false` = unclaimed. */
23748
+ claimed?: boolean;
23738
23749
  search?: string;
23739
- fields?: string;
23750
+ /** Filter by services (comma-separated). Listings must contain ALL specified values. */
23751
+ services?: string;
23752
+ /** Filter by amenities (comma-separated). Listings must contain ALL specified values. */
23753
+ amenities?: string;
23754
+ /** Filter by brands (comma-separated). Listings must contain ALL specified values. */
23755
+ brands?: string;
23756
+ /** Filter by accreditations (comma-separated). Listings must contain ALL specified values. */
23757
+ accreditations?: string;
23740
23758
  }
23741
23759
  interface CreateDirectoryListingBody {
23742
23760
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gethydra/sdk",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "Official TypeScript SDK for the Hydra Commerce API",
5
5
  "license": "MIT",
6
6
  "author": "Grant Capital Group",