@ampeco/public-api-mcp 0.4.0 → 3.98.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.
@@ -1,13 +1,13 @@
1
1
  {
2
- "totalEndpoints": 443,
3
- "originalSize": 2500150,
4
- "optimizedSize": 747039,
5
- "reductionPercent": 70.12,
2
+ "totalEndpoints": 445,
3
+ "originalSize": 2518588,
4
+ "optimizedSize": 753756,
5
+ "reductionPercent": 70.07,
6
6
  "buildDuration": 696,
7
7
  "responseSchemas": {
8
- "total": 443,
9
- "withSchemas": 443,
10
- "totalSchemaSize": 1364361,
11
- "averageSchemaSize": 3080
8
+ "total": 445,
9
+ "withSchemas": 445,
10
+ "totalSchemaSize": 1374995,
11
+ "averageSchemaSize": 3090
12
12
  }
13
13
  }
@@ -2492,6 +2492,128 @@
2492
2492
  }
2493
2493
  }
2494
2494
  },
2495
+ {
2496
+ "path": "/public-api/actions/installer-job/v1.0/{installerJob}/assign-charge-points",
2497
+ "method": "POST",
2498
+ "operationId": "assignInstallerJobChargePoints",
2499
+ "summary": "Actions / Assign Charge Points",
2500
+ "description": "Assign charge points to an installer job",
2501
+ "tags": [
2502
+ "action / installer job"
2503
+ ],
2504
+ "requestBody": {
2505
+ "required": true,
2506
+ "content": {
2507
+ "application/json": {
2508
+ "schema": {
2509
+ "type": "object",
2510
+ "properties": {
2511
+ "chargePointIds": {
2512
+ "type": "array",
2513
+ "items": {
2514
+ "type": "integer"
2515
+ },
2516
+ "description": "List of charge point IDs to be assigned to the installer job, if passed chargingZoneId and locationId will be ignored"
2517
+ },
2518
+ "chargingZoneId": {
2519
+ "type": "integer",
2520
+ "description": "The ID of the charging zone, if passed and chargePointIds are not provided, all the charge points in the specified charging zone will be assigned to the installer job and locationId will be ignored"
2521
+ },
2522
+ "locationId": {
2523
+ "type": "integer",
2524
+ "description": "The ID of the location, if passed and neither chargePointIds nor chargingZoneId are provided, all charge points in the specified location will be assigned to the installer job"
2525
+ }
2526
+ }
2527
+ }
2528
+ }
2529
+ }
2530
+ },
2531
+ "responses": {
2532
+ "202": {
2533
+ "description": "Action accepted"
2534
+ },
2535
+ "401": {
2536
+ "description": "Access token is missing or invalid"
2537
+ },
2538
+ "403": {
2539
+ "description": "You do not have permission to perform the action"
2540
+ },
2541
+ "404": {
2542
+ "description": "The record is not found"
2543
+ },
2544
+ "406": {
2545
+ "description": "Action rejected, possible reason could be if none of locationId, chargingZoneId or chargePointIds is provided"
2546
+ },
2547
+ "422": {
2548
+ "description": "The payload you provided is invalid"
2549
+ },
2550
+ "429": {
2551
+ "description": "Too many requests. Please try again later. For more information, please check the rate limit headers X-RateLimit-*"
2552
+ }
2553
+ }
2554
+ },
2555
+ {
2556
+ "path": "/public-api/actions/installer-job/v1.0/{installerJob}/change-status",
2557
+ "method": "POST",
2558
+ "operationId": "changeInstallerJobStatus",
2559
+ "summary": "Actions / Change Status",
2560
+ "description": "Change the status of an installer job",
2561
+ "tags": [
2562
+ "action / installer job"
2563
+ ],
2564
+ "requestBody": {
2565
+ "required": true,
2566
+ "content": {
2567
+ "application/json": {
2568
+ "schema": {
2569
+ "type": "object",
2570
+ "properties": {
2571
+ "status": {
2572
+ "type": "string",
2573
+ "enum": [
2574
+ "new",
2575
+ "in_progress",
2576
+ "completed",
2577
+ "failed"
2578
+ ],
2579
+ "description": "The status of the installer job"
2580
+ },
2581
+ "outcomeDetails": {
2582
+ "type": "string",
2583
+ "description": "The outcome details of the installer job, ignored if the status is not \"completed\" or \"failed\""
2584
+ }
2585
+ },
2586
+ "required": [
2587
+ "status"
2588
+ ]
2589
+ }
2590
+ }
2591
+ }
2592
+ },
2593
+ "responses": {
2594
+ "202": {
2595
+ "description": "Action accepted"
2596
+ },
2597
+ "401": {
2598
+ "description": "Access token is missing or invalid"
2599
+ },
2600
+ "403": {
2601
+ "description": "You do not have permission to perform the action"
2602
+ },
2603
+ "404": {
2604
+ "description": "The record is not found"
2605
+ },
2606
+ "406": {
2607
+ "description": "Action rejected, possible reason could be if if the existing status is already the same as provided"
2608
+ },
2609
+ "422": {
2610
+ "description": "The payload you provided is invalid"
2611
+ },
2612
+ "429": {
2613
+ "description": "Too many requests. Please try again later. For more information, please check the rate limit headers X-RateLimit-*"
2614
+ }
2615
+ }
2616
+ },
2495
2617
  {
2496
2618
  "path": "/public-api/actions/locations/v2.0/{location}/check-booking-availability",
2497
2619
  "method": "POST",
@@ -27859,7 +27981,8 @@
27859
27981
  "Pax",
27860
27982
  "Windcave",
27861
27983
  "Web portal",
27862
- "AdyenCastles"
27984
+ "AdyenCastles",
27985
+ "Printec Castles"
27863
27986
  ]
