@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.
@@ -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> {}