@blockscout/autoscout-types 1.13.1 → 1.14.0-alpha.1

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.
@@ -49,10 +49,16 @@ export declare enum PluginEventType {
49
49
  STATUS_CHANGE = "PLUGIN_EVENT_TYPE_STATUS_CHANGE",
50
50
  HEALTH_CHANGE = "PLUGIN_EVENT_TYPE_HEALTH_CHANGE"
51
51
  }
52
+ export declare enum TeamRole {
53
+ UNSPECIFIED_TEAM_ROLE = "UNSPECIFIED_TEAM_ROLE",
54
+ OWNER = "TEAM_ROLE_OWNER",
55
+ ADMIN = "TEAM_ROLE_ADMIN",
56
+ EDITOR = "TEAM_ROLE_EDITOR",
57
+ VIEWER = "TEAM_ROLE_VIEWER"
58
+ }
52
59
  export declare enum BillingProviderType {
53
60
  UNSPECIFIED_BILLING_PROVIDER_TYPE = "UNSPECIFIED_BILLING_PROVIDER_TYPE",
54
- STRIPE = "BILLING_PROVIDER_TYPE_STRIPE",
55
- DAIMO = "BILLING_PROVIDER_TYPE_DAIMO"
61
+ STRIPE = "BILLING_PROVIDER_TYPE_STRIPE"
56
62
  }