27864
27987
  },
27865
27988
  "chargingZoneId": {
@@ -27954,7 +28077,8 @@
27954
28077
  "Pax",
27955
28078
  "Windcave",
27956
28079
  "Web portal",
27957
- "AdyenCastles"
28080
+ "AdyenCastles",
28081
+ "Printec Castles"
27958
28082
  ]
27959
28083
  },
27960
28084
  "operatorId": {
@@ -28082,7 +28206,8 @@
28082
28206
  "Pax",
28083
28207
  "Windcave",
28084
28208
  "Web portal",
28085
- "AdyenCastles"
28209
+ "AdyenCastles",
28210
+ "Printec Castles"
28086
28211
  ]
28087
28212
  },
28088
28213
  "operatorId": {
@@ -28135,7 +28260,8 @@
28135
28260
  "Pax",
28136
28261
  "Windcave",
28137
28262
  "Web portal",
28138
- "AdyenCastles"
28263
+ "AdyenCastles",
28264
+ "Printec Castles"
28139
28265
  ]
28140
28266
  },
28141
28267
  "operatorId": {
@@ -28194,7 +28320,8 @@
28194
28320
  "Pax",
28195
28321
  "Windcave",
28196
28322
  "Web portal",
28197
- "AdyenCastles"
28323
+ "AdyenCastles",
28324
+ "Printec Castles"
28198
28325
  ]
28199
28326
  },
28200
28327
  "operatorId": {
@@ -28251,7 +28378,8 @@
28251
28378
  "Pax",
28252
28379
  "Windcave",
28253
28380
  "Web portal",
28254
- "AdyenCastles"
28381
+ "AdyenCastles",
28382
+ "Printec Castles"
28255
28383
  ]
28256
28384
  },
28257
28385
  "operatorId": {
@@ -28303,7 +28431,8 @@
28303
28431
  "Pax",
28304
28432
  "Windcave",
28305
28433
  "Web portal",
28306
- "AdyenCastles"
28434
+ "AdyenCastles",
28435
+ "Printec Castles"
28307
28436
  ]
28308
28437
  },
28309
28438
  "operatorId": {
@@ -28383,7 +28512,8 @@
28383
28512
  "Pax",
28384
28513
  "Windcave",
28385
28514
  "Web portal",
28386
- "AdyenCastles"
28515
+ "AdyenCastles",
28516
+ "Printec Castles"
28387
28517
  ]
28388
28518
  },
28389
28519
  "operatorId": {
@@ -28435,7 +28565,8 @@
28435
28565
  "Pax",
28436
28566
  "Windcave",
28437
28567
  "Web portal",
28438
- "AdyenCastles"
28568
+ "AdyenCastles",
28569
+ "Printec Castles"
28439
28570
  ]
28440
28571
  },
