| 1 | // @generated by protoc-gen-connect-query v1.4.1 with parameter "target=ts,import_extension=none" |
| 2 | // @generated from file svc/organization/v1/service.proto (package svc.organization.v1, syntax proto3) |
| 3 | /* eslint-disable */ |
| 4 | // @ts-nocheck |
| 5 | |
| 6 | import { MethodKind } from "@bufbuild/protobuf"; |
| 7 | import { CreateAddonSubscriptionRequest, CreateAddonSubscriptionResponse, CreateEnvironmentRequest, CreateEnvironmentResponse, CreateStripeCustomerSessionRequest, CreateStripeCustomerSessionResponse, GetEnvironmentRequest, GetEnvironmentResponse, GetStripeBillingPortalRequest, GetStripeBillingPortalResponse, GetStripePublishableKeyRequest, GetStripePublishableKeyResponse, InviteUserRequest, InviteUserResponse, ListAddonSubscriptionRequest, ListAddonSubscriptionResponse, ListEnvironmentRequest, ListEnvironmentResponse, ListPaymentMethodRequest, ListPaymentMethodResponse, ListUserRequest, ListUserResponse, RemoveAddonSubscriptionRequest, RemoveAddonSubscriptionResponse, RevokeUserRequest, RevokeUserResponse } from "./service_pb"; |
| 8 | |
| 9 | /** |
| 10 | * @generated from rpc svc.organization.v1.OrganizationService.CreateEnvironment |
| 11 | */ |
| 12 | export const createEnvironment = { |
| 13 | localName: "createEnvironment", |
| 14 | name: "CreateEnvironment", |
| 15 | kind: MethodKind.Unary, |
| 16 | I: CreateEnvironmentRequest, |
| 17 | O: CreateEnvironmentResponse, |
| 18 | service: { |
| 19 | typeName: "svc.organization.v1.OrganizationService" |
| 20 | } |
| 21 | } as const; |
| 22 | |
| 23 | /** |
| 24 | * @generated from rpc svc.organization.v1.OrganizationService.GetEnvironment |
| 25 | */ |
| 26 | export const getEnvironment = { |
| 27 | localName: "getEnvironment", |
| 28 | name: "GetEnvironment", |
| 29 | kind: MethodKind.Unary, |
| 30 | I: GetEnvironmentRequest, |
| 31 | O: GetEnvironmentResponse, |
| 32 | service: { |
| 33 | typeName: "svc.organization.v1.OrganizationService" |
| 34 | } |
| 35 | } as const; |
| 36 | |
| 37 | /** |
| 38 | * @generated from rpc svc.organization.v1.OrganizationService.ListEnvironment |
| 39 | */ |
| 40 | export const listEnvironment = { |
| 41 | localName: "listEnvironment", |
| 42 | name: "ListEnvironment", |
| 43 | kind: MethodKind.Unary, |
| 44 | I: ListEnvironmentRequest, |
| 45 | O: ListEnvironmentResponse, |
| 46 | service: { |
| 47 | typeName: "svc.organization.v1.OrganizationService" |
| 48 | } |
| 49 | } as const; |
| 50 | |
| 51 | /** |
| 52 | * @generated from rpc svc.organization.v1.OrganizationService.ListUser |
| 53 | */ |
| 54 | export const listUser = { |
| 55 | localName: "listUser", |
| 56 | name: "ListUser", |
| 57 | kind: MethodKind.Unary, |
| 58 | I: ListUserRequest, |
| 59 | O: ListUserResponse, |
| 60 | service: { |
| 61 | typeName: "svc.organization.v1.OrganizationService" |
| 62 | } |
| 63 | } as const; |
| 64 | |
| 65 | /** |
| 66 | * @generated from rpc svc.organization.v1.OrganizationService.InviteUser |
| 67 | */ |
| 68 | export const inviteUser = { |
| 69 | localName: "inviteUser", |
| 70 | name: "InviteUser", |
| 71 | kind: MethodKind.Unary, |
| 72 | I: InviteUserRequest, |
| 73 | O: InviteUserResponse, |
| 74 | service: { |
| 75 | typeName: "svc.organization.v1.OrganizationService" |
| 76 | } |
| 77 | } as const; |
| 78 | |
| 79 | /** |
| 80 | * @generated from rpc svc.organization.v1.OrganizationService.RevokeUser |
| 81 | */ |
| 82 | export const revokeUser = { |
| 83 | localName: "revokeUser", |
| 84 | name: "RevokeUser", |
| 85 | kind: MethodKind.Unary, |
| 86 | I: RevokeUserRequest, |
| 87 | O: RevokeUserResponse, |
| 88 | service: { |
| 89 | typeName: "svc.organization.v1.OrganizationService" |
| 90 | } |
| 91 | } as const; |
| 92 | |
| 93 | /** |
| 94 | * @generated from rpc svc.organization.v1.OrganizationService.CreateAddonSubscription |
| 95 | */ |
| 96 | export const createAddonSubscription = { |
| 97 | localName: "createAddonSubscription", |
| 98 | name: "CreateAddonSubscription", |
| 99 | kind: MethodKind.Unary, |
| 100 | I: CreateAddonSubscriptionRequest, |
| 101 | O: CreateAddonSubscriptionResponse, |
| 102 | service: { |
| 103 | typeName: "svc.organization.v1.OrganizationService" |
| 104 | } |
| 105 | } as const; |
| 106 | |
| 107 | /** |
| 108 | * @generated from rpc svc.organization.v1.OrganizationService.ListAddonSubscription |
| 109 | */ |
| 110 | export const listAddonSubscription = { |
| 111 | localName: "listAddonSubscription", |
| 112 | name: "ListAddonSubscription", |
| 113 | kind: MethodKind.Unary, |
| 114 | I: ListAddonSubscriptionRequest, |
| 115 | O: ListAddonSubscriptionResponse, |
| 116 | service: { |
| 117 | typeName: "svc.organization.v1.OrganizationService" |
| 118 | } |
| 119 | } as const; |
| 120 | |
| 121 | /** |
| 122 | * @generated from rpc svc.organization.v1.OrganizationService.RemoveAddonSubscription |
| 123 | */ |
| 124 | export const removeAddonSubscription = { |
| 125 | localName: "removeAddonSubscription", |
| 126 | name: "RemoveAddonSubscription", |
| 127 | kind: MethodKind.Unary, |
| 128 | I: RemoveAddonSubscriptionRequest, |
| 129 | O: RemoveAddonSubscriptionResponse, |
| 130 | service: { |
| 131 | typeName: "svc.organization.v1.OrganizationService" |
| 132 | } |
| 133 | } as const; |
| 134 | |
| 135 | /** |
| 136 | * payment |
| 137 | * |
| 138 | * @generated from rpc svc.organization.v1.OrganizationService.GetStripePublishableKey |
| 139 | */ |
| 140 | export const getStripePublishableKey = { |
| 141 | localName: "getStripePublishableKey", |
| 142 | name: "GetStripePublishableKey", |
| 143 | kind: MethodKind.Unary, |
| 144 | I: GetStripePublishableKeyRequest, |
| 145 | O: GetStripePublishableKeyResponse, |
| 146 | service: { |
| 147 | typeName: "svc.organization.v1.OrganizationService" |
| 148 | } |
| 149 | } as const; |
| 150 | |
| 151 | /** |
| 152 | * @generated from rpc svc.organization.v1.OrganizationService.GetStripeBillingPortal |
| 153 | */ |
| 154 | export const getStripeBillingPortal = { |
| 155 | localName: "getStripeBillingPortal", |
| 156 | name: "GetStripeBillingPortal", |
| 157 | kind: MethodKind.Unary, |
| 158 | I: GetStripeBillingPortalRequest, |
| 159 | O: GetStripeBillingPortalResponse, |
| 160 | service: { |
| 161 | typeName: "svc.organization.v1.OrganizationService" |
| 162 | } |
| 163 | } as const; |
| 164 | |
| 165 | /** |
| 166 | * @generated from rpc svc.organization.v1.OrganizationService.CreateStripeCustomerSession |
| 167 | */ |
| 168 | export const createStripeCustomerSession = { |
| 169 | localName: "createStripeCustomerSession", |
| 170 | name: "CreateStripeCustomerSession", |
| 171 | kind: MethodKind.Unary, |
| 172 | I: CreateStripeCustomerSessionRequest, |
| 173 | O: CreateStripeCustomerSessionResponse, |
| 174 | service: { |
| 175 | typeName: "svc.organization.v1.OrganizationService" |
| 176 | } |
| 177 | } as const; |
| 178 | |
| 179 | /** |
| 180 | * @generated from rpc svc.organization.v1.OrganizationService.ListPaymentMethod |
| 181 | */ |
| 182 | export const listPaymentMethod = { |
| 183 | localName: "listPaymentMethod", |
| 184 | name: "ListPaymentMethod", |
| 185 | kind: MethodKind.Unary, |
| 186 | I: ListPaymentMethodRequest, |
| 187 | O: ListPaymentMethodResponse, |
| 188 | service: { |
| 189 | typeName: "svc.organization.v1.OrganizationService" |
| 190 | } |
| 191 | } as const; |