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

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.
@@ -72,6 +72,11 @@ export declare enum BillingSubscriptionStatus {
72
72
  CANCELED = "BILLING_SUBSCRIPTION_STATUS_CANCELED",
73
73
  UNCONFIRMED = "BILLING_SUBSCRIPTION_STATUS_UNCONFIRMED"
74
74
  }
75
+ export declare enum RequestNetworkChain {
76
+ UNSPECIFIED = "REQUEST_NETWORK_CHAIN_UNSPECIFIED",
77
+ EVM = "REQUEST_NETWORK_CHAIN_EVM",
78
+ TRON = "REQUEST_NETWORK_CHAIN_TRON"
79
+ }
75
80
  export interface HealthStatus {
76
81
  ok: boolean;
77
82
  last_check: string;
@@ -431,6 +436,10 @@ export interface ListPluginLogsResponse {
431
436
  export interface GetProfileRequest {
432
437
  team_id?: string | undefined;
433
438
  }
439
+ export interface UpdateProfileRequest {
440
+ name?: string | undefined;
441
+ avatar_url?: string | undefined;
442
+ }
434
443
  export interface GetBillingRequest {
435
444
  team_id?: string | undefined;
436
445
  }
@@ -592,6 +601,7 @@ export interface CreateRequestNetworkDepositRequest {
592
601
  amount_cents: number;
593
602
  promocode?: string | undefined;
594
603
  team_id?: string | undefined;
604
+ chain: RequestNetworkChain;
595
605
  }
596
606
  export interface CreateRequestNetworkDepositResponse {
597
607
  id: string;
@@ -748,6 +758,8 @@ export interface Autoscout {
748
758
  RegisterProfile(request: RegisterProfileRequest): Promise<RegisterProfileResponse>;
749
759
  /** Get information about current account */
750
760
  GetProfile(request: GetProfileRequest): Promise<UserProfile>;
761
+ /** Update mutable fields of the current account profile */
762
+ UpdateProfile(request: UpdateProfileRequest): Promise<UserProfile>;
751
763
  /** Get current billing status for the authenticated user */
752
764
  GetBilling(request: GetBillingRequest): Promise<GetBillingResponse>;
753
765
  /** Generate auth api token for current account */
@@ -5,7 +5,7 @@
5
5
  // protoc v4.23.4
6
6
  // source: v1/autoscout.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.BillingSubscriptionStatus = exports.BillingProviderType = exports.TeamMemberStatus = exports.TeamRole = exports.PluginEventType = exports.PluginStatus = exports.PluginVariant = exports.DepositType = exports.DepositStatus = exports.UpdateInstanceAction = exports.DeploymentStatus = void 0;
8
+ exports.RequestNetworkChain = exports.BillingSubscriptionStatus = exports.BillingProviderType = exports.TeamMemberStatus = exports.TeamRole = exports.PluginEventType = exports.PluginStatus = exports.PluginVariant = exports.DepositType = exports.DepositStatus = exports.UpdateInstanceAction = exports.DeploymentStatus = void 0;
9
9
  var DeploymentStatus;
10
10
  (function (DeploymentStatus) {
11
11
  DeploymentStatus["NO_STATUS"] = "NO_STATUS";
@@ -89,3 +89,9 @@ var BillingSubscriptionStatus;
89
89
  BillingSubscriptionStatus["CANCELED"] = "BILLING_SUBSCRIPTION_STATUS_CANCELED";
90
90
  BillingSubscriptionStatus["UNCONFIRMED"] = "BILLING_SUBSCRIPTION_STATUS_UNCONFIRMED";
91
91
  })(BillingSubscriptionStatus || (exports.BillingSubscriptionStatus = BillingSubscriptionStatus = {}));
92
+ var RequestNetworkChain;
93
+ (function (RequestNetworkChain) {
94
+ RequestNetworkChain["UNSPECIFIED"] = "REQUEST_NETWORK_CHAIN_UNSPECIFIED";
95
+ RequestNetworkChain["EVM"] = "REQUEST_NETWORK_CHAIN_EVM";
96
+ RequestNetworkChain["TRON"] = "REQUEST_NETWORK_CHAIN_TRON";
97
+ })(RequestNetworkChain || (exports.RequestNetworkChain = RequestNetworkChain = {}));
@@ -91,6 +91,12 @@ export enum BillingSubscriptionStatus {
91
91
  UNCONFIRMED = "BILLING_SUBSCRIPTION_STATUS_UNCONFIRMED",
92
92
  }
93
93
 
94
+ export enum RequestNetworkChain {
95
+ UNSPECIFIED = "REQUEST_NETWORK_CHAIN_UNSPECIFIED",
96
+ EVM = "REQUEST_NETWORK_CHAIN_EVM",
97
+ TRON = "REQUEST_NETWORK_CHAIN_TRON",
98
+ }
99
+
94
100
  export interface HealthStatus {
95
101
  ok: boolean;
96
102
  last_check: string;
@@ -505,6 +511,11 @@ export interface GetProfileRequest {
505
511
  team_id?: string | undefined;
506
512
  }
507
513
 
514
+ export interface UpdateProfileRequest {
515
+ name?: string | undefined;
516
+ avatar_url?: string | undefined;
517
+ }
518
+
508
519
  export interface GetBillingRequest {
509
520
  team_id?: string | undefined;
510
521
  }
@@ -697,6 +708,7 @@ export interface CreateRequestNetworkDepositRequest {
697
708
  amount_cents: number;
698
709
  promocode?: string | undefined;
699
710
  team_id?: string | undefined;
711
+ chain: RequestNetworkChain;
700
712
  }
701
713
 
702
714
  export interface CreateRequestNetworkDepositResponse {
@@ -888,6 +900,8 @@ export interface Autoscout {
888
900
  RegisterProfile(request: RegisterProfileRequest): Promise<RegisterProfileResponse>;
889
901
  /** Get information about current account */
890
902
  GetProfile(request: GetProfileRequest): Promise<UserProfile>;
903
+ /** Update mutable fields of the current account profile */
904
+ UpdateProfile(request: UpdateProfileRequest): Promise<UserProfile>;
891
905
  /** Get current billing status for the authenticated user */
892
906
  GetBilling(request: GetBillingRequest): Promise<GetBillingResponse>;
893
907
  /** 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.4",
4
4
  "description": "TypeScript definitions for Autoscout microservice",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",