@natsuneko-laboratory/catalyst-sdk 0.3.2 → 0.4.0

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
@@ -409,6 +409,20 @@ interface CatalystUserVoteRights {
409
409
  statuses: string[];
410
410
  }
411
411
 
412
+ interface ReportRequest {
413
+ type: "nsfw" | "tos_violation" | "harassment" | "spam" | "other";
414
+ description?: string;
415
+ }
416
+
417
+ interface CatalystPrivacySettingsRequest {
418
+ followingListVisibility: "public" | "private";
419
+ followerListVisibility: "public" | "private";
420
+ }
421
+ interface CatalystPrivacySettings {
422
+ followingListVisibility: "public" | "private";
423
+ followerListVisibility: "public" | "private";
424
+ }
425
+
412
426
  declare class CatalystClient {
413
427
  private readonly http;
414
428
  constructor(http: HttpClient);
@@ -427,6 +441,42 @@ declare class CatalystClient {
427
441
  relationships(id: string): Promise<CatalystRelationships>;
428
442
  follow(data: CatalystRelationshipRequest): Promise<void>;
429
443
  remove(data: CatalystRelationshipRequest): Promise<void>;
444
+ followings(id: string, opts?: {
445
+ page?: number;
446
+ }): Promise<{
447
+ items: EgeriaUser[];
448
+ count: {
449
+ total: number;
450
+ offset: number;
451
+ };
452
+ page: {
453
+ min: number;
454
+ max: number;
455
+ current: number;
456
+ next: number | null;
457
+ prev: number | null;
458
+ };
459
+ }>;
460
+ followers(id: string, opts?: {
461
+ page?: number;
462
+ }): Promise<{
463
+ items: EgeriaUser[];
464
+ count: {
465
+ total: number;
466
+ offset: number;
467
+ };
468
+ page: {
469
+ min: number;
470
+ max: number;
471
+ current: number;
472
+ next: number | null;
473
+ prev: number | null;
474
+ };
475
+ }>;
476
+ relationshipCounts(id: string): Promise<{
477
+ followers: number | null;
478
+ followings: number | null;
479
+ }>;
430
480
  createSmartAlbum(data: CatalystCreateSmartAlbumRequest): Promise<Identity>;
431
481
  getSmartAlbum(id: string, opts?: {
432
482
  since?: string;
@@ -519,6 +569,8 @@ declare class CatalystClient {
519
569
  searchContest(state: string, q?: string): Promise<{
520
570
  contests: CatalystContest[];
521
571
  }>;
572
+ reportStatus(id: string, data: ReportRequest): Promise<void>;
573
+ privacySettings(data: CatalystPrivacySettingsRequest): Promise<CatalystPrivacySettings>;
522
574
  }
523
575
 
524
576
  declare class EgeriaClient {
@@ -680,6 +732,13 @@ declare const CatalystEndpoint: {
680
732
  readonly relationships: (id: string) => Endpoint;
681
733
  readonly follow: (data: CatalystRelationshipRequest) => Endpoint;
682
734
  readonly remove: (data: CatalystRelationshipRequest) => Endpoint;
735
+ readonly followings: (username: string, opts?: {
736
+ page?: number;
737
+ }) => Endpoint;
738
+ readonly followers: (username: string, opts?: {
739
+ page?: number;
740
+ }) => Endpoint;
741
+ readonly relationshipCounts: (username: string) => Endpoint;
683
742
  readonly createSmartAlbum: (data: CatalystCreateSmartAlbumRequest) => Endpoint;
684
743
  readonly getSmartAlbum: (id: string, opts?: {
685
744
  since?: string;
@@ -763,6 +822,8 @@ declare const CatalystEndpoint: {
763
822
  readonly removeContestVoteFromStatus: (slug: string, id: string) => Endpoint;
764
823
  readonly getContestVotes: (slug: string) => Endpoint;
765
824
  readonly searchContest: (state: string, q?: string) => Endpoint;
825
+ readonly reportStatus: (id: string, data: ReportRequest) => Endpoint;
826
+ readonly privacySettings: (data: CatalystPrivacySettingsRequest) => Endpoint;
766
827
  };
767
828
 
768
829
  declare const EgeriaEndpoint: {
@@ -811,4 +872,4 @@ declare class LoggingInterceptor implements RequestInterceptor {
811
872
  retry(request: Request, error: unknown): Promise<boolean>;
812
873
  }
813
874
 
814
- export { ApiError, AuthInterceptor, type CatalystAlbum, type CatalystAlbumDisplayMode, CatalystClient, type CatalystContest, type CatalystContestAddCollaboratorRequest, type CatalystContestAward, type CatalystContestCollaborator, type CatalystContestPolls, type CatalystContestRank, type CatalystContestRemoveCollaboratorRequest, type CatalystCreateAlbumRequest, type CatalystCreateContestRequest, type CatalystCreateFleetMedia, type CatalystCreateFleetRequest, type CatalystCreateFleetSticker, type CatalystCreateFleetText, type CatalystCreateSmartAlbumRequest, type CatalystCreateStatusRequest, type CatalystCustomReaction, type CatalystEditAlbumRequest, type CatalystEditContestRequest, type CatalystEditSmartAlbumRequest, type CatalystEditStatusRequest, CatalystEndpoint, CatalystError, type CatalystFleet, type CatalystFleetMedia, type CatalystFleetRing, type CatalystFleetSticker, type CatalystFleetText, type CatalystFleetViewer, type CatalystInsertToAlbumRequest, type CatalystMediaWithMetadata, type CatalystReaction, type CatalystReactions, type CatalystRelationshipRequest, type CatalystRelationships, type CatalystRemoveFromAlbumRequest, type CatalystSetContestAwardRequest, type CatalystSmartAlbum, type CatalystSmartAlbums, type CatalystStatus, type CatalystStatusPrivacy, type CatalystStatusWrapper, type CatalystStatuses, CatalystTS, type CatalystTSOptions, type CatalystUnsetContestAwardRequest, type CatalystUserVoteRights, EgeriaClient, EgeriaEndpoint, type EgeriaUpdateProfileRequest, type EgeriaUser, type EgeriaUserProfile, type EgeriaUserWrapper, type EgeriaUsers, type Endpoint, HttpClient, type HttpMethod, ISSUER_CATALYST_SYSTEM_MESSAGE, ISSUER_CATALYST_USER_MESSAGE, ISSUER_EGERIA_SYSTEM_MESSAGE, type Identity, LoggingInterceptor, type Media, MediaClient, type MediaDeleteRequest, type MediaDownloadRequest, MediaEndpoint, type MediaMetadata, type MediaUploadUrls, type Notification, type NotificationGroup, type NotificationUnreadCount, type Notifications, OAuth, OAuthError, PKCE, PUBLIC_API_ENDPOINT, PUBLIC_AUTHORIZE_ENDPOINT, PUBLIC_GRAPHQL_ENDPOINT, type RequestInterceptor, SteambirdClient, SteambirdEndpoint, type Token, UserAgentInterceptor };
875
+ export { ApiError, AuthInterceptor, type CatalystAlbum, type CatalystAlbumDisplayMode, CatalystClient, type CatalystContest, type CatalystContestAddCollaboratorRequest, type CatalystContestAward, type CatalystContestCollaborator, type CatalystContestPolls, type CatalystContestRank, type CatalystContestRemoveCollaboratorRequest, type CatalystCreateAlbumRequest, type CatalystCreateContestRequest, type CatalystCreateFleetMedia, type CatalystCreateFleetRequest, type CatalystCreateFleetSticker, type CatalystCreateFleetText, type CatalystCreateSmartAlbumRequest, type CatalystCreateStatusRequest, type CatalystCustomReaction, type CatalystEditAlbumRequest, type CatalystEditContestRequest, type CatalystEditSmartAlbumRequest, type CatalystEditStatusRequest, CatalystEndpoint, CatalystError, type CatalystFleet, type CatalystFleetMedia, type CatalystFleetRing, type CatalystFleetSticker, type CatalystFleetText, type CatalystFleetViewer, type CatalystInsertToAlbumRequest, type CatalystMediaWithMetadata, type CatalystPrivacySettings, type CatalystPrivacySettingsRequest, type CatalystReaction, type CatalystReactions, type CatalystRelationshipRequest, type CatalystRelationships, type CatalystRemoveFromAlbumRequest, type CatalystSetContestAwardRequest, type CatalystSmartAlbum, type CatalystSmartAlbums, type CatalystStatus, type CatalystStatusPrivacy, type CatalystStatusWrapper, type CatalystStatuses, CatalystTS, type CatalystTSOptions, type CatalystUnsetContestAwardRequest, type CatalystUserVoteRights, EgeriaClient, EgeriaEndpoint, type EgeriaUpdateProfileRequest, type EgeriaUser, type EgeriaUserProfile, type EgeriaUserWrapper, type EgeriaUsers, type Endpoint, HttpClient, type HttpMethod, ISSUER_CATALYST_SYSTEM_MESSAGE, ISSUER_CATALYST_USER_MESSAGE, ISSUER_EGERIA_SYSTEM_MESSAGE, type Identity, LoggingInterceptor, type Media, MediaClient, type MediaDeleteRequest, type MediaDownloadRequest, MediaEndpoint, type MediaMetadata, type MediaUploadUrls, type Notification, type NotificationGroup, type NotificationUnreadCount, type Notifications, OAuth, OAuthError, PKCE, PUBLIC_API_ENDPOINT, PUBLIC_AUTHORIZE_ENDPOINT, PUBLIC_GRAPHQL_ENDPOINT, type ReportRequest, type RequestInterceptor, SteambirdClient, SteambirdEndpoint, type Token, UserAgentInterceptor };
package/dist/index.d.ts CHANGED
@@ -409,6 +409,20 @@ interface CatalystUserVoteRights {
409
409
  statuses: string[];
410
410
  }
411
411
 
412
+ interface ReportRequest {
413
+ type: "nsfw" | "tos_violation" | "harassment" | "spam" | "other";
414
+ description?: string;
415
+ }
416
+
417
+ interface CatalystPrivacySettingsRequest {
418
+ followingListVisibility: "public" | "private";
419
+ followerListVisibility: "public" | "private";
420
+ }
421
+ interface CatalystPrivacySettings {
422
+ followingListVisibility: "public" | "private";
423
+ followerListVisibility: "public" | "private";
424
+ }
425
+
412
426
  declare class CatalystClient {
413
427
  private readonly http;
414
428
  constructor(http: HttpClient);
@@ -427,6 +441,42 @@ declare class CatalystClient {
427
441
  relationships(id: string): Promise<CatalystRelationships>;
428
442
  follow(data: CatalystRelationshipRequest): Promise<void>;
429
443
  remove(data: CatalystRelationshipRequest): Promise<void>;
444
+ followings(id: string, opts?: {
445
+ page?: number;
446
+ }): Promise<{
447
+ items: EgeriaUser[];
448
+ count: {
449
+ total: number;
450
+ offset: number;
451
+ };
452
+ page: {
453
+ min: number;
454
+ max: number;
455
+ current: number;
456
+ next: number | null;
457
+ prev: number | null;
458
+ };
459
+ }>;
460
+ followers(id: string, opts?: {
461
+ page?: number;
462
+ }): Promise<{
463
+ items: EgeriaUser[];
464
+ count: {
465
+ total: number;
466
+ offset: number;
467
+ };
468
+ page: {
469
+ min: number;
470
+ max: number;
471
+ current: number;
472
+ next: number | null;
473
+ prev: number | null;
474
+ };
475
+ }>;
476
+ relationshipCounts(id: string): Promise<{
477
+ followers: number | null;
478
+ followings: number | null;
479
+ }>;
430
480
  createSmartAlbum(data: CatalystCreateSmartAlbumRequest): Promise<Identity>;
431
481
  getSmartAlbum(id: string, opts?: {
432
482
  since?: string;
@@ -519,6 +569,8 @@ declare class CatalystClient {
519
569
  searchContest(state: string, q?: string): Promise<{
520
570
  contests: CatalystContest[];
521
571
  }>;
572
+ reportStatus(id: string, data: ReportRequest): Promise<void>;
573
+ privacySettings(data: CatalystPrivacySettingsRequest): Promise<CatalystPrivacySettings>;
522
574
  }
523
575
 
524
576
  declare class EgeriaClient {
@@ -680,6 +732,13 @@ declare const CatalystEndpoint: {
680
732
  readonly relationships: (id: string) => Endpoint;
681
733
  readonly follow: (data: CatalystRelationshipRequest) => Endpoint;
682
734
  readonly remove: (data: CatalystRelationshipRequest) => Endpoint;
735
+ readonly followings: (username: string, opts?: {
736
+ page?: number;
737
+ }) => Endpoint;
738
+ readonly followers: (username: string, opts?: {
739
+ page?: number;
740
+ }) => Endpoint;
741
+ readonly relationshipCounts: (username: string) => Endpoint;
683
742
  readonly createSmartAlbum: (data: CatalystCreateSmartAlbumRequest) => Endpoint;
684
743
  readonly getSmartAlbum: (id: string, opts?: {
685
744
  since?: string;
@@ -763,6 +822,8 @@ declare const CatalystEndpoint: {
763
822
  readonly removeContestVoteFromStatus: (slug: string, id: string) => Endpoint;
764
823
  readonly getContestVotes: (slug: string) => Endpoint;
765
824
  readonly searchContest: (state: string, q?: string) => Endpoint;
825
+ readonly reportStatus: (id: string, data: ReportRequest) => Endpoint;
826
+ readonly privacySettings: (data: CatalystPrivacySettingsRequest) => Endpoint;
766
827
  };
767
828
 
768
829
  declare const EgeriaEndpoint: {
@@ -811,4 +872,4 @@ declare class LoggingInterceptor implements RequestInterceptor {
811
872
  retry(request: Request, error: unknown): Promise<boolean>;
812
873
  }
813
874
 
814
- export { ApiError, AuthInterceptor, type CatalystAlbum, type CatalystAlbumDisplayMode, CatalystClient, type CatalystContest, type CatalystContestAddCollaboratorRequest, type CatalystContestAward, type CatalystContestCollaborator, type CatalystContestPolls, type CatalystContestRank, type CatalystContestRemoveCollaboratorRequest, type CatalystCreateAlbumRequest, type CatalystCreateContestRequest, type CatalystCreateFleetMedia, type CatalystCreateFleetRequest, type CatalystCreateFleetSticker, type CatalystCreateFleetText, type CatalystCreateSmartAlbumRequest, type CatalystCreateStatusRequest, type CatalystCustomReaction, type CatalystEditAlbumRequest, type CatalystEditContestRequest, type CatalystEditSmartAlbumRequest, type CatalystEditStatusRequest, CatalystEndpoint, CatalystError, type CatalystFleet, type CatalystFleetMedia, type CatalystFleetRing, type CatalystFleetSticker, type CatalystFleetText, type CatalystFleetViewer, type CatalystInsertToAlbumRequest, type CatalystMediaWithMetadata, type CatalystReaction, type CatalystReactions, type CatalystRelationshipRequest, type CatalystRelationships, type CatalystRemoveFromAlbumRequest, type CatalystSetContestAwardRequest, type CatalystSmartAlbum, type CatalystSmartAlbums, type CatalystStatus, type CatalystStatusPrivacy, type CatalystStatusWrapper, type CatalystStatuses, CatalystTS, type CatalystTSOptions, type CatalystUnsetContestAwardRequest, type CatalystUserVoteRights, EgeriaClient, EgeriaEndpoint, type EgeriaUpdateProfileRequest, type EgeriaUser, type EgeriaUserProfile, type EgeriaUserWrapper, type EgeriaUsers, type Endpoint, HttpClient, type HttpMethod, ISSUER_CATALYST_SYSTEM_MESSAGE, ISSUER_CATALYST_USER_MESSAGE, ISSUER_EGERIA_SYSTEM_MESSAGE, type Identity, LoggingInterceptor, type Media, MediaClient, type MediaDeleteRequest, type MediaDownloadRequest, MediaEndpoint, type MediaMetadata, type MediaUploadUrls, type Notification, type NotificationGroup, type NotificationUnreadCount, type Notifications, OAuth, OAuthError, PKCE, PUBLIC_API_ENDPOINT, PUBLIC_AUTHORIZE_ENDPOINT, PUBLIC_GRAPHQL_ENDPOINT, type RequestInterceptor, SteambirdClient, SteambirdEndpoint, type Token, UserAgentInterceptor };
875
+ export { ApiError, AuthInterceptor, type CatalystAlbum, type CatalystAlbumDisplayMode, CatalystClient, type CatalystContest, type CatalystContestAddCollaboratorRequest, type CatalystContestAward, type CatalystContestCollaborator, type CatalystContestPolls, type CatalystContestRank, type CatalystContestRemoveCollaboratorRequest, type CatalystCreateAlbumRequest, type CatalystCreateContestRequest, type CatalystCreateFleetMedia, type CatalystCreateFleetRequest, type CatalystCreateFleetSticker, type CatalystCreateFleetText, type CatalystCreateSmartAlbumRequest, type CatalystCreateStatusRequest, type CatalystCustomReaction, type CatalystEditAlbumRequest, type CatalystEditContestRequest, type CatalystEditSmartAlbumRequest, type CatalystEditStatusRequest, CatalystEndpoint, CatalystError, type CatalystFleet, type CatalystFleetMedia, type CatalystFleetRing, type CatalystFleetSticker, type CatalystFleetText, type CatalystFleetViewer, type CatalystInsertToAlbumRequest, type CatalystMediaWithMetadata, type CatalystPrivacySettings, type CatalystPrivacySettingsRequest, type CatalystReaction, type CatalystReactions, type CatalystRelationshipRequest, type CatalystRelationships, type CatalystRemoveFromAlbumRequest, type CatalystSetContestAwardRequest, type CatalystSmartAlbum, type CatalystSmartAlbums, type CatalystStatus, type CatalystStatusPrivacy, type CatalystStatusWrapper, type CatalystStatuses, CatalystTS, type CatalystTSOptions, type CatalystUnsetContestAwardRequest, type CatalystUserVoteRights, EgeriaClient, EgeriaEndpoint, type EgeriaUpdateProfileRequest, type EgeriaUser, type EgeriaUserProfile, type EgeriaUserWrapper, type EgeriaUsers, type Endpoint, HttpClient, type HttpMethod, ISSUER_CATALYST_SYSTEM_MESSAGE, ISSUER_CATALYST_USER_MESSAGE, ISSUER_EGERIA_SYSTEM_MESSAGE, type Identity, LoggingInterceptor, type Media, MediaClient, type MediaDeleteRequest, type MediaDownloadRequest, MediaEndpoint, type MediaMetadata, type MediaUploadUrls, type Notification, type NotificationGroup, type NotificationUnreadCount, type Notifications, OAuth, OAuthError, PKCE, PUBLIC_API_ENDPOINT, PUBLIC_AUTHORIZE_ENDPOINT, PUBLIC_GRAPHQL_ENDPOINT, type ReportRequest, type RequestInterceptor, SteambirdClient, SteambirdEndpoint, type Token, UserAgentInterceptor };
package/dist/index.js CHANGED
@@ -222,6 +222,26 @@ var CatalystEndpoint = {
222
222
  remove(data) {
223
223
  return { path: "/catalyst/v1/relationships", method: "DELETE", body: data };
224
224
  },
225
+ followings(username, opts) {
226
+ return {
227
+ path: `/catalyst/v1/relationships/by/username/${username}/followings`,
228
+ method: "GET",
229
+ queryParameters: opts?.page != null ? { page: String(opts.page) } : void 0
230
+ };
231
+ },
232
+ followers(username, opts) {
233
+ return {
234
+ path: `/catalyst/v1/relationships/by/username/${username}/followers`,
235
+ method: "GET",
236
+ queryParameters: opts?.page != null ? { page: String(opts.page) } : void 0
237
+ };
238
+ },
239
+ relationshipCounts(username) {
240
+ return {
241
+ path: `/catalyst/v1/relationships/by/username/${username}/counts`,
242
+ method: "GET"
243
+ };
244
+ },
225
245
  createSmartAlbum(data) {
226
246
  return { path: "/catalyst/v1/smart-album", method: "POST", body: data };
227
247
  },
@@ -527,6 +547,20 @@ var CatalystEndpoint = {
527
547
  method: "GET",
528
548
  queryParameters: { state, q: q ?? "" }
529
549
  };
550
+ },
551
+ reportStatus(id, data) {
552
+ return {
553
+ path: `/catalyst/v1/status/${id}/report`,
554
+ method: "POST",
555
+ body: data
556
+ };
557
+ },
558
+ privacySettings(data) {
559
+ return {
560
+ path: "/catalyst/v1/privacy/settings",
561
+ method: "POST",
562
+ body: data
563
+ };
530
564
  }
531
565
  };
532
566
 
@@ -578,6 +612,15 @@ var CatalystClient = class {
578
612
  remove(data) {
579
613
  return this.http.requestVoid(CatalystEndpoint.remove(data));
580
614
  }
615
+ followings(id, opts) {
616
+ return this.http.request(CatalystEndpoint.followings(id, opts));
617
+ }
618
+ followers(id, opts) {
619
+ return this.http.request(CatalystEndpoint.followers(id, opts));
620
+ }
621
+ relationshipCounts(id) {
622
+ return this.http.request(CatalystEndpoint.relationshipCounts(id));
623
+ }
581
624
  // Smart Albums
582
625
  createSmartAlbum(data) {
583
626
  return this.http.request(CatalystEndpoint.createSmartAlbum(data));
@@ -750,6 +793,14 @@ var CatalystClient = class {
750
793
  searchContest(state, q) {
751
794
  return this.http.request(CatalystEndpoint.searchContest(state, q));
752
795
  }
796
+ // report
797
+ reportStatus(id, data) {
798
+ return this.http.requestVoid(CatalystEndpoint.reportStatus(id, data));
799
+ }
800
+ // privacy
801
+ privacySettings(data) {
802
+ return this.http.request(CatalystEndpoint.privacySettings(data));
803
+ }
753
804
  };
754
805
 
755
806
  // src/endpoints/egeriaEndpoint.ts
package/dist/index.mjs CHANGED
@@ -173,6 +173,26 @@ var CatalystEndpoint = {
173
173
  remove(data) {
174
174
  return { path: "/catalyst/v1/relationships", method: "DELETE", body: data };
175
175
  },
176
+ followings(username, opts) {
177
+ return {
178
+ path: `/catalyst/v1/relationships/by/username/${username}/followings`,
179
+ method: "GET",
180
+ queryParameters: opts?.page != null ? { page: String(opts.page) } : void 0
181
+ };
182
+ },
183
+ followers(username, opts) {
184
+ return {
185
+ path: `/catalyst/v1/relationships/by/username/${username}/followers`,
186
+ method: "GET",
187
+ queryParameters: opts?.page != null ? { page: String(opts.page) } : void 0
188
+ };
189
+ },
190
+ relationshipCounts(username) {
191
+ return {
192
+ path: `/catalyst/v1/relationships/by/username/${username}/counts`,
193
+ method: "GET"
194
+ };
195
+ },
176
196
  createSmartAlbum(data) {
177
197
  return { path: "/catalyst/v1/smart-album", method: "POST", body: data };
178
198
  },
@@ -478,6 +498,20 @@ var CatalystEndpoint = {
478
498
  method: "GET",
479
499
  queryParameters: { state, q: q ?? "" }
480
500
  };
501
+ },
502
+ reportStatus(id, data) {
503
+ return {
504
+ path: `/catalyst/v1/status/${id}/report`,
505
+ method: "POST",
506
+ body: data
507
+ };
508
+ },
509
+ privacySettings(data) {
510
+ return {
511
+ path: "/catalyst/v1/privacy/settings",
512
+ method: "POST",
513
+ body: data
514
+ };
481
515
  }
482
516
  };
483
517
 
@@ -529,6 +563,15 @@ var CatalystClient = class {
529
563
  remove(data) {
530
564
  return this.http.requestVoid(CatalystEndpoint.remove(data));
531
565
  }
566
+ followings(id, opts) {
567
+ return this.http.request(CatalystEndpoint.followings(id, opts));
568
+ }
569
+ followers(id, opts) {
570
+ return this.http.request(CatalystEndpoint.followers(id, opts));
571
+ }
572
+ relationshipCounts(id) {
573
+ return this.http.request(CatalystEndpoint.relationshipCounts(id));
574
+ }
532
575
  // Smart Albums
533
576
  createSmartAlbum(data) {
534
577
  return this.http.request(CatalystEndpoint.createSmartAlbum(data));
@@ -701,6 +744,14 @@ var CatalystClient = class {
701
744
  searchContest(state, q) {
702
745
  return this.http.request(CatalystEndpoint.searchContest(state, q));
703
746
  }
747
+ // report
748
+ reportStatus(id, data) {
749
+ return this.http.requestVoid(CatalystEndpoint.reportStatus(id, data));
750
+ }
751
+ // privacy
752
+ privacySettings(data) {
753
+ return this.http.request(CatalystEndpoint.privacySettings(data));
754
+ }
704
755
  };
705
756
 
706
757
  // src/endpoints/egeriaEndpoint.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natsuneko-laboratory/catalyst-sdk",
3
- "version": "0.3.2",
3
+ "version": "0.4.0",
4
4
  "description": "TypeScript/JavaScript SDK for the Natsuneko Laboratory platform",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",