shred-api-client 1.1.8 → 1.1.9

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.
@@ -26,4 +26,4 @@ type Prompt = {
26
26
  tenantId: string;
27
27
  categories: Category[];
28
28
  };
29
- export { PromptAPISchema, Prompt, PromptEndpoints };
29
+ export { PromptAPISchema, Prompt, Script, Category, PromptEndpoints };
@@ -1,9 +1,13 @@
1
1
  import { Product as TProduct, Subscription as TSubscription } from "./model/Subscription.schema";
2
2
  import { User as TUser } from "./model/User.schema";
3
- import { Prompt as TPrompt } from "./model/Prompt.schema";
3
+ import { Prompt as TPrompt, Script as TScript, Category as TCategory } from "./model/Prompt.schema";
4
4
  export declare namespace Shred {
5
5
  type Product = TProduct;
6
6
  type Subscription = TSubscription;
7
- type Prompt = TPrompt;
8
7
  type User = TUser;
8
+ namespace PromptTypes {
9
+ type Prompt = TPrompt;
10
+ type Script = TScript;
11
+ type Category = TCategory;
12
+ }
9
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shred-api-client",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "API Client for Shred",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",