Skip to content

Latest commit

 

History

History
102 lines (94 loc) · 2.5 KB

File metadata and controls

102 lines (94 loc) · 2.5 KB

EventsListResponseEventsList

Successful Response

Supported Types

components.ListResourceEvent

const value: components.ListResourceEvent = {
  items: [
    {
      id: "<value>",
      timestamp: new Date("2025-07-20T10:08:06.703Z"),
      organizationId: "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
      customerId: "<value>",
      customer: {
        id: "992fae2a-2a17-4b7a-8d9e-e287cf90131b",
        createdAt: new Date("2024-06-04T21:28:32.740Z"),
        modifiedAt: new Date("2024-03-21T15:56:34.258Z"),
        metadata: {
          "key": "<value>",
        },
        externalId: "usr_1337",
        email: "customer@example.com",
        emailVerified: true,
        type: "individual",
        name: "John Doe",
        billingAddress: {
          country: "US",
        },
        taxId: [
          "911144442",
          "us_ein",
        ],
        organizationId: "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
        deletedAt: new Date("2026-09-04T17:38:48.600Z"),
        avatarUrl: "https://www.gravatar.com/avatar/xxx?d=404",
      },
      externalCustomerId: "<id>",
      childCount: 0,
      label: "<value>",
      name: "<value>",
      source: "user",
      metadata: {},
    },
  ],
  pagination: {
    totalCount: 296266,
    maxPage: 544155,
  },
};

components.ListResourceWithCursorPaginationEvent

const value: components.ListResourceWithCursorPaginationEvent = {
  items: [
    {
      id: "<value>",
      timestamp: new Date("2025-07-20T10:08:06.703Z"),
      organizationId: "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
      customerId: "<value>",
      customer: {
        id: "992fae2a-2a17-4b7a-8d9e-e287cf90131b",
        createdAt: new Date("2024-06-04T21:28:32.740Z"),
        modifiedAt: new Date("2024-03-21T15:56:34.258Z"),
        metadata: {
          "key": "<value>",
        },
        externalId: "usr_1337",
        email: "customer@example.com",
        emailVerified: true,
        type: "individual",
        name: "John Doe",
        billingAddress: {
          country: "US",
        },
        taxId: [
          "911144442",
          "us_ein",
        ],
        organizationId: "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
        deletedAt: new Date("2026-09-04T17:38:48.600Z"),
        avatarUrl: "https://www.gravatar.com/avatar/xxx?d=404",
      },
      externalCustomerId: "<id>",
      childCount: 0,
      label: "<value>",
      name: "<value>",
      source: "user",
      metadata: {},
    },
  ],
  pagination: {
    hasNextPage: true,
  },
};