57
63
  export declare enum BillingSubscriptionStatus {
58
64
  UNSPECIFIED_BILLING_SUBSCRIPTION_STATUS = "UNSPECIFIED_BILLING_SUBSCRIPTION_STATUS",
@@ -84,6 +90,7 @@ export interface Instance {
84
90
  config: DeployConfig | undefined;
85
91
  config_state_hash: string;
86
92
  deployment: Deployment | undefined;
93
+ team_id: string;
87
94
  }
88
95
  export interface Deployment {
89
96
  deployment_id: string;
@@ -146,12 +153,16 @@ export interface UserProfile {
146
153
  balance: string;
147
154
  recent_actions: UserAction[];
148
155
  most_expensive_instances: MostExpensiveInstances | undefined;
156
+ name?: string | undefined;
157
+ avatar_url?: string | undefined;
149
158
  }
150
159
  export interface User {
151
160
  email: string;
152
161
  project_title?: string | undefined;
153
162
  created_at: string;
154
163
  balance: string;
164
+ name?: string | undefined;
165
+ avatar_url?: string | undefined;
155
166
  }
156
167
  export interface MostExpensiveInstances {
157
168
  items: ExpensiveInstance[];
@@ -191,6 +202,24 @@ export interface PromotionEffect {
191
202
  reward_percentage?: string | undefined;
192
203
  reward_limit?: string | undefined;
193
204
  }
205
+ export interface Team {
206
+ team_id: string;
207
+ name: string;
208
+ created_at: string;
209
+ user_role: TeamRole;
210
+ }
211
+ export interface TeamMember {
212
+ email: string;
213
+ role: TeamRole;
214
+ joined_at: string;
215
+ }
216
+ export interface TeamInvite {
217
+ invite_id: string;
218
+ invitee_email: string;
219
+ created_at: string;
220
+ expires_at?: string | undefined;
221
+ role: TeamRole;
222
+ }
194
223
  export interface PaginationResult {
195
224
  page: number;
196
225
  next_page?: number | undefined;
@@ -205,6 +234,8 @@ export interface CreateInstanceRequest {
205
234
  /** initial config */
206
235
  config: DeployConfig | undefined;
207
236
  skip_validation_for_fields: string[];
237
+ /** When unset, the user's default (oldest owned) team is used. */
238
+ team_id?: string | undefined;
208
239
  }
209
240
  export interface CreateInstanceResponse {
210
241
  instance_id: string;
@@ -278,6 +309,7 @@ export interface GetInstanceRequest {
278
309
  export interface ListInstancesRequest {
279
310
  page?: number | undefined;
280
311
  per_page?: number | undefined;
312
+ team_id?: string | undefined;
281
313
  }
282
314
  export interface ListInstancesResponse {
283
315
  items: Instance[];
@@ -387,8 +419,10 @@ export interface ListPluginLogsResponse {
387
419
  pagination: PaginationResult | undefined;
388
420
  }
389
421
  export interface GetProfileRequest {
422
+ team_id?: string | undefined;
390
423
  }
391
424
  export interface GetBillingRequest {
425
+ team_id?: string | undefined;
392
426
  }
393
427
  export interface PayAsYouGoEstimation {
394
428
  amount_usd: string;
@@ -507,6 +541,7 @@ export interface AcceptTermsOfServiceRequest {
507
541
  }
508
542
  export interface RegularPromocodeRequest {
509
543
  promocode: string;
544
+ team_id?: string | undefined;
510
545
  }
511
546
  export interface RegularPromocodeResponse {
512
547
  reward_amount: string;
@@ -534,46 +569,19 @@ export interface SearchUsersResponse {
534
569
  items: User[];
535
570
  pagination: PaginationResult | undefined;
536
571
  }
537
- export interface CreateCoinbaseDepositRequest {
538
- amount_cents: number;
539
- promocode?: string | undefined;
540
- }
541
- export interface CreateCoinbaseDepositResponse {
542
- id: string;
543
- url: string;
544
- }
545
- export interface GetCoinbaseDepositRequest {
546
- deposit_id: string;
547
- }
548
- export interface ListCoinbaseDepositsRequest {
549
- }
550
- export interface ListCoinbaseDepositsResponse {
551
- items: Deposit[];
552
- }
553
- export interface DeleteCoinbaseDepositRequest {
554
- deposit_id: string;
555
- }
556
- export interface DeleteCoinbaseDepositResponse {
557
- }
558
572
  export interface CreateStripeDepositRequest {
559
573
  amount_cents: number;
560
574
  promocode?: string | undefined;
575
+ team_id?: string | undefined;
561
576
  }
562
577
  export interface CreateStripeDepositResponse {
563
578
  id: string;
564
579
  url: string;
565
580
  }
566
- export interface CreateDaimoDepositRequest {
567
- amount_cents: number;
568
- promocode?: string | undefined;
569
- }
570
- export interface CreateDaimoDepositResponse {
571
- id: string;
572
- url: string;
573
- }
574
581
  export interface CreateRequestNetworkDepositRequest {
575
582
  amount_cents: number;
576
583
  promocode?: string | undefined;
584
+ team_id?: string | undefined;
577
585
  }
578
586
  export interface CreateRequestNetworkDepositResponse {
579
587
  id: string;
@@ -581,15 +589,18 @@ export interface CreateRequestNetworkDepositResponse {
581
589
  }
582
590
  export interface CreateStripeSubscriptionRequest {
583
591
  success_redirect_url: string;
592
+ team_id?: string | undefined;
584
593
  }
585
594
  export interface CreateStripeSubscriptionResponse {
586
595
  url: string;
587
596
  }
588
597
  export interface CancelStripeSubscriptionRequest {
598
+ team_id?: string | undefined;
589
599
  }
590
600
  export interface CancelStripeSubscriptionResponse {
591
601
  }
592
602
  export interface GetStripeSubscriptionStatusRequest {
603
+ team_id?: string | undefined;
593
604
  }
594
605
  export interface GetStripeSubscriptionStatusResponse {
595
606
  is_active: boolean;
@@ -598,6 +609,7 @@ export interface GetStripeSubscriptionStatusResponse {
598
609
  current_period_start?: string | undefined;
599
610
  }
600
611
  export interface GetStripeCustomerPortalRequest {
612
+ team_id?: string | undefined;
601
613
  }
602
614
  export interface GetStripeCustomerPortalResponse {
603
615
  customer_portal_url: string;
@@ -606,6 +618,7 @@ export interface ListDepositsRequest {
606
618
  page?: number | undefined;
607
619
  per_page?: number | undefined;
608
620
  type: DepositType;
621
+ team_id?: string | undefined;
609
622
  }
610
623
  export interface ListDepositsResponse {
611
624
  items: Deposit[];
@@ -620,6 +633,71 @@ export interface PreviewDepositResponse {
620
633
  total_deposit_amount: string;
621
634
  promotion_effect?: PromotionEffect | undefined;
622
635
  }
636
+ export interface CreateTeamRequest {
637
+ name: string;
638
+ }
639
+ export interface GetTeamRequest {
640
+ team_id: string;
641
+ }
642
+ export interface ListTeamsRequest {
643
+ }
644
+ export interface ListTeamsResponse {
645
+ items: Team[];
646
+ }
647
+ export interface UpdateTeamRequest {
648
+ team_id: string;
649
+ name: string;
650
+ }
651
+ export interface DeleteTeamRequest {
652
+ team_id: string;
653
+ }
654
+ export interface DeleteTeamResponse {
655
+ }
656
+ export interface CreateTeamInviteRequest {
657
+ team_id: string;
658
+ email: string;
659
+ expires_in_hours?: number | undefined;
660
+ role: TeamRole;
661
+ }
662
+ export interface ListTeamInvitesRequest {
663
+ team_id: string;
664
+ }
665
+ export interface ListTeamInvitesResponse {
666
+ items: TeamInvite[];
667
+ }
668
+ export interface DeleteTeamInviteRequest {
669
+ invite_id: string;
670
+ }
671
+ export interface DeleteTeamInviteResponse {
672
+ }
673
+ export interface AcceptTeamInviteRequest {
674
+ token: string;
675
+ }
676
+ export interface ResendTeamInviteRequest {
677
+ invite_id: string;
678
+ }
679
+ export interface LeaveTeamRequest {
680
+ team_id: string;
681
+ }
682
+ export interface LeaveTeamResponse {
683
+ }
684
+ export interface RemoveTeamMemberRequest {
685
+ team_id: string;
686
+ member_email: string;
687
+ }
688
+ export interface RemoveTeamMemberResponse {
689
+ }
690
+ export interface UpdateTeamMemberRoleRequest {
691
+ team_id: string;
692
+ member_email: string;
693
+ role: TeamRole;
694
+ }
695
+ export interface ListTeamMembersRequest {
696
+ team_id: string;
697
+ }
698
+ export interface ListTeamMembersResponse {
699
+ items: TeamMember[];
700
+ }
623
701
  export interface Autoscout {
624
702
  GetConfigSchema(request: GetConfigSchemaRequest): Promise<ConfigSchema>;
625
703
  /** Creating blockscout instance with config */
@@ -677,15 +755,24 @@ export interface Autoscout {
677
755
  SearchUsers(request: SearchUsersRequest): Promise<SearchUsersResponse>;
678
756
  ListDeposits(request: ListDepositsRequest): Promise<ListDepositsResponse>;
679
757
  PreviewDeposit(request: PreviewDepositRequest): Promise<PreviewDepositResponse>;
680
- CreateCoinbaseDeposit(request: CreateCoinbaseDepositRequest): Promise<CreateCoinbaseDepositResponse>;
681
- GetCoinbaseDeposit(request: GetCoinbaseDepositRequest): Promise<Deposit>;
682
- ListCoinbaseDeposits(request: ListCoinbaseDepositsRequest): Promise<ListCoinbaseDepositsResponse>;
683
- DeleteCoinbaseDeposit(request: DeleteCoinbaseDepositRequest): Promise<DeleteCoinbaseDepositResponse>;
684
- CreateDaimoDeposit(request: CreateDaimoDepositRequest): Promise<CreateDaimoDepositResponse>;
685
758
  CreateRequestNetworkDeposit(request: CreateRequestNetworkDepositRequest): Promise<CreateRequestNetworkDepositResponse>;
686
759
  CreateStripeDeposit(request: CreateStripeDepositRequest): Promise<CreateStripeDepositResponse>;
687
760
  CreateStripeSubscription(request: CreateStripeSubscriptionRequest): Promise<CreateStripeSubscriptionResponse>;
688
761
  CancelStripeSubscription(request: CancelStripeSubscriptionRequest): Promise<CancelStripeSubscriptionResponse>;
689
762
  GetStripeSubscriptionStatus(request: GetStripeSubscriptionStatusRequest): Promise<GetStripeSubscriptionStatusResponse>;
690
763
  GetStripeCustomerPortal(request: GetStripeCustomerPortalRequest): Promise<GetStripeCustomerPortalResponse>;
764
+ CreateTeam(request: CreateTeamRequest): Promise<Team>;
765
+ GetTeam(request: GetTeamRequest): Promise<Team>;
766
+ ListTeams(request: ListTeamsRequest): Promise<ListTeamsResponse>;
767
+ UpdateTeam(request: UpdateTeamRequest): Promise<Team>;
768
+ DeleteTeam(request: DeleteTeamRequest): Promise<DeleteTeamResponse>;
769
+ CreateTeamInvite(request: CreateTeamInviteRequest): Promise<TeamInvite>;
770
+ ListTeamInvites(request: ListTeamInvitesRequest): Promise<ListTeamInvitesResponse>;
771
+ DeleteTeamInvite(request: DeleteTeamInviteRequest): Promise<DeleteTeamInviteResponse>;
772
+ AcceptTeamInvite(request: AcceptTeamInviteRequest): Promise<Team>;
773
+ ResendTeamInvite(request: ResendTeamInviteRequest): Promise<TeamInvite>;
774
+ LeaveTeam(request: LeaveTeamRequest): Promise<LeaveTeamResponse>;
775
+ RemoveTeamMember(request: RemoveTeamMemberRequest): Promise<RemoveTeamMemberResponse>;
776
+ UpdateTeamMemberRole(request: UpdateTeamMemberRoleRequest): Promise<Team>;
777
+ ListTeamMembers(request: ListTeamMembersRequest): Promise<ListTeamMembersResponse>;
691
778
  }
@@ -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 v4.23.4
5
+ // protoc v5.27.0
6
6
  // source: v1/autoscout.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.BillingSubscriptionStatus = exports.BillingProviderType = exports.PluginEventType = exports.PluginStatus = exports.PluginVariant = exports.DepositType = exports.DepositStatus = exports.UpdateInstanceAction = exports.DeploymentStatus = void 0;
8
+ exports.BillingSubscriptionStatus = exports.BillingProviderType = 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";
@@ -62,11 +62,18 @@ var PluginEventType;
62
62
  PluginEventType["STATUS_CHANGE"] = "PLUGIN_EVENT_TYPE_STATUS_CHANGE";
63
63
  PluginEventType["HEALTH_CHANGE"] = "PLUGIN_EVENT_TYPE_HEALTH_CHANGE";
64
64
  })(PluginEventType || (exports.PluginEventType = PluginEventType = {}));
65
+ var TeamRole;
66
+ (function (TeamRole) {
67
+ TeamRole["UNSPECIFIED_TEAM_ROLE"] = "UNSPECIFIED_TEAM_ROLE";
68
+ TeamRole["OWNER"] = "TEAM_ROLE_OWNER";
69
+ TeamRole["ADMIN"] = "TEAM_ROLE_ADMIN";
70
+ TeamRole["EDITOR"] = "TEAM_ROLE_EDITOR";
71
+ TeamRole["VIEWER"] = "TEAM_ROLE_VIEWER";
72
+ })(TeamRole || (exports.TeamRole = TeamRole = {}));
65
73
  var BillingProviderType;
66
74
  (function (BillingProviderType) {
67
75
  BillingProviderType["UNSPECIFIED_BILLING_PROVIDER_TYPE"] = "UNSPECIFIED_BILLING_PROVIDER_TYPE";
68
76
  BillingProviderType["STRIPE"] = "BILLING_PROVIDER_TYPE_STRIPE";
69
- BillingProviderType["DAIMO"] = "BILLING_PROVIDER_TYPE_DAIMO";
70
77
  })(BillingProviderType || (exports.BillingProviderType = BillingProviderType = {}));
71
78
  var BillingSubscriptionStatus;
72
79
  (function (BillingSubscriptionStatus) {
@@ -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 v4.23.4
4
+ // protoc v5.27.0
5
5
  // source: v1/autoscout.proto
6
6
 
7
7
  /* eslint-disable */
@@ -64,10 +64,17 @@ export enum PluginEventType {
64
64
  HEALTH_CHANGE = "PLUGIN_EVENT_TYPE_HEALTH_CHANGE",
65
65
  }
66
66
 
67
+ export enum TeamRole {
68
+ UNSPECIFIED_TEAM_ROLE = "UNSPECIFIED_TEAM_ROLE",
69
+ OWNER = "TEAM_ROLE_OWNER",
70
+ ADMIN = "TEAM_ROLE_ADMIN",
71
+ EDITOR = "TEAM_ROLE_EDITOR",
72
+ VIEWER = "TEAM_ROLE_VIEWER",
73
+ }
74
+
67
75
  export enum BillingProviderType {
68
76
  UNSPECIFIED_BILLING_PROVIDER_TYPE = "UNSPECIFIED_BILLING_PROVIDER_TYPE",
69
77
  STRIPE = "BILLING_PROVIDER_TYPE_STRIPE",
70
- DAIMO = "BILLING_PROVIDER_TYPE_DAIMO",
71
78
  }
72
79
 
73
80
  export enum BillingSubscriptionStatus {
@@ -101,6 +108,7 @@ export interface Instance {
101
108
  config: DeployConfig | undefined;
102
109
  config_state_hash: string;
103
110
  deployment: Deployment | undefined;
111
+ team_id: string;
104
112
  }
105
113
 
106
114
  export interface Deployment {
@@ -169,6 +177,8 @@ export interface UserProfile {
169
177
  balance: string;
170
178
  recent_actions: UserAction[];
171
179
  most_expensive_instances: MostExpensiveInstances | undefined;
180
+ name?: string | undefined;
181
+ avatar_url?: string | undefined;
172
182
  }
173
183
 
174
184
  export interface User {
@@ -176,6 +186,8 @@ export interface User {
176
186
  project_title?: string | undefined;
177
187
  created_at: string;
178
188
  balance: string;
189
+ name?: string | undefined;
190
+ avatar_url?: string | undefined;
179
191
  }
180
192
 
181
193
  export interface MostExpensiveInstances {
@@ -221,6 +233,27 @@ export interface PromotionEffect {
221
233
  reward_limit?: string | undefined;
222
234
  }
223
235
 
236
+ export interface Team {
237
+ team_id: string;
238
+ name: string;
239
+ created_at: string;
240
+ user_role: TeamRole;
241
+ }
242
+
243
+ export interface TeamMember {
244
+ email: string;
245
+ role: TeamRole;
246
+ joined_at: string;
247
+ }
248
+
249
+ export interface TeamInvite {
250
+ invite_id: string;
251
+ invitee_email: string;
252
+ created_at: string;
253
+ expires_at?: string | undefined;
254
+ role: TeamRole;
255
+ }
256
+
224
257
  export interface PaginationResult {
225
258
  page: number;
226
259
  next_page?: number | undefined;
@@ -237,6 +270,8 @@ export interface CreateInstanceRequest {
237
270
  /** initial config */
238
271
  config: DeployConfig | undefined;
239
272
  skip_validation_for_fields: string[];
273
+ /** When unset, the user's default (oldest owned) team is used. */
274
+ team_id?: string | undefined;
240
275
  }
241
276
 
242
277
  export interface CreateInstanceResponse {
@@ -324,6 +359,7 @@ export interface GetInstanceRequest {
324
359
  export interface ListInstancesRequest {
325
360
  page?: number | undefined;
326
361
  per_page?: number | undefined;
362
+ team_id?: string | undefined;
327
363
  }
328
364
 
329
365
  export interface ListInstancesResponse {
@@ -455,9 +491,11 @@ export interface ListPluginLogsResponse {
455
491
  }
456
492
 
457
493
  export interface GetProfileRequest {
494
+ team_id?: string | undefined;
458
495
  }
459
496
 
460
497
  export interface GetBillingRequest {
498
+ team_id?: string | undefined;
461
499
  }
462
500
 
463
501
  export interface PayAsYouGoEstimation {
@@ -599,6 +637,7 @@ export interface AcceptTermsOfServiceRequest {
599
637
 
600
638
  export interface RegularPromocodeRequest {
601
639
  promocode: string;
640
+ team_id?: string | undefined;
602
641
  }
603
642
 
604
643
  export interface RegularPromocodeResponse {
@@ -632,37 +671,10 @@ export interface SearchUsersResponse {
632
671
  pagination: PaginationResult | undefined;
633
672
  }
634
673
 
635
- export interface CreateCoinbaseDepositRequest {
636
- amount_cents: number;
637
- promocode?: string | undefined;
638
- }
639
-
640
- export interface CreateCoinbaseDepositResponse {
641
- id: string;
642
- url: string;
643
- }
644
-
645
- export interface GetCoinbaseDepositRequest {
646
- deposit_id: string;
647
- }
648
-
649
- export interface ListCoinbaseDepositsRequest {
650
- }
651
-
652
- export interface ListCoinbaseDepositsResponse {
653
- items: Deposit[];
654
- }
655
-
656
- export interface DeleteCoinbaseDepositRequest {
657
- deposit_id: string;
658
- }
659
-
660
- export interface DeleteCoinbaseDepositResponse {
661
- }
662
-
663
674
  export interface CreateStripeDepositRequest {
664
675
  amount_cents: number;
665
676
  promocode?: string | undefined;
677
+ team_id?: string | undefined;
666
678
  }
667
679
 
668
680
  export interface CreateStripeDepositResponse {
@@ -670,19 +682,10 @@ export interface CreateStripeDepositResponse {
670
682
  url: string;
671
683
  }
672
684
 
673
- export interface CreateDaimoDepositRequest {
674
- amount_cents: number;
675
- promocode?: string | undefined;
676
- }
677
-
678
- export interface CreateDaimoDepositResponse {
679
- id: string;
680
- url: string;
681
- }
682
-
683
685
  export interface CreateRequestNetworkDepositRequest {
684
686
  amount_cents: number;
685
687
  promocode?: string | undefined;
688
+ team_id?: string | undefined;
686
689
  }
687
690
 
688
691
  export interface CreateRequestNetworkDepositResponse {
@@ -692,6 +695,7 @@ export interface CreateRequestNetworkDepositResponse {
692
695
 
693
696
  export interface CreateStripeSubscriptionRequest {
694
697
  success_redirect_url: string;
698
+ team_id?: string | undefined;
695
699
  }
696
700
 
697
701
  export interface CreateStripeSubscriptionResponse {
@@ -699,12 +703,14 @@ export interface CreateStripeSubscriptionResponse {
699
703
  }
700
704
 
701
705
  export interface CancelStripeSubscriptionRequest {
706
+ team_id?: string | undefined;
702
707
  }
703
708
 
704
709
  export interface CancelStripeSubscriptionResponse {
705
710
  }
706
711
 
707
712
  export interface GetStripeSubscriptionStatusRequest {
713
+ team_id?: string | undefined;
708
714
  }
709
715
 
710
716
  export interface GetStripeSubscriptionStatusResponse {
@@ -715,6 +721,7 @@ export interface GetStripeSubscriptionStatusResponse {
715
721
  }
716
722
 
717
723
  export interface GetStripeCustomerPortalRequest {
724
+ team_id?: string | undefined;
718
725
  }
719
726
 
720
727
  export interface GetStripeCustomerPortalResponse {
@@ -725,6 +732,7 @@ export interface ListDepositsRequest {
725
732
  page?: number | undefined;
726
733
  per_page?: number | undefined;
727
734
  type: DepositType;
735
+ team_id?: string | undefined;
728
736
  }
729
737
 
730
738
  export interface ListDepositsResponse {
@@ -743,6 +751,92 @@ export interface PreviewDepositResponse {
743
751
  promotion_effect?: PromotionEffect | undefined;
744
752
  }
745
753
 
754
+ export interface CreateTeamRequest {
755
+ name: string;
756
+ }
757
+
758
+ export interface GetTeamRequest {
759
+ team_id: string;
760
+ }
761
+
762
+ export interface ListTeamsRequest {
763
+ }
764
+
765
+ export interface ListTeamsResponse {
766
+ items: Team[];
767
+ }
768
+
769
+ export interface UpdateTeamRequest {
770
+ team_id: string;
771
+ name: string;
772
+ }
773
+
774
+ export interface DeleteTeamRequest {
775
+ team_id: string;
776
+ }
777
+
778
+ export interface DeleteTeamResponse {
779
+ }
780
+
781
+ export interface CreateTeamInviteRequest {
782
+ team_id: string;
783
+ email: string;
784
+ expires_in_hours?: number | undefined;
785
+ role: TeamRole;
786
+ }
787
+
788
+ export interface ListTeamInvitesRequest {
789
+ team_id: string;
790
+ }
791
+
792
+ export interface ListTeamInvitesResponse {
793
+ items: TeamInvite[];
794
+ }
795
+
796
+ export interface DeleteTeamInviteRequest {
797
+ invite_id: string;
798
+ }
799
+
800
+ export interface DeleteTeamInviteResponse {
801
+ }
802
+
803
+ export interface AcceptTeamInviteRequest {
804
+ token: string;
805
+ }
806
+
807
+ export interface ResendTeamInviteRequest {
808
+ invite_id: string;
809
+ }
810
+
811
+ export interface LeaveTeamRequest {
812
+ team_id: string;
813
+ }
814
+
815
+ export interface LeaveTeamResponse {
816
+ }
817
+
818
+ export interface RemoveTeamMemberRequest {
819
+ team_id: string;
820
+ member_email: string;
821
+ }
822
+
823
+ export interface RemoveTeamMemberResponse {
824
+ }
825
+
826
+ export interface UpdateTeamMemberRoleRequest {
827
+ team_id: string;
828
+ member_email: string;
829
+ role: TeamRole;
830
+ }
831
+
832
+ export interface ListTeamMembersRequest {
833
+ team_id: string;
834
+ }
835
+
836
+ export interface ListTeamMembersResponse {
837
+ items: TeamMember[];
838
+ }
839
+
746
840
  export interface Autoscout {
747
841
  GetConfigSchema(request: GetConfigSchemaRequest): Promise<ConfigSchema>;
748
842
  /** Creating blockscout instance with config */
@@ -802,11 +896,6 @@ export interface Autoscout {
802
896
  SearchUsers(request: SearchUsersRequest): Promise<SearchUsersResponse>;
803
897
  ListDeposits(request: ListDepositsRequest): Promise<ListDepositsResponse>;
804
898
  PreviewDeposit(request: PreviewDepositRequest): Promise<PreviewDepositResponse>;
805
- CreateCoinbaseDeposit(request: CreateCoinbaseDepositRequest): Promise<CreateCoinbaseDepositResponse>;
806
- GetCoinbaseDeposit(request: GetCoinbaseDepositRequest): Promise<Deposit>;
807
- ListCoinbaseDeposits(request: ListCoinbaseDepositsRequest): Promise<ListCoinbaseDepositsResponse>;
808
- DeleteCoinbaseDeposit(request: DeleteCoinbaseDepositRequest): Promise<DeleteCoinbaseDepositResponse>;
809
- CreateDaimoDeposit(request: CreateDaimoDepositRequest): Promise<CreateDaimoDepositResponse>;
810
899
  CreateRequestNetworkDeposit(
811
900
  request: CreateRequestNetworkDepositRequest,
812
901
  ): Promise<CreateRequestNetworkDepositResponse>;
@@ -817,4 +906,18 @@ export interface Autoscout {
817
906
  request: GetStripeSubscriptionStatusRequest,
818
907
  ): Promise<GetStripeSubscriptionStatusResponse>;
819
908
  GetStripeCustomerPortal(request: GetStripeCustomerPortalRequest): Promise<GetStripeCustomerPortalResponse>;
909
+ CreateTeam(request: CreateTeamRequest): Promise<Team>;
910
+ GetTeam(request: GetTeamRequest): Promise<Team>;
911
+ ListTeams(request: ListTeamsRequest): Promise<ListTeamsResponse>;
912
+ UpdateTeam(request: UpdateTeamRequest): Promise<Team>;
913
+ DeleteTeam(request: DeleteTeamRequest): Promise<DeleteTeamResponse>;
914
+ CreateTeamInvite(request: CreateTeamInviteRequest): Promise<TeamInvite>;
915
+ ListTeamInvites(request: ListTeamInvitesRequest): Promise<ListTeamInvitesResponse>;
916
+ DeleteTeamInvite(request: DeleteTeamInviteRequest): Promise<DeleteTeamInviteResponse>;
917
+ AcceptTeamInvite(request: AcceptTeamInviteRequest): Promise<Team>;
918
+ ResendTeamInvite(request: ResendTeamInviteRequest): Promise<TeamInvite>;
919
+ LeaveTeam(request: LeaveTeamRequest): Promise<LeaveTeamResponse>;
920
+ RemoveTeamMember(request: RemoveTeamMemberRequest): Promise<RemoveTeamMemberResponse>;
921
+ UpdateTeamMemberRole(request: UpdateTeamMemberRoleRequest): Promise<Team>;
922
+ ListTeamMembers(request: ListTeamMembersRequest): Promise<ListTeamMembersResponse>;
820
923
  }
@@ -369,4 +369,5 @@ export interface UserOpsEntrypointConfig {
369
369
  }
370
370
  export interface AdminServicePluginConfig {
371
371
  enabled: boolean;
372
+ initial_password?: string | undefined;
372
373
  }
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 v4.23.4
5
+ // protoc v5.27.0
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 v4.23.4
4
+ // protoc v5.27.0
5
5
  // source: v1/config.proto
6
6
 
7
7
  /* eslint-disable */
@@ -517,4 +517,5 @@ export interface UserOpsEntrypointConfig {
517
517
 
518
518
  export interface AdminServicePluginConfig {
519
519
  enabled: boolean;
520
+ initial_password?: string | undefined;
520
521
  }
@@ -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 v4.23.4
5
+ // protoc v5.27.0
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 v4.23.4
4
+ // protoc v5.27.0
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.13.1",
3
+ "version": "1.14.0-alpha.1",
4
4
  "description": "TypeScript definitions for Autoscout microservice",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",