@ampeco/public-api-mcp 3.248.0 → 3.249.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.
@@ -3340,6 +3340,36 @@ export const partnerContractPatchBody = z.object({
3340
3340
  }).optional()
3341
3341
  });
3342
3342
 
3343
+ // GET /public-api/resources/partner-contracts/v1.0/{partnerContract}/settlement-overrides
3344
+
3345
+ // POST /public-api/resources/partner-contracts/v1.0/{partnerContract}/settlement-overrides
3346
+ export const partnerContractSettlementOverrideCreateBody = z.object({
3347
+ name: z.string().max(255),
3348
+ priority: z.number().int().min(1).max(4294967295),
3349
+ restriction: z.object({
3350
+ type: z.enum(["users_of_the_partner", "user_groups", "ad_hoc_users", "users_of_specific_partners"]),
3351
+ targetIds: z.array(z.number().int()).optional()
3352
+ }),
3353
+ acPercent: z.number().min(0).max(100).optional(),
3354
+ dcPercent: z.number().min(0).max(100).optional()
3355
+ });
3356
+
3357
+ // GET /public-api/resources/partner-contracts/v1.0/{partnerContract}/settlement-overrides/{settlementOverride}
3358
+
3359
+ // DELETE /public-api/resources/partner-contracts/v1.0/{partnerContract}/settlement-overrides/{settlementOverride}
3360
+
3361
+ // PATCH /public-api/resources/partner-contracts/v1.0/{partnerContract}/settlement-overrides/{settlementOverride}
3362
+ export const partnerContractSettlementOverrideUpdateBody = z.object({
3363
+ name: z.string().max(255).optional(),
3364
+ priority: z.number().int().min(1).max(4294967295).optional(),
3365
+ restriction: z.object({
3366
+ type: z.enum(["users_of_the_partner", "user_groups", "ad_hoc_users", "users_of_specific_partners"]),
3367
+ targetIds: z.array(z.number().int()).optional()
3368
+ }).optional(),
3369
+ acPercent: z.number().min(0).max(100).optional(),
3370
+ dcPercent: z.number().min(0).max(100).optional()
3371
+ });
3372
+
3343
3373
  // GET /public-api/resources/partner-expenses/v1.0
3344
3374
 
3345
3375
  // GET /public-api/resources/partner-expenses/v1.1
