Skip to main content

LicenseKeyPool

Secret-credential inventory for one variant (SPEC-029 Stack C). Availability is computed from key states — a code is a secret issued once, never a stock counter.

type LicenseKeyPool implements Node {
id: ID!
isActive: Boolean!
createdAt: DateTime!
updatedAt: DateTime!
mode: LicenseKeyPoolMode!
generatorConfig: JSONString!
variant: ProductVariant!
seller: Seller!
keyCounts: LicenseKeyCounts!
}

Fields​

LicenseKeyPool.id ● ID! non-null scalar​

The Globally Unique ID of this object

LicenseKeyPool.isActive ● Boolean! non-null scalar​

An inactive pool stops selling without touching issued keys.

LicenseKeyPool.createdAt ● DateTime! non-null scalar​

Row creation time.

LicenseKeyPool.updatedAt ● DateTime! non-null scalar​

Row last-modified time.

LicenseKeyPool.mode ● LicenseKeyPoolMode! non-null enum​

How this pool obtains its keys.

LicenseKeyPool.generatorConfig ● JSONString! non-null scalar​

Minting parameters for GENERATED pools; UPLOADED pools ignore it.

LicenseKeyPool.variant ● ProductVariant! non-null object​

The variant this pool sells keys for.

LicenseKeyPool.seller ● Seller! non-null object​

The seller whose inventory this is.

LicenseKeyPool.keyCounts ● LicenseKeyCounts! non-null object​

Key counts by lifecycle state.

Interfaces​

Node interface​

An object with a Globally Unique ID

Member Of​

LicenseKeyPoolCountableEdge object ● LicenseKeyPoolCreate object ● LicenseKeyPoolUpdate object ● LicenseKeysAdd object

Was this page helpful?