Documentation ¶
Index ¶
- func ActiveRenewalOpportunityForContract(ctx context.Context, driver *neo4j.DriverWithContext, ...) string
- func AssertNeo4jLabels(ctx context.Context, t *testing.T, driver *neo4j.DriverWithContext, ...)
- func AssertNeo4jNodeCount(ctx context.Context, t *testing.T, driver *neo4j.DriverWithContext, ...)
- func AssertNeo4jRelationCount(ctx context.Context, t *testing.T, driver *neo4j.DriverWithContext, ...)
- func AssertRelationship(ctx context.Context, t *testing.T, driver *neo4j.DriverWithContext, ...)
- func AssertRelationshipWithProperties(ctx context.Context, t *testing.T, driver *neo4j.DriverWithContext, ...)
- func AssertRelationships(ctx context.Context, t *testing.T, driver *neo4j.DriverWithContext, ...)
- func CleanupAllData(ctx context.Context, driver *neo4j.DriverWithContext)
- func CloseDriver(driver neo4j.DriverWithContext)
- func CreateBankAccount(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, ...) string
- func CreateBillingProfile(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, ...) string
- func CreateBillingProfileForOrganization(ctx context.Context, driver *neo4j.DriverWithContext, tenant, orgId string, ...) string
- func CreateComment(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, ...) string
- func CreateCommentForIssue(ctx context.Context, driver *neo4j.DriverWithContext, tenant, issueId string, ...) string
- func CreateContact(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, ...) string
- func CreateContractForOrganization(ctx context.Context, driver *neo4j.DriverWithContext, ...) string
- func CreateCountry(ctx context.Context, driver *neo4j.DriverWithContext, ...) string
- func CreateDefaultUser(ctx context.Context, driver *neo4j.DriverWithContext, tenant string) string
- func CreateDefaultUserAlpha(ctx context.Context, driver *neo4j.DriverWithContext, tenant string) string
- func CreateDefaultUserWithId(ctx context.Context, driver *neo4j.DriverWithContext, tenant, userId string) string
- func CreateEmail(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, ...) string
- func CreateEmailForEntity(ctx context.Context, driver *neo4j.DriverWithContext, tenant, entityId string, ...) string
- func CreateExternalSystem(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, ...)
- func CreateIndustry(ctx context.Context, driver *neo4j.DriverWithContext, code, name string) string
- func CreateInteractionEvent(ctx context.Context, driver *neo4j.DriverWithContext, ...) string
- func CreateInteractionEventFromEntity(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, ...) string
- func CreateInteractionSession(ctx context.Context, driver *neo4j.DriverWithContext, ...) string
- func CreateInvoiceForContract(ctx context.Context, driver *neo4j.DriverWithContext, ...) string
- func CreateInvoiceLine(ctx context.Context, driver *neo4j.DriverWithContext, tenant, invoiceId string, ...) string
- func CreateLocation(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, ...) string
- func CreateLogEntry(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, ...) string
- func CreateLogEntryForOrganization(ctx context.Context, driver *neo4j.DriverWithContext, tenant, orgId string, ...) string
- func CreateOpportunity(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, ...) string
- func CreateOpportunityForContract(ctx context.Context, driver *neo4j.DriverWithContext, ...) string
- func CreateOpportunityForOrganization(ctx context.Context, driver *neo4j.DriverWithContext, ...) string
- func CreateOrganization(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, ...) string
- func CreatePhoneNumber(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, ...) string
- func CreateReminder(ctx context.Context, driver *neo4j.DriverWithContext, ...) string
- func CreateServiceLineItemForContract(ctx context.Context, driver *neo4j.DriverWithContext, ...) string
- func CreateSocial(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, ...) string
- func CreateTag(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, ...) string
- func CreateTenant(ctx context.Context, driver *neo4j.DriverWithContext, tenant string)
- func CreateTenantBillingProfile(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, ...) string
- func CreateTenantSettings(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, ...) string
- func CreateUser(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, ...) string
- func CreateUserWithId(ctx context.Context, driver *neo4j.DriverWithContext, tenant, userId string)
- func CreateWorkspace(ctx context.Context, driver *neo4j.DriverWithContext, workspace string, ...)
- func ExecuteReadQueryWithCollectionReturn(ctx context.Context, driver *neo4j.DriverWithContext, query string, ...) []*db.Record
- func ExecuteReadQueryWithSingleReturn(ctx context.Context, driver *neo4j.DriverWithContext, query string, ...) any
- func ExecuteWriteQuery(ctx context.Context, driver *neo4j.DriverWithContext, query string, ...)
- func GetAllLabels(ctx context.Context, driver *neo4j.DriverWithContext) []string
- func GetAllNodesByLabel(ctx context.Context, driver *neo4j.DriverWithContext, label string) ([]*dbtype.Node, error)
- func GetCountOfNodes(ctx context.Context, driver *neo4j.DriverWithContext, nodeLabel string) int
- func GetCountOfRelationships(ctx context.Context, driver *neo4j.DriverWithContext, relationship string) int
- func GetFirstNodeByLabel(ctx context.Context, driver *neo4j.DriverWithContext, label string) (*dbtype.Node, error)
- func GetNodeById(ctx context.Context, driver *neo4j.DriverWithContext, label, id string) (*dbtype.Node, error)
- func GetRelationship(ctx context.Context, driver *neo4j.DriverWithContext, ...) (*dbtype.Relationship, error)
- func GetRelationships(ctx context.Context, driver *neo4j.DriverWithContext, ...) ([]dbtype.Relationship, error)
- func GetTotalCountOfNodes(ctx context.Context, driver *neo4j.DriverWithContext) int
- func InitTestNeo4jDB() (testcontainers.Container, *neo4j.DriverWithContext)
- func InsertContractWithActiveRenewalOpportunity(ctx context.Context, driver *neo4j.DriverWithContext, ...) string
- func InsertContractWithOpportunity(ctx context.Context, driver *neo4j.DriverWithContext, ...) string
- func InsertServiceLineItem(ctx context.Context, driver *neo4j.DriverWithContext, ...) string
- func InsertServiceLineItemCanceled(ctx context.Context, driver *neo4j.DriverWithContext, ...) string
- func InsertServiceLineItemCanceledWithParent(ctx context.Context, driver *neo4j.DriverWithContext, ...)
- func InsertServiceLineItemEnded(ctx context.Context, driver *neo4j.DriverWithContext, ...) string
- func InsertServiceLineItemEndedWithParent(ctx context.Context, driver *neo4j.DriverWithContext, ...)
- func InsertServiceLineItemWithParent(ctx context.Context, driver *neo4j.DriverWithContext, ...)
- func LinkContactWithOrganization(ctx context.Context, driver *neo4j.DriverWithContext, ...)
- func LinkContractWithOpportunity(ctx context.Context, driver *neo4j.DriverWithContext, ...)
- func LinkDomainToOrganization(ctx context.Context, driver *neo4j.DriverWithContext, organizationId string, ...)
- func LinkIndustryToOrganization(ctx context.Context, driver *neo4j.DriverWithContext, ...)
- func LinkNodes(ctx context.Context, driver *neo4j.DriverWithContext, fromId, toId string, ...)
- func MarkInvoicingStarted(ctx context.Context, driver *neo4j.DriverWithContext, ...)
- func Terminate(container testcontainers.Container, ctx context.Context)
- func UserOwnsOrganization(ctx context.Context, driver *neo4j.DriverWithContext, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertNeo4jLabels ¶
func AssertNeo4jNodeCount ¶
func AssertRelationship ¶
func AssertRelationships ¶
func CleanupAllData ¶
func CleanupAllData(ctx context.Context, driver *neo4j.DriverWithContext)
func CloseDriver ¶
func CloseDriver(driver neo4j.DriverWithContext)
func CreateBankAccount ¶
func CreateBankAccount(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, bankAccount entity.BankAccountEntity) string
func CreateBillingProfile ¶
func CreateBillingProfile(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, billingProfile entity.BillingProfileEntity) string
func CreateBillingProfileForOrganization ¶
func CreateBillingProfileForOrganization(ctx context.Context, driver *neo4j.DriverWithContext, tenant, orgId string, billingProfile entity.BillingProfileEntity) string
func CreateComment ¶
func CreateComment(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, comment entity.CommentEntity) string
func CreateCommentForIssue ¶
func CreateCommentForIssue(ctx context.Context, driver *neo4j.DriverWithContext, tenant, issueId string, comment entity.CommentEntity) string
func CreateContact ¶
func CreateContact(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, contact entity.ContactEntity) string
func CreateContractForOrganization ¶
func CreateContractForOrganization(ctx context.Context, driver *neo4j.DriverWithContext, tenant, organizationId string, contract entity.ContractEntity) string
func CreateCountry ¶
func CreateCountry(ctx context.Context, driver *neo4j.DriverWithContext, entity entity.CountryEntity) string
func CreateDefaultUser ¶
func CreateDefaultUserAlpha ¶
func CreateDefaultUserWithId ¶
func CreateEmail ¶
func CreateEmail(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, entity entity.EmailEntity) string
func CreateEmailForEntity ¶
func CreateEmailForEntity(ctx context.Context, driver *neo4j.DriverWithContext, tenant, entityId string, emailEntity entity.EmailEntity) string
func CreateExternalSystem ¶
func CreateExternalSystem(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, externalSystem entity.ExternalSystemEntity)
func CreateIndustry ¶
func CreateInteractionEvent ¶
func CreateInteractionEventFromEntity ¶
func CreateInteractionEventFromEntity(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, ie entity.InteractionEventEntity) string
func CreateInvoiceForContract ¶
func CreateInvoiceForContract(ctx context.Context, driver *neo4j.DriverWithContext, tenant, contractId string, invoice entity.InvoiceEntity) string
func CreateInvoiceLine ¶
func CreateInvoiceLine(ctx context.Context, driver *neo4j.DriverWithContext, tenant, invoiceId string, invoiceLine entity.InvoiceLineEntity) string
func CreateLocation ¶
func CreateLocation(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, location entity.LocationEntity) string
func CreateLogEntry ¶
func CreateLogEntry(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, logEntry entity.LogEntryEntity) string
func CreateLogEntryForOrganization ¶
func CreateLogEntryForOrganization(ctx context.Context, driver *neo4j.DriverWithContext, tenant, orgId string, logEntry entity.LogEntryEntity) string
func CreateOpportunity ¶
func CreateOpportunity(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, opportunity entity.OpportunityEntity) string
func CreateOpportunityForContract ¶
func CreateOpportunityForContract(ctx context.Context, driver *neo4j.DriverWithContext, tenant, contractId string, opportunity entity.OpportunityEntity) string
func CreateOpportunityForOrganization ¶
func CreateOpportunityForOrganization(ctx context.Context, driver *neo4j.DriverWithContext, tenant, organizationId string, opportunity entity.OpportunityEntity) string
func CreateOrganization ¶
func CreateOrganization(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, organization entity.OrganizationEntity) string
func CreatePhoneNumber ¶
func CreatePhoneNumber(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, phoneNumber entity.PhoneNumberEntity) string
func CreateReminder ¶
func CreateReminder(ctx context.Context, driver *neo4j.DriverWithContext, tenant, userId, orgId string, createdAt time.Time, reminderEntity entity.ReminderEntity) string
func CreateServiceLineItemForContract ¶
func CreateServiceLineItemForContract(ctx context.Context, driver *neo4j.DriverWithContext, tenant, contractId string, serviceLineItem entity.ServiceLineItemEntity) string
func CreateSocial ¶
func CreateSocial(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, social entity.SocialEntity) string
func CreateTenant ¶
func CreateTenant(ctx context.Context, driver *neo4j.DriverWithContext, tenant string)
func CreateTenantBillingProfile ¶
func CreateTenantBillingProfile(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, profile entity.TenantBillingProfileEntity) string
func CreateTenantSettings ¶
func CreateTenantSettings(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, settings entity.TenantSettingsEntity) string
func CreateUser ¶
func CreateUser(ctx context.Context, driver *neo4j.DriverWithContext, tenant string, user entity.UserEntity) string
func CreateUserWithId ¶
func CreateUserWithId(ctx context.Context, driver *neo4j.DriverWithContext, tenant, userId string)
func CreateWorkspace ¶
func ExecuteWriteQuery ¶
func GetAllLabels ¶
func GetAllLabels(ctx context.Context, driver *neo4j.DriverWithContext) []string
func GetAllNodesByLabel ¶
func GetCountOfNodes ¶
func GetCountOfRelationships ¶
func GetFirstNodeByLabel ¶
func GetNodeById ¶
func GetRelationship ¶
func GetRelationship(ctx context.Context, driver *neo4j.DriverWithContext, fromNodeId, toNodeId string) (*dbtype.Relationship, error)
func GetRelationships ¶
func GetRelationships(ctx context.Context, driver *neo4j.DriverWithContext, fromNodeId, toNodeId string) ([]dbtype.Relationship, error)
func GetTotalCountOfNodes ¶
func GetTotalCountOfNodes(ctx context.Context, driver *neo4j.DriverWithContext) int
func InitTestNeo4jDB ¶
func InitTestNeo4jDB() (testcontainers.Container, *neo4j.DriverWithContext)
func InsertContractWithActiveRenewalOpportunity ¶
func InsertContractWithActiveRenewalOpportunity(ctx context.Context, driver *neo4j.DriverWithContext, tenant, organizationId string, contract entity.ContractEntity, opportunity entity.OpportunityEntity) string
func InsertContractWithOpportunity ¶
func InsertContractWithOpportunity(ctx context.Context, driver *neo4j.DriverWithContext, tenant, organizationId string, contract entity.ContractEntity, opportunity entity.OpportunityEntity) string
func InsertServiceLineItem ¶
func InsertServiceLineItemCanceledWithParent ¶
func InsertServiceLineItemCanceledWithParent(ctx context.Context, driver *neo4j.DriverWithContext, tenant, contractId string, billedType enum.BilledType, price float64, quantity int64, previousBilledType enum.BilledType, previousPrice float64, previousQuantity int64, startedAt, endedAt time.Time, parentId string)
func InsertServiceLineItemEndedWithParent ¶
func InsertServiceLineItemEndedWithParent(ctx context.Context, driver *neo4j.DriverWithContext, tenant, contractId string, billedType enum.BilledType, price float64, quantity int64, previousBilledType enum.BilledType, previousPrice float64, previousQuantity int64, startedAt, endedAt time.Time, parentId string)
func LinkContactWithOrganization ¶
func LinkContactWithOrganization(ctx context.Context, driver *neo4j.DriverWithContext, tenant, contactId, organizationId string, jobRole entity.JobRoleEntity)
func LinkDomainToOrganization ¶
func LinkDomainToOrganization(ctx context.Context, driver *neo4j.DriverWithContext, organizationId string, domain entity.DomainEntity)
func LinkIndustryToOrganization ¶
func LinkIndustryToOrganization(ctx context.Context, driver *neo4j.DriverWithContext, organizationId, industryCode, industryName string)
func MarkInvoicingStarted ¶
func UserOwnsOrganization ¶
func UserOwnsOrganization(ctx context.Context, driver *neo4j.DriverWithContext, userId, organizationId string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.