@hubs101/js-api-skd-client 1.0.10339 → 1.0.10341

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.
@@ -793,8 +793,8 @@ export type PortfolioInput = {
793
793
  website: string;
794
794
  description_de: string;
795
795
  description_en: string;
796
- tags_de: string[];
797
- tags_en: string[];
796
+ tags_de: string;
797
+ tags_en: string;
798
798
  belong_to: string;
799
799
  published: number;
800
800
  created_at: string | null;
@@ -501,8 +501,14 @@ export type EventAPIType = {
501
501
  deletePortfolio: (portfolioId: string) => Promise<Response>;
502
502
  assignPortfolio: (eventId: string, portfolioId: string) => Promise<Response>;
503
503
  unassignPortfolio: (eventId: string, portfolioId: string) => Promise<Response>;
504
- createPortfolio: (data: PortfolioInput) => Promise<Portfolio>;
505
- updatePortfolio: (portfolioId: string, data: PortfolioInput) => Promise<Portfolio>;
504
+ createPortfolio: (data: PortfolioInput, files: {
505
+ name: string;
506
+ value: File;
507
+ }[]) => Promise<Portfolio>;
508
+ updatePortfolio: (portfolioId: string, data: PortfolioInput, files: {
509
+ name: string;
510
+ value: File;
511
+ }[]) => Promise<Portfolio>;
506
512
  };
507
513
  export type BaseAPIConfigType = {
508
514
  baseUrl?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubs101/js-api-skd-client",
3
- "version": "1.0.10339",
3
+ "version": "1.0.10341",
4
4
  "author": "Liveware",
5
5
  "scripts": {
6
6
  "test": "jest --config jestconfig.json",