@blockscout/autoscout-types 1.14.0-alpha.2 → 1.14.0-alpha.3

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.
@@ -431,6 +431,10 @@ export interface ListPluginLogsResponse {
431
431
  export interface GetProfileRequest {
432
432
  team_id?: string | undefined;
433
433
  }
434
+ export interface UpdateProfileRequest {
435
+ name?: string | undefined;
436
+ avatar_url?: string | undefined;
437
+ }
434
438
  export interface GetBillingRequest {
435
439
  team_id?: string | undefined;
436
440
  }
@@ -748,6 +752,8 @@ export interface Autoscout {
748
752
  RegisterProfile(request: RegisterProfileRequest): Promise<RegisterProfileResponse>;
749
753
  /** Get information about current account */
750
754
  GetProfile(request: GetProfileRequest): Promise<UserProfile>;
755
+ /** Update mutable fields of the current account profile */
756
+ UpdateProfile(request: UpdateProfileRequest): Promise<UserProfile>;
751
757
  /** Get current billing status for the authenticated user */
752
758
  GetBilling(request: GetBillingRequest): Promise<GetBillingResponse>;
753
759
  /** Generate auth api token for current account */
@@ -505,6 +505,11 @@ export interface GetProfileRequest {
505
505
  team_id?: string | undefined;
506
506
  }
507
507
 
508
+ export interface UpdateProfileRequest {
509
+ name?: string | undefined;
510
+ avatar_url?: string | undefined;
511
+ }
512
+
508
513
  export interface GetBillingRequest {
509
514
  team_id?: string | undefined;
510
515
  }
@@ -888,6 +893,8 @@ export interface Autoscout {
888
893
  RegisterProfile(request: RegisterProfileRequest): Promise<RegisterProfileResponse>;
889
894
  /** Get information about current account */
890
895
  GetProfile(request: GetProfileRequest): Promise<UserProfile>;
896
+ /** Update mutable fields of the current account profile */
897
+ UpdateProfile(request: UpdateProfileRequest): Promise<UserProfile>;
891
898
  /** Get current billing status for the authenticated user */
892
899
  GetBilling(request: GetBillingRequest): Promise<GetBillingResponse>;
893
900
  /** Generate auth api token for current account */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockscout/autoscout-types",
3
- "version": "1.14.0-alpha.2",
3
+ "version": "1.14.0-alpha.3",
4
4
  "description": "TypeScript definitions for Autoscout microservice",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",