@ampeco/public-api-mcp 3.256.0 → 3.257.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.
- package/dist/generated/build-stats.json +9 -9
- package/dist/generated/endpoints.json +653 -81
- package/dist/generated/response-schemas.json +10007 -3194
- package/dist/generated/schemas.d.ts +65 -3
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +35 -1
- package/dist/generated/schemas.js.map +1 -1
- package/dist/generated/schemas.ts +43 -1
- package/package.json +1 -1
|
@@ -388,6 +388,11 @@ export const flexibilityAssetCreateActivationRequestBody = z.object({
|
|
|
388
388
|
|
|
389
389
|
// POST /public-api/actions/id-tag/v1.0/{idTag}/reissue-emaid
|
|
390
390
|
|
|
391
|
+
// POST /public-api/actions/id-tag/v1.0/{idTag}/set-custom-fields
|
|
392
|
+
export const idTagSetCustomFieldsBody = z.object({
|
|
393
|
+
customFields: z.record(z.unknown())
|
|
394
|
+
}).strict();
|
|
395
|
+
|
|
391
396
|
// POST /public-api/actions/installer-job/v1.0/{installerJob}/assign-charge-points
|
|
392
397
|
export const assignInstallerJobChargePointsBody = z.object({
|
|
393
398
|
chargePointIds: z.array(z.number().int()).optional(),
|
|
@@ -401,6 +406,11 @@ export const changeInstallerJobStatusBody = z.object({
|
|
|
401
406
|
outcomeDetails: z.string().optional()
|
|
402
407
|
});
|
|
403
408
|
|
|
409
|
+
// POST /public-api/actions/installer-job/v1.0/{installerJob}/set-custom-fields
|
|
410
|
+
export const installerJobSetCustomFieldsV1_0Body = z.object({
|
|
411
|
+
customFields: z.record(z.unknown())
|
|
412
|
+
}).strict();
|
|
413
|
+
|
|
404
414
|
// POST /public-api/actions/invoice/v1.0/{invoice}/update-external-id
|
|
405
415
|
export const invoiceUpdateExternalIdBody = z.object({
|
|
406
416
|
externalId: z.string().max(255)
|
|
@@ -430,6 +440,13 @@ export const parkingSpaceUpdateOccupancyStatusBody = z.object({
|
|
|
430
440
|
|
|
431
441
|
// POST /public-api/actions/partner-invoice/v1.0/{partnerInvoice}/issue-credit-note
|
|
432
442
|
|
|
443
|
+
// POST /public-api/actions/partner-invoice/v1.0/{partnerInvoice}/register-payment
|
|
444
|
+
export const partnerInvoiceRegisterPaymentBody = z.object({
|
|
445
|
+
paidAmount: z.number(),
|
|
446
|
+
date: z.string(),
|
|
447
|
+
note: z.string().max(255).optional()
|
|
448
|
+
});
|
|
449
|
+
|
|
433
450
|
// POST /public-api/actions/partner-invoice/v1.0/{partnerInvoice}/update-external-id
|
|
434
451
|
export const partnerInvoiceUpdateExternalIdBody = z.object({
|
|
435
452
|
externalId: z.string().max(255)
|
|
@@ -598,6 +615,16 @@ export const subscriptionPlanReplaceBody = z.object({
|
|
|
598
615
|
reason: z.string()
|
|
599
616
|
});
|
|
600
617
|
|
|
618
|
+
// POST /public-api/actions/tariff-group/v1.0/{tariffGroup}/set-custom-fields
|
|
619
|
+
export const tariffGroupSetCustomFieldsBody = z.object({
|
|
620
|
+
customFields: z.record(z.unknown())
|
|
621
|
+
}).strict();
|
|
622
|
+
|
|
623
|
+
// POST /public-api/actions/tariff/v1.0/{tariff}/set-custom-fields
|
|
624
|
+
export const tariffSetCustomFieldsBody = z.object({
|
|
625
|
+
customFields: z.record(z.unknown())
|
|
626
|
+
}).strict();
|
|
627
|
+
|
|
601
628
|
// POST /public-api/actions/tariffs/v2.0/{tariff}/set-tariff-display-information
|
|
602
629
|
export const tariffSetDisplayInformationBody = z.object({
|
|
603
630
|
defaultPriceInformation: z.string().max(150).optional(),
|
|
@@ -673,6 +700,11 @@ export const transactionUpdatePaymentReferenceBody = z.object({
|
|
|
673
700
|
ref: z.string()
|
|
674
701
|
}).strict();
|
|
675
702
|
|
|
703
|
+
// POST /public-api/actions/user-group/v1.0/{userGroup}/set-custom-fields
|
|
704
|
+
export const userGroupSetCustomFieldsBody = z.object({
|
|
705
|
+
customFields: z.record(z.unknown())
|
|
706
|
+
}).strict();
|
|
707
|
+
|
|
676
708
|
// POST /public-api/actions/user/v1.0/{user}/revoke-marketing-consent
|
|
677
709
|
export const userRevokeMarketingConsentBody = z.object({
|
|
678
710
|
reason: z.string().max(500).optional()
|
|
@@ -715,6 +747,11 @@ export const userChangeStatusBody = z.object({
|
|
|
715
747
|
|
|
716
748
|
// GET /public-api/actions/users/v1.0/{user}/get-total-eligible-coupon-energy
|
|
717
749
|
|
|
750
|
+
// POST /public-api/actions/users/v1.0/{user}/set-custom-fields
|
|
751
|
+
export const userSetCustomFieldsV1_0Body = z.object({
|
|
752
|
+
customFields: z.record(z.unknown())
|
|
753
|
+
}).strict();
|
|
754
|
+
|
|
718
755
|
// POST /public-api/actions/users/v1.0/{user}/subscribe-to-plan
|
|
719
756
|
export const userSubscribeToPlanBody = z.object({
|
|
720
757
|
planId: z.number().int(),
|
|
@@ -739,6 +776,11 @@ export const userRedeemVoucherBody = z.object({
|
|
|
739
776
|
code: z.string()
|
|
740
777
|
});
|
|
741
778
|
|
|
779
|
+
// POST /public-api/actions/vehicle/v1.0/{vehicle}/set-custom-fields
|
|
780
|
+
export const vehicleSetCustomFieldsV1_0Body = z.object({
|
|
781
|
+
customFields: z.record(z.unknown())
|
|
782
|
+
}).strict();
|
|
783
|
+
|
|
742
784
|
// GET /public-api/logs/communication/v1.0
|
|
743
785
|
|
|
744
786
|
// GET /public-api/logs/communication/v1.0/{id}
|
|
@@ -3792,7 +3834,7 @@ export const partnerInviteCreateV2_0Body = z.object({
|
|
|
3792
3834
|
partnerId: z.number().int(),
|
|
3793
3835
|
sendViaEmail: z.boolean().optional(),
|
|
3794
3836
|
email: z.string().email().optional(),
|
|
3795
|
-
language: z.enum(["en", "be", "bg", "fa", "bn", "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", "sw", "fr", "fr-MA", "ro", "lt", "uk", "ur", "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", "hy", "de-CH", "fr-CH", "it-CH", "en-GB", "mt", "tl-PH"]).optional(),
|
|
3837
|
+
language: z.enum(["en", "be", "bg", "fa", "bn", "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", "sw", "fr", "fr-MA", "ro", "lt", "uk", "ur", "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", "hy", "de-CH", "fr-CH", "it-CH", "en-GB", "mt", "tl-PH", "vi-VN", "sk"]).optional(),
|
|
3796
3838
|
accessPolicyId: z.number().int().optional(),
|
|
3797
3839
|
corporateBillingPolicyId: z.number().int().optional(),
|
|
3798
3840
|
reimbursement: z.object({
|
package/package.json
CHANGED