CustomerInfo
Type: schema
TypeScript Definition
typescript
CustomerInfo: {{
/** @description user id */
id?: $Read<string>;
first_name?: string;
last_name?: string;
full_name?: $Read<string>;
profile_image_url?: $Read<string>;
country_code?: string;
phone?: string;
email?: string;
is_phone_verified?: $Read<boolean>;
is_email_verified?: $Read<boolean>;
is_whatsapp_verified?: $Read<boolean>;
status?: components["schemas"]["CustomerStatus"];
/** Format: date-time */
created_at?: $Read<string>;
/** Format: date-time */
modified_at?: $Read<string>;
/** Format: date-time */
last_seen?: $Read<string>;
kyc_status?: components["schemas"]["KycStatus"];
is_verified?: $Read<boolean>;
tags?: string[];
};
/** CustomerLoyalty */
}Component References
| Reference | Resolves To |
|---|---|
components["schemas"]["CustomerStatus"] | CustomerStatus |
components["schemas"]["KycStatus"] | KycStatus |
OpenAPI Schema
json
{
"type": "object",
"properties": {
"id": {
"description": "user id",
"type": "string",
"readOnly": true
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"full_name": {
"type": "string",
"readOnly": true
},
"profile_image_url": {
"type": "string",
"readOnly": true
},
"country_code": {
"type": "string"
},
"phone": {
"type": "string"
},
"email": {
"type": "string"
},
"is_phone_verified": {
"type": "boolean",
"readOnly": true
},
"is_email_verified": {
"type": "boolean",
"readOnly": true
},
"is_whatsapp_verified": {
"type": "boolean",
"readOnly": true
},
"status": {
"$ref": "#/components/schemas/CustomerStatus"
},
"created_at": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"modified_at": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"last_seen": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"kyc_status": {
"$ref": "#/components/schemas/KycStatus"
},
"is_verified": {
"type": "boolean",
"readOnly": true
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
}
},
"title": "CustomerInfo",
"x-tags": [
"Customers"
]
}Auto-generated from OpenAPI spec and TypeScript definitions