mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-25 11:46:40 +00:00
add email to msp model
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user