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