@juhuu/sdk-ts 1.2.133 → 1.2.135
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 +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +11 -3
- package/dist/index.mjs +11 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -2042,7 +2042,15 @@ declare namespace JUHUU {
|
|
2042
2042
|
stripeSubscriptionId: string | null;
|
2043
2043
|
subscriptionStatus: "manual" | "inactive" | "waitingForActivationConfirmation" | "active" | "waitingForExpiry";
|
2044
2044
|
capabilityArray: Capability[];
|
2045
|
-
agreement:
|
2045
|
+
agreement: {
|
2046
|
+
isAccepted: boolean;
|
2047
|
+
currentAgreement: string | null;
|
2048
|
+
previousAgreements: string[];
|
2049
|
+
acceptedAt: Date | null;
|
2050
|
+
acceptedByUserId: string | null;
|
2051
|
+
acceptedByUserEmail: string | null;
|
2052
|
+
acceptedByUserName: string | null;
|
2053
|
+
};
|
2046
2054
|
}
|
2047
2055
|
export interface External extends Base {
|
2048
2056
|
type: "external";
|
package/dist/index.d.ts
CHANGED
@@ -2042,7 +2042,15 @@ declare namespace JUHUU {
|
|
2042
2042
|
stripeSubscriptionId: string | null;
|
2043
2043
|
subscriptionStatus: "manual" | "inactive" | "waitingForActivationConfirmation" | "active" | "waitingForExpiry";
|
2044
2044
|
capabilityArray: Capability[];
|
2045
|
-
agreement:
|
2045
|
+
agreement: {
|
2046
|
+
isAccepted: boolean;
|
2047
|
+
currentAgreement: string | null;
|
2048
|
+
previousAgreements: string[];
|
2049
|
+
acceptedAt: Date | null;
|
2050
|
+
acceptedByUserId: string | null;
|
2051
|
+
acceptedByUserEmail: string | null;
|
2052
|
+
acceptedByUserName: string | null;
|
2053
|
+
};
|
2046
2054
|
}
|
2047
2055
|
export interface External extends Base {
|
2048
2056
|
type: "external";
|
package/dist/index.js
CHANGED
@@ -2132,6 +2132,9 @@ var ArticlesService = class extends Service {
|
|
2132
2132
|
if (ArticleListParams?.propertyId !== void 0) {
|
2133
2133
|
queryArray.push("propertyId=" + ArticleListParams.propertyId);
|
2134
2134
|
}
|
2135
|
+
if (ArticleListParams?.articleGroupId !== void 0) {
|
2136
|
+
queryArray.push("articleGroupId=" + ArticleListParams.articleGroupId);
|
2137
|
+
}
|
2135
2138
|
if (ArticleListParams?.statusArray !== void 0) {
|
2136
2139
|
queryArray.push("statusArray=" + ArticleListParams.statusArray.join(","));
|
2137
2140
|
}
|
@@ -2629,12 +2632,17 @@ var ArticleGroupGroupsService = class extends Service {
|
|
2629
2632
|
}
|
2630
2633
|
async list(ArticleGroupListParams, ArticleGroupListOptions) {
|
2631
2634
|
const queryArray = [];
|
2632
|
-
if (ArticleGroupListOptions?.limit !== void 0) {
|
2633
|
-
queryArray.push("limit=" + ArticleGroupListOptions.limit);
|
2634
|
-
}
|
2635
2635
|
if (ArticleGroupListParams?.propertyId !== void 0) {
|
2636
2636
|
queryArray.push("propertyId=" + ArticleGroupListParams.propertyId);
|
2637
2637
|
}
|
2638
|
+
if (ArticleGroupListParams?.articleGroupId !== void 0) {
|
2639
|
+
queryArray.push(
|
2640
|
+
"articleGroupId=" + ArticleGroupListParams.articleGroupId
|
2641
|
+
);
|
2642
|
+
}
|
2643
|
+
if (ArticleGroupListOptions?.limit !== void 0) {
|
2644
|
+
queryArray.push("limit=" + ArticleGroupListOptions.limit);
|
2645
|
+
}
|
2638
2646
|
if (ArticleGroupListOptions?.skip !== void 0) {
|
2639
2647
|
queryArray.push("skip=" + ArticleGroupListOptions.skip);
|
2640
2648
|
}
|
package/dist/index.mjs
CHANGED
@@ -2088,6 +2088,9 @@ var ArticlesService = class extends Service {
|
|
2088
2088
|
if (ArticleListParams?.propertyId !== void 0) {
|
2089
2089
|
queryArray.push("propertyId=" + ArticleListParams.propertyId);
|
2090
2090
|
}
|
2091
|
+
if (ArticleListParams?.articleGroupId !== void 0) {
|
2092
|
+
queryArray.push("articleGroupId=" + ArticleListParams.articleGroupId);
|
2093
|
+
}
|
2091
2094
|
if (ArticleListParams?.statusArray !== void 0) {
|
2092
2095
|
queryArray.push("statusArray=" + ArticleListParams.statusArray.join(","));
|
2093
2096
|
}
|
@@ -2585,12 +2588,17 @@ var ArticleGroupGroupsService = class extends Service {
|
|
2585
2588
|
}
|
2586
2589
|
async list(ArticleGroupListParams, ArticleGroupListOptions) {
|
2587
2590
|
const queryArray = [];
|
2588
|
-
if (ArticleGroupListOptions?.limit !== void 0) {
|
2589
|
-
queryArray.push("limit=" + ArticleGroupListOptions.limit);
|
2590
|
-
}
|
2591
2591
|
if (ArticleGroupListParams?.propertyId !== void 0) {
|
2592
2592
|
queryArray.push("propertyId=" + ArticleGroupListParams.propertyId);
|
2593
2593
|
}
|
2594
|
+
if (ArticleGroupListParams?.articleGroupId !== void 0) {
|
2595
|
+
queryArray.push(
|
2596
|
+
"articleGroupId=" + ArticleGroupListParams.articleGroupId
|
2597
|
+
);
|
2598
|
+
}
|
2599
|
+
if (ArticleGroupListOptions?.limit !== void 0) {
|
2600
|
+
queryArray.push("limit=" + ArticleGroupListOptions.limit);
|
2601
|
+
}
|
2594
2602
|
if (ArticleGroupListOptions?.skip !== void 0) {
|
2595
2603
|
queryArray.push("skip=" + ArticleGroupListOptions.skip);
|
2596
2604
|
}
|