import { CustomerPortalCustomer } from "@polar-sh/sdk/models/components";
let value: CustomerPortalCustomer = {
createdAt: new Date("2025-11-11T04:11:04.408Z"),
modifiedAt: new Date("2023-03-02T04:52:23.967Z"),
id: "<value>",
email: "[email protected]",
emailVerified: false,
name: "<value>",
billingAddress: {
country: "Burkina Faso",
},
taxId: [
"<id>",
],
oauthAccounts: {
"key": {
accountId: "<id>",
accountUsername: "<value>",
},
},
};
Field |
Type |
Required |
Description |
createdAt |
Date |
✔️ |
Creation timestamp of the object. |
modifiedAt |
Date |
✔️ |
Last modification timestamp of the object. |
id |
string |
✔️ |
The ID of the object. |
email |
string |
✔️ |
N/A |
emailVerified |
boolean |
✔️ |
N/A |
name |
string |
✔️ |
N/A |
billingAddress |
components.Address |
✔️ |
N/A |
taxId |
components.CustomerPortalCustomerTaxId[] |
✔️ |
N/A |
oauthAccounts |
Record<string, components.CustomerPortalOAuthAccount> |
✔️ |
N/A |