import { CustomerPortalCustomer } from "@polar-sh/sdk/models/components/customerportalcustomer.js";
let value: CustomerPortalCustomer = {
createdAt: new Date("2023-04-03T06:47:49.140Z"),
modifiedAt: new Date("2024-10-02T01:50:20.097Z"),
id: "<value>",
email: "[email protected]",
emailVerified: false,
name: "<value>",
billingAddress: {
country: "US",
},
taxId: [
"911144442",
"us_ein",
],
oauthAccounts: {
"key": {
accountId: "<id>",
accountUsername: "<value>",
},
},
};
Field | Type | Required | Description | Example |
---|---|---|---|---|
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 | [ "911144442", "us_ein" ] |
oauthAccounts |
Record<string, components.CustomerPortalOAuthAccount> | ✔️ | N/A |