@purpleschool/gptbot-tools 0.2.13-stage → 0.2.14-stage

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.
@@ -5,7 +5,9 @@ const zod_1 = require("zod");
5
5
  const command_response_schema_1 = require("../../common/models/command-response.schema");
6
6
  var GetMarketplaceCardPriceCommand;
7
7
  (function (GetMarketplaceCardPriceCommand) {
8
- GetMarketplaceCardPriceCommand.RequestSchema = zod_1.z.object({});
8
+ GetMarketplaceCardPriceCommand.RequestSchema = zod_1.z.object({
9
+ uuid: zod_1.z.string().uuid(),
10
+ });
9
11
  GetMarketplaceCardPriceCommand.ResponseDataSchema = zod_1.z.object({
10
12
  price: zod_1.z.number(),
11
13
  });
@@ -2,7 +2,9 @@ import { z } from 'zod';
2
2
  import { ICommandResponseSchema } from '../../common/models/command-response.schema';
3
3
 
4
4
  export namespace GetMarketplaceCardPriceCommand {
5
- export const RequestSchema = z.object({});
5
+ export const RequestSchema = z.object({
6
+ uuid: z.string().uuid(),
7
+ });
6
8
  export type Request = z.infer<typeof RequestSchema>;
7
9
 
8
10
  export const ResponseDataSchema = z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot-tools",
3
- "version": "0.2.13-stage",
3
+ "version": "0.2.14-stage",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "scripts": {