@blockscout/autoscout-types 1.14.0-alpha.1 → 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.
@@ -56,6 +56,11 @@ export declare enum TeamRole {
56
56
  EDITOR = "TEAM_ROLE_EDITOR",
57
57
  VIEWER = "TEAM_ROLE_VIEWER"
58
58
  }
59
+ export declare enum TeamMemberStatus {
60
+ UNSPECIFIED_TEAM_MEMBER_STATUS = "UNSPECIFIED_TEAM_MEMBER_STATUS",
61
+ ACTIVE = "TEAM_MEMBER_STATUS_ACTIVE",
62
+ PENDING = "TEAM_MEMBER_STATUS_PENDING"
63
+ }
59
64
  export declare enum BillingProviderType {
60
65
  UNSPECIFIED_BILLING_PROVIDER_TYPE = "UNSPECIFIED_BILLING_PROVIDER_TYPE",
61
66
  STRIPE = "BILLING_PROVIDER_TYPE_STRIPE"
@@ -211,7 +216,12 @@ export interface Team {
211
216
  export interface TeamMember {
212
217
  email: string;
213
218
  role: TeamRole;
214
- joined_at: string;
219
+ joined_at?: string | undefined;
220
+ name?: string | undefined;
221
+ avatar_url?: string | undefined;
222
+ status: TeamMemberStatus;
223
+ invite_id?: string | undefined;
224
+ invite_expires_at?: string | undefined;
215
225
  }
216
226
  export interface TeamInvite {
217
227
  invite_id: string;
@@ -421,6 +431,10 @@ export interface ListPluginLogsResponse {
421
431
  export interface GetProfileRequest {
422
432
  team_id?: string | undefined;
423
433
  }
434
+ export interface UpdateProfileRequest {
435
+ name?: string | undefined;
436
+ avatar_url?: string | undefined;
437
+ }
424
438
  export interface GetBillingRequest {
425
439
  team_id?: string | undefined;
426
440
  }
@@ -738,6 +752,8 @@ export interface Autoscout {
738
752
  RegisterProfile(request: RegisterProfileRequest): Promise<RegisterProfileResponse>;
739
753
  /** Get information about current account */
740
754
  GetProfile(request: GetProfileRequest): Promise<UserProfile>;
755
+ /** Update mutable fields of the current account profile */
756
+ UpdateProfile(request: UpdateProfileRequest): Promise<UserProfile>;
741
757
  /** Get current billing status for the authenticated user */
742
758
  GetBilling(request: GetBillingRequest): Promise<GetBillingResponse>;
743
759
  /** Generate auth api token for current account */
@@ -2,10 +2,10 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.176.2
5
- // protoc v5.27.0
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.TeamRole = exports.PluginEventType = exports.PluginStatus = exports.PluginVariant = exports.DepositType = exports.DepositStatus = exports.UpdateInstanceAction = exports.DeploymentStatus = void 0;
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;
9
9
  var DeploymentStatus;
10
10
  (function (DeploymentStatus) {
11
11
  DeploymentStatus["NO_STATUS"] = "NO_STATUS";
@@ -70,6 +70,12 @@ var TeamRole;
70
70
  TeamRole["EDITOR"] = "TEAM_ROLE_EDITOR";
71
71
  TeamRole["VIEWER"] = "TEAM_ROLE_VIEWER";
72
72
  })(TeamRole || (exports.TeamRole = TeamRole = {}));
73
+ var TeamMemberStatus;
74
+ (function (TeamMemberStatus) {
75
+ TeamMemberStatus["UNSPECIFIED_TEAM_MEMBER_STATUS"] = "UNSPECIFIED_TEAM_MEMBER_STATUS";
76
+ TeamMemberStatus["ACTIVE"] = "TEAM_MEMBER_STATUS_ACTIVE";
77
+ TeamMemberStatus["PENDING"] = "TEAM_MEMBER_STATUS_PENDING";
78
+ })(TeamMemberStatus || (exports.TeamMemberStatus = TeamMemberStatus = {}));
73
79
  var BillingProviderType;
74
80
  (function (BillingProviderType) {
75
81
  BillingProviderType["UNSPECIFIED_BILLING_PROVIDER_TYPE"] = "UNSPECIFIED_BILLING_PROVIDER_TYPE";
@@ -1,7 +1,7 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
3
  // protoc-gen-ts_proto v1.176.2
4
- // protoc v5.27.0
4
+ // protoc v4.23.4
5
5
  // source: v1/autoscout.proto
6
6
 
7
7
  /* eslint-disable */
@@ -72,6 +72,12 @@ export enum TeamRole {
72
72
  VIEWER = "TEAM_ROLE_VIEWER",
73
73
  }
74
74
 
75
+ export enum TeamMemberStatus {
76
+ UNSPECIFIED_TEAM_MEMBER_STATUS = "UNSPECIFIED_TEAM_MEMBER_STATUS",
77
+ ACTIVE = "TEAM_MEMBER_STATUS_ACTIVE",
78
+ PENDING = "TEAM_MEMBER_STATUS_PENDING",
79
+ }
80
+
75
81
  export enum BillingProviderType {
76
82
  UNSPECIFIED_BILLING_PROVIDER_TYPE = "UNSPECIFIED_BILLING_PROVIDER_TYPE",
77
83
  STRIPE = "BILLING_PROVIDER_TYPE_STRIPE",
@@ -243,7 +249,12 @@ export interface Team {
243
249
  export interface TeamMember {
244
250
  email: string;
245
251
  role: TeamRole;
246
- joined_at: string;
252
+ joined_at?: string | undefined;
253
+ name?: string | undefined;
254
+ avatar_url?: string | undefined;
255
+ status: TeamMemberStatus;
256
+ invite_id?: string | undefined;
257
+ invite_expires_at?: string | undefined;
247
258
  }
248
259
 
249
260
  export interface TeamInvite {
@@ -494,6 +505,11 @@ export interface GetProfileRequest {
494
505
  team_id?: string | undefined;
495
506
  }
496
507
 
508
+ export interface UpdateProfileRequest {
509
+ name?: string | undefined;
510
+ avatar_url?: string | undefined;
511
+ }
512
+
497
513
  export interface GetBillingRequest {
498
514
  team_id?: string | undefined;
499
515
  }
@@ -877,6 +893,8 @@ export interface Autoscout {
877
893
  RegisterProfile(request: RegisterProfileRequest): Promise<RegisterProfileResponse>;
878
894
  /** Get information about current account */
879
895
  GetProfile(request: GetProfileRequest): Promise<UserProfile>;
896
+ /** Update mutable fields of the current account profile */
897
+ UpdateProfile(request: UpdateProfileRequest): Promise<UserProfile>;
880
898
  /** Get current billing status for the authenticated user */
881
899
  GetBilling(request: GetBillingRequest): Promise<GetBillingResponse>;
882
900
  /** Generate auth api token for current account */
package/dist/v1/config.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.176.2
5
- // protoc v5.27.0
5
+ // protoc v4.23.4
6
6
  // source: v1/config.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.UserOpsTraceClient = exports.IndexerBlockTransformer = exports.AdBannerProvider = exports.AdTextProvider = exports.Identicon = exports.ColorTheme = exports.NavigationLayout = exports.NodeType = exports.ChainType = void 0;
package/dist/v1/config.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
3
  // protoc-gen-ts_proto v1.176.2
4
- // protoc v5.27.0
4
+ // protoc v4.23.4
5
5
  // source: v1/config.proto
6
6
 
7
7
  /* eslint-disable */
@@ -2,6 +2,6 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.176.2
5
- // protoc v5.27.0
5
+ // protoc v4.23.4
6
6
  // source: v1/config_schema.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,7 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
3
  // protoc-gen-ts_proto v1.176.2
4
- // protoc v5.27.0
4
+ // protoc v4.23.4
5
5
  // source: v1/config_schema.proto
6
6
 
7
7
  /* eslint-disable */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockscout/autoscout-types",
3
- "version": "1.14.0-alpha.1",
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",