add email to msp model

This commit is contained in:
crn4
2026-04-24 18:27:03 +02:00
parent d185b68fe1
commit b7c58dfdfb
2 changed files with 21 additions and 0 deletions

View File

@@ -3767,6 +3767,10 @@ components:
type: string
description: Reseller's internal customer reference for this MSP
example: "CUST-12345"
owner_email:
type: string
description: Expected owner email for the MSP account (set by reseller at creation)
example: "owner@partner-msp.com"
activated_at:
type: string
description: MSP activation timestamp in RFC3339 format
@@ -3803,6 +3807,10 @@ components:
type: string
description: Reseller's internal customer reference for this MSP
example: "CUST-12345"
owner_email:
type: string
description: Expected owner email for the MSP account
example: "owner@partner-msp.com"
required:
- name
- domain
@@ -3813,6 +3821,10 @@ components:
type: string
description: Reseller's internal customer reference for this MSP
example: "CUST-12345"
owner_email:
type: string
description: Expected owner email for the MSP account
example: "owner@partner-msp.com"
CreateTenantRequest:
type: object
properties:

View File

@@ -1641,6 +1641,9 @@ type CreateResellerMSPRequest struct {
// Name The name for the MSP
Name string `json:"name"`
// OwnerEmail Expected owner email for the MSP account
OwnerEmail *string `json:"owner_email,omitempty"`
// PriceId Stripe price ID to set up managed subscription for the MSP
PriceId *string `json:"price_id,omitempty"`
@@ -3599,6 +3602,9 @@ type ResellerMSPResponse struct {
// Name The MSP name
Name string `json:"name"`
// OwnerEmail Expected owner email for the MSP account (set by reseller at creation)
OwnerEmail *string `json:"owner_email,omitempty"`
// ResellerCustomerId Reseller's internal customer reference for this MSP
ResellerCustomerId *string `json:"reseller_customer_id,omitempty"`
}
@@ -4234,6 +4240,9 @@ type TenantResponseStatus string
// UpdateResellerMSPRequest defines model for UpdateResellerMSPRequest.
type UpdateResellerMSPRequest struct {
// OwnerEmail Expected owner email for the MSP account
OwnerEmail *string `json:"owner_email,omitempty"`
// ResellerCustomerId Reseller's internal customer reference for this MSP
ResellerCustomerId *string `json:"reseller_customer_id,omitempty"`
}