@open-loyalty/mcp-server 1.13.0 → 1.14.0

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.
@@ -30,10 +30,10 @@ export const WalletTypeCreateResponseSchema = z.object({
30
30
  // INPUT SCHEMAS (for MCP tool definitions)
31
31
  // =============================================================================
32
32
  export const WalletTypeListInputSchema = {
33
- storeCode: z.string().optional().describe("INTERNAL: Auto-configured from server settings. NEVER ask the user for this value. Only set if the user explicitly requests a different store."),
33
+ storeCode: z.string().optional().describe("Store code. LOCKED to the configured default when OPENLOYALTY_DEFAULT_STORE_CODE is set any value passed here is silently ignored. Only used as fallback when no default is configured."),
34
34
  };
35
35
  export const WalletTypeGetInputSchema = {
36
- storeCode: z.string().optional().describe("INTERNAL: Auto-configured from server settings. NEVER ask the user for this value. Only set if the user explicitly requests a different store."),
36
+ storeCode: z.string().optional().describe("Store code. LOCKED to the configured default when OPENLOYALTY_DEFAULT_STORE_CODE is set any value passed here is silently ignored. Only used as fallback when no default is configured."),
37
37
  walletTypeId: z.string().describe("The wallet type ID (UUID) to retrieve."),
38
38
  };
39
39
  // Translations schema for wallet types
@@ -59,7 +59,7 @@ export const WalletTypeLimitsInputSchema = z.object({
59
59
  pointsPerMember: PointsLimitSchema.describe("Per-member points limit. Example: { interval: { type: 'calendarYears', value: 1 }, value: 10000 }"),
60
60
  }).optional();
61
61
  export const WalletTypeCreateInputSchema = {
62
- storeCode: z.string().optional().describe("INTERNAL: Auto-configured from server settings. NEVER ask the user for this value. Only set if the user explicitly requests a different store."),
62
+ storeCode: z.string().optional().describe("Store code. LOCKED to the configured default when OPENLOYALTY_DEFAULT_STORE_CODE is set any value passed here is silently ignored. Only used as fallback when no default is configured."),
63
63
  translations: WalletTypeTranslationsInputSchema.describe("Translations with at least 'en' key containing { name }. REQUIRED."),
64
64
  unitSingularName: z.string().describe("Singular unit name (e.g., 'point', 'coin', 'star'). REQUIRED."),
65
65
  unitPluralName: z.string().describe("Plural unit name (e.g., 'points', 'coins', 'stars'). REQUIRED."),
@@ -84,7 +84,7 @@ export const WalletTypeCreateInputSchema = {
84
84
  "Typical values: true for low-risk programs, false + 14-day lock for high-value transactions."),
85
85
  };
86
86
  export const WalletTypeUpdateInputSchema = {
87
- storeCode: z.string().optional().describe("INTERNAL: Auto-configured from server settings. NEVER ask the user for this value. Only set if the user explicitly requests a different store."),
87
+ storeCode: z.string().optional().describe("Store code. LOCKED to the configured default when OPENLOYALTY_DEFAULT_STORE_CODE is set any value passed here is silently ignored. Only used as fallback when no default is configured."),
88
88
  walletTypeId: z.string().describe("The wallet type ID (UUID) to update."),
89
89
  name: z.string().optional().describe("Update the wallet type name (updates translations.en.name)."),
90
90
  description: z.string().optional().describe("Update the description (updates translations.en.description)."),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-loyalty/mcp-server",
3
- "version": "1.13.0",
3
+ "version": "1.14.0",
4
4
  "type": "module",
5
5
  "description": "MCP server for Open Loyalty API - enables AI agents to manage loyalty programs, members, points, rewards, and transactions",
6
6
  "author": "Marcin Dyguda <md@openloyalty.io>",