@gethydra/sdk 0.1.5 → 0.1.6

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 +34 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -6838,6 +6838,38 @@ interface operations {
6838
6838
  };
6839
6839
  };
6840
6840
  };
6841
+ reorderProductLinks: {
6842
+ parameters: {
6843
+ query?: never;
6844
+ header?: never;
6845
+ path: {
6846
+ id: string;
6847
+ };
6848
+ cookie?: never;
6849
+ };
6850
+ requestBody?: {
6851
+ content: {
6852
+ "application/json": {
6853
+ /**
6854
+ * @example [
6855
+ * "prod_abc123",
6856
+ * "prod_def456"
6857
+ * ]
6858
+ */
6859
+ product_ids: string[];
6860
+ };
6861
+ };
6862
+ };
6863
+ responses: {
6864
+ /** @description Positions updated */
6865
+ 204: {
6866
+ headers: {
6867
+ [name: string]: unknown;
6868
+ };
6869
+ content?: never;
6870
+ };
6871
+ };
6872
+ };
6841
6873
  listProductMetafieldValues: {
6842
6874
  parameters: {
6843
6875
  query?: never;
@@ -14911,6 +14943,8 @@ interface operations {
14911
14943
  fields?: string;
14912
14944
  sort?: "created_at" | "updated_at" | "title" | "relevance";
14913
14945
  order?: "asc" | "desc";
14946
+ /** @description Filter by exact handle (URL slug) */
14947
+ handle?: string;
14914
14948
  type?: "page" | "post";
14915
14949
  status?: "draft" | "published" | "archived";
14916
14950
  category_id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gethydra/sdk",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Official TypeScript SDK for the Hydra Commerce API",
5
5
  "license": "MIT",
6
6
  "author": "Grant Capital Group",