@compassdigital/sdk.typescript 4.35.0 → 4.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +9 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +8 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/calendar.d.ts +4 -1
- package/lib/interface/calendar.d.ts.map +1 -1
- package/lib/interface/location.d.ts +4 -0
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +53 -559
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/user.d.ts +20 -0
- package/lib/interface/user.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +15 -0
- package/src/interface/calendar.ts +5 -2
- package/src/interface/location.ts +4 -0
- package/src/interface/menu.ts +53 -578
- package/src/interface/user.ts +29 -0
package/src/interface/user.ts
CHANGED
|
@@ -816,3 +816,32 @@ export interface PostUserEmbedurlResponse {
|
|
|
816
816
|
export interface PostUserEmbedurlRequest extends BaseRequest {
|
|
817
817
|
body: PostUserEmbedurlBody;
|
|
818
818
|
}
|
|
819
|
+
|
|
820
|
+
// GET /user/profile - Returns user profile with limited information
|
|
821
|
+
|
|
822
|
+
export interface GetUserProfileQuery {
|
|
823
|
+
// user's email address
|
|
824
|
+
email: string;
|
|
825
|
+
// app realm
|
|
826
|
+
realm: string;
|
|
827
|
+
// Graphql query string
|
|
828
|
+
_query?: string;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
export interface GetUserProfileResponse {
|
|
832
|
+
// user
|
|
833
|
+
id?: string;
|
|
834
|
+
name?: {
|
|
835
|
+
first?: string;
|
|
836
|
+
last?: string;
|
|
837
|
+
};
|
|
838
|
+
email?: string;
|
|
839
|
+
// User phone number
|
|
840
|
+
phone?: number;
|
|
841
|
+
date?: {
|
|
842
|
+
created?: string;
|
|
843
|
+
modified?: string;
|
|
844
|
+
};
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
export interface GetUserProfileRequest extends BaseRequest, RequestQuery<GetUserProfileQuery> {}
|