@@ -3717,7 +3747,7 @@ export const partnerInviteCreateV2_0Body = z.object({
3717
3747
  partnerId: z.number().int(),
3718
3748
  sendViaEmail: z.boolean().optional(),
3719
3749
  email: z.string().email().optional(),
3720
- language: z.enum(["en", "bg", "mk", "el", "zh-CN", "zh-HK", "zh-TW", "pt", "sl", "hr", "it", "de", "hu", "fi", "is", "sv-SE", "da-DK", "nb-NO", "tr-TR", "es-ES", "ar", "ary", "he", "ta", "ms", "cy", "sr", "fr", "fr-MA", "ro", "lt", "uk", "ru", "nl", "ca-ES", "id", "ar-EG", "pl", "lo", "th", "sq-XK", "ga-IE", "bs", "ja", "ko", "cs", "lv", "et", "az", "ka", "af", "hi", "de-CH", "fr-CH", "it-CH", "en-GB"]).optional(),
3750
+ language: z.enum(["en", "bg", "mk", "el", "zh-CN", "zh-HK", "zh-TW", "pt", "sl", "hr", "it", "de", "hu", "fi", "is", "sv-SE", "da-DK", "nb-NO", "tr-TR", "es-ES", "ar", "ary", "he", "ta", "ms", "cy", "sr", "fr", "fr-MA", "ro", "lt", "uk", "ru", "nl", "ca-ES", "id", "ar-EG", "pl", "lo", "th", "sq-XK", "ga-IE", "bs", "ja", "ko-KR", "cs", "lv", "et", "az", "ka", "af", "hi", "de-CH", "fr-CH", "it-CH", "en-GB"]).optional(),
3721
3751
  accessPolicyId: z.number().int().optional(),
3722
3752
  corporateBillingPolicyId: z.number().int().optional(),
3723
3753
  reimbursement: z.object({
@@ -5508,14 +5538,15 @@ export const subscriptionPlanUpdateBody = z.object({
5508
5538
  // POST /public-api/resources/tariff-groups/v1.0
5509
5539
  export const tariffGroupCreateBody = z.object({
5510
5540
  operatorId: z.number().int().optional(),
5541
+ display: z.object({
5542
+ defaultPriceInformation: z.string().max(150).optional(),
5543
+ defaultPriceInformationOffline: z.string().max(150).optional(),
5544
+ totalCostFallbackMessage: z.string().max(150).optional()
5545
+ }).optional(),
5511
5546
  name: z.string(),
5512
5547
  tariffIds: z.array(z.number().int()).optional(),
5513
5548
  partnerId: z.number().int().optional(),
5514
5549
  offlineTariffId: z.number().int().optional(),
5515
- display: z.object({
5516
- defaultPriceInformation: z.string().max(150).optional(),
5517
- defaultPriceInformationOffline: z.string().max(150).optional()
5518
- }).optional(),
5519
5550
  lastUpdatedAt: z.string().datetime().optional()
5520
5551
  });
5521
5552
 
@@ -5523,14 +5554,15 @@ export const tariffGroupCreateBody = z.object({
5523
5554
 
5524
5555
  // PUT /public-api/resources/tariff-groups/v1.0/{tariffGroup}
5525
5556
  export const tariffGroupUpdateBody = z.object({
5557
+ display: z.object({
5558
+ defaultPriceInformation: z.string().max(150).optional(),
5559
+ defaultPriceInformationOffline: z.string().max(150).optional(),
5560
+ totalCostFallbackMessage: z.string().max(150).optional()
5561
+ }).optional(),
5526
5562
  name: z.string(),
5527
5563
  tariffIds: z.array(z.number().int()).optional(),
5528
5564
  partnerId: z.number().int().optional(),
5529
5565
  offlineTariffId: z.number().int().optional(),
5530
- display: z.object({
5531
- defaultPriceInformation: z.string().max(150).optional(),
5532
- defaultPriceInformationOffline: z.string().max(150).optional()
5533
- }).optional(),
5534
5566
  lastUpdatedAt: z.string().datetime().optional()
5535
5567
  });
5536
5568
 
@@ -6827,7 +6859,7 @@ export const userCreateV1_1Body = z.object({
6827
6859
  company_postal_code: z.string().optional(),
6828
6860
  company_country: z.enum(["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]).optional(),
6829
6861
  company_receipts_enabled: z.boolean().optional(),
6830
- locale: z.enum(["en", "bg", "mk", "el", "zh-CN", "zh-HK", "zh-TW", "pt", "sl", "hr", "it", "de", "hu", "fi", "is", "sv-SE", "da-DK", "nb-NO", "tr-TR", "es-ES", "ar", "ary", "he", "ta", "ms", "cy", "sr", "fr", "fr-MA", "ro", "lt", "uk", "ru", "nl", "ca-ES", "id", "ar-EG", "pl", "lo", "th", "sq-XK", "ga-IE", "bs", "ja", "ko", "cs", "lv", "et", "az", "ka"]).optional(),
6862
+ locale: z.enum(["en", "bg", "mk", "el", "zh-CN", "zh-HK", "zh-TW", "pt", "sl", "hr", "it", "de", "hu", "fi", "is", "sv-SE", "da-DK", "nb-NO", "tr-TR", "es-ES", "ar", "ary", "he", "ta", "ms", "cy", "sr", "fr", "fr-MA", "ro", "lt", "uk", "ru", "nl", "ca-ES", "id", "ar-EG", "pl", "lo", "th", "sq-XK", "ga-IE", "bs", "ja", "ko-KR", "cs", "lv", "et", "az", "ka"]).optional(),
6831
6863
  userGroupIds: z.array(z.number().int()).optional(),
6832
6864
  externalId: z.string().optional(),
6833
6865
  options: z.object({
@@ -6875,7 +6907,7 @@ export const userUpdateV1_1Body = z.object({
6875
6907
  company_postal_code: z.string().optional(),
6876
6908
  company_country: z.enum(["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]).optional(),
6877
6909
  company_receipts_enabled: z.boolean().optional(),
6878
- locale: z.enum(["en", "bg", "mk", "el", "zh-CN", "zh-HK", "zh-TW", "pt", "sl", "hr", "it", "de", "hu", "fi", "is", "sv-SE", "da-DK", "nb-NO", "tr-TR", "es-ES", "ar", "ary", "he", "ta", "ms", "cy", "sr", "fr", "fr-MA", "ro", "lt", "uk", "ru", "nl", "ca-ES", "id", "ar-EG", "pl", "lo", "th", "sq-XK", "ga-IE", "bs", "ja", "ko", "cs", "lv", "et", "az", "ka"]).optional(),
6910
+ locale: z.enum(["en", "bg", "mk", "el", "zh-CN", "zh-HK", "zh-TW", "pt", "sl", "hr", "it", "de", "hu", "fi", "is", "sv-SE", "da-DK", "nb-NO", "tr-TR", "es-ES", "ar", "ary", "he", "ta", "ms", "cy", "sr", "fr", "fr-MA", "ro", "lt", "uk", "ru", "nl", "ca-ES", "id", "ar-EG", "pl", "lo", "th", "sq-XK", "ga-IE", "bs", "ja", "ko-KR", "cs", "lv", "et", "az", "ka"]).optional(),
6879
6911
  userGroupIds: z.array(z.number().int()).optional(),
6880
6912
  externalId: z.string().optional(),
6881
6913
  options: z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampeco/public-api-mcp",
3
- "version": "3.248.0",
3
+ "version": "3.249.0",
4
4
  "description": "MCP server that dynamically exposes the AMPECO.CHARGE Public API defined by an OpenAPI 3 specification",
5
5
  "type": "module",
6
6
  "main": "dist/cli/index.js",