-
Notifications
You must be signed in to change notification settings - Fork 1
/
guests.ts
38 lines (30 loc) · 1.01 KB
/
guests.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import { Scalars, Maybe } from "../graph";
import * as Graph from "../graph";
import { Node } from "../platformClient";
/** A guest that can be associated with a bookable item. */
class CartGuest extends Node<Graph.CartGuest> {
/** Email address, if provided. */
email: Maybe<Scalars["Email"]>;
/** First name, if provided. */
firstName: Maybe<Scalars["String"]>;
/** ID of the guest. */
id: Scalars["ID"];
/**
* Name of the guest if provided, otherwise a user-friendly fallback name that
* uniquely identifies the guest.
*/
label: Scalars["String"];
/** Last name, if provided. */
lastName: Maybe<Scalars["String"]>;
/**
* Positive ordinal number starting at 1.
*
* This is for display purposes, don't use this to uniquely identify guests.
* Use the `id` field for that instead. Also, don't assume this scheme follows
* any predefined ordering.
*/
number: Scalars["Int"];
/** Mobile phone, if provided. */
phoneNumber: Maybe<Scalars["PhoneNumber"]>;
}
export { CartGuest };