Enhance vehicle summary retrieval for customers and update OpenAPI schema for subuser management grants
This commit is contained in:
@@ -16908,6 +16908,41 @@ components:
|
||||
$ref: '#/components/schemas/SubuserPermissionGroup'
|
||||
grant_created_at: { type: string, format: date-time, nullable: true }
|
||||
grant_updated_at: { type: string, format: date-time, nullable: true }
|
||||
grants:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/SubuserManagementGrant'
|
||||
grant_count: { type: integer }
|
||||
customer_numbers:
|
||||
type: array
|
||||
items: { type: integer }
|
||||
access_state:
|
||||
type: string
|
||||
enum: [active, pending_setup, disabled, inactive]
|
||||
|
||||
SubuserManagementGrant:
|
||||
type: object
|
||||
properties:
|
||||
grant_id: { type: integer }
|
||||
customer_number: { type: integer }
|
||||
customer_name: { type: string, nullable: true }
|
||||
grant_enabled: { type: boolean }
|
||||
grant_note: { type: string, nullable: true }
|
||||
grant_permissions:
|
||||
type: array
|
||||
items: { type: string }
|
||||
permissions:
|
||||
type: array
|
||||
items: { type: string }
|
||||
permission_template_key:
|
||||
type: string
|
||||
enum: [deactivated, driver, booking_coordinator, fleet_admin, custom]
|
||||
permission_groups:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/SubuserPermissionGroup'
|
||||
grant_created_at: { type: string, format: date-time, nullable: true }
|
||||
grant_updated_at: { type: string, format: date-time, nullable: true }
|
||||
access_state:
|
||||
type: string
|
||||
enum: [active, pending_setup, disabled, inactive]
|
||||
|
||||
Reference in New Issue
Block a user