Skip to content

Commit 61d4ca8

Browse files
authored
Merge pull request #1 from FastComments/release-2025-11-21
Release v1.0.0 - Major model & API changes (comments, audit logs, APIStatus, pubsub, updatable params)
2 parents 562039d + 8a9d5b0 commit 61d4ca8

File tree

200 files changed

+2739
-1630
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+2739
-1630
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fastcomments-sdk"
3-
version = "0.0.2"
3+
version = "1.0.0"
44
authors = ["FastComments <[email protected]>"]
55
description = "Official FastComments Rust SDK (Typed API Client & Utilities)"
66
license = "MIT"

client/.openapi-generator/FILES

Lines changed: 26 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ docs/AggregationRequestSort.md
1919
docs/AggregationResponse.md
2020
docs/AggregationResponseStats.md
2121
docs/AggregationValue.md
22+
docs/ApiAuditLog.md
23+
docs/ApiComment.md
24+
docs/ApiCommentBase.md
2225
docs/ApiCreateUserBadgeResponse.md
2326
docs/ApiEmptyResponse.md
2427
docs/ApiEmptySuccessResponse.md
@@ -47,6 +50,9 @@ docs/CombineCommentsWithQuestionResults200Response.md
4750
docs/CombineQuestionResultsWithCommentsResponse.md
4851
docs/CommentData.md
4952
docs/CommentHtmlRenderingMode.md
53+
docs/CommentLogData.md
54+
docs/CommentLogEntry.md
55+
docs/CommentLogType.md
5056
docs/CommentQuestionResultsRenderingType.md
5157
docs/CommentQuestionsRequired.md
5258
docs/CommentTextUpdateRequest.md
@@ -81,6 +87,7 @@ docs/DeleteFeedPostPublic200ResponseAnyOf.md
8187
docs/DeletePageApiResponse.md
8288
docs/DeleteSsoUserApiResponse.md
8389
docs/DeleteSubscriptionApiResponse.md
90+
docs/DeletedCommentResultComment.md
8491
docs/EventLogEntry.md
8592
docs/FComment.md
8693
docs/FCommentMeta.md
@@ -137,8 +144,6 @@ docs/GifRating.md
137144
docs/HeaderState.md
138145
docs/IgnoredResponse.md
139146
docs/ImageContentProfanityLevel.md
140-
docs/ImportedApiStatusPeriodFailed.md
141-
docs/ImportedApiStatusPeriodSuccess.md
142147
docs/LiveEvent.md
143148
docs/LiveEventExtraInfo.md
144149
docs/LiveEventType.md
@@ -151,23 +156,17 @@ docs/NotificationType.md
151156
docs/PatchDomainConfigParams.md
152157
docs/PatchPageApiResponse.md
153158
docs/PatchSsoUserApiResponse.md
154-
docs/PickApiCommentPeriodUpdatableCommentFields.md
155-
docs/PickFCommentApiCommentFieldsKeysMeta.md
156-
docs/PickFCommentPeriodApiCommentFieldsKeys.md
157-
docs/PickFCommentPeriodApprovedOrCommentHtml.md
158-
docs/PickFCommentPeriodIsDeletedOrCommentHtmlOrCommenterNameOrUserId.md
159-
docs/PickFCommentPeriodPublicCommentFieldsKeys.md
160-
docs/PickOmitFCommentPeriodDatePeriodPublicCommentPubSubFieldsKeys.md
161-
docs/PickTenantAuditLogPeriodTenantAuditLogKeys.md
162159
docs/PinComment200Response.md
163160
docs/PubSubComment.md
161+
docs/PubSubCommentBase.md
164162
docs/PubSubVote.md
165163
docs/PublicApi.md
166164
docs/PublicApiDeleteCommentResponse.md
167165
docs/PublicApiGetCommentTextResponse.md
168166
docs/PublicApiSetCommentTextResponse.md
169167
docs/PublicBlockFromCommentParams.md
170168
docs/PublicComment.md
169+
docs/PublicCommentBase.md
171170
docs/PublicFeedPostsResponse.md
172171
docs/PutSsoUserApiResponse.md
173172
docs/QueryPredicate.md
@@ -184,6 +183,8 @@ docs/ReactFeedPostResponse.md
184183
docs/RecordStringBeforeStringOrNullAfterStringOrNullValue.md
185184
docs/RecordStringStringOrNumberValue.md
186185
docs/RenderableUserNotification.md
186+
docs/RepeatCommentCheckIgnoredReason.md
187+
docs/RepeatCommentHandlingAction.md
187188
docs/ResetUserNotifications200Response.md
188189
docs/ResetUserNotificationsResponse.md
189190
docs/SaveComment200Response.md
@@ -193,6 +194,7 @@ docs/SaveCommentsResponseWithPresence.md
193194
docs/SearchUsers200Response.md
194195
docs/SearchUsersResponse.md
195196
docs/SetCommentText200Response.md
197+
docs/SetCommentTextResult.md
196198
docs/SizePreset.md
197199
docs/SortDir.md
198200
docs/SortDirections.md
@@ -201,6 +203,7 @@ docs/SsoSecurityLevel.md
201203
docs/UnBlockCommentPublic200Response.md
202204
docs/UnBlockFromCommentParams.md
203205
docs/UnblockSuccess.md
206+
docs/UpdatableCommentParams.md
204207
docs/UpdateApiPageData.md
205208
docs/UpdateApissoUserData.md
206209
docs/UpdateDomainConfigParams.md
@@ -220,7 +223,6 @@ docs/UserSessionInfo.md
220223
docs/VoteBodyParams.md
221224
docs/VoteComment200Response.md
222225
docs/VoteDeleteResponse.md
223-
docs/VoteDeleteResponseStatus.md
224226
docs/VoteResponse.md
225227
docs/VoteResponseStatus.md
226228
docs/VoteResponseUser.md
@@ -247,6 +249,9 @@ src/models/aggregation_request_sort.rs
247249
src/models/aggregation_response.rs
248250
src/models/aggregation_response_stats.rs
249251
src/models/aggregation_value.rs
252+
src/models/api_audit_log.rs
253+
src/models/api_comment.rs
254+
src/models/api_comment_base.rs
250255
src/models/api_create_user_badge_response.rs
251256
src/models/api_empty_response.rs
252257
src/models/api_empty_success_response.rs
@@ -275,6 +280,9 @@ src/models/combine_comments_with_question_results_200_response.rs
275280
src/models/combine_question_results_with_comments_response.rs
276281
src/models/comment_data.rs
277282
src/models/comment_html_rendering_mode.rs
283+
src/models/comment_log_data.rs
284+
src/models/comment_log_entry.rs
285+
src/models/comment_log_type.rs
278286
src/models/comment_question_results_rendering_type.rs
279287
src/models/comment_questions_required.rs
280288
src/models/comment_text_update_request.rs
@@ -308,6 +316,7 @@ src/models/delete_feed_post_public_200_response_any_of.rs
308316
src/models/delete_page_api_response.rs
309317
src/models/delete_sso_user_api_response.rs
310318
src/models/delete_subscription_api_response.rs
319+
src/models/deleted_comment_result_comment.rs
311320
src/models/event_log_entry.rs
312321
src/models/f_comment.rs
313322
src/models/f_comment_meta.rs
@@ -364,8 +373,6 @@ src/models/gif_rating.rs
364373
src/models/header_state.rs
365374
src/models/ignored_response.rs
366375
src/models/image_content_profanity_level.rs
367-
src/models/imported_api_status_period_failed.rs
368-
src/models/imported_api_status_period_success.rs
369376
src/models/live_event.rs
370377
src/models/live_event_extra_info.rs
371378
src/models/live_event_type.rs
@@ -379,22 +386,16 @@ src/models/notification_type.rs
379386
src/models/patch_domain_config_params.rs
380387
src/models/patch_page_api_response.rs
381388
src/models/patch_sso_user_api_response.rs
382-
src/models/pick_api_comment_period_updatable_comment_fields_.rs
383-
src/models/pick_f_comment_api_comment_fields_keys__meta.rs
384-
src/models/pick_f_comment_period_api_comment_fields_keys_.rs
385-
src/models/pick_f_comment_period_approved_or_comment_html_.rs
386-
src/models/pick_f_comment_period_is_deleted_or_comment_html_or_commenter_name_or_user_id_.rs
387-
src/models/pick_f_comment_period_public_comment_fields_keys_.rs
388-
src/models/pick_omit_f_comment_period_date_period_public_comment_pub_sub_fields_keys_.rs
389-
src/models/pick_tenant_audit_log_period_tenant_audit_log_keys_.rs
390389
src/models/pin_comment_200_response.rs
391390
src/models/pub_sub_comment.rs
391+
src/models/pub_sub_comment_base.rs
392392
src/models/pub_sub_vote.rs
393393
src/models/public_api_delete_comment_response.rs
394394
src/models/public_api_get_comment_text_response.rs
395395
src/models/public_api_set_comment_text_response.rs
396396
src/models/public_block_from_comment_params.rs
397397
src/models/public_comment.rs
398+
src/models/public_comment_base.rs
398399
src/models/public_feed_posts_response.rs
399400
src/models/put_sso_user_api_response.rs
400401
src/models/query_predicate.rs
@@ -411,6 +412,8 @@ src/models/react_feed_post_response.rs
411412
src/models/record_string__before_string_or_null__after_string_or_null___value.rs
412413
src/models/record_string_string_or_number__value.rs
413414
src/models/renderable_user_notification.rs
415+
src/models/repeat_comment_check_ignored_reason.rs
416+
src/models/repeat_comment_handling_action.rs
414417
src/models/reset_user_notifications_200_response.rs
415418
src/models/reset_user_notifications_response.rs
416419
src/models/save_comment_200_response.rs
@@ -420,6 +423,7 @@ src/models/save_comments_response_with_presence.rs
420423
src/models/search_users_200_response.rs
421424
src/models/search_users_response.rs
422425
src/models/set_comment_text_200_response.rs
426+
src/models/set_comment_text_result.rs
423427
src/models/size_preset.rs
424428
src/models/sort_dir.rs
425429
src/models/sort_directions.rs
@@ -428,6 +432,7 @@ src/models/sso_security_level.rs
428432
src/models/un_block_comment_public_200_response.rs
429433
src/models/un_block_from_comment_params.rs
430434
src/models/unblock_success.rs
435+
src/models/updatable_comment_params.rs
431436
src/models/update_api_page_data.rs
432437
src/models/update_apisso_user_data.rs
433438
src/models/update_domain_config_params.rs
@@ -447,7 +452,6 @@ src/models/user_session_info.rs
447452
src/models/vote_body_params.rs
448453
src/models/vote_comment_200_response.rs
449454
src/models/vote_delete_response.rs
450-
src/models/vote_delete_response_status.rs
451455
src/models/vote_response.rs
452456
src/models/vote_response_status.rs
453457
src/models/vote_response_user.rs