28441
28572
  "operatorId": {
@@ -28503,7 +28634,8 @@
28503
28634
  "Pax",
28504
28635
  "Windcave",
28505
28636
  "Web portal",
28506
- "AdyenCastles"
28637
+ "AdyenCastles",
28638
+ "Printec Castles"
28507
28639
  ]
28508
28640
  },
28509
28641
  "operatorId": {
@@ -28593,6 +28725,135 @@
28593
28725
  "terminalType",
28594
28726
  "operatorId"
28595
28727
  ]
28728
+ },
28729
+ {
28730
+ "type": "object",
28731
+ "properties": {
28732
+ "id": {
28733
+ "type": "integer"
28734
+ },
28735
+ "name": {
28736
+ "type": "string"
28737
+ },
28738
+ "integrationId": {
28739
+ "type": "integer"
28740
+ },
28741
+ "terminalType": {
28742
+ "type": "string",
28743
+ "enum": [
28744
+ "Payter",
28745
+ "Valina",
28746
+ "Crane",
28747
+ "Ampeco",
28748
+ "Nayax",
28749
+ "Embedded",
28750
+ "Pax",
28751
+ "Windcave",
28752
+ "Web portal",
28753
+ "AdyenCastles",
28754
+ "Printec Castles"
28755
+ ]
28756
+ },
28757
+ "operatorId": {
28758
+ "type": "integer"
28759
+ },
28760
+ "chargingZoneId": {
28761
+ "type": "integer",
28762
+ "description": "The charging zone the terminal belongs to. Note that either the `chargePointId` OR this attribute should be provided;"
28763
+ },
28764
+ "chargePointId": {
28765
+ "type": "integer",
28766
+ "description": "The Charge point the terminal belongs to. Note that either the `chargingZoneId` OR this attribute should be provided;"
28767
+ },
28768
+ "adminToken": {
28769
+ "type": "string",
28770
+ "description": "Specific token, linked to each terminal that can be used for access to the API. The token is created automatically when a new payment terminal is created."
28771
+ },
28772
+ "networkStatus": {
28773
+ "type": "string",
28774
+ "enum": [
28775
+ "online",
28776
+ "offline",
28777
+ "unknown"
28778
+ ]
28779
+ },
28780
+ "phone": {
28781
+ "type": "string"
28782
+ },
28783
+ "defaultLanguage": {
28784
+ "type": "string"
28785
+ },
28786
+ "presentCardOnStopSession": {
28787
+ "type": "boolean",
28788
+ "default": false
28789
+ },
28790
+ "info": {
28791
+ "type": "array",
28792
+ "items": {
28793
+ "type": "object",
28794
+ "properties": {
28795
+ "locale": {
28796
+ "type": "string",
28797
+ "description": "valid locale"
28798
+ },
28799
+ "translation": {
28800
+ "type": "string"
28801
+ }
28802
+ }
28803
+ }
28804
+ },
28805
+ "currencyCode": {
28806
+ "type": "string"
28807
+ },
28808
+ "countryCode": {
28809
+ "type": "string",
28810
+ "description": "ISO 3166-1 alpha-2 country code"
28811
+ },
28812
+ "serialNumber": {
28813
+ "type": "string"
28814
+ },
28815
+ "externalId": {
28816
+ "type": "string"
28817
+ },
28818
+ "supportedLanguages": {
28819
+ "type": "array",
28820
+ "items": {
28821
+ "type": "string"
28822
+ },
28823
+ "nullable": true
28824
+ },
28825
+ "bundle": {
28826
+ "type": "object",
28827
+ "properties": {
28828
+ "version": {
28829
+ "type": "string",
28830
+ "example": [
28831
+ "1.0.0",
28832
+ "1.0.1",
28833
+ "2.1.0"
28834
+ ],
28835
+ "description": "Desired version of the terminal android bundle. This field should be used to detect version difference between the actual one running on the terminal and the configured on the server, in order to detect if an OTA update is required."
28836
+ },
28837
+ "downloadUrl": {
28838
+ "type": "string",
28839
+ "description": "Download link to the archived (zip) bundle version. Can be used to download the bundle and initiate the OTA update on the terminal."
28840
+ }
28841
+ }
28842
+ },
28843
+ "networkStatusMonitoringEnabled": {
28844
+ "type": "boolean"
28845
+ }
28846
+ },
28847
+ "required": [
28848
+ "phone",
28849
+ "defaultLanguage",
28850
+ "info",
28851
+ "bundle",
28852
+ "name",
28853
+ "integrationId",
28854
+ "terminalType",
28855
+ "operatorId"
28856
+ ]
28596
28857
  }
