@ampeco/public-api-mcp 3.248.0 → 3.249.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 +399 -50
- package/dist/generated/response-schemas.json +1211 -13
- package/dist/generated/schemas.d.ts +99 -21
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +38 -11
- package/dist/generated/schemas.js.map +1 -1
- package/dist/generated/schemas.ts +43 -11
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"totalEndpoints":
|
|
3
|
-
"originalSize":
|
|
4
|
-
"optimizedSize":
|
|
5
|
-
"reductionPercent": 72.
|
|
6
|
-
"buildDuration":
|
|
2
|
+
"totalEndpoints": 648,
|
|
3
|
+
"originalSize": 6013366,
|
|
4
|
+
"optimizedSize": 1669111,
|
|
5
|
+
"reductionPercent": 72.24,
|
|
6
|
+
"buildDuration": 1326,
|
|
7
7
|
"responseSchemas": {
|
|
8
|
-
"total":
|
|
9
|
-
"withSchemas":
|
|
10
|
-
"totalSchemaSize":
|
|
11
|
-
"averageSchemaSize":
|
|
8
|
+
"total": 648,
|
|
9
|
+
"withSchemas": 648,
|
|
10
|
+
"totalSchemaSize": 3451726,
|
|
11
|
+
"averageSchemaSize": 5327
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -34527,6 +34527,22 @@
|
|
|
34527
34527
|
"tags": [
|
|
34528
34528
|
"resource / partner contracts"
|
|
34529
34529
|
],
|
|
34530
|
+
"parameters": {
|
|
34531
|
+
"query": {
|
|
34532
|
+
"include": {
|
|
34533
|
+
"description": "Optional related records to embed in the response. `settlementOverrides` — ⚠️ experimental. Returns the active settlement overrides of the contract, newest first. The embedded objects are not yet a stable contract and may change, including breaking changes, within `v1.0`.",
|
|
34534
|
+
"schema": {
|
|
34535
|
+
"type": "array",
|
|
34536
|
+
"items": {
|
|
34537
|
+
"type": "string",
|
|
34538
|
+
"enum": [
|
|
34539
|
+
"settlementOverrides"
|
|
34540
|
+
]
|
|
34541
|
+
}
|
|
34542
|
+
}
|
|
34543
|
+
}
|
|
34544
|
+
}
|
|
34545
|
+
},
|
|
34530
34546
|
"responses": {
|
|
34531
34547
|
"200": {
|
|
34532
34548
|
"description": "Success"
|
|
@@ -34986,6 +35002,328 @@
|
|
|
34986
35002
|
}
|
|
34987
35003
|
}
|
|
34988
35004
|
},
|
|
35005
|
+
{
|
|
35006
|
+
"path": "/public-api/resources/partner-contracts/v1.0/{partnerContract}/settlement-overrides",
|
|
35007
|
+
"method": "GET",
|
|
35008
|
+
"operationId": "partnerContractSettlementOverridesListing",
|
|
35009
|
+
"summary": "Partner contract / Settlement overrides / Listing",
|
|
35010
|
+
"description": "⚠️ Experimental endpoint — not yet a stable contract. This resource ships as experimental / beta. While experimental, its schema and behaviour may change without a version bump — including breaking changes within v1.0 itself. Anyone consuming it does so for evaluation only, or by coordinating adoption with their account manager so changes can be sequenced with them. It graduates to a stable, version-locked contract (where the normal breaking-change rules apply) only when this experimental notice is removed. List all settlement overrides of a specific partner contract, newest first. **Required permission:** `PartnerContracts.view`",
|
|
35011
|
+
"tags": [
|
|
35012
|
+
"resource / partner contracts"
|
|
35013
|
+
],
|
|
35014
|
+
"parameters": {
|
|
35015
|
+
"query": {
|
|
35016
|
+
"per_page": {
|
|
35017
|
+
"description": "The number of items to return per page.",
|
|
35018
|
+
"type": "integer",
|
|
35019
|
+
"minimum": 1,
|
|
35020
|
+
"maximum": 100,
|
|
35021
|
+
"default": 100
|
|
35022
|
+
},
|
|
35023
|
+
"cursor": {
|
|
35024
|
+
"description": "The cursor to fetch the next page. **Do not construct this value manually.** Use one of the following methods: - Use the value from the previous response's `links.next` to fetch the next page - Pass an empty string (e.g., `?cursor` or `?cursor=`) to initiate cursor pagination on the first page",
|
|
35025
|
+
"type": "string"
|
|
35026
|
+
}
|
|
35027
|
+
}
|
|
35028
|
+
},
|
|
35029
|
+
"responses": {
|
|
35030
|
+
"200": {
|
|
35031
|
+
"description": "Success"
|
|
35032
|
+
},
|
|
35033
|
+
"401": {
|
|
35034
|
+
"description": "Access token is missing or invalid"
|
|
35035
|
+
},
|
|
35036
|
+
"403": {
|
|
35037
|
+
"description": "You do not have permission to perform the action"
|
|
35038
|
+
},
|
|
35039
|
+
"404": {
|
|
35040
|
+
"description": "The record is not found"
|
|
35041
|
+
},
|
|
35042
|
+
"429": {
|
|
35043
|
+
"description": "Too many requests. Please try again later. For more information, please check the rate limit headers X-RateLimit-*"
|
|
35044
|
+
}
|
|
35045
|
+
}
|
|
35046
|
+
},
|
|
35047
|
+
{
|
|
35048
|
+
"path": "/public-api/resources/partner-contracts/v1.0/{partnerContract}/settlement-overrides",
|
|
35049
|
+
"method": "POST",
|
|
35050
|
+
"operationId": "partnerContractSettlementOverrideCreate",
|
|
35051
|
+
"summary": "Partner contract / Settlement override / Create",
|
|
35052
|
+
"description": "⚠️ Experimental endpoint — not yet a stable contract. This resource ships as experimental / beta. While experimental, its schema and behaviour may change without a version bump — including breaking changes within v1.0 itself. Anyone consuming it does so for evaluation only, or by coordinating adoption with their account manager so changes can be sequenced with them. It graduates to a stable, version-locked contract (where the normal breaking-change rules apply) only when this experimental notice is removed. Create a settlement override for a specific partner contract. Available only when settlement overrides are enabled for the operator owning the partner contract; otherwise the request is rejected with `412` and `errorCode` `settlement_overrides_not_enabled`. When the payload is valid but another active override on the contract already uses the requested priority, the request is rejected with `409` and `errorCode` `override_priority_taken`. Every other rejection is an ordinary `422` listing the offending properties in the `errors` map and carrying no `errorCode` — including a name already used by another active override, and including the priority conflict when the payload fails other rules as well. **Required permission:** `PartnerContracts.create`",
|
|
35053
|
+
"tags": [
|
|
35054
|
+
"resource / partner contracts"
|
|
35055
|
+
],
|
|
35056
|
+
"requestBody": {
|
|
35057
|
+
"required": true,
|
|
35058
|
+
"content": {
|
|
35059
|
+
"application/json": {
|
|
35060
|
+
"schema": {
|
|
35061
|
+
"type": "object",
|
|
35062
|
+
"properties": {
|
|
35063
|
+
"name": {
|
|
35064
|
+
"type": "string",
|
|
35065
|
+
"maxLength": 255,
|
|
35066
|
+
"example": "Fleet drivers",
|
|
35067
|
+
"description": "Name of the settlement override, unique among the active overrides of the partner contract."
|
|
35068
|
+
},
|
|
35069
|
+
"priority": {
|
|
35070
|
+
"type": "integer",
|
|
35071
|
+
"minimum": 1,
|
|
35072
|
+
"maximum": 4294967295,
|
|
35073
|
+
"example": 1,
|
|
35074
|
+
"description": "Evaluation priority of the override, unique among the active overrides of the partner contract. The lowest value that matches a session wins."
|
|
35075
|
+
},
|
|
35076
|
+
"restriction": {
|
|
35077
|
+
"type": "object",
|
|
35078
|
+
"properties": {
|
|
35079
|
+
"type": {
|
|
35080
|
+
"type": "string",
|
|
35081
|
+
"enum": [
|
|
35082
|
+
"users_of_the_partner",
|
|
35083
|
+
"user_groups",
|
|
35084
|
+
"ad_hoc_users",
|
|
35085
|
+
"users_of_specific_partners"
|
|
35086
|
+
],
|
|
35087
|
+
"description": "Which users of the partner contract the settlement override applies to. Allowed values: - `users_of_the_partner` - Applies to sessions of users belonging to the contract's partner. - `user_groups` - Applies to sessions of users in the listed user groups. Requires `userGroupIds`. - `ad_hoc_users` - Applies to sessions of ad hoc (unregistered) users. - `users_of_specific_partners` - Applies to sessions of users belonging to the listed partners. Requires `partnerIds`."
|
|
35088
|
+
},
|
|
35089
|
+
"targetIds": {
|
|
35090
|
+
"type": "array",
|
|
35091
|
+
"items": {
|
|
35092
|
+
"type": "integer"
|
|
35093
|
+
},
|
|
35094
|
+
"example": [
|
|
35095
|
+
12,
|
|
35096
|
+
34
|
|
35097
|
+
],
|
|
35098
|
+
"description": "Identifiers of the records the override applies to, as determined by `type`: user group IDs for `user_groups` and partner IDs for `users_of_specific_partners`. Required for those two types and omitted for every other type."
|
|
35099
|
+
}
|
|
35100
|
+
},
|
|
35101
|
+
"required": [
|
|
35102
|
+
"type"
|
|
35103
|
+
],
|
|
35104
|
+
"description": "Which users of the partner contract the override applies to. `type` is the discriminator and determines what `targetIds` references."
|
|
35105
|
+
},
|
|
35106
|
+
"acPercent": {
|
|
35107
|
+
"type": "number",
|
|
35108
|
+
"format": "float",
|
|
35109
|
+
"minimum": 0,
|
|
35110
|
+
"maximum": 100,
|
|
35111
|
+
"example": 70.5,
|
|
35112
|
+
"description": "Partner share percentage applied to AC sessions matched by this override. Omit to inherit the value from the partner contract. At least one of `acPercent` and `dcPercent` must be provided."
|
|
35113
|
+
},
|
|
35114
|
+
"dcPercent": {
|
|
35115
|
+
"type": "number",
|
|
35116
|
+
"format": "float",
|
|
35117
|
+
"minimum": 0,
|
|
35118
|
+
"maximum": 100,
|
|
35119
|
+
"example": 60,
|
|
35120
|
+
"description": "Partner share percentage applied to DC sessions matched by this override. Omit to inherit the value from the partner contract. At least one of `acPercent` and `dcPercent` must be provided."
|
|
35121
|
+
}
|
|
35122
|
+
},
|
|
35123
|
+
"required": [
|
|
35124
|
+
"name",
|
|
35125
|
+
"priority",
|
|
35126
|
+
"restriction"
|
|
35127
|
+
],
|
|
35128
|
+
"description": "⚠️ Experimental endpoint — not yet a stable contract. This resource ships as experimental / beta. While experimental, its schema and behaviour may change without a version bump — including breaking changes within v1.0 itself. Anyone consuming it does so for evaluation only, or by coordinating adoption with their account manager so changes can be sequenced with them. It graduates to a stable, version-locked contract (where the normal breaking-change rules apply) only when this experimental notice is removed. Settlement override create schema. Every property that is omitted takes its documented default; `acPercent` and `dcPercent` cannot both be omitted."
|
|
35129
|
+
}
|
|
35130
|
+
}
|
|
35131
|
+
}
|
|
35132
|
+
},
|
|
35133
|
+
"responses": {
|
|
35134
|
+
"201": {
|
|
35135
|
+
"description": "Settlement override created successfully"
|
|
35136
|
+
},
|
|
35137
|
+
"401": {
|
|
35138
|
+
"description": "Access token is missing or invalid"
|
|
35139
|
+
},
|
|
35140
|
+
"403": {
|
|
35141
|
+
"description": "You do not have permission to perform the action"
|
|
35142
|
+
},
|
|
35143
|
+
"404": {
|
|
35144
|
+
"description": "The record is not found"
|
|
35145
|
+
},
|
|
35146
|
+
"409": {
|
|
35147
|
+
"description": "The request conflicts with the current state of the partner contract: another active override already uses the requested priority. The payload itself is valid, so retrying with a free priority succeeds."
|
|
35148
|
+
},
|
|
35149
|
+
"412": {
|
|
35150
|
+
"description": "The partner contract does not meet a precondition of the action: settlement overrides are not enabled for the operator owning it. Enabling them in the admin makes the action available."
|
|
35151
|
+
},
|
|
35152
|
+
"422": {
|
|
35153
|
+
"description": "The payload you provided is invalid"
|
|
35154
|
+
},
|
|
35155
|
+
"429": {
|
|
35156
|
+
"description": "Too many requests. Please try again later. For more information, please check the rate limit headers X-RateLimit-*"
|
|
35157
|
+
}
|
|
35158
|
+
}
|
|
35159
|
+
},
|
|
35160
|
+
{
|
|
35161
|
+
"path": "/public-api/resources/partner-contracts/v1.0/{partnerContract}/settlement-overrides/{settlementOverride}",
|
|
35162
|
+
"method": "GET",
|
|
35163
|
+
"operationId": "partnerContractSettlementOverrideRead",
|
|
35164
|
+
"summary": "Partner contract / Settlement override / Read",
|
|
35165
|
+
"description": "⚠️ Experimental endpoint — not yet a stable contract. This resource ships as experimental / beta. While experimental, its schema and behaviour may change without a version bump — including breaking changes within v1.0 itself. Anyone consuming it does so for evaluation only, or by coordinating adoption with their account manager so changes can be sequenced with them. It graduates to a stable, version-locked contract (where the normal breaking-change rules apply) only when this experimental notice is removed. Read a single settlement override of a specific partner contract. **Required permission:** `PartnerContracts.view`",
|
|
35166
|
+
"tags": [
|
|
35167
|
+
"resource / partner contracts"
|
|
35168
|
+
],
|
|
35169
|
+
"responses": {
|
|
35170
|
+
"200": {
|
|
35171
|
+
"description": "Success"
|
|
35172
|
+
},
|
|
35173
|
+
"401": {
|
|
35174
|
+
"description": "Access token is missing or invalid"
|
|
35175
|
+
},
|
|
35176
|
+
"403": {
|
|
35177
|
+
"description": "You do not have permission to perform the action"
|
|
35178
|
+
},
|
|
35179
|
+
"404": {
|
|
35180
|
+
"description": "The record is not found"
|
|
35181
|
+
},
|
|
35182
|
+
"429": {
|
|
35183
|
+
"description": "Too many requests. Please try again later. For more information, please check the rate limit headers X-RateLimit-*"
|
|
35184
|
+
}
|
|
35185
|
+
}
|
|
35186
|
+
},
|
|
35187
|
+
{
|
|
35188
|
+
"path": "/public-api/resources/partner-contracts/v1.0/{partnerContract}/settlement-overrides/{settlementOverride}",
|
|
35189
|
+
"method": "DELETE",
|
|
35190
|
+
"operationId": "partnerContractSettlementOverrideDelete",
|
|
35191
|
+
"summary": "Partner contract / Settlement override / Delete",
|
|
35192
|
+
"description": "⚠️ Experimental endpoint — not yet a stable contract. This resource ships as experimental / beta. While experimental, its schema and behaviour may change without a version bump — including breaking changes within v1.0 itself. Anyone consuming it does so for evaluation only, or by coordinating adoption with their account manager so changes can be sequenced with them. It graduates to a stable, version-locked contract (where the normal breaking-change rules apply) only when this experimental notice is removed. Delete a settlement override from a specific partner contract. Available only when settlement overrides are enabled for the operator owning the partner contract; otherwise the request is rejected with `412` and `errorCode` `settlement_overrides_not_enabled`. **Required permission:** `PartnerContracts.delete`",
|
|
35193
|
+
"tags": [
|
|
35194
|
+
"resource / partner contracts"
|
|
35195
|
+
],
|
|
35196
|
+
"responses": {
|
|
35197
|
+
"204": {
|
|
35198
|
+
"description": "Settlement override deleted successfully"
|
|
35199
|
+
},
|
|
35200
|
+
"401": {
|
|
35201
|
+
"description": "Access token is missing or invalid"
|
|
35202
|
+
},
|
|
35203
|
+
"403": {
|
|
35204
|
+
"description": "You do not have permission to perform the action"
|
|
35205
|
+
},
|
|
35206
|
+
"404": {
|
|
35207
|
+
"description": "The record is not found"
|
|
35208
|
+
},
|
|
35209
|
+
"412": {
|
|
35210
|
+
"description": "The partner contract does not meet a precondition of the action: settlement overrides are not enabled for the operator owning it. Enabling them in the admin makes the action available."
|
|
35211
|
+
},
|
|
35212
|
+
"429": {
|
|
35213
|
+
"description": "Too many requests. Please try again later. For more information, please check the rate limit headers X-RateLimit-*"
|
|
35214
|
+
}
|
|
35215
|
+
}
|
|
35216
|
+
},
|
|
35217
|
+
{
|
|
35218
|
+
"path": "/public-api/resources/partner-contracts/v1.0/{partnerContract}/settlement-overrides/{settlementOverride}",
|
|
35219
|
+
"method": "PATCH",
|
|
35220
|
+
"operationId": "partnerContractSettlementOverrideUpdate",
|
|
35221
|
+
"summary": "Partner contract / Settlement override / Update",
|
|
35222
|
+
"description": "⚠️ Experimental endpoint — not yet a stable contract. This resource ships as experimental / beta. While experimental, its schema and behaviour may change without a version bump — including breaking changes within v1.0 itself. Anyone consuming it does so for evaluation only, or by coordinating adoption with their account manager so changes can be sequenced with them. It graduates to a stable, version-locked contract (where the normal breaking-change rules apply) only when this experimental notice is removed. Update a settlement override of a specific partner contract. Omitted properties keep their current value; `restriction` is replaced as a whole when present. Available only when settlement overrides are enabled for the operator owning the partner contract; otherwise the request is rejected with `412` and `errorCode` `settlement_overrides_not_enabled`. When the payload is valid but another active override on the contract already uses the requested priority, the request is rejected with `409` and `errorCode` `override_priority_taken`. Every other rejection is an ordinary `422` listing the offending properties in the `errors` map and carrying no `errorCode` — including a name already used by another active override, and including the priority conflict when the payload fails other rules as well. **Required permission:** `PartnerContracts.update`",
|
|
35223
|
+
"tags": [
|
|
35224
|
+
"resource / partner contracts"
|
|
35225
|
+
],
|
|
35226
|
+
"requestBody": {
|
|
35227
|
+
"required": true,
|
|
35228
|
+
"content": {
|
|
35229
|
+
"application/json": {
|
|
35230
|
+
"schema": {
|
|
35231
|
+
"type": "object",
|
|
35232
|
+
"properties": {
|
|
35233
|
+
"name": {
|
|
35234
|
+
"type": "string",
|
|
35235
|
+
"maxLength": 255,
|
|
35236
|
+
"example": "Fleet drivers",
|
|
35237
|
+
"description": "Name of the settlement override, unique among the active overrides of the partner contract."
|
|
35238
|
+
},
|
|
35239
|
+
"priority": {
|
|
35240
|
+
"type": "integer",
|
|
35241
|
+
"minimum": 1,
|
|
35242
|
+
"maximum": 4294967295,
|
|
35243
|
+
"example": 1,
|
|
35244
|
+
"description": "Evaluation priority of the override, unique among the active overrides of the partner contract. The lowest value that matches a session wins."
|
|
35245
|
+
},
|
|
35246
|
+
"restriction": {
|
|
35247
|
+
"type": "object",
|
|
35248
|
+
"properties": {
|
|
35249
|
+
"type": {
|
|
35250
|
+
"type": "string",
|
|
35251
|
+
"enum": [
|
|
35252
|
+
"users_of_the_partner",
|
|
35253
|
+
"user_groups",
|
|
35254
|
+
"ad_hoc_users",
|
|
35255
|
+
"users_of_specific_partners"
|
|
35256
|
+
],
|
|
35257
|
+
"description": "Which users of the partner contract the settlement override applies to. Allowed values: - `users_of_the_partner` - Applies to sessions of users belonging to the contract's partner. - `user_groups` - Applies to sessions of users in the listed user groups. Requires `userGroupIds`. - `ad_hoc_users` - Applies to sessions of ad hoc (unregistered) users. - `users_of_specific_partners` - Applies to sessions of users belonging to the listed partners. Requires `partnerIds`."
|
|
35258
|
+
},
|
|
35259
|
+
"targetIds": {
|
|
35260
|
+
"type": "array",
|
|
35261
|
+
"items": {
|
|
35262
|
+
"type": "integer"
|
|
35263
|
+
},
|
|
35264
|
+
"example": [
|
|
35265
|
+
12,
|
|
35266
|
+
34
|
|
35267
|
+
],
|
|
35268
|
+
"description": "Identifiers of the records the override applies to, as determined by `type`: user group IDs for `user_groups` and partner IDs for `users_of_specific_partners`. Required for those two types and omitted for every other type."
|
|
35269
|
+
}
|
|
35270
|
+
},
|
|
35271
|
+
"required": [
|
|
35272
|
+
"type"
|
|
35273
|
+
],
|
|
35274
|
+
"description": "Which users of the partner contract the override applies to. `type` is the discriminator and determines what `targetIds` references."
|
|
35275
|
+
},
|
|
35276
|
+
"acPercent": {
|
|
35277
|
+
"type": "number",
|
|
35278
|
+
"format": "float",
|
|
35279
|
+
"minimum": 0,
|
|
35280
|
+
"maximum": 100,
|
|
35281
|
+
"example": 70.5,
|
|
35282
|
+
"nullable": true,
|
|
35283
|
+
"description": "Partner share percentage applied to AC sessions matched by this override. Send `null` to inherit the value from the partner contract. `acPercent` and `dcPercent` cannot both end up inherited."
|
|
35284
|
+
},
|
|
35285
|
+
"dcPercent": {
|
|
35286
|
+
"type": "number",
|
|
35287
|
+
"format": "float",
|
|
35288
|
+
"minimum": 0,
|
|
35289
|
+
"maximum": 100,
|
|
35290
|
+
"example": 60,
|
|
35291
|
+
"nullable": true,
|
|
35292
|
+
"description": "Partner share percentage applied to DC sessions matched by this override. Send `null` to inherit the value from the partner contract. `acPercent` and `dcPercent` cannot both end up inherited."
|
|
35293
|
+
}
|
|
35294
|
+
},
|
|
35295
|
+
"description": "⚠️ Experimental endpoint — not yet a stable contract. This resource ships as experimental / beta. While experimental, its schema and behaviour may change without a version bump — including breaking changes within v1.0 itself. Anyone consuming it does so for evaluation only, or by coordinating adoption with their account manager so changes can be sequenced with them. It graduates to a stable, version-locked contract (where the normal breaking-change rules apply) only when this experimental notice is removed. Settlement override update schema. Omitted properties keep their current value; `restriction` is replaced as a whole when present."
|
|
35296
|
+
}
|
|
35297
|
+
}
|
|
35298
|
+
}
|
|
35299
|
+
},
|
|
35300
|
+
"responses": {
|
|
35301
|
+
"200": {
|
|
35302
|
+
"description": "Settlement override updated successfully"
|
|
35303
|
+
},
|
|
35304
|
+
"401": {
|
|
35305
|
+
"description": "Access token is missing or invalid"
|
|
35306
|
+
},
|
|
35307
|
+
"403": {
|
|
35308
|
+
"description": "You do not have permission to perform the action"
|
|
35309
|
+
},
|
|
35310
|
+
"404": {
|
|
35311
|
+
"description": "The record is not found"
|
|
35312
|
+
},
|
|
35313
|
+
"409": {
|
|
35314
|
+
"description": "The request conflicts with the current state of the partner contract: another active override already uses the requested priority. The payload itself is valid, so retrying with a free priority succeeds."
|
|
35315
|
+
},
|
|
35316
|
+
"412": {
|
|
35317
|
+
"description": "The partner contract does not meet a precondition of the action: settlement overrides are not enabled for the operator owning it. Enabling them in the admin makes the action available."
|
|
35318
|
+
},
|
|
35319
|
+
"422": {
|
|
35320
|
+
"description": "The payload you provided is invalid"
|
|
35321
|
+
},
|
|
35322
|
+
"429": {
|
|
35323
|
+
"description": "Too many requests. Please try again later. For more information, please check the rate limit headers X-RateLimit-*"
|
|
35324
|
+
}
|
|
35325
|
+
}
|
|
35326
|
+
},
|
|
34989
35327
|
{
|
|
34990
35328
|
"path": "/public-api/resources/partner-expenses/v1.0",
|
|
34991
35329
|
"method": "GET",
|
|
@@ -38338,7 +38676,7 @@
|
|
|
38338
38676
|
"ga-IE",
|
|
38339
38677
|
"bs",
|
|
38340
38678
|
"ja",
|
|
38341
|
-
"ko",
|
|
38679
|
+
"ko-KR",
|
|
38342
38680
|
"cs",
|
|
38343
38681
|
"lv",
|
|
38344
38682
|
"et",
|
|
@@ -49034,7 +49372,7 @@
|
|
|
49034
49372
|
},
|
|
49035
49373
|
"partnerContractId": {
|
|
49036
49374
|
"type": "integer",
|
|
49037
|
-
"description": "Partner contract the policy is scoped to.
|
|
49375
|
+
"description": "Partner contract the policy is scoped to. Required whenever `partnerId` is set, and must belong to that partner. Policies without a partner are not scoped to a contract."
|
|
49038
49376
|
},
|
|
49039
49377
|
"electricityRateId": {
|
|
49040
49378
|
"type": "integer",
|
|
@@ -49188,7 +49526,7 @@
|
|
|
49188
49526
|
"partnerContractId": {
|
|
49189
49527
|
"type": "integer",
|
|
49190
49528
|
"nullable": true,
|
|
49191
|
-
"description": "Partner contract the policy is scoped to.
|
|
49529
|
+
"description": "Partner contract the policy is scoped to. Required whenever `partnerId` is set, and must belong to that partner, so it cannot be set to `null` while the policy has a partner — clear `partnerId` instead, which clears the contract with it. These rules are enforced when `partnerId` or `partnerContractId` is changed; an update that leaves both unchanged is accepted as is."
|
|
49192
49530
|
},
|
|
49193
49531
|
"electricityRateId": {
|
|
49194
49532
|
"type": "integer",
|
|
@@ -56575,6 +56913,28 @@
|
|
|
56575
56913
|
"nullable": true,
|
|
56576
56914
|
"description": "The operator ID for this resource. Required for global admin tokens. Optional for operator-scoped tokens (defaults to token's operator)."
|
|
56577
56915
|
},
|
|
56916
|
+
"display": {
|
|
56917
|
+
"type": "object",
|
|
56918
|
+
"properties": {
|
|
56919
|
+
"defaultPriceInformation": {
|
|
56920
|
+
"type": "string",
|
|
56921
|
+
"maxLength": 150,
|
|
56922
|
+
"nullable": true,
|
|
56923
|
+
"description": "The default information that would be shown on the display of the charge point without the user having authorized themselves."
|
|
56924
|
+
},
|
|
56925
|
+
"defaultPriceInformationOffline": {
|
|
56926
|
+
"type": "string",
|
|
56927
|
+
"maxLength": 150,
|
|
56928
|
+
"nullable": true,
|
|
56929
|
+
"description": "The information that would be shown on the display of the charge point when offline. For OCPP 2.0.1 charge points that support tariff and cost display, this value is also set as the `TariffCostCtrlr.TariffFallbackMessage` variable."
|
|
56930
|
+
},
|
|
56931
|
+
"totalCostFallbackMessage": {
|
|
56932
|
+
"type": "string",
|
|
56933
|
+
"maxLength": 150,
|
|
56934
|
+
"description": "The message shown on the charge point screen when a session ends but the final cost cannot be retrieved. For OCPP 2.0.1 charge points that support tariff and cost display, this value is set as the `TariffCostCtrlr.TotalCostFallbackMessage` variable."
|
|
56935
|
+
}
|
|
56936
|
+
}
|
|
56937
|
+
},
|
|
56578
56938
|
"name": {
|
|
56579
56939
|
"type": "string"
|
|
56580
56940
|
},
|
|
@@ -56595,23 +56955,6 @@
|
|
|
56595
56955
|
"nullable": true,
|
|
56596
56956
|
"description": "The tariff used to derive offline pricing for OCPP 1.6 charge points when they are not connected to the backend. Must belong to the same operator as the tariff group. Set to null to clear the assignment."
|
|
56597
56957
|
},
|
|
56598
|
-
"display": {
|
|
56599
|
-
"type": "object",
|
|
56600
|
-
"properties": {
|
|
56601
|
-
"defaultPriceInformation": {
|
|
56602
|
-
"type": "string",
|
|
56603
|
-
"maxLength": 150,
|
|
56604
|
-
"nullable": true,
|
|
56605
|
-
"description": "The default information that would be shown on the display of the charge point without the user having authorized themselves."
|
|
56606
|
-
},
|
|
56607
|
-
"defaultPriceInformationOffline": {
|
|
56608
|
-
"type": "string",
|
|
56609
|
-
"maxLength": 150,
|
|
56610
|
-
"nullable": true,
|
|
56611
|
-
"description": "The information that would be shown on the display of the charge point when offline."
|
|
56612
|
-
}
|
|
56613
|
-
}
|
|
56614
|
-
},
|
|
56615
56958
|
"lastUpdatedAt": {
|
|
56616
56959
|
"type": "string",
|
|
56617
56960
|
"format": "date-time",
|
|
@@ -56686,6 +57029,29 @@
|
|
|
56686
57029
|
"schema": {
|
|
56687
57030
|
"type": "object",
|
|
56688
57031
|
"properties": {
|
|
57032
|
+
"display": {
|
|
57033
|
+
"type": "object",
|
|
57034
|
+
"properties": {
|
|
57035
|
+
"defaultPriceInformation": {
|
|
57036
|
+
"type": "string",
|
|
57037
|
+
"maxLength": 150,
|
|
57038
|
+
"nullable": true,
|
|
57039
|
+
"description": "The default information that would be shown on the display of the charge point without the user having authorized themselves."
|
|
57040
|
+
},
|
|
57041
|
+
"defaultPriceInformationOffline": {
|
|
57042
|
+
"type": "string",
|
|
57043
|
+
"maxLength": 150,
|
|
57044
|
+
"nullable": true,
|
|
57045
|
+
"description": "The information that would be shown on the display of the charge point when offline. For OCPP 2.0.1 charge points that support tariff and cost display, this value is also set as the `TariffCostCtrlr.TariffFallbackMessage` variable."
|
|
57046
|
+
},
|
|
57047
|
+
"totalCostFallbackMessage": {
|
|
57048
|
+
"type": "string",
|
|
57049
|
+
"maxLength": 150,
|
|
57050
|
+
"nullable": true,
|
|
57051
|
+
"description": "The message shown on the charge point screen when a session ends but the final cost cannot be retrieved. For OCPP 2.0.1 charge points that support tariff and cost display, this value is set as the `TariffCostCtrlr.TotalCostFallbackMessage` variable. Set to null to clear the message."
|
|
57052
|
+
}
|
|
57053
|
+
}
|
|
57054
|
+
},
|
|
56689
57055
|
"name": {
|
|
56690
57056
|
"type": "string"
|
|
56691
57057
|
},
|
|
@@ -56706,23 +57072,6 @@
|
|
|
56706
57072
|
"nullable": true,
|
|
56707
57073
|
"description": "The tariff used to derive offline pricing for OCPP 1.6 charge points when they are not connected to the backend. Must belong to the same operator as the tariff group. Set to null to clear the assignment."
|
|
56708
57074
|
},
|
|
56709
|
-
"display": {
|
|
56710
|
-
"type": "object",
|
|
56711
|
-
"properties": {
|
|
56712
|
-
"defaultPriceInformation": {
|
|
56713
|
-
"type": "string",
|
|
56714
|
-
"maxLength": 150,
|
|
56715
|
-
"nullable": true,
|
|
56716
|
-
"description": "The default information that would be shown on the display of the charge point without the user having authorized themselves."
|
|
56717
|
-
},
|
|
56718
|
-
"defaultPriceInformationOffline": {
|
|
56719
|
-
"type": "string",
|
|
56720
|
-
"maxLength": 150,
|
|
56721
|
-
"nullable": true,
|
|
56722
|
-
"description": "The information that would be shown on the display of the charge point when offline."
|
|
56723
|
-
}
|
|
56724
|
-
}
|
|
56725
|
-
},
|
|
56726
57075
|
"lastUpdatedAt": {
|
|
56727
57076
|
"type": "string",
|
|
56728
57077
|
"format": "date-time",
|
|
@@ -69099,7 +69448,7 @@
|
|
|
69099
69448
|
"ga-IE",
|
|
69100
69449
|
"bs",
|
|
69101
69450
|
"ja",
|
|
69102
|
-
"ko",
|
|
69451
|
+
"ko-KR",
|
|
69103
69452
|
"cs",
|
|
69104
69453
|
"lv",
|
|
69105
69454
|
"et",
|
|
@@ -70020,7 +70369,7 @@
|
|
|
70020
70369
|
"ga-IE",
|
|
70021
70370
|
"bs",
|
|
70022
70371
|
"ja",
|
|
70023
|
-
"ko",
|
|
70372
|
+
"ko-KR",
|
|
70024
70373
|
"cs",
|
|
70025
70374
|
"lv",
|
|
70026
70375
|
"et",
|
|
@@ -72199,7 +72548,7 @@
|
|
|
72199
72548
|
],
|
|
72200
72549
|
"info": {
|
|
72201
72550
|
"title": "Public API",
|
|
72202
|
-
"version": "3.
|
|
72551
|
+
"version": "3.249.0",
|
|
72203
72552
|
"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"
|
|
72204
72553
|
},
|
|
72205
72554
|
"servers": [
|
|
@@ -72213,18 +72562,18 @@
|
|
|
72213
72562
|
}
|
|
72214
72563
|
}
|
|
72215
72564
|
],
|
|
72216
|
-
"buildTimestamp": "2026-09-
|
|
72565
|
+
"buildTimestamp": "2026-09-15T07:16:51.296Z",
|
|
72217
72566
|
"stats": {
|
|
72218
|
-
"totalEndpoints":
|
|
72219
|
-
"originalSize":
|
|
72220
|
-
"optimizedSize":
|
|
72221
|
-
"reductionPercent": 72.
|
|
72222
|
-
"buildDuration":
|
|
72567
|
+
"totalEndpoints": 648,
|
|
72568
|
+
"originalSize": 6013366,
|
|
72569
|
+
"optimizedSize": 1669111,
|
|
72570
|
+
"reductionPercent": 72.24,
|
|
72571
|
+
"buildDuration": 1326,
|
|
72223
72572
|
"responseSchemas": {
|
|
72224
|
-
"total":
|
|
72225
|
-
"withSchemas":
|
|
72226
|
-
"totalSchemaSize":
|
|
72227
|
-
"averageSchemaSize":
|
|
72573
|
+
"total": 648,
|
|
72574
|
+
"withSchemas": 648,
|
|
72575
|
+
"totalSchemaSize": 3451726,
|
|
72576
|
+
"averageSchemaSize": 5327
|
|
72228
72577
|
}
|
|
72229
72578
|
}
|
|
72230
72579
|
}
|