Skip to content

Latest commit

 

History

History
58 lines (53 loc) · 2.48 KB

benefitsgrantsresponse.md

File metadata and controls

58 lines (53 loc) · 2.48 KB

BenefitsGrantsResponse

Example Usage

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

let value: BenefitsGrantsResponse = {
  result: {
    items: [
      {
        createdAt: new Date("2024-05-28T04:26:46.586Z"),
        modifiedAt: new Date("2023-09-01T18:18:39.178Z"),
        id: "<value>",
        isGranted: false,
        isRevoked: false,
        subscriptionId: "<value>",
        orderId: "<value>",
        customerId: "<value>",
        benefitId: "<value>",
        customer: {
          id: "992fae2a-2a17-4b7a-8d9e-e287cf90131b",
          createdAt: new Date("2024-06-30T20:15:12.526Z"),
          modifiedAt: new Date("2023-11-18T21:53:45.126Z"),
          metadata: {
            "key": 9188.77,
          },
          externalId: "usr_1337",
          email: "[email protected]",
          emailVerified: true,
          name: "John Doe",
          billingAddress: {
            country: "SE",
          },
          taxId: [
            "FR61954506077",
            "eu_vat",
          ],
          organizationId: "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
          deletedAt: new Date("2024-09-20T16:43:52.277Z"),
          avatarUrl: "https://www.gravatar.com/avatar/xxx?d=blank",
        },
        properties: {},
      },
    ],
    pagination: {
      totalCount: 763672,
      maxPage: 311663,
    },
  },
};

Fields

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