28597
28858
  ]
28598
28859
  }
@@ -28710,7 +28971,8 @@
28710
28971
  "Pax",
28711
28972
  "Windcave",
28712
28973
  "Web portal",
28713
- "AdyenCastles"
28974
+ "AdyenCastles",
28975
+ "Printec Castles"
28714
28976
  ]
28715
28977
  },
28716
28978
  "operatorId": {
@@ -28791,7 +29053,8 @@
28791
29053
  "Pax",
28792
29054
  "Windcave",
28793
29055
  "Web portal",
28794
- "AdyenCastles"
29056
+ "AdyenCastles",
29057
+ "Printec Castles"
28795
29058
  ]
28796
29059
  },
28797
29060
  "operatorId": {
@@ -28885,7 +29148,8 @@
28885
29148
  "Pax",
28886
29149
  "Windcave",
28887
29150
  "Web portal",
28888
- "AdyenCastles"
29151
+ "AdyenCastles",
29152
+ "Printec Castles"
28889
29153
  ]
28890
29154
  },
28891
29155
  "operatorId": {
@@ -28931,7 +29195,8 @@
28931
29195
  "Pax",
28932
29196
  "Windcave",
28933
29197
  "Web portal",
28934
- "AdyenCastles"
29198
+ "AdyenCastles",
29199
+ "Printec Castles"
28935
29200
  ]
28936
29201
  },
28937
29202
  "operatorId": {
@@ -28984,7 +29249,8 @@
28984
29249
  "Pax",
28985
29250
  "Windcave",
28986
29251
  "Web portal",
28987
- "AdyenCastles"
29252
+ "AdyenCastles",
29253
+ "Printec Castles"
28988
29254
  ]
28989
29255
  },
28990
29256
  "operatorId": {
@@ -29034,7 +29300,8 @@
29034
29300
  "Pax",
29035
29301
  "Windcave",
29036
29302
  "Web portal",
29037
- "AdyenCastles"
29303
+ "AdyenCastles",
29304
+ "Printec Castles"
29038
29305
  ]
29039
29306
  },
29040
29307
  "operatorId": {
@@ -29080,7 +29347,8 @@
29080
29347
  "Pax",
29081
29348
  "Windcave",
29082
29349
  "Web portal",
29083
- "AdyenCastles"
29350
+ "AdyenCastles",
29351
+ "Printec Castles"
29084
29352
  ]
29085
29353
  },
29086
29354
  "operatorId": {
@@ -29151,7 +29419,8 @@
29151
29419
  "Pax",
29152
29420
  "Windcave",
29153
29421
  "Web portal",
29154
- "AdyenCastles"
29422
+ "AdyenCastles",
29423
+ "Printec Castles"
29155
29424
  ]
29156
29425
  },
29157
29426
  "operatorId": {
@@ -29197,7 +29466,8 @@
29197
29466
  "Pax",
29198
29467
  "Windcave",
29199
29468
  "Web portal",
29200
- "AdyenCastles"
29469
+ "AdyenCastles",
29470
+ "Printec Castles"
29201
29471
  ]
29202
29472
  },
29203
29473
  "operatorId": {
@@ -29229,7 +29499,8 @@
29229
29499
  "Pax",
29230
29500
  "Windcave",
29231
29501
  "Web portal",
29232
- "AdyenCastles"
29502
+ "AdyenCastles",
29503
+ "Printec Castles"
29233
29504
  ]
29234
29505
  },
