mobbdev 1.1.45 → 1.2.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/LICENSE +1 -1
- package/dist/index.mjs +418 -75
- package/package.json +5 -2
- package/src/features/codeium_intellij/proto/buf/validate/validate.proto +504 -0
- package/src/features/codeium_intellij/proto/exa/auto_cascade_common_pb/auto_cascade_common.proto +81 -0
- package/src/features/codeium_intellij/proto/exa/bug_checker_pb/bug_checker.proto +24 -0
- package/src/features/codeium_intellij/proto/exa/cascade_plugins_pb/cascade_plugins.proto +108 -0
- package/src/features/codeium_intellij/proto/exa/chat_client_server_pb/chat_client_server.proto +56 -0
- package/src/features/codeium_intellij/proto/exa/chat_pb/chat.proto +457 -0
- package/src/features/codeium_intellij/proto/exa/code_edit/code_edit_pb/code_edit.proto +191 -0
- package/src/features/codeium_intellij/proto/exa/codeium_common_pb/codeium_common.proto +3783 -0
- package/src/features/codeium_intellij/proto/exa/context_module_pb/context_module.proto +172 -0
- package/src/features/codeium_intellij/proto/exa/cortex_pb/cortex.proto +3604 -0
- package/src/features/codeium_intellij/proto/exa/diff_action_pb/diff_action.proto +73 -0
- package/src/features/codeium_intellij/proto/exa/extension_server_pb/extension_server.proto +565 -0
- package/src/features/codeium_intellij/proto/exa/index_pb/index.proto +474 -0
- package/src/features/codeium_intellij/proto/exa/knowledge_base_pb/knowledge_base.proto +149 -0
- package/src/features/codeium_intellij/proto/exa/language_server_pb/language_server.proto +2504 -0
- package/src/features/codeium_intellij/proto/exa/opensearch_clients_pb/opensearch_clients.proto +505 -0
- package/src/features/codeium_intellij/proto/exa/product_analytics_pb/product_analytics.proto +31 -0
- package/src/features/codeium_intellij/proto/exa/reactive_component_pb/reactive_component.proto +104 -0
- package/src/features/codeium_intellij/proto/exa/seat_management_pb/seat_management.proto +2349 -0
|
@@ -0,0 +1,2349 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package exa.seat_management_pb;
|
|
4
|
+
|
|
5
|
+
import "buf/validate/validate.proto";
|
|
6
|
+
import "exa/codeium_common_pb/codeium_common.proto";
|
|
7
|
+
import "google/protobuf/timestamp.proto";
|
|
8
|
+
|
|
9
|
+
option go_package = "github.com/Exafunction/Exafunction/exa/seat_management_pb";
|
|
10
|
+
|
|
11
|
+
service SeatManagementService {
|
|
12
|
+
rpc GetUserStatus(GetUserStatusRequest) returns (GetUserStatusResponse);
|
|
13
|
+
rpc GetUsers(GetUsersRequest) returns (GetUsersResponse);
|
|
14
|
+
rpc GetRolesForUser(GetRolesForUserRequest) returns (GetRolesForUserResponse);
|
|
15
|
+
rpc AddUserRole(AddUserRoleRequest) returns (AddUserRoleResponse);
|
|
16
|
+
rpc RemoveUserRole(RemoveUserRoleRequest) returns (RemoveUserRoleResponse);
|
|
17
|
+
rpc RegisterUser(RegisterUserRequest) returns (RegisterUserResponse);
|
|
18
|
+
rpc MigrateApiKey(MigrateApiKeyRequest) returns (MigrateApiKeyResponse);
|
|
19
|
+
rpc CreateFbUser(CreateFbUserRequest) returns (CreateFbUserResponse);
|
|
20
|
+
rpc GetOneTimeAuthToken(GetOneTimeAuthTokenRequest) returns (GetOneTimeAuthTokenResponse);
|
|
21
|
+
rpc CreatePKCEAuthorizationCode(CreatePKCEAuthorizationCodeRequest) returns (CreatePKCEAuthorizationCodeResponse);
|
|
22
|
+
rpc ExchangePKCEAuthorizationCode(ExchangePKCEAuthorizationCodeRequest) returns (ExchangePKCEAuthorizationCodeResponse);
|
|
23
|
+
rpc UpdateName(UpdateNameRequest) returns (UpdateNameResponse);
|
|
24
|
+
rpc UpdateInboundSource(UpdateInboundSourceRequest) returns (UpdateInboundSourceResponse);
|
|
25
|
+
rpc GetProfilePicturePresignedUploadUrl(GetProfilePicturePresignedUploadUrlRequest) returns (GetProfilePicturePresignedUploadUrlResponse);
|
|
26
|
+
rpc ProfilePictureUploadComplete(ProfilePictureUploadCompleteRequest) returns (ProfilePictureUploadCompleteResponse);
|
|
27
|
+
rpc GetProfileData(GetProfileDataRequest) returns (GetProfileDataResponse);
|
|
28
|
+
rpc DeleteProfilePicture(DeleteProfilePictureRequest) returns (DeleteProfilePictureResponse);
|
|
29
|
+
rpc DeleteUser(DeleteUserRequest) returns (DeleteUserResponse);
|
|
30
|
+
rpc UpdateCodeiumAccess(UpdateCodeiumAccessRequest) returns (UpdateCodeiumAccessResponse);
|
|
31
|
+
rpc GetCurrentUser(GetCurrentUserRequest) returns (GetCurrentUserResponse);
|
|
32
|
+
rpc GetLicense(GetLicenseRequest) returns (GetLicenseResponse);
|
|
33
|
+
rpc RequestTeamAccess(RequestTeamAccessRequest) returns (RequestTeamAccessResponse);
|
|
34
|
+
rpc UpdateUserTeamStatus(UpdateUserTeamStatusRequest) returns (UpdateUserTeamStatusResponse);
|
|
35
|
+
rpc GetTeamMetadata(GetTeamMetadataRequest) returns (GetTeamMetadataResponse);
|
|
36
|
+
rpc RemoveUserFromTeam(RemoveUserFromTeamRequest) returns (RemoveUserFromTeamResponse);
|
|
37
|
+
rpc RefreshTeamInviteId(RefreshTeamInviteIdRequest) returns (RefreshTeamInviteIdResponse);
|
|
38
|
+
rpc GrantPreapproval(GrantPreapprovalRequest) returns (GrantPreapprovalResponse);
|
|
39
|
+
rpc RevokePreapproval(RevokePreapprovalRequest) returns (RevokePreapprovalResponse);
|
|
40
|
+
rpc GetPreapprovals(GetPreapprovalsRequest) returns (GetPreapprovalsResponse);
|
|
41
|
+
rpc GetPreapprovalMetadata(GetPreapprovalMetadataRequest) returns (GetPreapprovalMetadataResponse);
|
|
42
|
+
rpc AcceptPreapproval(AcceptPreapprovalRequest) returns (AcceptPreapprovalResponse);
|
|
43
|
+
rpc RejectPreapproval(RejectPreapprovalRequest) returns (RejectPreapprovalResponse);
|
|
44
|
+
rpc GetPreapprovalForUser(GetPreapprovalForUserRequest) returns (GetPreapprovalForUserResponse);
|
|
45
|
+
rpc UpdateSeats(UpdateSeatsRequest) returns (UpdateSeatsResponse);
|
|
46
|
+
rpc SubscribeToPlan(SubscribeToPlanRequest) returns (SubscribeToPlanResponse);
|
|
47
|
+
rpc PurchaseCascadeCredits(PurchaseCascadeCreditsRequest) returns (PurchaseCascadeCreditsResponse);
|
|
48
|
+
rpc GetTeamBilling(GetTeamBillingRequest) returns (GetTeamBillingResponse);
|
|
49
|
+
rpc UpdatePlan(UpdatePlanRequest) returns (UpdatePlanResponse);
|
|
50
|
+
rpc CancelPlan(CancelPlanRequest) returns (CancelPlanResponse);
|
|
51
|
+
rpc UpdateBilling(UpdateBillingRequest) returns (UpdateBillingResponse);
|
|
52
|
+
rpc GetCustomerPortal(GetCustomerPortalRequest) returns (GetCustomerPortalResponse);
|
|
53
|
+
rpc GetUserSubscription(GetUserSubscriptionRequest) returns (GetUserSubscriptionResponse);
|
|
54
|
+
rpc IsUsernameAvailable(IsUsernameAvailableRequest) returns (IsUsernameAvailableResponse);
|
|
55
|
+
rpc UpdateUsername(UpdateUsernameRequest) returns (UpdateUsernameResponse);
|
|
56
|
+
rpc UpdateOccupation(UpdateOccupationRequest) returns (UpdateOccupationResponse);
|
|
57
|
+
rpc UpdateProfile(UpdateProfileRequest) returns (UpdateProfileResponse);
|
|
58
|
+
rpc UpdateProfileVisibility(UpdateProfileVisibilityRequest) returns (UpdateProfileVisibilityResponse);
|
|
59
|
+
rpc GetPublicProfile(GetPublicProfileRequest) returns (GetPublicProfileResponse);
|
|
60
|
+
rpc GetSSOProvider(GetSSOProviderRequest) returns (GetSSOProviderResponse);
|
|
61
|
+
rpc SaveSSOProvider(SaveSSOProviderRequest) returns (SaveSSOProviderResponse);
|
|
62
|
+
rpc JoinTeamWithSSOLogin(JoinTeamWithSSOLoginRequest) returns (JoinTeamWithSSOLoginResponse);
|
|
63
|
+
rpc UserSSOLoginRedirect(UserSSOLoginRedirectRequest) returns (UserSSOLoginRedirectResponse);
|
|
64
|
+
rpc CheckEmailForSSO(CheckEmailForSSORequest) returns (CheckEmailForSSOResponse);
|
|
65
|
+
rpc SendPhoneVerification(SendPhoneVerificationRequest) returns (SendPhoneVerificationResponse);
|
|
66
|
+
rpc SendEmailVerification(SendEmailVerificationRequest) returns (SendEmailVerificationResponse);
|
|
67
|
+
rpc GetTeamActivity(GetTeamActivityRequest) returns (GetTeamActivityResponse);
|
|
68
|
+
rpc DeleteTeam(DeleteTeamRequest) returns (DeleteTeamResponse);
|
|
69
|
+
rpc GetTeamsFeatures(GetTeamsFeaturesRequest) returns (GetTeamsFeaturesResponse);
|
|
70
|
+
rpc GrantSuperAdminAccess(GrantSuperAdminAccessRequest) returns (GrantSuperAdminAccessResponse);
|
|
71
|
+
rpc GrantTeamAdminAccess(GrantTeamAdminAccessRequest) returns (GrantTeamAdminAccessResponse);
|
|
72
|
+
rpc AddFlexCreditsToMultiTenantTeam(AddFlexCreditsToMultiTenantTeamRequest) returns (AddFlexCreditsToMultiTenantTeamResponse);
|
|
73
|
+
rpc GetGroups(GetGroupsRequest) returns (GetGroupsResponse);
|
|
74
|
+
rpc GetUserNotifications(GetUserNotificationsRequest) returns (GetUserNotificationsResponse);
|
|
75
|
+
rpc GetCascadeAnalytics(GetCascadeAnalyticsRequest) returns (GetCascadeAnalyticsResponse);
|
|
76
|
+
rpc GetTeamCreditEntries(GetTeamCreditEntriesRequest) returns (GetTeamCreditEntriesResponse);
|
|
77
|
+
rpc UpdateCreditTopUpSettings(UpdateCreditTopUpSettingsRequest) returns (UpdateCreditTopUpSettingsResponse);
|
|
78
|
+
rpc GetPrimaryApiKeyForDevsOnly(GetPrimaryApiKeyForDevsOnlyRequest) returns (GetPrimaryApiKeyForDevsOnlyResponse);
|
|
79
|
+
rpc ConnectGithubAccount(ConnectGithubAccountRequest) returns (ConnectGithubAccountResponse);
|
|
80
|
+
rpc DisconnectGithubAccount(DisconnectGithubAccountRequest) returns (DisconnectGithubAccountResponse);
|
|
81
|
+
rpc GetGitHubAccountStatus(GetGitHubAccountStatusRequest) returns (GetGitHubAccountStatusResponse);
|
|
82
|
+
rpc GetGitHubAccessToken(GetGitHubAccessTokenRequest) returns (GetGitHubAccessTokenResponse);
|
|
83
|
+
rpc ConnectNetlifyAccount(ConnectNetlifyAccountRequest) returns (ConnectNetlifyAccountResponse);
|
|
84
|
+
rpc DisconnectNetlifyAccount(DisconnectNetlifyAccountRequest) returns (DisconnectNetlifyAccountResponse);
|
|
85
|
+
rpc GetNetlifyAccountStatus(GetNetlifyAccountStatusRequest) returns (GetNetlifyAccountStatusResponse);
|
|
86
|
+
rpc CreateTeamApiSecret(CreateTeamApiSecretRequest) returns (CreateTeamApiSecretResponse);
|
|
87
|
+
rpc UpdateTeamApiSecret(UpdateTeamApiSecretRequest) returns (UpdateTeamApiSecretResponse);
|
|
88
|
+
rpc GetAllTeamApiSecrets(GetAllTeamApiSecretsRequest) returns (GetAllTeamApiSecretsResponse);
|
|
89
|
+
rpc DeleteTeamApiSecret(DeleteTeamApiSecretRequest) returns (DeleteTeamApiSecretResponse);
|
|
90
|
+
rpc GetPlanStatus(GetPlanStatusRequest) returns (GetPlanStatusResponse);
|
|
91
|
+
rpc CreateRole(CreateRoleRequest) returns (CreateRoleResponse);
|
|
92
|
+
rpc DeleteRole(DeleteRoleRequest) returns (DeleteRoleResponse);
|
|
93
|
+
rpc UpdateRole(UpdateRoleRequest) returns (UpdateRoleResponse);
|
|
94
|
+
rpc GetRoles(GetRolesRequest) returns (GetRolesResponse);
|
|
95
|
+
rpc ProvisionTeam(ProvisionTeamRequest) returns (ProvisionTeamResponse);
|
|
96
|
+
rpc ProvisionCascadeSeats(ProvisionCascadeSeatsRequest) returns (ProvisionCascadeSeatsResponse);
|
|
97
|
+
rpc AddUsersToTeam(AddUsersToTeamRequest) returns (AddUsersToTeamResponse);
|
|
98
|
+
rpc UpdateUserRoles(UpdateUserRolesRequest) returns (UpdateUserRolesResponse);
|
|
99
|
+
rpc BulkUpdateUserRoles(BulkUpdateUserRolesRequest) returns (BulkUpdateUserRolesResponse);
|
|
100
|
+
rpc GetTeamsFeaturesInternal(GetTeamsFeaturesInternalRequest) returns (GetTeamsFeaturesInternalResponse);
|
|
101
|
+
rpc UpdateTeamsFeaturesInternal(UpdateTeamsFeaturesInternalRequest) returns (UpdateTeamsFeaturesInternalResponse);
|
|
102
|
+
rpc SetTeamsFeatures(SetTeamsFeaturesRequest) returns (SetTeamsFeaturesResponse);
|
|
103
|
+
rpc UpdateUserFeaturesInternal(UpdateUserFeaturesInternalRequest) returns (UpdateUserFeaturesInternalResponse);
|
|
104
|
+
rpc BulkEditUserApprovals(BulkEditUserApprovalsRequest) returns (BulkEditUserApprovalsResponse);
|
|
105
|
+
rpc BulkEditUserApprovalsInternal(BulkEditUserApprovalsInternalRequest) returns (BulkEditUserApprovalsInternalResponse);
|
|
106
|
+
rpc CreateEnterprise(CreateEnterpriseRequest) returns (CreateEnterpriseResponse);
|
|
107
|
+
rpc UpdateEnterprise(UpdateEnterpriseRequest) returns (UpdateEnterpriseResponse);
|
|
108
|
+
rpc UpdateTeamConfig(UpdateTeamConfigRequest) returns (UpdateTeamConfigResponse);
|
|
109
|
+
rpc GetTeamInfo(GetTeamInfoRequest) returns (GetTeamInfoResponse);
|
|
110
|
+
rpc UpdatePlanDetailsInternal(UpdatePlanDetailsInternalRequest) returns (UpdatePlanDetailsInternalResponse);
|
|
111
|
+
rpc InitiateTopUp(InitiateTopUpRequest) returns (InitiateTopUpResponse);
|
|
112
|
+
rpc UpdateTeamConfigExternal(UpdateTeamConfigExternalRequest) returns (UpdateTeamConfigExternalResponse);
|
|
113
|
+
rpc GetTeamConfigRecord(GetTeamConfigRecordRequest) returns (GetTeamConfigRecordResponse);
|
|
114
|
+
rpc UsageConfig(UsageConfigRequest) returns (UsageConfigResponse);
|
|
115
|
+
rpc GetUsageConfig(GetUsageConfigRequest) returns (GetUsageConfigResponse);
|
|
116
|
+
rpc GetTeamSettings(GetTeamSettingsRequest) returns (GetTeamSettingsResponse);
|
|
117
|
+
rpc UpdateCascadeWebSearchEnabled(UpdateCascadeWebSearchEnabledRequest) returns (UpdateCascadeWebSearchEnabledResponse);
|
|
118
|
+
rpc CreateMultiTenantTeam(CreateMultiTenantTeamRequest) returns (CreateMultiTenantTeamResponse);
|
|
119
|
+
rpc GetMultiTenantTeams(GetMultiTenantTeamsRequest) returns (GetMultiTenantTeamsResponse);
|
|
120
|
+
rpc DeleteMultiTenantTeam(DeleteMultiTenantTeamRequest) returns (DeleteMultiTenantTeamResponse);
|
|
121
|
+
rpc GetTeamOrgId(GetTeamOrgIdRequest) returns (GetTeamOrgIdResponse);
|
|
122
|
+
rpc GetMucsInfo(GetMucsInfoRequest) returns (GetMucsInfoResponse);
|
|
123
|
+
rpc GetWrapped2024(GetWrapped2024Request) returns (GetWrapped2024Response);
|
|
124
|
+
rpc SetTeamLicense(SetTeamLicenseRequest) returns (SetTeamLicenseResponse);
|
|
125
|
+
rpc IsValidReferralCode(IsValidReferralCodeRequest) returns (IsValidReferralCodeResponse);
|
|
126
|
+
rpc ProcessReferralCode(ProcessReferralCodeRequest) returns (ProcessReferralCodeResponse);
|
|
127
|
+
rpc RemoveUsersFromTeamInternal(RemoveUsersFromTeamInternalRequest) returns (RemoveUsersFromTeamInternalResponse);
|
|
128
|
+
rpc BulkDeleteUsersInternal(BulkDeleteUsersInternalRequest) returns (BulkDeleteUsersInternalResponse);
|
|
129
|
+
rpc ExportUserDataInternal(ExportUserDataInternalRequest) returns (ExportUserDataInternalResponse);
|
|
130
|
+
rpc InitiateAccountOwnershipVerificationInternal(InitiateAccountOwnershipVerificationInternalRequest) returns (InitiateAccountOwnershipVerificationInternalResponse);
|
|
131
|
+
rpc VerifyAccountOwnershipInternal(VerifyAccountOwnershipInternalRequest) returns (VerifyAccountOwnershipInternalResponse);
|
|
132
|
+
rpc AddExtraFlexCreditsInternal(AddExtraFlexCreditsInternalRequest) returns (AddExtraFlexCreditsInternalResponse);
|
|
133
|
+
rpc AddTeamAddOnFeature(AddTeamAddOnFeatureRequest) returns (AddTeamAddOnFeatureResponse);
|
|
134
|
+
rpc ShowSSOAddOn(ShowSSOAddOnRequest) returns (ShowSSOAddOnResponse);
|
|
135
|
+
rpc CheckProTrialEligibility(CheckProTrialEligibilityRequest) returns (CheckProTrialEligibilityResponse);
|
|
136
|
+
rpc GetSetUserApiProviderKeys(GetSetUserApiProviderKeysRequest) returns (GetSetUserApiProviderKeysResponse);
|
|
137
|
+
rpc SetUserApiProviderKey(SetUserApiProviderKeyRequest) returns (SetUserApiProviderKeyResponse);
|
|
138
|
+
rpc DeleteUserApiProviderKey(DeleteUserApiProviderKeyRequest) returns (DeleteUserApiProviderKeyResponse);
|
|
139
|
+
rpc GetApiKeySummary(GetApiKeySummaryRequest) returns (GetApiKeySummaryResponse);
|
|
140
|
+
rpc DeleteApiKey(DeleteApiKeyRequest) returns (DeleteApiKeyResponse);
|
|
141
|
+
rpc LogOutUser(LogOutUserRequest) returns (LogOutUserResponse);
|
|
142
|
+
rpc AddTeamDomain(AddTeamDomainRequest) returns (AddTeamDomainResponse);
|
|
143
|
+
rpc ListTeamDomains(ListTeamDomainsRequest) returns (ListTeamDomainsResponse);
|
|
144
|
+
rpc VerifyTeamDomain(VerifyTeamDomainRequest) returns (VerifyTeamDomainResponse);
|
|
145
|
+
rpc DeleteTeamDomain(DeleteTeamDomainRequest) returns (DeleteTeamDomainResponse);
|
|
146
|
+
rpc AddTeamDomainInternal(AddTeamDomainInternalRequest) returns (AddTeamDomainInternalResponse);
|
|
147
|
+
rpc DeleteTeamDomainInternal(DeleteTeamDomainInternalRequest) returns (DeleteTeamDomainInternalResponse);
|
|
148
|
+
rpc ListTeamDomainsInternal(ListTeamDomainsInternalRequest) returns (ListTeamDomainsInternalResponse);
|
|
149
|
+
rpc UpdateTeamNameInternal(UpdateTeamNameInternalRequest) returns (UpdateTeamNameInternalResponse);
|
|
150
|
+
rpc VerifySSOLoginInternal(VerifySSOLoginInternalRequest) returns (VerifySSOLoginInternalResponse);
|
|
151
|
+
rpc ExchangeDevinCode(ExchangeDevinCodeRequest) returns (ExchangeDevinCodeResponse);
|
|
152
|
+
rpc GetStripeSubscriptionState(GetStripeSubscriptionStateRequest) returns (GetStripeSubscriptionStateResponse);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
message User {
|
|
156
|
+
string api_key = 1;
|
|
157
|
+
string name = 2;
|
|
158
|
+
string email = 3;
|
|
159
|
+
google.protobuf.Timestamp signup_time = 4;
|
|
160
|
+
google.protobuf.Timestamp last_update_time = 5;
|
|
161
|
+
string id = 6;
|
|
162
|
+
string team_id = 7;
|
|
163
|
+
codeium_common_pb.UserTeamStatus team_status = 8;
|
|
164
|
+
string username = 9;
|
|
165
|
+
string preferred_time_zone = 10;
|
|
166
|
+
bool public_profile_enabled = 11;
|
|
167
|
+
string bio = 12;
|
|
168
|
+
bool pro = 13;
|
|
169
|
+
string profile_picture_uri = 14;
|
|
170
|
+
bool disable_codeium = 16;
|
|
171
|
+
string profile_picture_presigned_url = 15;
|
|
172
|
+
string occupation_company = 17;
|
|
173
|
+
string occupation_role = 18;
|
|
174
|
+
uint32 years_of_experience_min = 23;
|
|
175
|
+
uint32 years_of_experience_max = 24;
|
|
176
|
+
bool newsletter = 19;
|
|
177
|
+
bool disabled_telemetry = 20;
|
|
178
|
+
string inbound_source = 21;
|
|
179
|
+
string signup_stage = 22;
|
|
180
|
+
bool used_trial = 25;
|
|
181
|
+
google.protobuf.Timestamp first_windsurf_use_time = 26;
|
|
182
|
+
google.protobuf.Timestamp windsurf_pro_trial_end_time = 27;
|
|
183
|
+
int64 used_prompt_credits = 28 [deprecated = true];
|
|
184
|
+
int64 used_flow_credits = 29 [deprecated = true];
|
|
185
|
+
string referral_code = 30;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
message Team {
|
|
189
|
+
string id = 1;
|
|
190
|
+
string name = 2;
|
|
191
|
+
google.protobuf.Timestamp signup_time = 3;
|
|
192
|
+
string invite_id = 4;
|
|
193
|
+
bool used_trial = 5;
|
|
194
|
+
string stripe_subscription_id = 6;
|
|
195
|
+
bool subscription_active = 7;
|
|
196
|
+
string stripe_customer_id = 8;
|
|
197
|
+
google.protobuf.Timestamp current_billing_period_start = 9;
|
|
198
|
+
google.protobuf.Timestamp current_billing_period_end = 18;
|
|
199
|
+
int64 num_seats_current_billing_period = 10;
|
|
200
|
+
bool attribution_enabled = 11;
|
|
201
|
+
string sso_provider_id = 12;
|
|
202
|
+
bool offers_enabled = 13;
|
|
203
|
+
codeium_common_pb.TeamsTier teams_tier = 14;
|
|
204
|
+
int64 flex_credit_quota = 15;
|
|
205
|
+
int64 used_flow_credits = 16;
|
|
206
|
+
int64 used_prompt_credits = 17;
|
|
207
|
+
int64 num_cascade_seats = 19;
|
|
208
|
+
google.protobuf.Timestamp cascade_usage_month_start = 20;
|
|
209
|
+
google.protobuf.Timestamp cascade_usage_month_end = 21;
|
|
210
|
+
CascadeSeatType cascade_seat_type = 22;
|
|
211
|
+
bool top_up_enabled = 23;
|
|
212
|
+
int64 monthly_top_up_amount = 24;
|
|
213
|
+
int64 top_up_spent = 25;
|
|
214
|
+
int64 top_up_increment = 26;
|
|
215
|
+
int64 used_flex_credits = 27;
|
|
216
|
+
bool is_pooled = 29;
|
|
217
|
+
int64 prepurchased_credits = 28;
|
|
218
|
+
int64 orphaned_credit_usage = 31;
|
|
219
|
+
|
|
220
|
+
reserved 30;
|
|
221
|
+
|
|
222
|
+
reserved "allowed_ip_ranges";
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
message PreapprovedUser {
|
|
226
|
+
string id = 1;
|
|
227
|
+
string name = 2;
|
|
228
|
+
string email = 3;
|
|
229
|
+
string team_id = 4;
|
|
230
|
+
string issued_by_api_key = 5;
|
|
231
|
+
google.protobuf.Timestamp created_at = 6;
|
|
232
|
+
google.protobuf.Timestamp updated_at = 7;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
message UserSettings {
|
|
236
|
+
bool exists = 1;
|
|
237
|
+
bool newsletter = 2;
|
|
238
|
+
bool disabled_telemetry = 3;
|
|
239
|
+
string inbound_source = 4;
|
|
240
|
+
string signup_stage = 5;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
message UserRole {
|
|
244
|
+
string api_key = 1;
|
|
245
|
+
repeated string roles = 2;
|
|
246
|
+
string role_id = 3;
|
|
247
|
+
string role_name = 4;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
message GetUserStatusRequest {
|
|
251
|
+
codeium_common_pb.Metadata metadata = 1;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
message GetUserStatusResponse {
|
|
255
|
+
codeium_common_pb.UserStatus user_status = 1;
|
|
256
|
+
codeium_common_pb.PlanInfo plan_info = 2;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
message GetCurrentUserRequest {
|
|
260
|
+
string auth_token = 1;
|
|
261
|
+
bool generate_profile_picture_url = 2;
|
|
262
|
+
bool create_if_not_exist = 3;
|
|
263
|
+
bool include_subscription = 4;
|
|
264
|
+
string sso_token = 5 [deprecated = true];
|
|
265
|
+
string saml_provider_id = 6 [deprecated = true];
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
message ReferralInfo {
|
|
269
|
+
string referrer_name = 1;
|
|
270
|
+
string referrer_email = 2;
|
|
271
|
+
google.protobuf.Timestamp referral_accepted_time = 3;
|
|
272
|
+
google.protobuf.Timestamp granted_time = 4;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
message GetCurrentUserResponse {
|
|
276
|
+
User user = 1;
|
|
277
|
+
repeated string roles = 2;
|
|
278
|
+
Team team = 4;
|
|
279
|
+
UserSettings subscription = 5;
|
|
280
|
+
repeated codeium_common_pb.Permission permissions = 8;
|
|
281
|
+
UserRole role = 7;
|
|
282
|
+
codeium_common_pb.PlanInfo plan_info = 6;
|
|
283
|
+
UserTeamDetails user_team_details = 9;
|
|
284
|
+
ReferralInfo referral = 10;
|
|
285
|
+
map<int32, codeium_common_pb.TeamsFeaturesMetadata> team_features = 11;
|
|
286
|
+
repeated string group_ids = 12;
|
|
287
|
+
string redirect_url = 13 [deprecated = true];
|
|
288
|
+
repeated SSOTeamOption team_options = 14;
|
|
289
|
+
|
|
290
|
+
reserved 3;
|
|
291
|
+
|
|
292
|
+
reserved "license";
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
message GetUsersRequest {
|
|
296
|
+
string auth_token = 1;
|
|
297
|
+
string group_id = 2;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
message GetUsersResponse {
|
|
301
|
+
repeated User users = 1;
|
|
302
|
+
repeated UserRole user_roles = 2;
|
|
303
|
+
repeated UserTeamDetails user_team_details = 3;
|
|
304
|
+
repeated UserCascadeDetails user_cascade_details = 4;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
message GetRolesForUserRequest {
|
|
308
|
+
string auth_token = 1;
|
|
309
|
+
string api_key = 2;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
message GetRolesForUserResponse {
|
|
313
|
+
repeated string roles = 1;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
message GetPrimaryApiKeyForDevsOnlyRequest {
|
|
317
|
+
string session_token = 1;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
message GetPrimaryApiKeyForDevsOnlyResponse {
|
|
321
|
+
string api_key = 1;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
message AddUserRoleRequest {
|
|
325
|
+
string auth_token = 1;
|
|
326
|
+
string api_key_to_add = 2;
|
|
327
|
+
string role = 3;
|
|
328
|
+
string group_id = 4;
|
|
329
|
+
string service_key = 5;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
message AddUserRoleResponse {
|
|
333
|
+
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
message RemoveUserRoleRequest {
|
|
337
|
+
string auth_token = 1;
|
|
338
|
+
string api_key_to_remove = 2;
|
|
339
|
+
string role = 3;
|
|
340
|
+
string group_id = 4;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
message RemoveUserRoleResponse {
|
|
344
|
+
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
message RegisterUserRequest {
|
|
348
|
+
string firebase_id_token = 1;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
message RegisterUserResponse {
|
|
352
|
+
string api_key = 1;
|
|
353
|
+
string name = 2;
|
|
354
|
+
string api_server_url = 3;
|
|
355
|
+
string redirect_url = 4 [deprecated = true];
|
|
356
|
+
repeated SSOTeamOption team_options = 5;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
message MigrateApiKeyRequest {
|
|
360
|
+
string api_key = 1;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
message MigrateApiKeyResponse {
|
|
364
|
+
string session_token = 1;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
message CreateFbUserRequest {
|
|
368
|
+
string email = 1;
|
|
369
|
+
string password = 2;
|
|
370
|
+
string turnstile_token = 3;
|
|
371
|
+
string phone_number = 4;
|
|
372
|
+
string otp_code = 5;
|
|
373
|
+
string first_name = 6;
|
|
374
|
+
string last_name = 7;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
message CreateFbUserResponse {
|
|
378
|
+
string uid = 1;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
message UpdateNameRequest {
|
|
382
|
+
string auth_token = 1;
|
|
383
|
+
string full_name = 2;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
message UpdateNameResponse {
|
|
387
|
+
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
message GetProfilePicturePresignedUploadUrlRequest {
|
|
391
|
+
string auth_token = 1;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
message GetProfilePicturePresignedUploadUrlResponse {
|
|
395
|
+
string url = 1;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
message ProfilePictureUploadCompleteRequest {
|
|
399
|
+
string auth_token = 1;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
message ProfilePictureUploadCompleteResponse {
|
|
403
|
+
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
message GetProfileDataRequest {
|
|
407
|
+
string api_key = 1;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
message GetProfileDataResponse {
|
|
411
|
+
string profile_picture_url = 1;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
message DeleteProfilePictureRequest {
|
|
415
|
+
string auth_token = 1;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
message DeleteProfilePictureResponse {
|
|
419
|
+
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
message UpdateInboundSourceRequest {
|
|
423
|
+
string auth_token = 1;
|
|
424
|
+
string inbound_source = 2;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
message UpdateInboundSourceResponse {
|
|
428
|
+
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
message DeleteUserRequest {
|
|
432
|
+
string auth_token = 1;
|
|
433
|
+
string api_key_to_delete = 3;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
message DeleteUserResponse {
|
|
437
|
+
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
message GetLicenseRequest {
|
|
441
|
+
reserved 1;
|
|
442
|
+
|
|
443
|
+
reserved "auth_token";
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
message GetLicenseResponse {
|
|
447
|
+
EnterpriseLicenseConfig license = 1;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
message RequestTeamAccessRequest {
|
|
451
|
+
string invite_id = 2;
|
|
452
|
+
|
|
453
|
+
reserved 1;
|
|
454
|
+
|
|
455
|
+
reserved "api_key";
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
message RequestTeamAccessResponse {
|
|
459
|
+
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
message UpdateUserTeamStatusRequest {
|
|
463
|
+
string auth_token = 1;
|
|
464
|
+
|
|
465
|
+
repeated UserTeamStatusUpdateItem updates = 2;
|
|
466
|
+
message UserTeamStatusUpdateItem {
|
|
467
|
+
string api_key = 1;
|
|
468
|
+
codeium_common_pb.UserTeamStatus status = 2;
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
message UpdateUserTeamStatusResponse {
|
|
473
|
+
repeated User users = 1;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
message GetTeamMetadataRequest {
|
|
477
|
+
string invite_id = 1;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
message GetTeamMetadataResponse {
|
|
481
|
+
Team team = 1;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
message RemoveUserFromTeamRequest {
|
|
485
|
+
string auth_token = 1;
|
|
486
|
+
string api_key_to_remove = 2;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
message RemoveUserFromTeamResponse {
|
|
490
|
+
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
message RefreshTeamInviteIdRequest {
|
|
494
|
+
string auth_token = 1;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
message RefreshTeamInviteIdResponse {
|
|
498
|
+
Team team = 1;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
message GrantPreapprovalRequest {
|
|
502
|
+
string auth_token = 1;
|
|
503
|
+
|
|
504
|
+
repeated PreapprovalUserItem preapprovals = 2;
|
|
505
|
+
message PreapprovalUserItem {
|
|
506
|
+
string name = 1;
|
|
507
|
+
string email = 2;
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
message GrantPreapprovalResponse {
|
|
512
|
+
repeated PreapprovedUser preapprovals = 1;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
message GetPreapprovalsRequest {
|
|
516
|
+
string auth_token = 1;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
message GetPreapprovalsResponse {
|
|
520
|
+
repeated PreapprovedUser preapprovals = 1;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
message GetPreapprovalMetadataRequest {
|
|
524
|
+
string approval_id = 1;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
message GetPreapprovalMetadataResponse {
|
|
528
|
+
string name = 1;
|
|
529
|
+
string email = 2;
|
|
530
|
+
string team_name = 3;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
message AcceptPreapprovalRequest {
|
|
534
|
+
string auth_token = 1;
|
|
535
|
+
string approval_id = 2;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
message AcceptPreapprovalResponse {
|
|
539
|
+
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
message RejectPreapprovalRequest {
|
|
543
|
+
string auth_token = 1;
|
|
544
|
+
string approval_id = 2;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
message RejectPreapprovalResponse {
|
|
548
|
+
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
message GetPreapprovalForUserRequest {
|
|
552
|
+
string auth_token = 1;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
message GetPreapprovalForUserResponse {
|
|
556
|
+
PreapprovedUser preapproval = 1;
|
|
557
|
+
string admin_name = 2;
|
|
558
|
+
string team_name = 3;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
message RevokePreapprovalRequest {
|
|
562
|
+
string auth_token = 1;
|
|
563
|
+
string approval_id = 2;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
message RevokePreapprovalResponse {
|
|
567
|
+
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
message SubscribeToPlanRequest {
|
|
571
|
+
string auth_token = 1;
|
|
572
|
+
string stripe_price_id = 2 [deprecated = true];
|
|
573
|
+
bool start_trial = 3;
|
|
574
|
+
string success_url = 4;
|
|
575
|
+
string cancel_url = 5;
|
|
576
|
+
codeium_common_pb.TeamsTier teams_tier = 8;
|
|
577
|
+
PaymentPeriod payment_period = 9;
|
|
578
|
+
string team_name = 7;
|
|
579
|
+
int64 seats = 6;
|
|
580
|
+
string turnstile_token = 10;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
message SubscribeToPlanResponse {
|
|
584
|
+
string checkout_url = 1;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
message PurchaseCascadeCreditsRequest {
|
|
588
|
+
string auth_token = 1;
|
|
589
|
+
string success_url = 4;
|
|
590
|
+
string cancel_url = 5;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
message PurchaseCascadeCreditsResponse {
|
|
594
|
+
string checkout_url = 1;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
message UpdateCreditTopUpSettingsRequest {
|
|
598
|
+
string auth_token = 1;
|
|
599
|
+
bool enabled = 2;
|
|
600
|
+
int32 monthly_top_up_amount = 3;
|
|
601
|
+
int32 top_up_increment = 4;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
message UpdateCreditTopUpSettingsResponse {
|
|
605
|
+
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
message GetTeamBillingRequest {
|
|
609
|
+
string auth_token = 1;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
message GetTeamBillingResponse {
|
|
613
|
+
bool subscription_active = 1;
|
|
614
|
+
bool on_trial = 2;
|
|
615
|
+
google.protobuf.Timestamp subscription_renewal_time = 3;
|
|
616
|
+
int64 num_seats = 5;
|
|
617
|
+
float plan_unit_amount = 6;
|
|
618
|
+
SubInterval sub_interval = 7;
|
|
619
|
+
bool cancel_at_period_end = 8;
|
|
620
|
+
|
|
621
|
+
repeated Invoice invoices = 9 [deprecated = true];
|
|
622
|
+
message Invoice {
|
|
623
|
+
float amount = 1;
|
|
624
|
+
string currency = 2;
|
|
625
|
+
bool paid = 3;
|
|
626
|
+
google.protobuf.Timestamp created = 4;
|
|
627
|
+
string invoice_pdf_url = 5;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
PaymentMethod payment_method = 10;
|
|
631
|
+
message PaymentMethod {
|
|
632
|
+
string type = 1;
|
|
633
|
+
|
|
634
|
+
oneof payment_type {
|
|
635
|
+
CardType card = 2;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
message CardType {
|
|
639
|
+
string brand = 1;
|
|
640
|
+
int64 exp_month = 2;
|
|
641
|
+
int64 exp_year = 3;
|
|
642
|
+
string last4 = 4;
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
bool trial_only = 11;
|
|
647
|
+
codeium_common_pb.PlanStatus plan_status = 12;
|
|
648
|
+
int64 num_users = 14;
|
|
649
|
+
int64 num_seats_current_billing_period = 15;
|
|
650
|
+
int64 num_cascade_users = 16;
|
|
651
|
+
int64 num_cascade_seats = 17;
|
|
652
|
+
int64 num_core_users = 18;
|
|
653
|
+
int64 num_core_seats = 19;
|
|
654
|
+
|
|
655
|
+
FailedSubscriptionPayment failed_subscription_payment = 20;
|
|
656
|
+
message FailedSubscriptionPayment {
|
|
657
|
+
string invoice_link = 1;
|
|
658
|
+
string decline_code = 2;
|
|
659
|
+
google.protobuf.Timestamp pay_by_date = 3;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
string top_up_error_string = 21;
|
|
663
|
+
bool team_top_up_criteria_reached = 22;
|
|
664
|
+
|
|
665
|
+
reserved 13;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
message UpdateSeatsRequest {
|
|
669
|
+
string auth_token = 1;
|
|
670
|
+
int64 num_seats = 2;
|
|
671
|
+
bool preview = 3;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
message UpdateSeatsResponse {
|
|
675
|
+
BillingUpdate billing_update = 1;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
message UpdatePlanRequest {
|
|
679
|
+
string auth_token = 1;
|
|
680
|
+
StripePrice price = 2;
|
|
681
|
+
bool preview = 3;
|
|
682
|
+
PaymentPeriod payment_period = 4;
|
|
683
|
+
codeium_common_pb.TeamsTier teams_tier = 5;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
message UpdatePlanResponse {
|
|
687
|
+
BillingUpdate billing_update = 1;
|
|
688
|
+
bool applied_changes = 2;
|
|
689
|
+
string next_action_client_secret = 3;
|
|
690
|
+
string payment_failure_reason = 4;
|
|
691
|
+
bool requires_password_reset = 5;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
message BillingUpdate {
|
|
695
|
+
float amount_due_immediately = 1;
|
|
696
|
+
float price_per_seat = 3;
|
|
697
|
+
int64 num_seats = 4;
|
|
698
|
+
SubInterval sub_interval = 5;
|
|
699
|
+
float amount_per_interval = 6;
|
|
700
|
+
google.protobuf.Timestamp billing_start = 7;
|
|
701
|
+
google.protobuf.Timestamp billing_end = 8;
|
|
702
|
+
bool unused_plan_refunded = 9;
|
|
703
|
+
bool has_sso_add_on = 10;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
message CancelPlanRequest {
|
|
707
|
+
string auth_token = 1;
|
|
708
|
+
bool cancel_plan = 2;
|
|
709
|
+
bool resume_plan = 3;
|
|
710
|
+
string cancel_comment = 4;
|
|
711
|
+
string cancel_reason = 5;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
message CancelPlanResponse {
|
|
715
|
+
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
message UpdateBillingRequest {
|
|
719
|
+
string auth_token = 1 [deprecated = true];
|
|
720
|
+
string success_url = 2 [deprecated = true];
|
|
721
|
+
string cancel_url = 3 [deprecated = true];
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
message UpdateBillingResponse {
|
|
725
|
+
string checkout_url = 1 [deprecated = true];
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
message GetCustomerPortalRequest {
|
|
729
|
+
string auth_token = 1;
|
|
730
|
+
string return_url = 2;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
message GetCustomerPortalResponse {
|
|
734
|
+
string portal_url = 1;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
message AddTeamAddOnFeatureRequest {
|
|
738
|
+
string auth_token = 1;
|
|
739
|
+
codeium_common_pb.TeamsFeatures feature_type = 2;
|
|
740
|
+
bool preview = 3;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
message AddTeamAddOnFeatureResponse {
|
|
744
|
+
BillingUpdate billing_update = 1;
|
|
745
|
+
bool applied_changes = 2;
|
|
746
|
+
string next_action_client_secret = 3;
|
|
747
|
+
string payment_failure_reason = 4;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
message ShowSSOAddOnRequest {
|
|
751
|
+
string auth_token = 1;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
message ShowSSOAddOnResponse {
|
|
755
|
+
bool show_sso_add_on = 1;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
message GetUserSubscriptionRequest {
|
|
759
|
+
string auth_token = 1;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
message GetUserSubscriptionResponse {
|
|
763
|
+
bool exists = 1;
|
|
764
|
+
bool newsletter = 2;
|
|
765
|
+
bool disabled_telemetry = 3;
|
|
766
|
+
string inbound_source = 4;
|
|
767
|
+
string signup_stage = 5;
|
|
768
|
+
UserSettings subscription = 6;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
message IsUsernameAvailableRequest {
|
|
772
|
+
string auth_token = 1;
|
|
773
|
+
string username = 2;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
message IsUsernameAvailableResponse {
|
|
777
|
+
bool available = 1;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
message UpdateUsernameRequest {
|
|
781
|
+
string auth_token = 1;
|
|
782
|
+
string username = 2;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
message UpdateUsernameResponse {
|
|
786
|
+
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
message ProvisionTeamRequest {
|
|
790
|
+
string secret = 1;
|
|
791
|
+
string admin_email = 2;
|
|
792
|
+
string team_name = 3;
|
|
793
|
+
int64 num_seats = 4;
|
|
794
|
+
codeium_common_pb.TeamsTier teams_tier = 5;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
message ProvisionTeamResponse {
|
|
798
|
+
string team_id = 1;
|
|
799
|
+
string invite_id = 2;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
message ProvisionCascadeSeatsRequest {
|
|
803
|
+
string secret = 1;
|
|
804
|
+
string team_name = 2;
|
|
805
|
+
int64 num_seats = 3;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
message ProvisionCascadeSeatsResponse {
|
|
809
|
+
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
message UpdateOccupationRequest {
|
|
813
|
+
string auth_token = 1;
|
|
814
|
+
string occupation_company = 2;
|
|
815
|
+
string occupation_role = 3;
|
|
816
|
+
uint32 years_of_experience_min = 4;
|
|
817
|
+
uint32 years_of_experience_max = 5;
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
message UpdateOccupationResponse {
|
|
821
|
+
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
message UpdateProfileRequest {
|
|
825
|
+
string auth_token = 1;
|
|
826
|
+
string new_name = 2;
|
|
827
|
+
string new_email = 3;
|
|
828
|
+
string new_bio = 4;
|
|
829
|
+
string otp_code = 5;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
message UpdateProfileResponse {
|
|
833
|
+
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
message UpdateProfileVisibilityRequest {
|
|
837
|
+
string auth_token = 1;
|
|
838
|
+
bool public_profile_enabled = 2;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
message UpdateProfileVisibilityResponse {
|
|
842
|
+
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
message AddUsersToTeamRequest {
|
|
846
|
+
string secret = 1;
|
|
847
|
+
string team_id = 2;
|
|
848
|
+
repeated string emails = 3;
|
|
849
|
+
bool create_if_not_exists = 4;
|
|
850
|
+
bool send_email = 5;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
message AddUsersToTeamResponse {
|
|
854
|
+
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
message GetPublicProfileRequest {
|
|
858
|
+
string username = 1;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
message GetPublicProfileResponse {
|
|
862
|
+
string name = 1;
|
|
863
|
+
string username = 2;
|
|
864
|
+
string preferred_time_zone = 3;
|
|
865
|
+
google.protobuf.Timestamp signup_time = 4;
|
|
866
|
+
string bio = 5;
|
|
867
|
+
string profile_picture_presigned_url = 6;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
message UpdateUserRolesRequest {
|
|
871
|
+
string secret = 1;
|
|
872
|
+
string email = 2;
|
|
873
|
+
repeated string roles = 3;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
message UpdateUserRolesResponse {
|
|
877
|
+
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
message BulkUpdateUserRolesRequest {
|
|
881
|
+
string service_key = 1;
|
|
882
|
+
repeated string emails = 2;
|
|
883
|
+
string role = 3;
|
|
884
|
+
string group_name = 4;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
message BulkUpdateUserRolesResponse {
|
|
888
|
+
repeated string successful_emails = 1;
|
|
889
|
+
repeated string failed_emails = 2;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
message GetTeamActivityRequest {
|
|
893
|
+
string api_key = 1;
|
|
894
|
+
google.protobuf.Timestamp start_timestamp = 2;
|
|
895
|
+
google.protobuf.Timestamp end_timestamp = 3;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
message GetTeamActivityResponse {
|
|
899
|
+
repeated UserActivity user_activity = 1;
|
|
900
|
+
message UserActivity {
|
|
901
|
+
User user = 1;
|
|
902
|
+
codeium_common_pb.CompletionStatistics completion_statistics = 2;
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
message GetSSOProviderRequest {
|
|
907
|
+
string auth_token = 1;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
message GetSSOProviderResponse {
|
|
911
|
+
SAMLAuthProvider saml_auth_provider = 1;
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
message SaveSSOProviderRequest {
|
|
915
|
+
string auth_token = 1;
|
|
916
|
+
SAMLAuthProvider saml_auth_provider = 2;
|
|
917
|
+
bool is_test = 3;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
message SaveSSOProviderResponse {
|
|
921
|
+
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
message SAMLAuthProvider {
|
|
925
|
+
string sso_provider_id = 1;
|
|
926
|
+
string idp_entity_id = 2;
|
|
927
|
+
string sso_url = 3;
|
|
928
|
+
string x509_certificate = 4;
|
|
929
|
+
bool enabled = 5;
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
message JoinTeamWithSSOLoginRequest {
|
|
933
|
+
string auth_token = 1;
|
|
934
|
+
string saml_provider_id = 2;
|
|
935
|
+
string saml_auth_token = 3;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
message JoinTeamWithSSOLoginResponse {
|
|
939
|
+
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
message UserSSOLoginRedirectRequest {
|
|
943
|
+
string email = 1;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
message UserSSOLoginRedirectResponse {
|
|
947
|
+
bool should_redirect = 1;
|
|
948
|
+
string sso_provider_id = 2;
|
|
949
|
+
bool disallow_enterprise_user_login = 3;
|
|
950
|
+
string redirect_url = 4;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
message CheckEmailForSSORequest {
|
|
954
|
+
string email = 1;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
message CheckEmailForSSOResponse {
|
|
958
|
+
string redirect_url = 1;
|
|
959
|
+
bool show_sso_requirement_message = 2;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
message SSOTeamOption {
|
|
963
|
+
string team_name = 1;
|
|
964
|
+
string redirect_url = 2;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
message EnterpriseLicenseConfig {
|
|
968
|
+
google.protobuf.Timestamp expiration_timestamp = 1;
|
|
969
|
+
uint32 seat_limit = 2;
|
|
970
|
+
bool attribution_enabled = 3;
|
|
971
|
+
bool audit_logs_enabled = 4;
|
|
972
|
+
google.protobuf.Timestamp start_timestamp = 5;
|
|
973
|
+
uint32 mucs_total = 6;
|
|
974
|
+
bool mucs_enabled = 7;
|
|
975
|
+
uint32 license_length_months = 8;
|
|
976
|
+
bool enable_individual_user_analytics = 9;
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
message DeleteTeamRequest {
|
|
980
|
+
string auth_token = 1;
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
message DeleteTeamResponse {
|
|
984
|
+
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
message GetTeamsFeaturesRequest {
|
|
988
|
+
string auth_token = 1;
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
message GetTeamsFeaturesResponse {
|
|
992
|
+
repeated codeium_common_pb.TeamsFeatures features = 1;
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
message GrantSuperAdminAccessRequest {
|
|
996
|
+
string auth_token = 1;
|
|
997
|
+
string user_email = 2;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
message GrantSuperAdminAccessResponse {
|
|
1001
|
+
User user = 1;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
message GrantTeamAdminAccessRequest {
|
|
1005
|
+
string auth_token = 1;
|
|
1006
|
+
string user_email = 2;
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
message GrantTeamAdminAccessResponse {
|
|
1010
|
+
User user = 1;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
message AddFlexCreditsToMultiTenantTeamRequest {
|
|
1014
|
+
string auth_token = 1;
|
|
1015
|
+
string team_id = 2;
|
|
1016
|
+
int64 flex_credits_to_add = 3;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
message AddFlexCreditsToMultiTenantTeamResponse {
|
|
1020
|
+
Team team = 1;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
message GetTeamsFeaturesInternalRequest {
|
|
1024
|
+
string secret = 1;
|
|
1025
|
+
string team_id = 2;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
message GetTeamsFeaturesInternalResponse {
|
|
1029
|
+
repeated codeium_common_pb.TeamsFeatures features = 1;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
message UpdateTeamsFeaturesInternalRequest {
|
|
1033
|
+
string secret = 1;
|
|
1034
|
+
string team_id = 2;
|
|
1035
|
+
repeated codeium_common_pb.TeamsFeatures add_features = 3;
|
|
1036
|
+
repeated codeium_common_pb.TeamsFeatures remove_features = 4;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
message SetTeamsFeaturesRequest {
|
|
1040
|
+
string secret = 1;
|
|
1041
|
+
string team_id = 2;
|
|
1042
|
+
repeated codeium_common_pb.TeamsFeatures features = 3;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
message UpdateTeamsFeaturesInternalResponse {
|
|
1046
|
+
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
message SetTeamsFeaturesResponse {
|
|
1050
|
+
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
message UpdateUserFeaturesInternalRequest {
|
|
1054
|
+
string secret = 1;
|
|
1055
|
+
repeated string api_keys = 2;
|
|
1056
|
+
repeated codeium_common_pb.UserFeatures features = 3;
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
message UpdateUserFeaturesInternalResponse {
|
|
1060
|
+
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
message BulkEditUserApprovalsRequest {
|
|
1064
|
+
string auth_token = 1;
|
|
1065
|
+
repeated string emails = 2;
|
|
1066
|
+
UserTeamDetailsType approval_type = 3;
|
|
1067
|
+
bool approve = 4;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
message UserTeamDetails {
|
|
1071
|
+
string auth_uid = 1;
|
|
1072
|
+
string team_id = 2;
|
|
1073
|
+
bool has_cascade_seat = 3;
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
message BulkEditUserApprovalsResponse {
|
|
1077
|
+
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
message BulkEditUserApprovalsInternalRequest {
|
|
1081
|
+
string secret = 1;
|
|
1082
|
+
string team_name = 2;
|
|
1083
|
+
repeated string emails = 3;
|
|
1084
|
+
UserTeamDetailsType approval_type = 4;
|
|
1085
|
+
bool approve = 5;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
message BulkEditUserApprovalsInternalResponse {
|
|
1089
|
+
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
message GetTeamSettingsRequest {
|
|
1093
|
+
string auth_token = 1;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
message GetTeamSettingsResponse {
|
|
1097
|
+
bool cascade_web_search_enabled = 1;
|
|
1098
|
+
bool can_update_cascade_web_search_enabled = 2;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
message UpdateCascadeWebSearchEnabledRequest {
|
|
1102
|
+
string auth_token = 1;
|
|
1103
|
+
bool cascade_web_search_enabled = 2;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
message UpdateCascadeWebSearchEnabledResponse {
|
|
1107
|
+
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
message GetGroupsRequest {
|
|
1111
|
+
string auth_token = 1;
|
|
1112
|
+
codeium_common_pb.Permission permission = 2;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
message Group {
|
|
1116
|
+
string id = 1;
|
|
1117
|
+
string name = 2;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
message GetGroupsResponse {
|
|
1121
|
+
repeated Group groups = 1;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
message CreateTeamApiSecretRequest {
|
|
1125
|
+
string auth_token = 1;
|
|
1126
|
+
string name = 2;
|
|
1127
|
+
string role = 3;
|
|
1128
|
+
string group_id = 4;
|
|
1129
|
+
google.protobuf.Timestamp expiration_date = 5;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
message CreateTeamApiSecretResponse {
|
|
1133
|
+
string secret = 1;
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
message UpdateTeamApiSecretRequest {
|
|
1137
|
+
string auth_token = 1;
|
|
1138
|
+
string service_key_id = 2;
|
|
1139
|
+
string name = 3;
|
|
1140
|
+
string role = 4;
|
|
1141
|
+
string group_id = 5;
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
message UpdateTeamApiSecretResponse {
|
|
1145
|
+
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
message GetAllTeamApiSecretsRequest {
|
|
1149
|
+
string auth_token = 1;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
message TeamApiSecret {
|
|
1153
|
+
string id = 1;
|
|
1154
|
+
string name = 2;
|
|
1155
|
+
google.protobuf.Timestamp created_at = 3;
|
|
1156
|
+
string role_id = 4;
|
|
1157
|
+
string group_id = 5;
|
|
1158
|
+
google.protobuf.Timestamp expiration_date = 6;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
message GetAllTeamApiSecretsResponse {
|
|
1162
|
+
repeated TeamApiSecret secrets = 1;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
message DeleteTeamApiSecretRequest {
|
|
1166
|
+
string auth_token = 1;
|
|
1167
|
+
string secret_id = 2;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
message DeleteTeamApiSecretResponse {
|
|
1171
|
+
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
message GetUserNotificationsRequest {
|
|
1175
|
+
string api_key = 1;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
message GetUserNotificationsResponse {
|
|
1179
|
+
TeamPreapprovalMetadata team_preapproval_metadata = 1;
|
|
1180
|
+
message TeamPreapprovalMetadata {
|
|
1181
|
+
string admin_name = 1;
|
|
1182
|
+
string team_name = 2;
|
|
1183
|
+
google.protobuf.Timestamp created_at = 3;
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
message ConnectGithubAccountRequest {
|
|
1188
|
+
string auth_token = 1;
|
|
1189
|
+
string github_refresh_token = 2;
|
|
1190
|
+
google.protobuf.Timestamp github_refresh_token_expires_at = 3;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
message ConnectGithubAccountResponse {
|
|
1194
|
+
string github_access_token = 1;
|
|
1195
|
+
google.protobuf.Timestamp github_access_token_expires_at = 2;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
message DisconnectGithubAccountRequest {
|
|
1199
|
+
string auth_token = 1;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
message DisconnectGithubAccountResponse {
|
|
1203
|
+
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
message GetGitHubAccountStatusRequest {
|
|
1207
|
+
string auth_token = 1;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
message GetGitHubAccountStatusResponse {
|
|
1211
|
+
bool connected = 1;
|
|
1212
|
+
string username = 2;
|
|
1213
|
+
google.protobuf.Timestamp expires_at = 3;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
message GetGitHubAccessTokenRequest {
|
|
1217
|
+
string auth_token = 1;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
message GetGitHubAccessTokenResponse {
|
|
1221
|
+
string access_token = 1;
|
|
1222
|
+
google.protobuf.Timestamp expires_at = 2;
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
message ConnectNetlifyAccountRequest {
|
|
1226
|
+
string auth_token = 1;
|
|
1227
|
+
string netlify_access_token = 2;
|
|
1228
|
+
google.protobuf.Timestamp expires_at = 3;
|
|
1229
|
+
string netlify_user_id = 4;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
message ConnectNetlifyAccountResponse {
|
|
1233
|
+
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
message DisconnectNetlifyAccountRequest {
|
|
1237
|
+
string auth_token = 1;
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
message DisconnectNetlifyAccountResponse {
|
|
1241
|
+
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
message GetNetlifyAccountStatusRequest {
|
|
1245
|
+
string auth_token = 1;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
message GetNetlifyAccountStatusResponse {
|
|
1249
|
+
bool connected = 1;
|
|
1250
|
+
string netlify_user_id = 2;
|
|
1251
|
+
google.protobuf.Timestamp expires_at = 3;
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
message UpdateCodeiumAccessRequest {
|
|
1255
|
+
string auth_token = 1;
|
|
1256
|
+
string api_key_to_update = 2;
|
|
1257
|
+
bool disable_codeium_access = 3;
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
message UpdateCodeiumAccessResponse {
|
|
1261
|
+
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
message CreateRoleRequest {
|
|
1265
|
+
string auth_token = 1;
|
|
1266
|
+
string name = 2;
|
|
1267
|
+
repeated codeium_common_pb.Permission permissions = 3;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
message CreateRoleResponse {
|
|
1271
|
+
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
message DeleteRoleRequest {
|
|
1275
|
+
string auth_token = 1;
|
|
1276
|
+
string role_id = 2;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
message DeleteRoleResponse {
|
|
1280
|
+
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
message UpdateRoleRequest {
|
|
1284
|
+
string auth_token = 1;
|
|
1285
|
+
string role_id = 2;
|
|
1286
|
+
repeated codeium_common_pb.Permission permissions = 3;
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
message UpdateRoleResponse {
|
|
1290
|
+
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
message GetRolesRequest {
|
|
1294
|
+
string auth_token = 1;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
message Role {
|
|
1298
|
+
string role_id = 1;
|
|
1299
|
+
string name = 2;
|
|
1300
|
+
repeated codeium_common_pb.Permission permissions = 3;
|
|
1301
|
+
bool mutable = 4;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
message GetRolesResponse {
|
|
1305
|
+
repeated Role roles = 1;
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
message GetMucsInfoRequest {
|
|
1309
|
+
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
message MonthlyMucsMessage {
|
|
1313
|
+
int32 billing_months = 1;
|
|
1314
|
+
int32 billing_years = 2;
|
|
1315
|
+
int32 mucs_charged = 3;
|
|
1316
|
+
int32 mucs_deducted = 4;
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
message GetMucsInfoResponse {
|
|
1320
|
+
int32 mucs_left = 1;
|
|
1321
|
+
int32 mucs_used = 2;
|
|
1322
|
+
bool is_mucs_enabled = 3;
|
|
1323
|
+
google.protobuf.Timestamp start_date = 4;
|
|
1324
|
+
int32 current_registered_users = 5;
|
|
1325
|
+
int32 current_high_watermark = 6;
|
|
1326
|
+
repeated MonthlyMucsMessage mucs_table = 7;
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
message GetCascadeAnalyticsRequest {
|
|
1330
|
+
string auth_token = 1;
|
|
1331
|
+
google.protobuf.Timestamp start_timestamp = 2;
|
|
1332
|
+
google.protobuf.Timestamp end_timestamp = 3;
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
message GetCascadeAnalyticsResponse {
|
|
1336
|
+
int32 used_prompt_credits = 1;
|
|
1337
|
+
int32 used_flow_credits = 2;
|
|
1338
|
+
int32 estimated_monthly_prompts = 3;
|
|
1339
|
+
int32 estimated_monthly_flows = 4;
|
|
1340
|
+
int64 purchased_credits = 5;
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
message GetPlanStatusRequest {
|
|
1344
|
+
string auth_token = 1;
|
|
1345
|
+
bool include_top_up_status = 2;
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
message GetPlanStatusResponse {
|
|
1349
|
+
codeium_common_pb.PlanStatus plan_status = 1;
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
message Wrapped2024 {
|
|
1353
|
+
string api_key = 1;
|
|
1354
|
+
string email = 2;
|
|
1355
|
+
string name = 3;
|
|
1356
|
+
int32 total_minutes_coded = 4;
|
|
1357
|
+
double coding_percentile = 5;
|
|
1358
|
+
google.protobuf.Timestamp biggest_coding_day = 6;
|
|
1359
|
+
int32 minutes_coding_biggest_day = 7;
|
|
1360
|
+
int32 autocompletes_accepted = 8;
|
|
1361
|
+
int32 cascade_messages_sent = 9;
|
|
1362
|
+
int32 cascade_lines_written = 10;
|
|
1363
|
+
int32 longest_streak = 11;
|
|
1364
|
+
int32 most_productive_day = 12;
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
message GetWrapped2024Request {
|
|
1368
|
+
string auth_token = 1;
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
message GetWrapped2024Response {
|
|
1372
|
+
Wrapped2024 wrapped_data = 1;
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
message FlexCreditChronicleEntry {
|
|
1376
|
+
string team_id = 1;
|
|
1377
|
+
google.protobuf.Timestamp grant_date = 2;
|
|
1378
|
+
int32 num_credits = 3;
|
|
1379
|
+
FlexCreditChronicleType type = 4;
|
|
1380
|
+
uint32 referral_id = 5;
|
|
1381
|
+
string invoice_id = 6;
|
|
1382
|
+
|
|
1383
|
+
oneof reason {
|
|
1384
|
+
ReferrerReason referrer = 7;
|
|
1385
|
+
AveryReason avery = 8;
|
|
1386
|
+
PurchaseReason purchase = 9;
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
message ReferrerReason {
|
|
1391
|
+
string user_email = 1;
|
|
1392
|
+
string avery_email = 2;
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
message AveryReason {
|
|
1396
|
+
string user_email = 1;
|
|
1397
|
+
string referrer_email = 2;
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
message PurchaseReason {
|
|
1401
|
+
PurchaseReasonType type = 1;
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
message GetTeamCreditEntriesRequest {
|
|
1405
|
+
string auth_token = 1;
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
message GetTeamCreditEntriesResponse {
|
|
1409
|
+
repeated FlexCreditChronicleEntry entries = 1;
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
message SendPhoneVerificationRequest {
|
|
1413
|
+
string phone_number = 1;
|
|
1414
|
+
string turnstile_token = 2;
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
message SendPhoneVerificationResponse {
|
|
1418
|
+
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
message SendEmailVerificationRequest {
|
|
1422
|
+
string first_name = 1;
|
|
1423
|
+
string email = 2;
|
|
1424
|
+
string turnstile_token = 3;
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
message SendEmailVerificationResponse {
|
|
1428
|
+
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
message CreateEnterpriseRequest {
|
|
1432
|
+
string secret = 1;
|
|
1433
|
+
string team_name = 2;
|
|
1434
|
+
string admin_email = 3;
|
|
1435
|
+
repeated string tags = 4;
|
|
1436
|
+
string organization = 5;
|
|
1437
|
+
string source = 6;
|
|
1438
|
+
string creation_reason = 7;
|
|
1439
|
+
bool trial = 8;
|
|
1440
|
+
google.protobuf.Timestamp end_date = 9;
|
|
1441
|
+
bool hybrid = 10;
|
|
1442
|
+
int32 flow_seats = 11;
|
|
1443
|
+
int32 core_seats = 12;
|
|
1444
|
+
repeated string users_to_add = 13;
|
|
1445
|
+
string created_by = 14;
|
|
1446
|
+
bool paid_out_of_band = 15;
|
|
1447
|
+
bool enable_auto_cascade_seat_provisioning = 16;
|
|
1448
|
+
int32 user_prompt_credit_cap = 17;
|
|
1449
|
+
int32 user_flow_credit_cap = 18;
|
|
1450
|
+
bool send_email = 19;
|
|
1451
|
+
bool is_pooled = 20;
|
|
1452
|
+
int64 prepurchased_credits = 21;
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
message CreateEnterpriseResponse {
|
|
1456
|
+
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
message UpdateEnterpriseRequest {
|
|
1460
|
+
string secret = 1;
|
|
1461
|
+
string team_name = 2;
|
|
1462
|
+
string team_id = 3;
|
|
1463
|
+
repeated string tags = 4;
|
|
1464
|
+
string organization = 5;
|
|
1465
|
+
string source = 6;
|
|
1466
|
+
string creation_reason = 7;
|
|
1467
|
+
bool trial = 8;
|
|
1468
|
+
google.protobuf.Timestamp end_date = 9;
|
|
1469
|
+
bool hybrid = 10;
|
|
1470
|
+
int32 flow_seats = 11;
|
|
1471
|
+
int32 core_seats = 12;
|
|
1472
|
+
repeated string users_to_add = 13;
|
|
1473
|
+
string created_by = 14;
|
|
1474
|
+
bool paid_out_of_band = 15;
|
|
1475
|
+
bool enable_auto_cascade_seat_provisioning = 16;
|
|
1476
|
+
int32 user_prompt_credit_cap = 17;
|
|
1477
|
+
int32 user_flow_credit_cap = 18;
|
|
1478
|
+
bool is_pooled = 19;
|
|
1479
|
+
int64 prepurchased_credits = 20;
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1482
|
+
message UpdateEnterpriseResponse {
|
|
1483
|
+
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
message UpdateTeamConfigRequest {
|
|
1487
|
+
string secret = 1;
|
|
1488
|
+
string team_name = 2;
|
|
1489
|
+
int32 user_prompt_credit_cap = 3;
|
|
1490
|
+
int32 user_flow_credit_cap = 4;
|
|
1491
|
+
bool disable_prompt_limit = 5;
|
|
1492
|
+
bool disable_flow_limit = 6;
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
message UpdateTeamConfigResponse {
|
|
1496
|
+
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
message UpdateTeamConfigExternalRequest {
|
|
1500
|
+
string auth_token = 1;
|
|
1501
|
+
repeated string allowed_ip_ranges = 24 [deprecated = true];
|
|
1502
|
+
codeium_common_pb.CascadeCommandsAutoExecution max_cascade_auto_execution_level = 25;
|
|
1503
|
+
|
|
1504
|
+
oneof _allow_auto_run_commands {
|
|
1505
|
+
bool allow_auto_run_commands = 2;
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
oneof _allow_mcp_servers {
|
|
1509
|
+
bool allow_mcp_servers = 3;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
oneof _allow_app_deployments {
|
|
1513
|
+
bool allow_app_deployments = 4;
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
oneof _allow_github_reviews {
|
|
1517
|
+
bool allow_github_reviews = 5;
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
oneof _allow_github_description_edits {
|
|
1521
|
+
bool allow_github_description_edits = 6;
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
oneof _pull_request_review_guidelines {
|
|
1525
|
+
string pull_request_review_guidelines = 7;
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1528
|
+
oneof _pull_request_description_guidelines {
|
|
1529
|
+
string pull_request_description_guidelines = 8;
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
oneof _allow_individual_level_analytics {
|
|
1533
|
+
bool allow_individual_level_analytics = 9;
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
oneof _allow_conversation_sharing {
|
|
1537
|
+
bool allow_conversation_sharing = 10;
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
oneof _allow_sandbox_app_deployments {
|
|
1541
|
+
bool allow_sandbox_app_deployments = 11;
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
oneof _allow_teams_app_deployments {
|
|
1545
|
+
bool allow_teams_app_deployments = 12;
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
oneof _allow_attribution {
|
|
1549
|
+
bool allow_attribution = 13;
|
|
1550
|
+
}
|
|
1551
|
+
|
|
1552
|
+
oneof _allowed_mcp_servers {
|
|
1553
|
+
string allowed_mcp_servers = 14;
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
oneof _allow_github_auto_reviews {
|
|
1557
|
+
bool allow_github_auto_reviews = 15;
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
oneof _allow_browser_experimental_features {
|
|
1561
|
+
bool allow_browser_experimental_features = 16;
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
oneof _allow_vibe_and_replace {
|
|
1565
|
+
bool allow_vibe_and_replace = 17;
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
oneof _disable_deepwiki {
|
|
1569
|
+
bool disable_deepwiki = 18;
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
oneof _disable_codemaps {
|
|
1573
|
+
bool disable_codemaps = 19;
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
oneof _allow_codemap_sharing {
|
|
1577
|
+
string allow_codemap_sharing = 20;
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
oneof _disable_fast_context {
|
|
1581
|
+
bool disable_fast_context = 21;
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
oneof _disable_lifeguard {
|
|
1585
|
+
bool disable_lifeguard = 22;
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
oneof _disable_tool_call_execution_outside_workspace {
|
|
1589
|
+
bool disable_tool_call_execution_outside_workspace = 23;
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
oneof _ip_allowlist {
|
|
1593
|
+
IpAllowlist ip_allowlist = 26;
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
oneof _terminal_allow_list {
|
|
1597
|
+
TerminalAllowList terminal_allow_list = 27;
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
oneof _terminal_deny_list {
|
|
1601
|
+
TerminalDenyList terminal_deny_list = 28;
|
|
1602
|
+
}
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
message UpdateTeamConfigExternalResponse {
|
|
1606
|
+
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
message TerminalAllowList {
|
|
1610
|
+
repeated string allowed = 1;
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
message TerminalDenyList {
|
|
1614
|
+
repeated string deny = 1;
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
message IpAllowlist {
|
|
1618
|
+
repeated string ranges = 1;
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
message GetTeamConfigRecordRequest {
|
|
1622
|
+
string auth_token = 1;
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
message GetTeamConfigRecordResponse {
|
|
1626
|
+
codeium_common_pb.TeamConfig team_config = 1;
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
message UsageConfigRequest {
|
|
1630
|
+
string service_key = 1;
|
|
1631
|
+
|
|
1632
|
+
oneof user_add_on_credit_cap_update {
|
|
1633
|
+
bool clear_add_on_credit_cap = 2;
|
|
1634
|
+
uint32 set_add_on_credit_cap = 3;
|
|
1635
|
+
}
|
|
1636
|
+
|
|
1637
|
+
oneof scope {
|
|
1638
|
+
bool team_level = 4;
|
|
1639
|
+
string group_id = 5;
|
|
1640
|
+
string user_email = 6;
|
|
1641
|
+
}
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
message UsageConfigResponse {
|
|
1645
|
+
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
message GetUsageConfigRequest {
|
|
1649
|
+
string service_key = 1;
|
|
1650
|
+
|
|
1651
|
+
oneof scope {
|
|
1652
|
+
bool team_level = 2;
|
|
1653
|
+
string group_id = 3;
|
|
1654
|
+
string user_email = 4;
|
|
1655
|
+
}
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
message GetUsageConfigResponse {
|
|
1659
|
+
oneof _add_on_credit_cap {
|
|
1660
|
+
uint32 add_on_credit_cap = 1;
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
message GetTeamInfoRequest {
|
|
1665
|
+
string secret = 1;
|
|
1666
|
+
string team_name = 2;
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
message UserInfo {
|
|
1670
|
+
string api_key = 1;
|
|
1671
|
+
string name = 2;
|
|
1672
|
+
string email = 3;
|
|
1673
|
+
google.protobuf.Timestamp signup_time = 4;
|
|
1674
|
+
int32 flows_used = 5;
|
|
1675
|
+
int32 prompts_used = 6;
|
|
1676
|
+
int32 num_acceptances = 7;
|
|
1677
|
+
int32 num_lines_accepted = 8;
|
|
1678
|
+
google.protobuf.Timestamp last_update_time = 9;
|
|
1679
|
+
google.protobuf.Timestamp first_windsurf_use_time = 10;
|
|
1680
|
+
codeium_common_pb.UserTeamStatus team_status = 11;
|
|
1681
|
+
bool has_cascade_seat = 12;
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
message GetTeamInfoResponse {
|
|
1685
|
+
Team team = 1;
|
|
1686
|
+
repeated string users_with_cascade = 2 [deprecated = true];
|
|
1687
|
+
repeated string users_on_team = 3 [deprecated = true];
|
|
1688
|
+
repeated UserInfo user_infos = 4;
|
|
1689
|
+
codeium_common_pb.TeamConfig team_config = 5;
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
message IsValidReferralCodeRequest {
|
|
1693
|
+
string referral_code = 1;
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
message IsValidReferralCodeResponse {
|
|
1697
|
+
string referrer_name = 1;
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
message ProcessReferralCodeRequest {
|
|
1701
|
+
string auth_token = 1;
|
|
1702
|
+
string referral_code = 2;
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
message ProcessReferralCodeResponse {
|
|
1706
|
+
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
message CreateMultiTenantTeamRequest {
|
|
1710
|
+
string auth_token = 1;
|
|
1711
|
+
string name = 2;
|
|
1712
|
+
string org_id = 3;
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
message CreateMultiTenantTeamResponse {
|
|
1716
|
+
Team team = 1;
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
message GetMultiTenantTeamsRequest {
|
|
1720
|
+
string auth_token = 1;
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
message GetMultiTenantTeamsResponse {
|
|
1724
|
+
repeated Team teams = 1;
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
message GetTeamOrgIdRequest {
|
|
1728
|
+
string auth_token = 1;
|
|
1729
|
+
string team_id = 2;
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
message GetTeamOrgIdResponse {
|
|
1733
|
+
string org_id = 1;
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
message DeleteMultiTenantTeamRequest {
|
|
1737
|
+
string auth_token = 1;
|
|
1738
|
+
string team_name = 2;
|
|
1739
|
+
bool soft_delete = 3;
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
message DeleteMultiTenantTeamResponse {
|
|
1743
|
+
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
message SetTeamLicenseRequest {
|
|
1747
|
+
string auth_token = 1;
|
|
1748
|
+
string team_name = 2;
|
|
1749
|
+
google.protobuf.Timestamp billing_start_date = 3;
|
|
1750
|
+
google.protobuf.Timestamp billing_end_date = 4;
|
|
1751
|
+
int64 num_seats = 5;
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
message SetTeamLicenseResponse {
|
|
1755
|
+
Team team = 1;
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
message UpdatePlanDetailsInternalRequest {
|
|
1759
|
+
string secret = 1;
|
|
1760
|
+
string email = 2;
|
|
1761
|
+
codeium_common_pb.TeamsTier teams_tier = 3;
|
|
1762
|
+
int64 num_flex_credits = 4;
|
|
1763
|
+
int64 used_flex_credits = 5;
|
|
1764
|
+
int64 used_flow_credits = 6;
|
|
1765
|
+
int64 used_prompt_credits = 7;
|
|
1766
|
+
int64 num_teams_seats = 8;
|
|
1767
|
+
int64 user_used_prompt_credits = 9;
|
|
1768
|
+
int64 user_used_flow_credits = 10;
|
|
1769
|
+
bool for_credit_update = 11;
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
message UpdatePlanDetailsInternalResponse {
|
|
1773
|
+
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1776
|
+
message RemoveUsersFromTeamInternalRequest {
|
|
1777
|
+
string secret = 1;
|
|
1778
|
+
repeated string emails = 2;
|
|
1779
|
+
bool override_subscription_active_check = 3;
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
message RemoveUsersFromTeamInternalResponse {
|
|
1783
|
+
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
message BulkDeleteUsersInternalRequest {
|
|
1787
|
+
string secret = 1;
|
|
1788
|
+
repeated string emails = 2;
|
|
1789
|
+
bool delete_from_bigquery = 3;
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1792
|
+
message BulkDeleteUsersInternalResponse {
|
|
1793
|
+
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
message ExportUserDataInternalRequest {
|
|
1797
|
+
string secret = 1;
|
|
1798
|
+
string email = 2;
|
|
1799
|
+
}
|
|
1800
|
+
|
|
1801
|
+
message ExportUserDataInternalResponse {
|
|
1802
|
+
User user = 1;
|
|
1803
|
+
Team team = 2;
|
|
1804
|
+
codeium_common_pb.UserTeamStatus user_team_status = 3;
|
|
1805
|
+
|
|
1806
|
+
StripeData stripe_data = 4;
|
|
1807
|
+
message StripeData {
|
|
1808
|
+
string customer_id = 1;
|
|
1809
|
+
string subscription_id = 2;
|
|
1810
|
+
bool subscription_active = 3;
|
|
1811
|
+
string subscription_status = 4;
|
|
1812
|
+
google.protobuf.Timestamp current_period_start = 5;
|
|
1813
|
+
google.protobuf.Timestamp current_period_end = 6;
|
|
1814
|
+
bool cancel_at_period_end = 7;
|
|
1815
|
+
string payment_method_type = 8;
|
|
1816
|
+
string payment_method_last4 = 9;
|
|
1817
|
+
repeated Invoice invoices = 10;
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
BrevoData brevo_data = 5;
|
|
1821
|
+
message BrevoData {
|
|
1822
|
+
string email = 1;
|
|
1823
|
+
map<string, string> attributes = 2;
|
|
1824
|
+
repeated int64 list_ids = 3;
|
|
1825
|
+
google.protobuf.Timestamp created_at = 4;
|
|
1826
|
+
google.protobuf.Timestamp modified_at = 5;
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
BigQueryData bigquery_data = 6;
|
|
1830
|
+
message BigQueryData {
|
|
1831
|
+
repeated PreapprovedUserRow preapproved_users = 1;
|
|
1832
|
+
message PreapprovedUserRow {
|
|
1833
|
+
string id = 1;
|
|
1834
|
+
string name = 2;
|
|
1835
|
+
string email = 3;
|
|
1836
|
+
string team_id = 4;
|
|
1837
|
+
string issued_by_api_key = 5;
|
|
1838
|
+
google.protobuf.Timestamp created_at = 6;
|
|
1839
|
+
google.protobuf.Timestamp updated_at = 7;
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
repeated WaitlistRow waitlist = 2;
|
|
1843
|
+
message WaitlistRow {
|
|
1844
|
+
string email = 1;
|
|
1845
|
+
string feature_name = 2;
|
|
1846
|
+
google.protobuf.Timestamp signup_time = 3;
|
|
1847
|
+
google.protobuf.Timestamp accepted_at = 4;
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
repeated BlogSubscriptionRow blog_subscriptions = 3;
|
|
1851
|
+
message BlogSubscriptionRow {
|
|
1852
|
+
string id = 1;
|
|
1853
|
+
string email = 2;
|
|
1854
|
+
google.protobuf.Timestamp created_at = 3;
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
repeated Wrapped2024Row wrapped_2024 = 4;
|
|
1858
|
+
message Wrapped2024Row {
|
|
1859
|
+
string api_key = 1;
|
|
1860
|
+
string email = 2;
|
|
1861
|
+
string name = 3;
|
|
1862
|
+
int32 total_minutes_coded = 4;
|
|
1863
|
+
float coding_percentile = 5;
|
|
1864
|
+
google.protobuf.Timestamp biggest_coding_day = 6;
|
|
1865
|
+
int32 minutes_coding_biggest_day = 7;
|
|
1866
|
+
int32 autocompletes_accepted = 8;
|
|
1867
|
+
int32 cascade_messages_sent = 9;
|
|
1868
|
+
int32 cascade_lines_written = 10;
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1871
|
+
repeated EmailTrackingRow email_tracking = 5;
|
|
1872
|
+
message EmailTrackingRow {
|
|
1873
|
+
string auth_uid = 1;
|
|
1874
|
+
string email_id = 2;
|
|
1875
|
+
google.protobuf.Timestamp sent_at = 3;
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
repeated CascadeCostRow cascade_costs = 6;
|
|
1879
|
+
message CascadeCostRow {
|
|
1880
|
+
string api_key = 1;
|
|
1881
|
+
string user_email = 2;
|
|
1882
|
+
google.protobuf.Timestamp date = 3;
|
|
1883
|
+
float cascade_cost = 4;
|
|
1884
|
+
int64 prompt_credits = 5;
|
|
1885
|
+
int64 flow_credits = 6;
|
|
1886
|
+
int64 num_product_events = 7;
|
|
1887
|
+
}
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1890
|
+
FirebaseAuthData firebase_auth_data = 7;
|
|
1891
|
+
message FirebaseAuthData {
|
|
1892
|
+
string uid = 1;
|
|
1893
|
+
google.protobuf.Timestamp creation_time = 2;
|
|
1894
|
+
google.protobuf.Timestamp last_sign_in_time = 3;
|
|
1895
|
+
bool email_verified = 4;
|
|
1896
|
+
repeated ProviderData providers = 5;
|
|
1897
|
+
}
|
|
1898
|
+
|
|
1899
|
+
GitHubAuthData github_auth_data = 8;
|
|
1900
|
+
message GitHubAuthData {
|
|
1901
|
+
string auth_uid = 1;
|
|
1902
|
+
string github_username = 2;
|
|
1903
|
+
google.protobuf.Timestamp created_at = 3;
|
|
1904
|
+
google.protobuf.Timestamp updated_at = 4;
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
NetlifyAuthData netlify_auth_data = 9;
|
|
1908
|
+
message NetlifyAuthData {
|
|
1909
|
+
string auth_uid = 1;
|
|
1910
|
+
string netlify_user_id = 2;
|
|
1911
|
+
google.protobuf.Timestamp created_at = 3;
|
|
1912
|
+
google.protobuf.Timestamp updated_at = 4;
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1915
|
+
repeated OfferTrackingRow offer_tracking = 10;
|
|
1916
|
+
message OfferTrackingRow {
|
|
1917
|
+
string auth_uid = 1;
|
|
1918
|
+
string offer_id = 2;
|
|
1919
|
+
google.protobuf.Timestamp created_at = 3;
|
|
1920
|
+
}
|
|
1921
|
+
|
|
1922
|
+
repeated UserFeaturesRow user_features = 11;
|
|
1923
|
+
message UserFeaturesRow {
|
|
1924
|
+
string id = 1;
|
|
1925
|
+
string api_key = 2;
|
|
1926
|
+
int32 feature = 3;
|
|
1927
|
+
google.protobuf.Timestamp created_at = 4;
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
repeated CompletionExampleRow completion_examples = 12;
|
|
1931
|
+
message CompletionExampleRow {
|
|
1932
|
+
string auth_uid = 1;
|
|
1933
|
+
string completion_id = 2;
|
|
1934
|
+
string file_path = 3;
|
|
1935
|
+
string short_prefix = 4;
|
|
1936
|
+
string completion_text = 5;
|
|
1937
|
+
string short_suffix = 6;
|
|
1938
|
+
google.protobuf.Timestamp timestamp = 7;
|
|
1939
|
+
}
|
|
1940
|
+
|
|
1941
|
+
repeated WindsurfProjectRow windsurf_projects = 13;
|
|
1942
|
+
message WindsurfProjectRow {
|
|
1943
|
+
string windsurf_project_id = 1;
|
|
1944
|
+
string auth_uid = 2;
|
|
1945
|
+
string deployment_provider = 3;
|
|
1946
|
+
string provider_project_id = 4;
|
|
1947
|
+
string project_name = 5;
|
|
1948
|
+
string domain = 6;
|
|
1949
|
+
string subdomain_name = 7;
|
|
1950
|
+
google.protobuf.Timestamp expires_at = 8;
|
|
1951
|
+
google.protobuf.Timestamp claimed_at = 9;
|
|
1952
|
+
google.protobuf.Timestamp deprovisioned_at = 10;
|
|
1953
|
+
google.protobuf.Timestamp created_at = 11;
|
|
1954
|
+
google.protobuf.Timestamp updated_at = 12;
|
|
1955
|
+
}
|
|
1956
|
+
|
|
1957
|
+
repeated WindsurfDeploymentRow windsurf_deployments = 14;
|
|
1958
|
+
message WindsurfDeploymentRow {
|
|
1959
|
+
string windsurf_deployment_id = 1;
|
|
1960
|
+
string windsurf_project_id = 2;
|
|
1961
|
+
string provider_deployment_id = 3;
|
|
1962
|
+
string workspace_path = 4;
|
|
1963
|
+
string deployment_url = 5;
|
|
1964
|
+
google.protobuf.Timestamp created_at = 6;
|
|
1965
|
+
google.protobuf.Timestamp updated_at = 7;
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
repeated UserReferralRow user_referrals = 15;
|
|
1969
|
+
message UserReferralRow {
|
|
1970
|
+
uint32 id = 1;
|
|
1971
|
+
string auth_uid = 2;
|
|
1972
|
+
string referred_email = 3;
|
|
1973
|
+
string details = 4;
|
|
1974
|
+
google.protobuf.Timestamp created_at = 5;
|
|
1975
|
+
google.protobuf.Timestamp granted_at = 6;
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
repeated UserRoleRow user_roles = 16;
|
|
1979
|
+
message UserRoleRow {
|
|
1980
|
+
string api_key = 1;
|
|
1981
|
+
string role = 2;
|
|
1982
|
+
string group_id = 3;
|
|
1983
|
+
}
|
|
1984
|
+
|
|
1985
|
+
repeated GroupMemberRow group_members = 17;
|
|
1986
|
+
message GroupMemberRow {
|
|
1987
|
+
string id = 1;
|
|
1988
|
+
string group_id = 2;
|
|
1989
|
+
string user_id = 3;
|
|
1990
|
+
google.protobuf.Timestamp created_at = 4;
|
|
1991
|
+
google.protobuf.Timestamp updated_at = 5;
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
repeated AuditLogRow audit_logs = 18;
|
|
1995
|
+
message AuditLogRow {
|
|
1996
|
+
string event_id = 1;
|
|
1997
|
+
google.protobuf.Timestamp timestamp = 2;
|
|
1998
|
+
string team_id = 3;
|
|
1999
|
+
string user_email = 4;
|
|
2000
|
+
string user_name = 5;
|
|
2001
|
+
string api_key = 6;
|
|
2002
|
+
string event = 7;
|
|
2003
|
+
string status_code = 8;
|
|
2004
|
+
string status_reason = 9;
|
|
2005
|
+
string description = 10;
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
repeated RegistrationActivityRow registration_activity = 19;
|
|
2009
|
+
message RegistrationActivityRow {
|
|
2010
|
+
string email_id = 1;
|
|
2011
|
+
int32 action_value = 2;
|
|
2012
|
+
string action_description = 3;
|
|
2013
|
+
google.protobuf.Timestamp time_of_action = 4;
|
|
2014
|
+
bool successful_action = 5;
|
|
2015
|
+
}
|
|
2016
|
+
|
|
2017
|
+
message Invoice {
|
|
2018
|
+
string id = 1;
|
|
2019
|
+
int64 amount_paid = 2;
|
|
2020
|
+
string currency = 3;
|
|
2021
|
+
google.protobuf.Timestamp created = 4;
|
|
2022
|
+
bool paid = 5;
|
|
2023
|
+
string invoice_pdf = 6;
|
|
2024
|
+
string status = 7;
|
|
2025
|
+
}
|
|
2026
|
+
|
|
2027
|
+
message ProviderData {
|
|
2028
|
+
string provider_id = 1;
|
|
2029
|
+
string uid = 2;
|
|
2030
|
+
string email = 3;
|
|
2031
|
+
}
|
|
2032
|
+
}
|
|
2033
|
+
|
|
2034
|
+
message InitiateAccountOwnershipVerificationInternalRequest {
|
|
2035
|
+
string secret = 1;
|
|
2036
|
+
string email = 2;
|
|
2037
|
+
}
|
|
2038
|
+
|
|
2039
|
+
message InitiateAccountOwnershipVerificationInternalResponse {
|
|
2040
|
+
bool success = 1;
|
|
2041
|
+
string message = 2;
|
|
2042
|
+
}
|
|
2043
|
+
|
|
2044
|
+
message VerifyAccountOwnershipInternalRequest {
|
|
2045
|
+
string secret = 1;
|
|
2046
|
+
string email = 2;
|
|
2047
|
+
string verification_code = 3;
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
message VerifyAccountOwnershipInternalResponse {
|
|
2051
|
+
bool verified = 1;
|
|
2052
|
+
string message = 2;
|
|
2053
|
+
}
|
|
2054
|
+
|
|
2055
|
+
message InitiateTopUpRequest {
|
|
2056
|
+
string auth_token = 1;
|
|
2057
|
+
}
|
|
2058
|
+
|
|
2059
|
+
message InitiateTopUpResponse {
|
|
2060
|
+
codeium_common_pb.TransactionStatus status = 1;
|
|
2061
|
+
}
|
|
2062
|
+
|
|
2063
|
+
message UserCascadeDetails {
|
|
2064
|
+
string auth_uid = 1;
|
|
2065
|
+
int64 used_prompt_credits = 2;
|
|
2066
|
+
int64 used_flow_credits = 3;
|
|
2067
|
+
google.protobuf.Timestamp free_cascade_usage_month_start = 4;
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
message AddExtraFlexCreditsInternalRequest {
|
|
2071
|
+
string secret = 1;
|
|
2072
|
+
string team_id = 2;
|
|
2073
|
+
int64 amount = 3;
|
|
2074
|
+
FlexCreditChronicleType type = 4;
|
|
2075
|
+
string email = 5;
|
|
2076
|
+
}
|
|
2077
|
+
|
|
2078
|
+
message AddExtraFlexCreditsInternalResponse {
|
|
2079
|
+
int64 previous_flex_credits = 1;
|
|
2080
|
+
int64 new_flex_credits = 2;
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2083
|
+
message GetOneTimeAuthTokenRequest {
|
|
2084
|
+
string firebase_id_token = 1;
|
|
2085
|
+
}
|
|
2086
|
+
|
|
2087
|
+
message GetOneTimeAuthTokenResponse {
|
|
2088
|
+
string auth_token = 1;
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2091
|
+
message CreatePKCEAuthorizationCodeRequest {
|
|
2092
|
+
string firebase_id_token = 1;
|
|
2093
|
+
string code_challenge = 2;
|
|
2094
|
+
string code_challenge_method = 3;
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
message CreatePKCEAuthorizationCodeResponse {
|
|
2098
|
+
string authorization_code = 1;
|
|
2099
|
+
}
|
|
2100
|
+
|
|
2101
|
+
message ExchangePKCEAuthorizationCodeRequest {
|
|
2102
|
+
string authorization_code = 1;
|
|
2103
|
+
string code_verifier = 2;
|
|
2104
|
+
}
|
|
2105
|
+
|
|
2106
|
+
message ExchangePKCEAuthorizationCodeResponse {
|
|
2107
|
+
string api_key = 1;
|
|
2108
|
+
string name = 2;
|
|
2109
|
+
string api_server_url = 3;
|
|
2110
|
+
}
|
|
2111
|
+
|
|
2112
|
+
message GetSetUserApiProviderKeysRequest {
|
|
2113
|
+
string auth_token = 1;
|
|
2114
|
+
}
|
|
2115
|
+
|
|
2116
|
+
message GetSetUserApiProviderKeysResponse {
|
|
2117
|
+
repeated codeium_common_pb.APIProvider providers = 1;
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
message SetUserApiProviderKeyRequest {
|
|
2121
|
+
string auth_token = 1;
|
|
2122
|
+
codeium_common_pb.APIProvider provider = 2;
|
|
2123
|
+
string provider_api_key = 3;
|
|
2124
|
+
}
|
|
2125
|
+
|
|
2126
|
+
message SetUserApiProviderKeyResponse {
|
|
2127
|
+
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2130
|
+
message DeleteUserApiProviderKeyRequest {
|
|
2131
|
+
string auth_token = 1;
|
|
2132
|
+
codeium_common_pb.APIProvider provider = 2;
|
|
2133
|
+
}
|
|
2134
|
+
|
|
2135
|
+
message DeleteUserApiProviderKeyResponse {
|
|
2136
|
+
|
|
2137
|
+
}
|
|
2138
|
+
|
|
2139
|
+
message DeleteApiKeyRequest {
|
|
2140
|
+
oneof auth {
|
|
2141
|
+
string auth_token = 1;
|
|
2142
|
+
string service_key = 3;
|
|
2143
|
+
}
|
|
2144
|
+
|
|
2145
|
+
oneof target {
|
|
2146
|
+
string key_id = 2;
|
|
2147
|
+
string api_key = 4;
|
|
2148
|
+
string group_id = 5;
|
|
2149
|
+
}
|
|
2150
|
+
}
|
|
2151
|
+
|
|
2152
|
+
message DeleteApiKeyResponse {
|
|
2153
|
+
int64 num_deleted = 1;
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
message GetApiKeySummaryRequest {
|
|
2157
|
+
string auth_token = 1;
|
|
2158
|
+
}
|
|
2159
|
+
|
|
2160
|
+
message ApiKeyForDisplay {
|
|
2161
|
+
string key_id = 1;
|
|
2162
|
+
string key_for_display = 2;
|
|
2163
|
+
google.protobuf.Timestamp created_at = 3;
|
|
2164
|
+
google.protobuf.Timestamp last_used_at = 4;
|
|
2165
|
+
}
|
|
2166
|
+
|
|
2167
|
+
message GetApiKeySummaryResponse {
|
|
2168
|
+
repeated ApiKeyForDisplay api_keys = 1;
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
message LogOutUserRequest {
|
|
2172
|
+
string uid = 1;
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
message LogOutUserResponse {
|
|
2176
|
+
|
|
2177
|
+
}
|
|
2178
|
+
|
|
2179
|
+
message TeamDomain {
|
|
2180
|
+
string domain = 1;
|
|
2181
|
+
bool verified = 2;
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
message AddTeamDomainRequest {
|
|
2185
|
+
string auth_token = 1;
|
|
2186
|
+
string domain = 2;
|
|
2187
|
+
}
|
|
2188
|
+
|
|
2189
|
+
message AddTeamDomainResponse {
|
|
2190
|
+
string verification_token = 1;
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2193
|
+
message ListTeamDomainsRequest {
|
|
2194
|
+
string auth_token = 1;
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2197
|
+
message ListTeamDomainsResponse {
|
|
2198
|
+
repeated TeamDomain team_domains = 1;
|
|
2199
|
+
}
|
|
2200
|
+
|
|
2201
|
+
message VerifyTeamDomainRequest {
|
|
2202
|
+
string auth_token = 1;
|
|
2203
|
+
string domain = 2;
|
|
2204
|
+
}
|
|
2205
|
+
|
|
2206
|
+
message VerifyTeamDomainResponse {
|
|
2207
|
+
|
|
2208
|
+
}
|
|
2209
|
+
|
|
2210
|
+
message DeleteTeamDomainRequest {
|
|
2211
|
+
string auth_token = 1;
|
|
2212
|
+
string domain = 2;
|
|
2213
|
+
}
|
|
2214
|
+
|
|
2215
|
+
message DeleteTeamDomainResponse {
|
|
2216
|
+
|
|
2217
|
+
}
|
|
2218
|
+
|
|
2219
|
+
message AddTeamDomainInternalRequest {
|
|
2220
|
+
string secret = 1;
|
|
2221
|
+
string team_id = 2;
|
|
2222
|
+
string domain = 3;
|
|
2223
|
+
}
|
|
2224
|
+
|
|
2225
|
+
message AddTeamDomainInternalResponse {
|
|
2226
|
+
|
|
2227
|
+
}
|
|
2228
|
+
|
|
2229
|
+
message DeleteTeamDomainInternalRequest {
|
|
2230
|
+
string secret = 1;
|
|
2231
|
+
string team_id = 2;
|
|
2232
|
+
string domain = 3;
|
|
2233
|
+
}
|
|
2234
|
+
|
|
2235
|
+
message DeleteTeamDomainInternalResponse {
|
|
2236
|
+
|
|
2237
|
+
}
|
|
2238
|
+
|
|
2239
|
+
message ListTeamDomainsInternalRequest {
|
|
2240
|
+
string secret = 1;
|
|
2241
|
+
string team_id = 2;
|
|
2242
|
+
}
|
|
2243
|
+
|
|
2244
|
+
message ListTeamDomainsInternalResponse {
|
|
2245
|
+
repeated TeamDomain team_domains = 1;
|
|
2246
|
+
}
|
|
2247
|
+
|
|
2248
|
+
message UpdateTeamNameInternalRequest {
|
|
2249
|
+
string secret = 1;
|
|
2250
|
+
string team_id = 2;
|
|
2251
|
+
string new_name = 3;
|
|
2252
|
+
}
|
|
2253
|
+
|
|
2254
|
+
message UpdateTeamNameInternalResponse {
|
|
2255
|
+
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2258
|
+
message VerifySSOLoginInternalRequest {
|
|
2259
|
+
string secret = 1;
|
|
2260
|
+
string saml_provider_id = 2;
|
|
2261
|
+
string user_email = 3;
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2264
|
+
message VerifySSOLoginInternalResponse {
|
|
2265
|
+
bool is_allowed = 1;
|
|
2266
|
+
string error_message = 2;
|
|
2267
|
+
}
|
|
2268
|
+
|
|
2269
|
+
message CheckProTrialEligibilityRequest {
|
|
2270
|
+
string auth_token = 1;
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2273
|
+
message CheckProTrialEligibilityResponse {
|
|
2274
|
+
bool is_eligible = 1;
|
|
2275
|
+
}
|
|
2276
|
+
|
|
2277
|
+
message ExchangeDevinCodeRequest {
|
|
2278
|
+
string code = 1;
|
|
2279
|
+
}
|
|
2280
|
+
|
|
2281
|
+
message ExchangeDevinCodeResponse {
|
|
2282
|
+
string session_token = 1;
|
|
2283
|
+
}
|
|
2284
|
+
|
|
2285
|
+
message GetStripeSubscriptionStateRequest {
|
|
2286
|
+
string auth_token = 1;
|
|
2287
|
+
}
|
|
2288
|
+
|
|
2289
|
+
message GetStripeSubscriptionStateResponse {
|
|
2290
|
+
string email = 1;
|
|
2291
|
+
string subscription_id = 2;
|
|
2292
|
+
string subscription_status = 3;
|
|
2293
|
+
bool cancel_at_period_end = 4;
|
|
2294
|
+
google.protobuf.Timestamp current_period_start = 5;
|
|
2295
|
+
google.protobuf.Timestamp current_period_end = 6;
|
|
2296
|
+
string customer_id = 7;
|
|
2297
|
+
codeium_common_pb.TeamsTier teams_tier = 8;
|
|
2298
|
+
bool on_trial = 9;
|
|
2299
|
+
}
|
|
2300
|
+
|
|
2301
|
+
enum PaymentPeriod {
|
|
2302
|
+
PAYMENT_PERIOD_UNSPECIFIED = 0;
|
|
2303
|
+
PAYMENT_PERIOD_MONTH = 1;
|
|
2304
|
+
PAYMENT_PERIOD_YEAR = 2;
|
|
2305
|
+
}
|
|
2306
|
+
|
|
2307
|
+
enum SubInterval {
|
|
2308
|
+
SUB_INTERVAL_UNSPECIFIED = 0;
|
|
2309
|
+
SUB_INTERVAL_MONTH = 1;
|
|
2310
|
+
SUB_INTERVAL_YEAR = 2;
|
|
2311
|
+
}
|
|
2312
|
+
|
|
2313
|
+
enum StripePrice {
|
|
2314
|
+
STRIPE_PRICE_UNSPECIFIED = 0;
|
|
2315
|
+
STRIPE_PRICE_TEAMS_MONTHLY = 1;
|
|
2316
|
+
STRIPE_PRICE_TEAMS_YEARLY = 2;
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2319
|
+
enum CascadeSeatType {
|
|
2320
|
+
CASCADE_SEAT_TYPE_UNSPECIFIED = 0;
|
|
2321
|
+
CASCADE_SEAT_TYPE_ENTRY = 1;
|
|
2322
|
+
CASCADE_SEAT_TYPE_STANDARD = 2;
|
|
2323
|
+
}
|
|
2324
|
+
|
|
2325
|
+
enum UserTeamDetailsType {
|
|
2326
|
+
USER_TEAM_DETAILS_TYPE_UNSPECIFIED = 0;
|
|
2327
|
+
USER_TEAM_DETAILS_TYPE_CASCADE_SEAT = 1;
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
enum PendingTransactionType {
|
|
2331
|
+
PENDING_TRANSACTION_TYPE_UNSPECIFIED = 0;
|
|
2332
|
+
PENDING_TRANSACTION_TYPE_TOP_UP = 1;
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2335
|
+
enum FlexCreditChronicleType {
|
|
2336
|
+
FLEX_CREDIT_CHRONICLE_TYPE_UNSPECIFIED = 0;
|
|
2337
|
+
FLEX_CREDIT_CHRONICLE_TYPE_PURCHASE = 1;
|
|
2338
|
+
FLEX_CREDIT_CHRONICLE_TYPE_REFERRER = 2;
|
|
2339
|
+
FLEX_CREDIT_CHRONICLE_TYPE_AVERY = 3;
|
|
2340
|
+
FLEX_CREDIT_CHRONICLE_TYPE_TOP_UP = 4;
|
|
2341
|
+
FLEX_CREDIT_CHRONICLE_TYPE_SUPPORT = 5;
|
|
2342
|
+
FLEX_CREDIT_CHRONICLE_TYPE_GTM = 6;
|
|
2343
|
+
}
|
|
2344
|
+
|
|
2345
|
+
enum PurchaseReasonType {
|
|
2346
|
+
PURCHASE_REASON_TYPE_UNSPECIFIED = 0;
|
|
2347
|
+
PURCHASE_REASON_TYPE_MANUAL = 1;
|
|
2348
|
+
PURCHASE_REASON_TYPE_TOP_UP = 2;
|
|
2349
|
+
}
|