client/README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ Class | Method | HTTP request | Description
128128
- [AggregationResponse](docs/AggregationResponse.md)
129129
- [AggregationResponseStats](docs/AggregationResponseStats.md)
130130
- [AggregationValue](docs/AggregationValue.md)
131+
- [ApiAuditLog](docs/ApiAuditLog.md)
132+
- [ApiComment](docs/ApiComment.md)
133+
- [ApiCommentBase](docs/ApiCommentBase.md)
131134
- [ApiCreateUserBadgeResponse](docs/ApiCreateUserBadgeResponse.md)
132135
- [ApiEmptyResponse](docs/ApiEmptyResponse.md)
133136
- [ApiEmptySuccessResponse](docs/ApiEmptySuccessResponse.md)
@@ -156,6 +159,9 @@ Class | Method | HTTP request | Description
156159
- [CombineQuestionResultsWithCommentsResponse](docs/CombineQuestionResultsWithCommentsResponse.md)
157160
- [CommentData](docs/CommentData.md)
158161
- [CommentHtmlRenderingMode](docs/CommentHtmlRenderingMode.md)
162+
- [CommentLogData](docs/CommentLogData.md)
163+
- [CommentLogEntry](docs/CommentLogEntry.md)
164+
- [CommentLogType](docs/CommentLogType.md)
159165
- [CommentQuestionResultsRenderingType](docs/CommentQuestionResultsRenderingType.md)
160166
- [CommentQuestionsRequired](docs/CommentQuestionsRequired.md)
161167
- [CommentTextUpdateRequest](docs/CommentTextUpdateRequest.md)
@@ -189,6 +195,7 @@ Class | Method | HTTP request | Description
189195
- [DeletePageApiResponse](docs/DeletePageApiResponse.md)
190196
- [DeleteSsoUserApiResponse](docs/DeleteSsoUserApiResponse.md)
191197
- [DeleteSubscriptionApiResponse](docs/DeleteSubscriptionApiResponse.md)
198+
- [DeletedCommentResultComment](docs/DeletedCommentResultComment.md)
192199
- [EventLogEntry](docs/EventLogEntry.md)
193200
- [FComment](docs/FComment.md)
194201
- [FCommentMeta](docs/FCommentMeta.md)
@@ -245,8 +252,6 @@ Class | Method | HTTP request | Description
245252
- [HeaderState](docs/HeaderState.md)
246253
- [IgnoredResponse](docs/IgnoredResponse.md)
247254
- [ImageContentProfanityLevel](docs/ImageContentProfanityLevel.md)
248-
- [ImportedApiStatusPeriodFailed](docs/ImportedApiStatusPeriodFailed.md)
249-
- [ImportedApiStatusPeriodSuccess](docs/ImportedApiStatusPeriodSuccess.md)
250255
- [LiveEvent](docs/LiveEvent.md)
251256
- [LiveEventExtraInfo](docs/LiveEventExtraInfo.md)
252257
- [LiveEventType](docs/LiveEventType.md)
@@ -259,22 +264,16 @@ Class | Method | HTTP request | Description
259264
- [PatchDomainConfigParams](docs/PatchDomainConfigParams.md)
260265
- [PatchPageApiResponse](docs/PatchPageApiResponse.md)
261266
- [PatchSsoUserApiResponse](docs/PatchSsoUserApiResponse.md)
262-
- [PickApiCommentPeriodUpdatableCommentFields](docs/PickApiCommentPeriodUpdatableCommentFields.md)
263-
- [PickFCommentApiCommentFieldsKeysMeta](docs/PickFCommentApiCommentFieldsKeysMeta.md)
264-
- [PickFCommentPeriodApiCommentFieldsKeys](docs/PickFCommentPeriodApiCommentFieldsKeys.md)
265-
- [PickFCommentPeriodApprovedOrCommentHtml](docs/PickFCommentPeriodApprovedOrCommentHtml.md)
266-
- [PickFCommentPeriodIsDeletedOrCommentHtmlOrCommenterNameOrUserId](docs/PickFCommentPeriodIsDeletedOrCommentHtmlOrCommenterNameOrUserId.md)
267-
- [PickFCommentPeriodPublicCommentFieldsKeys](docs/PickFCommentPeriodPublicCommentFieldsKeys.md)
268-
- [PickOmitFCommentPeriodDatePeriodPublicCommentPubSubFieldsKeys](docs/PickOmitFCommentPeriodDatePeriodPublicCommentPubSubFieldsKeys.md)
269-
- [PickTenantAuditLogPeriodTenantAuditLogKeys](docs/PickTenantAuditLogPeriodTenantAuditLogKeys.md)
270267
- [PinComment200Response](docs/PinComment200Response.md)
271268
- [PubSubComment](docs/PubSubComment.md)
269+
- [PubSubCommentBase](docs/PubSubCommentBase.md)
272270
- [PubSubVote](docs/PubSubVote.md)
273271
- [PublicApiDeleteCommentResponse](docs/PublicApiDeleteCommentResponse.md)
274272
- [PublicApiGetCommentTextResponse](docs/PublicApiGetCommentTextResponse.md)
275273
- [PublicApiSetCommentTextResponse](docs/PublicApiSetCommentTextResponse.md)
276274
- [PublicBlockFromCommentParams](docs/PublicBlockFromCommentParams.md)
277275
- [PublicComment](docs/PublicComment.md)
276+
- [PublicCommentBase](docs/PublicCommentBase.md)
278277
- [PublicFeedPostsResponse](docs/PublicFeedPostsResponse.md)
279278
- [PutSsoUserApiResponse](docs/PutSsoUserApiResponse.md)
280279
- [QueryPredicate](docs/QueryPredicate.md)
@@ -291,6 +290,8 @@ Class | Method | HTTP request | Description
291290
- [RecordStringBeforeStringOrNullAfterStringOrNullValue](docs/RecordStringBeforeStringOrNullAfterStringOrNullValue.md)
292291
- [RecordStringStringOrNumberValue](docs/RecordStringStringOrNumberValue.md)
293292
- [RenderableUserNotification](docs/RenderableUserNotification.md)
293+
- [RepeatCommentCheckIgnoredReason](docs/RepeatCommentCheckIgnoredReason.md)
294+
- [RepeatCommentHandlingAction](docs/RepeatCommentHandlingAction.md)
294295
- [ResetUserNotifications200Response](docs/ResetUserNotifications200Response.md)
295296
- [ResetUserNotificationsResponse](docs/ResetUserNotificationsResponse.md)
296297
- [SaveComment200Response](docs/SaveComment200Response.md)
@@ -300,6 +301,7 @@ Class | Method | HTTP request | Description
300301
- [SearchUsers200Response](docs/SearchUsers200Response.md)
301302
- [SearchUsersResponse](docs/SearchUsersResponse.md)
302303
- [SetCommentText200Response](docs/SetCommentText200Response.md)
304+
- [SetCommentTextResult](docs/SetCommentTextResult.md)
303305
- [SizePreset](docs/SizePreset.md)
304306
- [SortDir](docs/SortDir.md)
305307
- [SortDirections](docs/SortDirections.md)
@@ -308,6 +310,7 @@ Class | Method | HTTP request | Description
308310
- [UnBlockCommentPublic200Response](docs/UnBlockCommentPublic200Response.md)
309311
- [UnBlockFromCommentParams](docs/UnBlockFromCommentParams.md)
310312
- [UnblockSuccess](docs/UnblockSuccess.md)
313+
- [UpdatableCommentParams](docs/UpdatableCommentParams.md)
311314
- [UpdateApiPageData](docs/UpdateApiPageData.md)
312315
- [UpdateApissoUserData](docs/UpdateApissoUserData.md)
313316
- [UpdateDomainConfigParams](docs/UpdateDomainConfigParams.md)
@@ -327,7 +330,6 @@ Class | Method | HTTP request | Description
327330
- [VoteBodyParams](docs/VoteBodyParams.md)
328331
- [VoteComment200Response](docs/VoteComment200Response.md)
329332
- [VoteDeleteResponse](docs/VoteDeleteResponse.md)
330-
- [VoteDeleteResponseStatus](docs/VoteDeleteResponseStatus.md)
331333
- [VoteResponse](docs/VoteResponse.md)
332334
- [VoteResponseStatus](docs/VoteResponseStatus.md)
333335
- [VoteResponseUser](docs/VoteResponseUser.md)

client/docs/AggregateQuestionResults200Response.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**status** | [**models::ImportedApiStatusPeriodFailed**](ImportedAPIStatus.FAILED.md) | |
7+
**status** | [**models::ApiStatus**](APIStatus.md) | |
88
**data** | [**models::QuestionResultAggregationOverall**](QuestionResultAggregationOverall.md) | |
99
**reason** | **String** | |
1010
**code** | **String** | |

client/docs/PickTenantAuditLogPeriodTenantAuditLogKeys.md renamed to client/docs/ApiAuditLog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# PickTenantAuditLogPeriodTenantAuditLogKeys
1+
# ApiAuditLog
22

33
## Properties
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**_id** | **String** | |
8-
**url** | Option<**String**> | | [optional]
98
**user_id** | Option<**String**> | | [optional]
109
**username** | Option<**String**> | | [optional]
1110
**resource_name** | **String** | |
1211
**crud_type** | **String** | |
1312
**from** | Option<**String**> | | [optional]
13+
**url** | Option<**String**> | | [optional]
1414
**ip** | Option<**String**> | | [optional]
1515
**when** | Option<**String**> | | [optional]
1616
**description** | Option<**String**> | | [optional]

0 commit comments

Comments
 (0)