Introduction of Partner Model, adding code to Tenant model
This commit is contained in:
15
config/partner_services/MANAGEMENT_SERVICE/1.0.0.yaml
Normal file
15
config/partner_services/MANAGEMENT_SERVICE/1.0.0.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
version: "1.0.0"
|
||||
name: "Management Service"
|
||||
configuration:
|
||||
admin_roles:
|
||||
name: "Administrative Roles"
|
||||
type: "enum"
|
||||
description: "Administrative Roles that can be assigned to the partner"
|
||||
required: true
|
||||
allowed_values: ["Partner Admin"]
|
||||
default: "Partner Admin"
|
||||
metadata:
|
||||
author: "Josako"
|
||||
date_added: "2025-04-02"
|
||||
changes: "Initial version"
|
||||
description: "Initial definition of the management service"
|
||||
24
config/type_defs/partner_service_types.py
Normal file
24
config/type_defs/partner_service_types.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# config/type_defs/partner_service_types.py
|
||||
PARTNER_SERVICE_TYPES = {
|
||||
"REFERRAL_SERVICE": {
|
||||
"name": "Referral Service",
|
||||
"description": "Partner referring new customers",
|
||||
},
|
||||
"KNOWLEDGE_SERVICE": {
|
||||
"name": "Knowledge Service",
|
||||
"description": "Partner providing catalog content",
|
||||
},
|
||||
"SPECIALIST_SERVICE": {
|
||||
"name": "Specialist Service",
|
||||
"description": "Partner providing specialist solutions",
|
||||
},
|
||||
"MANAGEMENT_SERVICE": {
|
||||
"name": "Management Service",
|
||||
"description": "Partner managing customer instances",
|
||||
},
|
||||
"WHITE_LABEL_SERVICE": {
|
||||
"name": "White Label Service",
|
||||
"description": "Partner reselling under their own brand",
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user