@ampeco/public-api-mcp 3.224.4 → 3.225.1
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 +89 -26
- package/dist/generated/response-schemas.json +1439 -262
- package/dist/generated/schemas.d.ts +20 -0
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +5 -0
- package/dist/generated/schemas.js.map +1 -1
- package/dist/generated/schemas.ts +6 -0
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"totalEndpoints":
|
|
3
|
-
"originalSize":
|
|
4
|
-
"optimizedSize":
|
|
5
|
-
"reductionPercent": 71.
|
|
6
|
-
"buildDuration":
|
|
2
|
+
"totalEndpoints": 623,
|
|
3
|
+
"originalSize": 5361903,
|
|
4
|
+
"optimizedSize": 1526638,
|
|
5
|
+
"reductionPercent": 71.53,
|
|
6
|
+
"buildDuration": 1273,
|
|
7
7
|
"responseSchemas": {
|
|
8
|
-
"total":
|
|
9
|
-
"withSchemas":
|
|
10
|
-
"totalSchemaSize":
|
|
11
|
-
"averageSchemaSize":
|
|
8
|
+
"total": 623,
|
|
9
|
+
"withSchemas": 623,
|
|
10
|
+
"totalSchemaSize": 3064390,
|
|
11
|
+
"averageSchemaSize": 4919
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -3861,6 +3861,36 @@
|
|
|
3861
3861
|
}
|
|
3862
3862
|
}
|
|
3863
3863
|
},
|
|
3864
|
+
{
|
|
3865
|
+
"path": "/public-api/actions/partner-invoice/v1.0/{partnerInvoice}/issue-credit-note",
|
|
3866
|
+
"method": "POST",
|
|
3867
|
+
"operationId": "partnerInvoiceIssueCreditNote",
|
|
3868
|
+
"summary": "Partner invoice / Issue credit note",
|
|
3869
|
+
"description": "Issue a full credit note cancelling the given partner invoice. The credit note copies the original's seller, buyer, currency and payment terms, negates every line item, is marked paid, and references the cancelled invoice via `referenceId`. Only invoices generated through the built-in B2B invoice integration are eligible, and only one credit note may exist per invoice. Issuing returns the linked settlement report to `ready_to_invoice`. Partial credit notes are not supported. A `409` means the invoice is permanently ineligible and the request will not succeed on retry. It is returned when the invoice already has a credit note, when the target is itself a credit note, or when the invoice was not generated through the built-in B2B invoice integration.",
|
|
3870
|
+
"tags": [
|
|
3871
|
+
"action / partner invoice"
|
|
3872
|
+
],
|
|
3873
|
+
"responses": {
|
|
3874
|
+
"202": {
|
|
3875
|
+
"description": "Accepted - the response body contains the newly created credit note"
|
|
3876
|
+
},
|
|
3877
|
+
"401": {
|
|
3878
|
+
"description": "Access token is missing or invalid"
|
|
3879
|
+
},
|
|
3880
|
+
"403": {
|
|
3881
|
+
"description": "You do not have permission to perform the action"
|
|
3882
|
+
},
|
|
3883
|
+
"404": {
|
|
3884
|
+
"description": "The record is not found"
|
|
3885
|
+
},
|
|
3886
|
+
"409": {
|
|
3887
|
+
"description": "The request could not be completed due to a conflict with the current state of the resource. The operation may succeed if retried."
|
|
3888
|
+
},
|
|
3889
|
+
"429": {
|
|
3890
|
+
"description": "Too many requests. Please try again later. For more information, please check the rate limit headers X-RateLimit-*"
|
|
3891
|
+
}
|
|
3892
|
+
}
|
|
3893
|
+
},
|
|
3864
3894
|
{
|
|
3865
3895
|
"path": "/public-api/actions/partner-invoice/v1.0/{partnerInvoice}/update-external-id",
|
|
3866
3896
|
"method": "POST",
|
|
@@ -3917,7 +3947,7 @@
|
|
|
3917
3947
|
"method": "POST",
|
|
3918
3948
|
"operationId": "partnerSettlementReportIssuePartnerInvoice",
|
|
3919
3949
|
"summary": "Partner settlement report / Issue partner invoice",
|
|
3920
|
-
"description": "This action validates the given settlement report and accepts it for partner invoice generation. The settlement report must have a B2B invoice processor configured on its operator, a non-negative balance (expenses >= revenue), and
|
|
3950
|
+
"description": "This action validates the given settlement report and accepts it for partner invoice generation. The settlement report must have a B2B invoice processor configured on its operator, a non-negative balance (expenses >= revenue), and must not already have been invoiced. Invoice generation runs asynchronously after the request is accepted. Poll the settlement report read endpoint and check `partnerInvoiceId` for completion.",
|
|
3921
3951
|
"tags": [
|
|
3922
3952
|
"action / partner settlement report"
|
|
3923
3953
|
],
|
|
@@ -6129,6 +6159,9 @@
|
|
|
6129
6159
|
"422": {
|
|
6130
6160
|
"description": "The payload you provided is invalid"
|
|
6131
6161
|
},
|
|
6162
|
+
"424": {
|
|
6163
|
+
"description": "The requested operation cannot be completed because it depends on communication with an external system (e.g., charge point) that is currently disconnected or unreachable"
|
|
6164
|
+
},
|
|
6132
6165
|
"429": {
|
|
6133
6166
|
"description": "Too many requests. Please try again later. For more information, please check the rate limit headers X-RateLimit-*"
|
|
6134
6167
|
}
|
|
@@ -11363,6 +11396,12 @@
|
|
|
11363
11396
|
"powerOptions": {
|
|
11364
11397
|
"type": "object",
|
|
11365
11398
|
"properties": {
|
|
11399
|
+
"maxOutputVoltage": {
|
|
11400
|
+
"type": "integer",
|
|
11401
|
+
"minimum": 1,
|
|
11402
|
+
"maximum": 1000,
|
|
11403
|
+
"description": "Maximum output voltage for DC charging."
|
|
11404
|
+
},
|
|
11366
11405
|
"maxPower": {
|
|
11367
11406
|
"type": "integer",
|
|
11368
11407
|
"nullable": true,
|
|
@@ -11383,7 +11422,7 @@
|
|
|
11383
11422
|
"277"
|
|
11384
11423
|
],
|
|
11385
11424
|
"nullable": true,
|
|
11386
|
-
"description": "The maxVoltage of a charge point can fluctuate. Hence, when creating a charge point in the system, the maxVoltage is given as a range. For OCPI purposes it maps as follows: 220-240 = 230 110-130 = 120 400 = 400 380 = 380"
|
|
11425
|
+
"description": "The maximum intake (input) voltage of the EVSE. For the ac current type the output voltage is the same as this intake voltage, while for the dc current type the output voltage can differ and is exposed separately in maxOutputVoltage. The maxVoltage of a charge point can fluctuate. Hence, when creating a charge point in the system, the maxVoltage is given as a range. For OCPI purposes it maps as follows: 220-240 = 230 110-130 = 120 400 = 400 380 = 380"
|
|
11387
11426
|
},
|
|
11388
11427
|
"maxAmperage": {
|
|
11389
11428
|
"type": "number",
|
|
@@ -11742,6 +11781,12 @@
|
|
|
11742
11781
|
"powerOptions": {
|
|
11743
11782
|
"type": "object",
|
|
11744
11783
|
"properties": {
|
|
11784
|
+
"maxOutputVoltage": {
|
|
11785
|
+
"type": "integer",
|
|
11786
|
+
"minimum": 1,
|
|
11787
|
+
"maximum": 1000,
|
|
11788
|
+
"description": "Maximum output voltage for DC charging."
|
|
11789
|
+
},
|
|
11745
11790
|
"maxPower": {
|
|
11746
11791
|
"type": "integer",
|
|
11747
11792
|
"nullable": true,
|
|
@@ -11762,7 +11807,7 @@
|
|
|
11762
11807
|
"277"
|
|
11763
11808
|
],
|
|
11764
11809
|
"nullable": true,
|
|
11765
|
-
"description": "The maxVoltage of a charge point can fluctuate. Hence, when creating a charge point in the system, the maxVoltage is given as a range. For OCPI purposes it maps as follows: 220-240 = 230 110-130 = 120 400 = 400 380 = 380"
|
|
11810
|
+
"description": "The maximum intake (input) voltage of the EVSE. For the ac current type the output voltage is the same as this intake voltage, while for the dc current type the output voltage can differ and is exposed separately in maxOutputVoltage. The maxVoltage of a charge point can fluctuate. Hence, when creating a charge point in the system, the maxVoltage is given as a range. For OCPI purposes it maps as follows: 220-240 = 230 110-130 = 120 400 = 400 380 = 380"
|
|
11766
11811
|
},
|
|
11767
11812
|
"maxAmperage": {
|
|
11768
11813
|
"type": "number",
|
|
@@ -23262,6 +23307,12 @@
|
|
|
23262
23307
|
"powerOptions": {
|
|
23263
23308
|
"type": "object",
|
|
23264
23309
|
"properties": {
|
|
23310
|
+
"maxOutputVoltage": {
|
|
23311
|
+
"type": "integer",
|
|
23312
|
+
"minimum": 1,
|
|
23313
|
+
"maximum": 1000,
|
|
23314
|
+
"description": "Maximum output voltage for DC charging."
|
|
23315
|
+
},
|
|
23265
23316
|
"maxPower": {
|
|
23266
23317
|
"type": "integer",
|
|
23267
23318
|
"nullable": true,
|
|
@@ -23282,7 +23333,7 @@
|
|
|
23282
23333
|
"277"
|
|
23283
23334
|
],
|
|
23284
23335
|
"nullable": true,
|
|
23285
|
-
"description": "The maxVoltage of a charge point can fluctuate. Hence, when creating a charge point in the system, the maxVoltage is given as a range. For OCPI purposes it maps as follows: 220-240 = 230 110-130 = 120 400 = 400 380 = 380"
|
|
23336
|
+
"description": "The maximum intake (input) voltage of the EVSE. For the ac current type the output voltage is the same as this intake voltage, while for the dc current type the output voltage can differ and is exposed separately in maxOutputVoltage. The maxVoltage of a charge point can fluctuate. Hence, when creating a charge point in the system, the maxVoltage is given as a range. For OCPI purposes it maps as follows: 220-240 = 230 110-130 = 120 400 = 400 380 = 380"
|
|
23286
23337
|
},
|
|
23287
23338
|
"maxAmperage": {
|
|
23288
23339
|
"type": "number",
|
|
@@ -23645,6 +23696,12 @@
|
|
|
23645
23696
|
"powerOptions": {
|
|
23646
23697
|
"type": "object",
|
|
23647
23698
|
"properties": {
|
|
23699
|
+
"maxOutputVoltage": {
|
|
23700
|
+
"type": "integer",
|
|
23701
|
+
"minimum": 1,
|
|
23702
|
+
"maximum": 1000,
|
|
23703
|
+
"description": "Maximum output voltage for DC charging."
|
|
23704
|
+
},
|
|
23648
23705
|
"maxPower": {
|
|
23649
23706
|
"type": "integer",
|
|
23650
23707
|
"nullable": true,
|
|
@@ -23665,7 +23722,7 @@
|
|
|
23665
23722
|
"277"
|
|
23666
23723
|
],
|
|
23667
23724
|
"nullable": true,
|
|
23668
|
-
"description": "The maxVoltage of a charge point can fluctuate. Hence, when creating a charge point in the system, the maxVoltage is given as a range. For OCPI purposes it maps as follows: 220-240 = 230 110-130 = 120 400 = 400 380 = 380"
|
|
23725
|
+
"description": "The maximum intake (input) voltage of the EVSE. For the ac current type the output voltage is the same as this intake voltage, while for the dc current type the output voltage can differ and is exposed separately in maxOutputVoltage. The maxVoltage of a charge point can fluctuate. Hence, when creating a charge point in the system, the maxVoltage is given as a range. For OCPI purposes it maps as follows: 220-240 = 230 110-130 = 120 400 = 400 380 = 380"
|
|
23669
23726
|
},
|
|
23670
23727
|
"maxAmperage": {
|
|
23671
23728
|
"type": "number",
|
|
@@ -37666,6 +37723,10 @@
|
|
|
37666
37723
|
"type": "integer",
|
|
37667
37724
|
"description": "Filter by the source settlement report ID."
|
|
37668
37725
|
},
|
|
37726
|
+
"referenceId": {
|
|
37727
|
+
"type": "integer",
|
|
37728
|
+
"description": "Filter by the ID of the original partner invoice that a credit note cancels. Use this to find the credit note issued against a given invoice; combine with `type` to disambiguate. Matches nothing for regular invoices, which have no reference."
|
|
37729
|
+
},
|
|
37669
37730
|
"paymentStatus": {
|
|
37670
37731
|
"type": "string",
|
|
37671
37732
|
"enum": [
|
|
@@ -37676,6 +37737,15 @@
|
|
|
37676
37737
|
"example": "unpaid",
|
|
37677
37738
|
"description": "Partner invoice payment status: - **unpaid**: No payment has been recorded against the invoice. - **partially_paid**: A payment has been recorded but the full amount is not yet covered. - **paid**: The full amount has been paid."
|
|
37678
37739
|
},
|
|
37740
|
+
"type": {
|
|
37741
|
+
"type": "string",
|
|
37742
|
+
"enum": [
|
|
37743
|
+
"invoice",
|
|
37744
|
+
"credit_note"
|
|
37745
|
+
],
|
|
37746
|
+
"example": "invoice",
|
|
37747
|
+
"description": "Partner invoice document type: - **invoice**: A regular partner invoice generated from a settlement report. - **credit_note**: A credit note that cancels an original partner invoice. Always references the cancelled invoice via `referenceId`."
|
|
37748
|
+
},
|
|
37679
37749
|
"issuedFrom": {
|
|
37680
37750
|
"type": "string",
|
|
37681
37751
|
"format": "date",
|
|
@@ -38057,16 +38127,6 @@
|
|
|
38057
38127
|
"partnerId": {
|
|
38058
38128
|
"type": "integer"
|
|
38059
38129
|
},
|
|
38060
|
-
"invoiceState": {
|
|
38061
|
-
"type": "string",
|
|
38062
|
-
"enum": [
|
|
38063
|
-
"ready_to_invoice",
|
|
38064
|
-
"in_progress",
|
|
38065
|
-
"invoiced"
|
|
38066
|
-
],
|
|
38067
|
-
"example": "ready_to_invoice",
|
|
38068
|
-
"description": "Partner invoicing lifecycle state of a settlement report: - **ready_to_invoice**: The settlement report is approved and no partner invoice has been generated yet. - **in_progress**: A partner invoice has been requested or is being processed by the invoice processor. - **invoiced**: A partner invoice has been successfully generated from this settlement report."
|
|
38069
|
-
},
|
|
38070
38130
|
"periodAfter": {
|
|
38071
38131
|
"type": "string",
|
|
38072
38132
|
"format": "date"
|
|
@@ -38104,6 +38164,9 @@
|
|
|
38104
38164
|
"403": {
|
|
38105
38165
|
"description": "You do not have permission to perform the action"
|
|
38106
38166
|
},
|
|
38167
|
+
"422": {
|
|
38168
|
+
"description": "The payload you provided is invalid"
|
|
38169
|
+
},
|
|
38107
38170
|
"429": {
|
|
38108
38171
|
"description": "Too many requests. Please try again later. For more information, please check the rate limit headers X-RateLimit-*"
|
|
38109
38172
|
}
|
|
@@ -69337,7 +69400,7 @@
|
|
|
69337
69400
|
],
|
|
69338
69401
|
"info": {
|
|
69339
69402
|
"title": "Public API",
|
|
69340
|
-
"version": "3.
|
|
69403
|
+
"version": "3.225.1",
|
|
69341
69404
|
"description": "The Public API provides server-to-server integration capabilities for your EV charging platform.\n\n**Authentication.** Existing integrations continue to work unchanged — long-lived UUID admin tokens are sent in `Authorization: Bearer ...` with no exchange required. Two security schemes are documented for OpenAPI client tooling, both resulting in the same Bearer header at the wire level:\n - `bearerAuth` — the token in the `Authorization: Bearer ...` header is either a long-lived UUID admin token (issued via the admin UI, used directly) or a short-lived access token previously obtained via OAuth.\n - `oauth2ClientCredentials` - a `client_id` / `client_secret` pair should be exchanged for a short-lived access token at `/public-api/oauth/token` per RFC 6749 Section 4.4 (Client Credentials Grant), and the short-lived token should be used in the `Authorization: Bearer ...` header. The OAuth `client_secret` itself cannot be sent directly as a bearer token — it must be exchanged first.\n"
|
|
69342
69405
|
},
|
|
69343
69406
|
"servers": [
|
|
@@ -69351,18 +69414,18 @@
|
|
|
69351
69414
|
}
|
|
69352
69415
|
}
|
|
69353
69416
|
],
|
|
69354
|
-
"buildTimestamp": "2026-08-
|
|
69417
|
+
"buildTimestamp": "2026-08-03T15:47:52.899Z",
|
|
69355
69418
|
"stats": {
|
|
69356
|
-
"totalEndpoints":
|
|
69357
|
-
"originalSize":
|
|
69358
|
-
"optimizedSize":
|
|
69359
|
-
"reductionPercent": 71.
|
|
69360
|
-
"buildDuration":
|
|
69419
|
+
"totalEndpoints": 623,
|
|
69420
|
+
"originalSize": 5361903,
|
|
69421
|
+
"optimizedSize": 1526638,
|
|
69422
|
+
"reductionPercent": 71.53,
|
|
69423
|
+
"buildDuration": 1273,
|
|
69361
69424
|
"responseSchemas": {
|
|
69362
|
-
"total":
|
|
69363
|
-
"withSchemas":
|
|
69364
|
-
"totalSchemaSize":
|
|
69365
|
-
"averageSchemaSize":
|
|
69425
|
+
"total": 623,
|
|
69426
|
+
"withSchemas": 623,
|
|
69427
|
+
"totalSchemaSize": 3064390,
|
|
69428
|
+
"averageSchemaSize": 4919
|
|
69366
69429
|
}
|
|
69367
69430
|
}
|
|
69368
69431
|
}
|