@juhuu/sdk-ts 1.2.13 → 1.2.15

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
@@ -1174,7 +1174,7 @@ declare namespace JUHUU {
1174
1174
  };
1175
1175
  type Options = JUHUU.RequestOptions;
1176
1176
  type Response = {
1177
- property: JUHUU.Property.Object;
1177
+ tariff: JUHUU.Tariff.Object;
1178
1178
  };
1179
1179
  }
1180
1180
  }
@@ -1435,6 +1435,12 @@ declare namespace JUHUU {
1435
1435
  propertyId?: string;
1436
1436
  userId?: string;
1437
1437
  statusArray?: JUHUU.Payment.Object["status"][];
1438
+ createdAt?: {
1439
+ gte?: number;
1440
+ lte?: number;
1441
+ };
1442
+ limit?: number;
1443
+ skip?: number;
1438
1444
  };
1439
1445
  type Options = JUHUU.RequestOptions;
1440
1446
  type Response = JUHUU.Payment.Object[];
@@ -1554,7 +1560,7 @@ declare namespace JUHUU {
1554
1560
  };
1555
1561
  type Options = JUHUU.RequestOptions;
1556
1562
  type Response = {
1557
- property: JUHUU.Property.Object;
1563
+ location: JUHUU.Location.Object;
1558
1564
  };
1559
1565
  }
1560
1566
  export { };
package/dist/index.d.ts CHANGED
@@ -1174,7 +1174,7 @@ declare namespace JUHUU {
1174
1174
  };
1175
1175
  type Options = JUHUU.RequestOptions;
1176
1176
  type Response = {
1177
- property: JUHUU.Property.Object;
1177
+ tariff: JUHUU.Tariff.Object;
1178
1178
  };
1179
1179
  }
1180
1180
  }
@@ -1435,6 +1435,12 @@ declare namespace JUHUU {
1435
1435
  propertyId?: string;
1436
1436
  userId?: string;
1437
1437
  statusArray?: JUHUU.Payment.Object["status"][];
1438
+ createdAt?: {
1439
+ gte?: number;
1440
+ lte?: number;
1441
+ };
1442
+ limit?: number;
1443
+ skip?: number;
1438
1444
  };
1439
1445
  type Options = JUHUU.RequestOptions;
1440
1446
  type Response = JUHUU.Payment.Object[];
@@ -1554,7 +1560,7 @@ declare namespace JUHUU {
1554
1560
  };
1555
1561
  type Options = JUHUU.RequestOptions;
1556
1562
  type Response = {
1557
- property: JUHUU.Property.Object;
1563
+ location: JUHUU.Location.Object;
1558
1564
  };
1559
1565
  }
1560
1566
  export { };
package/dist/index.js CHANGED
@@ -581,6 +581,18 @@ var PaymentsService = class extends Service {
581
581
  if (PaymentListParams.statusArray !== void 0) {
582
582
  queryArray.push("statusArray=" + PaymentListParams.statusArray.join(","));
583
583
  }
584
+ if (PaymentListParams?.createdAt?.gte !== void 0) {
585
+ queryArray.push("created[gte]=" + PaymentListParams.createdAt.gte);
586
+ }
587
+ if (PaymentListParams?.createdAt?.lte !== void 0) {
588
+ queryArray.push("created[lte]=" + PaymentListParams.createdAt.lte);
589
+ }
590
+ if (PaymentListParams.limit !== void 0) {
591
+ queryArray.push("limit=" + PaymentListParams.limit);
592
+ }
593
+ if (PaymentListParams.skip !== void 0) {
594
+ queryArray.push("skip=" + PaymentListParams.skip);
595
+ }
584
596
  return await super.sendRequest(
585
597
  {
586
598
  method: "GET",
package/dist/index.mjs CHANGED
@@ -536,6 +536,18 @@ var PaymentsService = class extends Service {
536
536
  if (PaymentListParams.statusArray !== void 0) {
537
537
  queryArray.push("statusArray=" + PaymentListParams.statusArray.join(","));
538
538
  }
539
+ if (PaymentListParams?.createdAt?.gte !== void 0) {
540
+ queryArray.push("created[gte]=" + PaymentListParams.createdAt.gte);
541
+ }
542
+ if (PaymentListParams?.createdAt?.lte !== void 0) {
543
+ queryArray.push("created[lte]=" + PaymentListParams.createdAt.lte);
544
+ }
545
+ if (PaymentListParams.limit !== void 0) {
546
+ queryArray.push("limit=" + PaymentListParams.limit);
547
+ }
548
+ if (PaymentListParams.skip !== void 0) {
549
+ queryArray.push("skip=" + PaymentListParams.skip);
550
+ }
539
551
  return await super.sendRequest(
540
552
  {
541
553
  method: "GET",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.13",
3
+ "version": "1.2.15",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",