29235
29506
  "operatorId": {
@@ -29298,8 +29569,100 @@
29298
29569
  "type": "array",
29299
29570
  "items": {
29300
29571
  "type": "string"
29301
- },
29302
- "nullable": true
29572
+ }
29573
+ },
29574
+ "networkStatusMonitoringEnabled": {
29575
+ "type": "boolean"
29576
+ }
29577
+ }
29578
+ },
29579
+ {
29580
+ "type": "object",
29581
+ "properties": {
29582
+ "id": {
29583
+ "type": "integer"
29584
+ },
29585
+ "name": {
29586
+ "type": "string"
29587
+ },
29588
+ "integrationId": {
29589
+ "type": "integer"
29590
+ },
29591
+ "terminalType": {
29592
+ "type": "string",
29593
+ "enum": [
29594
+ "Payter",
29595
+ "Valina",
29596
+ "Crane",
29597
+ "Ampeco",
29598
+ "Nayax",
29599
+ "Embedded",
29600
+ "Pax",
29601
+ "Windcave",
29602
+ "Web portal",
29603
+ "AdyenCastles",
29604
+ "Printec Castles"
29605
+ ]
29606
+ },
29607
+ "operatorId": {
29608
+ "type": "integer"
29609
+ },
29610
+ "chargingZoneId": {
29611
+ "type": "integer",
29612
+ "description": "The charging zone the terminal belongs to. Note that either the `chargePointId` OR this attribute should be provided;"
29613
+ },
29614
+ "chargePointId": {
29615
+ "type": "integer",
29616
+ "description": "The Charge point the terminal belongs to. Note that either the `chargingZoneId` OR this attribute should be provided;"
29617
+ },
29618
+ "adminToken": {
29619
+ "type": "string",
29620
+ "description": "Specific token, linked to each terminal that can be used for access to the API. The token is created automatically when a new payment terminal is created."
29621
+ },
29622
+ "networkStatus": {
29623
+ "type": "string",
29624
+ "enum": [
29625
+ "online",
29626
+ "offline",
29627
+ "unknown"
29628
+ ]
29629
+ },
29630
+ "phone": {
29631
+ "type": "string"
29632
+ },
29633
+ "defaultLanguage": {
29634
+ "type": "string"
29635
+ },
29636
+ "presentCardOnStopSession": {
29637
+ "type": "boolean",
29638
+ "default": false
29639
+ },
29640
+ "info": {
29641
+ "type": "array",
29642
+ "items": {
29643
+ "type": "object",
29644
+ "properties": {
29645
+ "locale": {
29646
+ "type": "string",
29647
+ "description": "valid locale"
29648
+ },
29649
+ "translation": {
29650
+ "type": "string"
29651
+ }
29652
+ }
29653
+ }
29654
+ },
29655
+ "serialNumber": {
29656
+ "type": "string"
29657
+ },
29658
+ "externalId": {
29659
+ "type": "string"
29660
+ },
29661
+ "supportedLanguages": {
29662
+ "type": "array",
29663
+ "items": {
29664
+ "type": "string"
29665
+ }
29303
29666
  },
29304
29667
  "networkStatusMonitoringEnabled": {
29305
29668
  "type": "boolean"
@@ -40474,7 +40837,7 @@
40474
40837
  ],
40475
40838
  "info": {
40476
40839
  "title": "AMPECO.CHARGE Public API",
40477
- "version": "3.97.8",
40840
+ "version": "3.98.1",
40478
40841
  "description": "AMPECO.CHARGE Public API provides you with the option to use AMPECO.CHARGE's backend in a server-to-server manner\n"
40479
40842
  },
40480
40843
  "servers": [
@@ -40488,18 +40851,18 @@
40488
40851
  }
40489
40852
  }
40490
40853
  ],
40491
- "buildTimestamp": "2025-10-14T12:10:31.549Z",
40854
+ "buildTimestamp": "2025-10-17T10:07:04.630Z",
40492
40855
  "stats": {
40493
- "totalEndpoints": 443,
40494
- "originalSize": 2500150,
40495
- "optimizedSize": 747039,
40496
- "reductionPercent": 70.12,
40856
+ "totalEndpoints": 445,
40857
+ "originalSize": 2518588,
40858
+ "optimizedSize": 753756,
40859
+ "reductionPercent": 70.07,
40497
40860
  "buildDuration": 696,
40498
40861
  "responseSchemas": {
40499
- "total": 443,
40500
- "withSchemas": 443,
40501
- "totalSchemaSize": 1364361,
40502
- "averageSchemaSize": 3080
40862
+ "total": 445,
40863
+ "withSchemas": 445,
40864
+ "totalSchemaSize": 1374995,
40865
+ "averageSchemaSize": 3090
40503
40866
  }
40504
40867
  }
40505
40868
  }