@juhuu/sdk-ts 1.2.14 → 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
@@ -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[];
package/dist/index.d.ts CHANGED
@@ -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[];
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.14",
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",