@juhuu/sdk-ts 1.2.272 → 1.2.273

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.
package/dist/index.d.mts CHANGED
@@ -6273,9 +6273,12 @@ declare namespace JUHUU {
6273
6273
  type Params = {
6274
6274
  panelId: string;
6275
6275
  };
6276
- type Options = JUHUU.RequestOptions;
6276
+ type Options = {
6277
+ expand?: Array<"property">;
6278
+ } & JUHUU.RequestOptions;
6277
6279
  type Response = {
6278
6280
  panel: JUHUU.Panel.Object;
6281
+ property?: JUHUU.Property.Object;
6279
6282
  };
6280
6283
  }
6281
6284
  namespace List {
package/dist/index.d.ts CHANGED
@@ -6273,9 +6273,12 @@ declare namespace JUHUU {
6273
6273
  type Params = {
6274
6274
  panelId: string;
6275
6275
  };
6276
- type Options = JUHUU.RequestOptions;
6276
+ type Options = {
6277
+ expand?: Array<"property">;
6278
+ } & JUHUU.RequestOptions;
6277
6279
  type Response = {
6278
6280
  panel: JUHUU.Panel.Object;
6281
+ property?: JUHUU.Property.Object;
6279
6282
  };
6280
6283
  }
6281
6284
  namespace List {
package/dist/index.js CHANGED
@@ -5136,6 +5136,9 @@ var PanelsService = class extends Service {
5136
5136
  }
5137
5137
  async retrieve(params, options) {
5138
5138
  const queryArray = [];
5139
+ if (options?.expand !== void 0) {
5140
+ queryArray.push("expand=" + options.expand.join(","));
5141
+ }
5139
5142
  return await super.sendRequest(
5140
5143
  {
5141
5144
  method: "GET",
package/dist/index.mjs CHANGED
@@ -5092,6 +5092,9 @@ var PanelsService = class extends Service {
5092
5092
  }
5093
5093
  async retrieve(params, options) {
5094
5094
  const queryArray = [];
5095
+ if (options?.expand !== void 0) {
5096
+ queryArray.push("expand=" + options.expand.join(","));
5097
+ }
5095
5098
  return await super.sendRequest(
5096
5099
  {
5097
5100
  method: "GET",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.272",
3
+ "version": "1.2.273",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",