@natsuneko-laboratory/catalyst-sdk 1.0.0-alpha.13 → 1.0.0-alpha.14

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/dist/index.d.mts CHANGED
@@ -447,6 +447,8 @@ type StatusV11Response = {
447
447
  url: string;
448
448
  count: number;
449
449
  customReactionId?: string;
450
+ emoji?: string;
451
+ isRemoteOnly?: boolean;
450
452
  };
451
453
  };
452
454
  createdAt: string;
@@ -549,6 +551,8 @@ type LuckyV12Response = {
549
551
  url: string;
550
552
  count: number;
551
553
  customReactionId?: string;
554
+ emoji?: string;
555
+ isRemoteOnly?: boolean;
552
556
  };
553
557
  };
554
558
  createdAt: string;
@@ -788,6 +792,8 @@ type StatusV12Response = {
788
792
  url: string;
789
793
  count: number;
790
794
  customReactionId?: string;
795
+ emoji?: string;
796
+ isRemoteOnly?: boolean;
791
797
  };
792
798
  };
793
799
  createdAt: string;
@@ -800,6 +806,14 @@ type StatusV12Response = {
800
806
  redirectHost: string;
801
807
  } | null;
802
808
  };
809
+ type ActivitypubSettingsResponse = {
810
+ state: 'unavailable' | 'eligible' | 'active' | 'retired';
811
+ rolloutEligible: boolean;
812
+ actorUri: string | null;
813
+ enabledAt: string | null;
814
+ retiredAt: string | null;
815
+ eligibilityReason: 'screen-name-required' | 'suspended' | 'account-deleted';
816
+ };
803
817
  type AlbumBookResponse = {
804
818
  id: string;
805
819
  albumId: string | null;
@@ -1456,6 +1470,29 @@ type UserRelationshipsCountResponse = {
1456
1470
  followings: number | null;
1457
1471
  followers: number | null;
1458
1472
  };
1473
+ type RemoteFollowersListResponse = {
1474
+ items: Array<{
1475
+ type: 'activitypub-remote-actor';
1476
+ id: string;
1477
+ actorUri: string;
1478
+ profileUri: string;
1479
+ preferredUsername: string;
1480
+ displayName: string;
1481
+ handle: string;
1482
+ cachedIconUri: string | null;
1483
+ }>;
1484
+ count: {
1485
+ total: number;
1486
+ offset: number;
1487
+ };
1488
+ page: {
1489
+ min: number;
1490
+ max: number;
1491
+ current: number;
1492
+ next: number | null;
1493
+ prev: number | null;
1494
+ };
1495
+ };
1459
1496
  type FollowingOrFollowersListResponse = {
1460
1497
  items: Array<{
1461
1498
  id: string;
@@ -1597,6 +1634,8 @@ type StatusReactionResponse = {
1597
1634
  count: number;
1598
1635
  hasSelfReaction?: boolean;
1599
1636
  customReactionId?: string;
1637
+ emoji?: string;
1638
+ isRemoteOnly?: boolean;
1600
1639
  };
1601
1640
  type EditStatus = {
1602
1641
  description: string;
@@ -2171,6 +2210,15 @@ type NotificationResponse = {
2171
2210
  width: number;
2172
2211
  height: number;
2173
2212
  } | null;
2213
+ } | {
2214
+ type: 'activitypub-remote-actor';
2215
+ id: string;
2216
+ actorUri: string;
2217
+ profileUri: string;
2218
+ preferredUsername: string;
2219
+ displayName: string;
2220
+ handle: string;
2221
+ cachedIconUri: string | null;
2174
2222
  };
2175
2223
  isRead: boolean;
2176
2224
  createdAt: string;
@@ -2214,6 +2262,15 @@ type NotificationResponse = {
2214
2262
  width: number;
2215
2263
  height: number;
2216
2264
  } | null;
2265
+ } | {
2266
+ type: 'activitypub-remote-actor';
2267
+ id: string;
2268
+ actorUri: string;
2269
+ profileUri: string;
2270
+ preferredUsername: string;
2271
+ displayName: string;
2272
+ handle: string;
2273
+ cachedIconUri: string | null;
2217
2274
  };
2218
2275
  isRead: boolean;
2219
2276
  createdAt: string;
@@ -2409,6 +2466,76 @@ type GetCatalystV12TimelineHomeResponses = {
2409
2466
  */
2410
2467
  200: Array<StatusV12Response>;
2411
2468
  };
2469
+ type DeleteCatalystV1ActivitypubSettingsData = {
2470
+ body?: never;
2471
+ path?: never;
2472
+ query?: never;
2473
+ url: '/catalyst/v1/activitypub/settings';
2474
+ };
2475
+ type DeleteCatalystV1ActivitypubSettingsErrors = {
2476
+ /**
2477
+ * Unauthorized
2478
+ */
2479
+ 401: ErrorResponse;
2480
+ /**
2481
+ * Conflict
2482
+ */
2483
+ 409: ErrorResponse;
2484
+ };
2485
+ type DeleteCatalystV1ActivitypubSettingsResponses = {
2486
+ /**
2487
+ * OK
2488
+ */
2489
+ 200: ActivitypubSettingsResponse;
2490
+ };
2491
+ type GetCatalystV1ActivitypubSettingsData = {
2492
+ body?: never;
2493
+ path?: never;
2494
+ query?: never;
2495
+ url: '/catalyst/v1/activitypub/settings';
2496
+ };
2497
+ type GetCatalystV1ActivitypubSettingsErrors = {
2498
+ /**
2499
+ * Unauthorized
2500
+ */
2501
+ 401: ErrorResponse;
2502
+ };
2503
+ type GetCatalystV1ActivitypubSettingsResponses = {
2504
+ /**
2505
+ * OK
2506
+ */
2507
+ 200: ActivitypubSettingsResponse;
2508
+ };
2509
+ type PostCatalystV1ActivitypubSettingsData = {
2510
+ body?: never;
2511
+ path?: never;
2512
+ query?: never;
2513
+ url: '/catalyst/v1/activitypub/settings';
2514
+ };
2515
+ type PostCatalystV1ActivitypubSettingsErrors = {
2516
+ /**
2517
+ * Bad Request
2518
+ */
2519
+ 400: ErrorResponse;
2520
+ /**
2521
+ * Unauthorized
2522
+ */
2523
+ 401: ErrorResponse;
2524
+ /**
2525
+ * Forbidden
2526
+ */
2527
+ 403: ErrorResponse;
2528
+ /**
2529
+ * Conflict
2530
+ */
2531
+ 409: ErrorResponse;
2532
+ };
2533
+ type PostCatalystV1ActivitypubSettingsResponses = {
2534
+ /**
2535
+ * OK
2536
+ */
2537
+ 200: ActivitypubSettingsResponse;
2538
+ };
2412
2539
  type PostCatalystV1AlbumByIdByIdBookByBookIdRegenerateData = {
2413
2540
  body?: never;
2414
2541
  path: {
@@ -3819,6 +3946,32 @@ type GetCatalystV1RelationshipsByUsernameByUsernameCountsResponses = {
3819
3946
  */
3820
3947
  200: UserRelationshipsCountResponse;
3821
3948
  };
3949
+ type GetCatalystV1RelationshipsByUsernameByUsernameFollowersRemoteData = {
3950
+ body?: never;
3951
+ path: {
3952
+ username: string;
3953
+ };
3954
+ query?: {
3955
+ page?: number;
3956
+ };
3957
+ url: '/catalyst/v1/relationships/by/username/{username}/followers/remote';
3958
+ };
3959
+ type GetCatalystV1RelationshipsByUsernameByUsernameFollowersRemoteErrors = {
3960
+ /**
3961
+ * Forbidden
3962
+ */
3963
+ 403: ErrorResponse;
3964
+ /**
3965
+ * Not Found
3966
+ */
3967
+ 404: ErrorResponse;
3968
+ };
3969
+ type GetCatalystV1RelationshipsByUsernameByUsernameFollowersRemoteResponses = {
3970
+ /**
3971
+ * OK
3972
+ */
3973
+ 200: RemoteFollowersListResponse;
3974
+ };
3822
3975
  type GetCatalystV1RelationshipsByUsernameByUsernameFollowersData = {
3823
3976
  body?: never;
3824
3977
  path: {
@@ -5968,6 +6121,30 @@ declare class V12 extends HeyApiClient {
5968
6121
  private _timeline?;
5969
6122
  get timeline(): Timeline2;
5970
6123
  }
6124
+ declare class Settings extends HeyApiClient {
6125
+ /**
6126
+ * DELETE /catalyst/v1/activitypub/settings
6127
+ *
6128
+ * ActivityPub 連合を不可逆に終了します
6129
+ */
6130
+ delete<ThrowOnError extends boolean = false>(options?: Options<DeleteCatalystV1ActivitypubSettingsData, ThrowOnError>): RequestResult<DeleteCatalystV1ActivitypubSettingsResponses, DeleteCatalystV1ActivitypubSettingsErrors, ThrowOnError>;
6131
+ /**
6132
+ * GET /catalyst/v1/activitypub/settings
6133
+ *
6134
+ * ActivityPub の公開状態と段階公開の対象状態を取得します
6135
+ */
6136
+ get<ThrowOnError extends boolean = false>(options?: Options<GetCatalystV1ActivitypubSettingsData, ThrowOnError>): RequestResult<GetCatalystV1ActivitypubSettingsResponses, GetCatalystV1ActivitypubSettingsErrors, ThrowOnError>;
6137
+ /**
6138
+ * POST /catalyst/v1/activitypub/settings
6139
+ *
6140
+ * ActivityPub を不可逆な opt-in として有効化します
6141
+ */
6142
+ create<ThrowOnError extends boolean = false>(options?: Options<PostCatalystV1ActivitypubSettingsData, ThrowOnError>): RequestResult<PostCatalystV1ActivitypubSettingsResponses, PostCatalystV1ActivitypubSettingsErrors, ThrowOnError>;
6143
+ }
6144
+ declare class Activitypub extends HeyApiClient {
6145
+ private _settings?;
6146
+ get settings(): Settings;
6147
+ }
5971
6148
  declare class Regenerate extends HeyApiClient {
5972
6149
  /**
5973
6150
  * POST /catalyst/v1/album/by/id/{id}/book/{bookId}/regenerate
@@ -6114,7 +6291,7 @@ declare class Blocks extends HeyApiClient {
6114
6291
  */
6115
6292
  create<ThrowOnError extends boolean = false>(options?: Options<PostCatalystV1BlocksData, ThrowOnError>): RequestResult<PostCatalystV1BlocksResponses, PostCatalystV1BlocksErrors, ThrowOnError>;
6116
6293
  }
6117
- declare class Settings extends HeyApiClient {
6294
+ declare class Settings2 extends HeyApiClient {
6118
6295
  /**
6119
6296
  * GET /catalyst/v1/content/settings
6120
6297
  *
@@ -6130,7 +6307,7 @@ declare class Settings extends HeyApiClient {
6130
6307
  }
6131
6308
  declare class Content extends HeyApiClient {
6132
6309
  private _settings?;
6133
- get settings(): Settings;
6310
+ get settings(): Settings2;
6134
6311
  }
6135
6312
  declare class Me2 extends HeyApiClient {
6136
6313
  /**
@@ -6370,7 +6547,7 @@ declare class Fleet extends HeyApiClient {
6370
6547
  private _ring?;
6371
6548
  get ring(): Ring;
6372
6549
  }
6373
- declare class Settings2 extends HeyApiClient {
6550
+ declare class Settings3 extends HeyApiClient {
6374
6551
  /**
6375
6552
  * GET /catalyst/v1/privacy/settings
6376
6553
  *
@@ -6386,7 +6563,7 @@ declare class Settings2 extends HeyApiClient {
6386
6563
  }
6387
6564
  declare class Privacy extends HeyApiClient {
6388
6565
  private _settings?;
6389
- get settings(): Settings2;
6566
+ get settings(): Settings3;
6390
6567
  }
6391
6568
  declare class Users extends HeyApiClient {
6392
6569
  /**
@@ -6474,6 +6651,14 @@ declare class Counts extends HeyApiClient {
6474
6651
  */
6475
6652
  get<ThrowOnError extends boolean = false>(options: Options<GetCatalystV1RelationshipsByUsernameByUsernameCountsData, ThrowOnError>): RequestResult<GetCatalystV1RelationshipsByUsernameByUsernameCountsResponses, GetCatalystV1RelationshipsByUsernameByUsernameCountsErrors, ThrowOnError>;
6476
6653
  }
6654
+ declare class Remote extends HeyApiClient {
6655
+ /**
6656
+ * GET /catalyst/v1/relationships/by/username/{username}/followers/remote
6657
+ *
6658
+ * 指定したユーザーのリモートフォロワー一覧を取得します
6659
+ */
6660
+ get<ThrowOnError extends boolean = false>(options: Options<GetCatalystV1RelationshipsByUsernameByUsernameFollowersRemoteData, ThrowOnError>): RequestResult<GetCatalystV1RelationshipsByUsernameByUsernameFollowersRemoteResponses, GetCatalystV1RelationshipsByUsernameByUsernameFollowersRemoteErrors, ThrowOnError>;
6661
+ }
6477
6662
  declare class Followers extends HeyApiClient {
6478
6663
  /**
6479
6664
  * GET /catalyst/v1/relationships/by/username/{username}/followers
@@ -6481,6 +6666,8 @@ declare class Followers extends HeyApiClient {
6481
6666
  * 指定したユーザーのフォロワー一覧を取得します
6482
6667
  */
6483
6668
  get<ThrowOnError extends boolean = false>(options: Options<GetCatalystV1RelationshipsByUsernameByUsernameFollowersData, ThrowOnError>): RequestResult<GetCatalystV1RelationshipsByUsernameByUsernameFollowersResponses, GetCatalystV1RelationshipsByUsernameByUsernameFollowersErrors, ThrowOnError>;
6669
+ private _remote?;
6670
+ get remote(): Remote;
6484
6671
  }
6485
6672
  declare class Followings extends HeyApiClient {
6486
6673
  /**
@@ -6985,6 +7172,8 @@ declare class WeeklyThemes extends HeyApiClient {
6985
7172
  get subscription(): Subscription;
6986
7173
  }
6987
7174
  declare class V1 extends HeyApiClient {
7175
+ private _activitypub?;
7176
+ get activitypub(): Activitypub;
6988
7177
  private _album?;
6989
7178
  get album(): Album;
6990
7179
  private _announcements?;
package/dist/index.d.ts CHANGED
@@ -447,6 +447,8 @@ type StatusV11Response = {
447
447
  url: string;
448
448
  count: number;
449
449
  customReactionId?: string;
450
+ emoji?: string;
451
+ isRemoteOnly?: boolean;
450
452
  };
451
453
  };
452
454
  createdAt: string;
@@ -549,6 +551,8 @@ type LuckyV12Response = {
549
551
  url: string;
550
552
  count: number;
551
553
  customReactionId?: string;
554
+ emoji?: string;
555
+ isRemoteOnly?: boolean;
552
556
  };
553
557
  };
554
558
  createdAt: string;
@@ -788,6 +792,8 @@ type StatusV12Response = {
788
792
  url: string;
789
793
  count: number;
790
794
  customReactionId?: string;
795
+ emoji?: string;
796
+ isRemoteOnly?: boolean;
791
797
  };
792
798
  };
793
799
  createdAt: string;
@@ -800,6 +806,14 @@ type StatusV12Response = {
800
806
  redirectHost: string;
801
807
  } | null;
802
808
  };
809
+ type ActivitypubSettingsResponse = {
810
+ state: 'unavailable' | 'eligible' | 'active' | 'retired';
811
+ rolloutEligible: boolean;
812
+ actorUri: string | null;
813
+ enabledAt: string | null;
814
+ retiredAt: string | null;
815
+ eligibilityReason: 'screen-name-required' | 'suspended' | 'account-deleted';
816
+ };
803
817
  type AlbumBookResponse = {
804
818
  id: string;
805
819
  albumId: string | null;
@@ -1456,6 +1470,29 @@ type UserRelationshipsCountResponse = {
1456
1470
  followings: number | null;
1457
1471
  followers: number | null;
1458
1472
  };
1473
+ type RemoteFollowersListResponse = {
1474
+ items: Array<{
1475
+ type: 'activitypub-remote-actor';
1476
+ id: string;
1477
+ actorUri: string;
1478
+ profileUri: string;
1479
+ preferredUsername: string;
1480
+ displayName: string;
1481
+ handle: string;
1482
+ cachedIconUri: string | null;
1483
+ }>;
1484
+ count: {
1485
+ total: number;
1486
+ offset: number;
1487
+ };
1488
+ page: {
1489
+ min: number;
1490
+ max: number;
1491
+ current: number;
1492
+ next: number | null;
1493
+ prev: number | null;
1494
+ };
1495
+ };
1459
1496
  type FollowingOrFollowersListResponse = {
1460
1497
  items: Array<{
1461
1498
  id: string;
@@ -1597,6 +1634,8 @@ type StatusReactionResponse = {
1597
1634
  count: number;
1598
1635
  hasSelfReaction?: boolean;
1599
1636
  customReactionId?: string;
1637
+ emoji?: string;
1638
+ isRemoteOnly?: boolean;
1600
1639
  };
1601
1640
  type EditStatus = {
1602
1641
  description: string;
@@ -2171,6 +2210,15 @@ type NotificationResponse = {
2171
2210
  width: number;
2172
2211
  height: number;
2173
2212
  } | null;
2213
+ } | {
2214
+ type: 'activitypub-remote-actor';
2215
+ id: string;
2216
+ actorUri: string;
2217
+ profileUri: string;
2218
+ preferredUsername: string;
2219
+ displayName: string;
2220
+ handle: string;
2221
+ cachedIconUri: string | null;
2174
2222
  };
2175
2223
  isRead: boolean;
2176
2224
  createdAt: string;
@@ -2214,6 +2262,15 @@ type NotificationResponse = {
2214
2262
  width: number;
2215
2263
  height: number;
2216
2264
  } | null;
2265
+ } | {
2266
+ type: 'activitypub-remote-actor';
2267
+ id: string;
2268
+ actorUri: string;
2269
+ profileUri: string;
2270
+ preferredUsername: string;
2271
+ displayName: string;
2272
+ handle: string;
2273
+ cachedIconUri: string | null;
2217
2274
  };
2218
2275
  isRead: boolean;
2219
2276
  createdAt: string;
@@ -2409,6 +2466,76 @@ type GetCatalystV12TimelineHomeResponses = {
2409
2466
  */
2410
2467
  200: Array<StatusV12Response>;
2411
2468
  };
2469
+ type DeleteCatalystV1ActivitypubSettingsData = {
2470
+ body?: never;
2471
+ path?: never;
2472
+ query?: never;
2473
+ url: '/catalyst/v1/activitypub/settings';
2474
+ };
2475
+ type DeleteCatalystV1ActivitypubSettingsErrors = {
2476
+ /**
2477
+ * Unauthorized
2478
+ */
2479
+ 401: ErrorResponse;
2480
+ /**
2481
+ * Conflict
2482
+ */
2483
+ 409: ErrorResponse;
2484
+ };
2485
+ type DeleteCatalystV1ActivitypubSettingsResponses = {
2486
+ /**
2487
+ * OK
2488
+ */
2489
+ 200: ActivitypubSettingsResponse;
2490
+ };
2491
+ type GetCatalystV1ActivitypubSettingsData = {
2492
+ body?: never;
2493
+ path?: never;
2494
+ query?: never;
2495
+ url: '/catalyst/v1/activitypub/settings';
2496
+ };
2497
+ type GetCatalystV1ActivitypubSettingsErrors = {
2498
+ /**
2499
+ * Unauthorized
2500
+ */
2501
+ 401: ErrorResponse;
2502
+ };
2503
+ type GetCatalystV1ActivitypubSettingsResponses = {
2504
+ /**
2505
+ * OK
2506
+ */
2507
+ 200: ActivitypubSettingsResponse;
2508
+ };
2509
+ type PostCatalystV1ActivitypubSettingsData = {
2510
+ body?: never;
2511
+ path?: never;
2512
+ query?: never;
2513
+ url: '/catalyst/v1/activitypub/settings';
2514
+ };
2515
+ type PostCatalystV1ActivitypubSettingsErrors = {
2516
+ /**
2517
+ * Bad Request
2518
+ */
2519
+ 400: ErrorResponse;
2520
+ /**
2521
+ * Unauthorized
2522
+ */
2523
+ 401: ErrorResponse;
2524
+ /**
2525
+ * Forbidden
2526
+ */
2527
+ 403: ErrorResponse;
2528
+ /**
2529
+ * Conflict
2530
+ */
2531
+ 409: ErrorResponse;
2532
+ };
2533
+ type PostCatalystV1ActivitypubSettingsResponses = {
2534
+ /**
2535
+ * OK
2536
+ */
2537
+ 200: ActivitypubSettingsResponse;
2538
+ };
2412
2539
  type PostCatalystV1AlbumByIdByIdBookByBookIdRegenerateData = {
2413
2540
  body?: never;
2414
2541
  path: {
@@ -3819,6 +3946,32 @@ type GetCatalystV1RelationshipsByUsernameByUsernameCountsResponses = {
3819
3946
  */
3820
3947
  200: UserRelationshipsCountResponse;
3821
3948
  };
3949
+ type GetCatalystV1RelationshipsByUsernameByUsernameFollowersRemoteData = {
3950
+ body?: never;
3951
+ path: {
3952
+ username: string;
3953
+ };
3954
+ query?: {
3955
+ page?: number;
3956
+ };
3957
+ url: '/catalyst/v1/relationships/by/username/{username}/followers/remote';
3958
+ };
3959
+ type GetCatalystV1RelationshipsByUsernameByUsernameFollowersRemoteErrors = {
3960
+ /**
3961
+ * Forbidden
3962
+ */
3963
+ 403: ErrorResponse;
3964
+ /**
3965
+ * Not Found
3966
+ */
3967
+ 404: ErrorResponse;
3968
+ };
3969
+ type GetCatalystV1RelationshipsByUsernameByUsernameFollowersRemoteResponses = {
3970
+ /**
3971
+ * OK
3972
+ */
3973
+ 200: RemoteFollowersListResponse;
3974
+ };
3822
3975
  type GetCatalystV1RelationshipsByUsernameByUsernameFollowersData = {
3823
3976
  body?: never;
3824
3977
  path: {
@@ -5968,6 +6121,30 @@ declare class V12 extends HeyApiClient {
5968
6121
  private _timeline?;
5969
6122
  get timeline(): Timeline2;
5970
6123
  }
6124
+ declare class Settings extends HeyApiClient {
6125
+ /**
6126
+ * DELETE /catalyst/v1/activitypub/settings
6127
+ *
6128
+ * ActivityPub 連合を不可逆に終了します
6129
+ */
6130
+ delete<ThrowOnError extends boolean = false>(options?: Options<DeleteCatalystV1ActivitypubSettingsData, ThrowOnError>): RequestResult<DeleteCatalystV1ActivitypubSettingsResponses, DeleteCatalystV1ActivitypubSettingsErrors, ThrowOnError>;
6131
+ /**
6132
+ * GET /catalyst/v1/activitypub/settings
6133
+ *
6134
+ * ActivityPub の公開状態と段階公開の対象状態を取得します
6135
+ */
6136
+ get<ThrowOnError extends boolean = false>(options?: Options<GetCatalystV1ActivitypubSettingsData, ThrowOnError>): RequestResult<GetCatalystV1ActivitypubSettingsResponses, GetCatalystV1ActivitypubSettingsErrors, ThrowOnError>;
6137
+ /**
6138
+ * POST /catalyst/v1/activitypub/settings
6139
+ *
6140
+ * ActivityPub を不可逆な opt-in として有効化します
6141
+ */
6142
+ create<ThrowOnError extends boolean = false>(options?: Options<PostCatalystV1ActivitypubSettingsData, ThrowOnError>): RequestResult<PostCatalystV1ActivitypubSettingsResponses, PostCatalystV1ActivitypubSettingsErrors, ThrowOnError>;
6143
+ }
6144
+ declare class Activitypub extends HeyApiClient {
6145
+ private _settings?;
6146
+ get settings(): Settings;
6147
+ }
5971
6148
  declare class Regenerate extends HeyApiClient {
5972
6149
  /**
5973
6150
  * POST /catalyst/v1/album/by/id/{id}/book/{bookId}/regenerate
@@ -6114,7 +6291,7 @@ declare class Blocks extends HeyApiClient {
6114
6291
  */
6115
6292
  create<ThrowOnError extends boolean = false>(options?: Options<PostCatalystV1BlocksData, ThrowOnError>): RequestResult<PostCatalystV1BlocksResponses, PostCatalystV1BlocksErrors, ThrowOnError>;
6116
6293
  }
6117
- declare class Settings extends HeyApiClient {
6294
+ declare class Settings2 extends HeyApiClient {
6118
6295
  /**
6119
6296
  * GET /catalyst/v1/content/settings
6120
6297
  *
@@ -6130,7 +6307,7 @@ declare class Settings extends HeyApiClient {
6130
6307
  }
6131
6308
  declare class Content extends HeyApiClient {
6132
6309
  private _settings?;
6133
- get settings(): Settings;
6310
+ get settings(): Settings2;
6134
6311
  }
6135
6312
  declare class Me2 extends HeyApiClient {
6136
6313
  /**
@@ -6370,7 +6547,7 @@ declare class Fleet extends HeyApiClient {
6370
6547
  private _ring?;
6371
6548
  get ring(): Ring;
6372
6549
  }
6373
- declare class Settings2 extends HeyApiClient {
6550
+ declare class Settings3 extends HeyApiClient {
6374
6551
  /**
6375
6552
  * GET /catalyst/v1/privacy/settings
6376
6553
  *
@@ -6386,7 +6563,7 @@ declare class Settings2 extends HeyApiClient {
6386
6563
  }
6387
6564
  declare class Privacy extends HeyApiClient {
6388
6565
  private _settings?;
6389
- get settings(): Settings2;
6566
+ get settings(): Settings3;
6390
6567
  }
6391
6568
  declare class Users extends HeyApiClient {
6392
6569
  /**
@@ -6474,6 +6651,14 @@ declare class Counts extends HeyApiClient {
6474
6651
  */
6475
6652
  get<ThrowOnError extends boolean = false>(options: Options<GetCatalystV1RelationshipsByUsernameByUsernameCountsData, ThrowOnError>): RequestResult<GetCatalystV1RelationshipsByUsernameByUsernameCountsResponses, GetCatalystV1RelationshipsByUsernameByUsernameCountsErrors, ThrowOnError>;
6476
6653
  }
6654
+ declare class Remote extends HeyApiClient {
6655
+ /**
6656
+ * GET /catalyst/v1/relationships/by/username/{username}/followers/remote
6657
+ *
6658
+ * 指定したユーザーのリモートフォロワー一覧を取得します
6659
+ */
6660
+ get<ThrowOnError extends boolean = false>(options: Options<GetCatalystV1RelationshipsByUsernameByUsernameFollowersRemoteData, ThrowOnError>): RequestResult<GetCatalystV1RelationshipsByUsernameByUsernameFollowersRemoteResponses, GetCatalystV1RelationshipsByUsernameByUsernameFollowersRemoteErrors, ThrowOnError>;
6661
+ }
6477
6662
  declare class Followers extends HeyApiClient {
6478
6663
  /**
6479
6664
  * GET /catalyst/v1/relationships/by/username/{username}/followers
@@ -6481,6 +6666,8 @@ declare class Followers extends HeyApiClient {
6481
6666
  * 指定したユーザーのフォロワー一覧を取得します
6482
6667
  */
6483
6668
  get<ThrowOnError extends boolean = false>(options: Options<GetCatalystV1RelationshipsByUsernameByUsernameFollowersData, ThrowOnError>): RequestResult<GetCatalystV1RelationshipsByUsernameByUsernameFollowersResponses, GetCatalystV1RelationshipsByUsernameByUsernameFollowersErrors, ThrowOnError>;
6669
+ private _remote?;
6670
+ get remote(): Remote;
6484
6671
  }
6485
6672
  declare class Followings extends HeyApiClient {
6486
6673
  /**
@@ -6985,6 +7172,8 @@ declare class WeeklyThemes extends HeyApiClient {
6985
7172
  get subscription(): Subscription;
6986
7173
  }
6987
7174
  declare class V1 extends HeyApiClient {
7175
+ private _activitypub?;
7176
+ get activitypub(): Activitypub;
6988
7177
  private _album?;
6989
7178
  get album(): Album;
6990
7179
  private _announcements?;
package/dist/index.js CHANGED
@@ -1168,6 +1168,50 @@ var V12 = class extends HeyApiClient {
1168
1168
  return this._timeline ??= new Timeline2({ client: this.client });
1169
1169
  }
1170
1170
  };
1171
+ var Settings = class extends HeyApiClient {
1172
+ /**
1173
+ * DELETE /catalyst/v1/activitypub/settings
1174
+ *
1175
+ * ActivityPub 連合を不可逆に終了します
1176
+ */
1177
+ delete(options) {
1178
+ return (options?.client ?? this.client).delete({
1179
+ security: [{ scheme: "bearer", type: "http" }],
1180
+ url: "/catalyst/v1/activitypub/settings",
1181
+ ...options
1182
+ });
1183
+ }
1184
+ /**
1185
+ * GET /catalyst/v1/activitypub/settings
1186
+ *
1187
+ * ActivityPub の公開状態と段階公開の対象状態を取得します
1188
+ */
1189
+ get(options) {
1190
+ return (options?.client ?? this.client).get({
1191
+ security: [{ scheme: "bearer", type: "http" }],
1192
+ url: "/catalyst/v1/activitypub/settings",
1193
+ ...options
1194
+ });
1195
+ }
1196
+ /**
1197
+ * POST /catalyst/v1/activitypub/settings
1198
+ *
1199
+ * ActivityPub を不可逆な opt-in として有効化します
1200
+ */
1201
+ create(options) {
1202
+ return (options?.client ?? this.client).post({
1203
+ security: [{ scheme: "bearer", type: "http" }],
1204
+ url: "/catalyst/v1/activitypub/settings",
1205
+ ...options
1206
+ });
1207
+ }
1208
+ };
1209
+ var Activitypub = class extends HeyApiClient {
1210
+ _settings;
1211
+ get settings() {
1212
+ return this._settings ??= new Settings({ client: this.client });
1213
+ }
1214
+ };
1171
1215
  var Regenerate = class extends HeyApiClient {
1172
1216
  /**
1173
1217
  * POST /catalyst/v1/album/by/id/{id}/book/{bookId}/regenerate
@@ -1451,7 +1495,7 @@ var Blocks = class extends HeyApiClient {
1451
1495
  });
1452
1496
  }
1453
1497
  };
1454
- var Settings = class extends HeyApiClient {
1498
+ var Settings2 = class extends HeyApiClient {
1455
1499
  /**
1456
1500
  * GET /catalyst/v1/content/settings
1457
1501
  *
@@ -1484,7 +1528,7 @@ var Settings = class extends HeyApiClient {
1484
1528
  var Content = class extends HeyApiClient {
1485
1529
  _settings;
1486
1530
  get settings() {
1487
- return this._settings ??= new Settings({ client: this.client });
1531
+ return this._settings ??= new Settings2({ client: this.client });
1488
1532
  }
1489
1533
  };
1490
1534
  var Me2 = class extends HeyApiClient {
@@ -1922,7 +1966,7 @@ var Fleet = class extends HeyApiClient {
1922
1966
  return this._ring ??= new Ring({ client: this.client });
1923
1967
  }
1924
1968
  };
1925
- var Settings2 = class extends HeyApiClient {
1969
+ var Settings3 = class extends HeyApiClient {
1926
1970
  /**
1927
1971
  * GET /catalyst/v1/privacy/settings
1928
1972
  *
@@ -1955,7 +1999,7 @@ var Settings2 = class extends HeyApiClient {
1955
1999
  var Privacy = class extends HeyApiClient {
1956
2000
  _settings;
1957
2001
  get settings() {
1958
- return this._settings ??= new Settings2({ client: this.client });
2002
+ return this._settings ??= new Settings3({ client: this.client });
1959
2003
  }
1960
2004
  };
1961
2005
  var Users = class extends HeyApiClient {
@@ -2110,6 +2154,20 @@ var Counts = class extends HeyApiClient {
2110
2154
  });
2111
2155
  }
2112
2156
  };
2157
+ var Remote = class extends HeyApiClient {
2158
+ /**
2159
+ * GET /catalyst/v1/relationships/by/username/{username}/followers/remote
2160
+ *
2161
+ * 指定したユーザーのリモートフォロワー一覧を取得します
2162
+ */
2163
+ get(options) {
2164
+ return (options.client ?? this.client).get({
2165
+ security: [{ scheme: "bearer", type: "http" }],
2166
+ url: "/catalyst/v1/relationships/by/username/{username}/followers/remote",
2167
+ ...options
2168
+ });
2169
+ }
2170
+ };
2113
2171
  var Followers = class extends HeyApiClient {
2114
2172
  /**
2115
2173
  * GET /catalyst/v1/relationships/by/username/{username}/followers
@@ -2123,6 +2181,10 @@ var Followers = class extends HeyApiClient {
2123
2181
  ...options
2124
2182
  });
2125
2183
  }
2184
+ _remote;
2185
+ get remote() {
2186
+ return this._remote ??= new Remote({ client: this.client });
2187
+ }
2126
2188
  };
2127
2189
  var Followings = class extends HeyApiClient {
2128
2190
  /**
@@ -3061,6 +3123,10 @@ var WeeklyThemes = class extends HeyApiClient {
3061
3123
  }
3062
3124
  };
3063
3125
  var V1 = class extends HeyApiClient {
3126
+ _activitypub;
3127
+ get activitypub() {
3128
+ return this._activitypub ??= new Activitypub({ client: this.client });
3129
+ }
3064
3130
  _album;
3065
3131
  get album() {
3066
3132
  return this._album ??= new Album({ client: this.client });
package/dist/index.mjs CHANGED
@@ -1136,6 +1136,50 @@ var V12 = class extends HeyApiClient {
1136
1136
  return this._timeline ??= new Timeline2({ client: this.client });
1137
1137
  }
1138
1138
  };
1139
+ var Settings = class extends HeyApiClient {
1140
+ /**
1141
+ * DELETE /catalyst/v1/activitypub/settings
1142
+ *
1143
+ * ActivityPub 連合を不可逆に終了します
1144
+ */
1145
+ delete(options) {
1146
+ return (options?.client ?? this.client).delete({
1147
+ security: [{ scheme: "bearer", type: "http" }],
1148
+ url: "/catalyst/v1/activitypub/settings",
1149
+ ...options
1150
+ });
1151
+ }
1152
+ /**
1153
+ * GET /catalyst/v1/activitypub/settings
1154
+ *
1155
+ * ActivityPub の公開状態と段階公開の対象状態を取得します
1156
+ */
1157
+ get(options) {
1158
+ return (options?.client ?? this.client).get({
1159
+ security: [{ scheme: "bearer", type: "http" }],
1160
+ url: "/catalyst/v1/activitypub/settings",
1161
+ ...options
1162
+ });
1163
+ }
1164
+ /**
1165
+ * POST /catalyst/v1/activitypub/settings
1166
+ *
1167
+ * ActivityPub を不可逆な opt-in として有効化します
1168
+ */
1169
+ create(options) {
1170
+ return (options?.client ?? this.client).post({
1171
+ security: [{ scheme: "bearer", type: "http" }],
1172
+ url: "/catalyst/v1/activitypub/settings",
1173
+ ...options
1174
+ });
1175
+ }
1176
+ };
1177
+ var Activitypub = class extends HeyApiClient {
1178
+ _settings;
1179
+ get settings() {
1180
+ return this._settings ??= new Settings({ client: this.client });
1181
+ }
1182
+ };
1139
1183
  var Regenerate = class extends HeyApiClient {
1140
1184
  /**
1141
1185
  * POST /catalyst/v1/album/by/id/{id}/book/{bookId}/regenerate
@@ -1419,7 +1463,7 @@ var Blocks = class extends HeyApiClient {
1419
1463
  });
1420
1464
  }
1421
1465
  };
1422
- var Settings = class extends HeyApiClient {
1466
+ var Settings2 = class extends HeyApiClient {
1423
1467
  /**
1424
1468
  * GET /catalyst/v1/content/settings
1425
1469
  *
@@ -1452,7 +1496,7 @@ var Settings = class extends HeyApiClient {
1452
1496
  var Content = class extends HeyApiClient {
1453
1497
  _settings;
1454
1498
  get settings() {
1455
- return this._settings ??= new Settings({ client: this.client });
1499
+ return this._settings ??= new Settings2({ client: this.client });
1456
1500
  }
1457
1501
  };
1458
1502
  var Me2 = class extends HeyApiClient {
@@ -1890,7 +1934,7 @@ var Fleet = class extends HeyApiClient {
1890
1934
  return this._ring ??= new Ring({ client: this.client });
1891
1935
  }
1892
1936
  };
1893
- var Settings2 = class extends HeyApiClient {
1937
+ var Settings3 = class extends HeyApiClient {
1894
1938
  /**
1895
1939
  * GET /catalyst/v1/privacy/settings
1896
1940
  *
@@ -1923,7 +1967,7 @@ var Settings2 = class extends HeyApiClient {
1923
1967
  var Privacy = class extends HeyApiClient {
1924
1968
  _settings;
1925
1969
  get settings() {
1926
- return this._settings ??= new Settings2({ client: this.client });
1970
+ return this._settings ??= new Settings3({ client: this.client });
1927
1971
  }
1928
1972
  };
1929
1973
  var Users = class extends HeyApiClient {
@@ -2078,6 +2122,20 @@ var Counts = class extends HeyApiClient {
2078
2122
  });
2079
2123
  }
2080
2124
  };
2125
+ var Remote = class extends HeyApiClient {
2126
+ /**
2127
+ * GET /catalyst/v1/relationships/by/username/{username}/followers/remote
2128
+ *
2129
+ * 指定したユーザーのリモートフォロワー一覧を取得します
2130
+ */
2131
+ get(options) {
2132
+ return (options.client ?? this.client).get({
2133
+ security: [{ scheme: "bearer", type: "http" }],
2134
+ url: "/catalyst/v1/relationships/by/username/{username}/followers/remote",
2135
+ ...options
2136
+ });
2137
+ }
2138
+ };
2081
2139
  var Followers = class extends HeyApiClient {
2082
2140
  /**
2083
2141
  * GET /catalyst/v1/relationships/by/username/{username}/followers
@@ -2091,6 +2149,10 @@ var Followers = class extends HeyApiClient {
2091
2149
  ...options
2092
2150
  });
2093
2151
  }
2152
+ _remote;
2153
+ get remote() {
2154
+ return this._remote ??= new Remote({ client: this.client });
2155
+ }
2094
2156
  };
2095
2157
  var Followings = class extends HeyApiClient {
2096
2158
  /**
@@ -3029,6 +3091,10 @@ var WeeklyThemes = class extends HeyApiClient {
3029
3091
  }
3030
3092
  };
3031
3093
  var V1 = class extends HeyApiClient {
3094
+ _activitypub;
3095
+ get activitypub() {
3096
+ return this._activitypub ??= new Activitypub({ client: this.client });
3097
+ }
3032
3098
  _album;
3033
3099
  get album() {
3034
3100
  return this._album ??= new Album({ client: this.client });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natsuneko-laboratory/catalyst-sdk",
3
- "version": "1.0.0-alpha.13",
3
+ "version": "1.0.0-alpha.14",
4
4
  "description": "TypeScript/JavaScript SDK for the Natsuneko Laboratory platform",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",