Skip to main content

AgreementCommissionEvent

No description

type AgreementCommissionEvent implements Node {
id: ID!
pghCreatedAt: DateTime!
pghLabel: String!
pghContext: JSONString
pghContextId: NauticalUUID
contentTypeId: Int
objectId: Int!
commission: Decimal!
userEmail: String
userId: String
tenantId: Int
tenantSlug: String
appName: String
appId: String
taskName: String
}

Fields​

AgreementCommissionEvent.id ● ID! non-null scalar​

The Globally Unique ID of this object

AgreementCommissionEvent.pghCreatedAt ● DateTime! non-null scalar​

AgreementCommissionEvent.pghLabel ● String! non-null scalar​

Event label: 'commission_added', 'commission_updated', or 'commission_removed'

AgreementCommissionEvent.pghContext ● JSONString scalar​

JSON context captured at event time (user, app, tenant info).

AgreementCommissionEvent.pghContextId ● NauticalUUID scalar​

AgreementCommissionEvent.contentTypeId ● Int scalar​

ContentType ID of the object this commission applies to.

AgreementCommissionEvent.objectId ● Int! non-null scalar​

ID of the object this commission applies to.

AgreementCommissionEvent.commission ● Decimal! non-null scalar​

Commission rate at time of event.

AgreementCommissionEvent.userEmail ● String scalar​

Email of user who made the change.

AgreementCommissionEvent.userId ● String scalar​

Global ID of user who made the change.

AgreementCommissionEvent.tenantId ● Int scalar​

Tenant ID where the change occurred.

AgreementCommissionEvent.tenantSlug ● String scalar​

Tenant slug where the change occurred.

AgreementCommissionEvent.appName ● String scalar​

App name if change was via API token.

AgreementCommissionEvent.appId ● String scalar​

Global ID of app if change was via API token.

AgreementCommissionEvent.taskName ● String scalar​

Celery task name if change was async.

Interfaces​

Node interface​

An object with a Globally Unique ID

Member Of​

AgreementCommissionEventCountableEdge object

Was this page helpful?