@f3liz/rescript-misskey-api 0.6.4 → 0.6.6
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/es6/src/generated/kokonect-link/api/KokonectLinkAccount.mjs +141 -141
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkAdmin.mjs +328 -328
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkAntennas.mjs +18 -18
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkApp.mjs +1 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkChannels.mjs +29 -29
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkCharts.mjs +4 -4
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkChat.mjs +47 -47
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkClips.mjs +10 -10
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkComponentSchemas.mjs +174 -174
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkDefault.mjs +18 -18
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkDrive.mjs +44 -44
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkFederation.mjs +31 -31
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkFlash.mjs +6 -6
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkFollowing.mjs +13 -13
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkGallery.mjs +11 -11
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkHashtags.mjs +3 -3
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkLists.mjs +8 -8
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkMeta.mjs +14 -14
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkNotes.mjs +251 -251
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkNotifications.mjs +2 -2
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkPages.mjs +15 -15
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkRole.mjs +10 -10
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkUsers.mjs +51 -51
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkWebhooks.mjs +6 -6
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoAccount.mjs +115 -115
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoAdmin.mjs +377 -377
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoAntennas.mjs +21 -21
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoApp.mjs +1 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoAuth.mjs +3 -3
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoChannels.mjs +23 -23
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoCharts.mjs +48 -48
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoClips.mjs +5 -5
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoComponentSchemas.mjs +148 -148
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoDefault.mjs +44 -44
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoDrive.mjs +39 -39
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoFederation.mjs +33 -33
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoFlash.mjs +8 -8
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoFollowing.mjs +11 -11
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoGallery.mjs +11 -11
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoHashtags.mjs +11 -11
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoLists.mjs +9 -9
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoMeta.mjs +85 -85
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoNonProductive.mjs +8 -8
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoNotes.mjs +147 -147
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoNotifications.mjs +2 -2
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoPages.mjs +20 -20
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoRole.mjs +9 -9
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoUsers.mjs +69 -69
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoWebhooks.mjs +12 -12
- package/package.json +2 -2
- package/src/generated/kokonect-link/api/KokonectLinkAccount.res +141 -141
- package/src/generated/kokonect-link/api/KokonectLinkAdmin.res +328 -328
- package/src/generated/kokonect-link/api/KokonectLinkAntennas.res +18 -18
- package/src/generated/kokonect-link/api/KokonectLinkApp.res +1 -1
- package/src/generated/kokonect-link/api/KokonectLinkChannels.res +29 -29
- package/src/generated/kokonect-link/api/KokonectLinkCharts.res +4 -4
- package/src/generated/kokonect-link/api/KokonectLinkChat.res +47 -47
- package/src/generated/kokonect-link/api/KokonectLinkClips.res +10 -10
- package/src/generated/kokonect-link/api/KokonectLinkComponentSchemas.res +174 -174
- package/src/generated/kokonect-link/api/KokonectLinkDefault.res +18 -18
- package/src/generated/kokonect-link/api/KokonectLinkDrive.res +44 -44
- package/src/generated/kokonect-link/api/KokonectLinkFederation.res +31 -31
- package/src/generated/kokonect-link/api/KokonectLinkFlash.res +6 -6
- package/src/generated/kokonect-link/api/KokonectLinkFollowing.res +13 -13
- package/src/generated/kokonect-link/api/KokonectLinkGallery.res +11 -11
- package/src/generated/kokonect-link/api/KokonectLinkHashtags.res +3 -3
- package/src/generated/kokonect-link/api/KokonectLinkLists.res +8 -8
- package/src/generated/kokonect-link/api/KokonectLinkMeta.res +14 -14
- package/src/generated/kokonect-link/api/KokonectLinkNotes.res +251 -251
- package/src/generated/kokonect-link/api/KokonectLinkNotifications.res +2 -2
- package/src/generated/kokonect-link/api/KokonectLinkPages.res +15 -15
- package/src/generated/kokonect-link/api/KokonectLinkRole.res +10 -10
- package/src/generated/kokonect-link/api/KokonectLinkUsers.res +51 -51
- package/src/generated/kokonect-link/api/KokonectLinkWebhooks.res +6 -6
- package/src/generated/misskey-io/api/MisskeyIoAccount.res +115 -115
- package/src/generated/misskey-io/api/MisskeyIoAdmin.res +376 -376
- package/src/generated/misskey-io/api/MisskeyIoAntennas.res +21 -21
- package/src/generated/misskey-io/api/MisskeyIoApp.res +1 -1
- package/src/generated/misskey-io/api/MisskeyIoAuth.res +3 -3
- package/src/generated/misskey-io/api/MisskeyIoChannels.res +23 -23
- package/src/generated/misskey-io/api/MisskeyIoCharts.res +48 -48
- package/src/generated/misskey-io/api/MisskeyIoClips.res +5 -5
- package/src/generated/misskey-io/api/MisskeyIoComponentSchemas.res +148 -148
- package/src/generated/misskey-io/api/MisskeyIoDefault.res +44 -44
- package/src/generated/misskey-io/api/MisskeyIoDrive.res +39 -39
- package/src/generated/misskey-io/api/MisskeyIoFederation.res +33 -33
- package/src/generated/misskey-io/api/MisskeyIoFlash.res +8 -8
- package/src/generated/misskey-io/api/MisskeyIoFollowing.res +11 -11
- package/src/generated/misskey-io/api/MisskeyIoGallery.res +11 -11
- package/src/generated/misskey-io/api/MisskeyIoHashtags.res +11 -11
- package/src/generated/misskey-io/api/MisskeyIoLists.res +9 -9
- package/src/generated/misskey-io/api/MisskeyIoMeta.res +85 -85
- package/src/generated/misskey-io/api/MisskeyIoNonProductive.res +8 -8
- package/src/generated/misskey-io/api/MisskeyIoNotes.res +147 -147
- package/src/generated/misskey-io/api/MisskeyIoNotifications.res +2 -2
- package/src/generated/misskey-io/api/MisskeyIoPages.res +20 -20
- package/src/generated/misskey-io/api/MisskeyIoRole.res +9 -9
- package/src/generated/misskey-io/api/MisskeyIoUsers.res +69 -69
- package/src/generated/misskey-io/api/MisskeyIoWebhooks.res +12 -12
|
@@ -17,8 +17,8 @@ let postAdminAbuseReportNotificationRecipientCreateRequestSchema = S.object(s =>
|
|
|
17
17
|
isActive: s.field("isActive", S.bool),
|
|
18
18
|
name: s.field("name", S.string->S.min(1)->S.max(255)),
|
|
19
19
|
method_: s.field("method", S.string),
|
|
20
|
-
userId: s.
|
|
21
|
-
systemWebhookId: s.
|
|
20
|
+
userId: s.field("userId", S.option(S.string)),
|
|
21
|
+
systemWebhookId: s.field("systemWebhookId", S.option(S.string)),
|
|
22
22
|
})
|
|
23
23
|
|
|
24
24
|
type postAdminAbuseReportNotificationRecipientCreateResponse = KokonectLinkComponentSchemas.AbuseReportNotificationRecipient.t
|
|
@@ -93,8 +93,8 @@ let postAdminAbuseReportNotificationRecipientUpdateRequestSchema = S.object(s =>
|
|
|
93
93
|
isActive: s.field("isActive", S.bool),
|
|
94
94
|
name: s.field("name", S.string->S.min(1)->S.max(255)),
|
|
95
95
|
method_: s.field("method", S.string),
|
|
96
|
-
userId: s.
|
|
97
|
-
systemWebhookId: s.
|
|
96
|
+
userId: s.field("userId", S.option(S.string)),
|
|
97
|
+
systemWebhookId: s.field("systemWebhookId", S.option(S.string)),
|
|
98
98
|
})
|
|
99
99
|
|
|
100
100
|
type postAdminAbuseReportNotificationRecipientUpdateResponse = KokonectLinkComponentSchemas.AbuseReportNotificationRecipient.t
|
|
@@ -134,14 +134,14 @@ type postAdminAbuseUserReportsRequest = {
|
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
let postAdminAbuseUserReportsRequestSchema = S.object(s => {
|
|
137
|
-
limit: s.
|
|
138
|
-
sinceId: s.
|
|
139
|
-
untilId: s.
|
|
140
|
-
sinceDate: s.
|
|
141
|
-
untilDate: s.
|
|
142
|
-
state: s.
|
|
143
|
-
reporterOrigin: s.
|
|
144
|
-
targetUserOrigin: s.
|
|
137
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
138
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
139
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
140
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
141
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
142
|
+
state: s.field("state", S.option(S.string)),
|
|
143
|
+
reporterOrigin: s.field("reporterOrigin", S.option(S.string)),
|
|
144
|
+
targetUserOrigin: s.field("targetUserOrigin", S.option(S.string)),
|
|
145
145
|
})
|
|
146
146
|
|
|
147
147
|
type postAdminAbuseUserReportsResponse_1 = {
|
|
@@ -209,7 +209,7 @@ type postAdminAccountsCreateRequest = {
|
|
|
209
209
|
let postAdminAccountsCreateRequestSchema = S.object(s => {
|
|
210
210
|
username: s.field("username", S.string->S.pattern(/^\w{1,20}$/)),
|
|
211
211
|
password: s.field("password", S.string->S.min(1)),
|
|
212
|
-
setupPassword: s.
|
|
212
|
+
setupPassword: s.field("setupPassword", S.option(S.string)),
|
|
213
213
|
})
|
|
214
214
|
|
|
215
215
|
type postAdminAccountsCreateResponse = {
|
|
@@ -325,7 +325,7 @@ let postAdminAdCreateRequestSchema = S.object(s => {
|
|
|
325
325
|
startsAt: s.field("startsAt", S.int),
|
|
326
326
|
imageUrl: s.field("imageUrl", S.string->S.min(1)),
|
|
327
327
|
dayOfWeek: s.field("dayOfWeek", S.int),
|
|
328
|
-
isSensitive: s.
|
|
328
|
+
isSensitive: s.field("isSensitive", S.option(S.bool)),
|
|
329
329
|
})
|
|
330
330
|
|
|
331
331
|
type postAdminAdCreateResponse = KokonectLinkComponentSchemas.Ad.t
|
|
@@ -362,12 +362,12 @@ type postAdminAdListRequest = {
|
|
|
362
362
|
}
|
|
363
363
|
|
|
364
364
|
let postAdminAdListRequestSchema = S.object(s => {
|
|
365
|
-
limit: s.
|
|
366
|
-
sinceId: s.
|
|
367
|
-
untilId: s.
|
|
368
|
-
sinceDate: s.
|
|
369
|
-
untilDate: s.
|
|
370
|
-
publishing: s.
|
|
365
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
366
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
367
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
368
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
369
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
370
|
+
publishing: s.field("publishing", S.option(S.bool)),
|
|
371
371
|
})
|
|
372
372
|
|
|
373
373
|
type postAdminAdListResponse = array<KokonectLinkComponentSchemas.Ad.t>
|
|
@@ -410,12 +410,12 @@ let postAdminAnnouncementsCreateRequestSchema = S.object(s => {
|
|
|
410
410
|
title: s.field("title", S.string->S.min(1)),
|
|
411
411
|
text: s.field("text", S.string->S.min(1)),
|
|
412
412
|
imageUrl: s.field("imageUrl", S.nullableAsOption(S.string->S.min(0))),
|
|
413
|
-
icon: s.
|
|
414
|
-
display: s.
|
|
415
|
-
forExistingUsers: s.
|
|
416
|
-
silence: s.
|
|
417
|
-
needConfirmationToRead: s.
|
|
418
|
-
userId: s.
|
|
413
|
+
icon: s.field("icon", S.option(S.string)),
|
|
414
|
+
display: s.field("display", S.option(S.string)),
|
|
415
|
+
forExistingUsers: s.field("forExistingUsers", S.option(S.bool)),
|
|
416
|
+
silence: s.field("silence", S.option(S.bool)),
|
|
417
|
+
needConfirmationToRead: s.field("needConfirmationToRead", S.option(S.bool)),
|
|
418
|
+
userId: s.field("userId", S.option(S.string)),
|
|
419
419
|
})
|
|
420
420
|
|
|
421
421
|
type postAdminAnnouncementsCreateResponse = {
|
|
@@ -467,13 +467,13 @@ type postAdminAnnouncementsListRequest = {
|
|
|
467
467
|
}
|
|
468
468
|
|
|
469
469
|
let postAdminAnnouncementsListRequestSchema = S.object(s => {
|
|
470
|
-
limit: s.
|
|
471
|
-
sinceId: s.
|
|
472
|
-
untilId: s.
|
|
473
|
-
sinceDate: s.
|
|
474
|
-
untilDate: s.
|
|
475
|
-
userId: s.
|
|
476
|
-
status: s.
|
|
470
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
471
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
472
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
473
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
474
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
475
|
+
userId: s.field("userId", S.option(S.string)),
|
|
476
|
+
status: s.field("status", S.option(S.string)),
|
|
477
477
|
})
|
|
478
478
|
|
|
479
479
|
type postAdminAnnouncementsListResponse_1 = {
|
|
@@ -549,15 +549,15 @@ type postAdminAnnouncementsUpdateRequest = {
|
|
|
549
549
|
|
|
550
550
|
let postAdminAnnouncementsUpdateRequestSchema = S.object(s => {
|
|
551
551
|
id: s.field("id", S.string),
|
|
552
|
-
title: s.
|
|
553
|
-
text: s.
|
|
554
|
-
imageUrl: s.
|
|
555
|
-
icon: s.
|
|
556
|
-
display: s.
|
|
557
|
-
forExistingUsers: s.
|
|
558
|
-
silence: s.
|
|
559
|
-
needConfirmationToRead: s.
|
|
560
|
-
isActive: s.
|
|
552
|
+
title: s.field("title", S.option(S.string->S.min(1))),
|
|
553
|
+
text: s.field("text", S.option(S.string->S.min(1))),
|
|
554
|
+
imageUrl: s.field("imageUrl", S.option(S.string->S.min(0))),
|
|
555
|
+
icon: s.field("icon", S.option(S.string)),
|
|
556
|
+
display: s.field("display", S.option(S.string)),
|
|
557
|
+
forExistingUsers: s.field("forExistingUsers", S.option(S.bool)),
|
|
558
|
+
silence: s.field("silence", S.option(S.bool)),
|
|
559
|
+
needConfirmationToRead: s.field("needConfirmationToRead", S.option(S.bool)),
|
|
560
|
+
isActive: s.field("isActive", S.option(S.bool)),
|
|
561
561
|
})
|
|
562
562
|
|
|
563
563
|
type postAdminAnnouncementsUpdateResponse = unit
|
|
@@ -628,12 +628,12 @@ type postAdminAvatarDecorationsListRequest = {
|
|
|
628
628
|
}
|
|
629
629
|
|
|
630
630
|
let postAdminAvatarDecorationsListRequestSchema = S.object(s => {
|
|
631
|
-
limit: s.
|
|
632
|
-
sinceId: s.
|
|
633
|
-
untilId: s.
|
|
634
|
-
sinceDate: s.
|
|
635
|
-
untilDate: s.
|
|
636
|
-
userId: s.
|
|
631
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
632
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
633
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
634
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
635
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
636
|
+
userId: s.field("userId", S.option(S.string)),
|
|
637
637
|
})
|
|
638
638
|
|
|
639
639
|
type postAdminAvatarDecorationsListResponse_1 = {
|
|
@@ -688,10 +688,10 @@ type postAdminAvatarDecorationsListRemoteRequest = {
|
|
|
688
688
|
}
|
|
689
689
|
|
|
690
690
|
let postAdminAvatarDecorationsListRemoteRequestSchema = S.object(s => {
|
|
691
|
-
limit: s.
|
|
692
|
-
sinceId: s.
|
|
693
|
-
untilId: s.
|
|
694
|
-
userId: s.
|
|
691
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
692
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
693
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
694
|
+
userId: s.field("userId", S.option(S.string)),
|
|
695
695
|
})
|
|
696
696
|
|
|
697
697
|
type postAdminAvatarDecorationsListRemoteResponse_1 = {
|
|
@@ -811,15 +811,15 @@ type postAdminDriveFilesRequest = {
|
|
|
811
811
|
}
|
|
812
812
|
|
|
813
813
|
let postAdminDriveFilesRequestSchema = S.object(s => {
|
|
814
|
-
limit: s.
|
|
815
|
-
sinceId: s.
|
|
816
|
-
untilId: s.
|
|
817
|
-
sinceDate: s.
|
|
818
|
-
untilDate: s.
|
|
819
|
-
userId: s.
|
|
820
|
-
type_: s.
|
|
821
|
-
origin: s.
|
|
822
|
-
hostname: s.
|
|
814
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
815
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
816
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
817
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
818
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
819
|
+
userId: s.field("userId", S.option(S.string)),
|
|
820
|
+
type_: s.field("type", S.option(S.string->S.pattern(/^[a-zA-Z0-9\/\*-]+$/))),
|
|
821
|
+
origin: s.field("origin", S.option(S.string)),
|
|
822
|
+
hostname: s.field("hostname", S.option(S.string)),
|
|
823
823
|
})
|
|
824
824
|
|
|
825
825
|
type postAdminDriveFilesResponse = array<KokonectLinkComponentSchemas.DriveFile.t>
|
|
@@ -896,10 +896,10 @@ type postAdminDriveShowFileResponse = {
|
|
|
896
896
|
}
|
|
897
897
|
|
|
898
898
|
let postAdminDriveShowFileResponse_1Schema = S.object(s => {
|
|
899
|
-
width: s.
|
|
900
|
-
height: s.
|
|
901
|
-
orientation: s.
|
|
902
|
-
avgColor: s.
|
|
899
|
+
width: s.field("width", S.option(S.float)),
|
|
900
|
+
height: s.field("height", S.option(S.float)),
|
|
901
|
+
orientation: s.field("orientation", S.option(S.float)),
|
|
902
|
+
avgColor: s.field("avgColor", S.option(S.string)),
|
|
903
903
|
})
|
|
904
904
|
|
|
905
905
|
let postAdminDriveShowFileResponseSchema = S.object(s => {
|
|
@@ -966,12 +966,12 @@ type postAdminEmojiAddRequest = {
|
|
|
966
966
|
let postAdminEmojiAddRequestSchema = S.object(s => {
|
|
967
967
|
name: s.field("name", S.string->S.pattern(/^[a-zA-Z0-9_]+$/)),
|
|
968
968
|
fileId: s.field("fileId", S.string),
|
|
969
|
-
category: s.
|
|
970
|
-
aliases: s.
|
|
971
|
-
license: s.
|
|
972
|
-
isSensitive: s.
|
|
973
|
-
localOnly: s.
|
|
974
|
-
roleIdsThatCanBeUsedThisEmojiAsReaction: s.
|
|
969
|
+
category: s.field("category", S.option(S.string)),
|
|
970
|
+
aliases: s.field("aliases", S.option(S.array(S.string))),
|
|
971
|
+
license: s.field("license", S.option(S.string)),
|
|
972
|
+
isSensitive: s.field("isSensitive", S.option(S.bool)),
|
|
973
|
+
localOnly: s.field("localOnly", S.option(S.bool)),
|
|
974
|
+
roleIdsThatCanBeUsedThisEmojiAsReaction: s.field("roleIdsThatCanBeUsedThisEmojiAsReaction", S.option(S.array(S.string))),
|
|
975
975
|
})
|
|
976
976
|
|
|
977
977
|
type postAdminEmojiAddResponse = KokonectLinkComponentSchemas.EmojiDetailed.t
|
|
@@ -1008,12 +1008,12 @@ type postAdminEmojiListRequest = {
|
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
1010
|
let postAdminEmojiListRequestSchema = S.object(s => {
|
|
1011
|
-
query: s.
|
|
1012
|
-
limit: s.
|
|
1013
|
-
sinceId: s.
|
|
1014
|
-
untilId: s.
|
|
1015
|
-
sinceDate: s.
|
|
1016
|
-
untilDate: s.
|
|
1011
|
+
query: s.field("query", S.option(S.string)),
|
|
1012
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
1013
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
1014
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
1015
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
1016
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
1017
1017
|
})
|
|
1018
1018
|
|
|
1019
1019
|
type postAdminEmojiListResponse_1 = {
|
|
@@ -1069,13 +1069,13 @@ type postAdminEmojiListRemoteRequest = {
|
|
|
1069
1069
|
}
|
|
1070
1070
|
|
|
1071
1071
|
let postAdminEmojiListRemoteRequestSchema = S.object(s => {
|
|
1072
|
-
query: s.
|
|
1073
|
-
host: s.
|
|
1074
|
-
limit: s.
|
|
1075
|
-
sinceId: s.
|
|
1076
|
-
untilId: s.
|
|
1077
|
-
sinceDate: s.
|
|
1078
|
-
untilDate: s.
|
|
1072
|
+
query: s.field("query", S.option(S.string)),
|
|
1073
|
+
host: s.field("host", S.option(S.string)),
|
|
1074
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
1075
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
1076
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
1077
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
1078
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
1079
1079
|
})
|
|
1080
1080
|
|
|
1081
1081
|
type postAdminEmojiListRemoteResponse_1 = {
|
|
@@ -1169,13 +1169,13 @@ type postAdminEmojiUpdateRequest = {
|
|
|
1169
1169
|
}
|
|
1170
1170
|
|
|
1171
1171
|
let postAdminEmojiUpdateRequestSchema = S.object(s => {
|
|
1172
|
-
fileId: s.
|
|
1173
|
-
category: s.
|
|
1174
|
-
aliases: s.
|
|
1175
|
-
license: s.
|
|
1176
|
-
isSensitive: s.
|
|
1177
|
-
localOnly: s.
|
|
1178
|
-
roleIdsThatCanBeUsedThisEmojiAsReaction: s.
|
|
1172
|
+
fileId: s.field("fileId", S.option(S.string)),
|
|
1173
|
+
category: s.field("category", S.option(S.string)),
|
|
1174
|
+
aliases: s.field("aliases", S.option(S.array(S.string))),
|
|
1175
|
+
license: s.field("license", S.option(S.string)),
|
|
1176
|
+
isSensitive: s.field("isSensitive", S.option(S.bool)),
|
|
1177
|
+
localOnly: s.field("localOnly", S.option(S.bool)),
|
|
1178
|
+
roleIdsThatCanBeUsedThisEmojiAsReaction: s.field("roleIdsThatCanBeUsedThisEmojiAsReaction", S.option(S.array(S.string))),
|
|
1179
1179
|
})
|
|
1180
1180
|
|
|
1181
1181
|
type postAdminEmojiUpdateResponse = unit
|
|
@@ -1263,7 +1263,7 @@ type postAdminQueueJobsRequest = {
|
|
|
1263
1263
|
let postAdminQueueJobsRequestSchema = S.object(s => {
|
|
1264
1264
|
queue: s.field("queue", S.string),
|
|
1265
1265
|
state: s.field("state", S.array(S.string)),
|
|
1266
|
-
search: s.
|
|
1266
|
+
search: s.field("search", S.option(S.string)),
|
|
1267
1267
|
})
|
|
1268
1268
|
|
|
1269
1269
|
type postAdminQueueJobsResponse = array<KokonectLinkComponentSchemas.QueueJob.t>
|
|
@@ -1611,7 +1611,7 @@ type postAdminResolveAbuseUserReportRequest = {
|
|
|
1611
1611
|
|
|
1612
1612
|
let postAdminResolveAbuseUserReportRequestSchema = S.object(s => {
|
|
1613
1613
|
reportId: s.field("reportId", S.string),
|
|
1614
|
-
resolvedAs: s.
|
|
1614
|
+
resolvedAs: s.field("resolvedAs", S.option(S.string)),
|
|
1615
1615
|
})
|
|
1616
1616
|
|
|
1617
1617
|
type postAdminResolveAbuseUserReportResponse = unit
|
|
@@ -1645,7 +1645,7 @@ type postAdminRolesAssignRequest = {
|
|
|
1645
1645
|
let postAdminRolesAssignRequestSchema = S.object(s => {
|
|
1646
1646
|
roleId: s.field("roleId", S.string),
|
|
1647
1647
|
userId: s.field("userId", S.string),
|
|
1648
|
-
expiresAt: s.
|
|
1648
|
+
expiresAt: s.field("expiresAt", S.option(S.int)),
|
|
1649
1649
|
})
|
|
1650
1650
|
|
|
1651
1651
|
type postAdminRolesAssignResponse = unit
|
|
@@ -1698,9 +1698,9 @@ let postAdminRolesCreateRequestSchema = S.object(s => {
|
|
|
1698
1698
|
isPublic: s.field("isPublic", S.bool),
|
|
1699
1699
|
isModerator: s.field("isModerator", S.bool),
|
|
1700
1700
|
isAdministrator: s.field("isAdministrator", S.bool),
|
|
1701
|
-
isExplorable: s.
|
|
1701
|
+
isExplorable: s.field("isExplorable", S.option(S.bool)),
|
|
1702
1702
|
asBadge: s.field("asBadge", S.bool),
|
|
1703
|
-
preserveAssignmentOnMoveAccount: s.
|
|
1703
|
+
preserveAssignmentOnMoveAccount: s.field("preserveAssignmentOnMoveAccount", S.option(S.bool)),
|
|
1704
1704
|
canEditMembersByModerator: s.field("canEditMembersByModerator", S.bool),
|
|
1705
1705
|
displayOrder: s.field("displayOrder", S.float),
|
|
1706
1706
|
policies: s.field("policies", S.dict(S.json)),
|
|
@@ -1783,21 +1783,21 @@ type postAdminRolesUpdateRequest = {
|
|
|
1783
1783
|
|
|
1784
1784
|
let postAdminRolesUpdateRequestSchema = S.object(s => {
|
|
1785
1785
|
roleId: s.field("roleId", S.string),
|
|
1786
|
-
name: s.
|
|
1787
|
-
description: s.
|
|
1788
|
-
color: s.
|
|
1789
|
-
iconUrl: s.
|
|
1790
|
-
target: s.
|
|
1791
|
-
condFormula: s.
|
|
1792
|
-
isPublic: s.
|
|
1793
|
-
isModerator: s.
|
|
1794
|
-
isAdministrator: s.
|
|
1795
|
-
isExplorable: s.
|
|
1796
|
-
asBadge: s.
|
|
1797
|
-
preserveAssignmentOnMoveAccount: s.
|
|
1798
|
-
canEditMembersByModerator: s.
|
|
1799
|
-
displayOrder: s.
|
|
1800
|
-
policies: s.
|
|
1786
|
+
name: s.field("name", S.option(S.string)),
|
|
1787
|
+
description: s.field("description", S.option(S.string)),
|
|
1788
|
+
color: s.field("color", S.option(S.string)),
|
|
1789
|
+
iconUrl: s.field("iconUrl", S.option(S.string)),
|
|
1790
|
+
target: s.field("target", S.option(S.string)),
|
|
1791
|
+
condFormula: s.field("condFormula", S.option(S.dict(S.json))),
|
|
1792
|
+
isPublic: s.field("isPublic", S.option(S.bool)),
|
|
1793
|
+
isModerator: s.field("isModerator", S.option(S.bool)),
|
|
1794
|
+
isAdministrator: s.field("isAdministrator", S.option(S.bool)),
|
|
1795
|
+
isExplorable: s.field("isExplorable", S.option(S.bool)),
|
|
1796
|
+
asBadge: s.field("asBadge", S.option(S.bool)),
|
|
1797
|
+
preserveAssignmentOnMoveAccount: s.field("preserveAssignmentOnMoveAccount", S.option(S.bool)),
|
|
1798
|
+
canEditMembersByModerator: s.field("canEditMembersByModerator", S.option(S.bool)),
|
|
1799
|
+
displayOrder: s.field("displayOrder", S.option(S.float)),
|
|
1800
|
+
policies: s.field("policies", S.option(S.dict(S.json))),
|
|
1801
1801
|
})
|
|
1802
1802
|
|
|
1803
1803
|
type postAdminRolesUpdateResponse = unit
|
|
@@ -1833,11 +1833,11 @@ type postAdminRolesUsersRequest = {
|
|
|
1833
1833
|
|
|
1834
1834
|
let postAdminRolesUsersRequestSchema = S.object(s => {
|
|
1835
1835
|
roleId: s.field("roleId", S.string),
|
|
1836
|
-
sinceId: s.
|
|
1837
|
-
untilId: s.
|
|
1838
|
-
sinceDate: s.
|
|
1839
|
-
untilDate: s.
|
|
1840
|
-
limit: s.
|
|
1836
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
1837
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
1838
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
1839
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
1840
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
1841
1841
|
})
|
|
1842
1842
|
|
|
1843
1843
|
type postAdminRolesUsersResponse_1 = {
|
|
@@ -1968,14 +1968,14 @@ type postAdminShowModerationLogsRequest = {
|
|
|
1968
1968
|
}
|
|
1969
1969
|
|
|
1970
1970
|
let postAdminShowModerationLogsRequestSchema = S.object(s => {
|
|
1971
|
-
limit: s.
|
|
1972
|
-
sinceId: s.
|
|
1973
|
-
untilId: s.
|
|
1974
|
-
sinceDate: s.
|
|
1975
|
-
untilDate: s.
|
|
1976
|
-
type_: s.
|
|
1977
|
-
userId: s.
|
|
1978
|
-
search: s.
|
|
1971
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
1972
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
1973
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
1974
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
1975
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
1976
|
+
type_: s.field("type", S.option(S.string)),
|
|
1977
|
+
userId: s.field("userId", S.option(S.string)),
|
|
1978
|
+
search: s.field("search", S.option(S.string)),
|
|
1979
1979
|
})
|
|
1980
1980
|
|
|
1981
1981
|
type postAdminShowModerationLogsResponse_1 = {
|
|
@@ -2091,24 +2091,24 @@ let postAdminShowUserResponse_2Schema = S.object(s => {
|
|
|
2091
2091
|
})
|
|
2092
2092
|
|
|
2093
2093
|
let postAdminShowUserResponse_1Schema = S.object(s => {
|
|
2094
|
-
note: s.
|
|
2095
|
-
follow: s.
|
|
2096
|
-
mention: s.
|
|
2097
|
-
reply: s.
|
|
2098
|
-
renote: s.
|
|
2099
|
-
quote: s.
|
|
2100
|
-
reaction: s.
|
|
2101
|
-
pollEnded: s.
|
|
2102
|
-
scheduledNotePosted: s.
|
|
2103
|
-
scheduledNotePostFailed: s.
|
|
2104
|
-
receiveFollowRequest: s.
|
|
2105
|
-
followRequestAccepted: s.
|
|
2106
|
-
groupInvited: s.
|
|
2107
|
-
roleAssigned: s.
|
|
2108
|
-
chatRoomInvitationReceived: s.
|
|
2109
|
-
achievementEarned: s.
|
|
2110
|
-
app: s.
|
|
2111
|
-
test: s.
|
|
2094
|
+
note: s.field("note", S.option(S.dict(S.json))),
|
|
2095
|
+
follow: s.field("follow", S.option(S.dict(S.json))),
|
|
2096
|
+
mention: s.field("mention", S.option(S.dict(S.json))),
|
|
2097
|
+
reply: s.field("reply", S.option(S.dict(S.json))),
|
|
2098
|
+
renote: s.field("renote", S.option(S.dict(S.json))),
|
|
2099
|
+
quote: s.field("quote", S.option(S.dict(S.json))),
|
|
2100
|
+
reaction: s.field("reaction", S.option(S.dict(S.json))),
|
|
2101
|
+
pollEnded: s.field("pollEnded", S.option(S.dict(S.json))),
|
|
2102
|
+
scheduledNotePosted: s.field("scheduledNotePosted", S.option(S.dict(S.json))),
|
|
2103
|
+
scheduledNotePostFailed: s.field("scheduledNotePostFailed", S.option(S.dict(S.json))),
|
|
2104
|
+
receiveFollowRequest: s.field("receiveFollowRequest", S.option(S.dict(S.json))),
|
|
2105
|
+
followRequestAccepted: s.field("followRequestAccepted", S.option(S.dict(S.json))),
|
|
2106
|
+
groupInvited: s.field("groupInvited", S.option(S.dict(S.json))),
|
|
2107
|
+
roleAssigned: s.field("roleAssigned", S.option(S.dict(S.json))),
|
|
2108
|
+
chatRoomInvitationReceived: s.field("chatRoomInvitationReceived", S.option(S.dict(S.json))),
|
|
2109
|
+
achievementEarned: s.field("achievementEarned", S.option(S.dict(S.json))),
|
|
2110
|
+
app: s.field("app", S.option(S.dict(S.json))),
|
|
2111
|
+
test: s.field("test", S.option(S.dict(S.json))),
|
|
2112
2112
|
})
|
|
2113
2113
|
|
|
2114
2114
|
let postAdminShowUserResponseSchema = S.object(s => {
|
|
@@ -2173,7 +2173,7 @@ let postAdminSystemWebhookCreateRequestSchema = S.object(s => {
|
|
|
2173
2173
|
name: s.field("name", S.string->S.min(1)->S.max(255)),
|
|
2174
2174
|
on: s.field("on", S.array(S.string)),
|
|
2175
2175
|
url: s.field("url", S.string->S.min(1)->S.max(1024)),
|
|
2176
|
-
secret: s.
|
|
2176
|
+
secret: s.field("secret", S.option(S.string->S.max(1024))),
|
|
2177
2177
|
})
|
|
2178
2178
|
|
|
2179
2179
|
type postAdminSystemWebhookCreateResponse = KokonectLinkComponentSchemas.SystemWebhook.t
|
|
@@ -2249,7 +2249,7 @@ let postAdminSystemWebhookUpdateRequestSchema = S.object(s => {
|
|
|
2249
2249
|
name: s.field("name", S.string->S.min(1)->S.max(255)),
|
|
2250
2250
|
on: s.field("on", S.array(S.string)),
|
|
2251
2251
|
url: s.field("url", S.string->S.min(1)->S.max(1024)),
|
|
2252
|
-
secret: s.
|
|
2252
|
+
secret: s.field("secret", S.option(S.string->S.max(1024))),
|
|
2253
2253
|
})
|
|
2254
2254
|
|
|
2255
2255
|
type postAdminSystemWebhookUpdateResponse = KokonectLinkComponentSchemas.SystemWebhook.t
|
|
@@ -2451,166 +2451,166 @@ let postAdminUpdateMetaRequest_1Schema = S.object(s => {
|
|
|
2451
2451
|
})
|
|
2452
2452
|
|
|
2453
2453
|
let postAdminUpdateMetaRequestSchema = S.object(s => {
|
|
2454
|
-
disableRegistration: s.
|
|
2455
|
-
pinnedUsers: s.
|
|
2456
|
-
hiddenTags: s.
|
|
2457
|
-
blockedHosts: s.
|
|
2458
|
-
sensitiveWords: s.
|
|
2459
|
-
prohibitedWords: s.
|
|
2460
|
-
prohibitedWordsForNameOfUser: s.
|
|
2461
|
-
themeColor: s.
|
|
2462
|
-
mascotImageUrl: s.
|
|
2463
|
-
bannerUrl: s.
|
|
2464
|
-
serverErrorImageUrl: s.
|
|
2465
|
-
infoImageUrl: s.
|
|
2466
|
-
notFoundImageUrl: s.
|
|
2467
|
-
youBlockedImageUrl: s.
|
|
2468
|
-
iconUrl: s.
|
|
2469
|
-
app192iconUrl: s.
|
|
2470
|
-
app512iconUrl: s.
|
|
2471
|
-
backgroundImageUrl: s.
|
|
2472
|
-
logoImageUrl: s.
|
|
2473
|
-
name: s.
|
|
2474
|
-
shortName: s.
|
|
2475
|
-
description: s.
|
|
2476
|
-
defaultLightTheme: s.
|
|
2477
|
-
defaultDarkTheme: s.
|
|
2478
|
-
clientOptions: s.
|
|
2479
|
-
cacheRemoteFiles: s.
|
|
2480
|
-
cacheRemoteSensitiveFiles: s.
|
|
2481
|
-
emailRequiredForSignup: s.
|
|
2482
|
-
enableHcaptcha: s.
|
|
2483
|
-
hcaptchaSiteKey: s.
|
|
2484
|
-
hcaptchaSecretKey: s.
|
|
2485
|
-
enableMcaptcha: s.
|
|
2486
|
-
mcaptchaSiteKey: s.
|
|
2487
|
-
mcaptchaInstanceUrl: s.
|
|
2488
|
-
mcaptchaSecretKey: s.
|
|
2489
|
-
enableRecaptcha: s.
|
|
2490
|
-
recaptchaSiteKey: s.
|
|
2491
|
-
recaptchaSecretKey: s.
|
|
2492
|
-
enableTurnstile: s.
|
|
2493
|
-
turnstileSiteKey: s.
|
|
2494
|
-
turnstileSecretKey: s.
|
|
2495
|
-
enableTestcaptcha: s.
|
|
2496
|
-
googleAnalyticsMeasurementId: s.
|
|
2497
|
-
sensitiveMediaDetection: s.
|
|
2498
|
-
sensitiveMediaDetectionSensitivity: s.
|
|
2499
|
-
setSensitiveFlagAutomatically: s.
|
|
2500
|
-
enableSensitiveMediaDetectionForVideos: s.
|
|
2501
|
-
maintainerName: s.
|
|
2502
|
-
maintainerEmail: s.
|
|
2503
|
-
langs: s.
|
|
2504
|
-
translatorType: s.
|
|
2505
|
-
deeplAuthKey: s.
|
|
2506
|
-
deeplIsPro: s.
|
|
2507
|
-
ctav3saKey: s.
|
|
2508
|
-
ctav3projectId: s.
|
|
2509
|
-
ctav3location: s.
|
|
2510
|
-
ctav3model: s.
|
|
2511
|
-
ctav3glossary: s.
|
|
2512
|
-
libreTranslateEndPoint: s.
|
|
2513
|
-
libreTranslateApiKey: s.
|
|
2514
|
-
enableEmail: s.
|
|
2515
|
-
email: s.
|
|
2516
|
-
smtpSecure: s.
|
|
2517
|
-
smtpHost: s.
|
|
2518
|
-
smtpPort: s.
|
|
2519
|
-
smtpUser: s.
|
|
2520
|
-
smtpPass: s.
|
|
2521
|
-
enableServiceWorker: s.
|
|
2522
|
-
swPublicKey: s.
|
|
2523
|
-
swPrivateKey: s.
|
|
2524
|
-
tosUrl: s.
|
|
2525
|
-
repositoryUrl: s.
|
|
2526
|
-
feedbackUrl: s.
|
|
2527
|
-
impressumUrl: s.
|
|
2528
|
-
privacyPolicyUrl: s.
|
|
2529
|
-
inquiryUrl: s.
|
|
2530
|
-
useObjectStorage: s.
|
|
2531
|
-
objectStorageBaseUrl: s.
|
|
2532
|
-
objectStorageBucket: s.
|
|
2533
|
-
objectStoragePrefix: s.
|
|
2534
|
-
objectStorageEndpoint: s.
|
|
2535
|
-
objectStorageRegion: s.
|
|
2536
|
-
objectStoragePort: s.
|
|
2537
|
-
objectStorageAccessKey: s.
|
|
2538
|
-
objectStorageSecretKey: s.
|
|
2539
|
-
objectStorageUseSsl: s.
|
|
2540
|
-
objectStorageUseProxy: s.
|
|
2541
|
-
objectStorageSetPublicRead: s.
|
|
2542
|
-
objectStorageS3forcePathStyle: s.
|
|
2543
|
-
useRemoteObjectStorage: s.
|
|
2544
|
-
remoteObjectStorageBaseUrl: s.
|
|
2545
|
-
remoteObjectStorageBucket: s.
|
|
2546
|
-
remoteObjectStoragePrefix: s.
|
|
2547
|
-
remoteObjectStorageEndpoint: s.
|
|
2548
|
-
remoteObjectStorageRegion: s.
|
|
2549
|
-
remoteObjectStoragePort: s.
|
|
2550
|
-
remoteObjectStorageAccessKey: s.
|
|
2551
|
-
remoteObjectStorageSecretKey: s.
|
|
2552
|
-
remoteObjectStorageUseSsl: s.
|
|
2553
|
-
remoteObjectStorageUseProxy: s.
|
|
2554
|
-
remoteObjectStorageSetPublicRead: s.
|
|
2555
|
-
remoteObjectStorageS3forcePathStyle: s.
|
|
2556
|
-
enableIpLogging: s.
|
|
2557
|
-
enableActiveEmailValidation: s.
|
|
2558
|
-
enableVerifymailApi: s.
|
|
2559
|
-
verifymailAuthKey: s.
|
|
2560
|
-
enableTruemailApi: s.
|
|
2561
|
-
truemailInstance: s.
|
|
2562
|
-
truemailAuthKey: s.
|
|
2563
|
-
enableChartsForRemoteUser: s.
|
|
2564
|
-
enableChartsForFederatedInstances: s.
|
|
2565
|
-
enableStatsForFederatedInstances: s.
|
|
2566
|
-
enableServerMachineStats: s.
|
|
2567
|
-
enableIdenticonGeneration: s.
|
|
2568
|
-
serverRules: s.
|
|
2569
|
-
bannedEmailDomains: s.
|
|
2570
|
-
preservedUsernames: s.
|
|
2571
|
-
manifestJsonOverride: s.
|
|
2572
|
-
enableFanoutTimeline: s.
|
|
2573
|
-
enableFanoutTimelineDbFallback: s.
|
|
2574
|
-
perLocalUserUserTimelineCacheMax: s.
|
|
2575
|
-
perRemoteUserUserTimelineCacheMax: s.
|
|
2576
|
-
perUserHomeTimelineCacheMax: s.
|
|
2577
|
-
perUserListTimelineCacheMax: s.
|
|
2578
|
-
enableReactionsBuffering: s.
|
|
2579
|
-
notesPerOneAd: s.
|
|
2580
|
-
silencedHosts: s.
|
|
2581
|
-
mediaSilencedHosts: s.
|
|
2582
|
-
summalyProxy: s.
|
|
2583
|
-
urlPreviewEnabled: s.
|
|
2584
|
-
urlPreviewAllowRedirect: s.
|
|
2585
|
-
urlPreviewTimeout: s.
|
|
2586
|
-
urlPreviewMaximumContentLength: s.
|
|
2587
|
-
urlPreviewRequireContentLength: s.
|
|
2588
|
-
urlPreviewUserAgent: s.
|
|
2589
|
-
urlPreviewSummaryProxyUrl: s.
|
|
2590
|
-
federation: s.
|
|
2591
|
-
federationHosts: s.
|
|
2592
|
-
deliverSuspendedSoftware: s.
|
|
2593
|
-
singleUserMode: s.
|
|
2594
|
-
ugcVisibilityForVisitor: s.
|
|
2595
|
-
proxyRemoteFiles: s.
|
|
2596
|
-
signToActivityPubGet: s.
|
|
2597
|
-
allowExternalApRedirect: s.
|
|
2598
|
-
enableRemoteNotesCleaning: s.
|
|
2599
|
-
remoteNotesCleaningExpiryDaysForEachNotes: s.
|
|
2600
|
-
remoteNotesCleaningMaxProcessingDurationInMinutes: s.
|
|
2601
|
-
showRoleBadgesOfRemoteUsers: s.
|
|
2602
|
-
doNotSendNotificationEmailsForAbuseReport: s.
|
|
2603
|
-
emailToReceiveAbuseReport: s.
|
|
2604
|
-
enableReceivePrerelease: s.
|
|
2605
|
-
skipVersion: s.
|
|
2606
|
-
skipCherryPickVersion: s.
|
|
2607
|
-
trustedLinkUrlPatterns: s.
|
|
2608
|
-
customSplashText: s.
|
|
2609
|
-
disableRegistrationWhenInactive: s.
|
|
2610
|
-
disablePublicNoteWhenInactive: s.
|
|
2611
|
-
moderatorInactivityLimitDays: s.
|
|
2612
|
-
bubbleInstances: s.
|
|
2613
|
-
customRobotsTxt: s.
|
|
2454
|
+
disableRegistration: s.field("disableRegistration", S.option(S.bool)),
|
|
2455
|
+
pinnedUsers: s.field("pinnedUsers", S.option(S.json)),
|
|
2456
|
+
hiddenTags: s.field("hiddenTags", S.option(S.json)),
|
|
2457
|
+
blockedHosts: s.field("blockedHosts", S.option(S.json)),
|
|
2458
|
+
sensitiveWords: s.field("sensitiveWords", S.option(S.json)),
|
|
2459
|
+
prohibitedWords: s.field("prohibitedWords", S.option(S.json)),
|
|
2460
|
+
prohibitedWordsForNameOfUser: s.field("prohibitedWordsForNameOfUser", S.option(S.json)),
|
|
2461
|
+
themeColor: s.field("themeColor", S.option(S.string->S.pattern(/^#[0-9a-fA-F]{6}$/))),
|
|
2462
|
+
mascotImageUrl: s.field("mascotImageUrl", S.option(S.string)),
|
|
2463
|
+
bannerUrl: s.field("bannerUrl", S.option(S.string)),
|
|
2464
|
+
serverErrorImageUrl: s.field("serverErrorImageUrl", S.option(S.string)),
|
|
2465
|
+
infoImageUrl: s.field("infoImageUrl", S.option(S.string)),
|
|
2466
|
+
notFoundImageUrl: s.field("notFoundImageUrl", S.option(S.string)),
|
|
2467
|
+
youBlockedImageUrl: s.field("youBlockedImageUrl", S.option(S.string)),
|
|
2468
|
+
iconUrl: s.field("iconUrl", S.option(S.string)),
|
|
2469
|
+
app192iconUrl: s.field("app192IconUrl", S.option(S.string)),
|
|
2470
|
+
app512iconUrl: s.field("app512IconUrl", S.option(S.string)),
|
|
2471
|
+
backgroundImageUrl: s.field("backgroundImageUrl", S.option(S.string)),
|
|
2472
|
+
logoImageUrl: s.field("logoImageUrl", S.option(S.string)),
|
|
2473
|
+
name: s.field("name", S.option(S.string)),
|
|
2474
|
+
shortName: s.field("shortName", S.option(S.string)),
|
|
2475
|
+
description: s.field("description", S.option(S.string)),
|
|
2476
|
+
defaultLightTheme: s.field("defaultLightTheme", S.option(S.string)),
|
|
2477
|
+
defaultDarkTheme: s.field("defaultDarkTheme", S.option(S.string)),
|
|
2478
|
+
clientOptions: s.field("clientOptions", S.option(S.dict(S.json))),
|
|
2479
|
+
cacheRemoteFiles: s.field("cacheRemoteFiles", S.option(S.bool)),
|
|
2480
|
+
cacheRemoteSensitiveFiles: s.field("cacheRemoteSensitiveFiles", S.option(S.bool)),
|
|
2481
|
+
emailRequiredForSignup: s.field("emailRequiredForSignup", S.option(S.bool)),
|
|
2482
|
+
enableHcaptcha: s.field("enableHcaptcha", S.option(S.bool)),
|
|
2483
|
+
hcaptchaSiteKey: s.field("hcaptchaSiteKey", S.option(S.string)),
|
|
2484
|
+
hcaptchaSecretKey: s.field("hcaptchaSecretKey", S.option(S.string)),
|
|
2485
|
+
enableMcaptcha: s.field("enableMcaptcha", S.option(S.bool)),
|
|
2486
|
+
mcaptchaSiteKey: s.field("mcaptchaSiteKey", S.option(S.string)),
|
|
2487
|
+
mcaptchaInstanceUrl: s.field("mcaptchaInstanceUrl", S.option(S.string)),
|
|
2488
|
+
mcaptchaSecretKey: s.field("mcaptchaSecretKey", S.option(S.string)),
|
|
2489
|
+
enableRecaptcha: s.field("enableRecaptcha", S.option(S.bool)),
|
|
2490
|
+
recaptchaSiteKey: s.field("recaptchaSiteKey", S.option(S.string)),
|
|
2491
|
+
recaptchaSecretKey: s.field("recaptchaSecretKey", S.option(S.string)),
|
|
2492
|
+
enableTurnstile: s.field("enableTurnstile", S.option(S.bool)),
|
|
2493
|
+
turnstileSiteKey: s.field("turnstileSiteKey", S.option(S.string)),
|
|
2494
|
+
turnstileSecretKey: s.field("turnstileSecretKey", S.option(S.string)),
|
|
2495
|
+
enableTestcaptcha: s.field("enableTestcaptcha", S.option(S.bool)),
|
|
2496
|
+
googleAnalyticsMeasurementId: s.field("googleAnalyticsMeasurementId", S.option(S.string)),
|
|
2497
|
+
sensitiveMediaDetection: s.field("sensitiveMediaDetection", S.option(S.string)),
|
|
2498
|
+
sensitiveMediaDetectionSensitivity: s.field("sensitiveMediaDetectionSensitivity", S.option(S.string)),
|
|
2499
|
+
setSensitiveFlagAutomatically: s.field("setSensitiveFlagAutomatically", S.option(S.bool)),
|
|
2500
|
+
enableSensitiveMediaDetectionForVideos: s.field("enableSensitiveMediaDetectionForVideos", S.option(S.bool)),
|
|
2501
|
+
maintainerName: s.field("maintainerName", S.option(S.string)),
|
|
2502
|
+
maintainerEmail: s.field("maintainerEmail", S.option(S.string)),
|
|
2503
|
+
langs: s.field("langs", S.option(S.array(S.string))),
|
|
2504
|
+
translatorType: s.field("translatorType", S.option(S.string)),
|
|
2505
|
+
deeplAuthKey: s.field("deeplAuthKey", S.option(S.string)),
|
|
2506
|
+
deeplIsPro: s.field("deeplIsPro", S.option(S.bool)),
|
|
2507
|
+
ctav3saKey: s.field("ctav3SaKey", S.option(S.string)),
|
|
2508
|
+
ctav3projectId: s.field("ctav3ProjectId", S.option(S.string)),
|
|
2509
|
+
ctav3location: s.field("ctav3Location", S.option(S.string)),
|
|
2510
|
+
ctav3model: s.field("ctav3Model", S.option(S.string)),
|
|
2511
|
+
ctav3glossary: s.field("ctav3Glossary", S.option(S.string)),
|
|
2512
|
+
libreTranslateEndPoint: s.field("libreTranslateEndPoint", S.option(S.string)),
|
|
2513
|
+
libreTranslateApiKey: s.field("libreTranslateApiKey", S.option(S.string)),
|
|
2514
|
+
enableEmail: s.field("enableEmail", S.option(S.bool)),
|
|
2515
|
+
email: s.field("email", S.option(S.string)),
|
|
2516
|
+
smtpSecure: s.field("smtpSecure", S.option(S.bool)),
|
|
2517
|
+
smtpHost: s.field("smtpHost", S.option(S.string)),
|
|
2518
|
+
smtpPort: s.field("smtpPort", S.option(S.int)),
|
|
2519
|
+
smtpUser: s.field("smtpUser", S.option(S.string)),
|
|
2520
|
+
smtpPass: s.field("smtpPass", S.option(S.string)),
|
|
2521
|
+
enableServiceWorker: s.field("enableServiceWorker", S.option(S.bool)),
|
|
2522
|
+
swPublicKey: s.field("swPublicKey", S.option(S.string)),
|
|
2523
|
+
swPrivateKey: s.field("swPrivateKey", S.option(S.string)),
|
|
2524
|
+
tosUrl: s.field("tosUrl", S.option(S.string)),
|
|
2525
|
+
repositoryUrl: s.field("repositoryUrl", S.option(S.string)),
|
|
2526
|
+
feedbackUrl: s.field("feedbackUrl", S.option(S.string)),
|
|
2527
|
+
impressumUrl: s.field("impressumUrl", S.option(S.string)),
|
|
2528
|
+
privacyPolicyUrl: s.field("privacyPolicyUrl", S.option(S.string)),
|
|
2529
|
+
inquiryUrl: s.field("inquiryUrl", S.option(S.string)),
|
|
2530
|
+
useObjectStorage: s.field("useObjectStorage", S.option(S.bool)),
|
|
2531
|
+
objectStorageBaseUrl: s.field("objectStorageBaseUrl", S.option(S.string)),
|
|
2532
|
+
objectStorageBucket: s.field("objectStorageBucket", S.option(S.string)),
|
|
2533
|
+
objectStoragePrefix: s.field("objectStoragePrefix", S.option(S.string->S.pattern(/^[a-zA-Z0-9._-]*$/))),
|
|
2534
|
+
objectStorageEndpoint: s.field("objectStorageEndpoint", S.option(S.string)),
|
|
2535
|
+
objectStorageRegion: s.field("objectStorageRegion", S.option(S.string)),
|
|
2536
|
+
objectStoragePort: s.field("objectStoragePort", S.option(S.int)),
|
|
2537
|
+
objectStorageAccessKey: s.field("objectStorageAccessKey", S.option(S.string)),
|
|
2538
|
+
objectStorageSecretKey: s.field("objectStorageSecretKey", S.option(S.string)),
|
|
2539
|
+
objectStorageUseSsl: s.field("objectStorageUseSSL", S.option(S.bool)),
|
|
2540
|
+
objectStorageUseProxy: s.field("objectStorageUseProxy", S.option(S.bool)),
|
|
2541
|
+
objectStorageSetPublicRead: s.field("objectStorageSetPublicRead", S.option(S.bool)),
|
|
2542
|
+
objectStorageS3forcePathStyle: s.field("objectStorageS3ForcePathStyle", S.option(S.bool)),
|
|
2543
|
+
useRemoteObjectStorage: s.field("useRemoteObjectStorage", S.option(S.bool)),
|
|
2544
|
+
remoteObjectStorageBaseUrl: s.field("remoteObjectStorageBaseUrl", S.option(S.string)),
|
|
2545
|
+
remoteObjectStorageBucket: s.field("remoteObjectStorageBucket", S.option(S.string)),
|
|
2546
|
+
remoteObjectStoragePrefix: s.field("remoteObjectStoragePrefix", S.option(S.string->S.pattern(/^[a-zA-Z0-9._-]*$/))),
|
|
2547
|
+
remoteObjectStorageEndpoint: s.field("remoteObjectStorageEndpoint", S.option(S.string)),
|
|
2548
|
+
remoteObjectStorageRegion: s.field("remoteObjectStorageRegion", S.option(S.string)),
|
|
2549
|
+
remoteObjectStoragePort: s.field("remoteObjectStoragePort", S.option(S.int)),
|
|
2550
|
+
remoteObjectStorageAccessKey: s.field("remoteObjectStorageAccessKey", S.option(S.string)),
|
|
2551
|
+
remoteObjectStorageSecretKey: s.field("remoteObjectStorageSecretKey", S.option(S.string)),
|
|
2552
|
+
remoteObjectStorageUseSsl: s.field("remoteObjectStorageUseSSL", S.option(S.bool)),
|
|
2553
|
+
remoteObjectStorageUseProxy: s.field("remoteObjectStorageUseProxy", S.option(S.bool)),
|
|
2554
|
+
remoteObjectStorageSetPublicRead: s.field("remoteObjectStorageSetPublicRead", S.option(S.bool)),
|
|
2555
|
+
remoteObjectStorageS3forcePathStyle: s.field("remoteObjectStorageS3ForcePathStyle", S.option(S.bool)),
|
|
2556
|
+
enableIpLogging: s.field("enableIpLogging", S.option(S.bool)),
|
|
2557
|
+
enableActiveEmailValidation: s.field("enableActiveEmailValidation", S.option(S.bool)),
|
|
2558
|
+
enableVerifymailApi: s.field("enableVerifymailApi", S.option(S.bool)),
|
|
2559
|
+
verifymailAuthKey: s.field("verifymailAuthKey", S.option(S.string)),
|
|
2560
|
+
enableTruemailApi: s.field("enableTruemailApi", S.option(S.bool)),
|
|
2561
|
+
truemailInstance: s.field("truemailInstance", S.option(S.string)),
|
|
2562
|
+
truemailAuthKey: s.field("truemailAuthKey", S.option(S.string)),
|
|
2563
|
+
enableChartsForRemoteUser: s.field("enableChartsForRemoteUser", S.option(S.bool)),
|
|
2564
|
+
enableChartsForFederatedInstances: s.field("enableChartsForFederatedInstances", S.option(S.bool)),
|
|
2565
|
+
enableStatsForFederatedInstances: s.field("enableStatsForFederatedInstances", S.option(S.bool)),
|
|
2566
|
+
enableServerMachineStats: s.field("enableServerMachineStats", S.option(S.bool)),
|
|
2567
|
+
enableIdenticonGeneration: s.field("enableIdenticonGeneration", S.option(S.bool)),
|
|
2568
|
+
serverRules: s.field("serverRules", S.option(S.array(S.string))),
|
|
2569
|
+
bannedEmailDomains: s.field("bannedEmailDomains", S.option(S.array(S.string))),
|
|
2570
|
+
preservedUsernames: s.field("preservedUsernames", S.option(S.array(S.string))),
|
|
2571
|
+
manifestJsonOverride: s.field("manifestJsonOverride", S.option(S.string)),
|
|
2572
|
+
enableFanoutTimeline: s.field("enableFanoutTimeline", S.option(S.bool)),
|
|
2573
|
+
enableFanoutTimelineDbFallback: s.field("enableFanoutTimelineDbFallback", S.option(S.bool)),
|
|
2574
|
+
perLocalUserUserTimelineCacheMax: s.field("perLocalUserUserTimelineCacheMax", S.option(S.int)),
|
|
2575
|
+
perRemoteUserUserTimelineCacheMax: s.field("perRemoteUserUserTimelineCacheMax", S.option(S.int)),
|
|
2576
|
+
perUserHomeTimelineCacheMax: s.field("perUserHomeTimelineCacheMax", S.option(S.int)),
|
|
2577
|
+
perUserListTimelineCacheMax: s.field("perUserListTimelineCacheMax", S.option(S.int)),
|
|
2578
|
+
enableReactionsBuffering: s.field("enableReactionsBuffering", S.option(S.bool)),
|
|
2579
|
+
notesPerOneAd: s.field("notesPerOneAd", S.option(S.int)),
|
|
2580
|
+
silencedHosts: s.field("silencedHosts", S.option(S.json)),
|
|
2581
|
+
mediaSilencedHosts: s.field("mediaSilencedHosts", S.option(S.json)),
|
|
2582
|
+
summalyProxy: s.field("summalyProxy", S.option(S.string)),
|
|
2583
|
+
urlPreviewEnabled: s.field("urlPreviewEnabled", S.option(S.bool)),
|
|
2584
|
+
urlPreviewAllowRedirect: s.field("urlPreviewAllowRedirect", S.option(S.bool)),
|
|
2585
|
+
urlPreviewTimeout: s.field("urlPreviewTimeout", S.option(S.int)),
|
|
2586
|
+
urlPreviewMaximumContentLength: s.field("urlPreviewMaximumContentLength", S.option(S.int)),
|
|
2587
|
+
urlPreviewRequireContentLength: s.field("urlPreviewRequireContentLength", S.option(S.bool)),
|
|
2588
|
+
urlPreviewUserAgent: s.field("urlPreviewUserAgent", S.option(S.string)),
|
|
2589
|
+
urlPreviewSummaryProxyUrl: s.field("urlPreviewSummaryProxyUrl", S.option(S.string)),
|
|
2590
|
+
federation: s.field("federation", S.option(S.string)),
|
|
2591
|
+
federationHosts: s.field("federationHosts", S.option(S.array(S.string))),
|
|
2592
|
+
deliverSuspendedSoftware: s.field("deliverSuspendedSoftware", S.option(S.array(postAdminUpdateMetaRequest_1Schema))),
|
|
2593
|
+
singleUserMode: s.field("singleUserMode", S.option(S.bool)),
|
|
2594
|
+
ugcVisibilityForVisitor: s.field("ugcVisibilityForVisitor", S.option(S.string)),
|
|
2595
|
+
proxyRemoteFiles: s.field("proxyRemoteFiles", S.option(S.bool)),
|
|
2596
|
+
signToActivityPubGet: s.field("signToActivityPubGet", S.option(S.bool)),
|
|
2597
|
+
allowExternalApRedirect: s.field("allowExternalApRedirect", S.option(S.bool)),
|
|
2598
|
+
enableRemoteNotesCleaning: s.field("enableRemoteNotesCleaning", S.option(S.bool)),
|
|
2599
|
+
remoteNotesCleaningExpiryDaysForEachNotes: s.field("remoteNotesCleaningExpiryDaysForEachNotes", S.option(S.float)),
|
|
2600
|
+
remoteNotesCleaningMaxProcessingDurationInMinutes: s.field("remoteNotesCleaningMaxProcessingDurationInMinutes", S.option(S.float)),
|
|
2601
|
+
showRoleBadgesOfRemoteUsers: s.field("showRoleBadgesOfRemoteUsers", S.option(S.bool)),
|
|
2602
|
+
doNotSendNotificationEmailsForAbuseReport: s.field("doNotSendNotificationEmailsForAbuseReport", S.option(S.bool)),
|
|
2603
|
+
emailToReceiveAbuseReport: s.field("emailToReceiveAbuseReport", S.option(S.string)),
|
|
2604
|
+
enableReceivePrerelease: s.field("enableReceivePrerelease", S.option(S.bool)),
|
|
2605
|
+
skipVersion: s.field("skipVersion", S.option(S.bool)),
|
|
2606
|
+
skipCherryPickVersion: s.field("skipCherryPickVersion", S.option(S.string)),
|
|
2607
|
+
trustedLinkUrlPatterns: s.field("trustedLinkUrlPatterns", S.option(S.json)),
|
|
2608
|
+
customSplashText: s.field("customSplashText", S.option(S.json)),
|
|
2609
|
+
disableRegistrationWhenInactive: s.field("disableRegistrationWhenInactive", S.option(S.bool)),
|
|
2610
|
+
disablePublicNoteWhenInactive: s.field("disablePublicNoteWhenInactive", S.option(S.bool)),
|
|
2611
|
+
moderatorInactivityLimitDays: s.field("moderatorInactivityLimitDays", S.option(S.int)),
|
|
2612
|
+
bubbleInstances: s.field("bubbleInstances", S.option(S.array(S.string))),
|
|
2613
|
+
customRobotsTxt: s.field("customRobotsTxt", S.option(S.string)),
|
|
2614
2614
|
})
|
|
2615
2615
|
|
|
2616
2616
|
type postAdminUpdateMetaResponse = unit
|
|
@@ -2640,7 +2640,7 @@ type postAdminUpdateProxyAccountRequest = {
|
|
|
2640
2640
|
}
|
|
2641
2641
|
|
|
2642
2642
|
let postAdminUpdateProxyAccountRequestSchema = S.object(s => {
|
|
2643
|
-
description: s.
|
|
2643
|
+
description: s.field("description", S.option(S.string->S.min(1)->S.max(1500))),
|
|
2644
2644
|
})
|
|
2645
2645
|
|
|
2646
2646
|
type postAdminUpdateProxyAccountResponse = KokonectLinkComponentSchemas.UserDetailed.t
|
|
@@ -2697,32 +2697,32 @@ type postV2AdminEmojiListRequest = {
|
|
|
2697
2697
|
}
|
|
2698
2698
|
|
|
2699
2699
|
let postV2AdminEmojiListRequest_1Schema = S.object(s => {
|
|
2700
|
-
updatedAtFrom: s.
|
|
2701
|
-
updatedAtTo: s.
|
|
2702
|
-
name: s.
|
|
2703
|
-
host: s.
|
|
2704
|
-
uri: s.
|
|
2705
|
-
publicUrl: s.
|
|
2706
|
-
originalUrl: s.
|
|
2707
|
-
type_: s.
|
|
2708
|
-
aliases: s.
|
|
2709
|
-
category: s.
|
|
2710
|
-
license: s.
|
|
2711
|
-
isSensitive: s.
|
|
2712
|
-
localOnly: s.
|
|
2713
|
-
hostType: s.
|
|
2714
|
-
roleIds: s.
|
|
2700
|
+
updatedAtFrom: s.field("updatedAtFrom", S.option(S.string)),
|
|
2701
|
+
updatedAtTo: s.field("updatedAtTo", S.option(S.string)),
|
|
2702
|
+
name: s.field("name", S.option(S.string)),
|
|
2703
|
+
host: s.field("host", S.option(S.string)),
|
|
2704
|
+
uri: s.field("uri", S.option(S.string)),
|
|
2705
|
+
publicUrl: s.field("publicUrl", S.option(S.string)),
|
|
2706
|
+
originalUrl: s.field("originalUrl", S.option(S.string)),
|
|
2707
|
+
type_: s.field("type", S.option(S.string)),
|
|
2708
|
+
aliases: s.field("aliases", S.option(S.string)),
|
|
2709
|
+
category: s.field("category", S.option(S.string)),
|
|
2710
|
+
license: s.field("license", S.option(S.string)),
|
|
2711
|
+
isSensitive: s.field("isSensitive", S.option(S.bool)),
|
|
2712
|
+
localOnly: s.field("localOnly", S.option(S.bool)),
|
|
2713
|
+
hostType: s.field("hostType", S.option(S.string)),
|
|
2714
|
+
roleIds: s.field("roleIds", S.option(S.array(S.string))),
|
|
2715
2715
|
})
|
|
2716
2716
|
|
|
2717
2717
|
let postV2AdminEmojiListRequestSchema = S.object(s => {
|
|
2718
|
-
query: s.
|
|
2719
|
-
sinceId: s.
|
|
2720
|
-
untilId: s.
|
|
2721
|
-
sinceDate: s.
|
|
2722
|
-
untilDate: s.
|
|
2723
|
-
limit: s.
|
|
2724
|
-
page: s.
|
|
2725
|
-
sortKeys: s.
|
|
2718
|
+
query: s.field("query", S.option(postV2AdminEmojiListRequest_1Schema)),
|
|
2719
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
2720
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
2721
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
2722
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
2723
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
2724
|
+
page: s.field("page", S.option(S.int)),
|
|
2725
|
+
sortKeys: s.field("sortKeys", S.option(S.array(S.string))),
|
|
2726
2726
|
})
|
|
2727
2727
|
|
|
2728
2728
|
type postV2AdminEmojiListResponse = {
|