UNPKG

@sourceloop/ctrl-plane-tenant-management-service

Version:

Tenant Management microservice for SaaS control plane

49 lines (45 loc) 1.29 kB
export const PermissionKey = { CreateLead: '10200', UpdateLead: '10201', DeleteLead: '10202', ViewLead: '10203', CreateTenant: '10204', ProvisionTenant: '10216', UpdateTenant: '10205', DeleteTenant: '10206', ViewTenant: '10207', CreateContact: '10208', UpdateContact: '10209', DeleteContact: '10210', ViewContact: '10211', CreateInvoice: '10212', UpdateInvoice: '10213', DeleteInvoice: '10214', ViewInvoice: '10215', CreateNotification: '2', CreateSubscription: '7001', UpdateSubscription: '7002', ViewSubscription: '7004', ViewPlan: '7008', CreateTenantConfig: '10220', ViewTenantConfig: '10221', UpdateTenantConfig: '10222', DeleteTenantConfig: '10223', // notification service ViewNotificationTemplate: '8000', CreateNotificationTemplate: '8001', UpdateNotificationTemplate: '8002', DeleteNotificationTemplate: '8003', CreateBillingCustomer: '5321', CreateBillingPaymentSource: '5322', CreateBillingInvoice: '5323', GetBillingCustomer: '5324', GetBillingPaymentSource: '5325', GetBillingInvoice: '5326', UpdateBillingCustomer: '5327', UpdateBillingPaymentSource: '5328', UpdateBillingInvoice: '5329', DeleteBillingCustomer: '5331', DeleteBillingPaymentSource: '5332', DeleteBillingInvoice: '5333', };