shred-api-client 1.9.1 → 1.9.3

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.
@@ -101,7 +101,7 @@ type Project = {
101
101
  canRevision: boolean;
102
102
  thumbnailUrl?: string;
103
103
  revision?: string;
104
- modified?: number;
104
+ modified: number;
105
105
  captionSuggestion?: string;
106
106
  editorId: string;
107
107
  userId: string;
@@ -81,4 +81,4 @@ type User = {
81
81
  customerId: string;
82
82
  role: Role;
83
83
  };
84
- export { User, UserAPISchema, UserEndpoints, Role, System };
84
+ export { User, Preferences, UserAPISchema, UserEndpoints, Role, System };
@@ -1,5 +1,5 @@
1
1
  import { Product as TProduct, Subscription as TSubscription } from "./model/Subscription.schema";
2
- import { System as TSystem, User as TUser, Role as TRole } from "./model/User.schema";
2
+ import { System as TSystem, User as TUser, Preferences as UserPreferences, Role as TRole } from "./model/User.schema";
3
3
  import { Email as TEmail } from "./model/Email.schema";
4
4
  import { Asset as TAsset } from "./model/Asset.schema";
5
5
  import { Project as TProject } from "./model/Project.schema";
@@ -23,3 +23,6 @@ export declare namespace Shred {
23
23
  type Category = TCategory;
24
24
  }
25
25
  }
26
+ export declare namespace User {
27
+ type Preferences = UserPreferences;
28
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shred-api-client",
3
- "version": "1.9.1",
3
+ "version": "1.9.3",
4
4
  "description": "API Client for Shred",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",