/** * GraphQL types for ORM client * @generated by @constructive-io/graphql-codegen * DO NOT EDIT - changes will be overwritten */ export interface StringFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; lessThan?: string; lessThanOrEqualTo?: string; greaterThan?: string; greaterThanOrEqualTo?: string; includes?: string; notIncludes?: string; includesInsensitive?: string; notIncludesInsensitive?: string; startsWith?: string; notStartsWith?: string; startsWithInsensitive?: string; notStartsWithInsensitive?: string; endsWith?: string; notEndsWith?: string; endsWithInsensitive?: string; notEndsWithInsensitive?: string; like?: string; notLike?: string; likeInsensitive?: string; notLikeInsensitive?: string; } export interface IntFilter { isNull?: boolean; equalTo?: number; notEqualTo?: number; distinctFrom?: number; notDistinctFrom?: number; in?: number[]; notIn?: number[]; lessThan?: number; lessThanOrEqualTo?: number; greaterThan?: number; greaterThanOrEqualTo?: number; } export interface FloatFilter { isNull?: boolean; equalTo?: number; notEqualTo?: number; distinctFrom?: number; notDistinctFrom?: number; in?: number[]; notIn?: number[]; lessThan?: number; lessThanOrEqualTo?: number; greaterThan?: number; greaterThanOrEqualTo?: number; } export interface BooleanFilter { isNull?: boolean; equalTo?: boolean; notEqualTo?: boolean; } export interface UUIDFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; } export interface DatetimeFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; lessThan?: string; lessThanOrEqualTo?: string; greaterThan?: string; greaterThanOrEqualTo?: string; } export interface DateFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; lessThan?: string; lessThanOrEqualTo?: string; greaterThan?: string; greaterThanOrEqualTo?: string; } export interface JSONFilter { isNull?: boolean; equalTo?: Record; notEqualTo?: Record; distinctFrom?: Record; notDistinctFrom?: Record; contains?: Record; containedBy?: Record; containsKey?: string; containsAllKeys?: string[]; containsAnyKeys?: string[]; } export interface BigIntFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; lessThan?: string; lessThanOrEqualTo?: string; greaterThan?: string; greaterThanOrEqualTo?: string; } export interface BigFloatFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; lessThan?: string; lessThanOrEqualTo?: string; greaterThan?: string; greaterThanOrEqualTo?: string; } export interface BitStringFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; } export interface InternetAddressFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; lessThan?: string; lessThanOrEqualTo?: string; greaterThan?: string; greaterThanOrEqualTo?: string; contains?: string; containsOrEqualTo?: string; containedBy?: string; containedByOrEqualTo?: string; containsOrContainedBy?: string; } export interface FullTextFilter { matches?: string; } export interface VectorFilter { isNull?: boolean; equalTo?: number[]; notEqualTo?: number[]; distinctFrom?: number[]; notDistinctFrom?: number[]; } export interface StringListFilter { isNull?: boolean; equalTo?: string[]; notEqualTo?: string[]; distinctFrom?: string[]; notDistinctFrom?: string[]; lessThan?: string[]; lessThanOrEqualTo?: string[]; greaterThan?: string[]; greaterThanOrEqualTo?: string[]; contains?: string[]; containedBy?: string[]; overlaps?: string[]; anyEqualTo?: string; anyNotEqualTo?: string; anyLessThan?: string; anyLessThanOrEqualTo?: string; anyGreaterThan?: string; anyGreaterThanOrEqualTo?: string; } export interface IntListFilter { isNull?: boolean; equalTo?: number[]; notEqualTo?: number[]; distinctFrom?: number[]; notDistinctFrom?: number[]; lessThan?: number[]; lessThanOrEqualTo?: number[]; greaterThan?: number[]; greaterThanOrEqualTo?: number[]; contains?: number[]; containedBy?: number[]; overlaps?: number[]; anyEqualTo?: number; anyNotEqualTo?: number; anyLessThan?: number; anyLessThanOrEqualTo?: number; anyGreaterThan?: number; anyGreaterThanOrEqualTo?: number; } export interface UUIDListFilter { isNull?: boolean; equalTo?: string[]; notEqualTo?: string[]; distinctFrom?: string[]; notDistinctFrom?: string[]; lessThan?: string[]; lessThanOrEqualTo?: string[]; greaterThan?: string[]; greaterThanOrEqualTo?: string[]; contains?: string[]; containedBy?: string[]; overlaps?: string[]; anyEqualTo?: string; anyNotEqualTo?: string; anyLessThan?: string; anyLessThanOrEqualTo?: string; anyGreaterThan?: string; anyGreaterThanOrEqualTo?: string; } /** Per-entity cap overrides. Allows specific orgs/entities to have different cap values than the scope default. */ export interface AppLimitCap { /** Entity this cap override applies to */ entityId?: string | null; id: string; /** Override cap value for this entity */ max?: string | null; /** Name identifier of the cap being overridden */ name?: string | null; } /** Default cap values for static configuration limits (max file size, feature flags, etc.). Not metered — just read by consumers. */ export interface AppLimitCapsDefault { id: string; /** Default cap value. For feature flags: 0=disabled, 1=enabled. For size caps: the limit in bytes/units. */ max?: string | null; /** Name identifier of the cap (e.g. max_file_upload_size, advanced_analytics) */ name?: string | null; } /** Tracks per-actor usage counts against configurable maximum limits */ export interface AppLimit { /** User whose usage is being tracked against this limit */ actorId?: string | null; /** Entity type prefix (org, team, app, etc.) for interpreting entity_id */ entityType?: string | null; id: string; /** Maximum allowed usage; negative means unlimited. Modified by plans, credits, and achievements. */ max?: string | null; /** Name identifier of the limit being tracked */ name?: string | null; /** Current usage count for this actor and limit */ num?: string | null; /** Resolved billable organization via get_organization_id */ organizationId?: string | null; /** Temporary credits for the current billing window. Resets to 0 on window expiry. */ periodCredits?: string | null; /** Ceiling set by the active plan via apply_plan(). Window reset does not change this value. */ planMax?: string | null; /** Permanent credits from purchases, admin grants, or lifetime rewards. Survives window reset. */ purchasedCredits?: string | null; /** Soft limit threshold for warnings; NULL means no soft limit. When num >= soft_max, consumers should warn but still allow until max is reached. */ softMax?: string | null; /** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */ windowDuration?: string | null; /** Start of the current metering window; NULL means no time window */ windowStart?: string | null; } /** Redeemable credit codes managed by admins with the add_credits permission */ export interface AppLimitCreditCode { /** Human-readable credit code (case-insensitive, unique) */ code?: string | null; /** Current number of redemptions (incremented by trigger on credit_redemptions) */ currentRedemptions?: number | null; /** Expiration timestamp; NULL for no expiry */ expiresAt?: string | null; id: string; /** Maximum total redemptions allowed; NULL for unlimited */ maxRedemptions?: number | null; } /** Items within a credit code — each row grants credits for a specific limit definition */ export interface AppLimitCreditCodeItem { /** Number of credits this item grants per redemption */ amount?: string | null; /** FK to credit_codes — which code this item belongs to */ creditCodeId?: string | null; /** Credit durability: permanent (survives window reset) or period (resets on window expiry) */ creditType?: string | null; /** FK to default_limits — which limit this item grants credits for */ defaultLimitId?: string | null; id: string; } /** Append-only ledger of credit grants that automatically update limit ceilings */ export interface AppLimitCredit { /** User this credit is for; NULL for aggregate entity-level credits */ actorId?: string | null; /** Number of credits to grant (positive to add, negative to revoke) */ amount?: string | null; /** Credit durability: permanent (survives window reset) or period (resets on window expiry) */ creditType?: string | null; /** FK to default_limits — which limit definition this credit applies to */ defaultLimitId?: string | null; id: string; /** Optional reason for the credit grant (promo code, admin grant, etc.) */ reason?: string | null; } /** Append-only ledger of code redemptions; AFTER INSERT trigger validates and cascades to limit_credits */ export interface AppLimitCreditRedemption { /** FK to credit_codes — which code is being redeemed */ creditCodeId?: string | null; /** Entity receiving the credits (personal org user_id or org entity_id) */ entityId?: string | null; /** Membership prefix identifying the entity kind (org, team, app) */ entityType?: string | null; id: string; /** Resolved billable organization via get_organization_id */ organizationId?: string | null; } /** Default maximum values for each named limit, applied when no per-actor override exists */ export interface AppLimitDefault { id: string; /** Default maximum usage allowed for this limit */ max?: string | null; /** Name identifier of the limit this default applies to */ name?: string | null; /** Default soft limit threshold for warnings; NULL means no soft limit */ softMax?: string | null; } /** Append-only log of limit events for historical reporting and audit */ export interface AppLimitEvent { /** User who triggered this event; NULL for system/aggregate events */ actorId?: string | null; createdAt?: string | null; /** Change amount: positive for increment, negative for decrement */ delta?: string | null; /** Entity this event applies to; NULL for app-level events */ entityId?: string | null; /** Entity type prefix (org, team, app, etc.) for interpreting entity_id */ entityType?: string | null; /** Event type: inc, dec, check, modify, transfer, apply_plan, reset */ eventType?: string | null; /** Unique identifier for each limit event */ id: string; /** Max limit ceiling at the time of this event */ maxAtEvent?: string | null; /** Limit name this event applies to */ name?: string | null; /** Usage count after this event */ numAfter?: string | null; /** Usage count before this event */ numBefore?: string | null; /** Resolved billable organization via get_organization_id; NULL for app-level events */ organizationId?: string | null; /** Optional reason or source: achievement, invite, plan_change, purchase, etc. */ reason?: string | null; } /** Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it. */ export interface AppLimitWarning { id: string; /** Limit name this warning applies to (must match a default_limits entry) */ name?: string | null; /** Job task name to enqueue when warning fires (e.g. email:limit_warning, notification:approaching_limit) */ taskIdentifier?: string | null; /** Threshold value — either an absolute count or a percentage (1-100) depending on warning_type */ thresholdValue?: string | null; /** Threshold type: absolute (fixed count) or percentage (of max) */ warningType?: string | null; } /** Tracks aggregate entity-level usage counts (org-wide caps, no per-user breakdown) */ export interface OrgLimitAggregate { /** Entity (org) whose aggregate usage is being tracked */ entityId?: string | null; /** Entity type prefix (org, team, app, etc.) for interpreting entity_id */ entityType?: string | null; id: string; /** Maximum allowed aggregate usage; negative means unlimited */ max?: string | null; /** Name identifier of the aggregate limit being tracked */ name?: string | null; /** Current aggregate usage count for this entity and limit */ num?: string | null; /** Resolved billable organization via get_organization_id */ organizationId?: string | null; /** Temporary credits for the current billing window. Resets to 0 on window expiry. */ periodCredits?: string | null; /** Ceiling set by the active plan via apply_plan(). Window reset does not change this value. */ planMax?: string | null; /** Permanent credits from purchases, admin grants, or lifetime rewards. Survives window reset. */ purchasedCredits?: string | null; /** Capacity reserved by child entities in budgeted allocation mode. Available = max - num - reserved. */ reserved?: string | null; /** Soft limit threshold for warnings; NULL means no soft limit */ softMax?: string | null; /** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */ windowDuration?: string | null; /** Start of the current metering window; NULL means no time window */ windowStart?: string | null; } /** Per-entity cap overrides. Allows specific orgs/entities to have different cap values than the scope default. */ export interface OrgLimitCap { /** Entity this cap override applies to */ entityId?: string | null; id: string; /** Override cap value for this entity */ max?: string | null; /** Name identifier of the cap being overridden */ name?: string | null; } /** Default cap values for static configuration limits (max file size, feature flags, etc.). Not metered — just read by consumers. */ export interface OrgLimitCapsDefault { id: string; /** Default cap value. For feature flags: 0=disabled, 1=enabled. For size caps: the limit in bytes/units. */ max?: string | null; /** Name identifier of the cap (e.g. max_file_upload_size, advanced_analytics) */ name?: string | null; } /** Tracks per-actor usage counts against configurable maximum limits */ export interface OrgLimit { /** User whose usage is being tracked against this limit */ actorId?: string | null; entityId?: string | null; /** Entity type prefix (org, team, app, etc.) for interpreting entity_id */ entityType?: string | null; id: string; /** Maximum allowed usage; negative means unlimited. Modified by plans, credits, and achievements. */ max?: string | null; /** Name identifier of the limit being tracked */ name?: string | null; /** Current usage count for this actor and limit */ num?: string | null; /** Resolved billable organization via get_organization_id */ organizationId?: string | null; /** Temporary credits for the current billing window. Resets to 0 on window expiry. */ periodCredits?: string | null; /** Ceiling set by the active plan via apply_plan(). Window reset does not change this value. */ planMax?: string | null; /** Permanent credits from purchases, admin grants, or lifetime rewards. Survives window reset. */ purchasedCredits?: string | null; /** Soft limit threshold for warnings; NULL means no soft limit. When num >= soft_max, consumers should warn but still allow until max is reached. */ softMax?: string | null; /** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */ windowDuration?: string | null; /** Start of the current metering window; NULL means no time window */ windowStart?: string | null; } /** Append-only ledger of credit grants that automatically update limit ceilings */ export interface OrgLimitCredit { /** User this credit is for; NULL for aggregate entity-level credits */ actorId?: string | null; /** Number of credits to grant (positive to add, negative to revoke) */ amount?: string | null; /** Credit durability: permanent (survives window reset) or period (resets on window expiry) */ creditType?: string | null; /** FK to default_limits — which limit definition this credit applies to */ defaultLimitId?: string | null; /** Entity this credit applies to; NULL for actor-only credits */ entityId?: string | null; /** Membership prefix identifying the entity kind (org, team, app) */ entityType?: string | null; id: string; /** Resolved billable organization via get_organization_id */ organizationId?: string | null; /** Optional reason for the credit grant (promo code, admin grant, etc.) */ reason?: string | null; } /** Default maximum values for each named limit, applied when no per-actor override exists */ export interface OrgLimitDefault { id: string; /** Default maximum usage allowed for this limit */ max?: string | null; /** Name identifier of the limit this default applies to */ name?: string | null; /** Default soft limit threshold for warnings; NULL means no soft limit */ softMax?: string | null; } /** Append-only log of limit events for historical reporting and audit */ export interface OrgLimitEvent { /** User who triggered this event; NULL for system/aggregate events */ actorId?: string | null; createdAt?: string | null; /** Change amount: positive for increment, negative for decrement */ delta?: string | null; /** Entity this event applies to; NULL for app-level events */ entityId?: string | null; /** Entity type prefix (org, team, app, etc.) for interpreting entity_id */ entityType?: string | null; /** Event type: inc, dec, check, modify, transfer, apply_plan, reset */ eventType?: string | null; /** Unique identifier for each limit event */ id: string; /** Max limit ceiling at the time of this event */ maxAtEvent?: string | null; /** Limit name this event applies to */ name?: string | null; /** Usage count after this event */ numAfter?: string | null; /** Usage count before this event */ numBefore?: string | null; /** Resolved billable organization via get_organization_id; NULL for app-level events */ organizationId?: string | null; /** Optional reason or source: achievement, invite, plan_change, purchase, etc. */ reason?: string | null; } /** Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it. */ export interface OrgLimitWarning { /** Per-entity override (NULL = scope default for all entities) */ entityId?: string | null; id: string; /** Limit name this warning applies to (must match a default_limits entry) */ name?: string | null; /** Job task name to enqueue when warning fires (e.g. email:limit_warning, notification:approaching_limit) */ taskIdentifier?: string | null; /** Threshold value — either an absolute count or a percentage (1-100) depending on warning_type */ thresholdValue?: string | null; /** Threshold type: absolute (fixed count) or percentage (of max) */ warningType?: string | null; } export interface ConnectionResult { nodes: T[]; totalCount: number; pageInfo: PageInfo; } export interface PageInfo { hasNextPage: boolean; hasPreviousPage: boolean; startCursor?: string | null; endCursor?: string | null; } export interface AppLimitCapRelations { } export interface AppLimitCapsDefaultRelations { } export interface AppLimitRelations { } export interface AppLimitCreditCodeRelations { appLimitCreditCodeItemsByCreditCodeId?: ConnectionResult; appLimitCreditRedemptionsByCreditCodeId?: ConnectionResult; } export interface AppLimitCreditCodeItemRelations { creditCode?: AppLimitCreditCode | null; defaultLimit?: AppLimitDefault | null; } export interface AppLimitCreditRelations { defaultLimit?: AppLimitDefault | null; } export interface AppLimitCreditRedemptionRelations { creditCode?: AppLimitCreditCode | null; } export interface AppLimitDefaultRelations { appLimitCreditCodeItemsByDefaultLimitId?: ConnectionResult; appLimitCreditsByDefaultLimitId?: ConnectionResult; } export interface AppLimitEventRelations { } export interface AppLimitWarningRelations { } export interface OrgLimitAggregateRelations { } export interface OrgLimitCapRelations { } export interface OrgLimitCapsDefaultRelations { } export interface OrgLimitRelations { } export interface OrgLimitCreditRelations { defaultLimit?: OrgLimitDefault | null; } export interface OrgLimitDefaultRelations { orgLimitCreditsByDefaultLimitId?: ConnectionResult; } export interface OrgLimitEventRelations { } export interface OrgLimitWarningRelations { } export type AppLimitCapWithRelations = AppLimitCap & AppLimitCapRelations; export type AppLimitCapsDefaultWithRelations = AppLimitCapsDefault & AppLimitCapsDefaultRelations; export type AppLimitWithRelations = AppLimit & AppLimitRelations; export type AppLimitCreditCodeWithRelations = AppLimitCreditCode & AppLimitCreditCodeRelations; export type AppLimitCreditCodeItemWithRelations = AppLimitCreditCodeItem & AppLimitCreditCodeItemRelations; export type AppLimitCreditWithRelations = AppLimitCredit & AppLimitCreditRelations; export type AppLimitCreditRedemptionWithRelations = AppLimitCreditRedemption & AppLimitCreditRedemptionRelations; export type AppLimitDefaultWithRelations = AppLimitDefault & AppLimitDefaultRelations; export type AppLimitEventWithRelations = AppLimitEvent & AppLimitEventRelations; export type AppLimitWarningWithRelations = AppLimitWarning & AppLimitWarningRelations; export type OrgLimitAggregateWithRelations = OrgLimitAggregate & OrgLimitAggregateRelations; export type OrgLimitCapWithRelations = OrgLimitCap & OrgLimitCapRelations; export type OrgLimitCapsDefaultWithRelations = OrgLimitCapsDefault & OrgLimitCapsDefaultRelations; export type OrgLimitWithRelations = OrgLimit & OrgLimitRelations; export type OrgLimitCreditWithRelations = OrgLimitCredit & OrgLimitCreditRelations; export type OrgLimitDefaultWithRelations = OrgLimitDefault & OrgLimitDefaultRelations; export type OrgLimitEventWithRelations = OrgLimitEvent & OrgLimitEventRelations; export type OrgLimitWarningWithRelations = OrgLimitWarning & OrgLimitWarningRelations; export type AppLimitCapSelect = { entityId?: boolean; id?: boolean; max?: boolean; name?: boolean; }; export type AppLimitCapsDefaultSelect = { id?: boolean; max?: boolean; name?: boolean; }; export type AppLimitSelect = { actorId?: boolean; entityType?: boolean; id?: boolean; max?: boolean; name?: boolean; num?: boolean; organizationId?: boolean; periodCredits?: boolean; planMax?: boolean; purchasedCredits?: boolean; softMax?: boolean; windowDuration?: boolean; windowStart?: boolean; }; export type AppLimitCreditCodeSelect = { code?: boolean; currentRedemptions?: boolean; expiresAt?: boolean; id?: boolean; maxRedemptions?: boolean; appLimitCreditCodeItemsByCreditCodeId?: { select: AppLimitCreditCodeItemSelect; first?: number; filter?: AppLimitCreditCodeItemFilter; orderBy?: AppLimitCreditCodeItemOrderBy[]; }; appLimitCreditRedemptionsByCreditCodeId?: { select: AppLimitCreditRedemptionSelect; first?: number; filter?: AppLimitCreditRedemptionFilter; orderBy?: AppLimitCreditRedemptionOrderBy[]; }; }; export type AppLimitCreditCodeItemSelect = { amount?: boolean; creditCodeId?: boolean; creditType?: boolean; defaultLimitId?: boolean; id?: boolean; creditCode?: { select: AppLimitCreditCodeSelect; }; defaultLimit?: { select: AppLimitDefaultSelect; }; }; export type AppLimitCreditSelect = { actorId?: boolean; amount?: boolean; creditType?: boolean; defaultLimitId?: boolean; id?: boolean; reason?: boolean; defaultLimit?: { select: AppLimitDefaultSelect; }; }; export type AppLimitCreditRedemptionSelect = { creditCodeId?: boolean; entityId?: boolean; entityType?: boolean; id?: boolean; organizationId?: boolean; creditCode?: { select: AppLimitCreditCodeSelect; }; }; export type AppLimitDefaultSelect = { id?: boolean; max?: boolean; name?: boolean; softMax?: boolean; appLimitCreditCodeItemsByDefaultLimitId?: { select: AppLimitCreditCodeItemSelect; first?: number; filter?: AppLimitCreditCodeItemFilter; orderBy?: AppLimitCreditCodeItemOrderBy[]; }; appLimitCreditsByDefaultLimitId?: { select: AppLimitCreditSelect; first?: number; filter?: AppLimitCreditFilter; orderBy?: AppLimitCreditOrderBy[]; }; }; export type AppLimitEventSelect = { actorId?: boolean; createdAt?: boolean; delta?: boolean; entityId?: boolean; entityType?: boolean; eventType?: boolean; id?: boolean; maxAtEvent?: boolean; name?: boolean; numAfter?: boolean; numBefore?: boolean; organizationId?: boolean; reason?: boolean; }; export type AppLimitWarningSelect = { id?: boolean; name?: boolean; taskIdentifier?: boolean; thresholdValue?: boolean; warningType?: boolean; }; export type OrgLimitAggregateSelect = { entityId?: boolean; entityType?: boolean; id?: boolean; max?: boolean; name?: boolean; num?: boolean; organizationId?: boolean; periodCredits?: boolean; planMax?: boolean; purchasedCredits?: boolean; reserved?: boolean; softMax?: boolean; windowDuration?: boolean; windowStart?: boolean; }; export type OrgLimitCapSelect = { entityId?: boolean; id?: boolean; max?: boolean; name?: boolean; }; export type OrgLimitCapsDefaultSelect = { id?: boolean; max?: boolean; name?: boolean; }; export type OrgLimitSelect = { actorId?: boolean; entityId?: boolean; entityType?: boolean; id?: boolean; max?: boolean; name?: boolean; num?: boolean; organizationId?: boolean; periodCredits?: boolean; planMax?: boolean; purchasedCredits?: boolean; softMax?: boolean; windowDuration?: boolean; windowStart?: boolean; }; export type OrgLimitCreditSelect = { actorId?: boolean; amount?: boolean; creditType?: boolean; defaultLimitId?: boolean; entityId?: boolean; entityType?: boolean; id?: boolean; organizationId?: boolean; reason?: boolean; defaultLimit?: { select: OrgLimitDefaultSelect; }; }; export type OrgLimitDefaultSelect = { id?: boolean; max?: boolean; name?: boolean; softMax?: boolean; orgLimitCreditsByDefaultLimitId?: { select: OrgLimitCreditSelect; first?: number; filter?: OrgLimitCreditFilter; orderBy?: OrgLimitCreditOrderBy[]; }; }; export type OrgLimitEventSelect = { actorId?: boolean; createdAt?: boolean; delta?: boolean; entityId?: boolean; entityType?: boolean; eventType?: boolean; id?: boolean; maxAtEvent?: boolean; name?: boolean; numAfter?: boolean; numBefore?: boolean; organizationId?: boolean; reason?: boolean; }; export type OrgLimitWarningSelect = { entityId?: boolean; id?: boolean; name?: boolean; taskIdentifier?: boolean; thresholdValue?: boolean; warningType?: boolean; }; export interface AppLimitCapFilter { /** Checks for all expressions in this list. */ and?: AppLimitCapFilter[]; /** Filter by the object’s `entityId` field. */ entityId?: UUIDFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `max` field. */ max?: BigIntFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: AppLimitCapFilter; /** Checks for any expressions in this list. */ or?: AppLimitCapFilter[]; } export interface AppLimitCapsDefaultFilter { /** Checks for all expressions in this list. */ and?: AppLimitCapsDefaultFilter[]; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `max` field. */ max?: BigIntFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: AppLimitCapsDefaultFilter; /** Checks for any expressions in this list. */ or?: AppLimitCapsDefaultFilter[]; } export interface AppLimitFilter { /** Filter by the object’s `actorId` field. */ actorId?: UUIDFilter; /** Checks for all expressions in this list. */ and?: AppLimitFilter[]; /** Filter by the object’s `entityType` field. */ entityType?: StringFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `max` field. */ max?: BigIntFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: AppLimitFilter; /** Filter by the object’s `num` field. */ num?: BigIntFilter; /** Checks for any expressions in this list. */ or?: AppLimitFilter[]; /** Filter by the object’s `organizationId` field. */ organizationId?: UUIDFilter; /** Filter by the object’s `periodCredits` field. */ periodCredits?: BigIntFilter; /** Filter by the object’s `planMax` field. */ planMax?: BigIntFilter; /** Filter by the object’s `purchasedCredits` field. */ purchasedCredits?: BigIntFilter; /** Filter by the object’s `softMax` field. */ softMax?: BigIntFilter; /** Filter by the object’s `windowDuration` field. */ windowDuration?: IntervalFilter; /** Filter by the object’s `windowStart` field. */ windowStart?: DatetimeFilter; } export interface AppLimitCreditCodeFilter { /** Checks for all expressions in this list. */ and?: AppLimitCreditCodeFilter[]; /** Filter by the object’s `appLimitCreditCodeItemsByCreditCodeId` relation. */ appLimitCreditCodeItemsByCreditCodeId?: AppLimitCreditCodeToManyAppLimitCreditCodeItemFilter; /** `appLimitCreditCodeItemsByCreditCodeId` exist. */ appLimitCreditCodeItemsByCreditCodeIdExist?: boolean; /** Filter by the object’s `appLimitCreditRedemptionsByCreditCodeId` relation. */ appLimitCreditRedemptionsByCreditCodeId?: AppLimitCreditCodeToManyAppLimitCreditRedemptionFilter; /** `appLimitCreditRedemptionsByCreditCodeId` exist. */ appLimitCreditRedemptionsByCreditCodeIdExist?: boolean; /** Filter by the object’s `code` field. */ code?: StringFilter; /** Filter by the object’s `currentRedemptions` field. */ currentRedemptions?: IntFilter; /** Filter by the object’s `expiresAt` field. */ expiresAt?: DatetimeFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `maxRedemptions` field. */ maxRedemptions?: IntFilter; /** Negates the expression. */ not?: AppLimitCreditCodeFilter; /** Checks for any expressions in this list. */ or?: AppLimitCreditCodeFilter[]; } export interface AppLimitCreditCodeItemFilter { /** Filter by the object’s `amount` field. */ amount?: BigIntFilter; /** Checks for all expressions in this list. */ and?: AppLimitCreditCodeItemFilter[]; /** Filter by the object’s `creditCode` relation. */ creditCode?: AppLimitCreditCodeFilter; /** Filter by the object’s `creditCodeId` field. */ creditCodeId?: UUIDFilter; /** Filter by the object’s `creditType` field. */ creditType?: StringFilter; /** Filter by the object’s `defaultLimit` relation. */ defaultLimit?: AppLimitDefaultFilter; /** Filter by the object’s `defaultLimitId` field. */ defaultLimitId?: UUIDFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Negates the expression. */ not?: AppLimitCreditCodeItemFilter; /** Checks for any expressions in this list. */ or?: AppLimitCreditCodeItemFilter[]; } export interface AppLimitCreditFilter { /** Filter by the object’s `actorId` field. */ actorId?: UUIDFilter; /** Filter by the object’s `amount` field. */ amount?: BigIntFilter; /** Checks for all expressions in this list. */ and?: AppLimitCreditFilter[]; /** Filter by the object’s `creditType` field. */ creditType?: StringFilter; /** Filter by the object’s `defaultLimit` relation. */ defaultLimit?: AppLimitDefaultFilter; /** Filter by the object’s `defaultLimitId` field. */ defaultLimitId?: UUIDFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Negates the expression. */ not?: AppLimitCreditFilter; /** Checks for any expressions in this list. */ or?: AppLimitCreditFilter[]; /** Filter by the object’s `reason` field. */ reason?: StringFilter; } export interface AppLimitCreditRedemptionFilter { /** Checks for all expressions in this list. */ and?: AppLimitCreditRedemptionFilter[]; /** Filter by the object’s `creditCode` relation. */ creditCode?: AppLimitCreditCodeFilter; /** Filter by the object’s `creditCodeId` field. */ creditCodeId?: UUIDFilter; /** Filter by the object’s `entityId` field. */ entityId?: UUIDFilter; /** Filter by the object’s `entityType` field. */ entityType?: StringFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Negates the expression. */ not?: AppLimitCreditRedemptionFilter; /** Checks for any expressions in this list. */ or?: AppLimitCreditRedemptionFilter[]; /** Filter by the object’s `organizationId` field. */ organizationId?: UUIDFilter; } export interface AppLimitDefaultFilter { /** Checks for all expressions in this list. */ and?: AppLimitDefaultFilter[]; /** Filter by the object’s `appLimitCreditCodeItemsByDefaultLimitId` relation. */ appLimitCreditCodeItemsByDefaultLimitId?: AppLimitDefaultToManyAppLimitCreditCodeItemFilter; /** `appLimitCreditCodeItemsByDefaultLimitId` exist. */ appLimitCreditCodeItemsByDefaultLimitIdExist?: boolean; /** Filter by the object’s `appLimitCreditsByDefaultLimitId` relation. */ appLimitCreditsByDefaultLimitId?: AppLimitDefaultToManyAppLimitCreditFilter; /** `appLimitCreditsByDefaultLimitId` exist. */ appLimitCreditsByDefaultLimitIdExist?: boolean; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `max` field. */ max?: BigIntFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: AppLimitDefaultFilter; /** Checks for any expressions in this list. */ or?: AppLimitDefaultFilter[]; /** Filter by the object’s `softMax` field. */ softMax?: BigIntFilter; } export interface AppLimitEventFilter { /** Filter by the object’s `actorId` field. */ actorId?: UUIDFilter; /** Checks for all expressions in this list. */ and?: AppLimitEventFilter[]; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `delta` field. */ delta?: BigIntFilter; /** Filter by the object’s `entityId` field. */ entityId?: UUIDFilter; /** Filter by the object’s `entityType` field. */ entityType?: StringFilter; /** Filter by the object’s `eventType` field. */ eventType?: StringFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `maxAtEvent` field. */ maxAtEvent?: BigIntFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: AppLimitEventFilter; /** Filter by the object’s `numAfter` field. */ numAfter?: BigIntFilter; /** Filter by the object’s `numBefore` field. */ numBefore?: BigIntFilter; /** Checks for any expressions in this list. */ or?: AppLimitEventFilter[]; /** Filter by the object’s `organizationId` field. */ organizationId?: UUIDFilter; /** Filter by the object’s `reason` field. */ reason?: StringFilter; } export interface AppLimitWarningFilter { /** Checks for all expressions in this list. */ and?: AppLimitWarningFilter[]; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: AppLimitWarningFilter; /** Checks for any expressions in this list. */ or?: AppLimitWarningFilter[]; /** Filter by the object’s `taskIdentifier` field. */ taskIdentifier?: StringFilter; /** Filter by the object’s `thresholdValue` field. */ thresholdValue?: BigIntFilter; /** Filter by the object’s `warningType` field. */ warningType?: StringFilter; } export interface OrgLimitAggregateFilter { /** Checks for all expressions in this list. */ and?: OrgLimitAggregateFilter[]; /** Filter by the object’s `entityId` field. */ entityId?: UUIDFilter; /** Filter by the object’s `entityType` field. */ entityType?: StringFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `max` field. */ max?: BigIntFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: OrgLimitAggregateFilter; /** Filter by the object’s `num` field. */ num?: BigIntFilter; /** Checks for any expressions in this list. */ or?: OrgLimitAggregateFilter[]; /** Filter by the object’s `organizationId` field. */ organizationId?: UUIDFilter; /** Filter by the object’s `periodCredits` field. */ periodCredits?: BigIntFilter; /** Filter by the object’s `planMax` field. */ planMax?: BigIntFilter; /** Filter by the object’s `purchasedCredits` field. */ purchasedCredits?: BigIntFilter; /** Filter by the object’s `reserved` field. */ reserved?: BigIntFilter; /** Filter by the object’s `softMax` field. */ softMax?: BigIntFilter; /** Filter by the object’s `windowDuration` field. */ windowDuration?: IntervalFilter; /** Filter by the object’s `windowStart` field. */ windowStart?: DatetimeFilter; } export interface OrgLimitCapFilter { /** Checks for all expressions in this list. */ and?: OrgLimitCapFilter[]; /** Filter by the object’s `entityId` field. */ entityId?: UUIDFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `max` field. */ max?: BigIntFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: OrgLimitCapFilter; /** Checks for any expressions in this list. */ or?: OrgLimitCapFilter[]; } export interface OrgLimitCapsDefaultFilter { /** Checks for all expressions in this list. */ and?: OrgLimitCapsDefaultFilter[]; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `max` field. */ max?: BigIntFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: OrgLimitCapsDefaultFilter; /** Checks for any expressions in this list. */ or?: OrgLimitCapsDefaultFilter[]; } export interface OrgLimitFilter { /** Filter by the object’s `actorId` field. */ actorId?: UUIDFilter; /** Checks for all expressions in this list. */ and?: OrgLimitFilter[]; /** Filter by the object’s `entityId` field. */ entityId?: UUIDFilter; /** Filter by the object’s `entityType` field. */ entityType?: StringFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `max` field. */ max?: BigIntFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: OrgLimitFilter; /** Filter by the object’s `num` field. */ num?: BigIntFilter; /** Checks for any expressions in this list. */ or?: OrgLimitFilter[]; /** Filter by the object’s `organizationId` field. */ organizationId?: UUIDFilter; /** Filter by the object’s `periodCredits` field. */ periodCredits?: BigIntFilter; /** Filter by the object’s `planMax` field. */ planMax?: BigIntFilter; /** Filter by the object’s `purchasedCredits` field. */ purchasedCredits?: BigIntFilter; /** Filter by the object’s `softMax` field. */ softMax?: BigIntFilter; /** Filter by the object’s `windowDuration` field. */ windowDuration?: IntervalFilter; /** Filter by the object’s `windowStart` field. */ windowStart?: DatetimeFilter; } export interface OrgLimitCreditFilter { /** Filter by the object’s `actorId` field. */ actorId?: UUIDFilter; /** Filter by the object’s `amount` field. */ amount?: BigIntFilter; /** Checks for all expressions in this list. */ and?: OrgLimitCreditFilter[]; /** Filter by the object’s `creditType` field. */ creditType?: StringFilter; /** Filter by the object’s `defaultLimit` relation. */ defaultLimit?: OrgLimitDefaultFilter; /** Filter by the object’s `defaultLimitId` field. */ defaultLimitId?: UUIDFilter; /** Filter by the object’s `entityId` field. */ entityId?: UUIDFilter; /** Filter by the object’s `entityType` field. */ entityType?: StringFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Negates the expression. */ not?: OrgLimitCreditFilter; /** Checks for any expressions in this list. */ or?: OrgLimitCreditFilter[]; /** Filter by the object’s `organizationId` field. */ organizationId?: UUIDFilter; /** Filter by the object’s `reason` field. */ reason?: StringFilter; } export interface OrgLimitDefaultFilter { /** Checks for all expressions in this list. */ and?: OrgLimitDefaultFilter[]; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `max` field. */ max?: BigIntFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: OrgLimitDefaultFilter; /** Checks for any expressions in this list. */ or?: OrgLimitDefaultFilter[]; /** Filter by the object’s `orgLimitCreditsByDefaultLimitId` relation. */ orgLimitCreditsByDefaultLimitId?: OrgLimitDefaultToManyOrgLimitCreditFilter; /** `orgLimitCreditsByDefaultLimitId` exist. */ orgLimitCreditsByDefaultLimitIdExist?: boolean; /** Filter by the object’s `softMax` field. */ softMax?: BigIntFilter; } export interface OrgLimitEventFilter { /** Filter by the object’s `actorId` field. */ actorId?: UUIDFilter; /** Checks for all expressions in this list. */ and?: OrgLimitEventFilter[]; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `delta` field. */ delta?: BigIntFilter; /** Filter by the object’s `entityId` field. */ entityId?: UUIDFilter; /** Filter by the object’s `entityType` field. */ entityType?: StringFilter; /** Filter by the object’s `eventType` field. */ eventType?: StringFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `maxAtEvent` field. */ maxAtEvent?: BigIntFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: OrgLimitEventFilter; /** Filter by the object’s `numAfter` field. */ numAfter?: BigIntFilter; /** Filter by the object’s `numBefore` field. */ numBefore?: BigIntFilter; /** Checks for any expressions in this list. */ or?: OrgLimitEventFilter[]; /** Filter by the object’s `organizationId` field. */ organizationId?: UUIDFilter; /** Filter by the object’s `reason` field. */ reason?: StringFilter; } export interface OrgLimitWarningFilter { /** Checks for all expressions in this list. */ and?: OrgLimitWarningFilter[]; /** Filter by the object’s `entityId` field. */ entityId?: UUIDFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: OrgLimitWarningFilter; /** Checks for any expressions in this list. */ or?: OrgLimitWarningFilter[]; /** Filter by the object’s `taskIdentifier` field. */ taskIdentifier?: StringFilter; /** Filter by the object’s `thresholdValue` field. */ thresholdValue?: BigIntFilter; /** Filter by the object’s `warningType` field. */ warningType?: StringFilter; } export type AppLimitCapOrderBy = 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC'; export type AppLimitCapsDefaultOrderBy = 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC'; export type AppLimitOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'NUM_ASC' | 'NUM_DESC' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PERIOD_CREDITS_ASC' | 'PERIOD_CREDITS_DESC' | 'PLAN_MAX_ASC' | 'PLAN_MAX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PURCHASED_CREDITS_ASC' | 'PURCHASED_CREDITS_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC' | 'WINDOW_DURATION_ASC' | 'WINDOW_DURATION_DESC' | 'WINDOW_START_ASC' | 'WINDOW_START_DESC'; export type AppLimitCreditCodeOrderBy = 'CODE_ASC' | 'CODE_DESC' | 'CURRENT_REDEMPTIONS_ASC' | 'CURRENT_REDEMPTIONS_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_REDEMPTIONS_ASC' | 'MAX_REDEMPTIONS_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC'; export type AppLimitCreditCodeItemOrderBy = 'AMOUNT_ASC' | 'AMOUNT_DESC' | 'CREDIT_CODE_ID_ASC' | 'CREDIT_CODE_ID_DESC' | 'CREDIT_TYPE_ASC' | 'CREDIT_TYPE_DESC' | 'DEFAULT_LIMIT_ID_ASC' | 'DEFAULT_LIMIT_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC'; export type AppLimitCreditOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'AMOUNT_ASC' | 'AMOUNT_DESC' | 'CREDIT_TYPE_ASC' | 'CREDIT_TYPE_DESC' | 'DEFAULT_LIMIT_ID_ASC' | 'DEFAULT_LIMIT_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REASON_ASC' | 'REASON_DESC'; export type AppLimitCreditRedemptionOrderBy = 'CREDIT_CODE_ID_ASC' | 'CREDIT_CODE_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC'; export type AppLimitDefaultOrderBy = 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC'; export type AppLimitEventOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DELTA_ASC' | 'DELTA_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_AT_EVENT_ASC' | 'MAX_AT_EVENT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'NUM_AFTER_ASC' | 'NUM_AFTER_DESC' | 'NUM_BEFORE_ASC' | 'NUM_BEFORE_DESC' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REASON_ASC' | 'REASON_DESC'; export type AppLimitWarningOrderBy = 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC' | 'THRESHOLD_VALUE_ASC' | 'THRESHOLD_VALUE_DESC' | 'WARNING_TYPE_ASC' | 'WARNING_TYPE_DESC'; export type OrgLimitAggregateOrderBy = 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'NUM_ASC' | 'NUM_DESC' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PERIOD_CREDITS_ASC' | 'PERIOD_CREDITS_DESC' | 'PLAN_MAX_ASC' | 'PLAN_MAX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PURCHASED_CREDITS_ASC' | 'PURCHASED_CREDITS_DESC' | 'RESERVED_ASC' | 'RESERVED_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC' | 'WINDOW_DURATION_ASC' | 'WINDOW_DURATION_DESC' | 'WINDOW_START_ASC' | 'WINDOW_START_DESC'; export type OrgLimitCapOrderBy = 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC'; export type OrgLimitCapsDefaultOrderBy = 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC'; export type OrgLimitOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'NUM_ASC' | 'NUM_DESC' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PERIOD_CREDITS_ASC' | 'PERIOD_CREDITS_DESC' | 'PLAN_MAX_ASC' | 'PLAN_MAX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PURCHASED_CREDITS_ASC' | 'PURCHASED_CREDITS_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC' | 'WINDOW_DURATION_ASC' | 'WINDOW_DURATION_DESC' | 'WINDOW_START_ASC' | 'WINDOW_START_DESC'; export type OrgLimitCreditOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'AMOUNT_ASC' | 'AMOUNT_DESC' | 'CREDIT_TYPE_ASC' | 'CREDIT_TYPE_DESC' | 'DEFAULT_LIMIT_ID_ASC' | 'DEFAULT_LIMIT_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REASON_ASC' | 'REASON_DESC'; export type OrgLimitDefaultOrderBy = 'ID_ASC' | 'ID_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC'; export type OrgLimitEventOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DELTA_ASC' | 'DELTA_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MAX_AT_EVENT_ASC' | 'MAX_AT_EVENT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'NUM_AFTER_ASC' | 'NUM_AFTER_DESC' | 'NUM_BEFORE_ASC' | 'NUM_BEFORE_DESC' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REASON_ASC' | 'REASON_DESC'; export type OrgLimitWarningOrderBy = 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC' | 'THRESHOLD_VALUE_ASC' | 'THRESHOLD_VALUE_DESC' | 'WARNING_TYPE_ASC' | 'WARNING_TYPE_DESC'; export interface CreateAppLimitCapInput { clientMutationId?: string; appLimitCap: { entityId: string; max?: string; name: string; }; } export interface AppLimitCapPatch { entityId?: string | null; max?: string | null; name?: string | null; } export interface UpdateAppLimitCapInput { clientMutationId?: string; id: string; appLimitCapPatch: AppLimitCapPatch; } export interface DeleteAppLimitCapInput { clientMutationId?: string; id: string; } export interface CreateAppLimitCapsDefaultInput { clientMutationId?: string; appLimitCapsDefault: { max?: string; name: string; }; } export interface AppLimitCapsDefaultPatch { max?: string | null; name?: string | null; } export interface UpdateAppLimitCapsDefaultInput { clientMutationId?: string; id: string; appLimitCapsDefaultPatch: AppLimitCapsDefaultPatch; } export interface DeleteAppLimitCapsDefaultInput { clientMutationId?: string; id: string; } export interface CreateAppLimitInput { clientMutationId?: string; appLimit: { actorId: string; entityType?: string; max?: string; name?: string; num?: string; organizationId?: string; periodCredits?: string; planMax?: string; purchasedCredits?: string; softMax?: string; windowDuration?: IntervalInput; windowStart?: string; }; } export interface AppLimitPatch { actorId?: string | null; entityType?: string | null; max?: string | null; name?: string | null; num?: string | null; organizationId?: string | null; periodCredits?: string | null; planMax?: string | null; purchasedCredits?: string | null; softMax?: string | null; windowDuration?: IntervalInput | null; windowStart?: string | null; } export interface UpdateAppLimitInput { clientMutationId?: string; id: string; appLimitPatch: AppLimitPatch; } export interface DeleteAppLimitInput { clientMutationId?: string; id: string; } export interface CreateAppLimitCreditCodeInput { clientMutationId?: string; appLimitCreditCode: { code: string; currentRedemptions?: number; expiresAt?: string; maxRedemptions?: number; }; } export interface AppLimitCreditCodePatch { code?: string | null; currentRedemptions?: number | null; expiresAt?: string | null; maxRedemptions?: number | null; } export interface UpdateAppLimitCreditCodeInput { clientMutationId?: string; id: string; appLimitCreditCodePatch: AppLimitCreditCodePatch; } export interface DeleteAppLimitCreditCodeInput { clientMutationId?: string; id: string; } export interface CreateAppLimitCreditCodeItemInput { clientMutationId?: string; appLimitCreditCodeItem: { amount: string; creditCodeId: string; creditType?: string; defaultLimitId: string; }; } export interface AppLimitCreditCodeItemPatch { amount?: string | null; creditCodeId?: string | null; creditType?: string | null; defaultLimitId?: string | null; } export interface UpdateAppLimitCreditCodeItemInput { clientMutationId?: string; id: string; appLimitCreditCodeItemPatch: AppLimitCreditCodeItemPatch; } export interface DeleteAppLimitCreditCodeItemInput { clientMutationId?: string; id: string; } export interface CreateAppLimitCreditInput { clientMutationId?: string; appLimitCredit: { actorId?: string; amount: string; creditType?: string; defaultLimitId: string; reason?: string; }; } export interface AppLimitCreditPatch { actorId?: string | null; amount?: string | null; creditType?: string | null; defaultLimitId?: string | null; reason?: string | null; } export interface UpdateAppLimitCreditInput { clientMutationId?: string; id: string; appLimitCreditPatch: AppLimitCreditPatch; } export interface DeleteAppLimitCreditInput { clientMutationId?: string; id: string; } export interface CreateAppLimitCreditRedemptionInput { clientMutationId?: string; appLimitCreditRedemption: { creditCodeId: string; entityId: string; entityType?: string; organizationId?: string; }; } export interface AppLimitCreditRedemptionPatch { creditCodeId?: string | null; entityId?: string | null; entityType?: string | null; organizationId?: string | null; } export interface UpdateAppLimitCreditRedemptionInput { clientMutationId?: string; id: string; appLimitCreditRedemptionPatch: AppLimitCreditRedemptionPatch; } export interface DeleteAppLimitCreditRedemptionInput { clientMutationId?: string; id: string; } export interface CreateAppLimitDefaultInput { clientMutationId?: string; appLimitDefault: { max?: string; name: string; softMax?: string; }; } export interface AppLimitDefaultPatch { max?: string | null; name?: string | null; softMax?: string | null; } export interface UpdateAppLimitDefaultInput { clientMutationId?: string; id: string; appLimitDefaultPatch: AppLimitDefaultPatch; } export interface DeleteAppLimitDefaultInput { clientMutationId?: string; id: string; } export interface CreateAppLimitEventInput { clientMutationId?: string; appLimitEvent: { actorId?: string; delta?: string; entityId?: string; entityType?: string; eventType?: string; maxAtEvent?: string; name?: string; numAfter?: string; numBefore?: string; organizationId?: string; reason?: string; }; } export interface AppLimitEventPatch { actorId?: string | null; delta?: string | null; entityId?: string | null; entityType?: string | null; eventType?: string | null; maxAtEvent?: string | null; name?: string | null; numAfter?: string | null; numBefore?: string | null; organizationId?: string | null; reason?: string | null; } export interface UpdateAppLimitEventInput { clientMutationId?: string; id: string; appLimitEventPatch: AppLimitEventPatch; } export interface DeleteAppLimitEventInput { clientMutationId?: string; id: string; } export interface CreateAppLimitWarningInput { clientMutationId?: string; appLimitWarning: { name: string; taskIdentifier: string; thresholdValue: string; warningType: string; }; } export interface AppLimitWarningPatch { name?: string | null; taskIdentifier?: string | null; thresholdValue?: string | null; warningType?: string | null; } export interface UpdateAppLimitWarningInput { clientMutationId?: string; id: string; appLimitWarningPatch: AppLimitWarningPatch; } export interface DeleteAppLimitWarningInput { clientMutationId?: string; id: string; } export interface CreateOrgLimitAggregateInput { clientMutationId?: string; orgLimitAggregate: { entityId: string; entityType?: string; max?: string; name?: string; num?: string; organizationId?: string; periodCredits?: string; planMax?: string; purchasedCredits?: string; reserved?: string; softMax?: string; windowDuration?: IntervalInput; windowStart?: string; }; } export interface OrgLimitAggregatePatch { entityId?: string | null; entityType?: string | null; max?: string | null; name?: string | null; num?: string | null; organizationId?: string | null; periodCredits?: string | null; planMax?: string | null; purchasedCredits?: string | null; reserved?: string | null; softMax?: string | null; windowDuration?: IntervalInput | null; windowStart?: string | null; } export interface UpdateOrgLimitAggregateInput { clientMutationId?: string; id: string; orgLimitAggregatePatch: OrgLimitAggregatePatch; } export interface DeleteOrgLimitAggregateInput { clientMutationId?: string; id: string; } export interface CreateOrgLimitCapInput { clientMutationId?: string; orgLimitCap: { entityId: string; max?: string; name: string; }; } export interface OrgLimitCapPatch { entityId?: string | null; max?: string | null; name?: string | null; } export interface UpdateOrgLimitCapInput { clientMutationId?: string; id: string; orgLimitCapPatch: OrgLimitCapPatch; } export interface DeleteOrgLimitCapInput { clientMutationId?: string; id: string; } export interface CreateOrgLimitCapsDefaultInput { clientMutationId?: string; orgLimitCapsDefault: { max?: string; name: string; }; } export interface OrgLimitCapsDefaultPatch { max?: string | null; name?: string | null; } export interface UpdateOrgLimitCapsDefaultInput { clientMutationId?: string; id: string; orgLimitCapsDefaultPatch: OrgLimitCapsDefaultPatch; } export interface DeleteOrgLimitCapsDefaultInput { clientMutationId?: string; id: string; } export interface CreateOrgLimitInput { clientMutationId?: string; orgLimit: { actorId: string; entityId: string; entityType?: string; max?: string; name?: string; num?: string; organizationId?: string; periodCredits?: string; planMax?: string; purchasedCredits?: string; softMax?: string; windowDuration?: IntervalInput; windowStart?: string; }; } export interface OrgLimitPatch { actorId?: string | null; entityId?: string | null; entityType?: string | null; max?: string | null; name?: string | null; num?: string | null; organizationId?: string | null; periodCredits?: string | null; planMax?: string | null; purchasedCredits?: string | null; softMax?: string | null; windowDuration?: IntervalInput | null; windowStart?: string | null; } export interface UpdateOrgLimitInput { clientMutationId?: string; id: string; orgLimitPatch: OrgLimitPatch; } export interface DeleteOrgLimitInput { clientMutationId?: string; id: string; } export interface CreateOrgLimitCreditInput { clientMutationId?: string; orgLimitCredit: { actorId?: string; amount: string; creditType?: string; defaultLimitId: string; entityId?: string; entityType?: string; organizationId?: string; reason?: string; }; } export interface OrgLimitCreditPatch { actorId?: string | null; amount?: string | null; creditType?: string | null; defaultLimitId?: string | null; entityId?: string | null; entityType?: string | null; organizationId?: string | null; reason?: string | null; } export interface UpdateOrgLimitCreditInput { clientMutationId?: string; id: string; orgLimitCreditPatch: OrgLimitCreditPatch; } export interface DeleteOrgLimitCreditInput { clientMutationId?: string; id: string; } export interface CreateOrgLimitDefaultInput { clientMutationId?: string; orgLimitDefault: { max?: string; name: string; softMax?: string; }; } export interface OrgLimitDefaultPatch { max?: string | null; name?: string | null; softMax?: string | null; } export interface UpdateOrgLimitDefaultInput { clientMutationId?: string; id: string; orgLimitDefaultPatch: OrgLimitDefaultPatch; } export interface DeleteOrgLimitDefaultInput { clientMutationId?: string; id: string; } export interface CreateOrgLimitEventInput { clientMutationId?: string; orgLimitEvent: { actorId?: string; delta?: string; entityId?: string; entityType?: string; eventType?: string; maxAtEvent?: string; name?: string; numAfter?: string; numBefore?: string; organizationId?: string; reason?: string; }; } export interface OrgLimitEventPatch { actorId?: string | null; delta?: string | null; entityId?: string | null; entityType?: string | null; eventType?: string | null; maxAtEvent?: string | null; name?: string | null; numAfter?: string | null; numBefore?: string | null; organizationId?: string | null; reason?: string | null; } export interface UpdateOrgLimitEventInput { clientMutationId?: string; id: string; orgLimitEventPatch: OrgLimitEventPatch; } export interface DeleteOrgLimitEventInput { clientMutationId?: string; id: string; } export interface CreateOrgLimitWarningInput { clientMutationId?: string; orgLimitWarning: { entityId?: string; name: string; taskIdentifier: string; thresholdValue: string; warningType: string; }; } export interface OrgLimitWarningPatch { entityId?: string | null; name?: string | null; taskIdentifier?: string | null; thresholdValue?: string | null; warningType?: string | null; } export interface UpdateOrgLimitWarningInput { clientMutationId?: string; id: string; orgLimitWarningPatch: OrgLimitWarningPatch; } export interface DeleteOrgLimitWarningInput { clientMutationId?: string; id: string; } export declare const connectionFieldsMap: Record>; export interface ProvisionBucketInput { /** The logical bucket key (e.g., "public", "private") */ bucketKey: string; /** * Owner entity ID for entity-scoped bucket provisioning. * Omit for app-level (database-wide) storage. */ ownerId?: string; } export interface SeedAppLimitCapsDefaultsInput { clientMutationId?: string; defaults?: Record; } export interface SeedAppLimitDefaultsInput { clientMutationId?: string; defaults?: Record; } export interface SeedOrgLimitCapsDefaultsInput { clientMutationId?: string; defaults?: Record; } export interface SeedOrgLimitDefaultsInput { clientMutationId?: string; defaults?: Record; } /** A filter to be used against Interval fields. All fields are combined with a logical ‘and.’ */ export interface IntervalFilter { /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: IntervalInput; /** Equal to the specified value. */ equalTo?: IntervalInput; /** Greater than the specified value. */ greaterThan?: IntervalInput; /** Greater than or equal to the specified value. */ greaterThanOrEqualTo?: IntervalInput; /** Included in the specified list. */ in?: IntervalInput[]; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Less than the specified value. */ lessThan?: IntervalInput; /** Less than or equal to the specified value. */ lessThanOrEqualTo?: IntervalInput; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: IntervalInput; /** Not equal to the specified value. */ notEqualTo?: IntervalInput; /** Not included in the specified list. */ notIn?: IntervalInput[]; } /** A filter to be used against many `AppLimitCreditCodeItem` object types. All fields are combined with a logical ‘and.’ */ export interface AppLimitCreditCodeToManyAppLimitCreditCodeItemFilter { /** Filters to entities where every related entity matches. */ every?: AppLimitCreditCodeItemFilter; /** Filters to entities where no related entity matches. */ none?: AppLimitCreditCodeItemFilter; /** Filters to entities where at least one related entity matches. */ some?: AppLimitCreditCodeItemFilter; } /** A filter to be used against many `AppLimitCreditRedemption` object types. All fields are combined with a logical ‘and.’ */ export interface AppLimitCreditCodeToManyAppLimitCreditRedemptionFilter { /** Filters to entities where every related entity matches. */ every?: AppLimitCreditRedemptionFilter; /** Filters to entities where no related entity matches. */ none?: AppLimitCreditRedemptionFilter; /** Filters to entities where at least one related entity matches. */ some?: AppLimitCreditRedemptionFilter; } /** A filter to be used against many `AppLimitCreditCodeItem` object types. All fields are combined with a logical ‘and.’ */ export interface AppLimitDefaultToManyAppLimitCreditCodeItemFilter { /** Filters to entities where every related entity matches. */ every?: AppLimitCreditCodeItemFilter; /** Filters to entities where no related entity matches. */ none?: AppLimitCreditCodeItemFilter; /** Filters to entities where at least one related entity matches. */ some?: AppLimitCreditCodeItemFilter; } /** A filter to be used against many `AppLimitCredit` object types. All fields are combined with a logical ‘and.’ */ export interface AppLimitDefaultToManyAppLimitCreditFilter { /** Filters to entities where every related entity matches. */ every?: AppLimitCreditFilter; /** Filters to entities where no related entity matches. */ none?: AppLimitCreditFilter; /** Filters to entities where at least one related entity matches. */ some?: AppLimitCreditFilter; } /** A filter to be used against many `OrgLimitCredit` object types. All fields are combined with a logical ‘and.’ */ export interface OrgLimitDefaultToManyOrgLimitCreditFilter { /** Filters to entities where every related entity matches. */ every?: OrgLimitCreditFilter; /** Filters to entities where no related entity matches. */ none?: OrgLimitCreditFilter; /** Filters to entities where at least one related entity matches. */ some?: OrgLimitCreditFilter; } /** An input for mutations affecting `AppLimitCap` */ export interface AppLimitCapInput { /** Entity this cap override applies to */ entityId: string; id?: string; /** Override cap value for this entity */ max?: string; /** Name identifier of the cap being overridden */ name: string; } /** An input for mutations affecting `AppLimitCapsDefault` */ export interface AppLimitCapsDefaultInput { id?: string; /** Default cap value. For feature flags: 0=disabled, 1=enabled. For size caps: the limit in bytes/units. */ max?: string; /** Name identifier of the cap (e.g. max_file_upload_size, advanced_analytics) */ name: string; } /** An input for mutations affecting `AppLimit` */ export interface AppLimitInput { /** User whose usage is being tracked against this limit */ actorId: string; /** Entity type prefix (org, team, app, etc.) for interpreting entity_id */ entityType?: string; id?: string; /** Maximum allowed usage; negative means unlimited. Modified by plans, credits, and achievements. */ max?: string; /** Name identifier of the limit being tracked */ name?: string; /** Current usage count for this actor and limit */ num?: string; /** Resolved billable organization via get_organization_id */ organizationId?: string; /** Temporary credits for the current billing window. Resets to 0 on window expiry. */ periodCredits?: string; /** Ceiling set by the active plan via apply_plan(). Window reset does not change this value. */ planMax?: string; /** Permanent credits from purchases, admin grants, or lifetime rewards. Survives window reset. */ purchasedCredits?: string; /** Soft limit threshold for warnings; NULL means no soft limit. When num >= soft_max, consumers should warn but still allow until max is reached. */ softMax?: string; /** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */ windowDuration?: IntervalInput; /** Start of the current metering window; NULL means no time window */ windowStart?: string; } /** An interval of time that has passed where the smallest distinct unit is a second. */ export interface IntervalInput { /** A quantity of days. */ days?: number; /** A quantity of hours. */ hours?: number; /** A quantity of minutes. */ minutes?: number; /** A quantity of months. */ months?: number; /** * A quantity of seconds. This is the only non-integer field, as all the other * fields will dump their overflow into a smaller unit of time. Intervals don’t * have a smaller unit than seconds. */ seconds?: number; /** A quantity of years. */ years?: number; } /** An input for mutations affecting `AppLimitCreditCode` */ export interface AppLimitCreditCodeInput { /** Human-readable credit code (case-insensitive, unique) */ code: string; /** Current number of redemptions (incremented by trigger on credit_redemptions) */ currentRedemptions?: number; /** Expiration timestamp; NULL for no expiry */ expiresAt?: string; id?: string; /** Maximum total redemptions allowed; NULL for unlimited */ maxRedemptions?: number; } /** An input for mutations affecting `AppLimitCreditCodeItem` */ export interface AppLimitCreditCodeItemInput { /** Number of credits this item grants per redemption */ amount: string; /** FK to credit_codes — which code this item belongs to */ creditCodeId: string; /** Credit durability: permanent (survives window reset) or period (resets on window expiry) */ creditType?: string; /** FK to default_limits — which limit this item grants credits for */ defaultLimitId: string; id?: string; } /** An input for mutations affecting `AppLimitCredit` */ export interface AppLimitCreditInput { /** User this credit is for; NULL for aggregate entity-level credits */ actorId?: string; /** Number of credits to grant (positive to add, negative to revoke) */ amount: string; /** Credit durability: permanent (survives window reset) or period (resets on window expiry) */ creditType?: string; /** FK to default_limits — which limit definition this credit applies to */ defaultLimitId: string; id?: string; /** Optional reason for the credit grant (promo code, admin grant, etc.) */ reason?: string; } /** An input for mutations affecting `AppLimitCreditRedemption` */ export interface AppLimitCreditRedemptionInput { /** FK to credit_codes — which code is being redeemed */ creditCodeId: string; /** Entity receiving the credits (personal org user_id or org entity_id) */ entityId: string; /** Membership prefix identifying the entity kind (org, team, app) */ entityType?: string; id?: string; /** Resolved billable organization via get_organization_id */ organizationId?: string; } /** An input for mutations affecting `AppLimitDefault` */ export interface AppLimitDefaultInput { id?: string; /** Default maximum usage allowed for this limit */ max?: string; /** Name identifier of the limit this default applies to */ name: string; /** Default soft limit threshold for warnings; NULL means no soft limit */ softMax?: string; } /** An input for mutations affecting `AppLimitEvent` */ export interface AppLimitEventInput { /** User who triggered this event; NULL for system/aggregate events */ actorId?: string; createdAt?: string; /** Change amount: positive for increment, negative for decrement */ delta?: string; /** Entity this event applies to; NULL for app-level events */ entityId?: string; /** Entity type prefix (org, team, app, etc.) for interpreting entity_id */ entityType?: string; /** Event type: inc, dec, check, modify, transfer, apply_plan, reset */ eventType?: string; /** Unique identifier for each limit event */ id?: string; /** Max limit ceiling at the time of this event */ maxAtEvent?: string; /** Limit name this event applies to */ name?: string; /** Usage count after this event */ numAfter?: string; /** Usage count before this event */ numBefore?: string; /** Resolved billable organization via get_organization_id; NULL for app-level events */ organizationId?: string; /** Optional reason or source: achievement, invite, plan_change, purchase, etc. */ reason?: string; } /** An input for mutations affecting `AppLimitWarning` */ export interface AppLimitWarningInput { id?: string; /** Limit name this warning applies to (must match a default_limits entry) */ name: string; /** Job task name to enqueue when warning fires (e.g. email:limit_warning, notification:approaching_limit) */ taskIdentifier: string; /** Threshold value — either an absolute count or a percentage (1-100) depending on warning_type */ thresholdValue: string; /** Threshold type: absolute (fixed count) or percentage (of max) */ warningType: string; } /** An input for mutations affecting `OrgLimitAggregate` */ export interface OrgLimitAggregateInput { /** Entity (org) whose aggregate usage is being tracked */ entityId: string; /** Entity type prefix (org, team, app, etc.) for interpreting entity_id */ entityType?: string; id?: string; /** Maximum allowed aggregate usage; negative means unlimited */ max?: string; /** Name identifier of the aggregate limit being tracked */ name?: string; /** Current aggregate usage count for this entity and limit */ num?: string; /** Resolved billable organization via get_organization_id */ organizationId?: string; /** Temporary credits for the current billing window. Resets to 0 on window expiry. */ periodCredits?: string; /** Ceiling set by the active plan via apply_plan(). Window reset does not change this value. */ planMax?: string; /** Permanent credits from purchases, admin grants, or lifetime rewards. Survives window reset. */ purchasedCredits?: string; /** Capacity reserved by child entities in budgeted allocation mode. Available = max - num - reserved. */ reserved?: string; /** Soft limit threshold for warnings; NULL means no soft limit */ softMax?: string; /** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */ windowDuration?: IntervalInput; /** Start of the current metering window; NULL means no time window */ windowStart?: string; } /** An input for mutations affecting `OrgLimitCap` */ export interface OrgLimitCapInput { /** Entity this cap override applies to */ entityId: string; id?: string; /** Override cap value for this entity */ max?: string; /** Name identifier of the cap being overridden */ name: string; } /** An input for mutations affecting `OrgLimitCapsDefault` */ export interface OrgLimitCapsDefaultInput { id?: string; /** Default cap value. For feature flags: 0=disabled, 1=enabled. For size caps: the limit in bytes/units. */ max?: string; /** Name identifier of the cap (e.g. max_file_upload_size, advanced_analytics) */ name: string; } /** An input for mutations affecting `OrgLimit` */ export interface OrgLimitInput { /** User whose usage is being tracked against this limit */ actorId: string; entityId: string; /** Entity type prefix (org, team, app, etc.) for interpreting entity_id */ entityType?: string; id?: string; /** Maximum allowed usage; negative means unlimited. Modified by plans, credits, and achievements. */ max?: string; /** Name identifier of the limit being tracked */ name?: string; /** Current usage count for this actor and limit */ num?: string; /** Resolved billable organization via get_organization_id */ organizationId?: string; /** Temporary credits for the current billing window. Resets to 0 on window expiry. */ periodCredits?: string; /** Ceiling set by the active plan via apply_plan(). Window reset does not change this value. */ planMax?: string; /** Permanent credits from purchases, admin grants, or lifetime rewards. Survives window reset. */ purchasedCredits?: string; /** Soft limit threshold for warnings; NULL means no soft limit. When num >= soft_max, consumers should warn but still allow until max is reached. */ softMax?: string; /** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */ windowDuration?: IntervalInput; /** Start of the current metering window; NULL means no time window */ windowStart?: string; } /** An input for mutations affecting `OrgLimitCredit` */ export interface OrgLimitCreditInput { /** User this credit is for; NULL for aggregate entity-level credits */ actorId?: string; /** Number of credits to grant (positive to add, negative to revoke) */ amount: string; /** Credit durability: permanent (survives window reset) or period (resets on window expiry) */ creditType?: string; /** FK to default_limits — which limit definition this credit applies to */ defaultLimitId: string; /** Entity this credit applies to; NULL for actor-only credits */ entityId?: string; /** Membership prefix identifying the entity kind (org, team, app) */ entityType?: string; id?: string; /** Resolved billable organization via get_organization_id */ organizationId?: string; /** Optional reason for the credit grant (promo code, admin grant, etc.) */ reason?: string; } /** An input for mutations affecting `OrgLimitDefault` */ export interface OrgLimitDefaultInput { id?: string; /** Default maximum usage allowed for this limit */ max?: string; /** Name identifier of the limit this default applies to */ name: string; /** Default soft limit threshold for warnings; NULL means no soft limit */ softMax?: string; } /** An input for mutations affecting `OrgLimitEvent` */ export interface OrgLimitEventInput { /** User who triggered this event; NULL for system/aggregate events */ actorId?: string; createdAt?: string; /** Change amount: positive for increment, negative for decrement */ delta?: string; /** Entity this event applies to; NULL for app-level events */ entityId?: string; /** Entity type prefix (org, team, app, etc.) for interpreting entity_id */ entityType?: string; /** Event type: inc, dec, check, modify, transfer, apply_plan, reset */ eventType?: string; /** Unique identifier for each limit event */ id?: string; /** Max limit ceiling at the time of this event */ maxAtEvent?: string; /** Limit name this event applies to */ name?: string; /** Usage count after this event */ numAfter?: string; /** Usage count before this event */ numBefore?: string; /** Resolved billable organization via get_organization_id; NULL for app-level events */ organizationId?: string; /** Optional reason or source: achievement, invite, plan_change, purchase, etc. */ reason?: string; } /** An input for mutations affecting `OrgLimitWarning` */ export interface OrgLimitWarningInput { /** Per-entity override (NULL = scope default for all entities) */ entityId?: string; id?: string; /** Limit name this warning applies to (must match a default_limits entry) */ name: string; /** Job task name to enqueue when warning fires (e.g. email:limit_warning, notification:approaching_limit) */ taskIdentifier: string; /** Threshold value — either an absolute count or a percentage (1-100) depending on warning_type */ thresholdValue: string; /** Threshold type: absolute (fixed count) or percentage (of max) */ warningType: string; } /** A filter to be used against `AppLimitCreditCodeItem` object types. All fields are combined with a logical ‘and.’ */ export interface AppLimitCreditCodeItemFilter { /** Filter by the object’s `amount` field. */ amount?: BigIntFilter; /** Checks for all expressions in this list. */ and?: AppLimitCreditCodeItemFilter[]; /** Filter by the object’s `creditCode` relation. */ creditCode?: AppLimitCreditCodeFilter; /** Filter by the object’s `creditCodeId` field. */ creditCodeId?: UUIDFilter; /** Filter by the object’s `creditType` field. */ creditType?: StringFilter; /** Filter by the object’s `defaultLimit` relation. */ defaultLimit?: AppLimitDefaultFilter; /** Filter by the object’s `defaultLimitId` field. */ defaultLimitId?: UUIDFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Negates the expression. */ not?: AppLimitCreditCodeItemFilter; /** Checks for any expressions in this list. */ or?: AppLimitCreditCodeItemFilter[]; } /** A filter to be used against `AppLimitCreditRedemption` object types. All fields are combined with a logical ‘and.’ */ export interface AppLimitCreditRedemptionFilter { /** Checks for all expressions in this list. */ and?: AppLimitCreditRedemptionFilter[]; /** Filter by the object’s `creditCode` relation. */ creditCode?: AppLimitCreditCodeFilter; /** Filter by the object’s `creditCodeId` field. */ creditCodeId?: UUIDFilter; /** Filter by the object’s `entityId` field. */ entityId?: UUIDFilter; /** Filter by the object’s `entityType` field. */ entityType?: StringFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Negates the expression. */ not?: AppLimitCreditRedemptionFilter; /** Checks for any expressions in this list. */ or?: AppLimitCreditRedemptionFilter[]; /** Filter by the object’s `organizationId` field. */ organizationId?: UUIDFilter; } /** A filter to be used against `AppLimitCredit` object types. All fields are combined with a logical ‘and.’ */ export interface AppLimitCreditFilter { /** Filter by the object’s `actorId` field. */ actorId?: UUIDFilter; /** Filter by the object’s `amount` field. */ amount?: BigIntFilter; /** Checks for all expressions in this list. */ and?: AppLimitCreditFilter[]; /** Filter by the object’s `creditType` field. */ creditType?: StringFilter; /** Filter by the object’s `defaultLimit` relation. */ defaultLimit?: AppLimitDefaultFilter; /** Filter by the object’s `defaultLimitId` field. */ defaultLimitId?: UUIDFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Negates the expression. */ not?: AppLimitCreditFilter; /** Checks for any expressions in this list. */ or?: AppLimitCreditFilter[]; /** Filter by the object’s `reason` field. */ reason?: StringFilter; } /** A filter to be used against `OrgLimitCredit` object types. All fields are combined with a logical ‘and.’ */ export interface OrgLimitCreditFilter { /** Filter by the object’s `actorId` field. */ actorId?: UUIDFilter; /** Filter by the object’s `amount` field. */ amount?: BigIntFilter; /** Checks for all expressions in this list. */ and?: OrgLimitCreditFilter[]; /** Filter by the object’s `creditType` field. */ creditType?: StringFilter; /** Filter by the object’s `defaultLimit` relation. */ defaultLimit?: OrgLimitDefaultFilter; /** Filter by the object’s `defaultLimitId` field. */ defaultLimitId?: UUIDFilter; /** Filter by the object’s `entityId` field. */ entityId?: UUIDFilter; /** Filter by the object’s `entityType` field. */ entityType?: StringFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Negates the expression. */ not?: OrgLimitCreditFilter; /** Checks for any expressions in this list. */ or?: OrgLimitCreditFilter[]; /** Filter by the object’s `organizationId` field. */ organizationId?: UUIDFilter; /** Filter by the object’s `reason` field. */ reason?: StringFilter; } /** A filter to be used against BigInt fields. All fields are combined with a logical ‘and.’ */ export interface BigIntFilter { /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: string; /** Equal to the specified value. */ equalTo?: string; /** Greater than the specified value. */ greaterThan?: string; /** Greater than or equal to the specified value. */ greaterThanOrEqualTo?: string; /** Included in the specified list. */ in?: string[]; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Less than the specified value. */ lessThan?: string; /** Less than or equal to the specified value. */ lessThanOrEqualTo?: string; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: string; /** Not equal to the specified value. */ notEqualTo?: string; /** Not included in the specified list. */ notIn?: string[]; } /** A filter to be used against `AppLimitCreditCode` object types. All fields are combined with a logical ‘and.’ */ export interface AppLimitCreditCodeFilter { /** Checks for all expressions in this list. */ and?: AppLimitCreditCodeFilter[]; /** Filter by the object’s `appLimitCreditCodeItemsByCreditCodeId` relation. */ appLimitCreditCodeItemsByCreditCodeId?: AppLimitCreditCodeToManyAppLimitCreditCodeItemFilter; /** `appLimitCreditCodeItemsByCreditCodeId` exist. */ appLimitCreditCodeItemsByCreditCodeIdExist?: boolean; /** Filter by the object’s `appLimitCreditRedemptionsByCreditCodeId` relation. */ appLimitCreditRedemptionsByCreditCodeId?: AppLimitCreditCodeToManyAppLimitCreditRedemptionFilter; /** `appLimitCreditRedemptionsByCreditCodeId` exist. */ appLimitCreditRedemptionsByCreditCodeIdExist?: boolean; /** Filter by the object’s `code` field. */ code?: StringFilter; /** Filter by the object’s `currentRedemptions` field. */ currentRedemptions?: IntFilter; /** Filter by the object’s `expiresAt` field. */ expiresAt?: DatetimeFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `maxRedemptions` field. */ maxRedemptions?: IntFilter; /** Negates the expression. */ not?: AppLimitCreditCodeFilter; /** Checks for any expressions in this list. */ or?: AppLimitCreditCodeFilter[]; } /** A filter to be used against UUID fields. All fields are combined with a logical ‘and.’ */ export interface UUIDFilter { /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: string; /** Equal to the specified value. */ equalTo?: string; /** Greater than the specified value. */ greaterThan?: string; /** Greater than or equal to the specified value. */ greaterThanOrEqualTo?: string; /** Included in the specified list. */ in?: string[]; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Less than the specified value. */ lessThan?: string; /** Less than or equal to the specified value. */ lessThanOrEqualTo?: string; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: string; /** Not equal to the specified value. */ notEqualTo?: string; /** Not included in the specified list. */ notIn?: string[]; } /** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */ export interface StringFilter { /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: string; /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */ distinctFromInsensitive?: string; /** Ends with the specified string (case-sensitive). */ endsWith?: string; /** Ends with the specified string (case-insensitive). */ endsWithInsensitive?: string; /** Equal to the specified value. */ equalTo?: string; /** Equal to the specified value (case-insensitive). */ equalToInsensitive?: string; /** Greater than the specified value. */ greaterThan?: string; /** Greater than the specified value (case-insensitive). */ greaterThanInsensitive?: string; /** Greater than or equal to the specified value. */ greaterThanOrEqualTo?: string; /** Greater than or equal to the specified value (case-insensitive). */ greaterThanOrEqualToInsensitive?: string; /** Included in the specified list. */ in?: string[]; /** Included in the specified list (case-insensitive). */ inInsensitive?: string[]; /** Contains the specified string (case-sensitive). */ includes?: string; /** Contains the specified string (case-insensitive). */ includesInsensitive?: string; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Less than the specified value. */ lessThan?: string; /** Less than the specified value (case-insensitive). */ lessThanInsensitive?: string; /** Less than or equal to the specified value. */ lessThanOrEqualTo?: string; /** Less than or equal to the specified value (case-insensitive). */ lessThanOrEqualToInsensitive?: string; /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ like?: string; /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ likeInsensitive?: string; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: string; /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */ notDistinctFromInsensitive?: string; /** Does not end with the specified string (case-sensitive). */ notEndsWith?: string; /** Does not end with the specified string (case-insensitive). */ notEndsWithInsensitive?: string; /** Not equal to the specified value. */ notEqualTo?: string; /** Not equal to the specified value (case-insensitive). */ notEqualToInsensitive?: string; /** Not included in the specified list. */ notIn?: string[]; /** Not included in the specified list (case-insensitive). */ notInInsensitive?: string[]; /** Does not contain the specified string (case-sensitive). */ notIncludes?: string; /** Does not contain the specified string (case-insensitive). */ notIncludesInsensitive?: string; /** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ notLike?: string; /** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ notLikeInsensitive?: string; /** Does not start with the specified string (case-sensitive). */ notStartsWith?: string; /** Does not start with the specified string (case-insensitive). */ notStartsWithInsensitive?: string; /** Starts with the specified string (case-sensitive). */ startsWith?: string; /** Starts with the specified string (case-insensitive). */ startsWithInsensitive?: string; } /** A filter to be used against `AppLimitDefault` object types. All fields are combined with a logical ‘and.’ */ export interface AppLimitDefaultFilter { /** Checks for all expressions in this list. */ and?: AppLimitDefaultFilter[]; /** Filter by the object’s `appLimitCreditCodeItemsByDefaultLimitId` relation. */ appLimitCreditCodeItemsByDefaultLimitId?: AppLimitDefaultToManyAppLimitCreditCodeItemFilter; /** `appLimitCreditCodeItemsByDefaultLimitId` exist. */ appLimitCreditCodeItemsByDefaultLimitIdExist?: boolean; /** Filter by the object’s `appLimitCreditsByDefaultLimitId` relation. */ appLimitCreditsByDefaultLimitId?: AppLimitDefaultToManyAppLimitCreditFilter; /** `appLimitCreditsByDefaultLimitId` exist. */ appLimitCreditsByDefaultLimitIdExist?: boolean; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `max` field. */ max?: BigIntFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: AppLimitDefaultFilter; /** Checks for any expressions in this list. */ or?: AppLimitDefaultFilter[]; /** Filter by the object’s `softMax` field. */ softMax?: BigIntFilter; } /** A filter to be used against `OrgLimitDefault` object types. All fields are combined with a logical ‘and.’ */ export interface OrgLimitDefaultFilter { /** Checks for all expressions in this list. */ and?: OrgLimitDefaultFilter[]; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `max` field. */ max?: BigIntFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: OrgLimitDefaultFilter; /** Checks for any expressions in this list. */ or?: OrgLimitDefaultFilter[]; /** Filter by the object’s `orgLimitCreditsByDefaultLimitId` relation. */ orgLimitCreditsByDefaultLimitId?: OrgLimitDefaultToManyOrgLimitCreditFilter; /** `orgLimitCreditsByDefaultLimitId` exist. */ orgLimitCreditsByDefaultLimitIdExist?: boolean; /** Filter by the object’s `softMax` field. */ softMax?: BigIntFilter; } /** A filter to be used against Int fields. All fields are combined with a logical ‘and.’ */ export interface IntFilter { /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: number; /** Equal to the specified value. */ equalTo?: number; /** Greater than the specified value. */ greaterThan?: number; /** Greater than or equal to the specified value. */ greaterThanOrEqualTo?: number; /** Included in the specified list. */ in?: number[]; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Less than the specified value. */ lessThan?: number; /** Less than or equal to the specified value. */ lessThanOrEqualTo?: number; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: number; /** Not equal to the specified value. */ notEqualTo?: number; /** Not included in the specified list. */ notIn?: number[]; } /** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */ export interface DatetimeFilter { /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: string; /** Equal to the specified value. */ equalTo?: string; /** Greater than the specified value. */ greaterThan?: string; /** Greater than or equal to the specified value. */ greaterThanOrEqualTo?: string; /** Included in the specified list. */ in?: string[]; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Less than the specified value. */ lessThan?: string; /** Less than or equal to the specified value. */ lessThanOrEqualTo?: string; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: string; /** Not equal to the specified value. */ notEqualTo?: string; /** Not included in the specified list. */ notIn?: string[]; } export interface ProvisionBucketPayload { /** The access type applied */ accessType: string; /** The S3 bucket name that was provisioned */ bucketName: string; /** The S3 endpoint (null for AWS S3 default) */ endpoint?: string | null; /** Error message if provisioning failed */ error?: string | null; /** The storage provider used */ provider: string; /** Whether provisioning succeeded */ success: boolean; } export type ProvisionBucketPayloadSelect = { accessType?: boolean; bucketName?: boolean; endpoint?: boolean; error?: boolean; provider?: boolean; success?: boolean; }; export interface SeedAppLimitCapsDefaultsPayload { clientMutationId?: string | null; result?: boolean | null; } export type SeedAppLimitCapsDefaultsPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface SeedAppLimitDefaultsPayload { clientMutationId?: string | null; result?: boolean | null; } export type SeedAppLimitDefaultsPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface SeedOrgLimitCapsDefaultsPayload { clientMutationId?: string | null; result?: boolean | null; } export type SeedOrgLimitCapsDefaultsPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface SeedOrgLimitDefaultsPayload { clientMutationId?: string | null; result?: boolean | null; } export type SeedOrgLimitDefaultsPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface CreateAppLimitCapPayload { /** The `AppLimitCap` that was created by this mutation. */ appLimitCap?: AppLimitCap | null; appLimitCapEdge?: AppLimitCapEdge | null; clientMutationId?: string | null; } export type CreateAppLimitCapPayloadSelect = { appLimitCap?: { select: AppLimitCapSelect; }; appLimitCapEdge?: { select: AppLimitCapEdgeSelect; }; clientMutationId?: boolean; }; export interface UpdateAppLimitCapPayload { /** The `AppLimitCap` that was updated by this mutation. */ appLimitCap?: AppLimitCap | null; appLimitCapEdge?: AppLimitCapEdge | null; clientMutationId?: string | null; } export type UpdateAppLimitCapPayloadSelect = { appLimitCap?: { select: AppLimitCapSelect; }; appLimitCapEdge?: { select: AppLimitCapEdgeSelect; }; clientMutationId?: boolean; }; export interface DeleteAppLimitCapPayload { /** The `AppLimitCap` that was deleted by this mutation. */ appLimitCap?: AppLimitCap | null; appLimitCapEdge?: AppLimitCapEdge | null; clientMutationId?: string | null; } export type DeleteAppLimitCapPayloadSelect = { appLimitCap?: { select: AppLimitCapSelect; }; appLimitCapEdge?: { select: AppLimitCapEdgeSelect; }; clientMutationId?: boolean; }; export interface CreateAppLimitCapsDefaultPayload { /** The `AppLimitCapsDefault` that was created by this mutation. */ appLimitCapsDefault?: AppLimitCapsDefault | null; appLimitCapsDefaultEdge?: AppLimitCapsDefaultEdge | null; clientMutationId?: string | null; } export type CreateAppLimitCapsDefaultPayloadSelect = { appLimitCapsDefault?: { select: AppLimitCapsDefaultSelect; }; appLimitCapsDefaultEdge?: { select: AppLimitCapsDefaultEdgeSelect; }; clientMutationId?: boolean; }; export interface UpdateAppLimitCapsDefaultPayload { /** The `AppLimitCapsDefault` that was updated by this mutation. */ appLimitCapsDefault?: AppLimitCapsDefault | null; appLimitCapsDefaultEdge?: AppLimitCapsDefaultEdge | null; clientMutationId?: string | null; } export type UpdateAppLimitCapsDefaultPayloadSelect = { appLimitCapsDefault?: { select: AppLimitCapsDefaultSelect; }; appLimitCapsDefaultEdge?: { select: AppLimitCapsDefaultEdgeSelect; }; clientMutationId?: boolean; }; export interface DeleteAppLimitCapsDefaultPayload { /** The `AppLimitCapsDefault` that was deleted by this mutation. */ appLimitCapsDefault?: AppLimitCapsDefault | null; appLimitCapsDefaultEdge?: AppLimitCapsDefaultEdge | null; clientMutationId?: string | null; } export type DeleteAppLimitCapsDefaultPayloadSelect = { appLimitCapsDefault?: { select: AppLimitCapsDefaultSelect; }; appLimitCapsDefaultEdge?: { select: AppLimitCapsDefaultEdgeSelect; }; clientMutationId?: boolean; }; export interface CreateAppLimitPayload { /** The `AppLimit` that was created by this mutation. */ appLimit?: AppLimit | null; appLimitEdge?: AppLimitEdge | null; clientMutationId?: string | null; } export type CreateAppLimitPayloadSelect = { appLimit?: { select: AppLimitSelect; }; appLimitEdge?: { select: AppLimitEdgeSelect; }; clientMutationId?: boolean; }; export interface UpdateAppLimitPayload { /** The `AppLimit` that was updated by this mutation. */ appLimit?: AppLimit | null; appLimitEdge?: AppLimitEdge | null; clientMutationId?: string | null; } export type UpdateAppLimitPayloadSelect = { appLimit?: { select: AppLimitSelect; }; appLimitEdge?: { select: AppLimitEdgeSelect; }; clientMutationId?: boolean; }; export interface DeleteAppLimitPayload { /** The `AppLimit` that was deleted by this mutation. */ appLimit?: AppLimit | null; appLimitEdge?: AppLimitEdge | null; clientMutationId?: string | null; } export type DeleteAppLimitPayloadSelect = { appLimit?: { select: AppLimitSelect; }; appLimitEdge?: { select: AppLimitEdgeSelect; }; clientMutationId?: boolean; }; export interface CreateAppLimitCreditCodePayload { /** The `AppLimitCreditCode` that was created by this mutation. */ appLimitCreditCode?: AppLimitCreditCode | null; appLimitCreditCodeEdge?: AppLimitCreditCodeEdge | null; clientMutationId?: string | null; } export type CreateAppLimitCreditCodePayloadSelect = { appLimitCreditCode?: { select: AppLimitCreditCodeSelect; }; appLimitCreditCodeEdge?: { select: AppLimitCreditCodeEdgeSelect; }; clientMutationId?: boolean; }; export interface UpdateAppLimitCreditCodePayload { /** The `AppLimitCreditCode` that was updated by this mutation. */ appLimitCreditCode?: AppLimitCreditCode | null; appLimitCreditCodeEdge?: AppLimitCreditCodeEdge | null; clientMutationId?: string | null; } export type UpdateAppLimitCreditCodePayloadSelect = { appLimitCreditCode?: { select: AppLimitCreditCodeSelect; }; appLimitCreditCodeEdge?: { select: AppLimitCreditCodeEdgeSelect; }; clientMutationId?: boolean; }; export interface DeleteAppLimitCreditCodePayload { /** The `AppLimitCreditCode` that was deleted by this mutation. */ appLimitCreditCode?: AppLimitCreditCode | null; appLimitCreditCodeEdge?: AppLimitCreditCodeEdge | null; clientMutationId?: string | null; } export type DeleteAppLimitCreditCodePayloadSelect = { appLimitCreditCode?: { select: AppLimitCreditCodeSelect; }; appLimitCreditCodeEdge?: { select: AppLimitCreditCodeEdgeSelect; }; clientMutationId?: boolean; }; export interface CreateAppLimitCreditCodeItemPayload { /** The `AppLimitCreditCodeItem` that was created by this mutation. */ appLimitCreditCodeItem?: AppLimitCreditCodeItem | null; appLimitCreditCodeItemEdge?: AppLimitCreditCodeItemEdge | null; clientMutationId?: string | null; } export type CreateAppLimitCreditCodeItemPayloadSelect = { appLimitCreditCodeItem?: { select: AppLimitCreditCodeItemSelect; }; appLimitCreditCodeItemEdge?: { select: AppLimitCreditCodeItemEdgeSelect; }; clientMutationId?: boolean; }; export interface UpdateAppLimitCreditCodeItemPayload { /** The `AppLimitCreditCodeItem` that was updated by this mutation. */ appLimitCreditCodeItem?: AppLimitCreditCodeItem | null; appLimitCreditCodeItemEdge?: AppLimitCreditCodeItemEdge | null; clientMutationId?: string | null; } export type UpdateAppLimitCreditCodeItemPayloadSelect = { appLimitCreditCodeItem?: { select: AppLimitCreditCodeItemSelect; }; appLimitCreditCodeItemEdge?: { select: AppLimitCreditCodeItemEdgeSelect; }; clientMutationId?: boolean; }; export interface DeleteAppLimitCreditCodeItemPayload { /** The `AppLimitCreditCodeItem` that was deleted by this mutation. */ appLimitCreditCodeItem?: AppLimitCreditCodeItem | null; appLimitCreditCodeItemEdge?: AppLimitCreditCodeItemEdge | null; clientMutationId?: string | null; } export type DeleteAppLimitCreditCodeItemPayloadSelect = { appLimitCreditCodeItem?: { select: AppLimitCreditCodeItemSelect; }; appLimitCreditCodeItemEdge?: { select: AppLimitCreditCodeItemEdgeSelect; }; clientMutationId?: boolean; }; export interface CreateAppLimitCreditPayload { /** The `AppLimitCredit` that was created by this mutation. */ appLimitCredit?: AppLimitCredit | null; appLimitCreditEdge?: AppLimitCreditEdge | null; clientMutationId?: string | null; } export type CreateAppLimitCreditPayloadSelect = { appLimitCredit?: { select: AppLimitCreditSelect; }; appLimitCreditEdge?: { select: AppLimitCreditEdgeSelect; }; clientMutationId?: boolean; }; export interface UpdateAppLimitCreditPayload { /** The `AppLimitCredit` that was updated by this mutation. */ appLimitCredit?: AppLimitCredit | null; appLimitCreditEdge?: AppLimitCreditEdge | null; clientMutationId?: string | null; } export type UpdateAppLimitCreditPayloadSelect = { appLimitCredit?: { select: AppLimitCreditSelect; }; appLimitCreditEdge?: { select: AppLimitCreditEdgeSelect; }; clientMutationId?: boolean; }; export interface DeleteAppLimitCreditPayload { /** The `AppLimitCredit` that was deleted by this mutation. */ appLimitCredit?: AppLimitCredit | null; appLimitCreditEdge?: AppLimitCreditEdge | null; clientMutationId?: string | null; } export type DeleteAppLimitCreditPayloadSelect = { appLimitCredit?: { select: AppLimitCreditSelect; }; appLimitCreditEdge?: { select: AppLimitCreditEdgeSelect; }; clientMutationId?: boolean; }; export interface CreateAppLimitCreditRedemptionPayload { /** The `AppLimitCreditRedemption` that was created by this mutation. */ appLimitCreditRedemption?: AppLimitCreditRedemption | null; appLimitCreditRedemptionEdge?: AppLimitCreditRedemptionEdge | null; clientMutationId?: string | null; } export type CreateAppLimitCreditRedemptionPayloadSelect = { appLimitCreditRedemption?: { select: AppLimitCreditRedemptionSelect; }; appLimitCreditRedemptionEdge?: { select: AppLimitCreditRedemptionEdgeSelect; }; clientMutationId?: boolean; }; export interface UpdateAppLimitCreditRedemptionPayload { /** The `AppLimitCreditRedemption` that was updated by this mutation. */ appLimitCreditRedemption?: AppLimitCreditRedemption | null; appLimitCreditRedemptionEdge?: AppLimitCreditRedemptionEdge | null; clientMutationId?: string | null; } export type UpdateAppLimitCreditRedemptionPayloadSelect = { appLimitCreditRedemption?: { select: AppLimitCreditRedemptionSelect; }; appLimitCreditRedemptionEdge?: { select: AppLimitCreditRedemptionEdgeSelect; }; clientMutationId?: boolean; }; export interface DeleteAppLimitCreditRedemptionPayload { /** The `AppLimitCreditRedemption` that was deleted by this mutation. */ appLimitCreditRedemption?: AppLimitCreditRedemption | null; appLimitCreditRedemptionEdge?: AppLimitCreditRedemptionEdge | null; clientMutationId?: string | null; } export type DeleteAppLimitCreditRedemptionPayloadSelect = { appLimitCreditRedemption?: { select: AppLimitCreditRedemptionSelect; }; appLimitCreditRedemptionEdge?: { select: AppLimitCreditRedemptionEdgeSelect; }; clientMutationId?: boolean; }; export interface CreateAppLimitDefaultPayload { /** The `AppLimitDefault` that was created by this mutation. */ appLimitDefault?: AppLimitDefault | null; appLimitDefaultEdge?: AppLimitDefaultEdge | null; clientMutationId?: string | null; } export type CreateAppLimitDefaultPayloadSelect = { appLimitDefault?: { select: AppLimitDefaultSelect; }; appLimitDefaultEdge?: { select: AppLimitDefaultEdgeSelect; }; clientMutationId?: boolean; }; export interface UpdateAppLimitDefaultPayload { /** The `AppLimitDefault` that was updated by this mutation. */ appLimitDefault?: AppLimitDefault | null; appLimitDefaultEdge?: AppLimitDefaultEdge | null; clientMutationId?: string | null; } export type UpdateAppLimitDefaultPayloadSelect = { appLimitDefault?: { select: AppLimitDefaultSelect; }; appLimitDefaultEdge?: { select: AppLimitDefaultEdgeSelect; }; clientMutationId?: boolean; }; export interface DeleteAppLimitDefaultPayload { /** The `AppLimitDefault` that was deleted by this mutation. */ appLimitDefault?: AppLimitDefault | null; appLimitDefaultEdge?: AppLimitDefaultEdge | null; clientMutationId?: string | null; } export type DeleteAppLimitDefaultPayloadSelect = { appLimitDefault?: { select: AppLimitDefaultSelect; }; appLimitDefaultEdge?: { select: AppLimitDefaultEdgeSelect; }; clientMutationId?: boolean; }; export interface CreateAppLimitEventPayload { /** The `AppLimitEvent` that was created by this mutation. */ appLimitEvent?: AppLimitEvent | null; appLimitEventEdge?: AppLimitEventEdge | null; clientMutationId?: string | null; } export type CreateAppLimitEventPayloadSelect = { appLimitEvent?: { select: AppLimitEventSelect; }; appLimitEventEdge?: { select: AppLimitEventEdgeSelect; }; clientMutationId?: boolean; }; export interface UpdateAppLimitEventPayload { /** The `AppLimitEvent` that was updated by this mutation. */ appLimitEvent?: AppLimitEvent | null; appLimitEventEdge?: AppLimitEventEdge | null; clientMutationId?: string | null; } export type UpdateAppLimitEventPayloadSelect = { appLimitEvent?: { select: AppLimitEventSelect; }; appLimitEventEdge?: { select: AppLimitEventEdgeSelect; }; clientMutationId?: boolean; }; export interface DeleteAppLimitEventPayload { /** The `AppLimitEvent` that was deleted by this mutation. */ appLimitEvent?: AppLimitEvent | null; appLimitEventEdge?: AppLimitEventEdge | null; clientMutationId?: string | null; } export type DeleteAppLimitEventPayloadSelect = { appLimitEvent?: { select: AppLimitEventSelect; }; appLimitEventEdge?: { select: AppLimitEventEdgeSelect; }; clientMutationId?: boolean; }; export interface CreateAppLimitWarningPayload { /** The `AppLimitWarning` that was created by this mutation. */ appLimitWarning?: AppLimitWarning | null; appLimitWarningEdge?: AppLimitWarningEdge | null; clientMutationId?: string | null; } export type CreateAppLimitWarningPayloadSelect = { appLimitWarning?: { select: AppLimitWarningSelect; }; appLimitWarningEdge?: { select: AppLimitWarningEdgeSelect; }; clientMutationId?: boolean; }; export interface UpdateAppLimitWarningPayload { /** The `AppLimitWarning` that was updated by this mutation. */ appLimitWarning?: AppLimitWarning | null; appLimitWarningEdge?: AppLimitWarningEdge | null; clientMutationId?: string | null; } export type UpdateAppLimitWarningPayloadSelect = { appLimitWarning?: { select: AppLimitWarningSelect; }; appLimitWarningEdge?: { select: AppLimitWarningEdgeSelect; }; clientMutationId?: boolean; }; export interface DeleteAppLimitWarningPayload { /** The `AppLimitWarning` that was deleted by this mutation. */ appLimitWarning?: AppLimitWarning | null; appLimitWarningEdge?: AppLimitWarningEdge | null; clientMutationId?: string | null; } export type DeleteAppLimitWarningPayloadSelect = { appLimitWarning?: { select: AppLimitWarningSelect; }; appLimitWarningEdge?: { select: AppLimitWarningEdgeSelect; }; clientMutationId?: boolean; }; export interface CreateOrgLimitAggregatePayload { clientMutationId?: string | null; /** The `OrgLimitAggregate` that was created by this mutation. */ orgLimitAggregate?: OrgLimitAggregate | null; orgLimitAggregateEdge?: OrgLimitAggregateEdge | null; } export type CreateOrgLimitAggregatePayloadSelect = { clientMutationId?: boolean; orgLimitAggregate?: { select: OrgLimitAggregateSelect; }; orgLimitAggregateEdge?: { select: OrgLimitAggregateEdgeSelect; }; }; export interface UpdateOrgLimitAggregatePayload { clientMutationId?: string | null; /** The `OrgLimitAggregate` that was updated by this mutation. */ orgLimitAggregate?: OrgLimitAggregate | null; orgLimitAggregateEdge?: OrgLimitAggregateEdge | null; } export type UpdateOrgLimitAggregatePayloadSelect = { clientMutationId?: boolean; orgLimitAggregate?: { select: OrgLimitAggregateSelect; }; orgLimitAggregateEdge?: { select: OrgLimitAggregateEdgeSelect; }; }; export interface DeleteOrgLimitAggregatePayload { clientMutationId?: string | null; /** The `OrgLimitAggregate` that was deleted by this mutation. */ orgLimitAggregate?: OrgLimitAggregate | null; orgLimitAggregateEdge?: OrgLimitAggregateEdge | null; } export type DeleteOrgLimitAggregatePayloadSelect = { clientMutationId?: boolean; orgLimitAggregate?: { select: OrgLimitAggregateSelect; }; orgLimitAggregateEdge?: { select: OrgLimitAggregateEdgeSelect; }; }; export interface CreateOrgLimitCapPayload { clientMutationId?: string | null; /** The `OrgLimitCap` that was created by this mutation. */ orgLimitCap?: OrgLimitCap | null; orgLimitCapEdge?: OrgLimitCapEdge | null; } export type CreateOrgLimitCapPayloadSelect = { clientMutationId?: boolean; orgLimitCap?: { select: OrgLimitCapSelect; }; orgLimitCapEdge?: { select: OrgLimitCapEdgeSelect; }; }; export interface UpdateOrgLimitCapPayload { clientMutationId?: string | null; /** The `OrgLimitCap` that was updated by this mutation. */ orgLimitCap?: OrgLimitCap | null; orgLimitCapEdge?: OrgLimitCapEdge | null; } export type UpdateOrgLimitCapPayloadSelect = { clientMutationId?: boolean; orgLimitCap?: { select: OrgLimitCapSelect; }; orgLimitCapEdge?: { select: OrgLimitCapEdgeSelect; }; }; export interface DeleteOrgLimitCapPayload { clientMutationId?: string | null; /** The `OrgLimitCap` that was deleted by this mutation. */ orgLimitCap?: OrgLimitCap | null; orgLimitCapEdge?: OrgLimitCapEdge | null; } export type DeleteOrgLimitCapPayloadSelect = { clientMutationId?: boolean; orgLimitCap?: { select: OrgLimitCapSelect; }; orgLimitCapEdge?: { select: OrgLimitCapEdgeSelect; }; }; export interface CreateOrgLimitCapsDefaultPayload { clientMutationId?: string | null; /** The `OrgLimitCapsDefault` that was created by this mutation. */ orgLimitCapsDefault?: OrgLimitCapsDefault | null; orgLimitCapsDefaultEdge?: OrgLimitCapsDefaultEdge | null; } export type CreateOrgLimitCapsDefaultPayloadSelect = { clientMutationId?: boolean; orgLimitCapsDefault?: { select: OrgLimitCapsDefaultSelect; }; orgLimitCapsDefaultEdge?: { select: OrgLimitCapsDefaultEdgeSelect; }; }; export interface UpdateOrgLimitCapsDefaultPayload { clientMutationId?: string | null; /** The `OrgLimitCapsDefault` that was updated by this mutation. */ orgLimitCapsDefault?: OrgLimitCapsDefault | null; orgLimitCapsDefaultEdge?: OrgLimitCapsDefaultEdge | null; } export type UpdateOrgLimitCapsDefaultPayloadSelect = { clientMutationId?: boolean; orgLimitCapsDefault?: { select: OrgLimitCapsDefaultSelect; }; orgLimitCapsDefaultEdge?: { select: OrgLimitCapsDefaultEdgeSelect; }; }; export interface DeleteOrgLimitCapsDefaultPayload { clientMutationId?: string | null; /** The `OrgLimitCapsDefault` that was deleted by this mutation. */ orgLimitCapsDefault?: OrgLimitCapsDefault | null; orgLimitCapsDefaultEdge?: OrgLimitCapsDefaultEdge | null; } export type DeleteOrgLimitCapsDefaultPayloadSelect = { clientMutationId?: boolean; orgLimitCapsDefault?: { select: OrgLimitCapsDefaultSelect; }; orgLimitCapsDefaultEdge?: { select: OrgLimitCapsDefaultEdgeSelect; }; }; export interface CreateOrgLimitPayload { clientMutationId?: string | null; /** The `OrgLimit` that was created by this mutation. */ orgLimit?: OrgLimit | null; orgLimitEdge?: OrgLimitEdge | null; } export type CreateOrgLimitPayloadSelect = { clientMutationId?: boolean; orgLimit?: { select: OrgLimitSelect; }; orgLimitEdge?: { select: OrgLimitEdgeSelect; }; }; export interface UpdateOrgLimitPayload { clientMutationId?: string | null; /** The `OrgLimit` that was updated by this mutation. */ orgLimit?: OrgLimit | null; orgLimitEdge?: OrgLimitEdge | null; } export type UpdateOrgLimitPayloadSelect = { clientMutationId?: boolean; orgLimit?: { select: OrgLimitSelect; }; orgLimitEdge?: { select: OrgLimitEdgeSelect; }; }; export interface DeleteOrgLimitPayload { clientMutationId?: string | null; /** The `OrgLimit` that was deleted by this mutation. */ orgLimit?: OrgLimit | null; orgLimitEdge?: OrgLimitEdge | null; } export type DeleteOrgLimitPayloadSelect = { clientMutationId?: boolean; orgLimit?: { select: OrgLimitSelect; }; orgLimitEdge?: { select: OrgLimitEdgeSelect; }; }; export interface CreateOrgLimitCreditPayload { clientMutationId?: string | null; /** The `OrgLimitCredit` that was created by this mutation. */ orgLimitCredit?: OrgLimitCredit | null; orgLimitCreditEdge?: OrgLimitCreditEdge | null; } export type CreateOrgLimitCreditPayloadSelect = { clientMutationId?: boolean; orgLimitCredit?: { select: OrgLimitCreditSelect; }; orgLimitCreditEdge?: { select: OrgLimitCreditEdgeSelect; }; }; export interface UpdateOrgLimitCreditPayload { clientMutationId?: string | null; /** The `OrgLimitCredit` that was updated by this mutation. */ orgLimitCredit?: OrgLimitCredit | null; orgLimitCreditEdge?: OrgLimitCreditEdge | null; } export type UpdateOrgLimitCreditPayloadSelect = { clientMutationId?: boolean; orgLimitCredit?: { select: OrgLimitCreditSelect; }; orgLimitCreditEdge?: { select: OrgLimitCreditEdgeSelect; }; }; export interface DeleteOrgLimitCreditPayload { clientMutationId?: string | null; /** The `OrgLimitCredit` that was deleted by this mutation. */ orgLimitCredit?: OrgLimitCredit | null; orgLimitCreditEdge?: OrgLimitCreditEdge | null; } export type DeleteOrgLimitCreditPayloadSelect = { clientMutationId?: boolean; orgLimitCredit?: { select: OrgLimitCreditSelect; }; orgLimitCreditEdge?: { select: OrgLimitCreditEdgeSelect; }; }; export interface CreateOrgLimitDefaultPayload { clientMutationId?: string | null; /** The `OrgLimitDefault` that was created by this mutation. */ orgLimitDefault?: OrgLimitDefault | null; orgLimitDefaultEdge?: OrgLimitDefaultEdge | null; } export type CreateOrgLimitDefaultPayloadSelect = { clientMutationId?: boolean; orgLimitDefault?: { select: OrgLimitDefaultSelect; }; orgLimitDefaultEdge?: { select: OrgLimitDefaultEdgeSelect; }; }; export interface UpdateOrgLimitDefaultPayload { clientMutationId?: string | null; /** The `OrgLimitDefault` that was updated by this mutation. */ orgLimitDefault?: OrgLimitDefault | null; orgLimitDefaultEdge?: OrgLimitDefaultEdge | null; } export type UpdateOrgLimitDefaultPayloadSelect = { clientMutationId?: boolean; orgLimitDefault?: { select: OrgLimitDefaultSelect; }; orgLimitDefaultEdge?: { select: OrgLimitDefaultEdgeSelect; }; }; export interface DeleteOrgLimitDefaultPayload { clientMutationId?: string | null; /** The `OrgLimitDefault` that was deleted by this mutation. */ orgLimitDefault?: OrgLimitDefault | null; orgLimitDefaultEdge?: OrgLimitDefaultEdge | null; } export type DeleteOrgLimitDefaultPayloadSelect = { clientMutationId?: boolean; orgLimitDefault?: { select: OrgLimitDefaultSelect; }; orgLimitDefaultEdge?: { select: OrgLimitDefaultEdgeSelect; }; }; export interface CreateOrgLimitEventPayload { clientMutationId?: string | null; /** The `OrgLimitEvent` that was created by this mutation. */ orgLimitEvent?: OrgLimitEvent | null; orgLimitEventEdge?: OrgLimitEventEdge | null; } export type CreateOrgLimitEventPayloadSelect = { clientMutationId?: boolean; orgLimitEvent?: { select: OrgLimitEventSelect; }; orgLimitEventEdge?: { select: OrgLimitEventEdgeSelect; }; }; export interface UpdateOrgLimitEventPayload { clientMutationId?: string | null; /** The `OrgLimitEvent` that was updated by this mutation. */ orgLimitEvent?: OrgLimitEvent | null; orgLimitEventEdge?: OrgLimitEventEdge | null; } export type UpdateOrgLimitEventPayloadSelect = { clientMutationId?: boolean; orgLimitEvent?: { select: OrgLimitEventSelect; }; orgLimitEventEdge?: { select: OrgLimitEventEdgeSelect; }; }; export interface DeleteOrgLimitEventPayload { clientMutationId?: string | null; /** The `OrgLimitEvent` that was deleted by this mutation. */ orgLimitEvent?: OrgLimitEvent | null; orgLimitEventEdge?: OrgLimitEventEdge | null; } export type DeleteOrgLimitEventPayloadSelect = { clientMutationId?: boolean; orgLimitEvent?: { select: OrgLimitEventSelect; }; orgLimitEventEdge?: { select: OrgLimitEventEdgeSelect; }; }; export interface CreateOrgLimitWarningPayload { clientMutationId?: string | null; /** The `OrgLimitWarning` that was created by this mutation. */ orgLimitWarning?: OrgLimitWarning | null; orgLimitWarningEdge?: OrgLimitWarningEdge | null; } export type CreateOrgLimitWarningPayloadSelect = { clientMutationId?: boolean; orgLimitWarning?: { select: OrgLimitWarningSelect; }; orgLimitWarningEdge?: { select: OrgLimitWarningEdgeSelect; }; }; export interface UpdateOrgLimitWarningPayload { clientMutationId?: string | null; /** The `OrgLimitWarning` that was updated by this mutation. */ orgLimitWarning?: OrgLimitWarning | null; orgLimitWarningEdge?: OrgLimitWarningEdge | null; } export type UpdateOrgLimitWarningPayloadSelect = { clientMutationId?: boolean; orgLimitWarning?: { select: OrgLimitWarningSelect; }; orgLimitWarningEdge?: { select: OrgLimitWarningEdgeSelect; }; }; export interface DeleteOrgLimitWarningPayload { clientMutationId?: string | null; /** The `OrgLimitWarning` that was deleted by this mutation. */ orgLimitWarning?: OrgLimitWarning | null; orgLimitWarningEdge?: OrgLimitWarningEdge | null; } export type DeleteOrgLimitWarningPayloadSelect = { clientMutationId?: boolean; orgLimitWarning?: { select: OrgLimitWarningSelect; }; orgLimitWarningEdge?: { select: OrgLimitWarningEdgeSelect; }; }; /** A `AppLimitCap` edge in the connection. */ export interface AppLimitCapEdge { cursor?: string | null; /** The `AppLimitCap` at the end of the edge. */ node?: AppLimitCap | null; } export type AppLimitCapEdgeSelect = { cursor?: boolean; node?: { select: AppLimitCapSelect; }; }; /** A `AppLimitCapsDefault` edge in the connection. */ export interface AppLimitCapsDefaultEdge { cursor?: string | null; /** The `AppLimitCapsDefault` at the end of the edge. */ node?: AppLimitCapsDefault | null; } export type AppLimitCapsDefaultEdgeSelect = { cursor?: boolean; node?: { select: AppLimitCapsDefaultSelect; }; }; /** A `AppLimit` edge in the connection. */ export interface AppLimitEdge { cursor?: string | null; /** The `AppLimit` at the end of the edge. */ node?: AppLimit | null; } export type AppLimitEdgeSelect = { cursor?: boolean; node?: { select: AppLimitSelect; }; }; /** A `AppLimitCreditCode` edge in the connection. */ export interface AppLimitCreditCodeEdge { cursor?: string | null; /** The `AppLimitCreditCode` at the end of the edge. */ node?: AppLimitCreditCode | null; } export type AppLimitCreditCodeEdgeSelect = { cursor?: boolean; node?: { select: AppLimitCreditCodeSelect; }; }; /** A `AppLimitCreditCodeItem` edge in the connection. */ export interface AppLimitCreditCodeItemEdge { cursor?: string | null; /** The `AppLimitCreditCodeItem` at the end of the edge. */ node?: AppLimitCreditCodeItem | null; } export type AppLimitCreditCodeItemEdgeSelect = { cursor?: boolean; node?: { select: AppLimitCreditCodeItemSelect; }; }; /** A `AppLimitCredit` edge in the connection. */ export interface AppLimitCreditEdge { cursor?: string | null; /** The `AppLimitCredit` at the end of the edge. */ node?: AppLimitCredit | null; } export type AppLimitCreditEdgeSelect = { cursor?: boolean; node?: { select: AppLimitCreditSelect; }; }; /** A `AppLimitCreditRedemption` edge in the connection. */ export interface AppLimitCreditRedemptionEdge { cursor?: string | null; /** The `AppLimitCreditRedemption` at the end of the edge. */ node?: AppLimitCreditRedemption | null; } export type AppLimitCreditRedemptionEdgeSelect = { cursor?: boolean; node?: { select: AppLimitCreditRedemptionSelect; }; }; /** A `AppLimitDefault` edge in the connection. */ export interface AppLimitDefaultEdge { cursor?: string | null; /** The `AppLimitDefault` at the end of the edge. */ node?: AppLimitDefault | null; } export type AppLimitDefaultEdgeSelect = { cursor?: boolean; node?: { select: AppLimitDefaultSelect; }; }; /** A `AppLimitEvent` edge in the connection. */ export interface AppLimitEventEdge { cursor?: string | null; /** The `AppLimitEvent` at the end of the edge. */ node?: AppLimitEvent | null; } export type AppLimitEventEdgeSelect = { cursor?: boolean; node?: { select: AppLimitEventSelect; }; }; /** A `AppLimitWarning` edge in the connection. */ export interface AppLimitWarningEdge { cursor?: string | null; /** The `AppLimitWarning` at the end of the edge. */ node?: AppLimitWarning | null; } export type AppLimitWarningEdgeSelect = { cursor?: boolean; node?: { select: AppLimitWarningSelect; }; }; /** A `OrgLimitAggregate` edge in the connection. */ export interface OrgLimitAggregateEdge { cursor?: string | null; /** The `OrgLimitAggregate` at the end of the edge. */ node?: OrgLimitAggregate | null; } export type OrgLimitAggregateEdgeSelect = { cursor?: boolean; node?: { select: OrgLimitAggregateSelect; }; }; /** A `OrgLimitCap` edge in the connection. */ export interface OrgLimitCapEdge { cursor?: string | null; /** The `OrgLimitCap` at the end of the edge. */ node?: OrgLimitCap | null; } export type OrgLimitCapEdgeSelect = { cursor?: boolean; node?: { select: OrgLimitCapSelect; }; }; /** A `OrgLimitCapsDefault` edge in the connection. */ export interface OrgLimitCapsDefaultEdge { cursor?: string | null; /** The `OrgLimitCapsDefault` at the end of the edge. */ node?: OrgLimitCapsDefault | null; } export type OrgLimitCapsDefaultEdgeSelect = { cursor?: boolean; node?: { select: OrgLimitCapsDefaultSelect; }; }; /** A `OrgLimit` edge in the connection. */ export interface OrgLimitEdge { cursor?: string | null; /** The `OrgLimit` at the end of the edge. */ node?: OrgLimit | null; } export type OrgLimitEdgeSelect = { cursor?: boolean; node?: { select: OrgLimitSelect; }; }; /** A `OrgLimitCredit` edge in the connection. */ export interface OrgLimitCreditEdge { cursor?: string | null; /** The `OrgLimitCredit` at the end of the edge. */ node?: OrgLimitCredit | null; } export type OrgLimitCreditEdgeSelect = { cursor?: boolean; node?: { select: OrgLimitCreditSelect; }; }; /** A `OrgLimitDefault` edge in the connection. */ export interface OrgLimitDefaultEdge { cursor?: string | null; /** The `OrgLimitDefault` at the end of the edge. */ node?: OrgLimitDefault | null; } export type OrgLimitDefaultEdgeSelect = { cursor?: boolean; node?: { select: OrgLimitDefaultSelect; }; }; /** A `OrgLimitEvent` edge in the connection. */ export interface OrgLimitEventEdge { cursor?: string | null; /** The `OrgLimitEvent` at the end of the edge. */ node?: OrgLimitEvent | null; } export type OrgLimitEventEdgeSelect = { cursor?: boolean; node?: { select: OrgLimitEventSelect; }; }; /** A `OrgLimitWarning` edge in the connection. */ export interface OrgLimitWarningEdge { cursor?: string | null; /** The `OrgLimitWarning` at the end of the edge. */ node?: OrgLimitWarning | null; } export type OrgLimitWarningEdgeSelect = { cursor?: boolean; node?: { select: OrgLimitWarningSelect; }; };