@juhuu/sdk-ts 1.2.202 → 1.2.204

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
@@ -3620,7 +3620,9 @@ declare namespace JUHUU {
3620
3620
  };
3621
3621
  }
3622
3622
  namespace List {
3623
- type Params = {};
3623
+ type Params = {
3624
+ propertyId?: string;
3625
+ };
3624
3626
  type Options = {
3625
3627
  limit?: number;
3626
3628
  skip?: number;
package/dist/index.d.ts CHANGED
@@ -3620,7 +3620,9 @@ declare namespace JUHUU {
3620
3620
  };
3621
3621
  }
3622
3622
  namespace List {
3623
- type Params = {};
3623
+ type Params = {
3624
+ propertyId?: string;
3625
+ };
3624
3626
  type Options = {
3625
3627
  limit?: number;
3626
3628
  skip?: number;
package/dist/index.js CHANGED
@@ -3370,6 +3370,9 @@ var FlowsService = class extends Service {
3370
3370
  }
3371
3371
  async list(FlowListParams, FlowListOptions) {
3372
3372
  const queryArray = [];
3373
+ if (FlowListParams?.propertyId !== void 0) {
3374
+ queryArray.push("propertyId=" + FlowListParams.propertyId);
3375
+ }
3373
3376
  if (FlowListOptions?.limit !== void 0) {
3374
3377
  queryArray.push("limit=" + FlowListOptions.limit);
3375
3378
  }
@@ -3428,7 +3431,7 @@ var FlowsService = class extends Service {
3428
3431
  return await super.sendRequest(
3429
3432
  {
3430
3433
  method: "POST",
3431
- url: "flows/" + FlowExecuteParams.flowId,
3434
+ url: "flows/" + FlowExecuteParams.flowId + "/execute",
3432
3435
  body: {},
3433
3436
  authenticationNotOptional: true
3434
3437
  },
package/dist/index.mjs CHANGED
@@ -3326,6 +3326,9 @@ var FlowsService = class extends Service {
3326
3326
  }
3327
3327
  async list(FlowListParams, FlowListOptions) {
3328
3328
  const queryArray = [];
3329
+ if (FlowListParams?.propertyId !== void 0) {
3330
+ queryArray.push("propertyId=" + FlowListParams.propertyId);
3331
+ }
3329
3332
  if (FlowListOptions?.limit !== void 0) {
3330
3333
  queryArray.push("limit=" + FlowListOptions.limit);
3331
3334
  }
@@ -3384,7 +3387,7 @@ var FlowsService = class extends Service {
3384
3387
  return await super.sendRequest(
3385
3388
  {
3386
3389
  method: "POST",
3387
- url: "flows/" + FlowExecuteParams.flowId,
3390
+ url: "flows/" + FlowExecuteParams.flowId + "/execute",
3388
3391
  body: {},
3389
3392
  authenticationNotOptional: true
3390
3393
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.202",
3
+ "version": "1.2.204",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",