Skip to content

Latest commit

 

History

History
69 lines (64 loc) · 4.98 KB

licensekeyactivationread.md

File metadata and controls

69 lines (64 loc) · 4.98 KB

LicenseKeyActivationRead

Example Usage

import { LicenseKeyActivationRead } from "@polar-sh/sdk/models/components/licensekeyactivationread.js";

let value: LicenseKeyActivationRead = {
  id: "<value>",
  licenseKeyId: "<value>",
  label: "<value>",
  meta: {},
  createdAt: new Date("2024-04-17T04:00:42.753Z"),
  modifiedAt: new Date("2024-05-30T08:15:17.595Z"),
  licenseKey: {
    id: "<value>",
    organizationId: "<value>",
    userId: "<value>",
    customerId: "<value>",
    user: {
      id: "<value>",
      email: "[email protected]",
      publicName: "<value>",
    },
    customer: {
      createdAt: new Date("2023-08-16T14:40:51.811Z"),
      modifiedAt: new Date("2023-08-27T00:10:13.525Z"),
      id: "<value>",
      metadata: {
        "key": false,
      },
      externalId: "<id>",
      email: "[email protected]",
      emailVerified: false,
      name: "<value>",
      billingAddress: {
        country: "Guernsey",
      },
      taxId: [
        "<id>",
      ],
      organizationId: "<value>",
      avatarUrl: "https://superb-rawhide.info/",
    },
    benefitId: "<value>",
    key: "<key>",
    displayKey: "<value>",
    status: "disabled",
    limitActivations: 338709,
    usage: 935836,
    limitUsage: 500782,
    validations: 111203,
    lastValidatedAt: new Date("2024-06-04T19:11:08.158Z"),
    expiresAt: new Date("2024-01-30T16:52:49.455Z"),
  },
};

Fields

Field Type Required Description
id string ✔️ N/A
licenseKeyId string ✔️ N/A
label string ✔️ N/A
meta components.LicenseKeyActivationReadMeta ✔️ N/A
createdAt Date ✔️ N/A
modifiedAt Date ✔️ N/A
licenseKey components.LicenseKeyRead ✔️ N/A