fastcomments 0.0.1__py3-none-any.whl
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.
- client/__init__.py +254 -0
- client/api_client.py +797 -0
- client/api_response.py +21 -0
- client/configuration.py +599 -0
- client/exceptions.py +216 -0
- client/py.typed +0 -0
- client/rest.py +257 -0
- fastcomments-0.0.1.dist-info/METADATA +222 -0
- fastcomments-0.0.1.dist-info/RECORD +18 -0
- fastcomments-0.0.1.dist-info/WHEEL +5 -0
- fastcomments-0.0.1.dist-info/licenses/LICENSE +21 -0
- fastcomments-0.0.1.dist-info/top_level.txt +2 -0
- sso/__init__.py +16 -0
- sso/fastcomments_sso.py +65 -0
- sso/helpers.py +27 -0
- sso/secure_sso_payload.py +14 -0
- sso/secure_sso_user_data.py +23 -0
- sso/simple_sso_user_data.py +14 -0
client/__init__.py
ADDED
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
fastcomments
|
|
7
|
+
|
|
8
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
9
|
+
|
|
10
|
+
The version of the OpenAPI document: 0.0.0
|
|
11
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
|
+
|
|
13
|
+
Do not edit the class manually.
|
|
14
|
+
""" # noqa: E501
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
__version__ = "0.0.1"
|
|
18
|
+
|
|
19
|
+
# import apis into sdk package
|
|
20
|
+
from client.api.public_api import PublicApi
|
|
21
|
+
from client.api.default_api import DefaultApi
|
|
22
|
+
|
|
23
|
+
# import ApiClient
|
|
24
|
+
from client.api_response import ApiResponse
|
|
25
|
+
from client.api_client import ApiClient
|
|
26
|
+
from client.configuration import Configuration
|
|
27
|
+
from client.exceptions import OpenApiException
|
|
28
|
+
from client.exceptions import ApiTypeError
|
|
29
|
+
from client.exceptions import ApiValueError
|
|
30
|
+
from client.exceptions import ApiKeyError
|
|
31
|
+
from client.exceptions import ApiAttributeError
|
|
32
|
+
from client.exceptions import ApiException
|
|
33
|
+
|
|
34
|
+
# import models into sdk package
|
|
35
|
+
from client.models.api_create_user_badge_response import APICreateUserBadgeResponse
|
|
36
|
+
from client.models.api_empty_response import APIEmptyResponse
|
|
37
|
+
from client.models.api_empty_success_response import APIEmptySuccessResponse
|
|
38
|
+
from client.models.api_error import APIError
|
|
39
|
+
from client.models.api_get_comment_response import APIGetCommentResponse
|
|
40
|
+
from client.models.api_get_comments_response import APIGetCommentsResponse
|
|
41
|
+
from client.models.api_get_user_badge_progress_list_response import APIGetUserBadgeProgressListResponse
|
|
42
|
+
from client.models.api_get_user_badge_progress_response import APIGetUserBadgeProgressResponse
|
|
43
|
+
from client.models.api_get_user_badge_response import APIGetUserBadgeResponse
|
|
44
|
+
from client.models.api_get_user_badges_response import APIGetUserBadgesResponse
|
|
45
|
+
from client.models.api_page import APIPage
|
|
46
|
+
from client.models.apisso_user import APISSOUser
|
|
47
|
+
from client.models.api_status import APIStatus
|
|
48
|
+
from client.models.api_user_subscription import APIUserSubscription
|
|
49
|
+
from client.models.add_domain_config200_response import AddDomainConfig200Response
|
|
50
|
+
from client.models.add_domain_config200_response_any_of import AddDomainConfig200ResponseAnyOf
|
|
51
|
+
from client.models.add_domain_config_params import AddDomainConfigParams
|
|
52
|
+
from client.models.add_page_api_response import AddPageAPIResponse
|
|
53
|
+
from client.models.add_sso_user_api_response import AddSSOUserAPIResponse
|
|
54
|
+
from client.models.aggregate_question_results200_response import AggregateQuestionResults200Response
|
|
55
|
+
from client.models.aggregate_question_results_response import AggregateQuestionResultsResponse
|
|
56
|
+
from client.models.aggregate_time_bucket import AggregateTimeBucket
|
|
57
|
+
from client.models.aggregation_item import AggregationItem
|
|
58
|
+
from client.models.aggregation_op_type import AggregationOpType
|
|
59
|
+
from client.models.aggregation_operation import AggregationOperation
|
|
60
|
+
from client.models.aggregation_request import AggregationRequest
|
|
61
|
+
from client.models.aggregation_request_sort import AggregationRequestSort
|
|
62
|
+
from client.models.aggregation_response import AggregationResponse
|
|
63
|
+
from client.models.aggregation_response_stats import AggregationResponseStats
|
|
64
|
+
from client.models.aggregation_value import AggregationValue
|
|
65
|
+
from client.models.block_from_comment_params import BlockFromCommentParams
|
|
66
|
+
from client.models.block_from_comment_public200_response import BlockFromCommentPublic200Response
|
|
67
|
+
from client.models.block_success import BlockSuccess
|
|
68
|
+
from client.models.bulk_aggregate_question_item import BulkAggregateQuestionItem
|
|
69
|
+
from client.models.bulk_aggregate_question_results200_response import BulkAggregateQuestionResults200Response
|
|
70
|
+
from client.models.bulk_aggregate_question_results_request import BulkAggregateQuestionResultsRequest
|
|
71
|
+
from client.models.bulk_aggregate_question_results_response import BulkAggregateQuestionResultsResponse
|
|
72
|
+
from client.models.change_comment_pin_status_response import ChangeCommentPinStatusResponse
|
|
73
|
+
from client.models.check_blocked_comments_response import CheckBlockedCommentsResponse
|
|
74
|
+
from client.models.checked_comments_for_blocked200_response import CheckedCommentsForBlocked200Response
|
|
75
|
+
from client.models.combine_comments_with_question_results200_response import CombineCommentsWithQuestionResults200Response
|
|
76
|
+
from client.models.combine_question_results_with_comments_response import CombineQuestionResultsWithCommentsResponse
|
|
77
|
+
from client.models.comment_data import CommentData
|
|
78
|
+
from client.models.comment_html_rendering_mode import CommentHTMLRenderingMode
|
|
79
|
+
from client.models.comment_question_results_rendering_type import CommentQuestionResultsRenderingType
|
|
80
|
+
from client.models.comment_questions_required import CommentQuestionsRequired
|
|
81
|
+
from client.models.comment_text_update_request import CommentTextUpdateRequest
|
|
82
|
+
from client.models.comment_thread_deletion_mode import CommentThreadDeletionMode
|
|
83
|
+
from client.models.comment_user_badge_info import CommentUserBadgeInfo
|
|
84
|
+
from client.models.comment_user_hash_tag_info import CommentUserHashTagInfo
|
|
85
|
+
from client.models.comment_user_mention_info import CommentUserMentionInfo
|
|
86
|
+
from client.models.commenter_name_formats import CommenterNameFormats
|
|
87
|
+
from client.models.create_api_page_data import CreateAPIPageData
|
|
88
|
+
from client.models.create_apisso_user_data import CreateAPISSOUserData
|
|
89
|
+
from client.models.create_api_user_subscription_data import CreateAPIUserSubscriptionData
|
|
90
|
+
from client.models.create_comment_params import CreateCommentParams
|
|
91
|
+
from client.models.create_comment_public200_response import CreateCommentPublic200Response
|
|
92
|
+
from client.models.create_feed_post200_response import CreateFeedPost200Response
|
|
93
|
+
from client.models.create_feed_post_params import CreateFeedPostParams
|
|
94
|
+
from client.models.create_feed_post_public200_response import CreateFeedPostPublic200Response
|
|
95
|
+
from client.models.create_feed_post_response import CreateFeedPostResponse
|
|
96
|
+
from client.models.create_feed_posts_response import CreateFeedPostsResponse
|
|
97
|
+
from client.models.create_subscription_api_response import CreateSubscriptionAPIResponse
|
|
98
|
+
from client.models.create_user_badge200_response import CreateUserBadge200Response
|
|
99
|
+
from client.models.create_user_badge_params import CreateUserBadgeParams
|
|
100
|
+
from client.models.custom_config_parameters import CustomConfigParameters
|
|
101
|
+
from client.models.delete_comment200_response import DeleteComment200Response
|
|
102
|
+
from client.models.delete_comment_action import DeleteCommentAction
|
|
103
|
+
from client.models.delete_comment_public200_response import DeleteCommentPublic200Response
|
|
104
|
+
from client.models.delete_comment_result import DeleteCommentResult
|
|
105
|
+
from client.models.delete_comment_vote200_response import DeleteCommentVote200Response
|
|
106
|
+
from client.models.delete_domain_config200_response import DeleteDomainConfig200Response
|
|
107
|
+
from client.models.delete_feed_post_public200_response import DeleteFeedPostPublic200Response
|
|
108
|
+
from client.models.delete_feed_post_public200_response_any_of import DeleteFeedPostPublic200ResponseAnyOf
|
|
109
|
+
from client.models.delete_page_api_response import DeletePageAPIResponse
|
|
110
|
+
from client.models.delete_sso_user_api_response import DeleteSSOUserAPIResponse
|
|
111
|
+
from client.models.delete_subscription_api_response import DeleteSubscriptionAPIResponse
|
|
112
|
+
from client.models.event_log_entry import EventLogEntry
|
|
113
|
+
from client.models.f_comment import FComment
|
|
114
|
+
from client.models.f_comment_meta import FCommentMeta
|
|
115
|
+
from client.models.feed_post import FeedPost
|
|
116
|
+
from client.models.feed_post_link import FeedPostLink
|
|
117
|
+
from client.models.feed_post_media_item import FeedPostMediaItem
|
|
118
|
+
from client.models.feed_post_media_item_asset import FeedPostMediaItemAsset
|
|
119
|
+
from client.models.feed_post_stats import FeedPostStats
|
|
120
|
+
from client.models.feed_posts_stats_response import FeedPostsStatsResponse
|
|
121
|
+
from client.models.find_comments_by_range_item import FindCommentsByRangeItem
|
|
122
|
+
from client.models.find_comments_by_range_response import FindCommentsByRangeResponse
|
|
123
|
+
from client.models.flag_comment200_response import FlagComment200Response
|
|
124
|
+
from client.models.flag_comment_public200_response import FlagCommentPublic200Response
|
|
125
|
+
from client.models.flag_comment_response import FlagCommentResponse
|
|
126
|
+
from client.models.get_audit_logs200_response import GetAuditLogs200Response
|
|
127
|
+
from client.models.get_audit_logs_response import GetAuditLogsResponse
|
|
128
|
+
from client.models.get_comment200_response import GetComment200Response
|
|
129
|
+
from client.models.get_comment_text200_response import GetCommentText200Response
|
|
130
|
+
from client.models.get_comment_vote_user_names200_response import GetCommentVoteUserNames200Response
|
|
131
|
+
from client.models.get_comment_vote_user_names_success_response import GetCommentVoteUserNamesSuccessResponse
|
|
132
|
+
from client.models.get_comments200_response import GetComments200Response
|
|
133
|
+
from client.models.get_comments_public200_response import GetCommentsPublic200Response
|
|
134
|
+
from client.models.get_comments_response_public_comment import GetCommentsResponsePublicComment
|
|
135
|
+
from client.models.get_comments_response_with_presence_public_comment import GetCommentsResponseWithPresencePublicComment
|
|
136
|
+
from client.models.get_domain_config200_response import GetDomainConfig200Response
|
|
137
|
+
from client.models.get_domain_configs200_response import GetDomainConfigs200Response
|
|
138
|
+
from client.models.get_domain_configs200_response_any_of import GetDomainConfigs200ResponseAnyOf
|
|
139
|
+
from client.models.get_domain_configs200_response_any_of1 import GetDomainConfigs200ResponseAnyOf1
|
|
140
|
+
from client.models.get_event_log200_response import GetEventLog200Response
|
|
141
|
+
from client.models.get_event_log_response import GetEventLogResponse
|
|
142
|
+
from client.models.get_feed_posts200_response import GetFeedPosts200Response
|
|
143
|
+
from client.models.get_feed_posts_public200_response import GetFeedPostsPublic200Response
|
|
144
|
+
from client.models.get_feed_posts_response import GetFeedPostsResponse
|
|
145
|
+
from client.models.get_feed_posts_stats200_response import GetFeedPostsStats200Response
|
|
146
|
+
from client.models.get_my_notifications_response import GetMyNotificationsResponse
|
|
147
|
+
from client.models.get_page_by_urlid_api_response import GetPageByURLIdAPIResponse
|
|
148
|
+
from client.models.get_pages_api_response import GetPagesAPIResponse
|
|
149
|
+
from client.models.get_public_feed_posts_response import GetPublicFeedPostsResponse
|
|
150
|
+
from client.models.get_sso_user_by_email_api_response import GetSSOUserByEmailAPIResponse
|
|
151
|
+
from client.models.get_sso_user_by_id_api_response import GetSSOUserByIdAPIResponse
|
|
152
|
+
from client.models.get_sso_users200_response import GetSSOUsers200Response
|
|
153
|
+
from client.models.get_subscriptions_api_response import GetSubscriptionsAPIResponse
|
|
154
|
+
from client.models.get_user_badge200_response import GetUserBadge200Response
|
|
155
|
+
from client.models.get_user_badge_progress_by_id200_response import GetUserBadgeProgressById200Response
|
|
156
|
+
from client.models.get_user_badge_progress_list200_response import GetUserBadgeProgressList200Response
|
|
157
|
+
from client.models.get_user_badges200_response import GetUserBadges200Response
|
|
158
|
+
from client.models.get_user_notification_count200_response import GetUserNotificationCount200Response
|
|
159
|
+
from client.models.get_user_notification_count_response import GetUserNotificationCountResponse
|
|
160
|
+
from client.models.get_user_notifications200_response import GetUserNotifications200Response
|
|
161
|
+
from client.models.get_user_presence_statuses200_response import GetUserPresenceStatuses200Response
|
|
162
|
+
from client.models.get_user_presence_statuses_response import GetUserPresenceStatusesResponse
|
|
163
|
+
from client.models.get_user_reacts_public200_response import GetUserReactsPublic200Response
|
|
164
|
+
from client.models.gif_rating import GifRating
|
|
165
|
+
from client.models.header_state import HeaderState
|
|
166
|
+
from client.models.ignored_response import IgnoredResponse
|
|
167
|
+
from client.models.image_content_profanity_level import ImageContentProfanityLevel
|
|
168
|
+
from client.models.imported_api_status_failed import ImportedAPIStatusFAILED
|
|
169
|
+
from client.models.imported_api_status_success import ImportedAPIStatusSUCCESS
|
|
170
|
+
from client.models.live_event import LiveEvent
|
|
171
|
+
from client.models.live_event_extra_info import LiveEventExtraInfo
|
|
172
|
+
from client.models.live_event_type import LiveEventType
|
|
173
|
+
from client.models.lock_comment200_response import LockComment200Response
|
|
174
|
+
from client.models.media_asset import MediaAsset
|
|
175
|
+
from client.models.meta_item import MetaItem
|
|
176
|
+
from client.models.notification_and_count import NotificationAndCount
|
|
177
|
+
from client.models.notification_object_type import NotificationObjectType
|
|
178
|
+
from client.models.notification_type import NotificationType
|
|
179
|
+
from client.models.patch_domain_config_params import PatchDomainConfigParams
|
|
180
|
+
from client.models.patch_page_api_response import PatchPageAPIResponse
|
|
181
|
+
from client.models.patch_sso_user_api_response import PatchSSOUserAPIResponse
|
|
182
|
+
from client.models.pick_api_comment_updatable_comment_fields import PickAPICommentUpdatableCommentFields
|
|
183
|
+
from client.models.pick_f_comment_api_comment_fields_keys import PickFCommentAPICommentFieldsKeys
|
|
184
|
+
from client.models.pick_f_comment_api_comment_fields_keys_meta import PickFCommentAPICommentFieldsKeysMeta
|
|
185
|
+
from client.models.pick_f_comment_approved_or_comment_html import PickFCommentApprovedOrCommentHTML
|
|
186
|
+
from client.models.pick_f_comment_is_deleted_or_comment_htmlor_commenter_name_or_user_id import PickFCommentIsDeletedOrCommentHTMLOrCommenterNameOrUserId
|
|
187
|
+
from client.models.pick_f_comment_public_comment_fields_keys import PickFCommentPublicCommentFieldsKeys
|
|
188
|
+
from client.models.pick_omit_f_comment_date_public_comment_pub_sub_fields_keys import PickOmitFCommentDatePublicCommentPubSubFieldsKeys
|
|
189
|
+
from client.models.pick_tenant_audit_log_tenant_audit_log_keys import PickTenantAuditLogTenantAuditLogKeys
|
|
190
|
+
from client.models.pin_comment200_response import PinComment200Response
|
|
191
|
+
from client.models.pub_sub_comment import PubSubComment
|
|
192
|
+
from client.models.pub_sub_vote import PubSubVote
|
|
193
|
+
from client.models.public_api_delete_comment_response import PublicAPIDeleteCommentResponse
|
|
194
|
+
from client.models.public_api_get_comment_text_response import PublicAPIGetCommentTextResponse
|
|
195
|
+
from client.models.public_api_set_comment_text_response import PublicAPISetCommentTextResponse
|
|
196
|
+
from client.models.public_block_from_comment_params import PublicBlockFromCommentParams
|
|
197
|
+
from client.models.public_comment import PublicComment
|
|
198
|
+
from client.models.public_feed_posts_response import PublicFeedPostsResponse
|
|
199
|
+
from client.models.put_sso_user_api_response import PutSSOUserAPIResponse
|
|
200
|
+
from client.models.query_predicate import QueryPredicate
|
|
201
|
+
from client.models.query_predicate_value import QueryPredicateValue
|
|
202
|
+
from client.models.question_datum import QuestionDatum
|
|
203
|
+
from client.models.question_rendering_type import QuestionRenderingType
|
|
204
|
+
from client.models.question_result import QuestionResult
|
|
205
|
+
from client.models.question_result_aggregation_overall import QuestionResultAggregationOverall
|
|
206
|
+
from client.models.question_sub_question_visibility import QuestionSubQuestionVisibility
|
|
207
|
+
from client.models.question_when_save import QuestionWhenSave
|
|
208
|
+
from client.models.react_body_params import ReactBodyParams
|
|
209
|
+
from client.models.react_feed_post_public200_response import ReactFeedPostPublic200Response
|
|
210
|
+
from client.models.react_feed_post_response import ReactFeedPostResponse
|
|
211
|
+
from client.models.record_string_before_string_or_null_after_string_or_null_value import RecordStringBeforeStringOrNullAfterStringOrNullValue
|
|
212
|
+
from client.models.record_string_string_or_number_value import RecordStringStringOrNumberValue
|
|
213
|
+
from client.models.renderable_user_notification import RenderableUserNotification
|
|
214
|
+
from client.models.reset_user_notifications200_response import ResetUserNotifications200Response
|
|
215
|
+
from client.models.reset_user_notifications_response import ResetUserNotificationsResponse
|
|
216
|
+
from client.models.sortdir import SORTDIR
|
|
217
|
+
from client.models.sso_security_level import SSOSecurityLevel
|
|
218
|
+
from client.models.save_comment200_response import SaveComment200Response
|
|
219
|
+
from client.models.save_comment_response import SaveCommentResponse
|
|
220
|
+
from client.models.save_comment_response_optimized import SaveCommentResponseOptimized
|
|
221
|
+
from client.models.save_comments_response_with_presence import SaveCommentsResponseWithPresence
|
|
222
|
+
from client.models.search_users200_response import SearchUsers200Response
|
|
223
|
+
from client.models.search_users_response import SearchUsersResponse
|
|
224
|
+
from client.models.set_comment_text200_response import SetCommentText200Response
|
|
225
|
+
from client.models.size_preset import SizePreset
|
|
226
|
+
from client.models.sort_directions import SortDirections
|
|
227
|
+
from client.models.spam_rule import SpamRule
|
|
228
|
+
from client.models.un_block_comment_public200_response import UnBlockCommentPublic200Response
|
|
229
|
+
from client.models.un_block_from_comment_params import UnBlockFromCommentParams
|
|
230
|
+
from client.models.unblock_success import UnblockSuccess
|
|
231
|
+
from client.models.update_api_page_data import UpdateAPIPageData
|
|
232
|
+
from client.models.update_apisso_user_data import UpdateAPISSOUserData
|
|
233
|
+
from client.models.update_domain_config_params import UpdateDomainConfigParams
|
|
234
|
+
from client.models.update_feed_post_params import UpdateFeedPostParams
|
|
235
|
+
from client.models.update_user_badge200_response import UpdateUserBadge200Response
|
|
236
|
+
from client.models.update_user_badge_params import UpdateUserBadgeParams
|
|
237
|
+
from client.models.update_user_notification_status200_response import UpdateUserNotificationStatus200Response
|
|
238
|
+
from client.models.upload_image_response import UploadImageResponse
|
|
239
|
+
from client.models.user_badge import UserBadge
|
|
240
|
+
from client.models.user_badge_progress import UserBadgeProgress
|
|
241
|
+
from client.models.user_notification import UserNotification
|
|
242
|
+
from client.models.user_notification_write_response import UserNotificationWriteResponse
|
|
243
|
+
from client.models.user_presence_data import UserPresenceData
|
|
244
|
+
from client.models.user_reacts_response import UserReactsResponse
|
|
245
|
+
from client.models.user_search_result import UserSearchResult
|
|
246
|
+
from client.models.user_session_info import UserSessionInfo
|
|
247
|
+
from client.models.vote_body_params import VoteBodyParams
|
|
248
|
+
from client.models.vote_comment200_response import VoteComment200Response
|
|
249
|
+
from client.models.vote_delete_response import VoteDeleteResponse
|
|
250
|
+
from client.models.vote_delete_response_status import VoteDeleteResponseStatus
|
|
251
|
+
from client.models.vote_response import VoteResponse
|
|
252
|
+
from client.models.vote_response_status import VoteResponseStatus
|
|
253
|
+
from client.models.vote_response_user import VoteResponseUser
|
|
254
|
+
from client.models.vote_style import VoteStyle
|