forked from dilame/instagram-private-api
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
194 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,27 @@ | ||
export interface FriendshipRepositoryChangeResponseRootObject { | ||
friendship_status: FriendshipRepositoryChangeResponseFriendship_status; | ||
status: string; | ||
export interface FriendshipRepositoryActionOptions { | ||
source?: 'profile' | 'self_followers' | 'audience_manager'; | ||
container_module?: 'profile' | 'self_followers' | 'favorites_home_list'; | ||
surface?: 'profile' | 'self_followers'; | ||
is_auto_block_enabled?: string; // String of boolean | ||
include_follow_friction_check?: '1' | '0'; | ||
nav_chain?: string; | ||
user_id?: string | number; | ||
device_id?: string; | ||
radio_type?: string; | ||
} | ||
|
||
export interface FriendshipRepositoryChangeResponseFriendship_status { | ||
following: boolean; | ||
followed_by: boolean; | ||
blocking: boolean; | ||
muting: boolean; | ||
is_private: boolean; | ||
incoming_request: boolean; | ||
outgoing_request: boolean; | ||
is_bestie: boolean; | ||
export interface FriendshipRepositoryBlockOptions { | ||
is_auto_block_enabled?: boolean; | ||
surface?: 'profile' | 'self_followers'; | ||
container_module?: 'profile' | 'self_followers' | 'favorites_home_list'; | ||
} | ||
|
||
export interface FriendshipRepositoryUnBlockOptions { | ||
container_module?: 'profile' | 'self_followers' | 'favorites_home_list'; | ||
} | ||
|
||
export interface FriendshipRepositoryCreateDestroyOptions { | ||
include_follow_friction_check?: boolean; | ||
container_module?: 'profile' | 'self_followers' | 'favorites_home_list'; | ||
nav_chain?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
export interface FriendshipRepositorFriendshipStatusResponseObject { | ||
blocking: boolean; | ||
followed_by: boolean; | ||
following: boolean; | ||
incoming_request: boolean; | ||
is_bestie: boolean; | ||
is_eligible_to_subscribe: boolean; | ||
is_feed_favorite: boolean; | ||
is_private: boolean; | ||
is_restricted: boolean; | ||
muting: boolean; | ||
outgoing_request: boolean; | ||
subscribed: boolean; | ||
} | ||
|
||
export interface FriendshipRepositoryRootResponseObject { | ||
friendship_status: FriendshipRepositorFriendshipStatusResponseObject; | ||
status: string; | ||
} | ||
|
||
export interface FriendshipRepositoryBlockResponse extends FriendshipRepositorFriendshipStatusResponseObject {} | ||
export interface FriendshipRepositoryUnBlockResponse extends FriendshipRepositorFriendshipStatusResponseObject {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export interface FriendshipRepositoryShowManyResponseRootObject { | ||
following: boolean; | ||
incoming_request: boolean; | ||
is_bestie: boolean; | ||
is_private: boolean; | ||
is_restricted: boolean; | ||
outgoing_request: boolean; | ||
is_feed_favorite: boolean; | ||
} | ||
|
||
export interface FriendshipRepositoryShowManyResponseFollowedByObject | ||
extends FriendshipRepositoryShowManyResponseRootObject { | ||
followed_by: boolean; | ||
} | ||
|
||
export type FriendshipRepositoryShowManyResponseObject = | ||
| FriendshipRepositoryShowManyResponseRootObject | ||
| FriendshipRepositoryShowManyResponseFollowedByObject; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,32 @@ | ||
export interface FriendshipRepositoryShowResponseRootObject { | ||
following: boolean; | ||
followed_by: boolean; | ||
blocking: boolean; | ||
muting: boolean; | ||
is_private: boolean; | ||
followed_by: boolean; | ||
following: boolean; | ||
incoming_request: boolean; | ||
outgoing_request: boolean; | ||
is_bestie: boolean; | ||
is_blocking_reel: boolean; | ||
is_eligible_to_subscribe: boolean; | ||
is_feed_favorite: boolean; | ||
is_guardian_of_viewer: boolean; | ||
is_muting_media_notes: boolean; | ||
is_muting_notes: boolean; | ||
is_muting_reel: boolean; | ||
is_bestie: boolean; | ||
is_private: boolean; | ||
is_restricted: boolean; | ||
is_supervised_by_viewer: boolean; | ||
is_viewer_unconnected: boolean; | ||
muting: boolean; | ||
outgoing_request: boolean; | ||
status: string; | ||
subscribed: boolean; | ||
} | ||
|
||
export interface FriendshipRepositoryShowResponseExternalDeeplinkProfileObject | ||
extends FriendshipRepositoryShowResponseRootObject { | ||
should_show_profile_upsell: boolean; | ||
is_banner_profile_upsell: boolean; | ||
} | ||
|
||
export type FriendshipRepositoryShowResponseObject = | ||
| FriendshipRepositoryShowResponseRootObject | ||
| FriendshipRepositoryShowResponseExternalDeeplinkProfileObject; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters