@juhuu/sdk-ts 1.2.34 → 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 CHANGED
@@ -784,9 +784,23 @@ declare namespace JUHUU {
784
784
  */
785
785
  refreshTokensIfNecessary?: boolean;
786
786
  };
787
- type LocaleString = {
788
- [locale: string]: string;
789
- };
787
+ interface LocaleString {
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;
803
+ }
790
804
  type DeepNullable<T> = {
791
805
  [P in keyof T]?: DeepNullable<T[P]> | null;
792
806
  };
@@ -1210,6 +1224,7 @@ declare namespace JUHUU {
1210
1224
  parentArticleId?: string | null;
1211
1225
  markdownContent?: LocaleString;
1212
1226
  status?: "draft" | "published";
1227
+ languageCodeArray?: LanguageCode[];
1213
1228
  };
1214
1229
  type Options = JUHUU.RequestOptions;
1215
1230
  type Response = {
package/dist/index.d.ts CHANGED
@@ -784,9 +784,23 @@ declare namespace JUHUU {
784
784
  */
785
785
  refreshTokensIfNecessary?: boolean;
786
786
  };
787
- type LocaleString = {
788
- [locale: string]: string;
789
- };
787
+ interface LocaleString {
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;
803
+ }
790
804
  type DeepNullable<T> = {
791
805
  [P in keyof T]?: DeepNullable<T[P]> | null;
792
806
  };
@@ -1210,6 +1224,7 @@ declare namespace JUHUU {
1210
1224
  parentArticleId?: string | null;
1211
1225
  markdownContent?: LocaleString;
1212
1226
  status?: "draft" | "published";
1227
+ languageCodeArray?: LanguageCode[];
1213
1228
  };
1214
1229
  type Options = JUHUU.RequestOptions;
1215
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
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.34",
3
+ "version": "1.2.36",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",