@juhuu/sdk-ts 1.2.35 → 1.2.36
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 +16 -3
- package/dist/index.d.ts +16 -3
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -785,9 +785,21 @@ declare namespace JUHUU {
|
|
785
785
|
refreshTokensIfNecessary?: boolean;
|
786
786
|
};
|
787
787
|
interface LocaleString {
|
788
|
-
de
|
789
|
-
en
|
790
|
-
fr
|
788
|
+
de?: string;
|
789
|
+
en?: string;
|
790
|
+
fr?: string;
|
791
|
+
it?: string;
|
792
|
+
nl?: string;
|
793
|
+
es?: string;
|
794
|
+
da?: string;
|
795
|
+
hr?: string;
|
796
|
+
hu?: string;
|
797
|
+
no?: string;
|
798
|
+
pl?: string;
|
799
|
+
sv?: string;
|
800
|
+
cs?: string;
|
801
|
+
et?: string;
|
802
|
+
gsw?: string;
|
791
803
|
}
|
792
804
|
type DeepNullable<T> = {
|
793
805
|
[P in keyof T]?: DeepNullable<T[P]> | null;
|
@@ -1212,6 +1224,7 @@ declare namespace JUHUU {
|
|
1212
1224
|
parentArticleId?: string | null;
|
1213
1225
|
markdownContent?: LocaleString;
|
1214
1226
|
status?: "draft" | "published";
|
1227
|
+
languageCodeArray?: LanguageCode[];
|
1215
1228
|
};
|
1216
1229
|
type Options = JUHUU.RequestOptions;
|
1217
1230
|
type Response = {
|
package/dist/index.d.ts
CHANGED
@@ -785,9 +785,21 @@ declare namespace JUHUU {
|
|
785
785
|
refreshTokensIfNecessary?: boolean;
|
786
786
|
};
|
787
787
|
interface LocaleString {
|
788
|
-
de
|
789
|
-
en
|
790
|
-
fr
|
788
|
+
de?: string;
|
789
|
+
en?: string;
|
790
|
+
fr?: string;
|
791
|
+
it?: string;
|
792
|
+
nl?: string;
|
793
|
+
es?: string;
|
794
|
+
da?: string;
|
795
|
+
hr?: string;
|
796
|
+
hu?: string;
|
797
|
+
no?: string;
|
798
|
+
pl?: string;
|
799
|
+
sv?: string;
|
800
|
+
cs?: string;
|
801
|
+
et?: string;
|
802
|
+
gsw?: string;
|
791
803
|
}
|
792
804
|
type DeepNullable<T> = {
|
793
805
|
[P in keyof T]?: DeepNullable<T[P]> | null;
|
@@ -1212,6 +1224,7 @@ declare namespace JUHUU {
|
|
1212
1224
|
parentArticleId?: string | null;
|
1213
1225
|
markdownContent?: LocaleString;
|
1214
1226
|
status?: "draft" | "published";
|
1227
|
+
languageCodeArray?: LanguageCode[];
|
1215
1228
|
};
|
1216
1229
|
type Options = JUHUU.RequestOptions;
|
1217
1230
|
type Response = {
|
package/dist/index.js
CHANGED
@@ -1565,7 +1565,8 @@ var ArticlesService = class extends Service {
|
|
1565
1565
|
subtitle: ArticleUpdateParams.subtitle,
|
1566
1566
|
parentArticleId: ArticleUpdateParams.parentArticleId,
|
1567
1567
|
markdownContent: ArticleUpdateParams.markdownContent,
|
1568
|
-
status: ArticleUpdateParams.status
|
1568
|
+
status: ArticleUpdateParams.status,
|
1569
|
+
LanguageCodeArray: ArticleUpdateParams.languageCodeArray
|
1569
1570
|
},
|
1570
1571
|
useAuthentication: true
|
1571
1572
|
},
|
package/dist/index.mjs
CHANGED
@@ -1520,7 +1520,8 @@ var ArticlesService = class extends Service {
|
|
1520
1520
|
subtitle: ArticleUpdateParams.subtitle,
|
1521
1521
|
parentArticleId: ArticleUpdateParams.parentArticleId,
|
1522
1522
|
markdownContent: ArticleUpdateParams.markdownContent,
|
1523
|
-
status: ArticleUpdateParams.status
|
1523
|
+
status: ArticleUpdateParams.status,
|
1524
|
+
LanguageCodeArray: ArticleUpdateParams.languageCodeArray
|
1524
1525
|
},
|
1525
1526
|
useAuthentication: true
|
1526
1527
|
},
|