mcp-prqx-pricer 1.0.2 → 1.0.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.
@@ -12,7 +12,8 @@ class GetProductionInventoryTool {
12
12
  type: 'number',
13
13
  description: 'ID of the production'
14
14
  }
15
- }
15
+ },
16
+ mandatory: ['productionId']
16
17
  };
17
18
  toolHandler = async (request, httpClient) => {
18
19
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-prqx-pricer",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -13,7 +13,8 @@ export class GetProductionInventoryTool implements McpTool {
13
13
  type: 'number',
14
14
  description: 'ID of the production'
15
15
  }
16
- }
16
+ },
17
+ mandatory: ['productionId']
17
18
  };
18
19
  toolHandler = async (request: CallToolRequest, httpClient: AxiosInstance) => {
19
20
  try {
@@ -12,7 +12,7 @@ export type SeatType = 'Consecutive' | 'OddEven' | 'Piggyback' | 'GeneralAdmissi
12
12
  export type SplitRule = 'Default' | 'NoSplit' | 'NeverLeaveOne' | 'AnySplit' | 'Custom';
13
13
  export type InventoryStatus = 'Available' | 'Sold' | 'Held' | 'Deleted';
14
14
 
15
- export interface InventoryResponseDtoV2 {
15
+ export interface InventoryResponseDto {
16
16
  productionId: number;
17
17
  section?: string | null;
18
18
  row?: string | null;
@@ -53,4 +53,4 @@ export interface InventoryResponseDtoV2 {
53
53
  sourceKey?: string | null;
54
54
  }
55
55
 
56
- export type GetProductionInventoryResponse = InventoryResponseDtoV2[];
56
+ export type GetProductionInventoryResponse = InventoryResponseDto[];