Documentation
¶
Index ¶
- type Account
- type AccountAddress
- type AccountBilling
- type AccountBranding
- type AccountGroup
- type AccountGroupProductLine
- type AccountGroupQuantityDiscount
- type AccountIntegration
- type AccountInventorySetting
- type AccountPlan
- type AccountPlanFeature
- type AccountPlanLimit
- type AccountPortal
- type AccountPrice
- type AccountPriceAttribute
- type AccountPriceItemCategory
- type AccountProductionScheduleSetting
- type AccountRelation
- type AccountRelationNotificationPreference
- type AccountRelationNotificationType
- type AccountRelationPriceGroup
- type AccountRelationProductLine
- type AccountStatus
- type AccountUser
- type AcquireTaskLeaseParams
- type ActionType
- type Address
- type AdjustmentType
- type AdvanceIdempotencyRecoveryPointParams
- type AgentTokenBilling
- type Announcement
- type AnnouncementReceipt
- type ApiKey
- type Attribute
- type AuditEvent
- type Batch
- type BatchFlow
- type BatchesMachine
- type Carrier
- type CarrierOption
- type CarrierTransitEstimate
- type ChangeLog
- type Color
- type Consumption
- type Conversation
- type ConversationDmKey
- type ConversationLink
- type ConversationParticipant
- type CountBatchesByAccountIDInPeriodParams
- type CountInvoicesByAccountIDInPeriodParams
- type CreateIdempotencyKeyParams
- type CreateOutboxMessageParams
- type DBTX
- type DcLocation
- type DeletedRecord
- type Delivery
- type DeliveryLine
- type DeliveryStatus
- type DemandOverride
- type DemandOverrideType
- type Department
- type DepartmentsPick
- type DocApiKey
- type EdiRun
- type EmailDomain
- type EmailInbox
- type EmailLog
- type EmailMessage
- type EmailRecipient
- type ErrorLog
- type FulfillmentPolicy
- type Geolocation
- type GetAccountNameAndPlanCodeRow
- type GetAccountSubscriptionInfoRow
- type GetAgentTokenBillingByAccountAndPeriodParams
- type GetAgentTokenUsageSummaryParams
- type GetIdempotencyKeyByScopeHashParams
- type GetInboxRecordByMessageAndHandlerParams
- type GetLimitsByAccountIDRow
- type GetLockedOutboxMessagesByIDsParams
- type GetPlanByCodeRow
- type GetPlanByTypeIDRow
- type GetPlanLimitsByTypeIDRow
- type GetUserEmailByIDRow
- type HubspotAccountUserLink
- type HubspotCompanyReview
- type HubspotSyncJob
- type HubspotSyncRecord
- type IdempotencyKey
- type InsertStripeEventLogParams
- type InsertTokenPackPurchaseParams
- type InventoryAllocation
- type InventoryChangeLog
- type InventoryIssue
- type InventoryLog
- type InventoryPolicyType
- type InventoryReceipt
- type InventoryReceiptStatus
- type Inventoryissuestatus
- type Invoice
- type InvoiceLine
- type Item
- type ItemAttribute
- type ItemCategoriesProperty
- type ItemCategoriesQuantityDiscount
- type ItemCategory
- type ItemCategoryType
- type ItemType
- type Job
- type JournalPosting
- type LabelSize
- type LabelType
- type ListPricingPlansBackwardParams
- type ListPricingPlansBackwardRow
- type ListPricingPlansForwardParams
- type ListPricingPlansForwardRow
- type LockOutboxMessagesByIDsParams
- type Lot
- type Machine
- type MachineDowntimeEvent
- type MachineDowntimeReason
- type MarkInboxRecordFailedParams
- type MarkOutboxMessageFailedParams
- type Material
- type Message
- type MessageAttachment
- type MessageInbox
- type MessageOutbox
- type MessageReceipt
- type MessagingBlock
- type MessagingGroup
- type MessagingGroupMember
- type MessagingReport
- type Notification
- type NotificationPreference
- type OnboardingStatus
- type OperatingCalendar
- type OperatingCalendarClosure
- type OrderDiscount
- type OrderEmailContact
- type OrderPaymentIntent
- type ParentChildProductionStep
- type Part
- type PaymentTerm
- type PaymentTermsRegistrationFlow
- type Permission
- type PermissionGroup
- type Pick
- type PickLine
- type PortalDomain
- type PortalRegistrationSession
- type Priority
- type Product
- type ProductLine
- type ProductLineTarget
- type ProductLinesQuantityDiscount
- type ProductType
- type Production
- type ProductionRun
- type ProductionSchedule
- type ProductionScheduleDerivedLine
- type ProductionScheduleDeviation
- type ProductionScheduleFinishedPolicy
- type ProductionScheduleFinishingLine
- type ProductionScheduleItemPolicy
- type ProductionScheduleItemSetting
- type ProductionScheduleLine
- type ProductionScheduleLineOrder
- type ProductionScheduleLineStatus
- type ProductionScheduleResourceSetting
- type ProductionScheduleStatus
- type ProductionShift
- type ProductionStep
- type Property
- type PurgeProcessedInboxMessagesParams
- type PurgePublishedOutboxMessagesByIDsParams
- type Quantity
- type QuantityDiscount
- type QuantityDiscountTier
- type QuantityDiscountsAttribute
- type QuantityDiscountsUnit
- type Queries
- func (q *Queries) AcquireTaskLease(ctx context.Context, arg AcquireTaskLeaseParams) (sql.Result, error)
- func (q *Queries) AdvanceIdempotencyRecoveryPoint(ctx context.Context, arg AdvanceIdempotencyRecoveryPointParams) error
- func (q *Queries) CleanupExpiredOutboxLocksByIDs(ctx context.Context, ids []int64) (sql.Result, error)
- func (q *Queries) CountBatchesByAccountID(ctx context.Context, accountID string) (int64, error)
- func (q *Queries) CountBatchesByAccountIDInPeriod(ctx context.Context, arg CountBatchesByAccountIDInPeriodParams) (int64, error)
- func (q *Queries) CountInvoicesByAccountID(ctx context.Context, accountID string) (int64, error)
- func (q *Queries) CountInvoicesByAccountIDInPeriod(ctx context.Context, arg CountInvoicesByAccountIDInPeriodParams) (int64, error)
- func (q *Queries) CountSandboxesByAccountID(ctx context.Context, ownerAccountID string) (int64, error)
- func (q *Queries) CountUsersByAccountID(ctx context.Context, accountID string) (int64, error)
- func (q *Queries) CreateIdempotencyKey(ctx context.Context, arg CreateIdempotencyKeyParams) (int64, error)
- func (q *Queries) CreateOutboxMessage(ctx context.Context, arg CreateOutboxMessageParams) (int64, error)
- func (q *Queries) DeleteExpiredIdempotencyKeys(ctx context.Context, limit int32) (sql.Result, error)
- func (q *Queries) GetAccountNameAndPlanCode(ctx context.Context, id string) (GetAccountNameAndPlanCodeRow, error)
- func (q *Queries) GetAccountStripePricingPlanID(ctx context.Context, id string) (sql.NullString, error)
- func (q *Queries) GetAccountSubscriptionInfo(ctx context.Context, id string) (GetAccountSubscriptionInfoRow, error)
- func (q *Queries) GetAdminEmailByAccountID(ctx context.Context, accountID string) (sql.NullString, error)
- func (q *Queries) GetAgentTokenBillingByAccountAndPeriod(ctx context.Context, arg GetAgentTokenBillingByAccountAndPeriodParams) (AgentTokenBilling, error)
- func (q *Queries) GetAgentTokenUsageSummary(ctx context.Context, arg GetAgentTokenUsageSummaryParams) (int64, error)
- func (q *Queries) GetCompletedTokensByAccount(ctx context.Context, accountID string) (int64, error)
- func (q *Queries) GetIdempotencyKeyByScopeHash(ctx context.Context, arg GetIdempotencyKeyByScopeHashParams) (ServiceIdempotencyKey, error)
- func (q *Queries) GetIdempotencyKeyByTypeID(ctx context.Context, typeID string) (ServiceIdempotencyKey, error)
- func (q *Queries) GetIdempotencyRecoveryPoint(ctx context.Context, typeID string) (string, error)
- func (q *Queries) GetInboxRecordByMessageAndHandler(ctx context.Context, arg GetInboxRecordByMessageAndHandlerParams) (MessageInbox, error)
- func (q *Queries) GetLimitsByAccountID(ctx context.Context, id string) ([]GetLimitsByAccountIDRow, error)
- func (q *Queries) GetLockedOutboxMessagesByIDs(ctx context.Context, arg GetLockedOutboxMessagesByIDsParams) ([]MessageOutbox, error)
- func (q *Queries) GetPlanByCode(ctx context.Context, planTypeCode string) (GetPlanByCodeRow, error)
- func (q *Queries) GetPlanByTypeID(ctx context.Context, typeID string) (GetPlanByTypeIDRow, error)
- func (q *Queries) GetPlanLimitsByTypeID(ctx context.Context, accountPlanID string) ([]GetPlanLimitsByTypeIDRow, error)
- func (q *Queries) GetStripeCustomerIDByAccountID(ctx context.Context, id string) (sql.NullString, error)
- func (q *Queries) GetTokenPackPurchaseByPaymentIntent(ctx context.Context, stripePaymentIntentID sql.NullString) (TokenPackPurchase, error)
- func (q *Queries) GetUserEmailByID(ctx context.Context, id string) (GetUserEmailByIDRow, error)
- func (q *Queries) InsertStripeEventLog(ctx context.Context, arg InsertStripeEventLogParams) error
- func (q *Queries) InsertTokenPackPurchase(ctx context.Context, arg InsertTokenPackPurchaseParams) error
- func (q *Queries) ListPricingPlansBackward(ctx context.Context, arg ListPricingPlansBackwardParams) ([]ListPricingPlansBackwardRow, error)
- func (q *Queries) ListPricingPlansForward(ctx context.Context, arg ListPricingPlansForwardParams) ([]ListPricingPlansForwardRow, error)
- func (q *Queries) LockOutboxMessagesByIDs(ctx context.Context, arg LockOutboxMessagesByIDsParams) error
- func (q *Queries) MarkInboxRecordFailed(ctx context.Context, arg MarkInboxRecordFailedParams) error
- func (q *Queries) MarkInboxRecordProcessed(ctx context.Context, id int64) error
- func (q *Queries) MarkOutboxMessageFailed(ctx context.Context, arg MarkOutboxMessageFailedParams) error
- func (q *Queries) MarkOutboxMessagesPublished(ctx context.Context, ids []int64) error
- func (q *Queries) PurgeProcessedInboxMessages(ctx context.Context, arg PurgeProcessedInboxMessagesParams) (sql.Result, error)
- func (q *Queries) PurgePublishedOutboxMessagesByIDs(ctx context.Context, arg PurgePublishedOutboxMessagesByIDsParams) (sql.Result, error)
- func (q *Queries) ReleaseTaskLease(ctx context.Context, arg ReleaseTaskLeaseParams) error
- func (q *Queries) RenewTaskLease(ctx context.Context, arg RenewTaskLeaseParams) (sql.Result, error)
- func (q *Queries) SelectExpiredOutboxLockIDs(ctx context.Context, limit int32) ([]int64, error)
- func (q *Queries) SelectOutboxMessageIDsForLock(ctx context.Context, limit int32) ([]int64, error)
- func (q *Queries) SelectPublishedOutboxMessageIDsForPurge(ctx context.Context, arg SelectPublishedOutboxMessageIDsForPurgeParams) ([]int64, error)
- func (q *Queries) SetIdempotencyResponse(ctx context.Context, arg SetIdempotencyResponseParams) error
- func (q *Queries) StripeEventLogExists(ctx context.Context, arg StripeEventLogExistsParams) (bool, error)
- func (q *Queries) TryInsertInboxRecord(ctx context.Context, arg TryInsertInboxRecordParams) (sql.Result, error)
- func (q *Queries) UpdateStripeCustomerIDByAccountID(ctx context.Context, arg UpdateStripeCustomerIDByAccountIDParams) error
- func (q *Queries) UpdateTokenPackPurchaseCheckoutSession(ctx context.Context, arg UpdateTokenPackPurchaseCheckoutSessionParams) error
- func (q *Queries) UpdateTokenPackPurchasePaymentIntent(ctx context.Context, arg UpdateTokenPackPurchasePaymentIntentParams) error
- func (q *Queries) UpdateTokenPackPurchaseStatus(ctx context.Context, arg UpdateTokenPackPurchaseStatusParams) error
- func (q *Queries) UpdateTokensReportedToStripe(ctx context.Context, arg UpdateTokensReportedToStripeParams) error
- func (q *Queries) UpsertAgentTokenBilling(ctx context.Context, arg UpsertAgentTokenBillingParams) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Rate
- type ReceivingOrder
- type ReceivingOrderLine
- type RefreshToken
- type RegistrationFlow
- type RegistrationFlowsShippingTerm
- type RegistrationQueue
- type RegistrationSession
- type ReleaseTaskLeaseParams
- type RenewTaskLeaseParams
- type RequestLog
- type Role
- type RolePermission
- type RoleType
- type SalesOrder
- type SalesOrderLine
- type SalesOrderStatus
- type SalesOrderType
- type SandboxAccount
- type ScanningStation
- type ScanningStationType
- type ScheduleDeviationType
- type SelectPublishedOutboxMessageIDsForPurgeParams
- type ServiceIdempotencyKey
- type SetIdempotencyResponseParams
- type Settlement
- type Shipment
- type ShipmentLine
- type ShipmentStatus
- type ShippingCase
- type ShippingTerm
- type ShippingTermFreeShippingRule
- type StorageLocation
- type StorageLocationType
- type StripeEventLog
- type StripeEventLogExistsParams
- type SupplierMaterial
- type SupportRoute
- type SysProperty
- type SysPropertyType
- type Target
- type TaskLease
- type Territory
- type TokenPackPurchase
- type Transaction
- type TransactionAllocation
- type TransactionMethod
- type TransactionType
- type TryInsertInboxRecordParams
- type Unit
- type UnitGroup
- type UnitGroupUnit
- type UnitType
- type UpdateStripeCustomerIDByAccountIDParams
- type UpdateTokenPackPurchaseCheckoutSessionParams
- type UpdateTokenPackPurchasePaymentIntentParams
- type UpdateTokenPackPurchaseStatusParams
- type UpdateTokensReportedToStripeParams
- type UpsertAgentTokenBillingParams
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
ID string
Name string
AccountTypeCode string
OnboardingStatusCode string
AccountBillingID sql.NullString
DefaultBillingAddressID sql.NullString
DefaultShippingAddressID sql.NullString
UpdatedAt time.Time
CreatedAt time.Time
AccountPlanID sql.NullString
InternalStripeCustomerID sql.NullString
InternalStripeSubscriptionID sql.NullString
SubscriptionStatus sql.NullString
SubscriptionCurrentPeriodEnd sql.NullTime
}
type AccountAddress ¶
type AccountBilling ¶
type AccountBilling struct {
ID string
AccountPlanID string
InternalStripeCustomerID sql.NullString
InternalStripeSubscriptionID sql.NullString
SubscriptionStatus sql.NullString
SubscriptionCurrentPeriodEnd sql.NullTime
StripeBillingProfileID sql.NullString
StripeBillingCadenceID sql.NullString
StripePricingPlanSubscriptionID sql.NullString
ServicingStatus sql.NullString
CollectionStatus sql.NullString
AgentMonthlySpendingCapCents sql.NullInt64
CreatedAt time.Time
UpdatedAt time.Time
}
type AccountBranding ¶
type AccountBranding struct {
ID string
OwnerAccountID string
SupportEmail sql.NullString
LogoUrl sql.NullString
FaviconUrl sql.NullString
PhoneNumber sql.NullString
FacebookHandle sql.NullString
InstagramHandle sql.NullString
LinkedinHandle sql.NullString
TwitterHandle sql.NullString
WebsiteUrl sql.NullString
UpdatedAt time.Time
CreatedAt time.Time
}
type AccountGroup ¶
type AccountGroup struct {
ID string
OwnerAccountID string
Name string
Description sql.NullString
CommissionStatusCode string
FreightStatusCode string
AccountGroupTypeCode string
RegistrationFlowID sql.NullString
UpdatedAt time.Time
CreatedAt time.Time
DefaultLeadTimeDays sql.NullInt32
FulfillmentPolicyCode sql.NullString
ReceiveCalendarID sql.NullString
}
type AccountGroupProductLine ¶
type AccountIntegration ¶
type AccountInventorySetting ¶
type AccountPlan ¶
type AccountPlan struct {
ID int64
TypeID string
Name string
PlanTypeCode string
Version int32
PricePerSeat string
PricePerMonth sql.NullString
SeatMinimum sql.NullInt32
StripePricingPlanID sql.NullString
RegistrationLimit sql.NullInt32
DisplayFeatures json.RawMessage
DisplayOrder int32
IsHighlighted bool
ButtonText string
IncludesPreviousPlan sql.NullString
IsPubliclyVisible bool
EffectiveAt time.Time
ExpiresAt sql.NullTime
CreatedAt time.Time
UpdatedAt time.Time
}
type AccountPlanFeature ¶
type AccountPlanLimit ¶
type AccountPortal ¶
type AccountPrice ¶
type AccountPriceAttribute ¶
type AccountProductionScheduleSetting ¶
type AccountProductionScheduleSetting struct {
ID string
AccountID string
ConstraintDepartmentID sql.NullString
PlanningHorizonWeeks int32
FrozenWeeks int32
WeekStartDay int32
DemandWindowMonths int32
ForecastHistoryMonths int32
ForecastMonths int32
DemandBasisCode string
ForecastZ string
ChangeoverAvgMinutes string
ChangeoverMinMinutes string
ChangeoverMaxMinutes string
ChangeoverLaborRate string
HoldingRatePct string
ServiceLevelZ string
FinishLeadTimeWeeks string
DefaultConstraintLeadTimeWeeks string
MaxWeeksSupply string
MaxFlowDepth int32
ShiftsPerDay int32
HoursPerShift string
WorkDaysPerWeek int32
WeeksPerYear int32
CapacityHeadroomPct string
DefaultLotUnits string
IsEnabled bool
GenerationCron sql.NullString
GenerationTimezone string
AutoPublish bool
LastGeneratedAt sql.NullTime
CreatedAt time.Time
UpdatedAt time.Time
DefaultCustomerLeadTimeDays int32
DefaultFulfillmentPolicyCode string
RecommendationAdiThreshold string
RecommendationConcentrationPct string
RecommendationCv2Threshold string
RecommendationDormantMonths int32
RecommendationHighValueUnitCost string
RecommendationSlowMoverCogs string
ReceiveCalendarID sql.NullString
ShipCalendarID sql.NullString
}
type AccountRelation ¶
type AccountRelation struct {
ID string
OwnerAccountID string
CounterpartyAccountID string
AccountRelationRoleCode string
ExternalNumber string
IsEdiEnabled bool
StripeCustomerID sql.NullString
StripeEmail sql.NullString
HubspotCompanyID sql.NullString
Notes sql.NullString
UpdatedAt time.Time
CreatedAt time.Time
ParentAccountRelationID sql.NullString
Alias sql.NullString
DefaultBillingAddressID sql.NullString
DefaultShippingAddressID sql.NullString
CommissionStatusCode sql.NullString
FreightStatusCode sql.NullString
DefaultCarrierID sql.NullString
DefaultCarrierOptionID sql.NullString
DefaultSalesRepID sql.NullString
AccountStatusCode sql.NullString
PaymentTermID sql.NullString
AccountGroupID sql.NullString
PriorityCode string
ShippingTermID sql.NullString
CarrierBillingType sql.NullString
CarrierBillingAccount sql.NullString
CreditLimitID sql.NullString
DefaultLeadTimeDays sql.NullInt32
FulfillmentPolicyCode sql.NullString
ReceiveCalendarID sql.NullString
}
type AccountStatus ¶
type AccountUser ¶
type AcquireTaskLeaseParams ¶
type ActionType ¶
type Address ¶
type Address struct {
ID string
Name string
Phone sql.NullString
Email sql.NullString
IsDropShip bool
GeolocationID string
CreatedAt time.Time
UpdatedAt time.Time
ReceiveCalendarID sql.NullString
}
type AdjustmentType ¶
type AgentTokenBilling ¶
type Announcement ¶
type Announcement struct {
ID string
Scope string
AccountID sql.NullString
Category string
TemplateKey sql.NullString
TemplateParams json.RawMessage
Title string
Body sql.NullString
LinkResourceType sql.NullString
LinkResourceID sql.NullString
Priority string
Audience json.RawMessage
PublishAt time.Time
ExpiresAt sql.NullTime
CreatedBy sql.NullString
CreatedAt time.Time
UpdatedAt time.Time
}
type AnnouncementReceipt ¶
type AuditEvent ¶
type AuditEvent struct {
ID int64
TypeID string
ActorID string
ActorType string
IdentityType string
AccountID string
TargetAccountID string
Action string
ResourceType string
ResourceID string
Changes json.RawMessage
Metadata json.RawMessage
ServiceName string
RequestID sql.NullString
IdempotencyKeyID sql.NullString
SourceIp sql.NullString
OccurredAt time.Time
CreatedAt time.Time
RootResourceID sql.NullString
RootResourceType sql.NullString
}
type Batch ¶
type Batch struct {
ID string
CreatedAt time.Time
ClosedAt sql.NullTime
UpdatedAt time.Time
AccountID string
ItemID string
QuantityID string
ScanningStationID sql.NullString
SecondsQuantityID sql.NullString
WasteQuantityID sql.NullString
ProductionStepID sql.NullString
ProductionRunID sql.NullString
ScannedAt sql.NullTime
LocationID sql.NullString
}
type BatchesMachine ¶
type Carrier ¶
type Carrier struct {
ID string
Code sql.NullString
Description sql.NullString
Name string
ShippoCarrierAccountID sql.NullString
AccountNumber sql.NullString
AccountID sql.NullString
CreatedAt time.Time
UpdatedAt time.Time
IsPortalEnabled bool
DeletedAt sql.NullTime
}
type CarrierOption ¶
type CarrierTransitEstimate ¶
type Color ¶
type Color struct {
ID string
CreatedAt time.Time
DarkHex sql.NullString
LightHex sql.NullString
Name sql.NullString
Code string
UpdatedAt time.Time
}
type Consumption ¶
type Conversation ¶
type Conversation struct {
ID string
AccountID string
Type string
Audience string
Title sql.NullString
GroupID sql.NullString
TopicResourceType sql.NullString
TopicResourceID sql.NullString
CreatedByParticipantID sql.NullString
NextSequence int64
LastMessageID sql.NullString
LastMessageAt sql.NullTime
IsArchived bool
LegalHold bool
WorkflowStatus sql.NullString
AssigneeResourceType sql.NullString
AssigneeResourceID sql.NullString
EmailInboxID sql.NullString
EmailExternalAddress sql.NullString
Metadata json.RawMessage
CreatedAt time.Time
UpdatedAt time.Time
}
type ConversationDmKey ¶
type ConversationLink ¶
type ConversationParticipant ¶
type ConversationParticipant struct {
ID string
ConversationID string
AccountID string
ParticipantType string
AccountUserID sql.NullString
AgentConfigID sql.NullString
Role string
Membership string
Notifications string
MutedUntil sql.NullTime
LastReadMessageID sql.NullString
LastReadSequence int64
LastReadAt sql.NullTime
LastSeenAt sql.NullTime
HiddenAt sql.NullTime
AgentTriggerPolicy sql.NullString
AgentTriggerKeywords json.RawMessage
RelationAccountID sql.NullString
JoinedAt time.Time
CreatedAt time.Time
UpdatedAt time.Time
}
type CreateOutboxMessageParams ¶
type CreateOutboxMessageParams struct {
MessageID string
ServiceName string
MessageType string
Destination string
RoutingKey sql.NullString
Headers db.NullableRawMessage
Payload json.RawMessage
MaxAttempts int32
RequestID sql.NullString
ParentMessageID sql.NullString
}
type DcLocation ¶
type DeletedRecord ¶
type DeliveryLine ¶
type DeliveryStatus ¶
type DemandOverride ¶
type DemandOverride struct {
ID string
AccountID string
ScopeCode string
ScopeRefID string
PeriodStartDate time.Time
PeriodEndDate time.Time
OverrideTypeCode string
Value string
UnitID sql.NullString
ReasonCode sql.NullString
Note sql.NullString
CreatedByID string
EffectiveFrom time.Time
ExpiresAt sql.NullTime
IsActive bool
CreatedAt time.Time
UpdatedAt time.Time
}
type DemandOverrideType ¶
type Department ¶
type Department struct {
ID string
Name string
Notes sql.NullString
CreatedAt time.Time
UpdatedAt time.Time
LocationID sql.NullString
AccountID string
LaborRateID sql.NullString
}
type DepartmentsPick ¶
type EmailDomain ¶
type EmailInbox ¶
type EmailInbox struct {
ID string
AccountID string
EmailDomainID string
Address string
FromName sql.NullString
Status string
AgentConfigID sql.NullString
AgentTriggerPolicy sql.NullString
AgentTriggerKeywords json.RawMessage
GroupID sql.NullString
CreatedAt time.Time
UpdatedAt time.Time
}
type EmailLog ¶
type EmailLog struct {
ID string
HasSent bool
AccountID string
SentByID sql.NullString
CreatedAt time.Time
UpdatedAt time.Time
Subject sql.NullString
Filename sql.NullString
SesMessageID sql.NullString
}
type EmailMessage ¶
type EmailMessage struct {
ID string
AccountID string
ConversationID string
MessageID string
EmailInboxID string
Direction string
RfcMessageID string
InReplyTo sql.NullString
References sql.NullString
FromAddr string
ToAddrs string
CcAddrs sql.NullString
Subject sql.NullString
RawS3Key sql.NullString
SesMessageID sql.NullString
CreatedAt time.Time
UpdatedAt time.Time
}
type EmailRecipient ¶
type FulfillmentPolicy ¶
type Geolocation ¶
type Geolocation struct {
ID string
StreetLine1 sql.NullString
StreetLine2 sql.NullString
Locality sql.NullString
State sql.NullString
PostalCode sql.NullString
Country string
AddressDetails json.RawMessage
GooglePlaceID sql.NullString
CreatedAt time.Time
UpdatedAt time.Time
Latitude sql.NullFloat64
Longitude sql.NullFloat64
Timezone sql.NullString
}
type GetAccountSubscriptionInfoRow ¶
type GetAccountSubscriptionInfoRow struct {
SubscriptionStatus sql.NullString
SubscriptionCurrentPeriodEnd sql.NullTime
InternalStripeSubscriptionID sql.NullString
StripeBillingProfileID sql.NullString
StripeBillingCadenceID sql.NullString
StripePricingPlanSubscriptionID sql.NullString
ServicingStatus sql.NullString
CollectionStatus sql.NullString
}
type GetLimitsByAccountIDRow ¶
type GetLockedOutboxMessagesByIDsParams ¶
type GetLockedOutboxMessagesByIDsParams struct {
Ids []int64
LockOwner sql.NullString
}
type GetPlanByCodeRow ¶
type GetPlanByCodeRow struct {
ID int64
CreatedAt time.Time
TypeID string
Name string
PlanTypeCode string
PricePerSeat string
PricePerMonth sql.NullString
SeatMinimum sql.NullInt32
DisplayFeatures json.RawMessage
DisplayOrder int32
IsHighlighted bool
ButtonText string
IncludesPreviousPlan sql.NullString
StripePricingPlanID sql.NullString
}
type GetPlanByTypeIDRow ¶
type GetPlanByTypeIDRow struct {
ID int64
CreatedAt time.Time
TypeID string
Name string
PlanTypeCode string
PricePerSeat string
PricePerMonth sql.NullString
SeatMinimum sql.NullInt32
DisplayFeatures json.RawMessage
DisplayOrder int32
IsHighlighted bool
ButtonText string
IncludesPreviousPlan sql.NullString
StripePricingPlanID sql.NullString
}
type GetUserEmailByIDRow ¶
type GetUserEmailByIDRow struct {
Email sql.NullString
DisplayName sql.NullString
}
type HubspotAccountUserLink ¶
type HubspotCompanyReview ¶
type HubspotCompanyReview struct {
ID string
JobID string
AccountID string
AugnoCustomerID string
CustomerName string
CustomerEmail sql.NullString
CustomerUrl sql.NullString
CandidateMatches json.RawMessage
Status string
Resolution sql.NullString
ResolvedHubspotID sql.NullString
CreatedAt time.Time
UpdatedAt time.Time
}
type HubspotSyncJob ¶
type HubspotSyncRecord ¶
type IdempotencyKey ¶
type IdempotencyKey struct {
ID int64
TypeID string
IdempotencyKey string
ActorID sql.NullString
IdentityType string
TargetAccountID sql.NullString
RequestMethod string
NormalizedRoute string
RequestBodyHash string
ScopeHash string
RequestParams json.RawMessage
ResponseCode sql.NullInt32
ResponseBody json.RawMessage
ResponseHeaders json.RawMessage
RecoveryPoint string
LockedAt sql.NullTime
LockOwner sql.NullString
LockExpiresAt sql.NullTime
CreatedAt time.Time
UpdatedAt time.Time
LastRunAt sql.NullTime
ExpiresAt sql.NullTime
}
type InventoryAllocation ¶
type InventoryChangeLog ¶
type InventoryChangeLog struct {
ID string
ItemID string
QuantityID string
ActionTypeCode string
ScanningStationID sql.NullString
CreatedAt time.Time
AccountID string
InventoryLogID sql.NullString
UpdatedAt time.Time
ResponsibleUserID sql.NullString
}
type InventoryIssue ¶
type InventoryIssue struct {
ID string
AccountID string
ItemID string
StorageLocationID sql.NullString
LotID sql.NullString
IssuedAt sql.NullTime
OrderID sql.NullString
BatchID sql.NullString
StatusCode string
QuantityID string
CreatedAt time.Time
UpdatedAt time.Time
}
type InventoryLog ¶
type InventoryPolicyType ¶
type InventoryReceipt ¶
type InventoryReceipt struct {
ID string
OwnerAccountID string
HolderAccountID string
ItemID string
StorageLocationID sql.NullString
LotID sql.NullString
ReceivedAt time.Time
QuantityID string
UnitCostID string
OrderID sql.NullString
BatchID sql.NullString
StatusCode string
CreatedAt time.Time
UpdatedAt time.Time
}
type InventoryReceiptStatus ¶
type Inventoryissuestatus ¶
type InvoiceLine ¶
type ItemAttribute ¶
type ItemCategoriesProperty ¶
type ItemCategory ¶
type ItemCategoryType ¶
type Job ¶
type Job struct {
ID int64
JobID string
Type string
JobItems json.RawMessage
AccountID sql.NullString
CreatedBy sql.NullString
Results json.RawMessage
Errors json.RawMessage
ErrorSummary sql.NullString
UpdatedAt time.Time
CreatedAt time.Time
StartedAt sql.NullTime
CancelledAt sql.NullTime
CompletedAt sql.NullTime
FailedAt sql.NullTime
Error json.RawMessage
ResourceType sql.NullString
}
type JournalPosting ¶
type ListPricingPlansBackwardRow ¶
type ListPricingPlansBackwardRow struct {
ID int64
CreatedAt time.Time
TypeID string
Name string
PlanTypeCode string
PricePerSeat string
PricePerMonth sql.NullString
SeatMinimum sql.NullInt32
DisplayFeatures json.RawMessage
DisplayOrder int32
IsHighlighted bool
ButtonText string
IncludesPreviousPlan sql.NullString
StripePricingPlanID sql.NullString
}
type ListPricingPlansForwardRow ¶
type ListPricingPlansForwardRow struct {
ID int64
CreatedAt time.Time
TypeID string
Name string
PlanTypeCode string
PricePerSeat string
PricePerMonth sql.NullString
SeatMinimum sql.NullInt32
DisplayFeatures json.RawMessage
DisplayOrder int32
IsHighlighted bool
ButtonText string
IncludesPreviousPlan sql.NullString
StripePricingPlanID sql.NullString
}
type LockOutboxMessagesByIDsParams ¶
type LockOutboxMessagesByIDsParams struct {
LockOwner sql.NullString
LockDurationSeconds interface{}
Ids []int64
}
type MachineDowntimeEvent ¶
type MachineDowntimeEvent struct {
ID string
AccountID string
MachineID string
DepartmentID sql.NullString
ProductionStepID sql.NullString
ReasonCode string
StartedAt time.Time
EndedAt sql.NullTime
DurationSeconds sql.NullInt32
ShiftDate time.Time
ShiftCode sql.NullString
ItemID sql.NullString
ProductionRunID sql.NullString
BatchID sql.NullString
ScheduleLineID sql.NullString
Note sql.NullString
ReportedByID string
SourceCode string
CreatedAt time.Time
UpdatedAt time.Time
}
type MachineDowntimeReason ¶
type MarkInboxRecordFailedParams ¶
type MarkInboxRecordFailedParams struct {
LastError sql.NullString
ID int64
}
type MarkOutboxMessageFailedParams ¶
type MarkOutboxMessageFailedParams struct {
LastError sql.NullString
Column2 interface{}
ID int64
}
type Message ¶
type Message struct {
ID string
ConversationID string
AccountID string
Sequence sql.NullInt64
Kind string
Status string
Visibility string
SenderParticipantID sql.NullString
ClientMessageID sql.NullString
Body sql.NullString
Subject sql.NullString
Channel sql.NullString
Preview sql.NullString
EventType sql.NullString
TemplateKey sql.NullString
TemplateParams json.RawMessage
LinkResourceType sql.NullString
LinkResourceID sql.NullString
AgentRunID sql.NullString
ReplyToMessageID sql.NullString
SourceThreadMessageID sql.NullString
ApprovedByAccountUserID sql.NullString
StreamingState string
ScheduledFor sql.NullTime
ScheduledAttempts int32
LastError sql.NullString
LockedAt sql.NullTime
LockOwner sql.NullString
EditedAt sql.NullTime
DeletedAt sql.NullTime
Metadata json.RawMessage
CreatedAt time.Time
UpdatedAt time.Time
}
type MessageAttachment ¶
type MessageAttachment struct {
ID string
MessageID string
AccountID string
Kind string
S3Key sql.NullString
Url sql.NullString
ThumbnailUrl sql.NullString
Filename sql.NullString
ContentType sql.NullString
SizeBytes sql.NullInt64
ResourceType sql.NullString
ResourceID sql.NullString
DeletedAt sql.NullTime
S3PurgedAt sql.NullTime
CreatedAt time.Time
UpdatedAt time.Time
}
type MessageInbox ¶
type MessageOutbox ¶
type MessageOutbox struct {
ID int64
MessageID string
ServiceName string
MessageType string
Destination string
RoutingKey sql.NullString
Headers db.NullableRawMessage
Payload json.RawMessage
Status string
Attempts int32
MaxAttempts int32
NextRunAt time.Time
LockedAt sql.NullTime
LockOwner sql.NullString
LockExpiresAt sql.NullTime
LastError sql.NullString
PublishedAt sql.NullTime
RequestID sql.NullString
ParentMessageID sql.NullString
CreatedAt time.Time
UpdatedAt time.Time
}
type MessageReceipt ¶
type MessagingBlock ¶
type MessagingGroup ¶
type MessagingGroupMember ¶
type MessagingGroupMember struct {
ID string
GroupID string
AccountID string
MemberType string
AccountUserID sql.NullString
AgentConfigID sql.NullString
CreatedAt time.Time
}
type MessagingReport ¶
type Notification ¶
type Notification struct {
ID string
AccountID string
RecipientAccountUserID string
Category string
SourceMessageID sql.NullString
ConversationID sql.NullString
Title string
Body sql.NullString
TemplateKey sql.NullString
TemplateParams json.RawMessage
LinkResourceType sql.NullString
LinkResourceID sql.NullString
SenderType sql.NullString
SenderID sql.NullString
SenderName sql.NullString
Priority string
SeenAt sql.NullTime
ReadAt sql.NullTime
DismissedAt sql.NullTime
Metadata json.RawMessage
CreatedAt time.Time
UpdatedAt time.Time
}
type NotificationPreference ¶
type OnboardingStatus ¶
type OperatingCalendar ¶
type OrderDiscount ¶
type OrderEmailContact ¶
type OrderPaymentIntent ¶
type PaymentTerm ¶
type Permission ¶
type PermissionGroup ¶
type PortalDomain ¶
type PortalRegistrationSession ¶
type PortalRegistrationSession struct {
ID int64
TypeID string
UserID string
SellerAccountID string
SellerSlug string
IsExistingCustomer sql.NullBool
Step string
CustomerID sql.NullString
SessionData json.RawMessage
CompletedAt sql.NullTime
AbandonedAt sql.NullTime
CreatedAt time.Time
UpdatedAt time.Time
}
type ProductLine ¶
type ProductLine struct {
ID string
Name string
Description sql.NullString
Notes sql.NullString
CreatedAt time.Time
UpdatedAt time.Time
AccountID sql.NullString
UnitGroupID string
IsCommissionExempt bool
IsFreightExempt bool
DefaultLotID sql.NullString
FulfillmentPolicyCode sql.NullString
}
type ProductLineTarget ¶
type ProductType ¶
type Production ¶
type ProductionRun ¶
type ProductionSchedule ¶
type ProductionSchedule struct {
ID string
AccountID string
Version int32
StatusCode string
Name sql.NullString
PlanningAsOf time.Time
HorizonStartDate time.Time
HorizonEndDate time.Time
HorizonWeeks int32
FrozenWeeks int32
FrozenThroughDate sql.NullTime
DemandBasisCode string
GenerationSourceCode string
SolverVersion string
SettingsSnapshot json.RawMessage
Diagnostics json.RawMessage
ErrorMessage sql.NullString
FrozenLineCount int32
FrozenPlannedQuantity string
GeneratedByID sql.NullString
PublishedByID sql.NullString
PublishedAt sql.NullTime
SupersededByID sql.NullString
CreatedAt time.Time
UpdatedAt time.Time
}
type ProductionScheduleDerivedLine ¶
type ProductionScheduleDerivedLine struct {
ID string
AccountID string
ProductionScheduleID string
SourceLineID string
ProductionStepID string
DepartmentID sql.NullString
ItemID string
WeekIndex int32
WeekStartDate time.Time
Quantity string
PlannedUnitID sql.NullString
ExplosionDepth int32
OffsetWeeks int32
StatusCode string
CreatedAt time.Time
UpdatedAt time.Time
}
type ProductionScheduleDeviation ¶
type ProductionScheduleDeviation struct {
ID string
AccountID string
ProductionScheduleID string
ProductionScheduleLineID sql.NullString
DeviationTypeCode string
IsFrozenWeek bool
WeekIndex sql.NullInt32
MachineID sql.NullString
ItemID sql.NullString
BeforeJson json.RawMessage
AfterJson json.RawMessage
DeltaQuantity string
DeltaRunHours string
ReasonCode sql.NullString
ReasonNote sql.NullString
ActorID string
CreatedAt time.Time
}
type ProductionScheduleFinishedPolicy ¶
type ProductionScheduleFinishedPolicy struct {
ID string
AccountID string
ProductionScheduleID string
ItemID string
Sku string
GreigeItemID string
GreigeSku string
ProductLineID sql.NullString
AnnualDemand string
WeeklyDemand string
SigmaWeekly string
SafetyStock string
ReorderPoint string
OnHand string
WeeksOfCover string
CreatedAt time.Time
UpdatedAt time.Time
}
type ProductionScheduleFinishingLine ¶
type ProductionScheduleFinishingLine struct {
ID string
AccountID string
ProductionScheduleID string
WeekIndex int32
WeekStartDate time.Time
ItemID string
Sku string
GreigeItemID string
GreigeSku string
DepartmentID sql.NullString
ProductionStepID sql.NullString
PlannedQuantity string
PlannedUnitID sql.NullString
PlannedLots int32
PlannedLotUnits string
PlannedRunHours string
GreigeConsumed string
FirmUnits string
ProjectedOnHandBefore string
ProjectedOnHandAfter string
StatusCode string
SourceCode string
IsFrozen bool
CreatedAt time.Time
UpdatedAt time.Time
}
type ProductionScheduleItemPolicy ¶
type ProductionScheduleItemPolicy struct {
ID string
AccountID string
ProductionScheduleID string
ItemID string
Sku string
ProductionStepID sql.NullString
PrimaryMachineID sql.NullString
AnnualDemand string
WeeklyDemand string
SecondsPerUnit string
UnitCost string
SetupCost string
HoldingCost string
EoqUnits string
ConstraintLeadTimeWeeks string
FinishLeadTimeWeeks string
SigmaWeeklyPooled string
SigmaDownstreamSum string
SafetyStockPrimary string
SafetyStockDownstream string
ReorderPoint string
OrderUpTo string
OnHandEchelon string
OnHandGreige string
AverageGreigeInventory string
MaxGreigeInventory string
WeeksOfCover string
ProjectedOnHand json.RawMessage
AnnualRunHours string
AbcClass sql.NullString
WasEoqCapped bool
WasCapacityStarved bool
CreatedAt time.Time
UpdatedAt time.Time
UnitID sql.NullString
FirmDemandUnits string
ForecastDemandUnits string
FulfillmentPolicyCode string
PolicySourceCode string
}
type ProductionScheduleItemSetting ¶
type ProductionScheduleItemSetting struct {
ID string
AccountID string
ItemID string
IsExcluded bool
MinLotUnits sql.NullString
MaxLotUnits sql.NullString
LotMultipleUnits sql.NullString
FixedLeadTimeWeeks sql.NullString
ServiceLevelZ sql.NullString
ManualEoqUnits sql.NullString
AbcClassOverride sql.NullString
PreferredMachineID sql.NullString
CreatedAt time.Time
UpdatedAt time.Time
FulfillmentPolicyCode sql.NullString
}
type ProductionScheduleLine ¶
type ProductionScheduleLine struct {
ID string
AccountID string
ProductionScheduleID string
WeekIndex int32
WeekStartDate time.Time
MachineID string
ProductionStepID sql.NullString
DepartmentID sql.NullString
ItemID string
PlannedQuantity string
PlannedUnitID sql.NullString
PlannedLots int32
PlannedRunHours string
PlannedChangeoverMinutes string
SequenceIndex int32
ProjectedOnHandBefore string
ProjectedOnHandAfter string
StatusCode string
SourceCode string
ReasonCode sql.NullString
IsFrozen bool
ProductionRunID sql.NullString
CreatedAt time.Time
UpdatedAt time.Time
PlannedLotUnits string
}
type ProductionScheduleResourceSetting ¶
type ProductionScheduleResourceSetting struct {
ID string
AccountID string
ScopeCode string
ScopeRefID string
IsExcluded bool
IsEnabled bool
ShiftsPerDay sql.NullInt32
HoursPerShift sql.NullString
WorkDaysPerWeek sql.NullInt32
CapacityHeadroomPct sql.NullString
EfficiencyPct sql.NullString
LeadTimeWeeks sql.NullString
LeadTimeOffsetWeeks string
ChangeoverAvgMinutes sql.NullString
ChangeoverMinMinutes sql.NullString
ChangeoverMaxMinutes sql.NullString
SortOrder int32
CreatedAt time.Time
UpdatedAt time.Time
}
type ProductionShift ¶
type ProductionStep ¶
type PurgeProcessedInboxMessagesParams ¶
type PurgeProcessedInboxMessagesParams struct {
Column1 interface{}
Limit int32
}
type PurgePublishedOutboxMessagesByIDsParams ¶
type PurgePublishedOutboxMessagesByIDsParams struct {
Ids []int64
RetentionHours interface{}
}
type QuantityDiscount ¶
type QuantityDiscountTier ¶
type QuantityDiscountsUnit ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AcquireTaskLease ¶
func (*Queries) AdvanceIdempotencyRecoveryPoint ¶
func (q *Queries) AdvanceIdempotencyRecoveryPoint(ctx context.Context, arg AdvanceIdempotencyRecoveryPointParams) error
func (*Queries) CleanupExpiredOutboxLocksByIDs ¶
func (*Queries) CountBatchesByAccountID ¶
func (*Queries) CountBatchesByAccountIDInPeriod ¶
func (*Queries) CountInvoicesByAccountID ¶
func (*Queries) CountInvoicesByAccountIDInPeriod ¶
func (*Queries) CountSandboxesByAccountID ¶
func (*Queries) CountUsersByAccountID ¶
func (*Queries) CreateIdempotencyKey ¶
func (*Queries) CreateOutboxMessage ¶
func (*Queries) DeleteExpiredIdempotencyKeys ¶
func (*Queries) GetAccountNameAndPlanCode ¶
func (*Queries) GetAccountStripePricingPlanID ¶
func (*Queries) GetAccountSubscriptionInfo ¶
func (*Queries) GetAdminEmailByAccountID ¶
func (*Queries) GetAgentTokenBillingByAccountAndPeriod ¶
func (q *Queries) GetAgentTokenBillingByAccountAndPeriod(ctx context.Context, arg GetAgentTokenBillingByAccountAndPeriodParams) (AgentTokenBilling, error)
func (*Queries) GetAgentTokenUsageSummary ¶
func (*Queries) GetCompletedTokensByAccount ¶
func (*Queries) GetIdempotencyKeyByScopeHash ¶
func (q *Queries) GetIdempotencyKeyByScopeHash(ctx context.Context, arg GetIdempotencyKeyByScopeHashParams) (ServiceIdempotencyKey, error)
func (*Queries) GetIdempotencyKeyByTypeID ¶
func (*Queries) GetIdempotencyRecoveryPoint ¶
func (*Queries) GetInboxRecordByMessageAndHandler ¶
func (q *Queries) GetInboxRecordByMessageAndHandler(ctx context.Context, arg GetInboxRecordByMessageAndHandlerParams) (MessageInbox, error)
func (*Queries) GetLimitsByAccountID ¶
func (*Queries) GetLockedOutboxMessagesByIDs ¶
func (q *Queries) GetLockedOutboxMessagesByIDs(ctx context.Context, arg GetLockedOutboxMessagesByIDsParams) ([]MessageOutbox, error)
func (*Queries) GetPlanByCode ¶
func (*Queries) GetPlanByTypeID ¶
func (*Queries) GetPlanLimitsByTypeID ¶
func (*Queries) GetStripeCustomerIDByAccountID ¶
func (*Queries) GetTokenPackPurchaseByPaymentIntent ¶
func (q *Queries) GetTokenPackPurchaseByPaymentIntent(ctx context.Context, stripePaymentIntentID sql.NullString) (TokenPackPurchase, error)
func (*Queries) GetUserEmailByID ¶
func (*Queries) InsertStripeEventLog ¶
func (q *Queries) InsertStripeEventLog(ctx context.Context, arg InsertStripeEventLogParams) error
func (*Queries) InsertTokenPackPurchase ¶
func (q *Queries) InsertTokenPackPurchase(ctx context.Context, arg InsertTokenPackPurchaseParams) error
func (*Queries) ListPricingPlansBackward ¶
func (q *Queries) ListPricingPlansBackward(ctx context.Context, arg ListPricingPlansBackwardParams) ([]ListPricingPlansBackwardRow, error)
func (*Queries) ListPricingPlansForward ¶
func (q *Queries) ListPricingPlansForward(ctx context.Context, arg ListPricingPlansForwardParams) ([]ListPricingPlansForwardRow, error)
func (*Queries) LockOutboxMessagesByIDs ¶
func (q *Queries) LockOutboxMessagesByIDs(ctx context.Context, arg LockOutboxMessagesByIDsParams) error
func (*Queries) MarkInboxRecordFailed ¶
func (q *Queries) MarkInboxRecordFailed(ctx context.Context, arg MarkInboxRecordFailedParams) error
func (*Queries) MarkInboxRecordProcessed ¶
func (*Queries) MarkOutboxMessageFailed ¶
func (q *Queries) MarkOutboxMessageFailed(ctx context.Context, arg MarkOutboxMessageFailedParams) error
func (*Queries) MarkOutboxMessagesPublished ¶
func (*Queries) PurgeProcessedInboxMessages ¶
func (*Queries) PurgePublishedOutboxMessagesByIDs ¶
func (*Queries) ReleaseTaskLease ¶
func (q *Queries) ReleaseTaskLease(ctx context.Context, arg ReleaseTaskLeaseParams) error
func (*Queries) RenewTaskLease ¶
func (*Queries) SelectExpiredOutboxLockIDs ¶
func (*Queries) SelectOutboxMessageIDsForLock ¶
func (*Queries) SelectPublishedOutboxMessageIDsForPurge ¶
func (*Queries) SetIdempotencyResponse ¶
func (q *Queries) SetIdempotencyResponse(ctx context.Context, arg SetIdempotencyResponseParams) error
func (*Queries) StripeEventLogExists ¶
func (*Queries) TryInsertInboxRecord ¶
func (*Queries) UpdateStripeCustomerIDByAccountID ¶
func (q *Queries) UpdateStripeCustomerIDByAccountID(ctx context.Context, arg UpdateStripeCustomerIDByAccountIDParams) error
func (*Queries) UpdateTokenPackPurchaseCheckoutSession ¶
func (q *Queries) UpdateTokenPackPurchaseCheckoutSession(ctx context.Context, arg UpdateTokenPackPurchaseCheckoutSessionParams) error
func (*Queries) UpdateTokenPackPurchasePaymentIntent ¶
func (q *Queries) UpdateTokenPackPurchasePaymentIntent(ctx context.Context, arg UpdateTokenPackPurchasePaymentIntentParams) error
func (*Queries) UpdateTokenPackPurchaseStatus ¶
func (q *Queries) UpdateTokenPackPurchaseStatus(ctx context.Context, arg UpdateTokenPackPurchaseStatusParams) error
func (*Queries) UpdateTokensReportedToStripe ¶
func (q *Queries) UpdateTokensReportedToStripe(ctx context.Context, arg UpdateTokensReportedToStripeParams) error
func (*Queries) UpsertAgentTokenBilling ¶
func (q *Queries) UpsertAgentTokenBilling(ctx context.Context, arg UpsertAgentTokenBillingParams) error
type ReceivingOrder ¶
type ReceivingOrderLine ¶
type RefreshToken ¶
type RegistrationFlow ¶
type RegistrationQueue ¶
type RegistrationSession ¶
type RegistrationSession struct {
ID int64
TypeID string
Email string
PlanCode string
Step string
VerificationToken string
IsEmailVerified bool
IsExistingUser sql.NullBool
UserID sql.NullString
AccountID sql.NullString
StripeCustomerID sql.NullString
StripeCheckoutSessionID sql.NullString
StripeSubscriptionID sql.NullString
PaymentCompleted bool
SessionData json.RawMessage
CompletedAt sql.NullTime
CreatedAt time.Time
UpdatedAt time.Time
}
type ReleaseTaskLeaseParams ¶
type RenewTaskLeaseParams ¶
type RequestLog ¶
type RequestLog struct {
ID string
Method string
Host string
Path string
NormalizedRoute string
QueryJson json.RawMessage
RequestBodyJson json.RawMessage
ResponseBodyJson json.RawMessage
StatusCode int32
LatencyUs int64
TargetAccountID sql.NullString
PublicEndpoint bool
ApiVersion sql.NullString
AccountID sql.NullString
ActorID sql.NullString
ActorType sql.NullString
IdentityType sql.NullString
ClientIp sql.NullString
ClientIpString sql.NullString
UserAgent sql.NullString
Referrer sql.NullString
ErrorCode sql.NullString
ErrorMessage sql.NullString
CreatedAt time.Time
OccurredAt time.Time
IdempotencyKeyID sql.NullString
StackTrace sql.NullString
InternalErrorMessage sql.NullString
TraceID sql.NullString
Hidden bool
}
type RolePermission ¶
type SalesOrder ¶
type SalesOrder struct {
ID string
BillingAddressID string
ShippingAddressID string
CustomerPoNumber sql.NullString
Note sql.NullString
Number string
IsAcknowledgmentSent bool
CarrierID sql.NullString
CarrierOptionID sql.NullString
CarrierBillingType sql.NullString
CarrierBillingAccount sql.NullString
PriorityCode string
SalesRepID sql.NullString
ShippingTermID sql.NullString
SalesOrderStatusCode string
SalesOrderTypeCode string
PaymentTermID sql.NullString
ProductionRunID sql.NullString
OrderDiscountID sql.NullString
BuyerAccountID string
SellerAccountID string
OwnerAccountID string
CompletedAt sql.NullTime
ExpiredAt sql.NullTime
FirstShipAt sql.NullTime
IssuedAt sql.NullTime
PromisedAt sql.NullTime
CreatedAt time.Time
UpdatedAt time.Time
LeadTimeDays sql.NullInt32
LeadTimeSourceCode sql.NullString
ShipByDate sql.NullTime
TransitDays sql.NullInt32
TransitSourceCode sql.NullString
CalendarAdjustmentDays sql.NullInt32
LeadTimeOverrideDays sql.NullInt32
ShipByCutoffAt sql.NullTime
ShipByOverrideDate sql.NullTime
}
type SalesOrderLine ¶
type SalesOrderLine struct {
ID string
ProductSku string
ProductDescription sql.NullString
EdiLineItemID sql.NullString
LineItemNumber sql.NullInt32
ProductID sql.NullString
ItemID sql.NullString
SalesOrderID string
QuantityID string
UnitPriceID string
UnitCostID sql.NullString
CreatedAt time.Time
UpdatedAt time.Time
}
type SalesOrderStatus ¶
type SalesOrderType ¶
type SandboxAccount ¶
type ScanningStation ¶
type ScanningStationType ¶
type ScheduleDeviationType ¶
type SelectPublishedOutboxMessageIDsForPurgeParams ¶
type SelectPublishedOutboxMessageIDsForPurgeParams struct {
RetentionHours interface{}
Limit int32
}
type ServiceIdempotencyKey ¶
type ServiceIdempotencyKey struct {
ID int64
TypeID string
ServiceName string
Handler string
IdempotencyKey string
ActorID sql.NullString
IdentityType string
ScopeHash string
ResponseCode sql.NullInt32
ResponseBody *json.RawMessage
RecoveryPoint string
LockedAt sql.NullTime
LockOwner sql.NullString
LockExpiresAt sql.NullTime
CreatedAt time.Time
UpdatedAt time.Time
LastRunAt sql.NullTime
ExpiresAt sql.NullTime
}
type Settlement ¶
type Shipment ¶
type Shipment struct {
ID string
BillOfLading sql.NullString
ShippedAt sql.NullTime
Note sql.NullString
Number string
InvoiceID sql.NullString
CarrierID string
CarrierOptionID sql.NullString
ShippingAddressID string
ShippedByID sql.NullString
SalesOrderID string
ShipmentStatusCode string
AccountID string
CreatedAt time.Time
UpdatedAt time.Time
MasterTrackingNumber sql.NullString
}
type ShipmentLine ¶
type ShipmentStatus ¶
type ShippingCase ¶
type ShippingCase struct {
ID string
Number string
Sscc sql.NullString
TrackingNumber sql.NullString
ShippoTransactionID sql.NullString
ShippingLabelUrl sql.NullString
ShippedAt sql.NullTime
FreightAmountID string
FreightWeightID string
ShipmentID string
CarrierID string
AccountID string
CreatedAt time.Time
UpdatedAt time.Time
}
type ShippingTerm ¶
type ShippingTerm struct {
ID string
Name string
IsFreightExempt bool
IsCarrierRate bool
AccountID sql.NullString
FlatRateID sql.NullString
MinimumOrderID sql.NullString
CreatedAt time.Time
UpdatedAt time.Time
}
type StorageLocation ¶
type StorageLocationType ¶
type StripeEventLog ¶
type SupplierMaterial ¶
type SupportRoute ¶
type SysProperty ¶
type SysPropertyType ¶
type TokenPackPurchase ¶
type Transaction ¶
type Transaction struct {
ID string
CustomerAccountID string
AmountID string
Note sql.NullString
TransactionMethodCode sql.NullString
TransactionTypeCode string
IsFullyAllocated bool
ResponsibleUserID sql.NullString
AccountID string
CreatedAt time.Time
UpdatedAt time.Time
AdjustmentTypeCode sql.NullString
StripePaymentID sql.NullString
FundsReceivedAt sql.NullTime
Number string
}
type TransactionAllocation ¶
type TransactionMethod ¶
type TransactionType ¶
type TryInsertInboxRecordParams ¶
type TryInsertInboxRecordParams struct {
MessageID string
ServiceName string
Handler string
MessageType string
RequestID sql.NullString
ParentMessageID sql.NullString
}
type UnitGroupUnit ¶
type UpdateStripeCustomerIDByAccountIDParams ¶
type UpdateStripeCustomerIDByAccountIDParams struct {
InternalStripeCustomerID sql.NullString
AccountID string
}
type UpdateTokenPackPurchaseCheckoutSessionParams ¶
type UpdateTokenPackPurchaseCheckoutSessionParams struct {
StripeCheckoutSessionID sql.NullString
ID string
}
type UpdateTokenPackPurchasePaymentIntentParams ¶
type UpdateTokenPackPurchasePaymentIntentParams struct {
StripePaymentIntentID sql.NullString
ID string
}
type UpdateTokensReportedToStripeParams ¶
type UpdateTokensReportedToStripeParams struct {
TokensReportedToStripe int64
StripeMeteredItemID sql.NullString
ID string
}
type User ¶
type User struct {
ID string
Email sql.NullString
Name sql.NullString
Username sql.NullString
HashedPassword sql.NullString
EmailVerified sql.NullTime
ImageUrl sql.NullString
StatusCode string
CreatedAt time.Time
UpdatedAt time.Time
}
Click to show internal directories.
Click to hide internal directories.