shred-api-client 1.1.7 → 1.1.8

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.
@@ -1,7 +1,9 @@
1
+ import { PromptAPISchema } from "./Prompt.schema";
1
2
  import { SubscriptionAPISchema } from "./Subscription.schema";
2
3
  import { UserAPISchema } from "./User.schema";
3
4
  export declare class ShredAPI {
4
5
  user: UserAPISchema;
5
6
  subscription: SubscriptionAPISchema;
7
+ prompt: PromptAPISchema;
6
8
  constructor();
7
9
  }
package/dist/model/Api.js CHANGED
@@ -4,11 +4,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ShredAPI = void 0;
7
+ const Prompt_api_1 = __importDefault(require("../src/api/Prompt.api"));
7
8
  const Subscription_api_1 = __importDefault(require("../api/Subscription.api"));
8
9
  const User_api_1 = __importDefault(require("../api/User.api"));
9
10
  class ShredAPI {
10
11
  constructor() {
11
12
  this.user = new User_api_1.default();
13
+ this.prompt = new Prompt_api_1.default();
12
14
  this.subscription = new Subscription_api_1.default();
13
15
  }
14
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shred-api-client",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "API Client for Shred",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",