mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-30 14:16:38 +00:00
add email to msp model
This commit is contained in:
@@ -3767,6 +3767,10 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
description: Reseller's internal customer reference for this MSP
|
description: Reseller's internal customer reference for this MSP
|
||||||
example: "CUST-12345"
|
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:
|
activated_at:
|
||||||
type: string
|
type: string
|
||||||
description: MSP activation timestamp in RFC3339 format
|
description: MSP activation timestamp in RFC3339 format
|
||||||
@@ -3803,6 +3807,10 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
description: Reseller's internal customer reference for this MSP
|
description: Reseller's internal customer reference for this MSP
|
||||||
example: "CUST-12345"
|
example: "CUST-12345"
|
||||||
|
owner_email:
|
||||||
|
type: string
|
||||||
|
description: Expected owner email for the MSP account
|
||||||
|
example: "owner@partner-msp.com"
|
||||||
required:
|
required:
|
||||||
- name
|
- name
|
||||||
- domain
|
- domain
|
||||||
@@ -3813,6 +3821,10 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
description: Reseller's internal customer reference for this MSP
|
description: Reseller's internal customer reference for this MSP
|
||||||
example: "CUST-12345"
|
example: "CUST-12345"
|
||||||
|
owner_email:
|
||||||
|
type: string
|
||||||
|
description: Expected owner email for the MSP account
|
||||||
|
example: "owner@partner-msp.com"
|
||||||
CreateTenantRequest:
|
CreateTenantRequest:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
@@ -1641,6 +1641,9 @@ type CreateResellerMSPRequest struct {
|
|||||||
// Name The name for the MSP
|
// Name The name for the MSP
|
||||||
Name string `json:"name"`
|
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 Stripe price ID to set up managed subscription for the MSP
|
||||||
PriceId *string `json:"price_id,omitempty"`
|
PriceId *string `json:"price_id,omitempty"`
|
||||||
|
|
||||||
@@ -3599,6 +3602,9 @@ type ResellerMSPResponse struct {
|
|||||||
// Name The MSP name
|
// Name The MSP name
|
||||||
Name string `json:"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 Reseller's internal customer reference for this MSP
|
||||||
ResellerCustomerId *string `json:"reseller_customer_id,omitempty"`
|
ResellerCustomerId *string `json:"reseller_customer_id,omitempty"`
|
||||||
}
|
}
|
||||||
@@ -4234,6 +4240,9 @@ type TenantResponseStatus string
|
|||||||
|
|
||||||
// UpdateResellerMSPRequest defines model for UpdateResellerMSPRequest.
|
// UpdateResellerMSPRequest defines model for UpdateResellerMSPRequest.
|
||||||
type UpdateResellerMSPRequest struct {
|
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 Reseller's internal customer reference for this MSP
|
||||||
ResellerCustomerId *string `json:"reseller_customer_id,omitempty"`
|
ResellerCustomerId *string `json:"reseller_customer_id,omitempty"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user