mcp-prqx-pricer 1.0.7 → 1.0.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.
@@ -61,8 +61,8 @@ class CreatePricingGroupTool {
61
61
  description: '(custom or all) Decides if we use custom parameters to share the tickets in the group or if we share them all'
62
62
  },
63
63
  shareAnchor: {
64
- type: 'number',
65
- description: 'Controls if the anchor ticket of the pricing group will be shared'
64
+ type: 'boolean',
65
+ description: 'Controls if the anchor ticket of the pricing group will be shared or not'
66
66
  },
67
67
  customSharingAmount: {
68
68
  type: 'number',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-prqx-pricer",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -62,8 +62,8 @@ export class CreatePricingGroupTool implements McpTool {
62
62
  description: '(custom or all) Decides if we use custom parameters to share the tickets in the group or if we share them all'
63
63
  },
64
64
  shareAnchor: {
65
- type: 'number',
66
- description: 'Controls if the anchor ticket of the pricing group will be shared'
65
+ type: 'boolean',
66
+ description: 'Controls if the anchor ticket of the pricing group will be shared or not'
67
67
  },
68
68
  customSharingAmount: {
69
69
  type: 'number',
@@ -119,7 +119,7 @@ export class CreatePricingGroupTool implements McpTool {
119
119
  const offsetIncrementMethod = request.params.arguments.offsetIncrementMethod as string | undefined;
120
120
  const enableShareOptions = request.params.arguments.enableShareOptions as boolean | undefined;
121
121
  const shareOptionsType = request.params.arguments.shareOptionsType as ShareOptionsType | undefined;
122
- const shareAnchor = request.params.arguments.shareAnchor as number | undefined;
122
+ const shareAnchor = request.params.arguments.shareAnchor as boolean | undefined;
123
123
  const customSharingAmount = request.params.arguments.customSharingAmount as number | undefined;
124
124
  const customSharingMethod = request.params.arguments.customSharingMethod as CustomSharingMethod | undefined;
125
125
  const applyCeilingOnlyToAnchor = request.params.arguments.applyCeilingOnlyToAnchor as boolean | undefined;
@@ -82,7 +82,7 @@ export interface RuleDto{
82
82
  offsetAmount?: number;
83
83
  enableShareOptions?: boolean;
84
84
  shareOptionsType?: ShareOptionsType;
85
- shareAnchor?: number;
85
+ shareAnchor?: boolean;
86
86
  floorPricingMethod?: FloorPricingMethod;
87
87
  ceilingPricingMethod?: CeilingPricingMethod;
88
88
  noCompPricingMethod?: NoCompPricingMethod;