From 17b217bd41634096a58ad12abf285827704fe60a Mon Sep 17 00:00:00 2001 From: droplet-bot Date: Tue, 18 Jun 2024 11:24:12 +0000 Subject: [PATCH] chore: auto-gen by protobufs triggered by commit: https://github.com/instill-ai/protobufs/commit/48ddb2e49faf2b6b90b8149acfbde323bcdda2b0 --- core/mgmt/v1beta/mgmt_pb2.py | 304 +++++++++++++++++----------------- core/mgmt/v1beta/mgmt_pb2.pyi | 7 +- 2 files changed, 157 insertions(+), 154 deletions(-) diff --git a/core/mgmt/v1beta/mgmt_pb2.py b/core/mgmt/v1beta/mgmt_pb2.py index 709d941..6cb250a 100644 --- a/core/mgmt/v1beta/mgmt_pb2.py +++ b/core/mgmt/v1beta/mgmt_pb2.py @@ -19,7 +19,7 @@ from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63ore/mgmt/v1beta/mgmt.proto\x12\x10\x63ore.mgmt.v1beta\x1a+common/healthcheck/v1beta/healthcheck.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"\x96\x01\n\x0fLivenessRequest\x12j\n\x14health_check_request\x18\x01 \x01(\x0b\x32-.common.healthcheck.v1beta.HealthCheckRequestB\x04\xe2\x41\x01\x01H\x00R\x12healthCheckRequest\x88\x01\x01\x42\x17\n\x15_health_check_request\"v\n\x10LivenessResponse\x12\x62\n\x15health_check_response\x18\x01 \x01(\x0b\x32..common.healthcheck.v1beta.HealthCheckResponseR\x13healthCheckResponse\"\x97\x01\n\x10ReadinessRequest\x12j\n\x14health_check_request\x18\x01 \x01(\x0b\x32-.common.healthcheck.v1beta.HealthCheckRequestB\x04\xe2\x41\x01\x01H\x00R\x12healthCheckRequest\x88\x01\x01\x42\x17\n\x15_health_check_request\"w\n\x11ReadinessResponse\x12\x62\n\x15health_check_response\x18\x01 \x01(\x0b\x32..common.healthcheck.v1beta.HealthCheckResponseR\x13healthCheckResponse\"\'\n\nPermission\x12\x19\n\x08\x63\x61n_edit\x18\x01 \x01(\x08R\x07\x63\x61nEdit\"\xd3\x03\n\x0bUserProfile\x12,\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01H\x00R\x0b\x64isplayName\x88\x01\x01\x12\x1b\n\x03\x62io\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\x03\x62io\x88\x01\x01\x12!\n\x06\x61vatar\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01H\x02R\x06\x61vatar\x88\x01\x01\x12,\n\x0cpublic_email\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01H\x03R\x0bpublicEmail\x88\x01\x01\x12,\n\x0c\x63ompany_name\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01H\x04R\x0b\x63ompanyName\x88\x01\x01\x12m\n\x14social_profile_links\x18\x06 \x03(\x0b\x32\x35.core.mgmt.v1beta.UserProfile.SocialProfileLinksEntryB\x04\xe2\x41\x01\x01R\x12socialProfileLinks\x1a\x45\n\x17SocialProfileLinksEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x0f\n\r_display_nameB\x06\n\x04_bioB\t\n\x07_avatarB\x0f\n\r_public_emailB\x0f\n\r_company_name\"\xa4\x03\n\x13OrganizationProfile\x12,\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01H\x00R\x0b\x64isplayName\x88\x01\x01\x12\x1b\n\x03\x62io\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\x03\x62io\x88\x01\x01\x12!\n\x06\x61vatar\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01H\x02R\x06\x61vatar\x88\x01\x01\x12,\n\x0cpublic_email\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01H\x03R\x0bpublicEmail\x88\x01\x01\x12u\n\x14social_profile_links\x18\x05 \x03(\x0b\x32=.core.mgmt.v1beta.OrganizationProfile.SocialProfileLinksEntryB\x04\xe2\x41\x01\x01R\x12socialProfileLinks\x1a\x45\n\x17SocialProfileLinksEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x0f\n\r_display_nameB\x06\n\x04_bioB\t\n\x07_avatarB\x0f\n\r_public_email\"\x90\x05\n\x11\x41uthenticatedUser\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03R\x04name\x12\x1b\n\x03uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x05H\x00R\x03uid\x88\x01\x01\x12\x14\n\x02id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02R\x02id\x12\x41\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ncreateTime\x12\x41\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\nupdateTime\x12\x1a\n\x05\x65mail\x18\x07 \x01(\tB\x04\xe2\x41\x01\x02R\x05\x65mail\x12%\n\x0b\x63ustomer_id\x18\x08 \x01(\tB\x04\xe2\x41\x01\x03R\ncustomerId\x12\x1d\n\x04role\x18\x0c \x01(\tB\x04\xe2\x41\x01\x01H\x01R\x04role\x88\x01\x01\x12=\n\x17newsletter_subscription\x18\r \x01(\x08\x42\x04\xe2\x41\x01\x02R\x16newsletterSubscription\x12,\n\x0c\x63ookie_token\x18\x0e \x01(\tB\x04\xe2\x41\x01\x01H\x02R\x0b\x63ookieToken\x88\x01\x01\x12U\n\x11onboarding_status\x18\x11 \x01(\x0e\x32\".core.mgmt.v1beta.OnboardingStatusB\x04\xe2\x41\x01\x01R\x10onboardingStatus\x12\x37\n\x07profile\x18\x12 \x01(\x0b\x32\x1d.core.mgmt.v1beta.UserProfileR\x07profile:\'\xea\x41$\n\"api.instill.tech/AuthenticatedUserB\x06\n\x04_uidB\x07\n\x05_roleB\x0f\n\r_cookie_token\"\x90\x01\n\x05Owner\x12\x32\n\x04user\x18\x01 \x01(\x0b\x32\x16.core.mgmt.v1beta.UserB\x04\xe2\x41\x01\x03H\x00R\x04user\x12J\n\x0corganization\x18\x02 \x01(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationB\x04\xe2\x41\x01\x03H\x00R\x0corganizationB\x07\n\x05owner\"\xd9\x02\n\x04User\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03R\x04name\x12\x1b\n\x03uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x05H\x00R\x03uid\x88\x01\x01\x12\x14\n\x02id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02R\x02id\x12\x41\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ncreateTime\x12\x41\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\nupdateTime\x12\x37\n\x07profile\x18\x0b \x01(\x0b\x32\x1d.core.mgmt.v1beta.UserProfileR\x07profile:=\xea\x41:\n\x15\x61pi.instill.tech/User\x12\x0fusers/{user.id}\x12\x10users/{user.uid}B\x06\n\x04_uid\"\xf4\x01\n\x15ListUsersAdminRequest\x12&\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x12\x35\n\x04view\x18\x03 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x02R\x04view\x88\x01\x01\x12!\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01H\x03R\x06\x66ilter\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\x07\n\x05_viewB\t\n\x07_filter\"\x8d\x01\n\x16ListUsersAdminResponse\x12,\n\x05users\x18\x01 \x03(\x0b\x32\x16.core.mgmt.v1beta.UserR\x05users\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x05R\ttotalSize\"\x9b\x01\n\x13GetUserAdminRequest\x12\x44\n\x04name\x18\x01 \x01(\tB0\x92\x41\x0f\xca>\x0c\xfa\x02\tuser_name\xe2\x41\x01\x02\xfa\x41\x17\n\x15\x61pi.instill.tech/UserR\x04name\x12\x35\n\x04view\x18\x02 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"B\n\x14GetUserAdminResponse\x12*\n\x04user\x18\x01 \x01(\x0b\x32\x16.core.mgmt.v1beta.UserR\x04user\"|\n\x16LookUpUserAdminRequest\x12\"\n\tpermalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\tpermalink\x12\x35\n\x04view\x18\x02 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"E\n\x17LookUpUserAdminResponse\x12*\n\x04user\x18\x01 \x01(\x0b\x32\x16.core.mgmt.v1beta.UserR\x04user\"\xfc\x01\n\x1dListOrganizationsAdminRequest\x12&\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x12\x35\n\x04view\x18\x03 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x02R\x04view\x88\x01\x01\x12!\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01H\x03R\x06\x66ilter\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\x07\n\x05_viewB\t\n\x07_filter\"\xad\x01\n\x1eListOrganizationsAdminResponse\x12\x44\n\rorganizations\x18\x01 \x03(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationR\rorganizations\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x05R\ttotalSize\"\xb3\x01\n\x1bGetOrganizationAdminRequest\x12T\n\x04name\x18\x01 \x01(\tB@\x92\x41\x17\xca>\x14\xfa\x02\x11organization_name\xe2\x41\x01\x02\xfa\x41\x1f\n\x1d\x61pi.instill.tech/OrganizationR\x04name\x12\x35\n\x04view\x18\x02 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"b\n\x1cGetOrganizationAdminResponse\x12\x42\n\x0corganization\x18\x01 \x01(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationR\x0corganization\"\x84\x01\n\x1eLookUpOrganizationAdminRequest\x12\"\n\tpermalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\tpermalink\x12\x35\n\x04view\x18\x02 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"e\n\x1fLookUpOrganizationAdminResponse\x12\x42\n\x0corganization\x18\x01 \x01(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationR\x0corganization\"\xef\x01\n\x10ListUsersRequest\x12&\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x12\x35\n\x04view\x18\x03 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x02R\x04view\x88\x01\x01\x12!\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01H\x03R\x06\x66ilter\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\x07\n\x05_viewB\t\n\x07_filter\"\x88\x01\n\x11ListUsersResponse\x12,\n\x05users\x18\x01 \x03(\x0b\x32\x16.core.mgmt.v1beta.UserR\x05users\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x05R\ttotalSize\"\x96\x01\n\x0eGetUserRequest\x12\x44\n\x04name\x18\x01 \x01(\tB0\x92\x41\x0f\xca>\x0c\xfa\x02\tuser_name\xe2\x41\x01\x02\xfa\x41\x17\n\x15\x61pi.instill.tech/UserR\x04name\x12\x35\n\x04view\x18\x02 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"=\n\x0fGetUserResponse\x12*\n\x04user\x18\x01 \x01(\x0b\x32\x16.core.mgmt.v1beta.UserR\x04user\"\x1d\n\x1bGetAuthenticatedUserRequest\"W\n\x1cGetAuthenticatedUserResponse\x12\x37\n\x04user\x18\x01 \x01(\x0b\x32#.core.mgmt.v1beta.AuthenticatedUserR\x04user\"\x9b\x01\n\x1dPatchAuthenticatedUserRequest\x12\x37\n\x04user\x18\x01 \x01(\x0b\x32#.core.mgmt.v1beta.AuthenticatedUserR\x04user\x12\x41\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02R\nupdateMask\"Y\n\x1ePatchAuthenticatedUserResponse\x12\x37\n\x04user\x18\x01 \x01(\x0b\x32#.core.mgmt.v1beta.AuthenticatedUserR\x04user\"-\n\x15\x43heckNamespaceRequest\x12\x14\n\x02id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x02id\"\xea\x01\n\x16\x43heckNamespaceResponse\x12\x46\n\x04type\x18\x01 \x01(\x0e\x32\x32.core.mgmt.v1beta.CheckNamespaceResponse.NamespaceR\x04type\"\x87\x01\n\tNamespace\x12\x19\n\x15NAMESPACE_UNSPECIFIED\x10\x00\x12\x17\n\x13NAMESPACE_AVAILABLE\x10\x01\x12\x12\n\x0eNAMESPACE_USER\x10\x02\x12\x1a\n\x16NAMESPACE_ORGANIZATION\x10\x03\x12\x16\n\x12NAMESPACE_RESERVED\x10\x04\"\x99\x05\n\x08\x41piToken\x12>\n\rlast_use_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0blastUseTime\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03R\x04name\x12\x16\n\x03uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03R\x03uid\x12\x14\n\x02id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x05R\x02id\x12\x41\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ncreateTime\x12\x41\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\nupdateTime\x12\'\n\x0c\x61\x63\x63\x65ss_token\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03R\x0b\x61\x63\x63\x65ssToken\x12<\n\x05state\x18\x08 \x01(\x0e\x32 .core.mgmt.v1beta.ApiToken.StateB\x04\xe2\x41\x01\x03R\x05state\x12#\n\ntoken_type\x18\t \x01(\tB\x04\xe2\x41\x01\x03R\ttokenType\x12\x18\n\x03ttl\x18\n \x01(\x05\x42\x04\xe2\x41\x01\x04H\x00R\x03ttl\x12=\n\x0b\x65xpire_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\nexpireTime\"W\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x12\n\x0eSTATE_INACTIVE\x10\x01\x12\x10\n\x0cSTATE_ACTIVE\x10\x02\x12\x11\n\rSTATE_EXPIRED\x10\x03:3\xea\x41\x30\n\x19\x61pi.instill.tech/ApiToken\x12\x13tokens/{token.name}B\x0c\n\nexpiration\"F\n\x12\x43reateTokenRequest\x12\x30\n\x05token\x18\x01 \x01(\x0b\x32\x1a.core.mgmt.v1beta.ApiTokenR\x05token\"G\n\x13\x43reateTokenResponse\x12\x30\n\x05token\x18\x01 \x01(\x0b\x32\x1a.core.mgmt.v1beta.ApiTokenR\x05token\"\x82\x01\n\x11ListTokensRequest\x12&\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_token\"\x8f\x01\n\x12ListTokensResponse\x12\x32\n\x06tokens\x18\x01 \x03(\x0b\x32\x1a.core.mgmt.v1beta.ApiTokenR\x06tokens\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x05R\ttotalSize\"\\\n\x0fGetTokenRequest\x12I\n\x04name\x18\x01 \x01(\tB5\x92\x41\x10\xca>\r\xfa\x02\ntoken_name\xe2\x41\x01\x02\xfa\x41\x1b\n\x19\x61pi.instill.tech/ApiTokenR\x04name\"D\n\x10GetTokenResponse\x12\x30\n\x05token\x18\x01 \x01(\x0b\x32\x1a.core.mgmt.v1beta.ApiTokenR\x05token\"_\n\x12\x44\x65leteTokenRequest\x12I\n\x04name\x18\x01 \x01(\tB5\x92\x41\x10\xca>\r\xfa\x02\ntoken_name\xe2\x41\x01\x02\xfa\x41\x1b\n\x19\x61pi.instill.tech/ApiTokenR\x04name\"\x15\n\x13\x44\x65leteTokenResponse\"\x16\n\x14ValidateTokenRequest\"8\n\x15ValidateTokenResponse\x12\x1f\n\x08user_uid\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03R\x07userUid\"J\n\x19GetRemainingCreditRequest\x12-\n\x05owner\x18\x01 \x01(\tB\x17\x92\x41\x10\xca>\r\xfa\x02\nowner_name\xe2\x41\x01\x02R\x05owner\"|\n\x1aGetRemainingCreditResponse\x12\x1e\n\nperishable\x18\x02 \x01(\x02R\nperishable\x12\"\n\x0cimperishable\x18\x03 \x01(\x02R\x0cimperishable\x12\x14\n\x05total\x18\x04 \x01(\x02R\x05totalJ\x04\x08\x01\x10\x02\"<\n\x1eGetRemainingCreditAdminRequest\x12\x1a\n\x05owner\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x05owner\"9\n\x1fGetRemainingCreditAdminResponse\x12\x16\n\x06\x61mount\x18\x01 \x01(\x02R\x06\x61mount\"j\n\x1aSubtractCreditAdminRequest\x12\x1a\n\x05owner\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x05owner\x12\x16\n\x06\x61mount\x18\x02 \x01(\x02R\x06\x61mount\x12\x18\n\x07\x63oncept\x18\x03 \x01(\tR\x07\x63oncept\"5\n\x1bSubtractCreditAdminResponse\x12\x16\n\x06\x61mount\x18\x01 \x01(\x02R\x06\x61mount\"\\\n\x16\x41uthTokenIssuerRequest\x12 \n\x08username\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x08username\x12 \n\x08password\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\x08password\"\xec\x01\n\x17\x41uthTokenIssuerResponse\x12`\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\x0b\x32=.core.mgmt.v1beta.AuthTokenIssuerResponse.UnsignedAccessTokenR\x0b\x61\x63\x63\x65ssToken\x1ao\n\x13UnsignedAccessToken\x12\x10\n\x03\x61ud\x18\x01 \x01(\tR\x03\x61ud\x12\x10\n\x03iss\x18\x02 \x01(\tR\x03iss\x12\x10\n\x03sub\x18\x03 \x01(\tR\x03sub\x12\x10\n\x03jti\x18\x04 \x01(\tR\x03jti\x12\x10\n\x03\x65xp\x18\x05 \x01(\x05R\x03\x65xp\"V\n\x10\x41uthLoginRequest\x12 \n\x08username\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x08username\x12 \n\x08password\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\x08password\"6\n\x11\x41uthLoginResponse\x12!\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tR\x0b\x61\x63\x63\x65ssToken\"\x13\n\x11\x41uthLogoutRequest\"\x14\n\x12\x41uthLogoutResponse\" \n\x1e\x41uthValidateAccessTokenRequest\"!\n\x1f\x41uthValidateAccessTokenResponse\"a\n\x19\x41uthChangePasswordRequest\x12!\n\x0cold_password\x18\x01 \x01(\tR\x0boldPassword\x12!\n\x0cnew_password\x18\x02 \x01(\tR\x0bnewPassword\"\x1c\n\x1a\x41uthChangePasswordResponse\"\x96\x04\n\x0cOrganization\x12\x32\n\x04name\x18\x01 \x01(\tB\x1e\x92\x41\x17\xca>\x14\xfa\x02\x11organization_name\xe2\x41\x01\x03R\x04name\x12\x16\n\x03uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03R\x03uid\x12\x14\n\x02id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02R\x02id\x12\x41\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ncreateTime\x12\x41\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\nupdateTime\x12\x32\n\x05owner\x18\x0b \x01(\x0b\x32\x16.core.mgmt.v1beta.UserB\x04\xe2\x41\x01\x03R\x05owner\x12?\n\x07profile\x18\x0c \x01(\x0b\x32%.core.mgmt.v1beta.OrganizationProfileR\x07profile\x12\x42\n\npermission\x18\r \x01(\x0b\x32\x1c.core.mgmt.v1beta.PermissionB\x04\xe2\x41\x01\x03R\npermission:e\xea\x41\x62\n\x1d\x61pi.instill.tech/Organization\x12\x1forganizations/{organization.id}\x12 organizations/{organization.uid}\"\xf7\x01\n\x18ListOrganizationsRequest\x12&\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x12\x35\n\x04view\x18\x03 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x02R\x04view\x88\x01\x01\x12!\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01H\x03R\x06\x66ilter\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\x07\n\x05_viewB\t\n\x07_filter\"\xa8\x01\n\x19ListOrganizationsResponse\x12\x44\n\rorganizations\x18\x01 \x03(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationR\rorganizations\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x05R\ttotalSize\"_\n\x19\x43reateOrganizationRequest\x12\x42\n\x0corganization\x18\x01 \x01(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationR\x0corganization\"`\n\x1a\x43reateOrganizationResponse\x12\x42\n\x0corganization\x18\x01 \x01(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationR\x0corganization\"\xae\x01\n\x16GetOrganizationRequest\x12T\n\x04name\x18\x01 \x01(\tB@\x92\x41\x17\xca>\x14\xfa\x02\x11organization_name\xe2\x41\x01\x02\xfa\x41\x1f\n\x1d\x61pi.instill.tech/OrganizationR\x04name\x12\x35\n\x04view\x18\x02 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"]\n\x17GetOrganizationResponse\x12\x42\n\x0corganization\x18\x01 \x01(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationR\x0corganization\"\xa8\x01\n\x19UpdateOrganizationRequest\x12H\n\x0corganization\x18\x01 \x01(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationB\x04\xe2\x41\x01\x02R\x0corganization\x12\x41\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02R\nupdateMask\"`\n\x1aUpdateOrganizationResponse\x12\x42\n\x0corganization\x18\x01 \x01(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationR\x0corganization\"q\n\x19\x44\x65leteOrganizationRequest\x12T\n\x04name\x18\x01 \x01(\tB@\x92\x41\x17\xca>\x14\xfa\x02\x11organization_name\xe2\x41\x01\x02\xfa\x41\x1f\n\x1d\x61pi.instill.tech/OrganizationR\x04name\"\x1c\n\x1a\x44\x65leteOrganizationResponse\"\xac\x02\n\x16OrganizationMembership\x12=\n\x04name\x18\x01 \x01(\tB)\x92\x41\"\xca>\x1f\xfa\x02\x1corganization_membership_name\xe2\x41\x01\x03R\x04name\x12\x18\n\x04role\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02R\x04role\x12=\n\x05state\x18\x04 \x01(\x0e\x32!.core.mgmt.v1beta.MembershipStateB\x04\xe2\x41\x01\x03R\x05state\x12\x30\n\x04user\x18\x05 \x01(\x0b\x32\x16.core.mgmt.v1beta.UserB\x04\xe2\x41\x01\x03R\x04user\x12H\n\x0corganization\x18\x06 \x01(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationB\x04\xe2\x41\x01\x03R\x0corganization\"\x9c\x02\n\x0eUserMembership\x12\x35\n\x04name\x18\x01 \x01(\tB!\x92\x41\x1a\xca>\x17\xfa\x02\x14user_membership_name\xe2\x41\x01\x03R\x04name\x12\x18\n\x04role\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03R\x04role\x12=\n\x05state\x18\x04 \x01(\x0e\x32!.core.mgmt.v1beta.MembershipStateB\x04\xe2\x41\x01\x02R\x05state\x12\x30\n\x04user\x18\x05 \x01(\x0b\x32\x16.core.mgmt.v1beta.UserB\x04\xe2\x41\x01\x03R\x04user\x12H\n\x0corganization\x18\x06 \x01(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationB\x04\xe2\x41\x01\x03R\x0corganization\"n\n\x1aListUserMembershipsRequest\x12P\n\x06parent\x18\x05 \x01(\tB8\x92\x41\x0f\xca>\x0c\xfa\x02\tuser_name\xe2\x41\x01\x02\xfa\x41\x1f\x12\x1d\x61pi.instill.tech/OrganizationR\x06parent\"a\n\x1bListUserMembershipsResponse\x12\x42\n\x0bmemberships\x18\x01 \x03(\x0b\x32 .core.mgmt.v1beta.UserMembershipR\x0bmemberships\"\xb5\x01\n\x18GetUserMembershipRequest\x12Y\n\x04name\x18\x01 \x01(\tBE\x92\x41\x1a\xca>\x17\xfa\x02\x14user_membership_name\xe2\x41\x01\x02\xfa\x41!\n\x1f\x61pi.instill.tech/UserMembershipR\x04name\x12\x35\n\x04view\x18\x02 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"]\n\x19GetUserMembershipResponse\x12@\n\nmembership\x18\x01 \x01(\x0b\x32 .core.mgmt.v1beta.UserMembershipR\nmembership\"\xa8\x01\n\x1bUpdateUserMembershipRequest\x12\x46\n\nmembership\x18\x01 \x01(\x0b\x32 .core.mgmt.v1beta.UserMembershipB\x04\xe2\x41\x01\x02R\nmembership\x12\x41\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02R\nupdateMask\"`\n\x1cUpdateUserMembershipResponse\x12@\n\nmembership\x18\x01 \x01(\x0b\x32 .core.mgmt.v1beta.UserMembershipR\nmembership\"x\n\x1b\x44\x65leteUserMembershipRequest\x12Y\n\x04name\x18\x01 \x01(\tBE\x92\x41\x1a\xca>\x17\xfa\x02\x14user_membership_name\xe2\x41\x01\x02\xfa\x41!\n\x1f\x61pi.instill.tech/UserMembershipR\x04name\"\x1e\n\x1c\x44\x65leteUserMembershipResponse\"~\n\"ListOrganizationMembershipsRequest\x12X\n\x06parent\x18\x05 \x01(\tB@\x92\x41\x17\xca>\x14\xfa\x02\x11organization_name\xe2\x41\x01\x02\xfa\x41\x1f\x12\x1d\x61pi.instill.tech/OrganizationR\x06parent\"q\n#ListOrganizationMembershipsResponse\x12J\n\x0bmemberships\x18\x01 \x03(\x0b\x32(.core.mgmt.v1beta.OrganizationMembershipR\x0bmemberships\"\xcd\x01\n GetOrganizationMembershipRequest\x12i\n\x04name\x18\x01 \x01(\tBU\x92\x41\"\xca>\x1f\xfa\x02\x1corganization_membership_name\xe2\x41\x01\x02\xfa\x41)\n\'api.instill.tech/OrganizationMembershipR\x04name\x12\x35\n\x04view\x18\x02 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"m\n!GetOrganizationMembershipResponse\x12H\n\nmembership\x18\x01 \x01(\x0b\x32(.core.mgmt.v1beta.OrganizationMembershipR\nmembership\"\xb8\x01\n#UpdateOrganizationMembershipRequest\x12N\n\nmembership\x18\x01 \x01(\x0b\x32(.core.mgmt.v1beta.OrganizationMembershipB\x04\xe2\x41\x01\x02R\nmembership\x12\x41\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02R\nupdateMask\"p\n$UpdateOrganizationMembershipResponse\x12H\n\nmembership\x18\x01 \x01(\x0b\x32(.core.mgmt.v1beta.OrganizationMembershipR\nmembership\"\x90\x01\n#DeleteOrganizationMembershipRequest\x12i\n\x04name\x18\x01 \x01(\tBU\x92\x41\"\xca>\x1f\xfa\x02\x1corganization_membership_name\xe2\x41\x01\x02\xfa\x41)\n\'api.instill.tech/OrganizationMembershipR\x04name\"&\n$DeleteOrganizationMembershipResponse\"\xa0\x04\n\x18StripeSubscriptionDetail\x12!\n\x0cproduct_name\x18\x01 \x01(\tR\x0bproductName\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x17\n\x07item_id\x18\x03 \x01(\tR\x06itemId\x12\x14\n\x05price\x18\x04 \x01(\x02R\x05price\x12$\n\x0b\x63\x61nceled_at\x18\x05 \x01(\x05H\x00R\ncanceledAt\x88\x01\x01\x12 \n\ttrial_end\x18\x06 \x01(\x05H\x01R\x08trialEnd\x88\x01\x01\x12I\n\x06status\x18\x07 \x01(\x0e\x32\x31.core.mgmt.v1beta.StripeSubscriptionDetail.StatusR\x06status\x12 \n\x0b\x64\x65scription\x18\x08 \x01(\tR\x0b\x64\x65scription\"\xce\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x15\n\x11STATUS_INCOMPLETE\x10\x01\x12\x1d\n\x19STATUS_INCOMPLETE_EXPIRED\x10\x02\x12\x13\n\x0fSTATUS_TRIALING\x10\x03\x12\x11\n\rSTATUS_ACTIVE\x10\x04\x12\x13\n\x0fSTATUS_PAST_DUE\x10\x05\x12\x13\n\x0fSTATUS_CANCELED\x10\x06\x12\x11\n\rSTATUS_UNPAID\x10\x07\x12\x11\n\rSTATUS_PAUSED\x10\x08\x42\x0e\n\x0c_canceled_atB\x0c\n\n_trial_end\"\xd2\x01\n\x10UserSubscription\x12;\n\x04plan\x18\x01 \x01(\x0e\x32\'.core.mgmt.v1beta.UserSubscription.PlanR\x04plan\x12\x42\n\x06\x64\x65tail\x18\x02 \x01(\x0b\x32*.core.mgmt.v1beta.StripeSubscriptionDetailR\x06\x64\x65tail\"=\n\x04Plan\x12\x14\n\x10PLAN_UNSPECIFIED\x10\x00\x12\r\n\tPLAN_FREE\x10\x01\x12\x10\n\x0cPLAN_STARTER\x10\x02\"\xc5\x02\n\x18OrganizationSubscription\x12\x43\n\x04plan\x18\x01 \x01(\x0e\x32/.core.mgmt.v1beta.OrganizationSubscription.PlanR\x04plan\x12\x42\n\x06\x64\x65tail\x18\x02 \x01(\x0b\x32*.core.mgmt.v1beta.StripeSubscriptionDetailR\x06\x64\x65tail\x12\x1b\n\tmax_seats\x18\x03 \x01(\x05R\x08maxSeats\x12\x1d\n\nused_seats\x18\x04 \x01(\x05R\tusedSeats\"d\n\x04Plan\x12\x14\n\x10PLAN_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPLAN_UNPAID\x10\x01\x12\r\n\tPLAN_TEAM\x10\x02\x12\x13\n\x0fPLAN_ENTERPRISE\x10\x03\x12\x11\n\rPLAN_TEAM_PRO\x10\x04\")\n\'GetAuthenticatedUserSubscriptionRequest\"r\n(GetAuthenticatedUserSubscriptionResponse\x12\x46\n\x0csubscription\x18\x01 \x01(\x0b\x32\".core.mgmt.v1beta.UserSubscriptionR\x0csubscription\"~\n\"GetOrganizationSubscriptionRequest\x12X\n\x06parent\x18\x01 \x01(\tB@\x92\x41\x17\xca>\x14\xfa\x02\x11organization_name\xe2\x41\x01\x02\xfa\x41\x1f\x12\x1d\x61pi.instill.tech/OrganizationR\x06parent\"u\n#GetOrganizationSubscriptionResponse\x12N\n\x0csubscription\x18\x01 \x01(\x0b\x32*.core.mgmt.v1beta.OrganizationSubscriptionR\x0csubscription\"Y\n\x1fGetUserSubscriptionAdminRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB\x1e\xe2\x41\x01\x02\xfa\x41\x17\x12\x15\x61pi.instill.tech/UserR\x06parent\"j\n GetUserSubscriptionAdminResponse\x12\x46\n\x0csubscription\x18\x01 \x01(\x0b\x32\".core.mgmt.v1beta.UserSubscriptionR\x0csubscription\"i\n\'GetOrganizationSubscriptionAdminRequest\x12>\n\x06parent\x18\x01 \x01(\tB&\xe2\x41\x01\x02\xfa\x41\x1f\x12\x1d\x61pi.instill.tech/OrganizationR\x06parent\"z\n(GetOrganizationSubscriptionAdminResponse\x12N\n\x0csubscription\x18\x01 \x01(\x0b\x32*.core.mgmt.v1beta.OrganizationSubscriptionR\x0csubscription*;\n\x04View\x12\x14\n\x10VIEW_UNSPECIFIED\x10\x00\x12\x0e\n\nVIEW_BASIC\x10\x01\x12\r\n\tVIEW_FULL\x10\x02*Y\n\tOwnerType\x12\x1a\n\x16OWNER_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fOWNER_TYPE_USER\x10\x01\x12\x1b\n\x17OWNER_TYPE_ORGANIZATION\x10\x02*n\n\x0fMembershipState\x12 \n\x1cMEMBERSHIP_STATE_UNSPECIFIED\x10\x00\x12\x1b\n\x17MEMBERSHIP_STATE_ACTIVE\x10\x01\x12\x1c\n\x18MEMBERSHIP_STATE_PENDING\x10\x02*y\n\x10OnboardingStatus\x12!\n\x1dONBOARDING_STATUS_UNSPECIFIED\x10\x00\x12!\n\x1dONBOARDING_STATUS_IN_PROGRESS\x10\x01\x12\x1f\n\x1bONBOARDING_STATUS_COMPLETED\x10\x02\x42\xc2\x01\n\x14\x63om.core.mgmt.v1betaB\tMgmtProtoP\x01Z=github.com/instill-ai/protogen-go/core/mgmt/v1beta;mgmtv1beta\xa2\x02\x03\x43MX\xaa\x02\x10\x43ore.Mgmt.V1beta\xca\x02\x10\x43ore\\Mgmt\\V1beta\xe2\x02\x1c\x43ore\\Mgmt\\V1beta\\GPBMetadata\xea\x02\x12\x43ore::Mgmt::V1betab\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63ore/mgmt/v1beta/mgmt.proto\x12\x10\x63ore.mgmt.v1beta\x1a+common/healthcheck/v1beta/healthcheck.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"\x96\x01\n\x0fLivenessRequest\x12j\n\x14health_check_request\x18\x01 \x01(\x0b\x32-.common.healthcheck.v1beta.HealthCheckRequestB\x04\xe2\x41\x01\x01H\x00R\x12healthCheckRequest\x88\x01\x01\x42\x17\n\x15_health_check_request\"v\n\x10LivenessResponse\x12\x62\n\x15health_check_response\x18\x01 \x01(\x0b\x32..common.healthcheck.v1beta.HealthCheckResponseR\x13healthCheckResponse\"\x97\x01\n\x10ReadinessRequest\x12j\n\x14health_check_request\x18\x01 \x01(\x0b\x32-.common.healthcheck.v1beta.HealthCheckRequestB\x04\xe2\x41\x01\x01H\x00R\x12healthCheckRequest\x88\x01\x01\x42\x17\n\x15_health_check_request\"w\n\x11ReadinessResponse\x12\x62\n\x15health_check_response\x18\x01 \x01(\x0b\x32..common.healthcheck.v1beta.HealthCheckResponseR\x13healthCheckResponse\"\'\n\nPermission\x12\x19\n\x08\x63\x61n_edit\x18\x01 \x01(\x08R\x07\x63\x61nEdit\"\xd3\x03\n\x0bUserProfile\x12,\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01H\x00R\x0b\x64isplayName\x88\x01\x01\x12\x1b\n\x03\x62io\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\x03\x62io\x88\x01\x01\x12!\n\x06\x61vatar\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01H\x02R\x06\x61vatar\x88\x01\x01\x12,\n\x0cpublic_email\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01H\x03R\x0bpublicEmail\x88\x01\x01\x12,\n\x0c\x63ompany_name\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01H\x04R\x0b\x63ompanyName\x88\x01\x01\x12m\n\x14social_profile_links\x18\x06 \x03(\x0b\x32\x35.core.mgmt.v1beta.UserProfile.SocialProfileLinksEntryB\x04\xe2\x41\x01\x01R\x12socialProfileLinks\x1a\x45\n\x17SocialProfileLinksEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x0f\n\r_display_nameB\x06\n\x04_bioB\t\n\x07_avatarB\x0f\n\r_public_emailB\x0f\n\r_company_name\"\xa4\x03\n\x13OrganizationProfile\x12,\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01H\x00R\x0b\x64isplayName\x88\x01\x01\x12\x1b\n\x03\x62io\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\x03\x62io\x88\x01\x01\x12!\n\x06\x61vatar\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01H\x02R\x06\x61vatar\x88\x01\x01\x12,\n\x0cpublic_email\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01H\x03R\x0bpublicEmail\x88\x01\x01\x12u\n\x14social_profile_links\x18\x05 \x03(\x0b\x32=.core.mgmt.v1beta.OrganizationProfile.SocialProfileLinksEntryB\x04\xe2\x41\x01\x01R\x12socialProfileLinks\x1a\x45\n\x17SocialProfileLinksEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x0f\n\r_display_nameB\x06\n\x04_bioB\t\n\x07_avatarB\x0f\n\r_public_email\"\x90\x05\n\x11\x41uthenticatedUser\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03R\x04name\x12\x1b\n\x03uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x05H\x00R\x03uid\x88\x01\x01\x12\x14\n\x02id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02R\x02id\x12\x41\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ncreateTime\x12\x41\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\nupdateTime\x12\x1a\n\x05\x65mail\x18\x07 \x01(\tB\x04\xe2\x41\x01\x02R\x05\x65mail\x12%\n\x0b\x63ustomer_id\x18\x08 \x01(\tB\x04\xe2\x41\x01\x03R\ncustomerId\x12\x1d\n\x04role\x18\x0c \x01(\tB\x04\xe2\x41\x01\x01H\x01R\x04role\x88\x01\x01\x12=\n\x17newsletter_subscription\x18\r \x01(\x08\x42\x04\xe2\x41\x01\x02R\x16newsletterSubscription\x12,\n\x0c\x63ookie_token\x18\x0e \x01(\tB\x04\xe2\x41\x01\x01H\x02R\x0b\x63ookieToken\x88\x01\x01\x12U\n\x11onboarding_status\x18\x11 \x01(\x0e\x32\".core.mgmt.v1beta.OnboardingStatusB\x04\xe2\x41\x01\x01R\x10onboardingStatus\x12\x37\n\x07profile\x18\x12 \x01(\x0b\x32\x1d.core.mgmt.v1beta.UserProfileR\x07profile:\'\xea\x41$\n\"api.instill.tech/AuthenticatedUserB\x06\n\x04_uidB\x07\n\x05_roleB\x0f\n\r_cookie_token\"\x90\x01\n\x05Owner\x12\x32\n\x04user\x18\x01 \x01(\x0b\x32\x16.core.mgmt.v1beta.UserB\x04\xe2\x41\x01\x03H\x00R\x04user\x12J\n\x0corganization\x18\x02 \x01(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationB\x04\xe2\x41\x01\x03H\x00R\x0corganizationB\x07\n\x05owner\"\xd9\x02\n\x04User\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03R\x04name\x12\x1b\n\x03uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x05H\x00R\x03uid\x88\x01\x01\x12\x14\n\x02id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02R\x02id\x12\x41\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ncreateTime\x12\x41\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\nupdateTime\x12\x37\n\x07profile\x18\x0b \x01(\x0b\x32\x1d.core.mgmt.v1beta.UserProfileR\x07profile:=\xea\x41:\n\x15\x61pi.instill.tech/User\x12\x0fusers/{user.id}\x12\x10users/{user.uid}B\x06\n\x04_uid\"\xf4\x01\n\x15ListUsersAdminRequest\x12&\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x12\x35\n\x04view\x18\x03 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x02R\x04view\x88\x01\x01\x12!\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01H\x03R\x06\x66ilter\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\x07\n\x05_viewB\t\n\x07_filter\"\x8d\x01\n\x16ListUsersAdminResponse\x12,\n\x05users\x18\x01 \x03(\x0b\x32\x16.core.mgmt.v1beta.UserR\x05users\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x05R\ttotalSize\"\x9b\x01\n\x13GetUserAdminRequest\x12\x44\n\x04name\x18\x01 \x01(\tB0\x92\x41\x0f\xca>\x0c\xfa\x02\tuser_name\xe2\x41\x01\x02\xfa\x41\x17\n\x15\x61pi.instill.tech/UserR\x04name\x12\x35\n\x04view\x18\x02 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"B\n\x14GetUserAdminResponse\x12*\n\x04user\x18\x01 \x01(\x0b\x32\x16.core.mgmt.v1beta.UserR\x04user\"|\n\x16LookUpUserAdminRequest\x12\"\n\tpermalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\tpermalink\x12\x35\n\x04view\x18\x02 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"E\n\x17LookUpUserAdminResponse\x12*\n\x04user\x18\x01 \x01(\x0b\x32\x16.core.mgmt.v1beta.UserR\x04user\"\xfc\x01\n\x1dListOrganizationsAdminRequest\x12&\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x12\x35\n\x04view\x18\x03 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x02R\x04view\x88\x01\x01\x12!\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01H\x03R\x06\x66ilter\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\x07\n\x05_viewB\t\n\x07_filter\"\xad\x01\n\x1eListOrganizationsAdminResponse\x12\x44\n\rorganizations\x18\x01 \x03(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationR\rorganizations\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x05R\ttotalSize\"\xb3\x01\n\x1bGetOrganizationAdminRequest\x12T\n\x04name\x18\x01 \x01(\tB@\x92\x41\x17\xca>\x14\xfa\x02\x11organization_name\xe2\x41\x01\x02\xfa\x41\x1f\n\x1d\x61pi.instill.tech/OrganizationR\x04name\x12\x35\n\x04view\x18\x02 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"b\n\x1cGetOrganizationAdminResponse\x12\x42\n\x0corganization\x18\x01 \x01(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationR\x0corganization\"\x84\x01\n\x1eLookUpOrganizationAdminRequest\x12\"\n\tpermalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\tpermalink\x12\x35\n\x04view\x18\x02 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"e\n\x1fLookUpOrganizationAdminResponse\x12\x42\n\x0corganization\x18\x01 \x01(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationR\x0corganization\"\xef\x01\n\x10ListUsersRequest\x12&\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x12\x35\n\x04view\x18\x03 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x02R\x04view\x88\x01\x01\x12!\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01H\x03R\x06\x66ilter\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\x07\n\x05_viewB\t\n\x07_filter\"\x88\x01\n\x11ListUsersResponse\x12,\n\x05users\x18\x01 \x03(\x0b\x32\x16.core.mgmt.v1beta.UserR\x05users\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x05R\ttotalSize\"\x96\x01\n\x0eGetUserRequest\x12\x44\n\x04name\x18\x01 \x01(\tB0\x92\x41\x0f\xca>\x0c\xfa\x02\tuser_name\xe2\x41\x01\x02\xfa\x41\x17\n\x15\x61pi.instill.tech/UserR\x04name\x12\x35\n\x04view\x18\x02 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"=\n\x0fGetUserResponse\x12*\n\x04user\x18\x01 \x01(\x0b\x32\x16.core.mgmt.v1beta.UserR\x04user\"\x1d\n\x1bGetAuthenticatedUserRequest\"W\n\x1cGetAuthenticatedUserResponse\x12\x37\n\x04user\x18\x01 \x01(\x0b\x32#.core.mgmt.v1beta.AuthenticatedUserR\x04user\"\x9b\x01\n\x1dPatchAuthenticatedUserRequest\x12\x37\n\x04user\x18\x01 \x01(\x0b\x32#.core.mgmt.v1beta.AuthenticatedUserR\x04user\x12\x41\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02R\nupdateMask\"Y\n\x1ePatchAuthenticatedUserResponse\x12\x37\n\x04user\x18\x01 \x01(\x0b\x32#.core.mgmt.v1beta.AuthenticatedUserR\x04user\"-\n\x15\x43heckNamespaceRequest\x12\x14\n\x02id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x02id\"\xea\x01\n\x16\x43heckNamespaceResponse\x12\x46\n\x04type\x18\x01 \x01(\x0e\x32\x32.core.mgmt.v1beta.CheckNamespaceResponse.NamespaceR\x04type\"\x87\x01\n\tNamespace\x12\x19\n\x15NAMESPACE_UNSPECIFIED\x10\x00\x12\x17\n\x13NAMESPACE_AVAILABLE\x10\x01\x12\x12\n\x0eNAMESPACE_USER\x10\x02\x12\x1a\n\x16NAMESPACE_ORGANIZATION\x10\x03\x12\x16\n\x12NAMESPACE_RESERVED\x10\x04\"\xb0\x05\n\x08\x41piToken\x12\x43\n\rlast_use_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\x0blastUseTime\x88\x01\x01\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03R\x04name\x12\x16\n\x03uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03R\x03uid\x12\x14\n\x02id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x05R\x02id\x12\x41\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ncreateTime\x12\x41\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\nupdateTime\x12\'\n\x0c\x61\x63\x63\x65ss_token\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03R\x0b\x61\x63\x63\x65ssToken\x12<\n\x05state\x18\x08 \x01(\x0e\x32 .core.mgmt.v1beta.ApiToken.StateB\x04\xe2\x41\x01\x03R\x05state\x12#\n\ntoken_type\x18\t \x01(\tB\x04\xe2\x41\x01\x03R\ttokenType\x12\x18\n\x03ttl\x18\n \x01(\x05\x42\x04\xe2\x41\x01\x04H\x00R\x03ttl\x12=\n\x0b\x65xpire_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\nexpireTime\"W\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x12\n\x0eSTATE_INACTIVE\x10\x01\x12\x10\n\x0cSTATE_ACTIVE\x10\x02\x12\x11\n\rSTATE_EXPIRED\x10\x03:3\xea\x41\x30\n\x19\x61pi.instill.tech/ApiToken\x12\x13tokens/{token.name}B\x0c\n\nexpirationB\x10\n\x0e_last_use_time\"F\n\x12\x43reateTokenRequest\x12\x30\n\x05token\x18\x01 \x01(\x0b\x32\x1a.core.mgmt.v1beta.ApiTokenR\x05token\"G\n\x13\x43reateTokenResponse\x12\x30\n\x05token\x18\x01 \x01(\x0b\x32\x1a.core.mgmt.v1beta.ApiTokenR\x05token\"\x82\x01\n\x11ListTokensRequest\x12&\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_token\"\x8f\x01\n\x12ListTokensResponse\x12\x32\n\x06tokens\x18\x01 \x03(\x0b\x32\x1a.core.mgmt.v1beta.ApiTokenR\x06tokens\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x05R\ttotalSize\"\\\n\x0fGetTokenRequest\x12I\n\x04name\x18\x01 \x01(\tB5\x92\x41\x10\xca>\r\xfa\x02\ntoken_name\xe2\x41\x01\x02\xfa\x41\x1b\n\x19\x61pi.instill.tech/ApiTokenR\x04name\"D\n\x10GetTokenResponse\x12\x30\n\x05token\x18\x01 \x01(\x0b\x32\x1a.core.mgmt.v1beta.ApiTokenR\x05token\"_\n\x12\x44\x65leteTokenRequest\x12I\n\x04name\x18\x01 \x01(\tB5\x92\x41\x10\xca>\r\xfa\x02\ntoken_name\xe2\x41\x01\x02\xfa\x41\x1b\n\x19\x61pi.instill.tech/ApiTokenR\x04name\"\x15\n\x13\x44\x65leteTokenResponse\"\x16\n\x14ValidateTokenRequest\"8\n\x15ValidateTokenResponse\x12\x1f\n\x08user_uid\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03R\x07userUid\"J\n\x19GetRemainingCreditRequest\x12-\n\x05owner\x18\x01 \x01(\tB\x17\x92\x41\x10\xca>\r\xfa\x02\nowner_name\xe2\x41\x01\x02R\x05owner\"|\n\x1aGetRemainingCreditResponse\x12\x1e\n\nperishable\x18\x02 \x01(\x02R\nperishable\x12\"\n\x0cimperishable\x18\x03 \x01(\x02R\x0cimperishable\x12\x14\n\x05total\x18\x04 \x01(\x02R\x05totalJ\x04\x08\x01\x10\x02\"<\n\x1eGetRemainingCreditAdminRequest\x12\x1a\n\x05owner\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x05owner\"9\n\x1fGetRemainingCreditAdminResponse\x12\x16\n\x06\x61mount\x18\x01 \x01(\x02R\x06\x61mount\"j\n\x1aSubtractCreditAdminRequest\x12\x1a\n\x05owner\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x05owner\x12\x16\n\x06\x61mount\x18\x02 \x01(\x02R\x06\x61mount\x12\x18\n\x07\x63oncept\x18\x03 \x01(\tR\x07\x63oncept\"5\n\x1bSubtractCreditAdminResponse\x12\x16\n\x06\x61mount\x18\x01 \x01(\x02R\x06\x61mount\"\\\n\x16\x41uthTokenIssuerRequest\x12 \n\x08username\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x08username\x12 \n\x08password\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\x08password\"\xec\x01\n\x17\x41uthTokenIssuerResponse\x12`\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\x0b\x32=.core.mgmt.v1beta.AuthTokenIssuerResponse.UnsignedAccessTokenR\x0b\x61\x63\x63\x65ssToken\x1ao\n\x13UnsignedAccessToken\x12\x10\n\x03\x61ud\x18\x01 \x01(\tR\x03\x61ud\x12\x10\n\x03iss\x18\x02 \x01(\tR\x03iss\x12\x10\n\x03sub\x18\x03 \x01(\tR\x03sub\x12\x10\n\x03jti\x18\x04 \x01(\tR\x03jti\x12\x10\n\x03\x65xp\x18\x05 \x01(\x05R\x03\x65xp\"V\n\x10\x41uthLoginRequest\x12 \n\x08username\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x08username\x12 \n\x08password\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\x08password\"6\n\x11\x41uthLoginResponse\x12!\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tR\x0b\x61\x63\x63\x65ssToken\"\x13\n\x11\x41uthLogoutRequest\"\x14\n\x12\x41uthLogoutResponse\" \n\x1e\x41uthValidateAccessTokenRequest\"!\n\x1f\x41uthValidateAccessTokenResponse\"a\n\x19\x41uthChangePasswordRequest\x12!\n\x0cold_password\x18\x01 \x01(\tR\x0boldPassword\x12!\n\x0cnew_password\x18\x02 \x01(\tR\x0bnewPassword\"\x1c\n\x1a\x41uthChangePasswordResponse\"\x96\x04\n\x0cOrganization\x12\x32\n\x04name\x18\x01 \x01(\tB\x1e\x92\x41\x17\xca>\x14\xfa\x02\x11organization_name\xe2\x41\x01\x03R\x04name\x12\x16\n\x03uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03R\x03uid\x12\x14\n\x02id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02R\x02id\x12\x41\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ncreateTime\x12\x41\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\nupdateTime\x12\x32\n\x05owner\x18\x0b \x01(\x0b\x32\x16.core.mgmt.v1beta.UserB\x04\xe2\x41\x01\x03R\x05owner\x12?\n\x07profile\x18\x0c \x01(\x0b\x32%.core.mgmt.v1beta.OrganizationProfileR\x07profile\x12\x42\n\npermission\x18\r \x01(\x0b\x32\x1c.core.mgmt.v1beta.PermissionB\x04\xe2\x41\x01\x03R\npermission:e\xea\x41\x62\n\x1d\x61pi.instill.tech/Organization\x12\x1forganizations/{organization.id}\x12 organizations/{organization.uid}\"\xf7\x01\n\x18ListOrganizationsRequest\x12&\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x12\x35\n\x04view\x18\x03 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x02R\x04view\x88\x01\x01\x12!\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01H\x03R\x06\x66ilter\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\x07\n\x05_viewB\t\n\x07_filter\"\xa8\x01\n\x19ListOrganizationsResponse\x12\x44\n\rorganizations\x18\x01 \x03(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationR\rorganizations\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x05R\ttotalSize\"_\n\x19\x43reateOrganizationRequest\x12\x42\n\x0corganization\x18\x01 \x01(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationR\x0corganization\"`\n\x1a\x43reateOrganizationResponse\x12\x42\n\x0corganization\x18\x01 \x01(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationR\x0corganization\"\xae\x01\n\x16GetOrganizationRequest\x12T\n\x04name\x18\x01 \x01(\tB@\x92\x41\x17\xca>\x14\xfa\x02\x11organization_name\xe2\x41\x01\x02\xfa\x41\x1f\n\x1d\x61pi.instill.tech/OrganizationR\x04name\x12\x35\n\x04view\x18\x02 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"]\n\x17GetOrganizationResponse\x12\x42\n\x0corganization\x18\x01 \x01(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationR\x0corganization\"\xa8\x01\n\x19UpdateOrganizationRequest\x12H\n\x0corganization\x18\x01 \x01(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationB\x04\xe2\x41\x01\x02R\x0corganization\x12\x41\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02R\nupdateMask\"`\n\x1aUpdateOrganizationResponse\x12\x42\n\x0corganization\x18\x01 \x01(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationR\x0corganization\"q\n\x19\x44\x65leteOrganizationRequest\x12T\n\x04name\x18\x01 \x01(\tB@\x92\x41\x17\xca>\x14\xfa\x02\x11organization_name\xe2\x41\x01\x02\xfa\x41\x1f\n\x1d\x61pi.instill.tech/OrganizationR\x04name\"\x1c\n\x1a\x44\x65leteOrganizationResponse\"\xac\x02\n\x16OrganizationMembership\x12=\n\x04name\x18\x01 \x01(\tB)\x92\x41\"\xca>\x1f\xfa\x02\x1corganization_membership_name\xe2\x41\x01\x03R\x04name\x12\x18\n\x04role\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02R\x04role\x12=\n\x05state\x18\x04 \x01(\x0e\x32!.core.mgmt.v1beta.MembershipStateB\x04\xe2\x41\x01\x03R\x05state\x12\x30\n\x04user\x18\x05 \x01(\x0b\x32\x16.core.mgmt.v1beta.UserB\x04\xe2\x41\x01\x03R\x04user\x12H\n\x0corganization\x18\x06 \x01(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationB\x04\xe2\x41\x01\x03R\x0corganization\"\x9c\x02\n\x0eUserMembership\x12\x35\n\x04name\x18\x01 \x01(\tB!\x92\x41\x1a\xca>\x17\xfa\x02\x14user_membership_name\xe2\x41\x01\x03R\x04name\x12\x18\n\x04role\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03R\x04role\x12=\n\x05state\x18\x04 \x01(\x0e\x32!.core.mgmt.v1beta.MembershipStateB\x04\xe2\x41\x01\x02R\x05state\x12\x30\n\x04user\x18\x05 \x01(\x0b\x32\x16.core.mgmt.v1beta.UserB\x04\xe2\x41\x01\x03R\x04user\x12H\n\x0corganization\x18\x06 \x01(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationB\x04\xe2\x41\x01\x03R\x0corganization\"n\n\x1aListUserMembershipsRequest\x12P\n\x06parent\x18\x05 \x01(\tB8\x92\x41\x0f\xca>\x0c\xfa\x02\tuser_name\xe2\x41\x01\x02\xfa\x41\x1f\x12\x1d\x61pi.instill.tech/OrganizationR\x06parent\"a\n\x1bListUserMembershipsResponse\x12\x42\n\x0bmemberships\x18\x01 \x03(\x0b\x32 .core.mgmt.v1beta.UserMembershipR\x0bmemberships\"\xb5\x01\n\x18GetUserMembershipRequest\x12Y\n\x04name\x18\x01 \x01(\tBE\x92\x41\x1a\xca>\x17\xfa\x02\x14user_membership_name\xe2\x41\x01\x02\xfa\x41!\n\x1f\x61pi.instill.tech/UserMembershipR\x04name\x12\x35\n\x04view\x18\x02 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"]\n\x19GetUserMembershipResponse\x12@\n\nmembership\x18\x01 \x01(\x0b\x32 .core.mgmt.v1beta.UserMembershipR\nmembership\"\xa8\x01\n\x1bUpdateUserMembershipRequest\x12\x46\n\nmembership\x18\x01 \x01(\x0b\x32 .core.mgmt.v1beta.UserMembershipB\x04\xe2\x41\x01\x02R\nmembership\x12\x41\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02R\nupdateMask\"`\n\x1cUpdateUserMembershipResponse\x12@\n\nmembership\x18\x01 \x01(\x0b\x32 .core.mgmt.v1beta.UserMembershipR\nmembership\"x\n\x1b\x44\x65leteUserMembershipRequest\x12Y\n\x04name\x18\x01 \x01(\tBE\x92\x41\x1a\xca>\x17\xfa\x02\x14user_membership_name\xe2\x41\x01\x02\xfa\x41!\n\x1f\x61pi.instill.tech/UserMembershipR\x04name\"\x1e\n\x1c\x44\x65leteUserMembershipResponse\"~\n\"ListOrganizationMembershipsRequest\x12X\n\x06parent\x18\x05 \x01(\tB@\x92\x41\x17\xca>\x14\xfa\x02\x11organization_name\xe2\x41\x01\x02\xfa\x41\x1f\x12\x1d\x61pi.instill.tech/OrganizationR\x06parent\"q\n#ListOrganizationMembershipsResponse\x12J\n\x0bmemberships\x18\x01 \x03(\x0b\x32(.core.mgmt.v1beta.OrganizationMembershipR\x0bmemberships\"\xcd\x01\n GetOrganizationMembershipRequest\x12i\n\x04name\x18\x01 \x01(\tBU\x92\x41\"\xca>\x1f\xfa\x02\x1corganization_membership_name\xe2\x41\x01\x02\xfa\x41)\n\'api.instill.tech/OrganizationMembershipR\x04name\x12\x35\n\x04view\x18\x02 \x01(\x0e\x32\x16.core.mgmt.v1beta.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"m\n!GetOrganizationMembershipResponse\x12H\n\nmembership\x18\x01 \x01(\x0b\x32(.core.mgmt.v1beta.OrganizationMembershipR\nmembership\"\xb8\x01\n#UpdateOrganizationMembershipRequest\x12N\n\nmembership\x18\x01 \x01(\x0b\x32(.core.mgmt.v1beta.OrganizationMembershipB\x04\xe2\x41\x01\x02R\nmembership\x12\x41\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02R\nupdateMask\"p\n$UpdateOrganizationMembershipResponse\x12H\n\nmembership\x18\x01 \x01(\x0b\x32(.core.mgmt.v1beta.OrganizationMembershipR\nmembership\"\x90\x01\n#DeleteOrganizationMembershipRequest\x12i\n\x04name\x18\x01 \x01(\tBU\x92\x41\"\xca>\x1f\xfa\x02\x1corganization_membership_name\xe2\x41\x01\x02\xfa\x41)\n\'api.instill.tech/OrganizationMembershipR\x04name\"&\n$DeleteOrganizationMembershipResponse\"\xa0\x04\n\x18StripeSubscriptionDetail\x12!\n\x0cproduct_name\x18\x01 \x01(\tR\x0bproductName\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x17\n\x07item_id\x18\x03 \x01(\tR\x06itemId\x12\x14\n\x05price\x18\x04 \x01(\x02R\x05price\x12$\n\x0b\x63\x61nceled_at\x18\x05 \x01(\x05H\x00R\ncanceledAt\x88\x01\x01\x12 \n\ttrial_end\x18\x06 \x01(\x05H\x01R\x08trialEnd\x88\x01\x01\x12I\n\x06status\x18\x07 \x01(\x0e\x32\x31.core.mgmt.v1beta.StripeSubscriptionDetail.StatusR\x06status\x12 \n\x0b\x64\x65scription\x18\x08 \x01(\tR\x0b\x64\x65scription\"\xce\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x15\n\x11STATUS_INCOMPLETE\x10\x01\x12\x1d\n\x19STATUS_INCOMPLETE_EXPIRED\x10\x02\x12\x13\n\x0fSTATUS_TRIALING\x10\x03\x12\x11\n\rSTATUS_ACTIVE\x10\x04\x12\x13\n\x0fSTATUS_PAST_DUE\x10\x05\x12\x13\n\x0fSTATUS_CANCELED\x10\x06\x12\x11\n\rSTATUS_UNPAID\x10\x07\x12\x11\n\rSTATUS_PAUSED\x10\x08\x42\x0e\n\x0c_canceled_atB\x0c\n\n_trial_end\"\xd2\x01\n\x10UserSubscription\x12;\n\x04plan\x18\x01 \x01(\x0e\x32\'.core.mgmt.v1beta.UserSubscription.PlanR\x04plan\x12\x42\n\x06\x64\x65tail\x18\x02 \x01(\x0b\x32*.core.mgmt.v1beta.StripeSubscriptionDetailR\x06\x64\x65tail\"=\n\x04Plan\x12\x14\n\x10PLAN_UNSPECIFIED\x10\x00\x12\r\n\tPLAN_FREE\x10\x01\x12\x10\n\x0cPLAN_STARTER\x10\x02\"\xc5\x02\n\x18OrganizationSubscription\x12\x43\n\x04plan\x18\x01 \x01(\x0e\x32/.core.mgmt.v1beta.OrganizationSubscription.PlanR\x04plan\x12\x42\n\x06\x64\x65tail\x18\x02 \x01(\x0b\x32*.core.mgmt.v1beta.StripeSubscriptionDetailR\x06\x64\x65tail\x12\x1b\n\tmax_seats\x18\x03 \x01(\x05R\x08maxSeats\x12\x1d\n\nused_seats\x18\x04 \x01(\x05R\tusedSeats\"d\n\x04Plan\x12\x14\n\x10PLAN_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPLAN_UNPAID\x10\x01\x12\r\n\tPLAN_TEAM\x10\x02\x12\x13\n\x0fPLAN_ENTERPRISE\x10\x03\x12\x11\n\rPLAN_TEAM_PRO\x10\x04\")\n\'GetAuthenticatedUserSubscriptionRequest\"r\n(GetAuthenticatedUserSubscriptionResponse\x12\x46\n\x0csubscription\x18\x01 \x01(\x0b\x32\".core.mgmt.v1beta.UserSubscriptionR\x0csubscription\"~\n\"GetOrganizationSubscriptionRequest\x12X\n\x06parent\x18\x01 \x01(\tB@\x92\x41\x17\xca>\x14\xfa\x02\x11organization_name\xe2\x41\x01\x02\xfa\x41\x1f\x12\x1d\x61pi.instill.tech/OrganizationR\x06parent\"u\n#GetOrganizationSubscriptionResponse\x12N\n\x0csubscription\x18\x01 \x01(\x0b\x32*.core.mgmt.v1beta.OrganizationSubscriptionR\x0csubscription\"Y\n\x1fGetUserSubscriptionAdminRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB\x1e\xe2\x41\x01\x02\xfa\x41\x17\x12\x15\x61pi.instill.tech/UserR\x06parent\"j\n GetUserSubscriptionAdminResponse\x12\x46\n\x0csubscription\x18\x01 \x01(\x0b\x32\".core.mgmt.v1beta.UserSubscriptionR\x0csubscription\"i\n\'GetOrganizationSubscriptionAdminRequest\x12>\n\x06parent\x18\x01 \x01(\tB&\xe2\x41\x01\x02\xfa\x41\x1f\x12\x1d\x61pi.instill.tech/OrganizationR\x06parent\"z\n(GetOrganizationSubscriptionAdminResponse\x12N\n\x0csubscription\x18\x01 \x01(\x0b\x32*.core.mgmt.v1beta.OrganizationSubscriptionR\x0csubscription*;\n\x04View\x12\x14\n\x10VIEW_UNSPECIFIED\x10\x00\x12\x0e\n\nVIEW_BASIC\x10\x01\x12\r\n\tVIEW_FULL\x10\x02*Y\n\tOwnerType\x12\x1a\n\x16OWNER_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fOWNER_TYPE_USER\x10\x01\x12\x1b\n\x17OWNER_TYPE_ORGANIZATION\x10\x02*n\n\x0fMembershipState\x12 \n\x1cMEMBERSHIP_STATE_UNSPECIFIED\x10\x00\x12\x1b\n\x17MEMBERSHIP_STATE_ACTIVE\x10\x01\x12\x1c\n\x18MEMBERSHIP_STATE_PENDING\x10\x02*y\n\x10OnboardingStatus\x12!\n\x1dONBOARDING_STATUS_UNSPECIFIED\x10\x00\x12!\n\x1dONBOARDING_STATUS_IN_PROGRESS\x10\x01\x12\x1f\n\x1bONBOARDING_STATUS_COMPLETED\x10\x02\x42\xc2\x01\n\x14\x63om.core.mgmt.v1betaB\tMgmtProtoP\x01Z=github.com/instill-ai/protogen-go/core/mgmt/v1beta;mgmtv1beta\xa2\x02\x03\x43MX\xaa\x02\x10\x43ore.Mgmt.V1beta\xca\x02\x10\x43ore\\Mgmt\\V1beta\xe2\x02\x1c\x43ore\\Mgmt\\V1beta\\GPBMetadata\xea\x02\x12\x43ore::Mgmt::V1betab\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -274,14 +274,14 @@ _GETUSERSUBSCRIPTIONADMINREQUEST.fields_by_name['parent']._serialized_options = b'\342A\001\002\372A\027\022\025api.instill.tech/User' _GETORGANIZATIONSUBSCRIPTIONADMINREQUEST.fields_by_name['parent']._options = None _GETORGANIZATIONSUBSCRIPTIONADMINREQUEST.fields_by_name['parent']._serialized_options = b'\342A\001\002\372A\037\022\035api.instill.tech/Organization' - _globals['_VIEW']._serialized_start=14898 - _globals['_VIEW']._serialized_end=14957 - _globals['_OWNERTYPE']._serialized_start=14959 - _globals['_OWNERTYPE']._serialized_end=15048 - _globals['_MEMBERSHIPSTATE']._serialized_start=15050 - _globals['_MEMBERSHIPSTATE']._serialized_end=15160 - _globals['_ONBOARDINGSTATUS']._serialized_start=15162 - _globals['_ONBOARDINGSTATUS']._serialized_end=15283 + _globals['_VIEW']._serialized_start=14921 + _globals['_VIEW']._serialized_end=14980 + _globals['_OWNERTYPE']._serialized_start=14982 + _globals['_OWNERTYPE']._serialized_end=15071 + _globals['_MEMBERSHIPSTATE']._serialized_start=15073 + _globals['_MEMBERSHIPSTATE']._serialized_end=15183 + _globals['_ONBOARDINGSTATUS']._serialized_start=15185 + _globals['_ONBOARDINGSTATUS']._serialized_end=15306 _globals['_LIVENESSREQUEST']._serialized_start=270 _globals['_LIVENESSREQUEST']._serialized_end=420 _globals['_LIVENESSRESPONSE']._serialized_start=422 @@ -353,147 +353,147 @@ _globals['_CHECKNAMESPACERESPONSE_NAMESPACE']._serialized_start=5783 _globals['_CHECKNAMESPACERESPONSE_NAMESPACE']._serialized_end=5918 _globals['_APITOKEN']._serialized_start=5921 - _globals['_APITOKEN']._serialized_end=6586 - _globals['_APITOKEN_STATE']._serialized_start=6432 - _globals['_APITOKEN_STATE']._serialized_end=6519 - _globals['_CREATETOKENREQUEST']._serialized_start=6588 - _globals['_CREATETOKENREQUEST']._serialized_end=6658 - _globals['_CREATETOKENRESPONSE']._serialized_start=6660 - _globals['_CREATETOKENRESPONSE']._serialized_end=6731 - _globals['_LISTTOKENSREQUEST']._serialized_start=6734 - _globals['_LISTTOKENSREQUEST']._serialized_end=6864 - _globals['_LISTTOKENSRESPONSE']._serialized_start=6867 - _globals['_LISTTOKENSRESPONSE']._serialized_end=7010 - _globals['_GETTOKENREQUEST']._serialized_start=7012 - _globals['_GETTOKENREQUEST']._serialized_end=7104 - _globals['_GETTOKENRESPONSE']._serialized_start=7106 - _globals['_GETTOKENRESPONSE']._serialized_end=7174 - _globals['_DELETETOKENREQUEST']._serialized_start=7176 - _globals['_DELETETOKENREQUEST']._serialized_end=7271 - _globals['_DELETETOKENRESPONSE']._serialized_start=7273 - _globals['_DELETETOKENRESPONSE']._serialized_end=7294 - _globals['_VALIDATETOKENREQUEST']._serialized_start=7296 - _globals['_VALIDATETOKENREQUEST']._serialized_end=7318 - _globals['_VALIDATETOKENRESPONSE']._serialized_start=7320 - _globals['_VALIDATETOKENRESPONSE']._serialized_end=7376 - _globals['_GETREMAININGCREDITREQUEST']._serialized_start=7378 - _globals['_GETREMAININGCREDITREQUEST']._serialized_end=7452 - _globals['_GETREMAININGCREDITRESPONSE']._serialized_start=7454 - _globals['_GETREMAININGCREDITRESPONSE']._serialized_end=7578 - _globals['_GETREMAININGCREDITADMINREQUEST']._serialized_start=7580 - _globals['_GETREMAININGCREDITADMINREQUEST']._serialized_end=7640 - _globals['_GETREMAININGCREDITADMINRESPONSE']._serialized_start=7642 - _globals['_GETREMAININGCREDITADMINRESPONSE']._serialized_end=7699 - _globals['_SUBTRACTCREDITADMINREQUEST']._serialized_start=7701 - _globals['_SUBTRACTCREDITADMINREQUEST']._serialized_end=7807 - _globals['_SUBTRACTCREDITADMINRESPONSE']._serialized_start=7809 - _globals['_SUBTRACTCREDITADMINRESPONSE']._serialized_end=7862 - _globals['_AUTHTOKENISSUERREQUEST']._serialized_start=7864 - _globals['_AUTHTOKENISSUERREQUEST']._serialized_end=7956 - _globals['_AUTHTOKENISSUERRESPONSE']._serialized_start=7959 - _globals['_AUTHTOKENISSUERRESPONSE']._serialized_end=8195 - _globals['_AUTHTOKENISSUERRESPONSE_UNSIGNEDACCESSTOKEN']._serialized_start=8084 - _globals['_AUTHTOKENISSUERRESPONSE_UNSIGNEDACCESSTOKEN']._serialized_end=8195 - _globals['_AUTHLOGINREQUEST']._serialized_start=8197 - _globals['_AUTHLOGINREQUEST']._serialized_end=8283 - _globals['_AUTHLOGINRESPONSE']._serialized_start=8285 - _globals['_AUTHLOGINRESPONSE']._serialized_end=8339 - _globals['_AUTHLOGOUTREQUEST']._serialized_start=8341 - _globals['_AUTHLOGOUTREQUEST']._serialized_end=8360 - _globals['_AUTHLOGOUTRESPONSE']._serialized_start=8362 - _globals['_AUTHLOGOUTRESPONSE']._serialized_end=8382 - _globals['_AUTHVALIDATEACCESSTOKENREQUEST']._serialized_start=8384 - _globals['_AUTHVALIDATEACCESSTOKENREQUEST']._serialized_end=8416 - _globals['_AUTHVALIDATEACCESSTOKENRESPONSE']._serialized_start=8418 - _globals['_AUTHVALIDATEACCESSTOKENRESPONSE']._serialized_end=8451 - _globals['_AUTHCHANGEPASSWORDREQUEST']._serialized_start=8453 - _globals['_AUTHCHANGEPASSWORDREQUEST']._serialized_end=8550 - _globals['_AUTHCHANGEPASSWORDRESPONSE']._serialized_start=8552 - _globals['_AUTHCHANGEPASSWORDRESPONSE']._serialized_end=8580 - _globals['_ORGANIZATION']._serialized_start=8583 - _globals['_ORGANIZATION']._serialized_end=9117 - _globals['_LISTORGANIZATIONSREQUEST']._serialized_start=9120 - _globals['_LISTORGANIZATIONSREQUEST']._serialized_end=9367 - _globals['_LISTORGANIZATIONSRESPONSE']._serialized_start=9370 - _globals['_LISTORGANIZATIONSRESPONSE']._serialized_end=9538 - _globals['_CREATEORGANIZATIONREQUEST']._serialized_start=9540 - _globals['_CREATEORGANIZATIONREQUEST']._serialized_end=9635 - _globals['_CREATEORGANIZATIONRESPONSE']._serialized_start=9637 - _globals['_CREATEORGANIZATIONRESPONSE']._serialized_end=9733 - _globals['_GETORGANIZATIONREQUEST']._serialized_start=9736 - _globals['_GETORGANIZATIONREQUEST']._serialized_end=9910 - _globals['_GETORGANIZATIONRESPONSE']._serialized_start=9912 - _globals['_GETORGANIZATIONRESPONSE']._serialized_end=10005 - _globals['_UPDATEORGANIZATIONREQUEST']._serialized_start=10008 - _globals['_UPDATEORGANIZATIONREQUEST']._serialized_end=10176 - _globals['_UPDATEORGANIZATIONRESPONSE']._serialized_start=10178 - _globals['_UPDATEORGANIZATIONRESPONSE']._serialized_end=10274 - _globals['_DELETEORGANIZATIONREQUEST']._serialized_start=10276 - _globals['_DELETEORGANIZATIONREQUEST']._serialized_end=10389 - _globals['_DELETEORGANIZATIONRESPONSE']._serialized_start=10391 - _globals['_DELETEORGANIZATIONRESPONSE']._serialized_end=10419 - _globals['_ORGANIZATIONMEMBERSHIP']._serialized_start=10422 - _globals['_ORGANIZATIONMEMBERSHIP']._serialized_end=10722 - _globals['_USERMEMBERSHIP']._serialized_start=10725 - _globals['_USERMEMBERSHIP']._serialized_end=11009 - _globals['_LISTUSERMEMBERSHIPSREQUEST']._serialized_start=11011 - _globals['_LISTUSERMEMBERSHIPSREQUEST']._serialized_end=11121 - _globals['_LISTUSERMEMBERSHIPSRESPONSE']._serialized_start=11123 - _globals['_LISTUSERMEMBERSHIPSRESPONSE']._serialized_end=11220 - _globals['_GETUSERMEMBERSHIPREQUEST']._serialized_start=11223 - _globals['_GETUSERMEMBERSHIPREQUEST']._serialized_end=11404 - _globals['_GETUSERMEMBERSHIPRESPONSE']._serialized_start=11406 - _globals['_GETUSERMEMBERSHIPRESPONSE']._serialized_end=11499 - _globals['_UPDATEUSERMEMBERSHIPREQUEST']._serialized_start=11502 - _globals['_UPDATEUSERMEMBERSHIPREQUEST']._serialized_end=11670 - _globals['_UPDATEUSERMEMBERSHIPRESPONSE']._serialized_start=11672 - _globals['_UPDATEUSERMEMBERSHIPRESPONSE']._serialized_end=11768 - _globals['_DELETEUSERMEMBERSHIPREQUEST']._serialized_start=11770 - _globals['_DELETEUSERMEMBERSHIPREQUEST']._serialized_end=11890 - _globals['_DELETEUSERMEMBERSHIPRESPONSE']._serialized_start=11892 - _globals['_DELETEUSERMEMBERSHIPRESPONSE']._serialized_end=11922 - _globals['_LISTORGANIZATIONMEMBERSHIPSREQUEST']._serialized_start=11924 - _globals['_LISTORGANIZATIONMEMBERSHIPSREQUEST']._serialized_end=12050 - _globals['_LISTORGANIZATIONMEMBERSHIPSRESPONSE']._serialized_start=12052 - _globals['_LISTORGANIZATIONMEMBERSHIPSRESPONSE']._serialized_end=12165 - _globals['_GETORGANIZATIONMEMBERSHIPREQUEST']._serialized_start=12168 - _globals['_GETORGANIZATIONMEMBERSHIPREQUEST']._serialized_end=12373 - _globals['_GETORGANIZATIONMEMBERSHIPRESPONSE']._serialized_start=12375 - _globals['_GETORGANIZATIONMEMBERSHIPRESPONSE']._serialized_end=12484 - _globals['_UPDATEORGANIZATIONMEMBERSHIPREQUEST']._serialized_start=12487 - _globals['_UPDATEORGANIZATIONMEMBERSHIPREQUEST']._serialized_end=12671 - _globals['_UPDATEORGANIZATIONMEMBERSHIPRESPONSE']._serialized_start=12673 - _globals['_UPDATEORGANIZATIONMEMBERSHIPRESPONSE']._serialized_end=12785 - _globals['_DELETEORGANIZATIONMEMBERSHIPREQUEST']._serialized_start=12788 - _globals['_DELETEORGANIZATIONMEMBERSHIPREQUEST']._serialized_end=12932 - _globals['_DELETEORGANIZATIONMEMBERSHIPRESPONSE']._serialized_start=12934 - _globals['_DELETEORGANIZATIONMEMBERSHIPRESPONSE']._serialized_end=12972 - _globals['_STRIPESUBSCRIPTIONDETAIL']._serialized_start=12975 - _globals['_STRIPESUBSCRIPTIONDETAIL']._serialized_end=13519 - _globals['_STRIPESUBSCRIPTIONDETAIL_STATUS']._serialized_start=13283 - _globals['_STRIPESUBSCRIPTIONDETAIL_STATUS']._serialized_end=13489 - _globals['_USERSUBSCRIPTION']._serialized_start=13522 - _globals['_USERSUBSCRIPTION']._serialized_end=13732 - _globals['_USERSUBSCRIPTION_PLAN']._serialized_start=13671 - _globals['_USERSUBSCRIPTION_PLAN']._serialized_end=13732 - _globals['_ORGANIZATIONSUBSCRIPTION']._serialized_start=13735 - _globals['_ORGANIZATIONSUBSCRIPTION']._serialized_end=14060 - _globals['_ORGANIZATIONSUBSCRIPTION_PLAN']._serialized_start=13960 - _globals['_ORGANIZATIONSUBSCRIPTION_PLAN']._serialized_end=14060 - _globals['_GETAUTHENTICATEDUSERSUBSCRIPTIONREQUEST']._serialized_start=14062 - _globals['_GETAUTHENTICATEDUSERSUBSCRIPTIONREQUEST']._serialized_end=14103 - _globals['_GETAUTHENTICATEDUSERSUBSCRIPTIONRESPONSE']._serialized_start=14105 - _globals['_GETAUTHENTICATEDUSERSUBSCRIPTIONRESPONSE']._serialized_end=14219 - _globals['_GETORGANIZATIONSUBSCRIPTIONREQUEST']._serialized_start=14221 - _globals['_GETORGANIZATIONSUBSCRIPTIONREQUEST']._serialized_end=14347 - _globals['_GETORGANIZATIONSUBSCRIPTIONRESPONSE']._serialized_start=14349 - _globals['_GETORGANIZATIONSUBSCRIPTIONRESPONSE']._serialized_end=14466 - _globals['_GETUSERSUBSCRIPTIONADMINREQUEST']._serialized_start=14468 - _globals['_GETUSERSUBSCRIPTIONADMINREQUEST']._serialized_end=14557 - _globals['_GETUSERSUBSCRIPTIONADMINRESPONSE']._serialized_start=14559 - _globals['_GETUSERSUBSCRIPTIONADMINRESPONSE']._serialized_end=14665 - _globals['_GETORGANIZATIONSUBSCRIPTIONADMINREQUEST']._serialized_start=14667 - _globals['_GETORGANIZATIONSUBSCRIPTIONADMINREQUEST']._serialized_end=14772 - _globals['_GETORGANIZATIONSUBSCRIPTIONADMINRESPONSE']._serialized_start=14774 - _globals['_GETORGANIZATIONSUBSCRIPTIONADMINRESPONSE']._serialized_end=14896 + _globals['_APITOKEN']._serialized_end=6609 + _globals['_APITOKEN_STATE']._serialized_start=6437 + _globals['_APITOKEN_STATE']._serialized_end=6524 + _globals['_CREATETOKENREQUEST']._serialized_start=6611 + _globals['_CREATETOKENREQUEST']._serialized_end=6681 + _globals['_CREATETOKENRESPONSE']._serialized_start=6683 + _globals['_CREATETOKENRESPONSE']._serialized_end=6754 + _globals['_LISTTOKENSREQUEST']._serialized_start=6757 + _globals['_LISTTOKENSREQUEST']._serialized_end=6887 + _globals['_LISTTOKENSRESPONSE']._serialized_start=6890 + _globals['_LISTTOKENSRESPONSE']._serialized_end=7033 + _globals['_GETTOKENREQUEST']._serialized_start=7035 + _globals['_GETTOKENREQUEST']._serialized_end=7127 + _globals['_GETTOKENRESPONSE']._serialized_start=7129 + _globals['_GETTOKENRESPONSE']._serialized_end=7197 + _globals['_DELETETOKENREQUEST']._serialized_start=7199 + _globals['_DELETETOKENREQUEST']._serialized_end=7294 + _globals['_DELETETOKENRESPONSE']._serialized_start=7296 + _globals['_DELETETOKENRESPONSE']._serialized_end=7317 + _globals['_VALIDATETOKENREQUEST']._serialized_start=7319 + _globals['_VALIDATETOKENREQUEST']._serialized_end=7341 + _globals['_VALIDATETOKENRESPONSE']._serialized_start=7343 + _globals['_VALIDATETOKENRESPONSE']._serialized_end=7399 + _globals['_GETREMAININGCREDITREQUEST']._serialized_start=7401 + _globals['_GETREMAININGCREDITREQUEST']._serialized_end=7475 + _globals['_GETREMAININGCREDITRESPONSE']._serialized_start=7477 + _globals['_GETREMAININGCREDITRESPONSE']._serialized_end=7601 + _globals['_GETREMAININGCREDITADMINREQUEST']._serialized_start=7603 + _globals['_GETREMAININGCREDITADMINREQUEST']._serialized_end=7663 + _globals['_GETREMAININGCREDITADMINRESPONSE']._serialized_start=7665 + _globals['_GETREMAININGCREDITADMINRESPONSE']._serialized_end=7722 + _globals['_SUBTRACTCREDITADMINREQUEST']._serialized_start=7724 + _globals['_SUBTRACTCREDITADMINREQUEST']._serialized_end=7830 + _globals['_SUBTRACTCREDITADMINRESPONSE']._serialized_start=7832 + _globals['_SUBTRACTCREDITADMINRESPONSE']._serialized_end=7885 + _globals['_AUTHTOKENISSUERREQUEST']._serialized_start=7887 + _globals['_AUTHTOKENISSUERREQUEST']._serialized_end=7979 + _globals['_AUTHTOKENISSUERRESPONSE']._serialized_start=7982 + _globals['_AUTHTOKENISSUERRESPONSE']._serialized_end=8218 + _globals['_AUTHTOKENISSUERRESPONSE_UNSIGNEDACCESSTOKEN']._serialized_start=8107 + _globals['_AUTHTOKENISSUERRESPONSE_UNSIGNEDACCESSTOKEN']._serialized_end=8218 + _globals['_AUTHLOGINREQUEST']._serialized_start=8220 + _globals['_AUTHLOGINREQUEST']._serialized_end=8306 + _globals['_AUTHLOGINRESPONSE']._serialized_start=8308 + _globals['_AUTHLOGINRESPONSE']._serialized_end=8362 + _globals['_AUTHLOGOUTREQUEST']._serialized_start=8364 + _globals['_AUTHLOGOUTREQUEST']._serialized_end=8383 + _globals['_AUTHLOGOUTRESPONSE']._serialized_start=8385 + _globals['_AUTHLOGOUTRESPONSE']._serialized_end=8405 + _globals['_AUTHVALIDATEACCESSTOKENREQUEST']._serialized_start=8407 + _globals['_AUTHVALIDATEACCESSTOKENREQUEST']._serialized_end=8439 + _globals['_AUTHVALIDATEACCESSTOKENRESPONSE']._serialized_start=8441 + _globals['_AUTHVALIDATEACCESSTOKENRESPONSE']._serialized_end=8474 + _globals['_AUTHCHANGEPASSWORDREQUEST']._serialized_start=8476 + _globals['_AUTHCHANGEPASSWORDREQUEST']._serialized_end=8573 + _globals['_AUTHCHANGEPASSWORDRESPONSE']._serialized_start=8575 + _globals['_AUTHCHANGEPASSWORDRESPONSE']._serialized_end=8603 + _globals['_ORGANIZATION']._serialized_start=8606 + _globals['_ORGANIZATION']._serialized_end=9140 + _globals['_LISTORGANIZATIONSREQUEST']._serialized_start=9143 + _globals['_LISTORGANIZATIONSREQUEST']._serialized_end=9390 + _globals['_LISTORGANIZATIONSRESPONSE']._serialized_start=9393 + _globals['_LISTORGANIZATIONSRESPONSE']._serialized_end=9561 + _globals['_CREATEORGANIZATIONREQUEST']._serialized_start=9563 + _globals['_CREATEORGANIZATIONREQUEST']._serialized_end=9658 + _globals['_CREATEORGANIZATIONRESPONSE']._serialized_start=9660 + _globals['_CREATEORGANIZATIONRESPONSE']._serialized_end=9756 + _globals['_GETORGANIZATIONREQUEST']._serialized_start=9759 + _globals['_GETORGANIZATIONREQUEST']._serialized_end=9933 + _globals['_GETORGANIZATIONRESPONSE']._serialized_start=9935 + _globals['_GETORGANIZATIONRESPONSE']._serialized_end=10028 + _globals['_UPDATEORGANIZATIONREQUEST']._serialized_start=10031 + _globals['_UPDATEORGANIZATIONREQUEST']._serialized_end=10199 + _globals['_UPDATEORGANIZATIONRESPONSE']._serialized_start=10201 + _globals['_UPDATEORGANIZATIONRESPONSE']._serialized_end=10297 + _globals['_DELETEORGANIZATIONREQUEST']._serialized_start=10299 + _globals['_DELETEORGANIZATIONREQUEST']._serialized_end=10412 + _globals['_DELETEORGANIZATIONRESPONSE']._serialized_start=10414 + _globals['_DELETEORGANIZATIONRESPONSE']._serialized_end=10442 + _globals['_ORGANIZATIONMEMBERSHIP']._serialized_start=10445 + _globals['_ORGANIZATIONMEMBERSHIP']._serialized_end=10745 + _globals['_USERMEMBERSHIP']._serialized_start=10748 + _globals['_USERMEMBERSHIP']._serialized_end=11032 + _globals['_LISTUSERMEMBERSHIPSREQUEST']._serialized_start=11034 + _globals['_LISTUSERMEMBERSHIPSREQUEST']._serialized_end=11144 + _globals['_LISTUSERMEMBERSHIPSRESPONSE']._serialized_start=11146 + _globals['_LISTUSERMEMBERSHIPSRESPONSE']._serialized_end=11243 + _globals['_GETUSERMEMBERSHIPREQUEST']._serialized_start=11246 + _globals['_GETUSERMEMBERSHIPREQUEST']._serialized_end=11427 + _globals['_GETUSERMEMBERSHIPRESPONSE']._serialized_start=11429 + _globals['_GETUSERMEMBERSHIPRESPONSE']._serialized_end=11522 + _globals['_UPDATEUSERMEMBERSHIPREQUEST']._serialized_start=11525 + _globals['_UPDATEUSERMEMBERSHIPREQUEST']._serialized_end=11693 + _globals['_UPDATEUSERMEMBERSHIPRESPONSE']._serialized_start=11695 + _globals['_UPDATEUSERMEMBERSHIPRESPONSE']._serialized_end=11791 + _globals['_DELETEUSERMEMBERSHIPREQUEST']._serialized_start=11793 + _globals['_DELETEUSERMEMBERSHIPREQUEST']._serialized_end=11913 + _globals['_DELETEUSERMEMBERSHIPRESPONSE']._serialized_start=11915 + _globals['_DELETEUSERMEMBERSHIPRESPONSE']._serialized_end=11945 + _globals['_LISTORGANIZATIONMEMBERSHIPSREQUEST']._serialized_start=11947 + _globals['_LISTORGANIZATIONMEMBERSHIPSREQUEST']._serialized_end=12073 + _globals['_LISTORGANIZATIONMEMBERSHIPSRESPONSE']._serialized_start=12075 + _globals['_LISTORGANIZATIONMEMBERSHIPSRESPONSE']._serialized_end=12188 + _globals['_GETORGANIZATIONMEMBERSHIPREQUEST']._serialized_start=12191 + _globals['_GETORGANIZATIONMEMBERSHIPREQUEST']._serialized_end=12396 + _globals['_GETORGANIZATIONMEMBERSHIPRESPONSE']._serialized_start=12398 + _globals['_GETORGANIZATIONMEMBERSHIPRESPONSE']._serialized_end=12507 + _globals['_UPDATEORGANIZATIONMEMBERSHIPREQUEST']._serialized_start=12510 + _globals['_UPDATEORGANIZATIONMEMBERSHIPREQUEST']._serialized_end=12694 + _globals['_UPDATEORGANIZATIONMEMBERSHIPRESPONSE']._serialized_start=12696 + _globals['_UPDATEORGANIZATIONMEMBERSHIPRESPONSE']._serialized_end=12808 + _globals['_DELETEORGANIZATIONMEMBERSHIPREQUEST']._serialized_start=12811 + _globals['_DELETEORGANIZATIONMEMBERSHIPREQUEST']._serialized_end=12955 + _globals['_DELETEORGANIZATIONMEMBERSHIPRESPONSE']._serialized_start=12957 + _globals['_DELETEORGANIZATIONMEMBERSHIPRESPONSE']._serialized_end=12995 + _globals['_STRIPESUBSCRIPTIONDETAIL']._serialized_start=12998 + _globals['_STRIPESUBSCRIPTIONDETAIL']._serialized_end=13542 + _globals['_STRIPESUBSCRIPTIONDETAIL_STATUS']._serialized_start=13306 + _globals['_STRIPESUBSCRIPTIONDETAIL_STATUS']._serialized_end=13512 + _globals['_USERSUBSCRIPTION']._serialized_start=13545 + _globals['_USERSUBSCRIPTION']._serialized_end=13755 + _globals['_USERSUBSCRIPTION_PLAN']._serialized_start=13694 + _globals['_USERSUBSCRIPTION_PLAN']._serialized_end=13755 + _globals['_ORGANIZATIONSUBSCRIPTION']._serialized_start=13758 + _globals['_ORGANIZATIONSUBSCRIPTION']._serialized_end=14083 + _globals['_ORGANIZATIONSUBSCRIPTION_PLAN']._serialized_start=13983 + _globals['_ORGANIZATIONSUBSCRIPTION_PLAN']._serialized_end=14083 + _globals['_GETAUTHENTICATEDUSERSUBSCRIPTIONREQUEST']._serialized_start=14085 + _globals['_GETAUTHENTICATEDUSERSUBSCRIPTIONREQUEST']._serialized_end=14126 + _globals['_GETAUTHENTICATEDUSERSUBSCRIPTIONRESPONSE']._serialized_start=14128 + _globals['_GETAUTHENTICATEDUSERSUBSCRIPTIONRESPONSE']._serialized_end=14242 + _globals['_GETORGANIZATIONSUBSCRIPTIONREQUEST']._serialized_start=14244 + _globals['_GETORGANIZATIONSUBSCRIPTIONREQUEST']._serialized_end=14370 + _globals['_GETORGANIZATIONSUBSCRIPTIONRESPONSE']._serialized_start=14372 + _globals['_GETORGANIZATIONSUBSCRIPTIONRESPONSE']._serialized_end=14489 + _globals['_GETUSERSUBSCRIPTIONADMINREQUEST']._serialized_start=14491 + _globals['_GETUSERSUBSCRIPTIONADMINREQUEST']._serialized_end=14580 + _globals['_GETUSERSUBSCRIPTIONADMINRESPONSE']._serialized_start=14582 + _globals['_GETUSERSUBSCRIPTIONADMINRESPONSE']._serialized_end=14688 + _globals['_GETORGANIZATIONSUBSCRIPTIONADMINREQUEST']._serialized_start=14690 + _globals['_GETORGANIZATIONSUBSCRIPTIONADMINREQUEST']._serialized_end=14795 + _globals['_GETORGANIZATIONSUBSCRIPTIONADMINRESPONSE']._serialized_start=14797 + _globals['_GETORGANIZATIONSUBSCRIPTIONADMINRESPONSE']._serialized_end=14919 # @@protoc_insertion_point(module_scope) diff --git a/core/mgmt/v1beta/mgmt_pb2.pyi b/core/mgmt/v1beta/mgmt_pb2.pyi index e974847..b9a9e96 100644 --- a/core/mgmt/v1beta/mgmt_pb2.pyi +++ b/core/mgmt/v1beta/mgmt_pb2.pyi @@ -1245,8 +1245,11 @@ class ApiToken(google.protobuf.message.Message): ttl: builtins.int = ..., expire_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "expiration", b"expiration", "expire_time", b"expire_time", "last_use_time", b"last_use_time", "ttl", b"ttl", "update_time", b"update_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["access_token", b"access_token", "create_time", b"create_time", "expiration", b"expiration", "expire_time", b"expire_time", "id", b"id", "last_use_time", b"last_use_time", "name", b"name", "state", b"state", "token_type", b"token_type", "ttl", b"ttl", "uid", b"uid", "update_time", b"update_time"]) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["_last_use_time", b"_last_use_time", "create_time", b"create_time", "expiration", b"expiration", "expire_time", b"expire_time", "last_use_time", b"last_use_time", "ttl", b"ttl", "update_time", b"update_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["_last_use_time", b"_last_use_time", "access_token", b"access_token", "create_time", b"create_time", "expiration", b"expiration", "expire_time", b"expire_time", "id", b"id", "last_use_time", b"last_use_time", "name", b"name", "state", b"state", "token_type", b"token_type", "ttl", b"ttl", "uid", b"uid", "update_time", b"update_time"]) -> None: ... + @typing.overload + def WhichOneof(self, oneof_group: typing_extensions.Literal["_last_use_time", b"_last_use_time"]) -> typing_extensions.Literal["last_use_time"] | None: ... + @typing.overload def WhichOneof(self, oneof_group: typing_extensions.Literal["expiration", b"expiration"]) -> typing_extensions.Literal["ttl", "expire_time"] | None: ... global___ApiToken = ApiToken