PosUser
Type: schema
TypeScript Definition
typescript
PosUser: {{
id: string;
first_name: string;
last_name: string | null;
phone: string;
/** Format: email */
email: string;
channel: {
id: string;
name: string;
type: string;
};
device: {
id: string;
name: string;
} | null;
location: {
id: string;
name: string | null;
};
roles: {
location_id: string;
location_name: string | null;
role_id: string;
role_name: string;
}[];
};
/** Product */
}OpenAPI Schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": [
"string",
"null"
]
},
"phone": {
"type": "string"
},
"email": {
"type": "string",
"format": "email"
},
"channel": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"name",
"type"
]
},
"device": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
]
},
"location": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name"
]
},
"roles": {
"type": "array",
"items": {
"type": "object",
"required": [
"location_id",
"location_name",
"role_id",
"role_name"
],
"properties": {
"location_id": {
"type": "string"
},
"location_name": {
"type": [
"string",
"null"
]
},
"role_id": {
"type": "string"
},
"role_name": {
"type": "string"
}
}
}
}
},
"externalDocs": {
"url": "https://llm-docs.commercengine.io/admin-pos/schemas/PosUser"
},
"required": [
"id",
"first_name",
"last_name",
"phone",
"email",
"channel",
"device",
"location",
"roles"
],
"title": "PosUser"
}Auto-generated from OpenAPI spec and TypeScript definitions