@ampeco/public-api-mcp 3.227.4 → 3.228.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
2
|
"totalEndpoints": 623,
|
|
3
|
-
"originalSize":
|
|
4
|
-
"optimizedSize":
|
|
5
|
-
"reductionPercent": 71.
|
|
6
|
-
"buildDuration":
|
|
3
|
+
"originalSize": 5371059,
|
|
4
|
+
"optimizedSize": 1528498,
|
|
5
|
+
"reductionPercent": 71.54,
|
|
6
|
+
"buildDuration": 932,
|
|
7
7
|
"responseSchemas": {
|
|
8
8
|
"total": 623,
|
|
9
9
|
"withSchemas": 623,
|
|
10
|
-
"totalSchemaSize":
|
|
11
|
-
"averageSchemaSize":
|
|
10
|
+
"totalSchemaSize": 3069417,
|
|
11
|
+
"averageSchemaSize": 4927
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -1049,7 +1049,7 @@
|
|
|
1049
1049
|
},
|
|
1050
1050
|
"idTag": {
|
|
1051
1051
|
"type": "string",
|
|
1052
|
-
"description": "Optional identifier tag for the charging session (e.g., RFID UID, authorization token). This value will be stored in the session's `idTag` field and can be used for filtering sessions."
|
|
1052
|
+
"description": "Optional identifier tag for the charging session (e.g., RFID UID, authorization token). This value will be stored in the session's `idTag` field and can be used for filtering sessions. For operator-initiated sessions, the system also looks for a matching RFID card within the resolved operator's card list and links it to the session when found. If no matching card is found, the session remains unlinked and the submitted value remains available in the Business Data session export."
|
|
1053
1053
|
},
|
|
1054
1054
|
"connectorId": {
|
|
1055
1055
|
"type": "integer",
|
|
@@ -1149,7 +1149,7 @@
|
|
|
1149
1149
|
},
|
|
1150
1150
|
"idTag": {
|
|
1151
1151
|
"type": "string",
|
|
1152
|
-
"description": "Optional identifier tag for the charging session (e.g., RFID UID, authorization token). This value will be stored in the session's `idTag` field and can be used for filtering sessions."
|
|
1152
|
+
"description": "Optional identifier tag for the charging session (e.g., RFID UID, authorization token). This value will be stored in the session's `idTag` field and can be used for filtering sessions. For operator-initiated sessions, the system also looks for a matching RFID card within the resolved operator's card list and links it to the session when found. If no matching card is found, the session remains unlinked and the submitted value remains available in the Business Data session export."
|
|
1153
1153
|
},
|
|
1154
1154
|
"connectorId": {
|
|
1155
1155
|
"type": "integer",
|
|
@@ -2957,7 +2957,7 @@
|
|
|
2957
2957
|
},
|
|
2958
2958
|
"idTag": {
|
|
2959
2959
|
"type": "string",
|
|
2960
|
-
"description": "Optional identifier tag for the charging session (e.g., RFID UID, authorization token). This value will be stored in the session's `idTag` field and can be used for filtering sessions."
|
|
2960
|
+
"description": "Optional identifier tag for the charging session (e.g., RFID UID, authorization token). This value will be stored in the session's `idTag` field and can be used for filtering sessions. For operator-initiated sessions, the system also looks for a matching RFID card within the resolved operator's card list and links it to the session when found. If no matching card is found, the session remains unlinked and the submitted value remains available in the Business Data session export."
|
|
2961
2961
|
},
|
|
2962
2962
|
"connectorId": {
|
|
2963
2963
|
"type": "integer",
|
|
@@ -3947,7 +3947,7 @@
|
|
|
3947
3947
|
"method": "POST",
|
|
3948
3948
|
"operationId": "partnerSettlementReportIssuePartnerInvoice",
|
|
3949
3949
|
"summary": "Partner settlement report / Issue partner invoice",
|
|
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
|
|
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 and must not already have been invoiced. Both balance directions are eligible. When expenses are greater than or equal to revenue, the action produces a regular partner invoice on which the operator is the seller. When expenses are lower than revenue, the balance is in the partner's favor and the action produces a self-billing invoice on which the partner is the seller. Invoice generation runs asynchronously after the request is accepted. Poll the settlement report read endpoint and check `partnerInvoiceId` for completion.",
|
|
3951
3951
|
"tags": [
|
|
3952
3952
|
"action / partner settlement report"
|
|
3953
3953
|
],
|
|
@@ -60793,6 +60793,11 @@
|
|
|
60793
60793
|
],
|
|
60794
60794
|
"description": "Only list transactions by type of payment method. For card-network values, prefer the `filter[cardNetwork]` filter. Wallet-type filtering is available only through this filter."
|
|
60795
60795
|
},
|
|
60796
|
+
"totalAmount": {
|
|
60797
|
+
"type": "number",
|
|
60798
|
+
"minimum": 0,
|
|
60799
|
+
"description": "Exact match on the transaction's total amount, in any currency; combined with other filters using AND. When no `cardLast4`, `finalizedAfter`, or `finalizedBefore` is supplied, results are scoped to transactions finalized within the last 30 days."
|
|
60800
|
+
},
|
|
60796
60801
|
"cardNetwork": {
|
|
60797
60802
|
"type": "array",
|
|
60798
60803
|
"items": {
|
|
@@ -60832,6 +60837,12 @@
|
|
|
60832
60837
|
"pattern": "^\\d{6,8}$",
|
|
60833
60838
|
"description": "Only list transactions by bank identification number, using a 6- to 8-digit value. This filter is combined with other filters using AND logic."
|
|
60834
60839
|
},
|
|
60840
|
+
"cardLast4": {
|
|
60841
|
+
"type": "string",
|
|
60842
|
+
"maxLength": 4,
|
|
60843
|
+
"pattern": "^\\d{4}$",
|
|
60844
|
+
"description": "Only list transactions matching the exact four digits stored in the card payment snapshot. This filter is combined with other filters using AND logic and applies across the full transaction history without an automatic date limit."
|
|
60845
|
+
},
|
|
60835
60846
|
"fingerprint": {
|
|
60836
60847
|
"type": "string",
|
|
60837
60848
|
"description": "Only list transactions by card fingerprint. This filter is combined with other filters using AND logic."
|
|
@@ -60998,6 +61009,9 @@
|
|
|
60998
61009
|
"403": {
|
|
60999
61010
|
"description": "You do not have permission to perform the action"
|
|
61000
61011
|
},
|
|
61012
|
+
"422": {
|
|
61013
|
+
"description": "The payload you provided is invalid"
|
|
61014
|
+
},
|
|
61001
61015
|
"429": {
|
|
61002
61016
|
"description": "Too many requests. Please try again later. For more information, please check the rate limit headers X-RateLimit-*"
|
|
61003
61017
|
}
|
|
@@ -69400,7 +69414,7 @@
|
|
|
69400
69414
|
],
|
|
69401
69415
|
"info": {
|
|
69402
69416
|
"title": "Public API",
|
|
69403
|
-
"version": "3.
|
|
69417
|
+
"version": "3.228.1",
|
|
69404
69418
|
"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"
|
|
69405
69419
|
},
|
|
69406
69420
|
"servers": [
|
|
@@ -69414,18 +69428,18 @@
|
|
|
69414
69428
|
}
|
|
69415
69429
|
}
|
|
69416
69430
|
],
|
|
69417
|
-
"buildTimestamp": "2026-08-
|
|
69431
|
+
"buildTimestamp": "2026-08-06T14:30:42.340Z",
|
|
69418
69432
|
"stats": {
|
|
69419
69433
|
"totalEndpoints": 623,
|
|
69420
|
-
"originalSize":
|
|
69421
|
-
"optimizedSize":
|
|
69422
|
-
"reductionPercent": 71.
|
|
69423
|
-
"buildDuration":
|
|
69434
|
+
"originalSize": 5371059,
|
|
69435
|
+
"optimizedSize": 1528498,
|
|
69436
|
+
"reductionPercent": 71.54,
|
|
69437
|
+
"buildDuration": 932,
|
|
69424
69438
|
"responseSchemas": {
|
|
69425
69439
|
"total": 623,
|
|
69426
69440
|
"withSchemas": 623,
|
|
69427
|
-
"totalSchemaSize":
|
|
69428
|
-
"averageSchemaSize":
|
|
69441
|
+
"totalSchemaSize": 3069417,
|
|
69442
|
+
"averageSchemaSize": 4927
|
|
69429
69443
|
}
|
|
69430
69444
|
}
|
|
69431
69445
|
}
|
|
@@ -5573,6 +5573,24 @@
|
|
|
5573
5573
|
],
|
|
5574
5574
|
"example": "invoice"
|
|
5575
5575
|
},
|
|
5576
|
+
"sellerType": {
|
|
5577
|
+
"description": "Party type on a partner invoice:\n- **operator**: The party is the operator issuing or receiving the invoice.\n- **partner**: The party is the partner the invoice is issued to or from.\n",
|
|
5578
|
+
"type": "string",
|
|
5579
|
+
"enum": [
|
|
5580
|
+
"operator",
|
|
5581
|
+
"partner"
|
|
5582
|
+
],
|
|
5583
|
+
"example": "operator"
|
|
5584
|
+
},
|
|
5585
|
+
"buyerType": {
|
|
5586
|
+
"description": "Party type on a partner invoice:\n- **operator**: The party is the operator issuing or receiving the invoice.\n- **partner**: The party is the partner the invoice is issued to or from.\n",
|
|
5587
|
+
"type": "string",
|
|
5588
|
+
"enum": [
|
|
5589
|
+
"operator",
|
|
5590
|
+
"partner"
|
|
5591
|
+
],
|
|
5592
|
+
"example": "operator"
|
|
5593
|
+
},
|
|
5576
5594
|
"issuedOn": {
|
|
5577
5595
|
"type": "string",
|
|
5578
5596
|
"format": "date",
|
|
@@ -5809,7 +5827,7 @@
|
|
|
5809
5827
|
"description": "Identifier of the original partner invoice that this credit note cancels. Present only when `type` is `credit_note`."
|
|
5810
5828
|
},
|
|
5811
5829
|
"seller": {
|
|
5812
|
-
"description": "Seller details captured at the time of invoice generation. The operator is the seller
|
|
5830
|
+
"description": "Seller details captured at the time of invoice generation. The operator is the seller on a regular partner invoice; the partner is the seller on a self-billing invoice.",
|
|
5813
5831
|
"type": "object",
|
|
5814
5832
|
"properties": {
|
|
5815
5833
|
"type": {
|
|
@@ -6558,7 +6576,7 @@
|
|
|
6558
6576
|
"originType"
|
|
6559
6577
|
]
|
|
6560
6578
|
},
|
|
6561
|
-
"description": "Line items snapshotted from the source settlement report.
|
|
6579
|
+
"description": "Line items snapshotted from the source settlement report. On a regular partner invoice revenue entries appear as credits and expense entries as charges; on a self-billing invoice the directions are inverted, with revenue entries as charges and expense entries as deductions."
|
|
6562
6580
|
},
|
|
6563
6581
|
"taxBreakdown": {
|
|
6564
6582
|
"type": "array",
|
|
@@ -6594,6 +6612,8 @@
|
|
|
6594
6612
|
"settlementReportId",
|
|
6595
6613
|
"number",
|
|
6596
6614
|
"type",
|
|
6615
|
+
"sellerType",
|
|
6616
|
+
"buyerType",
|
|
6597
6617
|
"issuedOn",
|
|
6598
6618
|
"dueOn",
|
|
6599
6619
|
"paymentTermsDays",
|
|
@@ -6707,6 +6727,24 @@
|
|
|
6707
6727
|
],
|
|
6708
6728
|
"example": "invoice"
|
|
6709
6729
|
},
|
|
6730
|
+
"sellerType": {
|
|
6731
|
+
"description": "Party type on a partner invoice:\n- **operator**: The party is the operator issuing or receiving the invoice.\n- **partner**: The party is the partner the invoice is issued to or from.\n",
|
|
6732
|
+
"type": "string",
|
|
6733
|
+
"enum": [
|
|
6734
|
+
"operator",
|
|
6735
|
+
"partner"
|
|
6736
|
+
],
|
|
6737
|
+
"example": "operator"
|
|
6738
|
+
},
|
|
6739
|
+
"buyerType": {
|
|
6740
|
+
"description": "Party type on a partner invoice:\n- **operator**: The party is the operator issuing or receiving the invoice.\n- **partner**: The party is the partner the invoice is issued to or from.\n",
|
|
6741
|
+
"type": "string",
|
|
6742
|
+
"enum": [
|
|
6743
|
+
"operator",
|
|
6744
|
+
"partner"
|
|
6745
|
+
],
|
|
6746
|
+
"example": "operator"
|
|
6747
|
+
},
|
|
6710
6748
|
"issuedOn": {
|
|
6711
6749
|
"type": "string",
|
|
6712
6750
|
"format": "date",
|
|
@@ -6943,7 +6981,7 @@
|
|
|
6943
6981
|
"description": "Identifier of the original partner invoice that this credit note cancels. Present only when `type` is `credit_note`."
|
|
6944
6982
|
},
|
|
6945
6983
|
"seller": {
|
|
6946
|
-
"description": "Seller details captured at the time of invoice generation. The operator is the seller
|
|
6984
|
+
"description": "Seller details captured at the time of invoice generation. The operator is the seller on a regular partner invoice; the partner is the seller on a self-billing invoice.",
|
|
6947
6985
|
"type": "object",
|
|
6948
6986
|
"properties": {
|
|
6949
6987
|
"type": {
|
|
@@ -7692,7 +7730,7 @@
|
|
|
7692
7730
|
"originType"
|
|
7693
7731
|
]
|
|
7694
7732
|
},
|
|
7695
|
-
"description": "Line items snapshotted from the source settlement report.
|
|
7733
|
+
"description": "Line items snapshotted from the source settlement report. On a regular partner invoice revenue entries appear as credits and expense entries as charges; on a self-billing invoice the directions are inverted, with revenue entries as charges and expense entries as deductions."
|
|
7696
7734
|
},
|
|
7697
7735
|
"taxBreakdown": {
|
|
7698
7736
|
"type": "array",
|
|
@@ -7728,6 +7766,8 @@
|
|
|
7728
7766
|
"settlementReportId",
|
|
7729
7767
|
"number",
|
|
7730
7768
|
"type",
|
|
7769
|
+
"sellerType",
|
|
7770
|
+
"buyerType",
|
|
7731
7771
|
"issuedOn",
|
|
7732
7772
|
"dueOn",
|
|
7733
7773
|
"paymentTermsDays",
|
|
@@ -14253,7 +14293,7 @@
|
|
|
14253
14293
|
"properties": {
|
|
14254
14294
|
"data": {
|
|
14255
14295
|
"type": "object",
|
|
14256
|
-
"description": "Authorization.\n\nReturned by the deprecated Authorization / Read (v1.0) endpoint
|
|
14296
|
+
"description": "Authorization.\n\nReturned by the deprecated Authorization / Read (v1.0) endpoint. Session responses and session\nwebhook notifications embed the session authorization schema instead.\n",
|
|
14257
14297
|
"properties": {
|
|
14258
14298
|
"id": {
|
|
14259
14299
|
"type": "integer"
|
|
@@ -14946,6 +14986,14 @@
|
|
|
14946
14986
|
"client": {
|
|
14947
14987
|
"description": "OCPI's contractId, or Hubjects EVCO ID",
|
|
14948
14988
|
"type": "string"
|
|
14989
|
+
},
|
|
14990
|
+
"uid": {
|
|
14991
|
+
"description": "OCPI's token UID, as recorded at the moment the authorization was created. Absent for Hubject\nauthorizations and for authorizations created before the identifiers were recorded.\n",
|
|
14992
|
+
"type": "string"
|
|
14993
|
+
},
|
|
14994
|
+
"visualNumber": {
|
|
14995
|
+
"description": "OCPI's token visual_number, as recorded at the moment the authorization was created. Absent for\nHubject authorizations, for authorizations created before the identifiers were recorded, and when\nthe roaming platform did not provide a visual number.\n",
|
|
14996
|
+
"type": "string"
|
|
14949
14997
|
}
|
|
14950
14998
|
},
|
|
14951
14999
|
"required": [
|
|
@@ -15234,6 +15282,14 @@
|
|
|
15234
15282
|
"client": {
|
|
15235
15283
|
"description": "OCPI's contractId, or Hubjects EVCO ID",
|
|
15236
15284
|
"type": "string"
|
|
15285
|
+
},
|
|
15286
|
+
"uid": {
|
|
15287
|
+
"description": "OCPI's token UID, as recorded at the moment the authorization was created. Absent for Hubject\nauthorizations and for authorizations created before the identifiers were recorded.\n",
|
|
15288
|
+
"type": "string"
|
|
15289
|
+
},
|
|
15290
|
+
"visualNumber": {
|
|
15291
|
+
"description": "OCPI's token visual_number, as recorded at the moment the authorization was created. Absent for\nHubject authorizations, for authorizations created before the identifiers were recorded, and when\nthe roaming platform did not provide a visual number.\n",
|
|
15292
|
+
"type": "string"
|
|
15237
15293
|
}
|
|
15238
15294
|
},
|
|
15239
15295
|
"required": [
|
|
@@ -87324,6 +87380,24 @@
|
|
|
87324
87380
|
],
|
|
87325
87381
|
"example": "invoice"
|
|
87326
87382
|
},
|
|
87383
|
+
"sellerType": {
|
|
87384
|
+
"description": "Party type on a partner invoice:\n- **operator**: The party is the operator issuing or receiving the invoice.\n- **partner**: The party is the partner the invoice is issued to or from.\n",
|
|
87385
|
+
"type": "string",
|
|
87386
|
+
"enum": [
|
|
87387
|
+
"operator",
|
|
87388
|
+
"partner"
|
|
87389
|
+
],
|
|
87390
|
+
"example": "operator"
|
|
87391
|
+
},
|
|
87392
|
+
"buyerType": {
|
|
87393
|
+
"description": "Party type on a partner invoice:\n- **operator**: The party is the operator issuing or receiving the invoice.\n- **partner**: The party is the partner the invoice is issued to or from.\n",
|
|
87394
|
+
"type": "string",
|
|
87395
|
+
"enum": [
|
|
87396
|
+
"operator",
|
|
87397
|
+
"partner"
|
|
87398
|
+
],
|
|
87399
|
+
"example": "operator"
|
|
87400
|
+
},
|
|
87327
87401
|
"issuedOn": {
|
|
87328
87402
|
"type": "string",
|
|
87329
87403
|
"format": "date",
|
|
@@ -87567,6 +87641,8 @@
|
|
|
87567
87641
|
"settlementReportId",
|
|
87568
87642
|
"number",
|
|
87569
87643
|
"type",
|
|
87644
|
+
"sellerType",
|
|
87645
|
+
"buyerType",
|
|
87570
87646
|
"issuedOn",
|
|
87571
87647
|
"dueOn",
|
|
87572
87648
|
"paymentTermsDays",
|
|
@@ -87729,6 +87805,24 @@
|
|
|
87729
87805
|
],
|
|
87730
87806
|
"example": "invoice"
|
|
87731
87807
|
},
|
|
87808
|
+
"sellerType": {
|
|
87809
|
+
"description": "Party type on a partner invoice:\n- **operator**: The party is the operator issuing or receiving the invoice.\n- **partner**: The party is the partner the invoice is issued to or from.\n",
|
|
87810
|
+
"type": "string",
|
|
87811
|
+
"enum": [
|
|
87812
|
+
"operator",
|
|
87813
|
+
"partner"
|
|
87814
|
+
],
|
|
87815
|
+
"example": "operator"
|
|
87816
|
+
},
|
|
87817
|
+
"buyerType": {
|
|
87818
|
+
"description": "Party type on a partner invoice:\n- **operator**: The party is the operator issuing or receiving the invoice.\n- **partner**: The party is the partner the invoice is issued to or from.\n",
|
|
87819
|
+
"type": "string",
|
|
87820
|
+
"enum": [
|
|
87821
|
+
"operator",
|
|
87822
|
+
"partner"
|
|
87823
|
+
],
|
|
87824
|
+
"example": "operator"
|
|
87825
|
+
},
|
|
87732
87826
|
"issuedOn": {
|
|
87733
87827
|
"type": "string",
|
|
87734
87828
|
"format": "date",
|
|
@@ -87965,7 +88059,7 @@
|
|
|
87965
88059
|
"description": "Identifier of the original partner invoice that this credit note cancels. Present only when `type` is `credit_note`."
|
|
87966
88060
|
},
|
|
87967
88061
|
"seller": {
|
|
87968
|
-
"description": "Seller details captured at the time of invoice generation. The operator is the seller
|
|
88062
|
+
"description": "Seller details captured at the time of invoice generation. The operator is the seller on a regular partner invoice; the partner is the seller on a self-billing invoice.",
|
|
87969
88063
|
"type": "object",
|
|
87970
88064
|
"properties": {
|
|
87971
88065
|
"type": {
|
|
@@ -88714,7 +88808,7 @@
|
|
|
88714
88808
|
"originType"
|
|
88715
88809
|
]
|
|
88716
88810
|
},
|
|
88717
|
-
"description": "Line items snapshotted from the source settlement report.
|
|
88811
|
+
"description": "Line items snapshotted from the source settlement report. On a regular partner invoice revenue entries appear as credits and expense entries as charges; on a self-billing invoice the directions are inverted, with revenue entries as charges and expense entries as deductions."
|
|
88718
88812
|
},
|
|
88719
88813
|
"taxBreakdown": {
|
|
88720
88814
|
"type": "array",
|
|
@@ -88750,6 +88844,8 @@
|
|
|
88750
88844
|
"settlementReportId",
|
|
88751
88845
|
"number",
|
|
88752
88846
|
"type",
|
|
88847
|
+
"sellerType",
|
|
88848
|
+
"buyerType",
|
|
88753
88849
|
"issuedOn",
|
|
88754
88850
|
"dueOn",
|
|
88755
88851
|
"paymentTermsDays",
|
|
@@ -119178,7 +119274,7 @@
|
|
|
119178
119274
|
},
|
|
119179
119275
|
"authorization": {
|
|
119180
119276
|
"type": "object",
|
|
119181
|
-
"description": "
|
|
119277
|
+
"description": "Session authorization.\n\nEmbedded as the `authorization` property in Session responses when the `withAuthorization` parameter\nis enabled, and always embedded in session webhook notifications for sessions that have an\nauthorization.\n",
|
|
119182
119278
|
"properties": {
|
|
119183
119279
|
"id": {
|
|
119184
119280
|
"type": "integer"
|
|
@@ -119268,6 +119364,14 @@
|
|
|
119268
119364
|
"client": {
|
|
119269
119365
|
"description": "OCPI's contractId, or Hubject's EVCO ID",
|
|
119270
119366
|
"type": "string"
|
|
119367
|
+
},
|
|
119368
|
+
"uid": {
|
|
119369
|
+
"description": "OCPI's token UID, as recorded at the moment the authorization was created. Absent for Hubject\nauthorizations and for authorizations created before the identifiers were recorded.\n",
|
|
119370
|
+
"type": "string"
|
|
119371
|
+
},
|
|
119372
|
+
"visualNumber": {
|
|
119373
|
+
"description": "OCPI's token visual_number, as recorded at the moment the authorization was created. Absent for\nHubject authorizations, for authorizations created before the identifiers were recorded, and when\nthe roaming platform did not provide a visual number.\n",
|
|
119374
|
+
"type": "string"
|
|
119271
119375
|
}
|
|
119272
119376
|
},
|
|
119273
119377
|
"required": [
|
|
@@ -120432,7 +120536,7 @@
|
|
|
120432
120536
|
},
|
|
120433
120537
|
"authorization": {
|
|
120434
120538
|
"type": "object",
|
|
120435
|
-
"description": "
|
|
120539
|
+
"description": "Session authorization.\n\nEmbedded as the `authorization` property in Session responses when the `withAuthorization` parameter\nis enabled, and always embedded in session webhook notifications for sessions that have an\nauthorization.\n",
|
|
120436
120540
|
"properties": {
|
|
120437
120541
|
"id": {
|
|
120438
120542
|
"type": "integer"
|
|
@@ -120522,6 +120626,14 @@
|
|
|
120522
120626
|
"client": {
|
|
120523
120627
|
"description": "OCPI's contractId, or Hubject's EVCO ID",
|
|
120524
120628
|
"type": "string"
|
|
120629
|
+
},
|
|
120630
|
+
"uid": {
|
|
120631
|
+
"description": "OCPI's token UID, as recorded at the moment the authorization was created. Absent for Hubject\nauthorizations and for authorizations created before the identifiers were recorded.\n",
|
|
120632
|
+
"type": "string"
|
|
120633
|
+
},
|
|
120634
|
+
"visualNumber": {
|
|
120635
|
+
"description": "OCPI's token visual_number, as recorded at the moment the authorization was created. Absent for\nHubject authorizations, for authorizations created before the identifiers were recorded, and when\nthe roaming platform did not provide a visual number.\n",
|
|
120636
|
+
"type": "string"
|
|
120525
120637
|
}
|
|
120526
120638
|
},
|
|
120527
120639
|
"required": [
|
|
@@ -144170,6 +144282,28 @@
|
|
|
144170
144282
|
}
|
|
144171
144283
|
}
|
|
144172
144284
|
},
|
|
144285
|
+
"422": {
|
|
144286
|
+
"schema": {
|
|
144287
|
+
"type": "object",
|
|
144288
|
+
"required": [
|
|
144289
|
+
"message"
|
|
144290
|
+
],
|
|
144291
|
+
"properties": {
|
|
144292
|
+
"message": {
|
|
144293
|
+
"type": "string"
|
|
144294
|
+
},
|
|
144295
|
+
"errors": {
|
|
144296
|
+
"type": "object",
|
|
144297
|
+
"additionalProperties": {
|
|
144298
|
+
"type": "array",
|
|
144299
|
+
"items": {
|
|
144300
|
+
"type": "string"
|
|
144301
|
+
}
|
|
144302
|
+
}
|
|
144303
|
+
}
|
|
144304
|
+
}
|
|
144305
|
+
}
|
|
144306
|
+
},
|
|
144173
144307
|
"429": {
|
|
144174
144308
|
"schema": {
|
|
144175
144309
|
"type": "object",
|
package/package.json
CHANGED