@ampeco/public-api-mcp 3.103.9 → 3.103.11
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 +179 -11
- package/dist/generated/response-schemas.json +5843 -868
- package/dist/generated/schemas.d.ts +37 -22
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +11 -5
- package/dist/generated/schemas.js.map +1 -1
- package/dist/generated/schemas.ts +12 -5
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"totalEndpoints":
|
|
3
|
-
"originalSize":
|
|
4
|
-
"optimizedSize":
|
|
5
|
-
"reductionPercent": 70.
|
|
6
|
-
"buildDuration":
|
|
2
|
+
"totalEndpoints": 446,
|
|
3
|
+
"originalSize": 2609623,
|
|
4
|
+
"optimizedSize": 765864,
|
|
5
|
+
"reductionPercent": 70.65,
|
|
6
|
+
"buildDuration": 611,
|
|
7
7
|
"responseSchemas": {
|
|
8
|
-
"total":
|
|
9
|
-
"withSchemas":
|
|
10
|
-
"totalSchemaSize":
|
|
11
|
-
"averageSchemaSize":
|
|
8
|
+
"total": 446,
|
|
9
|
+
"withSchemas": 446,
|
|
10
|
+
"totalSchemaSize": 1439866,
|
|
11
|
+
"averageSchemaSize": 3228
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -5422,6 +5422,11 @@
|
|
|
5422
5422
|
"type": "string",
|
|
5423
5423
|
"format": "date-time",
|
|
5424
5424
|
"description": "Filter requests that were created before this date"
|
|
5425
|
+
},
|
|
5426
|
+
"externalId": {
|
|
5427
|
+
"type": "string",
|
|
5428
|
+
"example": "OCPI-REQ-12345",
|
|
5429
|
+
"description": "Filter by external identifier from roaming partner (e.g., OCPI request_id)"
|
|
5425
5430
|
}
|
|
5426
5431
|
}
|
|
5427
5432
|
}
|
|
@@ -5575,6 +5580,12 @@
|
|
|
5575
5580
|
"type": "string",
|
|
5576
5581
|
"format": "date-time",
|
|
5577
5582
|
"description": "End time of the booking"
|
|
5583
|
+
},
|
|
5584
|
+
"externalId": {
|
|
5585
|
+
"type": "string",
|
|
5586
|
+
"maxLength": 255,
|
|
5587
|
+
"nullable": true,
|
|
5588
|
+
"description": "External identifier from roaming partner (e.g., OCPI request_id)"
|
|
5578
5589
|
}
|
|
5579
5590
|
},
|
|
5580
5591
|
"required": [
|
|
@@ -5637,6 +5648,12 @@
|
|
|
5637
5648
|
"type": "string",
|
|
5638
5649
|
"format": "date-time",
|
|
5639
5650
|
"description": "Updated end time of the booking"
|
|
5651
|
+
},
|
|
5652
|
+
"externalId": {
|
|
5653
|
+
"type": "string",
|
|
5654
|
+
"maxLength": 255,
|
|
5655
|
+
"nullable": true,
|
|
5656
|
+
"description": "External identifier from roaming partner (e.g., OCPI request_id)"
|
|
5640
5657
|
}
|
|
5641
5658
|
},
|
|
5642
5659
|
"required": [
|
|
@@ -5682,6 +5699,12 @@
|
|
|
5682
5699
|
"bookingId": {
|
|
5683
5700
|
"type": "integer",
|
|
5684
5701
|
"description": "ID of the target booking to cancel"
|
|
5702
|
+
},
|
|
5703
|
+
"externalId": {
|
|
5704
|
+
"type": "string",
|
|
5705
|
+
"maxLength": 255,
|
|
5706
|
+
"nullable": true,
|
|
5707
|
+
"description": "External identifier from roaming partner (e.g., OCPI request_id)"
|
|
5685
5708
|
}
|
|
5686
5709
|
},
|
|
5687
5710
|
"required": [
|
|
@@ -11289,6 +11312,23 @@
|
|
|
11289
11312
|
}
|
|
11290
11313
|
}
|
|
11291
11314
|
},
|
|
11315
|
+
"filter": {
|
|
11316
|
+
"schema": {
|
|
11317
|
+
"type": "object",
|
|
11318
|
+
"properties": {
|
|
11319
|
+
"lastUpdatedAfter": {
|
|
11320
|
+
"type": "string",
|
|
11321
|
+
"format": "date-time",
|
|
11322
|
+
"description": "ISO 8601 formatted date. Only list status logs created after this datetime"
|
|
11323
|
+
},
|
|
11324
|
+
"lastUpdatedBefore": {
|
|
11325
|
+
"type": "string",
|
|
11326
|
+
"format": "date-time",
|
|
11327
|
+
"description": "ISO 8601 formatted date. Only list status logs created after this datetime"
|
|
11328
|
+
}
|
|
11329
|
+
}
|
|
11330
|
+
}
|
|
11331
|
+
},
|
|
11292
11332
|
"per_page": {
|
|
11293
11333
|
"description": "The numbers of items to return",
|
|
11294
11334
|
"type": "integer",
|
|
@@ -12554,6 +12594,107 @@
|
|
|
12554
12594
|
}
|
|
12555
12595
|
}
|
|
12556
12596
|
},
|
|
12597
|
+
{
|
|
12598
|
+
"path": "/public-api/resources/consents/v1.0",
|
|
12599
|
+
"method": "GET",
|
|
12600
|
+
"operationId": "consentsListing",
|
|
12601
|
+
"summary": "Consents / Listing",
|
|
12602
|
+
"description": "Retrieve consent data for users",
|
|
12603
|
+
"tags": [
|
|
12604
|
+
"resource / consents"
|
|
12605
|
+
],
|
|
12606
|
+
"parameters": {
|
|
12607
|
+
"query": {
|
|
12608
|
+
"filter": {
|
|
12609
|
+
"schema": {
|
|
12610
|
+
"type": "object",
|
|
12611
|
+
"properties": {
|
|
12612
|
+
"userId": {
|
|
12613
|
+
"type": "array",
|
|
12614
|
+
"items": {
|
|
12615
|
+
"type": "integer"
|
|
12616
|
+
},
|
|
12617
|
+
"description": "Filter consents by specific user IDs"
|
|
12618
|
+
},
|
|
12619
|
+
"termType": {
|
|
12620
|
+
"type": "array",
|
|
12621
|
+
"items": {
|
|
12622
|
+
"type": "string",
|
|
12623
|
+
"enum": [
|
|
12624
|
+
"marketing",
|
|
12625
|
+
"signup",
|
|
12626
|
+
"subscription",
|
|
12627
|
+
"top-up"
|
|
12628
|
+
]
|
|
12629
|
+
},
|
|
12630
|
+
"description": "Filter by term types: - marketing: Marketing and promotional communications consent - signup: Initial registration terms and conditions - subscription: Subscription service terms - top-up: Top-up service terms"
|
|
12631
|
+
},
|
|
12632
|
+
"status": {
|
|
12633
|
+
"type": "array",
|
|
12634
|
+
"items": {
|
|
12635
|
+
"type": "string",
|
|
12636
|
+
"enum": [
|
|
12637
|
+
"agreed",
|
|
12638
|
+
"rejected"
|
|
12639
|
+
]
|
|
12640
|
+
},
|
|
12641
|
+
"description": "Filter by consent statuses: - agreed: User has agreed to the terms - rejected: User has explicitly rejected the terms"
|
|
12642
|
+
},
|
|
12643
|
+
"agreedAfter": {
|
|
12644
|
+
"type": "string",
|
|
12645
|
+
"format": "date-time",
|
|
12646
|
+
"description": "Filter consents agreed after this date (ISO 8601 formatted date)"
|
|
12647
|
+
},
|
|
12648
|
+
"agreedBefore": {
|
|
12649
|
+
"type": "string",
|
|
12650
|
+
"format": "date-time",
|
|
12651
|
+
"description": "Filter consents agreed before this date (ISO 8601 formatted date)"
|
|
12652
|
+
},
|
|
12653
|
+
"rejectedAfter": {
|
|
12654
|
+
"type": "string",
|
|
12655
|
+
"format": "date-time",
|
|
12656
|
+
"description": "Filter consents rejected after this date (ISO 8601 formatted date)"
|
|
12657
|
+
},
|
|
12658
|
+
"rejectedBefore": {
|
|
12659
|
+
"type": "string",
|
|
12660
|
+
"format": "date-time",
|
|
12661
|
+
"description": "Filter consents rejected before this date (ISO 8601 formatted date)"
|
|
12662
|
+
}
|
|
12663
|
+
}
|
|
12664
|
+
}
|
|
12665
|
+
},
|
|
12666
|
+
"page": {
|
|
12667
|
+
"description": "The page number to fetch (defaults to 1)",
|
|
12668
|
+
"type": "integer",
|
|
12669
|
+
"default": 1
|
|
12670
|
+
},
|
|
12671
|
+
"per_page": {
|
|
12672
|
+
"description": "The numbers of items to return",
|
|
12673
|
+
"type": "integer",
|
|
12674
|
+
"minimum": 1,
|
|
12675
|
+
"maximum": 100,
|
|
12676
|
+
"default": 100
|
|
12677
|
+
}
|
|
12678
|
+
}
|
|
12679
|
+
},
|
|
12680
|
+
"responses": {
|
|
12681
|
+
"200": {
|
|
12682
|
+
"description": "Success"
|
|
12683
|
+
},
|
|
12684
|
+
"401": {
|
|
12685
|
+
"description": "Access token is missing or invalid"
|
|
12686
|
+
},
|
|
12687
|
+
"403": {
|
|
12688
|
+
"description": "You do not have permission to perform the action"
|
|
12689
|
+
},
|
|
12690
|
+
"422": {
|
|
12691
|
+
"description": "The payload you provided is invalid"
|
|
12692
|
+
},
|
|
12693
|
+
"429": {
|
|
12694
|
+
"description": "Too many requests. Please try again later. For more information, please check the rate limit headers X-RateLimit-*"
|
|
12695
|
+
}
|
|
12696
|
+
}
|
|
12697
|
+
},
|
|
12557
12698
|
{
|
|
12558
12699
|
"path": "/public-api/resources/contact-details/v2.0",
|
|
12559
12700
|
"method": "GET",
|
|
@@ -21820,6 +21961,18 @@
|
|
|
21820
21961
|
"items": {
|
|
21821
21962
|
"type": "string"
|
|
21822
21963
|
}
|
|
21964
|
+
},
|
|
21965
|
+
"accessMethods": {
|
|
21966
|
+
"type": "array",
|
|
21967
|
+
"items": {
|
|
21968
|
+
"type": "string"
|
|
21969
|
+
},
|
|
21970
|
+
"example": [
|
|
21971
|
+
"OPEN",
|
|
21972
|
+
"TOKEN"
|
|
21973
|
+
],
|
|
21974
|
+
"nullable": true,
|
|
21975
|
+
"description": "Physical access methods available at this location. Multiple methods can be selected if the site supports different access types. **Request behavior**: Send `null` to clear, `[]` for empty, omit to leave unchanged. **Available methods**: - **OPEN**: Publicly accessible without restrictions - **TOKEN**: Access via RFID token or card - **LICENSE_PLATE**: Access via license plate recognition - **ACCESS_CODE**: Access via PIN/access code entry - **INTERCOM**: Access via intercom system - **PARKING_TICKET**: Access via parking ticket validation"
|
|
21823
21976
|
}
|
|
21824
21977
|
},
|
|
21825
21978
|
"required": [
|
|
@@ -22842,6 +22995,18 @@
|
|
|
22842
22995
|
"items": {
|
|
22843
22996
|
"type": "string"
|
|
22844
22997
|
}
|
|
22998
|
+
},
|
|
22999
|
+
"accessMethods": {
|
|
23000
|
+
"type": "array",
|
|
23001
|
+
"items": {
|
|
23002
|
+
"type": "string"
|
|
23003
|
+
},
|
|
23004
|
+
"example": [
|
|
23005
|
+
"OPEN",
|
|
23006
|
+
"TOKEN"
|
|
23007
|
+
],
|
|
23008
|
+
"nullable": true,
|
|
23009
|
+
"description": "Physical access methods available at this location. Multiple methods can be selected if the site supports different access types. **Request behavior**: Send `null` to clear, `[]` for empty, omit to leave unchanged. **Available methods**: - **OPEN**: Publicly accessible without restrictions - **TOKEN**: Access via RFID token or card - **LICENSE_PLATE**: Access via license plate recognition - **ACCESS_CODE**: Access via PIN/access code entry - **INTERCOM**: Access via intercom system - **PARKING_TICKET**: Access via parking ticket validation"
|
|
22845
23010
|
}
|
|
22846
23011
|
}
|
|
22847
23012
|
}
|
|
@@ -27228,6 +27393,9 @@
|
|
|
27228
27393
|
"404": {
|
|
27229
27394
|
"description": "The record is not found"
|
|
27230
27395
|
},
|
|
27396
|
+
"409": {
|
|
27397
|
+
"description": "Conflict"
|
|
27398
|
+
},
|
|
27231
27399
|
"422": {
|
|
27232
27400
|
"description": "The payload you provided is invalid"
|
|
27233
27401
|
},
|
|
@@ -40933,7 +41101,7 @@
|
|
|
40933
41101
|
],
|
|
40934
41102
|
"info": {
|
|
40935
41103
|
"title": "AMPECO.CHARGE Public API",
|
|
40936
|
-
"version": "3.
|
|
41104
|
+
"version": "3.104.2",
|
|
40937
41105
|
"description": "AMPECO.CHARGE Public API provides you with the option to use AMPECO.CHARGE's backend in a server-to-server manner\n"
|
|
40938
41106
|
},
|
|
40939
41107
|
"servers": [
|
|
@@ -40947,18 +41115,18 @@
|
|
|
40947
41115
|
}
|
|
40948
41116
|
}
|
|
40949
41117
|
],
|
|
40950
|
-
"buildTimestamp": "2025-11-
|
|
41118
|
+
"buildTimestamp": "2025-11-26T19:23:27.023Z",
|
|
40951
41119
|
"stats": {
|
|
40952
|
-
"totalEndpoints":
|
|
40953
|
-
"originalSize":
|
|
40954
|
-
"optimizedSize":
|
|
40955
|
-
"reductionPercent": 70.
|
|
40956
|
-
"buildDuration":
|
|
41120
|
+
"totalEndpoints": 446,
|
|
41121
|
+
"originalSize": 2609623,
|
|
41122
|
+
"optimizedSize": 765864,
|
|
41123
|
+
"reductionPercent": 70.65,
|
|
41124
|
+
"buildDuration": 611,
|
|
40957
41125
|
"responseSchemas": {
|
|
40958
|
-
"total":
|
|
40959
|
-
"withSchemas":
|
|
40960
|
-
"totalSchemaSize":
|
|
40961
|
-
"averageSchemaSize":
|
|
41126
|
+
"total": 446,
|
|
41127
|
+
"withSchemas": 446,
|
|
41128
|
+
"totalSchemaSize": 1439866,
|
|
41129
|
+
"averageSchemaSize": 3228
|
|
40962
41130
|
}
|
|
40963
41131
|
}
|
|
40964
41132
|
}
|