bp accounts renamed
MODIFY
postman/e-Mobility REST API.postman_collection.json
postman/e-Mobility REST API.postman_collection.json
}
]
},
- "description": "Get Sub-Accounts"
+ "description": "Get Accounts"
},
"response": [
{
{
"key": "id",
"value": "sint consequat",
- "description": "(Required) Sub-account ID"
+ "description": "(Required) Account ID"
}
]
},
- "description": "Get Sub-Accounts"
+ "description": "Get Accounts"
},
"response": [
{
{
"key": "id",
"value": "sint consequat",
- "description": "(Required) Sub-account ID"
+ "description": "(Required) Account ID"
}
]
}
{
"key": "id",
"value": "sint consequat",
- "description": "(Required) Sub-account ID"
+ "description": "(Required) Account ID"
}
]
}
{
"key": "id",
"value": "sint consequat",
- "description": "(Required) Sub-account ID"
+ "description": "(Required) Account ID"
}
]
}
{
"key": "id",
"value": "sint consequat",
- "description": "(Required) Sub-account ID"
+ "description": "(Required) Account ID"
}
]
}
{
"key": "id",
"value": "sint consequat",
- "description": "(Required) Sub-account ID"
+ "description": "(Required) Account ID"
}
]
}

MODIFY
src/assets/server/rest/v1/docs/e-mobility-oas.json
src/assets/server/rest/v1/docs/e-mobility-oas.json
"bearerAuth": []
}
],
- "description": "Get Sub-Accounts",
+ "description": "Get Accounts",
"parameters": [
{
"$ref": "#/components/parameters/UserIDs"
"bearerAuth": []
}
],
- "description": "Get Sub-Accounts",
+ "description": "Get Accounts",
"parameters": [
{
"in": "path",
"name": "id",
- "description": "Sub-account ID",
+ "description": "Account ID",
"schema": {
"type": "string"
},

MODIFY
src/server/rest/v1/service/BillingService.ts
src/server/rest/v1/service/BillingService.ts
@@ -515,7 +515,7 @@ export default class BillingService {
if (billingAccount.status !== BillingAccountStatus.PENDING) {
throw new AppError({
errorCode: HTTPError.GENERAL_ERROR,
- message: 'Sub-account onboarding aborted - current status should be PENDING',
+ message: 'Account onboarding aborted - current status should be PENDING',
module: MODULE_NAME, method: 'handleActivateAccount',
action: action,
user: req.user
@@ -587,7 +587,7 @@ export default class BillingService {
if (billingAccount.status !== BillingAccountStatus.IDLE) {
throw new AppError({
errorCode: HTTPError.GENERAL_ERROR,
- message: 'Sub-account onboarding aborted - current status should be IDLE',
+ message: 'Account onboarding aborted - current status should be IDLE',
module: MODULE_NAME, method: 'handleOnboardAccount',
action: action,
user: req.user

bp accounts renamed