From 37bf160242e09e4075ab8178d91fb67874b57c93 Mon Sep 17 00:00:00 2001 From: droplet-bot Date: Tue, 6 Feb 2024 17:32:51 +0000 Subject: [PATCH] chore: auto-gen by protobufs triggered by commit: https://github.com/instill-ai/protobufs/commit/e18c5f608dcbdfe883add94d1871199c279c056a --- core/mgmt/v1beta/mgmt_pb2.py | 68 +++++++++++++++++------------------ core/mgmt/v1beta/mgmt_pb2.pyi | 6 +--- 2 files changed, 35 insertions(+), 39 deletions(-) diff --git a/core/mgmt/v1beta/mgmt_pb2.py b/core/mgmt/v1beta/mgmt_pb2.py index 2b44ea1..ea719a4 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\"\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\"\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\"\xdf\x04\n\x08\x41piToken\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\nexpirationJ\x04\x08\x06\x10\x07\"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\"\\\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\"\xd2\x03\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: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\"\xd3\x01\n\x18StripeSubscriptionDetail\x12\x1f\n\x0b\x63ustomer_id\x18\x01 \x01(\tR\ncustomerId\x12!\n\x0cproduct_name\x18\x02 \x01(\tR\x0bproductName\x12\x0e\n\x02id\x18\x03 \x01(\tR\x02id\x12\x17\n\x07item_id\x18\x04 \x01(\tR\x06itemId\x12\x14\n\x05price\x18\x05 \x01(\x02R\x05price\x12$\n\x0b\x63\x61nceled_at\x18\x06 \x01(\x05H\x00R\ncanceledAt\x88\x01\x01\x42\x0e\n\x0c_canceled_at\"\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\x11\n\rPLAN_FREEMIUM\x10\x01\x12\x0c\n\x08PLAN_PRO\x10\x02\"\xb4\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\"S\n\x04Plan\x12\x14\n\x10PLAN_UNSPECIFIED\x10\x00\x12\x11\n\rPLAN_FREEMIUM\x10\x01\x12\r\n\tPLAN_TEAM\x10\x02\x12\x13\n\x0fPLAN_ENTERPRISE\x10\x03\")\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\"\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\"\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\"\xdf\x04\n\x08\x41piToken\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\nexpirationJ\x04\x08\x06\x10\x07\"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\"\\\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\"\xd2\x03\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: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\"\xb2\x01\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\x42\x0e\n\x0c_canceled_at\"\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\x11\n\rPLAN_FREEMIUM\x10\x01\x12\x0c\n\x08PLAN_PRO\x10\x02\"\xb4\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\"S\n\x04Plan\x12\x14\n\x10PLAN_UNSPECIFIED\x10\x00\x12\x11\n\rPLAN_FREEMIUM\x10\x01\x12\r\n\tPLAN_TEAM\x10\x02\x12\x13\n\x0fPLAN_ENTERPRISE\x10\x03\")\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) @@ -262,14 +262,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=13748 - _globals['_VIEW']._serialized_end=13807 - _globals['_OWNERTYPE']._serialized_start=13809 - _globals['_OWNERTYPE']._serialized_end=13898 - _globals['_MEMBERSHIPSTATE']._serialized_start=13900 - _globals['_MEMBERSHIPSTATE']._serialized_end=14010 - _globals['_ONBOARDINGSTATUS']._serialized_start=14012 - _globals['_ONBOARDINGSTATUS']._serialized_end=14133 + _globals['_VIEW']._serialized_start=13715 + _globals['_VIEW']._serialized_end=13774 + _globals['_OWNERTYPE']._serialized_start=13776 + _globals['_OWNERTYPE']._serialized_end=13865 + _globals['_MEMBERSHIPSTATE']._serialized_start=13867 + _globals['_MEMBERSHIPSTATE']._serialized_end=13977 + _globals['_ONBOARDINGSTATUS']._serialized_start=13979 + _globals['_ONBOARDINGSTATUS']._serialized_end=14100 _globals['_LIVENESSREQUEST']._serialized_start=270 _globals['_LIVENESSREQUEST']._serialized_end=420 _globals['_LIVENESSRESPONSE']._serialized_start=422 @@ -441,29 +441,29 @@ _globals['_DELETEORGANIZATIONMEMBERSHIPRESPONSE']._serialized_start=12134 _globals['_DELETEORGANIZATIONMEMBERSHIPRESPONSE']._serialized_end=12172 _globals['_STRIPESUBSCRIPTIONDETAIL']._serialized_start=12175 - _globals['_STRIPESUBSCRIPTIONDETAIL']._serialized_end=12386 - _globals['_USERSUBSCRIPTION']._serialized_start=12389 - _globals['_USERSUBSCRIPTION']._serialized_end=12599 - _globals['_USERSUBSCRIPTION_PLAN']._serialized_start=12538 - _globals['_USERSUBSCRIPTION_PLAN']._serialized_end=12599 - _globals['_ORGANIZATIONSUBSCRIPTION']._serialized_start=12602 - _globals['_ORGANIZATIONSUBSCRIPTION']._serialized_end=12910 - _globals['_ORGANIZATIONSUBSCRIPTION_PLAN']._serialized_start=12827 - _globals['_ORGANIZATIONSUBSCRIPTION_PLAN']._serialized_end=12910 - _globals['_GETAUTHENTICATEDUSERSUBSCRIPTIONREQUEST']._serialized_start=12912 - _globals['_GETAUTHENTICATEDUSERSUBSCRIPTIONREQUEST']._serialized_end=12953 - _globals['_GETAUTHENTICATEDUSERSUBSCRIPTIONRESPONSE']._serialized_start=12955 - _globals['_GETAUTHENTICATEDUSERSUBSCRIPTIONRESPONSE']._serialized_end=13069 - _globals['_GETORGANIZATIONSUBSCRIPTIONREQUEST']._serialized_start=13071 - _globals['_GETORGANIZATIONSUBSCRIPTIONREQUEST']._serialized_end=13197 - _globals['_GETORGANIZATIONSUBSCRIPTIONRESPONSE']._serialized_start=13199 - _globals['_GETORGANIZATIONSUBSCRIPTIONRESPONSE']._serialized_end=13316 - _globals['_GETUSERSUBSCRIPTIONADMINREQUEST']._serialized_start=13318 - _globals['_GETUSERSUBSCRIPTIONADMINREQUEST']._serialized_end=13407 - _globals['_GETUSERSUBSCRIPTIONADMINRESPONSE']._serialized_start=13409 - _globals['_GETUSERSUBSCRIPTIONADMINRESPONSE']._serialized_end=13515 - _globals['_GETORGANIZATIONSUBSCRIPTIONADMINREQUEST']._serialized_start=13517 - _globals['_GETORGANIZATIONSUBSCRIPTIONADMINREQUEST']._serialized_end=13622 - _globals['_GETORGANIZATIONSUBSCRIPTIONADMINRESPONSE']._serialized_start=13624 - _globals['_GETORGANIZATIONSUBSCRIPTIONADMINRESPONSE']._serialized_end=13746 + _globals['_STRIPESUBSCRIPTIONDETAIL']._serialized_end=12353 + _globals['_USERSUBSCRIPTION']._serialized_start=12356 + _globals['_USERSUBSCRIPTION']._serialized_end=12566 + _globals['_USERSUBSCRIPTION_PLAN']._serialized_start=12505 + _globals['_USERSUBSCRIPTION_PLAN']._serialized_end=12566 + _globals['_ORGANIZATIONSUBSCRIPTION']._serialized_start=12569 + _globals['_ORGANIZATIONSUBSCRIPTION']._serialized_end=12877 + _globals['_ORGANIZATIONSUBSCRIPTION_PLAN']._serialized_start=12794 + _globals['_ORGANIZATIONSUBSCRIPTION_PLAN']._serialized_end=12877 + _globals['_GETAUTHENTICATEDUSERSUBSCRIPTIONREQUEST']._serialized_start=12879 + _globals['_GETAUTHENTICATEDUSERSUBSCRIPTIONREQUEST']._serialized_end=12920 + _globals['_GETAUTHENTICATEDUSERSUBSCRIPTIONRESPONSE']._serialized_start=12922 + _globals['_GETAUTHENTICATEDUSERSUBSCRIPTIONRESPONSE']._serialized_end=13036 + _globals['_GETORGANIZATIONSUBSCRIPTIONREQUEST']._serialized_start=13038 + _globals['_GETORGANIZATIONSUBSCRIPTIONREQUEST']._serialized_end=13164 + _globals['_GETORGANIZATIONSUBSCRIPTIONRESPONSE']._serialized_start=13166 + _globals['_GETORGANIZATIONSUBSCRIPTIONRESPONSE']._serialized_end=13283 + _globals['_GETUSERSUBSCRIPTIONADMINREQUEST']._serialized_start=13285 + _globals['_GETUSERSUBSCRIPTIONADMINREQUEST']._serialized_end=13374 + _globals['_GETUSERSUBSCRIPTIONADMINRESPONSE']._serialized_start=13376 + _globals['_GETUSERSUBSCRIPTIONADMINRESPONSE']._serialized_end=13482 + _globals['_GETORGANIZATIONSUBSCRIPTIONADMINREQUEST']._serialized_start=13484 + _globals['_GETORGANIZATIONSUBSCRIPTIONADMINREQUEST']._serialized_end=13589 + _globals['_GETORGANIZATIONSUBSCRIPTIONADMINRESPONSE']._serialized_start=13591 + _globals['_GETORGANIZATIONSUBSCRIPTIONADMINRESPONSE']._serialized_end=13713 # @@protoc_insertion_point(module_scope) diff --git a/core/mgmt/v1beta/mgmt_pb2.pyi b/core/mgmt/v1beta/mgmt_pb2.pyi index 187e35e..7108bd2 100644 --- a/core/mgmt/v1beta/mgmt_pb2.pyi +++ b/core/mgmt/v1beta/mgmt_pb2.pyi @@ -2335,14 +2335,11 @@ class StripeSubscriptionDetail(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - CUSTOMER_ID_FIELD_NUMBER: builtins.int PRODUCT_NAME_FIELD_NUMBER: builtins.int ID_FIELD_NUMBER: builtins.int ITEM_ID_FIELD_NUMBER: builtins.int PRICE_FIELD_NUMBER: builtins.int CANCELED_AT_FIELD_NUMBER: builtins.int - customer_id: builtins.str - """Customer ID associated with the subscription.""" product_name: builtins.str """Product name associated with the subscription in Stripe.""" id: builtins.str @@ -2356,7 +2353,6 @@ class StripeSubscriptionDetail(google.protobuf.message.Message): def __init__( self, *, - customer_id: builtins.str = ..., product_name: builtins.str = ..., id: builtins.str = ..., item_id: builtins.str = ..., @@ -2364,7 +2360,7 @@ class StripeSubscriptionDetail(google.protobuf.message.Message): canceled_at: builtins.int | None = ..., ) -> None: ... def HasField(self, field_name: typing_extensions.Literal["_canceled_at", b"_canceled_at", "canceled_at", b"canceled_at"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["_canceled_at", b"_canceled_at", "canceled_at", b"canceled_at", "customer_id", b"customer_id", "id", b"id", "item_id", b"item_id", "price", b"price", "product_name", b"product_name"]) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["_canceled_at", b"_canceled_at", "canceled_at", b"canceled_at", "id", b"id", "item_id", b"item_id", "price", b"price", "product_name", b"product_name"]) -> None: ... def WhichOneof(self, oneof_group: typing_extensions.Literal["_canceled_at", b"_canceled_at"]) -> typing_extensions.Literal["canceled_at"] | None: ... global___StripeSubscriptionDetail = StripeSubscriptionDetail