Skip to content

Latest commit

 

History

History
58 lines (53 loc) · 2.29 KB

meterseventsresponse.md

File metadata and controls

58 lines (53 loc) · 2.29 KB

MetersEventsResponse

Example Usage

import { MetersEventsResponse } from "@polar-sh/sdk/models/operations/metersevents.js";

let value: MetersEventsResponse = {
  result: {
    items: [
      {
        metadata: {
          "key": "<value>",
        },
        id: "<value>",
        timestamp: new Date("2025-05-12T13:21:27.718Z"),
        name: "<value>",
        source: "system",
        organizationId: "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
        customerId: "<value>",
        customer: {
          id: "992fae2a-2a17-4b7a-8d9e-e287cf90131b",
          createdAt: new Date("2023-07-11T19:13:49.739Z"),
          modifiedAt: new Date("2024-11-08T01:55:40.071Z"),
          metadata: {
            "key": "<value>",
          },
          externalId: "usr_1337",
          email: "[email protected]",
          emailVerified: true,
          name: "John Doe",
          billingAddress: {
            country: "FR",
          },
          taxId: [
            "FR61954506077",
            "eu_vat",
          ],
          organizationId: "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
          deletedAt: new Date("2024-10-09T23:31:25.948Z"),
          avatarUrl: "https://www.gravatar.com/avatar/xxx?d=blank",
        },
        externalCustomerId: "<id>",
      },
    ],
    pagination: {
      totalCount: 568459,
      maxPage: 722381,
    },
  },
};

Fields

Field Type Required Description
result components.ListResourceEvent ✔️ N/A