@juhuu/sdk-ts 1.2.32 → 1.2.33
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 +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +0 -3
- package/dist/index.mjs +0 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -1159,10 +1159,11 @@ declare namespace JUHUU {
|
|
1159
1159
|
title: LocaleString;
|
1160
1160
|
subtitle: LocaleString;
|
1161
1161
|
propertyId: string;
|
1162
|
-
parentArticleId: string | null;
|
1163
1162
|
slug: string | null;
|
1164
1163
|
markdownContent: LocaleString;
|
1165
1164
|
status: "draft" | "published";
|
1165
|
+
lastUpdatedAt: Date;
|
1166
|
+
createdAt: Date;
|
1166
1167
|
};
|
1167
1168
|
namespace Create {
|
1168
1169
|
type Params = {
|
@@ -1188,7 +1189,6 @@ declare namespace JUHUU {
|
|
1188
1189
|
namespace List {
|
1189
1190
|
type Params = {
|
1190
1191
|
propertyId?: string;
|
1191
|
-
parentArticleId?: string | null;
|
1192
1192
|
statusArray?: JUHUU.Article.Object["status"][];
|
1193
1193
|
};
|
1194
1194
|
type Options = {
|
@@ -1296,8 +1296,10 @@ declare namespace JUHUU {
|
|
1296
1296
|
id: string;
|
1297
1297
|
readonly object: "chatMessage";
|
1298
1298
|
createdAt: Date;
|
1299
|
-
content: string;
|
1300
1299
|
chatId: string;
|
1300
|
+
originalMessage: string;
|
1301
|
+
translatedMessage: string;
|
1302
|
+
languageCode: LanguageCode;
|
1301
1303
|
};
|
1302
1304
|
export interface UserChatMessage extends Base {
|
1303
1305
|
type: "user";
|
package/dist/index.d.ts
CHANGED
@@ -1159,10 +1159,11 @@ declare namespace JUHUU {
|
|
1159
1159
|
title: LocaleString;
|
1160
1160
|
subtitle: LocaleString;
|
1161
1161
|
propertyId: string;
|
1162
|
-
parentArticleId: string | null;
|
1163
1162
|
slug: string | null;
|
1164
1163
|
markdownContent: LocaleString;
|
1165
1164
|
status: "draft" | "published";
|
1165
|
+
lastUpdatedAt: Date;
|
1166
|
+
createdAt: Date;
|
1166
1167
|
};
|
1167
1168
|
namespace Create {
|
1168
1169
|
type Params = {
|
@@ -1188,7 +1189,6 @@ declare namespace JUHUU {
|
|
1188
1189
|
namespace List {
|
1189
1190
|
type Params = {
|
1190
1191
|
propertyId?: string;
|
1191
|
-
parentArticleId?: string | null;
|
1192
1192
|
statusArray?: JUHUU.Article.Object["status"][];
|
1193
1193
|
};
|
1194
1194
|
type Options = {
|
@@ -1296,8 +1296,10 @@ declare namespace JUHUU {
|
|
1296
1296
|
id: string;
|
1297
1297
|
readonly object: "chatMessage";
|
1298
1298
|
createdAt: Date;
|
1299
|
-
content: string;
|
1300
1299
|
chatId: string;
|
1300
|
+
originalMessage: string;
|
1301
|
+
translatedMessage: string;
|
1302
|
+
languageCode: LanguageCode;
|
1301
1303
|
};
|
1302
1304
|
export interface UserChatMessage extends Base {
|
1303
1305
|
type: "user";
|
package/dist/index.js
CHANGED
@@ -1530,9 +1530,6 @@ var ArticlesService = class extends Service {
|
|
1530
1530
|
if (ArticleListOptions?.skip !== void 0) {
|
1531
1531
|
queryArray.push("skip=" + ArticleListOptions.skip);
|
1532
1532
|
}
|
1533
|
-
if (ArticleListParams?.parentArticleId !== void 0) {
|
1534
|
-
queryArray.push("parentArticleId=" + ArticleListParams.parentArticleId);
|
1535
|
-
}
|
1536
1533
|
return await super.sendRequest(
|
1537
1534
|
{
|
1538
1535
|
method: "GET",
|
package/dist/index.mjs
CHANGED
@@ -1485,9 +1485,6 @@ var ArticlesService = class extends Service {
|
|
1485
1485
|
if (ArticleListOptions?.skip !== void 0) {
|
1486
1486
|
queryArray.push("skip=" + ArticleListOptions.skip);
|
1487
1487
|
}
|
1488
|
-
if (ArticleListParams?.parentArticleId !== void 0) {
|
1489
|
-
queryArray.push("parentArticleId=" + ArticleListParams.parentArticleId);
|
1490
|
-
}
|
1491
1488
|
return await super.sendRequest(
|
1492
1489
|
{
|
1493
1490
|
method: "GET",
|