@juhuu/sdk-ts 1.2.35 → 1.2.37

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
@@ -495,9 +495,21 @@ type Command = {
495
495
  parameterName: string;
496
496
  };
497
497
  interface LocaleString {
498
- de: string;
499
498
  en: string;
500
- fr: string;
499
+ de?: string;
500
+ fr?: string;
501
+ it?: string;
502
+ nl?: string;
503
+ es?: string;
504
+ da?: string;
505
+ hr?: string;
506
+ hu?: string;
507
+ no?: string;
508
+ pl?: string;
509
+ sv?: string;
510
+ cs?: string;
511
+ et?: string;
512
+ gsw?: string;
501
513
  }
502
514
 
503
515
  declare class Service {
@@ -785,9 +797,21 @@ declare namespace JUHUU {
785
797
  refreshTokensIfNecessary?: boolean;
786
798
  };
787
799
  interface LocaleString {
788
- de: string;
789
- en: string;
790
- fr: string;
800
+ de?: string;
801
+ en?: string;
802
+ fr?: string;
803
+ it?: string;
804
+ nl?: string;
805
+ es?: string;
806
+ da?: string;
807
+ hr?: string;
808
+ hu?: string;
809
+ no?: string;
810
+ pl?: string;
811
+ sv?: string;
812
+ cs?: string;
813
+ et?: string;
814
+ gsw?: string;
791
815
  }
792
816
  type DeepNullable<T> = {
793
817
  [P in keyof T]?: DeepNullable<T[P]> | null;
@@ -1212,6 +1236,7 @@ declare namespace JUHUU {
1212
1236
  parentArticleId?: string | null;
1213
1237
  markdownContent?: LocaleString;
1214
1238
  status?: "draft" | "published";
1239
+ languageCodeArray?: LanguageCode[];
1215
1240
  };
1216
1241
  type Options = JUHUU.RequestOptions;
1217
1242
  type Response = {
package/dist/index.d.ts CHANGED
@@ -495,9 +495,21 @@ type Command = {
495
495
  parameterName: string;
496
496
  };
497
497
  interface LocaleString {
498
- de: string;
499
498
  en: string;
500
- fr: string;
499
+ de?: string;
500
+ fr?: string;
501
+ it?: string;
502
+ nl?: string;
503
+ es?: string;
504
+ da?: string;
505
+ hr?: string;
506
+ hu?: string;
507
+ no?: string;
508
+ pl?: string;
509
+ sv?: string;
510
+ cs?: string;
511
+ et?: string;
512
+ gsw?: string;
501
513
  }
502
514
 
503
515
  declare class Service {
@@ -785,9 +797,21 @@ declare namespace JUHUU {
785
797
  refreshTokensIfNecessary?: boolean;
786
798
  };
787
799
  interface LocaleString {
788
- de: string;
789
- en: string;
790
- fr: string;
800
+ de?: string;
801
+ en?: string;
802
+ fr?: string;
803
+ it?: string;
804
+ nl?: string;
805
+ es?: string;
806
+ da?: string;
807
+ hr?: string;
808
+ hu?: string;
809
+ no?: string;
810
+ pl?: string;
811
+ sv?: string;
812
+ cs?: string;
813
+ et?: string;
814
+ gsw?: string;
791
815
  }
792
816
  type DeepNullable<T> = {
793
817
  [P in keyof T]?: DeepNullable<T[P]> | null;
@@ -1212,6 +1236,7 @@ declare namespace JUHUU {
1212
1236
  parentArticleId?: string | null;
1213
1237
  markdownContent?: LocaleString;
1214
1238
  status?: "draft" | "published";
1239
+ languageCodeArray?: LanguageCode[];
1215
1240
  };
1216
1241
  type Options = JUHUU.RequestOptions;
1217
1242
  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.35",
3
+ "version": "1.2.37",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",