@juhuu/sdk-ts 1.2.32 → 1.2.34
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 +6 -3
- package/dist/index.d.ts +6 -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,12 @@ 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;
|
1167
|
+
languageCodeArray: LanguageCode[];
|
1166
1168
|
};
|
1167
1169
|
namespace Create {
|
1168
1170
|
type Params = {
|
@@ -1188,7 +1190,6 @@ declare namespace JUHUU {
|
|
1188
1190
|
namespace List {
|
1189
1191
|
type Params = {
|
1190
1192
|
propertyId?: string;
|
1191
|
-
parentArticleId?: string | null;
|
1192
1193
|
statusArray?: JUHUU.Article.Object["status"][];
|
1193
1194
|
};
|
1194
1195
|
type Options = {
|
@@ -1296,8 +1297,10 @@ declare namespace JUHUU {
|
|
1296
1297
|
id: string;
|
1297
1298
|
readonly object: "chatMessage";
|
1298
1299
|
createdAt: Date;
|
1299
|
-
content: string;
|
1300
1300
|
chatId: string;
|
1301
|
+
originalMessage: string;
|
1302
|
+
translatedMessage: string;
|
1303
|
+
languageCode: LanguageCode;
|
1301
1304
|
};
|
1302
1305
|
export interface UserChatMessage extends Base {
|
1303
1306
|
type: "user";
|
package/dist/index.d.ts
CHANGED
@@ -1159,10 +1159,12 @@ 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;
|
1167
|
+
languageCodeArray: LanguageCode[];
|
1166
1168
|
};
|
1167
1169
|
namespace Create {
|
1168
1170
|
type Params = {
|
@@ -1188,7 +1190,6 @@ declare namespace JUHUU {
|
|
1188
1190
|
namespace List {
|
1189
1191
|
type Params = {
|
1190
1192
|
propertyId?: string;
|
1191
|
-
parentArticleId?: string | null;
|
1192
1193
|
statusArray?: JUHUU.Article.Object["status"][];
|
1193
1194
|
};
|
1194
1195
|
type Options = {
|
@@ -1296,8 +1297,10 @@ declare namespace JUHUU {
|
|
1296
1297
|
id: string;
|
1297
1298
|
readonly object: "chatMessage";
|
1298
1299
|
createdAt: Date;
|
1299
|
-
content: string;
|
1300
1300
|
chatId: string;
|
1301
|
+
originalMessage: string;
|
1302
|
+
translatedMessage: string;
|
1303
|
+
languageCode: LanguageCode;
|
1301
1304
|
};
|
1302
1305
|
export interface UserChatMessage extends Base {
|
1303
1306
|
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",
|