weave-python 0.30.3__py3-none-any.whl → 0.30.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- weave/weaveapi/auth/v1/service_pb2.py +96 -96
- weave/weaveapi/auth/v1/session_pb2.py +4 -4
- weave/weaveapi/auth/v1/usage_pb2.py +12 -12
- weave/weaveapi/auth/v1/user_pb2.py +16 -16
- weave/weaveapi/generate/v1/configuration_pb2.py +16 -16
- weave/weaveapi/generate/v1/generate_pb2.py +8 -8
- weave/weaveapi/generate/v1/service_pb2.py +26 -26
- weave/weaveapi/llmx/v1/architecture_pb2.py +40 -40
- weave/weaveapi/llmx/v1/capabilities_pb2.py +54 -54
- weave/weaveapi/llmx/v1/model_pb2.py +18 -18
- weave/weaveapi/llmx/v1/pricing_pb2.py +18 -18
- weave/weaveapi/llmx/v1/provider_pb2.py +4 -4
- weave/weaveapi/llmx/v1/service_pb2.py +88 -88
- weave/weaveapi/mcpregistry/v1/server_pb2.py +8 -8
- weave/weaveapi/mcpregistry/v1/service_pb2.py +28 -28
- weave/weaveapi/payment/v1/invoice_pb2.py +10 -10
- weave/weaveapi/payment/v1/service_pb2.py +96 -96
- weave/weaveapi/payment/v1/subscription_pb2.py +20 -20
- weave/weaveapi/storage/v1/auth_pb2.py +4 -4
- weave/weaveapi/storage/v1/nosql_database_pb2.py +20 -20
- weave/weaveapi/storage/v1/object_store_pb2.py +10 -10
- weave/weaveapi/storage/v1/service_pb2.py +34 -34
- weave/weaveapi/storage/v1/sql_database_pb2.py +20 -20
- weave/weaveapi/storage/v1/storage_pb2.py +4 -4
- weave/weaveapi/synthesize/v1/dataset_pb2.py +10 -10
- weave/weaveapi/synthesize/v1/inline_data_pb2.py +6 -6
- weave/weaveapi/synthesize/v1/relationship_pb2.py +8 -8
- weave/weaveapi/synthesize/v1/service_pb2.py +22 -22
- weave/weaveapi/synthesize/v1/training_pb2.py +10 -10
- {weave_python-0.30.3.dist-info → weave_python-0.30.4.dist-info}/METADATA +1 -1
- {weave_python-0.30.3.dist-info → weave_python-0.30.4.dist-info}/RECORD +33 -33
- {weave_python-0.30.3.dist-info → weave_python-0.30.4.dist-info}/WHEEL +0 -0
- {weave_python-0.30.3.dist-info → weave_python-0.30.4.dist-info}/licenses/LICENSE +0 -0
|
@@ -20,7 +20,7 @@ _sym_db = _symbol_database.Default()
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
23
|
-
b'\n!weaveapi/payment/v1/service.proto\x12\x13weaveapi.payment.v1\x1a\x1cgoogle/api/annotations.proto\x1a!google/protobuf/go_features.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a!weaveapi/payment/v1/invoice.proto\x1a&weaveapi/payment/v1/subscription.proto"\xfd\x03\n\x1c\x43reateCheckoutSessionRequest\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\x12\x1f\n\x0bsuccess_url\x18\x02 \x01(\tR\nsuccessUrl\x12\x1d\n\ncancel_url\x18\x03 \x01(\tR\tcancelUrl\x12\x1d\n\npromo_code\x18\x04 \x01(\tR\tpromoCode\x12\x32\n\x15\x61llow_promotion_codes\x18\x05 \x01(\x08R\x13\x61llowPromotionCodes\x12\x1d\n\ntrial_days\x18\x06 \x01(\x05R\ttrialDays\x12[\n\x08metadata\x18\x07 \x03(\x0b\x32?.weaveapi.payment.v1.CreateCheckoutSessionRequest.MetadataEntryR\x08metadata\x12%\n\x0e\x63ustomer_email\x18\x08 \x01(\tR\rcustomerEmail\x12#\n\rautomatic_tax\x18\t \x01(\x08R\x0c\x61utomaticTax\x12*\n\x11tax_id_collection\x18\n \x03(\tR\x0ftaxIdCollection\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"\xa0\x01\n\x1d\x43reateCheckoutSessionResponse\x12\x1d\n\nsession_id\x18\x01 \x01(\tR\tsessionId\x12!\n\x0c\x63heckout_url\x18\x02 \x01(\tR\x0b\x63heckoutUrl\x12=\n\nexpires_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\texpiresAt"\x1e\n\x1cGetSubscriptionStatusRequest"p\n\x1dGetSubscriptionStatusResponse\x12O\n\x0csubscription\x18\x01 \x01(\x0b\x32\'.weaveapi.payment.v1.SubscriptionStatusB\x02(\x01R\x0csubscription"\xae\x02\n\x19UpdateSubscriptionRequest\x12*\n\x11payment_method_id\x18\x01 \x01(\tR\x0fpaymentMethodId\x12\x1d\n\npromo_code\x18\x02 \x01(\tR\tpromoCode\x12/\n\x14\x63\x61ncel_at_period_end\x18\x03 \x01(\x08R\x11\x63\x61ncelAtPeriodEnd\x12X\n\x08metadata\x18\x04 \x03(\x0b\x32<.weaveapi.payment.v1.UpdateSubscriptionRequest.MetadataEntryR\x08metadata\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"\x87\x01\n\x1aUpdateSubscriptionResponse\x12O\n\x0csubscription\x18\x01 \x01(\x0b\x32\'.weaveapi.payment.v1.SubscriptionStatusB\x02(\x01R\x0csubscription\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"q\n\x19\x43\x61ncelSubscriptionRequest\x12 \n\x0bimmediately\x18\x01 \x01(\x08R\x0bimmediately\x12\x16\n\x06reason\x18\x02 \x01(\tR\x06reason\x12\x1a\n\x08\x66\x65\x65\x64\x62\x61\x63k\x18\x03 \x01(\tR\x08\x66\x65\x65\x64\x62\x61\x63k"\xd8\x01\n\x1a\x43\x61ncelSubscriptionResponse\x12O\n\x0csubscription\x18\x01 \x01(\x0b\x32\'.weaveapi.payment.v1.SubscriptionStatusB\x02(\x01R\x0csubscription\x12\x45\n\x0e\x65\x66\x66\x65\x63tive_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\reffectiveDate\x12"\n\x0c\x63onfirmation\x18\x03 \x01(\tR\x0c\x63onfirmation"\x1b\n\x19ResumeSubscriptionRequest"\x87\x01\n\x1aResumeSubscriptionResponse\x12O\n\x0csubscription\x18\x01 \x01(\x0b\x32\'.weaveapi.payment.v1.SubscriptionStatusB\x02(\x01R\x0csubscription\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"\xa0\x02\n\x18GetBillingHistoryRequest\x12\x14\n\x05limit\x18\x01 \x01(\x05R\x05limit\x12%\n\x0estarting_after\x18\x02 \x01(\tR\rstartingAfter\x12#\n\rending_before\x18\x03 \x01(\tR\x0c\x65ndingBefore\x12\x16\n\x06status\x18\x04 \x01(\tR\x06status\x12\x43\n\rcreated_after\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x0c\x63reatedAfter\x12\x45\n\x0e\x63reated_before\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\rcreatedBefore"\xbe\x01\n\x19GetBillingHistoryResponse\x12<\n\x08invoices\x18\x01 \x03(\x0b\x32\x1c.weaveapi.payment.v1.InvoiceB\x02(\x01R\x08invoices\x12\x19\n\x08has_more\x18\x02 \x01(\x08R\x07hasMore\x12\x1f\n\x0bnext_cursor\x18\x03 \x01(\tR\nnextCursor\x12\'\n\x0fprevious_cursor\x18\x04 \x01(\tR\x0epreviousCursor"\x1b\n\x19GetUpcomingInvoiceRequest"X\n\x1aGetUpcomingInvoiceResponse\x12:\n\x07invoice\x18\x01 \x01(\x0b\x32\x1c.weaveapi.payment.v1.InvoiceB\x02(\x01R\x07invoice"/\n\x19ListPaymentMethodsRequest\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type"\xa8\x01\n\x1aListPaymentMethodsResponse\x12O\n\x0fpayment_methods\x18\x01 \x03(\x0b\x32".weaveapi.payment.v1.PaymentMethodB\x02(\x01R\x0epaymentMethods\x12\x39\n\x19\x64\x65\x66\x61ult_payment_method_id\x18\x02 \x01(\tR\x16\x64\x65\x66\x61ultPaymentMethodId"k\n\x17\x41\x64\x64PaymentMethodRequest\x12*\n\x11payment_method_id\x18\x01 \x01(\tR\x0fpaymentMethodId\x12$\n\x0eset_as_default\x18\x02 \x01(\x08R\x0csetAsDefault"\x88\x01\n\x18\x41\x64\x64PaymentMethodResponse\x12M\n\x0epayment_method\x18\x01 \x01(\x0b\x32".weaveapi.payment.v1.PaymentMethodB\x02(\x01R\rpaymentMethod\x12\x1d\n\nis_default\x18\x02 \x01(\x08R\tisDefault"L\n\x1eSetDefaultPaymentMethodRequest\x12*\n\x11payment_method_id\x18\x01 \x01(\tR\x0fpaymentMethodId"U\n\x1fSetDefaultPaymentMethodResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"H\n\x1aRemovePaymentMethodRequest\x12*\n\x11payment_method_id\x18\x01 \x01(\tR\x0fpaymentMethodId"~\n\x1bRemovePaymentMethodResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12+\n\x11remaining_methods\x18\x03 \x01(\x05R\x10remainingMethods";\n\x1a\x43reatePortalSessionRequest\x12\x1d\n\nreturn_url\x18\x01 \x01(\tR\treturnUrl"{\n\x1b\x43reatePortalSessionResponse\x12\x1d\n\nportal_url\x18\x01 \x01(\tR\tportalUrl\x12=\n\nexpires_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\texpiresAt"U\n\x16GetPricingPlansRequest\x12\x1a\n\x08\x63urrency\x18\x01 \x01(\tR\x08\x63urrency\x12\x1f\n\x0b\x61\x63tive_only\x18\x02 \x01(\x08R\nactiveOnly"\xce\x01\n\x17GetPricingPlansResponse\x12:\n\x05plans\x18\x01 \x03(\x0b\x32 .weaveapi.payment.v1.PricingPlanB\x02(\x01R\x05plans\x12.\n\x13recommended_plan_id\x18\x02 \x01(\tR\x11recommendedPlanId\x12G\n\x0c\x63urrent_plan\x18\x03 \x01(\x0b\x32 .weaveapi.payment.v1.PricingPlanB\x02(\x01R\x0b\x63urrentPlan"6\n\x15\x41pplyPromoCodeRequest\x12\x1d\n\npromo_code\x18\x01 \x01(\tR\tpromoCode"\xc6\x01\n\x16\x41pplyPromoCodeResponse\x12\x14\n\x05valid\x18\x01 \x01(\x08R\x05valid\x12=\n\x08\x64iscount\x18\x02 \x01(\x0b\x32\x1d.weaveapi.payment.v1.DiscountB\x02(\x01R\x08\x64iscount\x12\x18\n\x07message\x18\x03 \x01(\tR\x07message\x12=\n\nexpires_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\texpiresAt"T\n\x1aHandleStripeWebhookRequest\x12\x18\n\x07payload\x18\x01 \x01(\x0cR\x07payload\x12\x1c\n\tsignature\x18\x02 \x01(\tR\tsignature"\x8b\x01\n\x1bHandleStripeWebhookResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x19\n\x08\x65vent_id\x18\x02 \x01(\tR\x07\x65ventId\x12\x1d\n\nevent_type\x18\x03 \x01(\tR\teventType\x12\x18\n\x07message\x18\x04 \x01(\tR\x07message"\xaa\x01\n\x16GetUsageSummaryRequest\x12\x16\n\x06period\x18\x01 \x01(\tR\x06period\x12=\n\nstart_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tstartDate\x12\x39\n\x08\x65nd_date\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x07\x65ndDate"\xf5\x01\n\x17GetUsageSummaryResponse\x12K\n\x0e\x63urrent_period\x18\x01 \x01(\x0b\x32 .weaveapi.payment.v1.UsagePeriodB\x02(\x01R\rcurrentPeriod\x12O\n\x10previous_periods\x18\x02 \x03(\x0b\x32 .weaveapi.payment.v1.UsagePeriodB\x02(\x01R\x0fpreviousPeriods\x12<\n\x06limits\x18\x03 \x01(\x0b\x32 .weaveapi.payment.v1.UsageLimitsB\x02(\x01R\x06limits"\xe8\x05\n\x0bUsagePeriod\x12=\n\nstart_date\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tstartDate\x12\x39\n\x08\x65nd_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x07\x65ndDate\x12!\n\x0c\x61pi_requests\x18\x03 \x01(\x03R\x0b\x61piRequests\x12,\n\x12\x61pi_requests_limit\x18\x04 \x01(\x03R\x10\x61piRequestsLimit\x12)\n\x10usage_percentage\x18\x05 \x01(\x01R\x0fusagePercentage\x12j\n\x14requests_by_endpoint\x18\x06 \x03(\x0b\x32\x38.weaveapi.payment.v1.UsagePeriod.RequestsByEndpointEntryR\x12requestsByEndpoint\x12\x65\n\x13requests_by_api_key\x18\x07 \x03(\x0b\x32\x36.weaveapi.payment.v1.UsagePeriod.RequestsByApiKeyEntryR\x10requestsByApiKey\x12+\n\x11\x62illable_requests\x18\x08 \x01(\x03R\x10\x62illableRequests\x12)\n\x10overage_requests\x18\t \x01(\x03R\x0foverageRequests\x12,\n\x12overage_cost_cents\x18\n \x01(\x03R\x10overageCostCents\x1a\x45\n\x17RequestsByEndpointEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x03R\x05value:\x02\x38\x01\x1a\x43\n\x15RequestsByApiKeyEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x03R\x05value:\x02\x38\x01"\xf1\x01\n\x0bUsageLimits\x12\x12\n\x04tier\x18\x01 \x01(\tR\x04tier\x12*\n\x11requests_per_hour\x18\x02 \x01(\x03R\x0frequestsPerHour\x12(\n\x10requests_per_day\x18\x03 \x01(\x03R\x0erequestsPerDay\x12,\n\x12requests_per_month\x18\x04 \x01(\x03R\x10requestsPerMonth\x12\x1c\n\tunlimited\x18\x05 \x01(\x08R\tunlimited\x12,\n\x12overage_rate_cents\x18\x06 \x01(\x03R\x10overageRateCents"\x19\n\x17GetCreditBalanceRequest"\xf9\x01\n\x18GetCreditBalanceResponse\x12\x18\n\x07\x63redits\x18\x01 \x01(\x03R\x07\x63redits\x12\'\n\x0fpending_credits\x18\x02 \x01(\x03R\x0ependingCredits\x12=\n\nexpires_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\texpiresAt\x12[\n\x13recent_transactions\x18\x04 \x03(\x0b\x32&.weaveapi.payment.v1.CreditTransactionB\x02(\x01R\x12recentTransactions"\xb0\x01\n\x11\x43reditTransaction\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04type\x18\x02 \x01(\tR\x04type\x12\x16\n\x06\x61mount\x18\x03 \x01(\x03R\x06\x61mount\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12=\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tcreatedAt"\xdc\x01\n\x14UpdateTaxInfoRequest\x12\x15\n\x06tax_id\x18\x01 \x01(\tR\x05taxId\x12\x1e\n\x0btax_id_type\x18\x02 \x01(\tR\ttaxIdType\x12I\n\x0f\x62illing_address\x18\x03 \x01(\x0b\x32\x1c.weaveapi.payment.v1.AddressB\x02(\x01R\x0e\x62illingAddress\x12#\n\rbusiness_name\x18\x04 \x01(\tR\x0c\x62usinessName\x12\x1d\n\ntax_exempt\x18\x05 \x01(\x08R\ttaxExempt"\x88\x01\n\x15UpdateTaxInfoResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12;\n\x08tax_info\x18\x03 \x01(\x0b\x32\x1c.weaveapi.payment.v1.TaxInfoB\x02(\x01R\x07taxInfo"\xcd\x02\n\x07TaxInfo\x12\x15\n\x06tax_id\x18\x01 \x01(\tR\x05taxId\x12\x1e\n\x0btax_id_type\x18\x02 \x01(\tR\ttaxIdType\x12/\n\x13verification_status\x18\x03 \x01(\tR\x12verificationStatus\x12I\n\x0f\x62illing_address\x18\x04 \x01(\x0b\x32\x1c.weaveapi.payment.v1.AddressB\x02(\x01R\x0e\x62illingAddress\x12#\n\rbusiness_name\x18\x05 \x01(\tR\x0c\x62usinessName\x12\x1d\n\ntax_exempt\x18\x06 \x01(\x08R\ttaxExempt\x12K\n\x10\x61pplicable_rates\x18\x07 \x03(\x0b\x32\x1c.weaveapi.payment.v1.TaxRateB\x02(\x01R\x0f\x61pplicableRates"7\n\x16\x44ownloadInvoiceRequest\x12\x1d\n\ninvoice_id\x18\x01 \x01(\tR\tinvoiceId"s\n\x17\x44ownloadInvoiceResponse\x12\x19\n\x08pdf_data\x18\x01 \x01(\x0cR\x07pdfData\x12\x1a\n\x08\x66ilename\x18\x02 \x01(\tR\x08\x66ilename\x12!\n\x0c\x63ontent_type\x18\x03 \x01(\tR\x0b\x63ontentType2\x80\x18\n\x07Payment\x12\xa3\x01\n\x15\x43reateCheckoutSession\x12\x31.weaveapi.payment.v1.CreateCheckoutSessionRequest\x1a\x32.weaveapi.payment.v1.CreateCheckoutSessionResponse"#\x82\xd3\xe4\x93\x02\x1d"\x18/api/v1/payment/checkout:\x01*\x12\xa4\x01\n\x15GetSubscriptionStatus\x12\x31.weaveapi.payment.v1.GetSubscriptionStatusRequest\x1a\x32.weaveapi.payment.v1.GetSubscriptionStatusResponse"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/api/v1/payment/subscription\x12\x9e\x01\n\x12UpdateSubscription\x12..weaveapi.payment.v1.UpdateSubscriptionRequest\x1a/.weaveapi.payment.v1.UpdateSubscriptionResponse"\'\x82\xd3\xe4\x93\x02!2\x1c/api/v1/payment/subscription:\x01*\x12\xa5\x01\n\x12\x43\x61ncelSubscription\x12..weaveapi.payment.v1.CancelSubscriptionRequest\x1a/.weaveapi.payment.v1.CancelSubscriptionResponse".\x82\xd3\xe4\x93\x02("#/api/v1/payment/subscription/cancel:\x01*\x12\xa5\x01\n\x12ResumeSubscription\x12..weaveapi.payment.v1.ResumeSubscriptionRequest\x1a/.weaveapi.payment.v1.ResumeSubscriptionResponse".\x82\xd3\xe4\x93\x02("#/api/v1/payment/subscription/resume:\x01*\x12\x9b\x01\n\x11GetBillingHistory\x12-.weaveapi.payment.v1.GetBillingHistoryRequest\x1a..weaveapi.payment.v1.GetBillingHistoryResponse"\'\x82\xd3\xe4\x93\x02!\x12\x1f/api/v1/payment/billing-history\x12\x9f\x01\n\x12GetUpcomingInvoice\x12..weaveapi.payment.v1.GetUpcomingInvoiceRequest\x1a/.weaveapi.payment.v1.GetUpcomingInvoiceResponse"(\x82\xd3\xe4\x93\x02"\x12 /api/v1/payment/upcoming-invoice\x12\x9e\x01\n\x12ListPaymentMethods\x12..weaveapi.payment.v1.ListPaymentMethodsRequest\x1a/.weaveapi.payment.v1.ListPaymentMethodsResponse"\'\x82\xd3\xe4\x93\x02!\x12\x1f/api/v1/payment/payment-methods\x12\x9b\x01\n\x10\x41\x64\x64PaymentMethod\x12,.weaveapi.payment.v1.AddPaymentMethodRequest\x1a-.weaveapi.payment.v1.AddPaymentMethodResponse"*\x82\xd3\xe4\x93\x02$"\x1f/api/v1/payment/payment-methods:\x01*\x12\xd0\x01\n\x17SetDefaultPaymentMethod\x12\x33.weaveapi.payment.v1.SetDefaultPaymentMethodRequest\x1a\x34.weaveapi.payment.v1.SetDefaultPaymentMethodResponse"J\x82\xd3\xe4\x93\x02\x44"?/api/v1/payment/payment-methods/{payment_method_id}/set-default:\x01*\x12\xb5\x01\n\x13RemovePaymentMethod\x12/.weaveapi.payment.v1.RemovePaymentMethodRequest\x1a\x30.weaveapi.payment.v1.RemovePaymentMethodResponse";\x82\xd3\xe4\x93\x02\x35*3/api/v1/payment/payment-methods/{payment_method_id}\x12\x9b\x01\n\x13\x43reatePortalSession\x12/.weaveapi.payment.v1.CreatePortalSessionRequest\x1a\x30.weaveapi.payment.v1.CreatePortalSessionResponse"!\x82\xd3\xe4\x93\x02\x1b"\x16/api/v1/payment/portal:\x01*\x12\x8b\x01\n\x0fGetPricingPlans\x12+.weaveapi.payment.v1.GetPricingPlansRequest\x1a,.weaveapi.payment.v1.GetPricingPlansResponse"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/api/v1/payment/plans\x12\x8b\x01\n\x0e\x41pplyPromoCode\x12*.weaveapi.payment.v1.ApplyPromoCodeRequest\x1a+.weaveapi.payment.v1.ApplyPromoCodeResponse" \x82\xd3\xe4\x93\x02\x1a"\x15/api/v1/payment/promo:\x01*\x12\x9c\x01\n\x13HandleStripeWebhook\x12/.weaveapi.payment.v1.HandleStripeWebhookRequest\x1a\x30.weaveapi.payment.v1.HandleStripeWebhookResponse""\x82\xd3\xe4\x93\x02\x1c"\x17/api/v1/webhooks/stripe:\x01*\x12\x8b\x01\n\x0fGetUsageSummary\x12+.weaveapi.payment.v1.GetUsageSummaryRequest\x1a,.weaveapi.payment.v1.GetUsageSummaryResponse"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/api/v1/payment/usage\x12\x90\x01\n\x10GetCreditBalance\x12,.weaveapi.payment.v1.GetCreditBalanceRequest\x1a-.weaveapi.payment.v1.GetCreditBalanceResponse"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/api/v1/payment/credits\x12\x8b\x01\n\rUpdateTaxInfo\x12).weaveapi.payment.v1.UpdateTaxInfoRequest\x1a*.weaveapi.payment.v1.UpdateTaxInfoResponse"#\x82\xd3\xe4\x93\x02\x1d\x32\x18/api/v1/payment/tax-info:\x01*\x12\xa4\x01\n\x0f\x44ownloadInvoice\x12+.weaveapi.payment.v1.DownloadInvoiceRequest\x1a,.weaveapi.payment.v1.DownloadInvoiceResponse"6\x82\xd3\xe4\x93\x02\x30\x12./api/v1/payment/invoices/{invoice_id}/downloadB\xd9\x01\n\x17\x63om.weaveapi.payment.v1B\x0cServiceProtoP\x01Z:github.com/weave-labs/weave-go/weaveapi/payment/v1;payment\xa2\x02\x03WPX\xaa\x02\x13Weaveapi.Payment.V1\xca\x02\x13Weaveapi\\Payment\\V1\xe2\x02\x1fWeaveapi\\Payment\\V1\\GPBMetadata\xea\x02\x15Weaveapi::Payment::V1\x92\x03\x05\xd2>\x02\x10\x03\x62\x08\x65\x64itionsp\xe8\x07'
|
|
23
|
+
b'\n!weaveapi/payment/v1/service.proto\x12\x13weaveapi.payment.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a!weaveapi/payment/v1/invoice.proto\x1a&weaveapi/payment/v1/subscription.proto"\xfd\x03\n\x1c\x43reateCheckoutSessionRequest\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\x12\x1f\n\x0bsuccess_url\x18\x02 \x01(\tR\nsuccessUrl\x12\x1d\n\ncancel_url\x18\x03 \x01(\tR\tcancelUrl\x12\x1d\n\npromo_code\x18\x04 \x01(\tR\tpromoCode\x12\x32\n\x15\x61llow_promotion_codes\x18\x05 \x01(\x08R\x13\x61llowPromotionCodes\x12\x1d\n\ntrial_days\x18\x06 \x01(\x05R\ttrialDays\x12[\n\x08metadata\x18\x07 \x03(\x0b\x32?.weaveapi.payment.v1.CreateCheckoutSessionRequest.MetadataEntryR\x08metadata\x12%\n\x0e\x63ustomer_email\x18\x08 \x01(\tR\rcustomerEmail\x12#\n\rautomatic_tax\x18\t \x01(\x08R\x0c\x61utomaticTax\x12*\n\x11tax_id_collection\x18\n \x03(\tR\x0ftaxIdCollection\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"\xa0\x01\n\x1d\x43reateCheckoutSessionResponse\x12\x1d\n\nsession_id\x18\x01 \x01(\tR\tsessionId\x12!\n\x0c\x63heckout_url\x18\x02 \x01(\tR\x0b\x63heckoutUrl\x12=\n\nexpires_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\texpiresAt"\x1e\n\x1cGetSubscriptionStatusRequest"p\n\x1dGetSubscriptionStatusResponse\x12O\n\x0csubscription\x18\x01 \x01(\x0b\x32\'.weaveapi.payment.v1.SubscriptionStatusB\x02(\x01R\x0csubscription"\xae\x02\n\x19UpdateSubscriptionRequest\x12*\n\x11payment_method_id\x18\x01 \x01(\tR\x0fpaymentMethodId\x12\x1d\n\npromo_code\x18\x02 \x01(\tR\tpromoCode\x12/\n\x14\x63\x61ncel_at_period_end\x18\x03 \x01(\x08R\x11\x63\x61ncelAtPeriodEnd\x12X\n\x08metadata\x18\x04 \x03(\x0b\x32<.weaveapi.payment.v1.UpdateSubscriptionRequest.MetadataEntryR\x08metadata\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"\x87\x01\n\x1aUpdateSubscriptionResponse\x12O\n\x0csubscription\x18\x01 \x01(\x0b\x32\'.weaveapi.payment.v1.SubscriptionStatusB\x02(\x01R\x0csubscription\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"q\n\x19\x43\x61ncelSubscriptionRequest\x12 \n\x0bimmediately\x18\x01 \x01(\x08R\x0bimmediately\x12\x16\n\x06reason\x18\x02 \x01(\tR\x06reason\x12\x1a\n\x08\x66\x65\x65\x64\x62\x61\x63k\x18\x03 \x01(\tR\x08\x66\x65\x65\x64\x62\x61\x63k"\xd8\x01\n\x1a\x43\x61ncelSubscriptionResponse\x12O\n\x0csubscription\x18\x01 \x01(\x0b\x32\'.weaveapi.payment.v1.SubscriptionStatusB\x02(\x01R\x0csubscription\x12\x45\n\x0e\x65\x66\x66\x65\x63tive_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\reffectiveDate\x12"\n\x0c\x63onfirmation\x18\x03 \x01(\tR\x0c\x63onfirmation"\x1b\n\x19ResumeSubscriptionRequest"\x87\x01\n\x1aResumeSubscriptionResponse\x12O\n\x0csubscription\x18\x01 \x01(\x0b\x32\'.weaveapi.payment.v1.SubscriptionStatusB\x02(\x01R\x0csubscription\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"\xa0\x02\n\x18GetBillingHistoryRequest\x12\x14\n\x05limit\x18\x01 \x01(\x05R\x05limit\x12%\n\x0estarting_after\x18\x02 \x01(\tR\rstartingAfter\x12#\n\rending_before\x18\x03 \x01(\tR\x0c\x65ndingBefore\x12\x16\n\x06status\x18\x04 \x01(\tR\x06status\x12\x43\n\rcreated_after\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x0c\x63reatedAfter\x12\x45\n\x0e\x63reated_before\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\rcreatedBefore"\xbe\x01\n\x19GetBillingHistoryResponse\x12<\n\x08invoices\x18\x01 \x03(\x0b\x32\x1c.weaveapi.payment.v1.InvoiceB\x02(\x01R\x08invoices\x12\x19\n\x08has_more\x18\x02 \x01(\x08R\x07hasMore\x12\x1f\n\x0bnext_cursor\x18\x03 \x01(\tR\nnextCursor\x12\'\n\x0fprevious_cursor\x18\x04 \x01(\tR\x0epreviousCursor"\x1b\n\x19GetUpcomingInvoiceRequest"X\n\x1aGetUpcomingInvoiceResponse\x12:\n\x07invoice\x18\x01 \x01(\x0b\x32\x1c.weaveapi.payment.v1.InvoiceB\x02(\x01R\x07invoice"/\n\x19ListPaymentMethodsRequest\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type"\xa8\x01\n\x1aListPaymentMethodsResponse\x12O\n\x0fpayment_methods\x18\x01 \x03(\x0b\x32".weaveapi.payment.v1.PaymentMethodB\x02(\x01R\x0epaymentMethods\x12\x39\n\x19\x64\x65\x66\x61ult_payment_method_id\x18\x02 \x01(\tR\x16\x64\x65\x66\x61ultPaymentMethodId"k\n\x17\x41\x64\x64PaymentMethodRequest\x12*\n\x11payment_method_id\x18\x01 \x01(\tR\x0fpaymentMethodId\x12$\n\x0eset_as_default\x18\x02 \x01(\x08R\x0csetAsDefault"\x88\x01\n\x18\x41\x64\x64PaymentMethodResponse\x12M\n\x0epayment_method\x18\x01 \x01(\x0b\x32".weaveapi.payment.v1.PaymentMethodB\x02(\x01R\rpaymentMethod\x12\x1d\n\nis_default\x18\x02 \x01(\x08R\tisDefault"L\n\x1eSetDefaultPaymentMethodRequest\x12*\n\x11payment_method_id\x18\x01 \x01(\tR\x0fpaymentMethodId"U\n\x1fSetDefaultPaymentMethodResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"H\n\x1aRemovePaymentMethodRequest\x12*\n\x11payment_method_id\x18\x01 \x01(\tR\x0fpaymentMethodId"~\n\x1bRemovePaymentMethodResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12+\n\x11remaining_methods\x18\x03 \x01(\x05R\x10remainingMethods";\n\x1a\x43reatePortalSessionRequest\x12\x1d\n\nreturn_url\x18\x01 \x01(\tR\treturnUrl"{\n\x1b\x43reatePortalSessionResponse\x12\x1d\n\nportal_url\x18\x01 \x01(\tR\tportalUrl\x12=\n\nexpires_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\texpiresAt"U\n\x16GetPricingPlansRequest\x12\x1a\n\x08\x63urrency\x18\x01 \x01(\tR\x08\x63urrency\x12\x1f\n\x0b\x61\x63tive_only\x18\x02 \x01(\x08R\nactiveOnly"\xce\x01\n\x17GetPricingPlansResponse\x12:\n\x05plans\x18\x01 \x03(\x0b\x32 .weaveapi.payment.v1.PricingPlanB\x02(\x01R\x05plans\x12.\n\x13recommended_plan_id\x18\x02 \x01(\tR\x11recommendedPlanId\x12G\n\x0c\x63urrent_plan\x18\x03 \x01(\x0b\x32 .weaveapi.payment.v1.PricingPlanB\x02(\x01R\x0b\x63urrentPlan"6\n\x15\x41pplyPromoCodeRequest\x12\x1d\n\npromo_code\x18\x01 \x01(\tR\tpromoCode"\xc6\x01\n\x16\x41pplyPromoCodeResponse\x12\x14\n\x05valid\x18\x01 \x01(\x08R\x05valid\x12=\n\x08\x64iscount\x18\x02 \x01(\x0b\x32\x1d.weaveapi.payment.v1.DiscountB\x02(\x01R\x08\x64iscount\x12\x18\n\x07message\x18\x03 \x01(\tR\x07message\x12=\n\nexpires_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\texpiresAt"T\n\x1aHandleStripeWebhookRequest\x12\x18\n\x07payload\x18\x01 \x01(\x0cR\x07payload\x12\x1c\n\tsignature\x18\x02 \x01(\tR\tsignature"\x8b\x01\n\x1bHandleStripeWebhookResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x19\n\x08\x65vent_id\x18\x02 \x01(\tR\x07\x65ventId\x12\x1d\n\nevent_type\x18\x03 \x01(\tR\teventType\x12\x18\n\x07message\x18\x04 \x01(\tR\x07message"\xaa\x01\n\x16GetUsageSummaryRequest\x12\x16\n\x06period\x18\x01 \x01(\tR\x06period\x12=\n\nstart_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tstartDate\x12\x39\n\x08\x65nd_date\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x07\x65ndDate"\xf5\x01\n\x17GetUsageSummaryResponse\x12K\n\x0e\x63urrent_period\x18\x01 \x01(\x0b\x32 .weaveapi.payment.v1.UsagePeriodB\x02(\x01R\rcurrentPeriod\x12O\n\x10previous_periods\x18\x02 \x03(\x0b\x32 .weaveapi.payment.v1.UsagePeriodB\x02(\x01R\x0fpreviousPeriods\x12<\n\x06limits\x18\x03 \x01(\x0b\x32 .weaveapi.payment.v1.UsageLimitsB\x02(\x01R\x06limits"\xe8\x05\n\x0bUsagePeriod\x12=\n\nstart_date\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tstartDate\x12\x39\n\x08\x65nd_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x07\x65ndDate\x12!\n\x0c\x61pi_requests\x18\x03 \x01(\x03R\x0b\x61piRequests\x12,\n\x12\x61pi_requests_limit\x18\x04 \x01(\x03R\x10\x61piRequestsLimit\x12)\n\x10usage_percentage\x18\x05 \x01(\x01R\x0fusagePercentage\x12j\n\x14requests_by_endpoint\x18\x06 \x03(\x0b\x32\x38.weaveapi.payment.v1.UsagePeriod.RequestsByEndpointEntryR\x12requestsByEndpoint\x12\x65\n\x13requests_by_api_key\x18\x07 \x03(\x0b\x32\x36.weaveapi.payment.v1.UsagePeriod.RequestsByApiKeyEntryR\x10requestsByApiKey\x12+\n\x11\x62illable_requests\x18\x08 \x01(\x03R\x10\x62illableRequests\x12)\n\x10overage_requests\x18\t \x01(\x03R\x0foverageRequests\x12,\n\x12overage_cost_cents\x18\n \x01(\x03R\x10overageCostCents\x1a\x45\n\x17RequestsByEndpointEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x03R\x05value:\x02\x38\x01\x1a\x43\n\x15RequestsByApiKeyEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x03R\x05value:\x02\x38\x01"\xf1\x01\n\x0bUsageLimits\x12\x12\n\x04tier\x18\x01 \x01(\tR\x04tier\x12*\n\x11requests_per_hour\x18\x02 \x01(\x03R\x0frequestsPerHour\x12(\n\x10requests_per_day\x18\x03 \x01(\x03R\x0erequestsPerDay\x12,\n\x12requests_per_month\x18\x04 \x01(\x03R\x10requestsPerMonth\x12\x1c\n\tunlimited\x18\x05 \x01(\x08R\tunlimited\x12,\n\x12overage_rate_cents\x18\x06 \x01(\x03R\x10overageRateCents"\x19\n\x17GetCreditBalanceRequest"\xf9\x01\n\x18GetCreditBalanceResponse\x12\x18\n\x07\x63redits\x18\x01 \x01(\x03R\x07\x63redits\x12\'\n\x0fpending_credits\x18\x02 \x01(\x03R\x0ependingCredits\x12=\n\nexpires_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\texpiresAt\x12[\n\x13recent_transactions\x18\x04 \x03(\x0b\x32&.weaveapi.payment.v1.CreditTransactionB\x02(\x01R\x12recentTransactions"\xb0\x01\n\x11\x43reditTransaction\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04type\x18\x02 \x01(\tR\x04type\x12\x16\n\x06\x61mount\x18\x03 \x01(\x03R\x06\x61mount\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12=\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tcreatedAt"\xdc\x01\n\x14UpdateTaxInfoRequest\x12\x15\n\x06tax_id\x18\x01 \x01(\tR\x05taxId\x12\x1e\n\x0btax_id_type\x18\x02 \x01(\tR\ttaxIdType\x12I\n\x0f\x62illing_address\x18\x03 \x01(\x0b\x32\x1c.weaveapi.payment.v1.AddressB\x02(\x01R\x0e\x62illingAddress\x12#\n\rbusiness_name\x18\x04 \x01(\tR\x0c\x62usinessName\x12\x1d\n\ntax_exempt\x18\x05 \x01(\x08R\ttaxExempt"\x88\x01\n\x15UpdateTaxInfoResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12;\n\x08tax_info\x18\x03 \x01(\x0b\x32\x1c.weaveapi.payment.v1.TaxInfoB\x02(\x01R\x07taxInfo"\xcd\x02\n\x07TaxInfo\x12\x15\n\x06tax_id\x18\x01 \x01(\tR\x05taxId\x12\x1e\n\x0btax_id_type\x18\x02 \x01(\tR\ttaxIdType\x12/\n\x13verification_status\x18\x03 \x01(\tR\x12verificationStatus\x12I\n\x0f\x62illing_address\x18\x04 \x01(\x0b\x32\x1c.weaveapi.payment.v1.AddressB\x02(\x01R\x0e\x62illingAddress\x12#\n\rbusiness_name\x18\x05 \x01(\tR\x0c\x62usinessName\x12\x1d\n\ntax_exempt\x18\x06 \x01(\x08R\ttaxExempt\x12K\n\x10\x61pplicable_rates\x18\x07 \x03(\x0b\x32\x1c.weaveapi.payment.v1.TaxRateB\x02(\x01R\x0f\x61pplicableRates"7\n\x16\x44ownloadInvoiceRequest\x12\x1d\n\ninvoice_id\x18\x01 \x01(\tR\tinvoiceId"s\n\x17\x44ownloadInvoiceResponse\x12\x19\n\x08pdf_data\x18\x01 \x01(\x0cR\x07pdfData\x12\x1a\n\x08\x66ilename\x18\x02 \x01(\tR\x08\x66ilename\x12!\n\x0c\x63ontent_type\x18\x03 \x01(\tR\x0b\x63ontentType2\x80\x18\n\x07Payment\x12\xa3\x01\n\x15\x43reateCheckoutSession\x12\x31.weaveapi.payment.v1.CreateCheckoutSessionRequest\x1a\x32.weaveapi.payment.v1.CreateCheckoutSessionResponse"#\x82\xd3\xe4\x93\x02\x1d"\x18/api/v1/payment/checkout:\x01*\x12\xa4\x01\n\x15GetSubscriptionStatus\x12\x31.weaveapi.payment.v1.GetSubscriptionStatusRequest\x1a\x32.weaveapi.payment.v1.GetSubscriptionStatusResponse"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/api/v1/payment/subscription\x12\x9e\x01\n\x12UpdateSubscription\x12..weaveapi.payment.v1.UpdateSubscriptionRequest\x1a/.weaveapi.payment.v1.UpdateSubscriptionResponse"\'\x82\xd3\xe4\x93\x02!2\x1c/api/v1/payment/subscription:\x01*\x12\xa5\x01\n\x12\x43\x61ncelSubscription\x12..weaveapi.payment.v1.CancelSubscriptionRequest\x1a/.weaveapi.payment.v1.CancelSubscriptionResponse".\x82\xd3\xe4\x93\x02("#/api/v1/payment/subscription/cancel:\x01*\x12\xa5\x01\n\x12ResumeSubscription\x12..weaveapi.payment.v1.ResumeSubscriptionRequest\x1a/.weaveapi.payment.v1.ResumeSubscriptionResponse".\x82\xd3\xe4\x93\x02("#/api/v1/payment/subscription/resume:\x01*\x12\x9b\x01\n\x11GetBillingHistory\x12-.weaveapi.payment.v1.GetBillingHistoryRequest\x1a..weaveapi.payment.v1.GetBillingHistoryResponse"\'\x82\xd3\xe4\x93\x02!\x12\x1f/api/v1/payment/billing-history\x12\x9f\x01\n\x12GetUpcomingInvoice\x12..weaveapi.payment.v1.GetUpcomingInvoiceRequest\x1a/.weaveapi.payment.v1.GetUpcomingInvoiceResponse"(\x82\xd3\xe4\x93\x02"\x12 /api/v1/payment/upcoming-invoice\x12\x9e\x01\n\x12ListPaymentMethods\x12..weaveapi.payment.v1.ListPaymentMethodsRequest\x1a/.weaveapi.payment.v1.ListPaymentMethodsResponse"\'\x82\xd3\xe4\x93\x02!\x12\x1f/api/v1/payment/payment-methods\x12\x9b\x01\n\x10\x41\x64\x64PaymentMethod\x12,.weaveapi.payment.v1.AddPaymentMethodRequest\x1a-.weaveapi.payment.v1.AddPaymentMethodResponse"*\x82\xd3\xe4\x93\x02$"\x1f/api/v1/payment/payment-methods:\x01*\x12\xd0\x01\n\x17SetDefaultPaymentMethod\x12\x33.weaveapi.payment.v1.SetDefaultPaymentMethodRequest\x1a\x34.weaveapi.payment.v1.SetDefaultPaymentMethodResponse"J\x82\xd3\xe4\x93\x02\x44"?/api/v1/payment/payment-methods/{payment_method_id}/set-default:\x01*\x12\xb5\x01\n\x13RemovePaymentMethod\x12/.weaveapi.payment.v1.RemovePaymentMethodRequest\x1a\x30.weaveapi.payment.v1.RemovePaymentMethodResponse";\x82\xd3\xe4\x93\x02\x35*3/api/v1/payment/payment-methods/{payment_method_id}\x12\x9b\x01\n\x13\x43reatePortalSession\x12/.weaveapi.payment.v1.CreatePortalSessionRequest\x1a\x30.weaveapi.payment.v1.CreatePortalSessionResponse"!\x82\xd3\xe4\x93\x02\x1b"\x16/api/v1/payment/portal:\x01*\x12\x8b\x01\n\x0fGetPricingPlans\x12+.weaveapi.payment.v1.GetPricingPlansRequest\x1a,.weaveapi.payment.v1.GetPricingPlansResponse"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/api/v1/payment/plans\x12\x8b\x01\n\x0e\x41pplyPromoCode\x12*.weaveapi.payment.v1.ApplyPromoCodeRequest\x1a+.weaveapi.payment.v1.ApplyPromoCodeResponse" \x82\xd3\xe4\x93\x02\x1a"\x15/api/v1/payment/promo:\x01*\x12\x9c\x01\n\x13HandleStripeWebhook\x12/.weaveapi.payment.v1.HandleStripeWebhookRequest\x1a\x30.weaveapi.payment.v1.HandleStripeWebhookResponse""\x82\xd3\xe4\x93\x02\x1c"\x17/api/v1/webhooks/stripe:\x01*\x12\x8b\x01\n\x0fGetUsageSummary\x12+.weaveapi.payment.v1.GetUsageSummaryRequest\x1a,.weaveapi.payment.v1.GetUsageSummaryResponse"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/api/v1/payment/usage\x12\x90\x01\n\x10GetCreditBalance\x12,.weaveapi.payment.v1.GetCreditBalanceRequest\x1a-.weaveapi.payment.v1.GetCreditBalanceResponse"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/api/v1/payment/credits\x12\x8b\x01\n\rUpdateTaxInfo\x12).weaveapi.payment.v1.UpdateTaxInfoRequest\x1a*.weaveapi.payment.v1.UpdateTaxInfoResponse"#\x82\xd3\xe4\x93\x02\x1d\x32\x18/api/v1/payment/tax-info:\x01*\x12\xa4\x01\n\x0f\x44ownloadInvoice\x12+.weaveapi.payment.v1.DownloadInvoiceRequest\x1a,.weaveapi.payment.v1.DownloadInvoiceResponse"6\x82\xd3\xe4\x93\x02\x30\x12./api/v1/payment/invoices/{invoice_id}/downloadB\xd1\x01\n\x17\x63om.weaveapi.payment.v1B\x0cServiceProtoP\x01Z:github.com/weave-labs/weave-go/weaveapi/payment/v1;payment\xa2\x02\x03WPX\xaa\x02\x13Weaveapi.Payment.V1\xca\x02\x13Weaveapi\\Payment\\V1\xe2\x02\x1fWeaveapi\\Payment\\V1\\GPBMetadata\xea\x02\x15Weaveapi::Payment::V1b\x08\x65\x64itionsp\xe8\x07'
|
|
24
24
|
)
|
|
25
25
|
|
|
26
26
|
_globals = globals()
|
|
@@ -32,7 +32,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
32
32
|
_globals["DESCRIPTOR"]._loaded_options = None
|
|
33
33
|
_globals[
|
|
34
34
|
"DESCRIPTOR"
|
|
35
|
-
]._serialized_options = b"\n\027com.weaveapi.payment.v1B\014ServiceProtoP\001Z:github.com/weave-labs/weave-go/weaveapi/payment/v1;payment\242\002\003WPX\252\002\023Weaveapi.Payment.V1\312\002\023Weaveapi\\Payment\\V1\342\002\037Weaveapi\\Payment\\V1\\GPBMetadata\352\002\025Weaveapi::Payment::V1
|
|
35
|
+
]._serialized_options = b"\n\027com.weaveapi.payment.v1B\014ServiceProtoP\001Z:github.com/weave-labs/weave-go/weaveapi/payment/v1;payment\242\002\003WPX\252\002\023Weaveapi.Payment.V1\312\002\023Weaveapi\\Payment\\V1\342\002\037Weaveapi\\Payment\\V1\\GPBMetadata\352\002\025Weaveapi::Payment::V1"
|
|
36
36
|
_globals["_CREATECHECKOUTSESSIONREQUEST_METADATAENTRY"]._loaded_options = None
|
|
37
37
|
_globals[
|
|
38
38
|
"_CREATECHECKOUTSESSIONREQUEST_METADATAENTRY"
|
|
@@ -313,98 +313,98 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
313
313
|
]._serialized_options = (
|
|
314
314
|
b"\202\323\344\223\0020\022./api/v1/payment/invoices/{invoice_id}/download"
|
|
315
315
|
)
|
|
316
|
-
_globals["_CREATECHECKOUTSESSIONREQUEST"]._serialized_start =
|
|
317
|
-
_globals["_CREATECHECKOUTSESSIONREQUEST"]._serialized_end =
|
|
318
|
-
_globals["_CREATECHECKOUTSESSIONREQUEST_METADATAENTRY"]._serialized_start =
|
|
319
|
-
_globals["_CREATECHECKOUTSESSIONREQUEST_METADATAENTRY"]._serialized_end =
|
|
320
|
-
_globals["_CREATECHECKOUTSESSIONRESPONSE"]._serialized_start =
|
|
321
|
-
_globals["_CREATECHECKOUTSESSIONRESPONSE"]._serialized_end =
|
|
322
|
-
_globals["_GETSUBSCRIPTIONSTATUSREQUEST"]._serialized_start =
|
|
323
|
-
_globals["_GETSUBSCRIPTIONSTATUSREQUEST"]._serialized_end =
|
|
324
|
-
_globals["_GETSUBSCRIPTIONSTATUSRESPONSE"]._serialized_start =
|
|
325
|
-
_globals["_GETSUBSCRIPTIONSTATUSRESPONSE"]._serialized_end =
|
|
326
|
-
_globals["_UPDATESUBSCRIPTIONREQUEST"]._serialized_start =
|
|
327
|
-
_globals["_UPDATESUBSCRIPTIONREQUEST"]._serialized_end =
|
|
328
|
-
_globals["_UPDATESUBSCRIPTIONREQUEST_METADATAENTRY"]._serialized_start =
|
|
329
|
-
_globals["_UPDATESUBSCRIPTIONREQUEST_METADATAENTRY"]._serialized_end =
|
|
330
|
-
_globals["_UPDATESUBSCRIPTIONRESPONSE"]._serialized_start =
|
|
331
|
-
_globals["_UPDATESUBSCRIPTIONRESPONSE"]._serialized_end =
|
|
332
|
-
_globals["_CANCELSUBSCRIPTIONREQUEST"]._serialized_start =
|
|
333
|
-
_globals["_CANCELSUBSCRIPTIONREQUEST"]._serialized_end =
|
|
334
|
-
_globals["_CANCELSUBSCRIPTIONRESPONSE"]._serialized_start =
|
|
335
|
-
_globals["_CANCELSUBSCRIPTIONRESPONSE"]._serialized_end =
|
|
336
|
-
_globals["_RESUMESUBSCRIPTIONREQUEST"]._serialized_start =
|
|
337
|
-
_globals["_RESUMESUBSCRIPTIONREQUEST"]._serialized_end =
|
|
338
|
-
_globals["_RESUMESUBSCRIPTIONRESPONSE"]._serialized_start =
|
|
339
|
-
_globals["_RESUMESUBSCRIPTIONRESPONSE"]._serialized_end =
|
|
340
|
-
_globals["_GETBILLINGHISTORYREQUEST"]._serialized_start =
|
|
341
|
-
_globals["_GETBILLINGHISTORYREQUEST"]._serialized_end =
|
|
342
|
-
_globals["_GETBILLINGHISTORYRESPONSE"]._serialized_start =
|
|
343
|
-
_globals["_GETBILLINGHISTORYRESPONSE"]._serialized_end =
|
|
344
|
-
_globals["_GETUPCOMINGINVOICEREQUEST"]._serialized_start =
|
|
345
|
-
_globals["_GETUPCOMINGINVOICEREQUEST"]._serialized_end =
|
|
346
|
-
_globals["_GETUPCOMINGINVOICERESPONSE"]._serialized_start =
|
|
347
|
-
_globals["_GETUPCOMINGINVOICERESPONSE"]._serialized_end =
|
|
348
|
-
_globals["_LISTPAYMENTMETHODSREQUEST"]._serialized_start =
|
|
349
|
-
_globals["_LISTPAYMENTMETHODSREQUEST"]._serialized_end =
|
|
350
|
-
_globals["_LISTPAYMENTMETHODSRESPONSE"]._serialized_start =
|
|
351
|
-
_globals["_LISTPAYMENTMETHODSRESPONSE"]._serialized_end =
|
|
352
|
-
_globals["_ADDPAYMENTMETHODREQUEST"]._serialized_start =
|
|
353
|
-
_globals["_ADDPAYMENTMETHODREQUEST"]._serialized_end =
|
|
354
|
-
_globals["_ADDPAYMENTMETHODRESPONSE"]._serialized_start =
|
|
355
|
-
_globals["_ADDPAYMENTMETHODRESPONSE"]._serialized_end =
|
|
356
|
-
_globals["_SETDEFAULTPAYMENTMETHODREQUEST"]._serialized_start =
|
|
357
|
-
_globals["_SETDEFAULTPAYMENTMETHODREQUEST"]._serialized_end =
|
|
358
|
-
_globals["_SETDEFAULTPAYMENTMETHODRESPONSE"]._serialized_start =
|
|
359
|
-
_globals["_SETDEFAULTPAYMENTMETHODRESPONSE"]._serialized_end =
|
|
360
|
-
_globals["_REMOVEPAYMENTMETHODREQUEST"]._serialized_start =
|
|
361
|
-
_globals["_REMOVEPAYMENTMETHODREQUEST"]._serialized_end =
|
|
362
|
-
_globals["_REMOVEPAYMENTMETHODRESPONSE"]._serialized_start =
|
|
363
|
-
_globals["_REMOVEPAYMENTMETHODRESPONSE"]._serialized_end =
|
|
364
|
-
_globals["_CREATEPORTALSESSIONREQUEST"]._serialized_start =
|
|
365
|
-
_globals["_CREATEPORTALSESSIONREQUEST"]._serialized_end =
|
|
366
|
-
_globals["_CREATEPORTALSESSIONRESPONSE"]._serialized_start =
|
|
367
|
-
_globals["_CREATEPORTALSESSIONRESPONSE"]._serialized_end =
|
|
368
|
-
_globals["_GETPRICINGPLANSREQUEST"]._serialized_start =
|
|
369
|
-
_globals["_GETPRICINGPLANSREQUEST"]._serialized_end =
|
|
370
|
-
_globals["_GETPRICINGPLANSRESPONSE"]._serialized_start =
|
|
371
|
-
_globals["_GETPRICINGPLANSRESPONSE"]._serialized_end =
|
|
372
|
-
_globals["_APPLYPROMOCODEREQUEST"]._serialized_start =
|
|
373
|
-
_globals["_APPLYPROMOCODEREQUEST"]._serialized_end =
|
|
374
|
-
_globals["_APPLYPROMOCODERESPONSE"]._serialized_start =
|
|
375
|
-
_globals["_APPLYPROMOCODERESPONSE"]._serialized_end =
|
|
376
|
-
_globals["_HANDLESTRIPEWEBHOOKREQUEST"]._serialized_start =
|
|
377
|
-
_globals["_HANDLESTRIPEWEBHOOKREQUEST"]._serialized_end =
|
|
378
|
-
_globals["_HANDLESTRIPEWEBHOOKRESPONSE"]._serialized_start =
|
|
379
|
-
_globals["_HANDLESTRIPEWEBHOOKRESPONSE"]._serialized_end =
|
|
380
|
-
_globals["_GETUSAGESUMMARYREQUEST"]._serialized_start =
|
|
381
|
-
_globals["_GETUSAGESUMMARYREQUEST"]._serialized_end =
|
|
382
|
-
_globals["_GETUSAGESUMMARYRESPONSE"]._serialized_start =
|
|
383
|
-
_globals["_GETUSAGESUMMARYRESPONSE"]._serialized_end =
|
|
384
|
-
_globals["_USAGEPERIOD"]._serialized_start =
|
|
385
|
-
_globals["_USAGEPERIOD"]._serialized_end =
|
|
386
|
-
_globals["_USAGEPERIOD_REQUESTSBYENDPOINTENTRY"]._serialized_start =
|
|
387
|
-
_globals["_USAGEPERIOD_REQUESTSBYENDPOINTENTRY"]._serialized_end =
|
|
388
|
-
_globals["_USAGEPERIOD_REQUESTSBYAPIKEYENTRY"]._serialized_start =
|
|
389
|
-
_globals["_USAGEPERIOD_REQUESTSBYAPIKEYENTRY"]._serialized_end =
|
|
390
|
-
_globals["_USAGELIMITS"]._serialized_start =
|
|
391
|
-
_globals["_USAGELIMITS"]._serialized_end =
|
|
392
|
-
_globals["_GETCREDITBALANCEREQUEST"]._serialized_start =
|
|
393
|
-
_globals["_GETCREDITBALANCEREQUEST"]._serialized_end =
|
|
394
|
-
_globals["_GETCREDITBALANCERESPONSE"]._serialized_start =
|
|
395
|
-
_globals["_GETCREDITBALANCERESPONSE"]._serialized_end =
|
|
396
|
-
_globals["_CREDITTRANSACTION"]._serialized_start =
|
|
397
|
-
_globals["_CREDITTRANSACTION"]._serialized_end =
|
|
398
|
-
_globals["_UPDATETAXINFOREQUEST"]._serialized_start =
|
|
399
|
-
_globals["_UPDATETAXINFOREQUEST"]._serialized_end =
|
|
400
|
-
_globals["_UPDATETAXINFORESPONSE"]._serialized_start =
|
|
401
|
-
_globals["_UPDATETAXINFORESPONSE"]._serialized_end =
|
|
402
|
-
_globals["_TAXINFO"]._serialized_start =
|
|
403
|
-
_globals["_TAXINFO"]._serialized_end =
|
|
404
|
-
_globals["_DOWNLOADINVOICEREQUEST"]._serialized_start =
|
|
405
|
-
_globals["_DOWNLOADINVOICEREQUEST"]._serialized_end =
|
|
406
|
-
_globals["_DOWNLOADINVOICERESPONSE"]._serialized_start =
|
|
407
|
-
_globals["_DOWNLOADINVOICERESPONSE"]._serialized_end =
|
|
408
|
-
_globals["_PAYMENT"]._serialized_start =
|
|
409
|
-
_globals["_PAYMENT"]._serialized_end =
|
|
316
|
+
_globals["_CREATECHECKOUTSESSIONREQUEST"]._serialized_start = 197
|
|
317
|
+
_globals["_CREATECHECKOUTSESSIONREQUEST"]._serialized_end = 706
|
|
318
|
+
_globals["_CREATECHECKOUTSESSIONREQUEST_METADATAENTRY"]._serialized_start = 647
|
|
319
|
+
_globals["_CREATECHECKOUTSESSIONREQUEST_METADATAENTRY"]._serialized_end = 706
|
|
320
|
+
_globals["_CREATECHECKOUTSESSIONRESPONSE"]._serialized_start = 709
|
|
321
|
+
_globals["_CREATECHECKOUTSESSIONRESPONSE"]._serialized_end = 869
|
|
322
|
+
_globals["_GETSUBSCRIPTIONSTATUSREQUEST"]._serialized_start = 871
|
|
323
|
+
_globals["_GETSUBSCRIPTIONSTATUSREQUEST"]._serialized_end = 901
|
|
324
|
+
_globals["_GETSUBSCRIPTIONSTATUSRESPONSE"]._serialized_start = 903
|
|
325
|
+
_globals["_GETSUBSCRIPTIONSTATUSRESPONSE"]._serialized_end = 1015
|
|
326
|
+
_globals["_UPDATESUBSCRIPTIONREQUEST"]._serialized_start = 1018
|
|
327
|
+
_globals["_UPDATESUBSCRIPTIONREQUEST"]._serialized_end = 1320
|
|
328
|
+
_globals["_UPDATESUBSCRIPTIONREQUEST_METADATAENTRY"]._serialized_start = 647
|
|
329
|
+
_globals["_UPDATESUBSCRIPTIONREQUEST_METADATAENTRY"]._serialized_end = 706
|
|
330
|
+
_globals["_UPDATESUBSCRIPTIONRESPONSE"]._serialized_start = 1323
|
|
331
|
+
_globals["_UPDATESUBSCRIPTIONRESPONSE"]._serialized_end = 1458
|
|
332
|
+
_globals["_CANCELSUBSCRIPTIONREQUEST"]._serialized_start = 1460
|
|
333
|
+
_globals["_CANCELSUBSCRIPTIONREQUEST"]._serialized_end = 1573
|
|
334
|
+
_globals["_CANCELSUBSCRIPTIONRESPONSE"]._serialized_start = 1576
|
|
335
|
+
_globals["_CANCELSUBSCRIPTIONRESPONSE"]._serialized_end = 1792
|
|
336
|
+
_globals["_RESUMESUBSCRIPTIONREQUEST"]._serialized_start = 1794
|
|
337
|
+
_globals["_RESUMESUBSCRIPTIONREQUEST"]._serialized_end = 1821
|
|
338
|
+
_globals["_RESUMESUBSCRIPTIONRESPONSE"]._serialized_start = 1824
|
|
339
|
+
_globals["_RESUMESUBSCRIPTIONRESPONSE"]._serialized_end = 1959
|
|
340
|
+
_globals["_GETBILLINGHISTORYREQUEST"]._serialized_start = 1962
|
|
341
|
+
_globals["_GETBILLINGHISTORYREQUEST"]._serialized_end = 2250
|
|
342
|
+
_globals["_GETBILLINGHISTORYRESPONSE"]._serialized_start = 2253
|
|
343
|
+
_globals["_GETBILLINGHISTORYRESPONSE"]._serialized_end = 2443
|
|
344
|
+
_globals["_GETUPCOMINGINVOICEREQUEST"]._serialized_start = 2445
|
|
345
|
+
_globals["_GETUPCOMINGINVOICEREQUEST"]._serialized_end = 2472
|
|
346
|
+
_globals["_GETUPCOMINGINVOICERESPONSE"]._serialized_start = 2474
|
|
347
|
+
_globals["_GETUPCOMINGINVOICERESPONSE"]._serialized_end = 2562
|
|
348
|
+
_globals["_LISTPAYMENTMETHODSREQUEST"]._serialized_start = 2564
|
|
349
|
+
_globals["_LISTPAYMENTMETHODSREQUEST"]._serialized_end = 2611
|
|
350
|
+
_globals["_LISTPAYMENTMETHODSRESPONSE"]._serialized_start = 2614
|
|
351
|
+
_globals["_LISTPAYMENTMETHODSRESPONSE"]._serialized_end = 2782
|
|
352
|
+
_globals["_ADDPAYMENTMETHODREQUEST"]._serialized_start = 2784
|
|
353
|
+
_globals["_ADDPAYMENTMETHODREQUEST"]._serialized_end = 2891
|
|
354
|
+
_globals["_ADDPAYMENTMETHODRESPONSE"]._serialized_start = 2894
|
|
355
|
+
_globals["_ADDPAYMENTMETHODRESPONSE"]._serialized_end = 3030
|
|
356
|
+
_globals["_SETDEFAULTPAYMENTMETHODREQUEST"]._serialized_start = 3032
|
|
357
|
+
_globals["_SETDEFAULTPAYMENTMETHODREQUEST"]._serialized_end = 3108
|
|
358
|
+
_globals["_SETDEFAULTPAYMENTMETHODRESPONSE"]._serialized_start = 3110
|
|
359
|
+
_globals["_SETDEFAULTPAYMENTMETHODRESPONSE"]._serialized_end = 3195
|
|
360
|
+
_globals["_REMOVEPAYMENTMETHODREQUEST"]._serialized_start = 3197
|
|
361
|
+
_globals["_REMOVEPAYMENTMETHODREQUEST"]._serialized_end = 3269
|
|
362
|
+
_globals["_REMOVEPAYMENTMETHODRESPONSE"]._serialized_start = 3271
|
|
363
|
+
_globals["_REMOVEPAYMENTMETHODRESPONSE"]._serialized_end = 3397
|
|
364
|
+
_globals["_CREATEPORTALSESSIONREQUEST"]._serialized_start = 3399
|
|
365
|
+
_globals["_CREATEPORTALSESSIONREQUEST"]._serialized_end = 3458
|
|
366
|
+
_globals["_CREATEPORTALSESSIONRESPONSE"]._serialized_start = 3460
|
|
367
|
+
_globals["_CREATEPORTALSESSIONRESPONSE"]._serialized_end = 3583
|
|
368
|
+
_globals["_GETPRICINGPLANSREQUEST"]._serialized_start = 3585
|
|
369
|
+
_globals["_GETPRICINGPLANSREQUEST"]._serialized_end = 3670
|
|
370
|
+
_globals["_GETPRICINGPLANSRESPONSE"]._serialized_start = 3673
|
|
371
|
+
_globals["_GETPRICINGPLANSRESPONSE"]._serialized_end = 3879
|
|
372
|
+
_globals["_APPLYPROMOCODEREQUEST"]._serialized_start = 3881
|
|
373
|
+
_globals["_APPLYPROMOCODEREQUEST"]._serialized_end = 3935
|
|
374
|
+
_globals["_APPLYPROMOCODERESPONSE"]._serialized_start = 3938
|
|
375
|
+
_globals["_APPLYPROMOCODERESPONSE"]._serialized_end = 4136
|
|
376
|
+
_globals["_HANDLESTRIPEWEBHOOKREQUEST"]._serialized_start = 4138
|
|
377
|
+
_globals["_HANDLESTRIPEWEBHOOKREQUEST"]._serialized_end = 4222
|
|
378
|
+
_globals["_HANDLESTRIPEWEBHOOKRESPONSE"]._serialized_start = 4225
|
|
379
|
+
_globals["_HANDLESTRIPEWEBHOOKRESPONSE"]._serialized_end = 4364
|
|
380
|
+
_globals["_GETUSAGESUMMARYREQUEST"]._serialized_start = 4367
|
|
381
|
+
_globals["_GETUSAGESUMMARYREQUEST"]._serialized_end = 4537
|
|
382
|
+
_globals["_GETUSAGESUMMARYRESPONSE"]._serialized_start = 4540
|
|
383
|
+
_globals["_GETUSAGESUMMARYRESPONSE"]._serialized_end = 4785
|
|
384
|
+
_globals["_USAGEPERIOD"]._serialized_start = 4788
|
|
385
|
+
_globals["_USAGEPERIOD"]._serialized_end = 5532
|
|
386
|
+
_globals["_USAGEPERIOD_REQUESTSBYENDPOINTENTRY"]._serialized_start = 5394
|
|
387
|
+
_globals["_USAGEPERIOD_REQUESTSBYENDPOINTENTRY"]._serialized_end = 5463
|
|
388
|
+
_globals["_USAGEPERIOD_REQUESTSBYAPIKEYENTRY"]._serialized_start = 5465
|
|
389
|
+
_globals["_USAGEPERIOD_REQUESTSBYAPIKEYENTRY"]._serialized_end = 5532
|
|
390
|
+
_globals["_USAGELIMITS"]._serialized_start = 5535
|
|
391
|
+
_globals["_USAGELIMITS"]._serialized_end = 5776
|
|
392
|
+
_globals["_GETCREDITBALANCEREQUEST"]._serialized_start = 5778
|
|
393
|
+
_globals["_GETCREDITBALANCEREQUEST"]._serialized_end = 5803
|
|
394
|
+
_globals["_GETCREDITBALANCERESPONSE"]._serialized_start = 5806
|
|
395
|
+
_globals["_GETCREDITBALANCERESPONSE"]._serialized_end = 6055
|
|
396
|
+
_globals["_CREDITTRANSACTION"]._serialized_start = 6058
|
|
397
|
+
_globals["_CREDITTRANSACTION"]._serialized_end = 6234
|
|
398
|
+
_globals["_UPDATETAXINFOREQUEST"]._serialized_start = 6237
|
|
399
|
+
_globals["_UPDATETAXINFOREQUEST"]._serialized_end = 6457
|
|
400
|
+
_globals["_UPDATETAXINFORESPONSE"]._serialized_start = 6460
|
|
401
|
+
_globals["_UPDATETAXINFORESPONSE"]._serialized_end = 6596
|
|
402
|
+
_globals["_TAXINFO"]._serialized_start = 6599
|
|
403
|
+
_globals["_TAXINFO"]._serialized_end = 6932
|
|
404
|
+
_globals["_DOWNLOADINVOICEREQUEST"]._serialized_start = 6934
|
|
405
|
+
_globals["_DOWNLOADINVOICEREQUEST"]._serialized_end = 6989
|
|
406
|
+
_globals["_DOWNLOADINVOICERESPONSE"]._serialized_start = 6991
|
|
407
|
+
_globals["_DOWNLOADINVOICERESPONSE"]._serialized_end = 7106
|
|
408
|
+
_globals["_PAYMENT"]._serialized_start = 7109
|
|
409
|
+
_globals["_PAYMENT"]._serialized_end = 10181
|
|
410
410
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
28
|
-
b'\n&weaveapi/payment/v1/subscription.proto\x12\x13weaveapi.payment.v1\x1a
|
|
28
|
+
b'\n&weaveapi/payment/v1/subscription.proto\x12\x13weaveapi.payment.v1\x1a\x1fgoogle/protobuf/timestamp.proto"\xa4\x08\n\x12SubscriptionStatus\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n\x06status\x18\x02 \x01(\tR\x06status\x12\x12\n\x04tier\x18\x03 \x01(\tR\x04tier\x12\x38\n\x04plan\x18\x04 \x01(\x0b\x32 .weaveapi.payment.v1.PricingPlanB\x02(\x01R\x04plan\x12P\n\x14\x63urrent_period_start\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x12\x63urrentPeriodStart\x12L\n\x12\x63urrent_period_end\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x10\x63urrentPeriodEnd\x12;\n\tcancel_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x08\x63\x61ncelAt\x12?\n\x0b\x63\x61nceled_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\ncanceledAt\x12/\n\x14\x63\x61ncel_at_period_end\x18\t \x01(\x08R\x11\x63\x61ncelAtPeriodEnd\x12\\\n\x16\x64\x65\x66\x61ult_payment_method\x18\n \x01(\x0b\x32".weaveapi.payment.v1.PaymentMethodB\x02(\x01R\x14\x64\x65\x66\x61ultPaymentMethod\x12\x1a\n\x08\x63urrency\x18\x0b \x01(\tR\x08\x63urrency\x12!\n\x0c\x61mount_cents\x18\x0c \x01(\x03R\x0b\x61mountCents\x12\x19\n\x08is_trial\x18\r \x01(\x08R\x07isTrial\x12?\n\x0btrial_start\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\ntrialStart\x12;\n\ttrial_end\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x08trialEnd\x12J\n\x0f\x61\x63tive_discount\x18\x10 \x01(\x0b\x32\x1d.weaveapi.payment.v1.DiscountB\x02(\x01R\x0e\x61\x63tiveDiscount\x12=\n\ncreated_at\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tcreatedAt\x12=\n\nupdated_at\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tupdatedAt\x12I\n\x08\x66\x65\x61tures\x18\x13 \x01(\x0b\x32).weaveapi.payment.v1.SubscriptionFeaturesB\x02(\x01R\x08\x66\x65\x61tures"\x9d\x03\n\x0bPricingPlan\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n\nproduct_id\x18\x02 \x01(\tR\tproductId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12!\n\x0c\x61mount_cents\x18\x05 \x01(\x03R\x0b\x61mountCents\x12\x1a\n\x08\x63urrency\x18\x06 \x01(\tR\x08\x63urrency\x12\x1a\n\x08interval\x18\x07 \x01(\tR\x08interval\x12%\n\x0einterval_count\x18\x08 \x01(\x05R\rintervalCount\x12I\n\x08\x66\x65\x61tures\x18\t \x01(\x0b\x32).weaveapi.payment.v1.SubscriptionFeaturesB\x02(\x01R\x08\x66\x65\x61tures\x12\x1d\n\nis_default\x18\n \x01(\x08R\tisDefault\x12\x1d\n\nis_popular\x18\x0b \x01(\x08R\tisPopular\x12\x1e\n\nhighlights\x18\x0c \x03(\tR\nhighlights"\x80\x05\n\x14SubscriptionFeatures\x12\x31\n\x15\x61pi_requests_per_hour\x18\x01 \x01(\x03R\x12\x61piRequestsPerHour\x12/\n\x14\x61pi_requests_per_day\x18\x02 \x01(\x03R\x11\x61piRequestsPerDay\x12\x33\n\x16\x61pi_requests_per_month\x18\x03 \x01(\x03R\x13\x61piRequestsPerMonth\x12-\n\x12unlimited_requests\x18\x04 \x01(\x08R\x11unlimitedRequests\x12$\n\x0e\x61pi_keys_limit\x18\x05 \x01(\x05R\x0c\x61piKeysLimit\x12,\n\x12unlimited_api_keys\x18\x06 \x01(\x08R\x10unlimitedApiKeys\x12%\n\x0ewebhook_access\x18\x07 \x01(\x08R\rwebhookAccess\x12#\n\rexport_access\x18\x08 \x01(\x08R\x0c\x65xportAccess\x12)\n\x10priority_support\x18\t \x01(\x08R\x0fprioritySupport\x12#\n\rcustom_limits\x18\n \x01(\x08R\x0c\x63ustomLimits\x12\x1f\n\x0bteam_access\x18\x0b \x01(\x08R\nteamAccess\x12,\n\x12team_members_limit\x18\x0c \x01(\x05R\x10teamMembersLimit\x12\x1d\n\nsso_access\x18\r \x01(\x08R\tssoAccess\x12\x1d\n\naudit_logs\x18\x0e \x01(\x08R\tauditLogs\x12#\n\rsla_guarantee\x18\x0f \x01(\x08R\x0cslaGuarantee"\xd7\x02\n\rPaymentMethod\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04type\x18\x02 \x01(\tR\x04type\x12\x1d\n\nis_default\x18\x03 \x01(\x08R\tisDefault\x12\x38\n\x04\x63\x61rd\x18\x04 \x01(\x0b\x32 .weaveapi.payment.v1.CardDetailsB\x02(\x01R\x04\x63\x61rd\x12\x38\n\x04\x62\x61nk\x18\x05 \x01(\x0b\x32 .weaveapi.payment.v1.BankDetailsB\x02(\x01R\x04\x62\x61nk\x12P\n\x0f\x62illing_details\x18\x06 \x01(\x0b\x32#.weaveapi.payment.v1.BillingDetailsB\x02(\x01R\x0e\x62illingDetails\x12=\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tcreatedAt"\xc7\x01\n\x0b\x43\x61rdDetails\x12\x14\n\x05\x62rand\x18\x01 \x01(\tR\x05\x62rand\x12\x14\n\x05last4\x18\x02 \x01(\tR\x05last4\x12\x1b\n\texp_month\x18\x03 \x01(\x05R\x08\x65xpMonth\x12\x19\n\x08\x65xp_year\x18\x04 \x01(\x05R\x07\x65xpYear\x12\x18\n\x07\x66unding\x18\x05 \x01(\tR\x07\x66unding\x12\x18\n\x07\x63ountry\x18\x06 \x01(\tR\x07\x63ountry\x12 \n\x0b\x66ingerprint\x18\x07 \x01(\tR\x0b\x66ingerprint"\x99\x01\n\x0b\x42\x61nkDetails\x12\x1b\n\tbank_name\x18\x01 \x01(\tR\x08\x62\x61nkName\x12\x14\n\x05last4\x18\x02 \x01(\tR\x05last4\x12!\n\x0c\x61\x63\x63ount_type\x18\x03 \x01(\tR\x0b\x61\x63\x63ountType\x12\x18\n\x07\x63ountry\x18\x04 \x01(\tR\x07\x63ountry\x12\x1a\n\x08\x63urrency\x18\x05 \x01(\tR\x08\x63urrency"\x8c\x01\n\x0e\x42illingDetails\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x14\n\x05phone\x18\x03 \x01(\tR\x05phone\x12:\n\x07\x61\x64\x64ress\x18\x04 \x01(\x0b\x32\x1c.weaveapi.payment.v1.AddressB\x02(\x01R\x07\x61\x64\x64ress"\x9a\x01\n\x07\x41\x64\x64ress\x12\x14\n\x05line1\x18\x01 \x01(\tR\x05line1\x12\x14\n\x05line2\x18\x02 \x01(\tR\x05line2\x12\x12\n\x04\x63ity\x18\x03 \x01(\tR\x04\x63ity\x12\x14\n\x05state\x18\x04 \x01(\tR\x05state\x12\x1f\n\x0bpostal_code\x18\x05 \x01(\tR\npostalCode\x12\x18\n\x07\x63ountry\x18\x06 \x01(\tR\x07\x63ountry"\xd7\x02\n\x08\x44iscount\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\x12\x1f\n\x0bpercent_off\x18\x04 \x01(\x01R\npercentOff\x12(\n\x10\x61mount_off_cents\x18\x05 \x01(\x03R\x0e\x61mountOffCents\x12\x1a\n\x08\x64uration\x18\x06 \x01(\tR\x08\x64uration\x12,\n\x12\x64uration_in_months\x18\x07 \x01(\x05R\x10\x64urationInMonths\x12?\n\x0bvalid_until\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\nvalidUntil\x12=\n\napplied_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tappliedAtB\xd6\x01\n\x17\x63om.weaveapi.payment.v1B\x11SubscriptionProtoP\x01Z:github.com/weave-labs/weave-go/weaveapi/payment/v1;payment\xa2\x02\x03WPX\xaa\x02\x13Weaveapi.Payment.V1\xca\x02\x13Weaveapi\\Payment\\V1\xe2\x02\x1fWeaveapi\\Payment\\V1\\GPBMetadata\xea\x02\x15Weaveapi::Payment::V1b\x08\x65\x64itionsp\xe8\x07'
|
|
29
29
|
)
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
@@ -37,7 +37,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
37
37
|
_globals["DESCRIPTOR"]._loaded_options = None
|
|
38
38
|
_globals[
|
|
39
39
|
"DESCRIPTOR"
|
|
40
|
-
]._serialized_options = b"\n\027com.weaveapi.payment.v1B\021SubscriptionProtoP\001Z:github.com/weave-labs/weave-go/weaveapi/payment/v1;payment\242\002\003WPX\252\002\023Weaveapi.Payment.V1\312\002\023Weaveapi\\Payment\\V1\342\002\037Weaveapi\\Payment\\V1\\GPBMetadata\352\002\025Weaveapi::Payment::V1
|
|
40
|
+
]._serialized_options = b"\n\027com.weaveapi.payment.v1B\021SubscriptionProtoP\001Z:github.com/weave-labs/weave-go/weaveapi/payment/v1;payment\242\002\003WPX\252\002\023Weaveapi.Payment.V1\312\002\023Weaveapi\\Payment\\V1\342\002\037Weaveapi\\Payment\\V1\\GPBMetadata\352\002\025Weaveapi::Payment::V1"
|
|
41
41
|
_globals["_SUBSCRIPTIONSTATUS"].fields_by_name["plan"]._loaded_options = None
|
|
42
42
|
_globals["_SUBSCRIPTIONSTATUS"].fields_by_name[
|
|
43
43
|
"plan"
|
|
@@ -114,22 +114,22 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
114
114
|
_globals["_DISCOUNT"].fields_by_name["valid_until"]._serialized_options = b"(\001"
|
|
115
115
|
_globals["_DISCOUNT"].fields_by_name["applied_at"]._loaded_options = None
|
|
116
116
|
_globals["_DISCOUNT"].fields_by_name["applied_at"]._serialized_options = b"(\001"
|
|
117
|
-
_globals["_SUBSCRIPTIONSTATUS"]._serialized_start =
|
|
118
|
-
_globals["_SUBSCRIPTIONSTATUS"]._serialized_end =
|
|
119
|
-
_globals["_PRICINGPLAN"]._serialized_start =
|
|
120
|
-
_globals["_PRICINGPLAN"]._serialized_end =
|
|
121
|
-
_globals["_SUBSCRIPTIONFEATURES"]._serialized_start =
|
|
122
|
-
_globals["_SUBSCRIPTIONFEATURES"]._serialized_end =
|
|
123
|
-
_globals["_PAYMENTMETHOD"]._serialized_start =
|
|
124
|
-
_globals["_PAYMENTMETHOD"]._serialized_end =
|
|
125
|
-
_globals["_CARDDETAILS"]._serialized_start =
|
|
126
|
-
_globals["_CARDDETAILS"]._serialized_end =
|
|
127
|
-
_globals["_BANKDETAILS"]._serialized_start =
|
|
128
|
-
_globals["_BANKDETAILS"]._serialized_end =
|
|
129
|
-
_globals["_BILLINGDETAILS"]._serialized_start =
|
|
130
|
-
_globals["_BILLINGDETAILS"]._serialized_end =
|
|
131
|
-
_globals["_ADDRESS"]._serialized_start =
|
|
132
|
-
_globals["_ADDRESS"]._serialized_end =
|
|
133
|
-
_globals["_DISCOUNT"]._serialized_start =
|
|
134
|
-
_globals["_DISCOUNT"]._serialized_end =
|
|
117
|
+
_globals["_SUBSCRIPTIONSTATUS"]._serialized_start = 97
|
|
118
|
+
_globals["_SUBSCRIPTIONSTATUS"]._serialized_end = 1157
|
|
119
|
+
_globals["_PRICINGPLAN"]._serialized_start = 1160
|
|
120
|
+
_globals["_PRICINGPLAN"]._serialized_end = 1573
|
|
121
|
+
_globals["_SUBSCRIPTIONFEATURES"]._serialized_start = 1576
|
|
122
|
+
_globals["_SUBSCRIPTIONFEATURES"]._serialized_end = 2216
|
|
123
|
+
_globals["_PAYMENTMETHOD"]._serialized_start = 2219
|
|
124
|
+
_globals["_PAYMENTMETHOD"]._serialized_end = 2562
|
|
125
|
+
_globals["_CARDDETAILS"]._serialized_start = 2565
|
|
126
|
+
_globals["_CARDDETAILS"]._serialized_end = 2764
|
|
127
|
+
_globals["_BANKDETAILS"]._serialized_start = 2767
|
|
128
|
+
_globals["_BANKDETAILS"]._serialized_end = 2920
|
|
129
|
+
_globals["_BILLINGDETAILS"]._serialized_start = 2923
|
|
130
|
+
_globals["_BILLINGDETAILS"]._serialized_end = 3063
|
|
131
|
+
_globals["_ADDRESS"]._serialized_start = 3066
|
|
132
|
+
_globals["_ADDRESS"]._serialized_end = 3220
|
|
133
|
+
_globals["_DISCOUNT"]._serialized_start = 3223
|
|
134
|
+
_globals["_DISCOUNT"]._serialized_end = 3566
|
|
135
135
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -20,7 +20,7 @@ _sym_db = _symbol_database.Default()
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
23
|
-
b'\n\x1eweaveapi/storage/v1/auth.proto\x12\x13weaveapi.storage.v1
|
|
23
|
+
b'\n\x1eweaveapi/storage/v1/auth.proto\x12\x13weaveapi.storage.v1"\x85\x01\n\x0e\x41wsCredentials\x12"\n\raccess_key_id\x18\x01 \x01(\tR\x0b\x61\x63\x63\x65ssKeyId\x12*\n\x11secret_access_key\x18\x02 \x01(\tR\x0fsecretAccessKey\x12#\n\rsession_token\x18\x03 \x01(\tR\x0csessionTokenB\xce\x01\n\x17\x63om.weaveapi.storage.v1B\tAuthProtoP\x01Z:github.com/weave-labs/weave-go/weaveapi/storage/v1;storage\xa2\x02\x03WSX\xaa\x02\x13Weaveapi.Storage.V1\xca\x02\x13Weaveapi\\Storage\\V1\xe2\x02\x1fWeaveapi\\Storage\\V1\\GPBMetadata\xea\x02\x15Weaveapi::Storage::V1b\x08\x65\x64itionsp\xe8\x07'
|
|
24
24
|
)
|
|
25
25
|
|
|
26
26
|
_globals = globals()
|
|
@@ -32,7 +32,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
32
32
|
_globals["DESCRIPTOR"]._loaded_options = None
|
|
33
33
|
_globals[
|
|
34
34
|
"DESCRIPTOR"
|
|
35
|
-
]._serialized_options = b"\n\027com.weaveapi.storage.v1B\tAuthProtoP\001Z:github.com/weave-labs/weave-go/weaveapi/storage/v1;storage\242\002\003WSX\252\002\023Weaveapi.Storage.V1\312\002\023Weaveapi\\Storage\\V1\342\002\037Weaveapi\\Storage\\V1\\GPBMetadata\352\002\025Weaveapi::Storage::V1
|
|
36
|
-
_globals["_AWSCREDENTIALS"]._serialized_start =
|
|
37
|
-
_globals["_AWSCREDENTIALS"]._serialized_end =
|
|
35
|
+
]._serialized_options = b"\n\027com.weaveapi.storage.v1B\tAuthProtoP\001Z:github.com/weave-labs/weave-go/weaveapi/storage/v1;storage\242\002\003WSX\252\002\023Weaveapi.Storage.V1\312\002\023Weaveapi\\Storage\\V1\342\002\037Weaveapi\\Storage\\V1\\GPBMetadata\352\002\025Weaveapi::Storage::V1"
|
|
36
|
+
_globals["_AWSCREDENTIALS"]._serialized_start = 56
|
|
37
|
+
_globals["_AWSCREDENTIALS"]._serialized_end = 189
|
|
38
38
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
28
|
-
b'\n(weaveapi/storage/v1/nosql_database.proto\x12\x13weaveapi.storage.v1\x1a
|
|
28
|
+
b'\n(weaveapi/storage/v1/nosql_database.proto\x12\x13weaveapi.storage.v1\x1a\x1eweaveapi/storage/v1/auth.proto"\xb0\x04\n\rNoSqlDatabase\x12\x42\n\tcassandra\x18\x01 \x01(\x0b\x32\x1e.weaveapi.storage.v1.CassandraB\x02(\x01H\x00R\tcassandra\x12<\n\x07mongodb\x18\x02 \x01(\x0b\x32\x1c.weaveapi.storage.v1.MongoDBB\x02(\x01H\x00R\x07mongodb\x12?\n\x08\x64ynamodb\x18\x03 \x01(\x0b\x32\x1d.weaveapi.storage.v1.DynamoDBB\x02(\x01H\x00R\x08\x64ynamodb\x12?\n\x08\x63osmosdb\x18\x04 \x01(\x0b\x32\x1d.weaveapi.storage.v1.CosmosDBB\x02(\x01H\x00R\x08\x63osmosdb\x12\x36\n\x05redis\x18\x05 \x01(\x0b\x32\x1a.weaveapi.storage.v1.RedisB\x02(\x01H\x00R\x05redis\x12\x39\n\x06valkey\x18\x06 \x01(\x0b\x32\x1b.weaveapi.storage.v1.ValkeyB\x02(\x01H\x00R\x06valkey\x12N\n\relasticsearch\x18\x07 \x01(\x0b\x32".weaveapi.storage.v1.ElasticsearchB\x02(\x01H\x00R\relasticsearch\x12\x46\n\x0bopen_search\x18\x08 \x01(\x0b\x32\x1f.weaveapi.storage.v1.OpenSearchB\x02(\x01H\x00R\nopenSearchB\x10\n\x0enosql_database"\xe6\x01\n\tCassandra\x12%\n\x0e\x63ontact_points\x18\x01 \x01(\tR\rcontactPoints\x12\x12\n\x04port\x18\x02 \x01(\x05R\x04port\x12\x1a\n\x08keyspace\x18\x03 \x01(\tR\x08keyspace\x12\x1a\n\x08username\x18\x04 \x01(\tR\x08username\x12\x1a\n\x08password\x18\x05 \x01(\tR\x08password\x12\x1f\n\x0bssl_enabled\x18\x06 \x01(\x08R\nsslEnabled\x12)\n\x10local_datacenter\x18\x07 \x01(\tR\x0flocalDatacenter"r\n\x07MongoDB\x12+\n\x11\x63onnection_string\x18\x01 \x01(\tR\x10\x63onnectionString\x12\x1a\n\x08\x64\x61tabase\x18\x02 \x01(\tR\x08\x64\x61tabase\x12\x1e\n\ncollection\x18\x03 \x01(\tR\ncollection"\xc1\x01\n\x08\x44ynamoDB\x12\x16\n\x06region\x18\x01 \x01(\tR\x06region\x12\x14\n\x05table\x18\x02 \x01(\tR\x05table\x12K\n\x0b\x63redentials\x18\n \x01(\x0b\x32#.weaveapi.storage.v1.AwsCredentialsB\x02(\x01H\x00R\x0b\x63redentials\x12\x32\n\x14use_instance_profile\x18\x0b \x01(\x08H\x00R\x12useInstanceProfileB\x06\n\x04\x61uth"r\n\x08\x43osmosDB\x12\x1a\n\x08\x65ndpoint\x18\x01 \x01(\tR\x08\x65ndpoint\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\x12\x1a\n\x08\x64\x61tabase\x18\x03 \x01(\tR\x08\x64\x61tabase\x12\x1c\n\tcontainer\x18\x04 \x01(\tR\tcontainer"i\n\x05Redis\x12\x14\n\x05hosts\x18\x01 \x03(\tR\x05hosts\x12\x12\n\x04port\x18\x02 \x01(\x05R\x04port\x12\x1a\n\x08username\x18\x03 \x01(\tR\x08username\x12\x1a\n\x08password\x18\x04 \x01(\tR\x08password"j\n\x06Valkey\x12\x14\n\x05hosts\x18\x01 \x03(\tR\x05hosts\x12\x12\n\x04port\x18\x02 \x01(\x05R\x04port\x12\x1a\n\x08username\x18\x03 \x01(\tR\x08username\x12\x1a\n\x08password\x18\x04 \x01(\tR\x08password"s\n\rElasticsearch\x12\x14\n\x05hosts\x18\x01 \x01(\tR\x05hosts\x12\x14\n\x05index\x18\x02 \x01(\tR\x05index\x12\x1a\n\x08username\x18\x03 \x01(\tR\x08username\x12\x1a\n\x08password\x18\x04 \x01(\tR\x08password"p\n\nOpenSearch\x12\x14\n\x05hosts\x18\x01 \x01(\tR\x05hosts\x12\x14\n\x05index\x18\x02 \x01(\tR\x05index\x12\x1a\n\x08username\x18\x03 \x01(\tR\x08username\x12\x1a\n\x08password\x18\x04 \x01(\tR\x08passwordB\xd7\x01\n\x17\x63om.weaveapi.storage.v1B\x12NosqlDatabaseProtoP\x01Z:github.com/weave-labs/weave-go/weaveapi/storage/v1;storage\xa2\x02\x03WSX\xaa\x02\x13Weaveapi.Storage.V1\xca\x02\x13Weaveapi\\Storage\\V1\xe2\x02\x1fWeaveapi\\Storage\\V1\\GPBMetadata\xea\x02\x15Weaveapi::Storage::V1b\x08\x65\x64itionsp\xe8\x07'
|
|
29
29
|
)
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
@@ -37,7 +37,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
37
37
|
_globals["DESCRIPTOR"]._loaded_options = None
|
|
38
38
|
_globals[
|
|
39
39
|
"DESCRIPTOR"
|
|
40
|
-
]._serialized_options = b"\n\027com.weaveapi.storage.v1B\022NosqlDatabaseProtoP\001Z:github.com/weave-labs/weave-go/weaveapi/storage/v1;storage\242\002\003WSX\252\002\023Weaveapi.Storage.V1\312\002\023Weaveapi\\Storage\\V1\342\002\037Weaveapi\\Storage\\V1\\GPBMetadata\352\002\025Weaveapi::Storage::V1
|
|
40
|
+
]._serialized_options = b"\n\027com.weaveapi.storage.v1B\022NosqlDatabaseProtoP\001Z:github.com/weave-labs/weave-go/weaveapi/storage/v1;storage\242\002\003WSX\252\002\023Weaveapi.Storage.V1\312\002\023Weaveapi\\Storage\\V1\342\002\037Weaveapi\\Storage\\V1\\GPBMetadata\352\002\025Weaveapi::Storage::V1"
|
|
41
41
|
_globals["_NOSQLDATABASE"].fields_by_name["cassandra"]._loaded_options = None
|
|
42
42
|
_globals["_NOSQLDATABASE"].fields_by_name[
|
|
43
43
|
"cassandra"
|
|
@@ -62,22 +62,22 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
62
62
|
]._serialized_options = b"(\001"
|
|
63
63
|
_globals["_DYNAMODB"].fields_by_name["credentials"]._loaded_options = None
|
|
64
64
|
_globals["_DYNAMODB"].fields_by_name["credentials"]._serialized_options = b"(\001"
|
|
65
|
-
_globals["_NOSQLDATABASE"]._serialized_start =
|
|
66
|
-
_globals["_NOSQLDATABASE"]._serialized_end =
|
|
67
|
-
_globals["_CASSANDRA"]._serialized_start =
|
|
68
|
-
_globals["_CASSANDRA"]._serialized_end =
|
|
69
|
-
_globals["_MONGODB"]._serialized_start =
|
|
70
|
-
_globals["_MONGODB"]._serialized_end =
|
|
71
|
-
_globals["_DYNAMODB"]._serialized_start =
|
|
72
|
-
_globals["_DYNAMODB"]._serialized_end =
|
|
73
|
-
_globals["_COSMOSDB"]._serialized_start =
|
|
74
|
-
_globals["_COSMOSDB"]._serialized_end =
|
|
75
|
-
_globals["_REDIS"]._serialized_start =
|
|
76
|
-
_globals["_REDIS"]._serialized_end =
|
|
77
|
-
_globals["_VALKEY"]._serialized_start =
|
|
78
|
-
_globals["_VALKEY"]._serialized_end =
|
|
79
|
-
_globals["_ELASTICSEARCH"]._serialized_start =
|
|
80
|
-
_globals["_ELASTICSEARCH"]._serialized_end =
|
|
81
|
-
_globals["_OPENSEARCH"]._serialized_start =
|
|
82
|
-
_globals["_OPENSEARCH"]._serialized_end =
|
|
65
|
+
_globals["_NOSQLDATABASE"]._serialized_start = 98
|
|
66
|
+
_globals["_NOSQLDATABASE"]._serialized_end = 658
|
|
67
|
+
_globals["_CASSANDRA"]._serialized_start = 661
|
|
68
|
+
_globals["_CASSANDRA"]._serialized_end = 891
|
|
69
|
+
_globals["_MONGODB"]._serialized_start = 893
|
|
70
|
+
_globals["_MONGODB"]._serialized_end = 1007
|
|
71
|
+
_globals["_DYNAMODB"]._serialized_start = 1010
|
|
72
|
+
_globals["_DYNAMODB"]._serialized_end = 1203
|
|
73
|
+
_globals["_COSMOSDB"]._serialized_start = 1205
|
|
74
|
+
_globals["_COSMOSDB"]._serialized_end = 1319
|
|
75
|
+
_globals["_REDIS"]._serialized_start = 1321
|
|
76
|
+
_globals["_REDIS"]._serialized_end = 1426
|
|
77
|
+
_globals["_VALKEY"]._serialized_start = 1428
|
|
78
|
+
_globals["_VALKEY"]._serialized_end = 1534
|
|
79
|
+
_globals["_ELASTICSEARCH"]._serialized_start = 1536
|
|
80
|
+
_globals["_ELASTICSEARCH"]._serialized_end = 1651
|
|
81
|
+
_globals["_OPENSEARCH"]._serialized_start = 1653
|
|
82
|
+
_globals["_OPENSEARCH"]._serialized_end = 1765
|
|
83
83
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
28
|
-
b'\n&weaveapi/storage/v1/object_store.proto\x12\x13weaveapi.storage.v1\x1a
|
|
28
|
+
b'\n&weaveapi/storage/v1/object_store.proto\x12\x13weaveapi.storage.v1\x1a\x1eweaveapi/storage/v1/auth.proto"\x92\x02\n\x0bObjectStore\x12\x37\n\x06\x61ws_s3\x18\x01 \x01(\x0b\x32\x1a.weaveapi.storage.v1.AwsS3B\x02(\x01H\x00R\x05\x61wsS3\x12Y\n\x12\x61zure_blob_storage\x18\x02 \x01(\x0b\x32%.weaveapi.storage.v1.AzureBlobStorageB\x02(\x01H\x00R\x10\x61zureBlobStorage\x12_\n\x14google_cloud_storage\x18\x03 \x01(\x0b\x32\'.weaveapi.storage.v1.GoogleCloudStorageB\x02(\x01H\x00R\x12googleCloudStorageB\x0e\n\x0cobject_store"\xc0\x01\n\x05\x41wsS3\x12\x16\n\x06\x62ucket\x18\x01 \x01(\tR\x06\x62ucket\x12\x16\n\x06region\x18\x02 \x01(\tR\x06region\x12K\n\x0b\x63redentials\x18\n \x01(\x0b\x32#.weaveapi.storage.v1.AwsCredentialsB\x02(\x01H\x00R\x0b\x63redentials\x12\x32\n\x14use_instance_profile\x18\x0b \x01(\x08H\x00R\x12useInstanceProfileB\x06\n\x04\x61uth"\xd1\x01\n\x10\x41zureBlobStorage\x12\x1c\n\tcontainer\x18\x01 \x01(\tR\tcontainer\x12!\n\x0c\x61\x63\x63ount_name\x18\x02 \x01(\tR\x0b\x61\x63\x63ountName\x12\x1d\n\tsas_token\x18\n \x01(\tH\x00R\x08sasToken\x12!\n\x0b\x61\x63\x63ount_key\x18\x0b \x01(\tH\x00R\naccountKey\x12\x32\n\x14use_managed_identity\x18\x0c \x01(\x08H\x00R\x12useManagedIdentityB\x06\n\x04\x61uth"\xa2\x01\n\x12GoogleCloudStorage\x12\x16\n\x06\x62ucket\x18\x01 \x01(\tR\x06\x62ucket\x12\x32\n\x14service_account_json\x18\n \x01(\tH\x00R\x12serviceAccountJson\x12\x38\n\x17use_application_default\x18\x0b \x01(\x08H\x00R\x15useApplicationDefaultB\x06\n\x04\x61uthB\xd5\x01\n\x17\x63om.weaveapi.storage.v1B\x10ObjectStoreProtoP\x01Z:github.com/weave-labs/weave-go/weaveapi/storage/v1;storage\xa2\x02\x03WSX\xaa\x02\x13Weaveapi.Storage.V1\xca\x02\x13Weaveapi\\Storage\\V1\xe2\x02\x1fWeaveapi\\Storage\\V1\\GPBMetadata\xea\x02\x15Weaveapi::Storage::V1b\x08\x65\x64itionsp\xe8\x07'
|
|
29
29
|
)
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
@@ -37,7 +37,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
37
37
|
_globals["DESCRIPTOR"]._loaded_options = None
|
|
38
38
|
_globals[
|
|
39
39
|
"DESCRIPTOR"
|
|
40
|
-
]._serialized_options = b"\n\027com.weaveapi.storage.v1B\020ObjectStoreProtoP\001Z:github.com/weave-labs/weave-go/weaveapi/storage/v1;storage\242\002\003WSX\252\002\023Weaveapi.Storage.V1\312\002\023Weaveapi\\Storage\\V1\342\002\037Weaveapi\\Storage\\V1\\GPBMetadata\352\002\025Weaveapi::Storage::V1
|
|
40
|
+
]._serialized_options = b"\n\027com.weaveapi.storage.v1B\020ObjectStoreProtoP\001Z:github.com/weave-labs/weave-go/weaveapi/storage/v1;storage\242\002\003WSX\252\002\023Weaveapi.Storage.V1\312\002\023Weaveapi\\Storage\\V1\342\002\037Weaveapi\\Storage\\V1\\GPBMetadata\352\002\025Weaveapi::Storage::V1"
|
|
41
41
|
_globals["_OBJECTSTORE"].fields_by_name["aws_s3"]._loaded_options = None
|
|
42
42
|
_globals["_OBJECTSTORE"].fields_by_name["aws_s3"]._serialized_options = b"(\001"
|
|
43
43
|
_globals["_OBJECTSTORE"].fields_by_name["azure_blob_storage"]._loaded_options = None
|
|
@@ -52,12 +52,12 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
52
52
|
]._serialized_options = b"(\001"
|
|
53
53
|
_globals["_AWSS3"].fields_by_name["credentials"]._loaded_options = None
|
|
54
54
|
_globals["_AWSS3"].fields_by_name["credentials"]._serialized_options = b"(\001"
|
|
55
|
-
_globals["_OBJECTSTORE"]._serialized_start =
|
|
56
|
-
_globals["_OBJECTSTORE"]._serialized_end =
|
|
57
|
-
_globals["_AWSS3"]._serialized_start =
|
|
58
|
-
_globals["_AWSS3"]._serialized_end =
|
|
59
|
-
_globals["_AZUREBLOBSTORAGE"]._serialized_start =
|
|
60
|
-
_globals["_AZUREBLOBSTORAGE"]._serialized_end =
|
|
61
|
-
_globals["_GOOGLECLOUDSTORAGE"]._serialized_start =
|
|
62
|
-
_globals["_GOOGLECLOUDSTORAGE"]._serialized_end =
|
|
55
|
+
_globals["_OBJECTSTORE"]._serialized_start = 96
|
|
56
|
+
_globals["_OBJECTSTORE"]._serialized_end = 370
|
|
57
|
+
_globals["_AWSS3"]._serialized_start = 373
|
|
58
|
+
_globals["_AWSS3"]._serialized_end = 565
|
|
59
|
+
_globals["_AZUREBLOBSTORAGE"]._serialized_start = 568
|
|
60
|
+
_globals["_AZUREBLOBSTORAGE"]._serialized_end = 777
|
|
61
|
+
_globals["_GOOGLECLOUDSTORAGE"]._serialized_start = 780
|
|
62
|
+
_globals["_GOOGLECLOUDSTORAGE"]._serialized_end = 942
|
|
63
63
|
# @@protoc_insertion_point(module_scope)
|