weave-python 0.28.2__py3-none-any.whl → 0.30.3__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.
Files changed (104) hide show
  1. weave/weaveapi/auth/v1/service_pb2.py +194 -98
  2. weave/weaveapi/auth/v1/service_pb2.pyi +1288 -1134
  3. weave/weaveapi/auth/v1/service_pb2_grpc.pyi +248 -335
  4. weave/weaveapi/auth/v1/session_pb2.py +14 -6
  5. weave/weaveapi/auth/v1/session_pb2.pyi +109 -89
  6. weave/weaveapi/auth/v1/session_pb2_grpc.pyi +11 -10
  7. weave/weaveapi/auth/v1/usage_pb2.py +18 -14
  8. weave/weaveapi/auth/v1/usage_pb2.pyi +251 -197
  9. weave/weaveapi/auth/v1/usage_pb2_grpc.pyi +11 -10
  10. weave/weaveapi/auth/v1/user_pb2.py +60 -18
  11. weave/weaveapi/auth/v1/user_pb2.pyi +588 -505
  12. weave/weaveapi/auth/v1/user_pb2_grpc.pyi +11 -10
  13. weave/weaveapi/generate/v1/configuration_pb2.py +31 -19
  14. weave/weaveapi/generate/v1/configuration_pb2.pyi +277 -241
  15. weave/weaveapi/generate/v1/configuration_pb2_grpc.pyi +11 -10
  16. weave/weaveapi/generate/v1/generate_pb2.py +32 -6
  17. weave/weaveapi/generate/v1/generate_pb2.pyi +138 -40
  18. weave/weaveapi/generate/v1/generate_pb2_grpc.pyi +11 -10
  19. weave/weaveapi/generate/v1/service_pb2.py +52 -22
  20. weave/weaveapi/generate/v1/service_pb2.pyi +264 -135
  21. weave/weaveapi/generate/v1/service_pb2_grpc.py +47 -0
  22. weave/weaveapi/generate/v1/service_pb2_grpc.pyi +89 -78
  23. weave/weaveapi/llmx/v1/architecture_pb2.py +42 -42
  24. weave/weaveapi/llmx/v1/architecture_pb2.pyi +664 -555
  25. weave/weaveapi/llmx/v1/architecture_pb2_grpc.pyi +11 -10
  26. weave/weaveapi/llmx/v1/capabilities_pb2.py +88 -56
  27. weave/weaveapi/llmx/v1/capabilities_pb2.pyi +967 -852
  28. weave/weaveapi/llmx/v1/capabilities_pb2_grpc.pyi +11 -10
  29. weave/weaveapi/llmx/v1/model_pb2.py +56 -20
  30. weave/weaveapi/llmx/v1/model_pb2.pyi +533 -455
  31. weave/weaveapi/llmx/v1/model_pb2_grpc.pyi +11 -10
  32. weave/weaveapi/llmx/v1/pricing_pb2.py +24 -20
  33. weave/weaveapi/llmx/v1/pricing_pb2.pyi +194 -172
  34. weave/weaveapi/llmx/v1/pricing_pb2_grpc.pyi +11 -10
  35. weave/weaveapi/llmx/v1/provider_pb2.py +6 -6
  36. weave/weaveapi/llmx/v1/provider_pb2.pyi +84 -59
  37. weave/weaveapi/llmx/v1/provider_pb2_grpc.pyi +11 -10
  38. weave/weaveapi/llmx/v1/service_pb2.py +228 -90
  39. weave/weaveapi/llmx/v1/service_pb2.pyi +1651 -1403
  40. weave/weaveapi/llmx/v1/service_pb2_grpc.pyi +160 -203
  41. weave/weaveapi/mcpregistry/v1/server_pb2.py +16 -10
  42. weave/weaveapi/mcpregistry/v1/server_pb2.pyi +143 -121
  43. weave/weaveapi/mcpregistry/v1/server_pb2_grpc.pyi +11 -10
  44. weave/weaveapi/mcpregistry/v1/service_pb2.py +51 -31
  45. weave/weaveapi/mcpregistry/v1/service_pb2.pyi +132 -122
  46. weave/weaveapi/mcpregistry/v1/service_pb2_grpc.pyi +87 -112
  47. weave/weaveapi/payment/v1/invoice_pb2.py +38 -12
  48. weave/weaveapi/payment/v1/invoice_pb2.pyi +352 -291
  49. weave/weaveapi/payment/v1/invoice_pb2_grpc.pyi +11 -10
  50. weave/weaveapi/payment/v1/service_pb2.py +264 -98
  51. weave/weaveapi/payment/v1/service_pb2.pyi +1381 -1242
  52. weave/weaveapi/payment/v1/service_pb2_grpc.pyi +229 -319
  53. weave/weaveapi/payment/v1/subscription_pb2.py +99 -23
  54. weave/weaveapi/payment/v1/subscription_pb2.pyi +727 -611
  55. weave/weaveapi/payment/v1/subscription_pb2_grpc.pyi +11 -10
  56. weave/weaveapi/storage/v1/auth_pb2.py +6 -6
  57. weave/weaveapi/storage/v1/auth_pb2.pyi +42 -29
  58. weave/weaveapi/storage/v1/auth_pb2_grpc.pyi +11 -10
  59. weave/weaveapi/storage/v1/nosql_database_pb2.py +47 -23
  60. weave/weaveapi/storage/v1/nosql_database_pb2.pyi +438 -372
  61. weave/weaveapi/storage/v1/nosql_database_pb2_grpc.pyi +11 -10
  62. weave/weaveapi/storage/v1/object_store_pb2.py +27 -13
  63. weave/weaveapi/storage/v1/object_store_pb2.pyi +203 -187
  64. weave/weaveapi/storage/v1/object_store_pb2_grpc.pyi +11 -10
  65. weave/weaveapi/storage/v1/service_pb2.py +96 -36
  66. weave/weaveapi/storage/v1/service_pb2.pyi +414 -357
  67. weave/weaveapi/storage/v1/service_pb2_grpc.pyi +88 -107
  68. weave/weaveapi/storage/v1/sql_database_pb2.py +39 -23
  69. weave/weaveapi/storage/v1/sql_database_pb2.pyi +481 -400
  70. weave/weaveapi/storage/v1/sql_database_pb2_grpc.pyi +11 -10
  71. weave/weaveapi/storage/v1/storage_pb2.py +20 -6
  72. weave/weaveapi/storage/v1/storage_pb2.pyi +79 -70
  73. weave/weaveapi/storage/v1/storage_pb2_grpc.pyi +11 -10
  74. weave/weaveapi/synthesize/v1/dataset_pb2.py +14 -12
  75. weave/weaveapi/synthesize/v1/dataset_pb2.pyi +158 -128
  76. weave/weaveapi/synthesize/v1/dataset_pb2_grpc.pyi +11 -10
  77. weave/weaveapi/synthesize/v1/inline_data_pb2.py +9 -9
  78. weave/weaveapi/synthesize/v1/inline_data_pb2.pyi +31 -27
  79. weave/weaveapi/synthesize/v1/inline_data_pb2_grpc.pyi +11 -10
  80. weave/weaveapi/synthesize/v1/relationship_pb2.py +19 -11
  81. weave/weaveapi/synthesize/v1/relationship_pb2.pyi +67 -64
  82. weave/weaveapi/synthesize/v1/relationship_pb2_grpc.pyi +11 -10
  83. weave/weaveapi/synthesize/v1/service_pb2.py +42 -24
  84. weave/weaveapi/synthesize/v1/service_pb2.pyi +202 -168
  85. weave/weaveapi/synthesize/v1/service_pb2_grpc.pyi +67 -79
  86. weave/weaveapi/synthesize/v1/training_pb2.py +19 -13
  87. weave/weaveapi/synthesize/v1/training_pb2.pyi +119 -106
  88. weave/weaveapi/synthesize/v1/training_pb2_grpc.pyi +11 -10
  89. weave/weavesql/llmxdb/capabilities.py +487 -0
  90. weave/weavesql/llmxdb/changes.py +297 -0
  91. weave/weavesql/llmxdb/models.py +594 -0
  92. weave/weavesql/llmxdb/providers.py +348 -0
  93. weave/weavesql/llmxdb/scraper_runs.py +287 -0
  94. weave/weavesql/llmxdb/search.py +721 -0
  95. weave/weavesql/weavedb/dataset.py +75 -0
  96. weave/weavesql/weavedb/models.py +135 -0
  97. weave/weavesql/weavedb/relationships.py +72 -0
  98. weave/weavesql/weavedb/storage.py +113 -0
  99. weave/weavesql/weavedb/synthesizer.py +107 -0
  100. {weave_python-0.28.2.dist-info → weave_python-0.30.3.dist-info}/METADATA +3 -3
  101. weave_python-0.30.3.dist-info/RECORD +131 -0
  102. {weave_python-0.28.2.dist-info → weave_python-0.30.3.dist-info}/WHEEL +1 -1
  103. weave_python-0.28.2.dist-info/RECORD +0 -120
  104. {weave_python-0.28.2.dist-info → weave_python-0.30.3.dist-info}/licenses/LICENSE +0 -0
@@ -3,18 +3,19 @@
3
3
  isort:skip_file
4
4
  """
5
5
 
6
- import abc
7
- import collections.abc
8
- import grpc
9
- import grpc.aio
10
- import typing
6
+ from collections import abc as _abc
7
+ from grpc import aio as _aio
8
+ import abc as _abc_1
9
+ import grpc as _grpc
10
+ import typing as _typing
11
11
 
12
- _T = typing.TypeVar("_T")
12
+ _T = _typing.TypeVar("_T")
13
13
 
14
14
  class _MaybeAsyncIterator(
15
- collections.abc.AsyncIterator[_T],
16
- collections.abc.Iterator[_T],
17
- metaclass=abc.ABCMeta,
15
+ _abc.AsyncIterator[_T], _abc.Iterator[_T], metaclass=_abc_1.ABCMeta
18
16
  ): ...
19
- class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ class _ServicerContext(_grpc.ServicerContext, _aio.ServicerContext): # type: ignore[misc, type-arg]
20
18
  ...
19
+
20
+ GRPC_GENERATED_VERSION: str
21
+ GRPC_VERSION: str
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: weaveapi/payment/v1/service.proto
5
- # Protobuf Python Version: 6.32.0
5
+ # Protobuf Python Version: 6.33.5
6
6
  """Generated protocol buffer code."""
7
7
 
8
8
  from google.protobuf import descriptor as _descriptor
@@ -12,7 +12,7 @@ from google.protobuf import symbol_database as _symbol_database
12
12
  from google.protobuf.internal import builder as _builder
13
13
 
14
14
  _runtime_version.ValidateProtobufRuntimeVersion(
15
- _runtime_version.Domain.PUBLIC, 6, 32, 0, "", "weaveapi/payment/v1/service.proto"
15
+ _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "weaveapi/payment/v1/service.proto"
16
16
  )
17
17
  # @@protoc_insertion_point(imports)
18
18
 
@@ -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\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"\x9c\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\x39\n\nexpires_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt"\x1e\n\x1cGetSubscriptionStatusRequest"l\n\x1dGetSubscriptionStatusResponse\x12K\n\x0csubscription\x18\x01 \x01(\x0b\x32\'.weaveapi.payment.v1.SubscriptionStatusR\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"\x83\x01\n\x1aUpdateSubscriptionResponse\x12K\n\x0csubscription\x18\x01 \x01(\x0b\x32\'.weaveapi.payment.v1.SubscriptionStatusR\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"\xd0\x01\n\x1a\x43\x61ncelSubscriptionResponse\x12K\n\x0csubscription\x18\x01 \x01(\x0b\x32\'.weaveapi.payment.v1.SubscriptionStatusR\x0csubscription\x12\x41\n\x0e\x65\x66\x66\x65\x63tive_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\reffectiveDate\x12"\n\x0c\x63onfirmation\x18\x03 \x01(\tR\x0c\x63onfirmation"\x1b\n\x19ResumeSubscriptionRequest"\x83\x01\n\x1aResumeSubscriptionResponse\x12K\n\x0csubscription\x18\x01 \x01(\x0b\x32\'.weaveapi.payment.v1.SubscriptionStatusR\x0csubscription\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"\x98\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?\n\rcreated_after\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0c\x63reatedAfter\x12\x41\n\x0e\x63reated_before\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\rcreatedBefore"\xba\x01\n\x19GetBillingHistoryResponse\x12\x38\n\x08invoices\x18\x01 \x03(\x0b\x32\x1c.weaveapi.payment.v1.InvoiceR\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"T\n\x1aGetUpcomingInvoiceResponse\x12\x36\n\x07invoice\x18\x01 \x01(\x0b\x32\x1c.weaveapi.payment.v1.InvoiceR\x07invoice"/\n\x19ListPaymentMethodsRequest\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type"\xa4\x01\n\x1aListPaymentMethodsResponse\x12K\n\x0fpayment_methods\x18\x01 \x03(\x0b\x32".weaveapi.payment.v1.PaymentMethodR\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"\x84\x01\n\x18\x41\x64\x64PaymentMethodResponse\x12I\n\x0epayment_method\x18\x01 \x01(\x0b\x32".weaveapi.payment.v1.PaymentMethodR\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"w\n\x1b\x43reatePortalSessionResponse\x12\x1d\n\nportal_url\x18\x01 \x01(\tR\tportalUrl\x12\x39\n\nexpires_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\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"\xc6\x01\n\x17GetPricingPlansResponse\x12\x36\n\x05plans\x18\x01 \x03(\x0b\x32 .weaveapi.payment.v1.PricingPlanR\x05plans\x12.\n\x13recommended_plan_id\x18\x02 \x01(\tR\x11recommendedPlanId\x12\x43\n\x0c\x63urrent_plan\x18\x03 \x01(\x0b\x32 .weaveapi.payment.v1.PricingPlanR\x0b\x63urrentPlan"6\n\x15\x41pplyPromoCodeRequest\x12\x1d\n\npromo_code\x18\x01 \x01(\tR\tpromoCode"\xbe\x01\n\x16\x41pplyPromoCodeResponse\x12\x14\n\x05valid\x18\x01 \x01(\x08R\x05valid\x12\x39\n\x08\x64iscount\x18\x02 \x01(\x0b\x32\x1d.weaveapi.payment.v1.DiscountR\x08\x64iscount\x12\x18\n\x07message\x18\x03 \x01(\tR\x07message\x12\x39\n\nexpires_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\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"\xa2\x01\n\x16GetUsageSummaryRequest\x12\x16\n\x06period\x18\x01 \x01(\tR\x06period\x12\x39\n\nstart_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartDate\x12\x35\n\x08\x65nd_date\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndDate"\xe9\x01\n\x17GetUsageSummaryResponse\x12G\n\x0e\x63urrent_period\x18\x01 \x01(\x0b\x32 .weaveapi.payment.v1.UsagePeriodR\rcurrentPeriod\x12K\n\x10previous_periods\x18\x02 \x03(\x0b\x32 .weaveapi.payment.v1.UsagePeriodR\x0fpreviousPeriods\x12\x38\n\x06limits\x18\x03 \x01(\x0b\x32 .weaveapi.payment.v1.UsageLimitsR\x06limits"\xe0\x05\n\x0bUsagePeriod\x12\x39\n\nstart_date\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartDate\x12\x35\n\x08\x65nd_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\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"\xf1\x01\n\x18GetCreditBalanceResponse\x12\x18\n\x07\x63redits\x18\x01 \x01(\x03R\x07\x63redits\x12\'\n\x0fpending_credits\x18\x02 \x01(\x03R\x0ependingCredits\x12\x39\n\nexpires_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt\x12W\n\x13recent_transactions\x18\x04 \x03(\x0b\x32&.weaveapi.payment.v1.CreditTransactionR\x12recentTransactions"\xac\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\x39\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt"\xd8\x01\n\x14UpdateTaxInfoRequest\x12\x15\n\x06tax_id\x18\x01 \x01(\tR\x05taxId\x12\x1e\n\x0btax_id_type\x18\x02 \x01(\tR\ttaxIdType\x12\x45\n\x0f\x62illing_address\x18\x03 \x01(\x0b\x32\x1c.weaveapi.payment.v1.AddressR\x0e\x62illingAddress\x12#\n\rbusiness_name\x18\x04 \x01(\tR\x0c\x62usinessName\x12\x1d\n\ntax_exempt\x18\x05 \x01(\x08R\ttaxExempt"\x84\x01\n\x15UpdateTaxInfoResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12\x37\n\x08tax_info\x18\x03 \x01(\x0b\x32\x1c.weaveapi.payment.v1.TaxInfoR\x07taxInfo"\xc5\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\x12\x45\n\x0f\x62illing_address\x18\x04 \x01(\x0b\x32\x1c.weaveapi.payment.v1.AddressR\x0e\x62illingAddress\x12#\n\rbusiness_name\x18\x05 \x01(\tR\x0c\x62usinessName\x12\x1d\n\ntax_exempt\x18\x06 \x01(\x08R\ttaxExempt\x12G\n\x10\x61pplicable_rates\x18\x07 \x03(\x0b\x32\x1c.weaveapi.payment.v1.TaxRateR\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\x06proto3'
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'
24
24
  )
25
25
 
26
26
  _globals = globals()
@@ -32,17 +32,183 @@ 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\222\003\005\322>\002\020\003"
36
36
  _globals["_CREATECHECKOUTSESSIONREQUEST_METADATAENTRY"]._loaded_options = None
37
37
  _globals[
38
38
  "_CREATECHECKOUTSESSIONREQUEST_METADATAENTRY"
39
39
  ]._serialized_options = b"8\001"
40
+ _globals["_CREATECHECKOUTSESSIONRESPONSE"].fields_by_name[
41
+ "expires_at"
42
+ ]._loaded_options = None
43
+ _globals["_CREATECHECKOUTSESSIONRESPONSE"].fields_by_name[
44
+ "expires_at"
45
+ ]._serialized_options = b"(\001"
46
+ _globals["_GETSUBSCRIPTIONSTATUSRESPONSE"].fields_by_name[
47
+ "subscription"
48
+ ]._loaded_options = None
49
+ _globals["_GETSUBSCRIPTIONSTATUSRESPONSE"].fields_by_name[
50
+ "subscription"
51
+ ]._serialized_options = b"(\001"
40
52
  _globals["_UPDATESUBSCRIPTIONREQUEST_METADATAENTRY"]._loaded_options = None
41
53
  _globals["_UPDATESUBSCRIPTIONREQUEST_METADATAENTRY"]._serialized_options = b"8\001"
54
+ _globals["_UPDATESUBSCRIPTIONRESPONSE"].fields_by_name[
55
+ "subscription"
56
+ ]._loaded_options = None
57
+ _globals["_UPDATESUBSCRIPTIONRESPONSE"].fields_by_name[
58
+ "subscription"
59
+ ]._serialized_options = b"(\001"
60
+ _globals["_CANCELSUBSCRIPTIONRESPONSE"].fields_by_name[
61
+ "subscription"
62
+ ]._loaded_options = None
63
+ _globals["_CANCELSUBSCRIPTIONRESPONSE"].fields_by_name[
64
+ "subscription"
65
+ ]._serialized_options = b"(\001"
66
+ _globals["_CANCELSUBSCRIPTIONRESPONSE"].fields_by_name[
67
+ "effective_date"
68
+ ]._loaded_options = None
69
+ _globals["_CANCELSUBSCRIPTIONRESPONSE"].fields_by_name[
70
+ "effective_date"
71
+ ]._serialized_options = b"(\001"
72
+ _globals["_RESUMESUBSCRIPTIONRESPONSE"].fields_by_name[
73
+ "subscription"
74
+ ]._loaded_options = None
75
+ _globals["_RESUMESUBSCRIPTIONRESPONSE"].fields_by_name[
76
+ "subscription"
77
+ ]._serialized_options = b"(\001"
78
+ _globals["_GETBILLINGHISTORYREQUEST"].fields_by_name[
79
+ "created_after"
80
+ ]._loaded_options = None
81
+ _globals["_GETBILLINGHISTORYREQUEST"].fields_by_name[
82
+ "created_after"
83
+ ]._serialized_options = b"(\001"
84
+ _globals["_GETBILLINGHISTORYREQUEST"].fields_by_name[
85
+ "created_before"
86
+ ]._loaded_options = None
87
+ _globals["_GETBILLINGHISTORYREQUEST"].fields_by_name[
88
+ "created_before"
89
+ ]._serialized_options = b"(\001"
90
+ _globals["_GETBILLINGHISTORYRESPONSE"].fields_by_name[
91
+ "invoices"
92
+ ]._loaded_options = None
93
+ _globals["_GETBILLINGHISTORYRESPONSE"].fields_by_name[
94
+ "invoices"
95
+ ]._serialized_options = b"(\001"
96
+ _globals["_GETUPCOMINGINVOICERESPONSE"].fields_by_name[
97
+ "invoice"
98
+ ]._loaded_options = None
99
+ _globals["_GETUPCOMINGINVOICERESPONSE"].fields_by_name[
100
+ "invoice"
101
+ ]._serialized_options = b"(\001"
102
+ _globals["_LISTPAYMENTMETHODSRESPONSE"].fields_by_name[
103
+ "payment_methods"
104
+ ]._loaded_options = None
105
+ _globals["_LISTPAYMENTMETHODSRESPONSE"].fields_by_name[
106
+ "payment_methods"
107
+ ]._serialized_options = b"(\001"
108
+ _globals["_ADDPAYMENTMETHODRESPONSE"].fields_by_name[
109
+ "payment_method"
110
+ ]._loaded_options = None
111
+ _globals["_ADDPAYMENTMETHODRESPONSE"].fields_by_name[
112
+ "payment_method"
113
+ ]._serialized_options = b"(\001"
114
+ _globals["_CREATEPORTALSESSIONRESPONSE"].fields_by_name[
115
+ "expires_at"
116
+ ]._loaded_options = None
117
+ _globals["_CREATEPORTALSESSIONRESPONSE"].fields_by_name[
118
+ "expires_at"
119
+ ]._serialized_options = b"(\001"
120
+ _globals["_GETPRICINGPLANSRESPONSE"].fields_by_name["plans"]._loaded_options = None
121
+ _globals["_GETPRICINGPLANSRESPONSE"].fields_by_name[
122
+ "plans"
123
+ ]._serialized_options = b"(\001"
124
+ _globals["_GETPRICINGPLANSRESPONSE"].fields_by_name[
125
+ "current_plan"
126
+ ]._loaded_options = None
127
+ _globals["_GETPRICINGPLANSRESPONSE"].fields_by_name[
128
+ "current_plan"
129
+ ]._serialized_options = b"(\001"
130
+ _globals["_APPLYPROMOCODERESPONSE"].fields_by_name[
131
+ "discount"
132
+ ]._loaded_options = None
133
+ _globals["_APPLYPROMOCODERESPONSE"].fields_by_name[
134
+ "discount"
135
+ ]._serialized_options = b"(\001"
136
+ _globals["_APPLYPROMOCODERESPONSE"].fields_by_name[
137
+ "expires_at"
138
+ ]._loaded_options = None
139
+ _globals["_APPLYPROMOCODERESPONSE"].fields_by_name[
140
+ "expires_at"
141
+ ]._serialized_options = b"(\001"
142
+ _globals["_GETUSAGESUMMARYREQUEST"].fields_by_name[
143
+ "start_date"
144
+ ]._loaded_options = None
145
+ _globals["_GETUSAGESUMMARYREQUEST"].fields_by_name[
146
+ "start_date"
147
+ ]._serialized_options = b"(\001"
148
+ _globals["_GETUSAGESUMMARYREQUEST"].fields_by_name[
149
+ "end_date"
150
+ ]._loaded_options = None
151
+ _globals["_GETUSAGESUMMARYREQUEST"].fields_by_name[
152
+ "end_date"
153
+ ]._serialized_options = b"(\001"
154
+ _globals["_GETUSAGESUMMARYRESPONSE"].fields_by_name[
155
+ "current_period"
156
+ ]._loaded_options = None
157
+ _globals["_GETUSAGESUMMARYRESPONSE"].fields_by_name[
158
+ "current_period"
159
+ ]._serialized_options = b"(\001"
160
+ _globals["_GETUSAGESUMMARYRESPONSE"].fields_by_name[
161
+ "previous_periods"
162
+ ]._loaded_options = None
163
+ _globals["_GETUSAGESUMMARYRESPONSE"].fields_by_name[
164
+ "previous_periods"
165
+ ]._serialized_options = b"(\001"
166
+ _globals["_GETUSAGESUMMARYRESPONSE"].fields_by_name["limits"]._loaded_options = None
167
+ _globals["_GETUSAGESUMMARYRESPONSE"].fields_by_name[
168
+ "limits"
169
+ ]._serialized_options = b"(\001"
42
170
  _globals["_USAGEPERIOD_REQUESTSBYENDPOINTENTRY"]._loaded_options = None
43
171
  _globals["_USAGEPERIOD_REQUESTSBYENDPOINTENTRY"]._serialized_options = b"8\001"
44
172
  _globals["_USAGEPERIOD_REQUESTSBYAPIKEYENTRY"]._loaded_options = None
45
173
  _globals["_USAGEPERIOD_REQUESTSBYAPIKEYENTRY"]._serialized_options = b"8\001"
174
+ _globals["_USAGEPERIOD"].fields_by_name["start_date"]._loaded_options = None
175
+ _globals["_USAGEPERIOD"].fields_by_name["start_date"]._serialized_options = b"(\001"
176
+ _globals["_USAGEPERIOD"].fields_by_name["end_date"]._loaded_options = None
177
+ _globals["_USAGEPERIOD"].fields_by_name["end_date"]._serialized_options = b"(\001"
178
+ _globals["_GETCREDITBALANCERESPONSE"].fields_by_name[
179
+ "expires_at"
180
+ ]._loaded_options = None
181
+ _globals["_GETCREDITBALANCERESPONSE"].fields_by_name[
182
+ "expires_at"
183
+ ]._serialized_options = b"(\001"
184
+ _globals["_GETCREDITBALANCERESPONSE"].fields_by_name[
185
+ "recent_transactions"
186
+ ]._loaded_options = None
187
+ _globals["_GETCREDITBALANCERESPONSE"].fields_by_name[
188
+ "recent_transactions"
189
+ ]._serialized_options = b"(\001"
190
+ _globals["_CREDITTRANSACTION"].fields_by_name["created_at"]._loaded_options = None
191
+ _globals["_CREDITTRANSACTION"].fields_by_name[
192
+ "created_at"
193
+ ]._serialized_options = b"(\001"
194
+ _globals["_UPDATETAXINFOREQUEST"].fields_by_name[
195
+ "billing_address"
196
+ ]._loaded_options = None
197
+ _globals["_UPDATETAXINFOREQUEST"].fields_by_name[
198
+ "billing_address"
199
+ ]._serialized_options = b"(\001"
200
+ _globals["_UPDATETAXINFORESPONSE"].fields_by_name["tax_info"]._loaded_options = None
201
+ _globals["_UPDATETAXINFORESPONSE"].fields_by_name[
202
+ "tax_info"
203
+ ]._serialized_options = b"(\001"
204
+ _globals["_TAXINFO"].fields_by_name["billing_address"]._loaded_options = None
205
+ _globals["_TAXINFO"].fields_by_name[
206
+ "billing_address"
207
+ ]._serialized_options = b"(\001"
208
+ _globals["_TAXINFO"].fields_by_name["applicable_rates"]._loaded_options = None
209
+ _globals["_TAXINFO"].fields_by_name[
210
+ "applicable_rates"
211
+ ]._serialized_options = b"(\001"
46
212
  _globals["_PAYMENT"].methods_by_name["CreateCheckoutSession"]._loaded_options = None
47
213
  _globals["_PAYMENT"].methods_by_name[
48
214
  "CreateCheckoutSession"
@@ -147,98 +313,98 @@ if not _descriptor._USE_C_DESCRIPTORS:
147
313
  ]._serialized_options = (
148
314
  b"\202\323\344\223\0020\022./api/v1/payment/invoices/{invoice_id}/download"
149
315
  )
150
- _globals["_CREATECHECKOUTSESSIONREQUEST"]._serialized_start = 197
151
- _globals["_CREATECHECKOUTSESSIONREQUEST"]._serialized_end = 706
152
- _globals["_CREATECHECKOUTSESSIONREQUEST_METADATAENTRY"]._serialized_start = 647
153
- _globals["_CREATECHECKOUTSESSIONREQUEST_METADATAENTRY"]._serialized_end = 706
154
- _globals["_CREATECHECKOUTSESSIONRESPONSE"]._serialized_start = 709
155
- _globals["_CREATECHECKOUTSESSIONRESPONSE"]._serialized_end = 865
156
- _globals["_GETSUBSCRIPTIONSTATUSREQUEST"]._serialized_start = 867
157
- _globals["_GETSUBSCRIPTIONSTATUSREQUEST"]._serialized_end = 897
158
- _globals["_GETSUBSCRIPTIONSTATUSRESPONSE"]._serialized_start = 899
159
- _globals["_GETSUBSCRIPTIONSTATUSRESPONSE"]._serialized_end = 1007
160
- _globals["_UPDATESUBSCRIPTIONREQUEST"]._serialized_start = 1010
161
- _globals["_UPDATESUBSCRIPTIONREQUEST"]._serialized_end = 1312
162
- _globals["_UPDATESUBSCRIPTIONREQUEST_METADATAENTRY"]._serialized_start = 647
163
- _globals["_UPDATESUBSCRIPTIONREQUEST_METADATAENTRY"]._serialized_end = 706
164
- _globals["_UPDATESUBSCRIPTIONRESPONSE"]._serialized_start = 1315
165
- _globals["_UPDATESUBSCRIPTIONRESPONSE"]._serialized_end = 1446
166
- _globals["_CANCELSUBSCRIPTIONREQUEST"]._serialized_start = 1448
167
- _globals["_CANCELSUBSCRIPTIONREQUEST"]._serialized_end = 1561
168
- _globals["_CANCELSUBSCRIPTIONRESPONSE"]._serialized_start = 1564
169
- _globals["_CANCELSUBSCRIPTIONRESPONSE"]._serialized_end = 1772
170
- _globals["_RESUMESUBSCRIPTIONREQUEST"]._serialized_start = 1774
171
- _globals["_RESUMESUBSCRIPTIONREQUEST"]._serialized_end = 1801
172
- _globals["_RESUMESUBSCRIPTIONRESPONSE"]._serialized_start = 1804
173
- _globals["_RESUMESUBSCRIPTIONRESPONSE"]._serialized_end = 1935
174
- _globals["_GETBILLINGHISTORYREQUEST"]._serialized_start = 1938
175
- _globals["_GETBILLINGHISTORYREQUEST"]._serialized_end = 2218
176
- _globals["_GETBILLINGHISTORYRESPONSE"]._serialized_start = 2221
177
- _globals["_GETBILLINGHISTORYRESPONSE"]._serialized_end = 2407
178
- _globals["_GETUPCOMINGINVOICEREQUEST"]._serialized_start = 2409
179
- _globals["_GETUPCOMINGINVOICEREQUEST"]._serialized_end = 2436
180
- _globals["_GETUPCOMINGINVOICERESPONSE"]._serialized_start = 2438
181
- _globals["_GETUPCOMINGINVOICERESPONSE"]._serialized_end = 2522
182
- _globals["_LISTPAYMENTMETHODSREQUEST"]._serialized_start = 2524
183
- _globals["_LISTPAYMENTMETHODSREQUEST"]._serialized_end = 2571
184
- _globals["_LISTPAYMENTMETHODSRESPONSE"]._serialized_start = 2574
185
- _globals["_LISTPAYMENTMETHODSRESPONSE"]._serialized_end = 2738
186
- _globals["_ADDPAYMENTMETHODREQUEST"]._serialized_start = 2740
187
- _globals["_ADDPAYMENTMETHODREQUEST"]._serialized_end = 2847
188
- _globals["_ADDPAYMENTMETHODRESPONSE"]._serialized_start = 2850
189
- _globals["_ADDPAYMENTMETHODRESPONSE"]._serialized_end = 2982
190
- _globals["_SETDEFAULTPAYMENTMETHODREQUEST"]._serialized_start = 2984
191
- _globals["_SETDEFAULTPAYMENTMETHODREQUEST"]._serialized_end = 3060
192
- _globals["_SETDEFAULTPAYMENTMETHODRESPONSE"]._serialized_start = 3062
193
- _globals["_SETDEFAULTPAYMENTMETHODRESPONSE"]._serialized_end = 3147
194
- _globals["_REMOVEPAYMENTMETHODREQUEST"]._serialized_start = 3149
195
- _globals["_REMOVEPAYMENTMETHODREQUEST"]._serialized_end = 3221
196
- _globals["_REMOVEPAYMENTMETHODRESPONSE"]._serialized_start = 3223
197
- _globals["_REMOVEPAYMENTMETHODRESPONSE"]._serialized_end = 3349
198
- _globals["_CREATEPORTALSESSIONREQUEST"]._serialized_start = 3351
199
- _globals["_CREATEPORTALSESSIONREQUEST"]._serialized_end = 3410
200
- _globals["_CREATEPORTALSESSIONRESPONSE"]._serialized_start = 3412
201
- _globals["_CREATEPORTALSESSIONRESPONSE"]._serialized_end = 3531
202
- _globals["_GETPRICINGPLANSREQUEST"]._serialized_start = 3533
203
- _globals["_GETPRICINGPLANSREQUEST"]._serialized_end = 3618
204
- _globals["_GETPRICINGPLANSRESPONSE"]._serialized_start = 3621
205
- _globals["_GETPRICINGPLANSRESPONSE"]._serialized_end = 3819
206
- _globals["_APPLYPROMOCODEREQUEST"]._serialized_start = 3821
207
- _globals["_APPLYPROMOCODEREQUEST"]._serialized_end = 3875
208
- _globals["_APPLYPROMOCODERESPONSE"]._serialized_start = 3878
209
- _globals["_APPLYPROMOCODERESPONSE"]._serialized_end = 4068
210
- _globals["_HANDLESTRIPEWEBHOOKREQUEST"]._serialized_start = 4070
211
- _globals["_HANDLESTRIPEWEBHOOKREQUEST"]._serialized_end = 4154
212
- _globals["_HANDLESTRIPEWEBHOOKRESPONSE"]._serialized_start = 4157
213
- _globals["_HANDLESTRIPEWEBHOOKRESPONSE"]._serialized_end = 4296
214
- _globals["_GETUSAGESUMMARYREQUEST"]._serialized_start = 4299
215
- _globals["_GETUSAGESUMMARYREQUEST"]._serialized_end = 4461
216
- _globals["_GETUSAGESUMMARYRESPONSE"]._serialized_start = 4464
217
- _globals["_GETUSAGESUMMARYRESPONSE"]._serialized_end = 4697
218
- _globals["_USAGEPERIOD"]._serialized_start = 4700
219
- _globals["_USAGEPERIOD"]._serialized_end = 5436
220
- _globals["_USAGEPERIOD_REQUESTSBYENDPOINTENTRY"]._serialized_start = 5298
221
- _globals["_USAGEPERIOD_REQUESTSBYENDPOINTENTRY"]._serialized_end = 5367
222
- _globals["_USAGEPERIOD_REQUESTSBYAPIKEYENTRY"]._serialized_start = 5369
223
- _globals["_USAGEPERIOD_REQUESTSBYAPIKEYENTRY"]._serialized_end = 5436
224
- _globals["_USAGELIMITS"]._serialized_start = 5439
225
- _globals["_USAGELIMITS"]._serialized_end = 5680
226
- _globals["_GETCREDITBALANCEREQUEST"]._serialized_start = 5682
227
- _globals["_GETCREDITBALANCEREQUEST"]._serialized_end = 5707
228
- _globals["_GETCREDITBALANCERESPONSE"]._serialized_start = 5710
229
- _globals["_GETCREDITBALANCERESPONSE"]._serialized_end = 5951
230
- _globals["_CREDITTRANSACTION"]._serialized_start = 5954
231
- _globals["_CREDITTRANSACTION"]._serialized_end = 6126
232
- _globals["_UPDATETAXINFOREQUEST"]._serialized_start = 6129
233
- _globals["_UPDATETAXINFOREQUEST"]._serialized_end = 6345
234
- _globals["_UPDATETAXINFORESPONSE"]._serialized_start = 6348
235
- _globals["_UPDATETAXINFORESPONSE"]._serialized_end = 6480
236
- _globals["_TAXINFO"]._serialized_start = 6483
237
- _globals["_TAXINFO"]._serialized_end = 6808
238
- _globals["_DOWNLOADINVOICEREQUEST"]._serialized_start = 6810
239
- _globals["_DOWNLOADINVOICEREQUEST"]._serialized_end = 6865
240
- _globals["_DOWNLOADINVOICERESPONSE"]._serialized_start = 6867
241
- _globals["_DOWNLOADINVOICERESPONSE"]._serialized_end = 6982
242
- _globals["_PAYMENT"]._serialized_start = 6985
243
- _globals["_PAYMENT"]._serialized_end = 10057
316
+ _globals["_CREATECHECKOUTSESSIONREQUEST"]._serialized_start = 232
317
+ _globals["_CREATECHECKOUTSESSIONREQUEST"]._serialized_end = 741
318
+ _globals["_CREATECHECKOUTSESSIONREQUEST_METADATAENTRY"]._serialized_start = 682
319
+ _globals["_CREATECHECKOUTSESSIONREQUEST_METADATAENTRY"]._serialized_end = 741
320
+ _globals["_CREATECHECKOUTSESSIONRESPONSE"]._serialized_start = 744
321
+ _globals["_CREATECHECKOUTSESSIONRESPONSE"]._serialized_end = 904
322
+ _globals["_GETSUBSCRIPTIONSTATUSREQUEST"]._serialized_start = 906
323
+ _globals["_GETSUBSCRIPTIONSTATUSREQUEST"]._serialized_end = 936
324
+ _globals["_GETSUBSCRIPTIONSTATUSRESPONSE"]._serialized_start = 938
325
+ _globals["_GETSUBSCRIPTIONSTATUSRESPONSE"]._serialized_end = 1050
326
+ _globals["_UPDATESUBSCRIPTIONREQUEST"]._serialized_start = 1053
327
+ _globals["_UPDATESUBSCRIPTIONREQUEST"]._serialized_end = 1355
328
+ _globals["_UPDATESUBSCRIPTIONREQUEST_METADATAENTRY"]._serialized_start = 682
329
+ _globals["_UPDATESUBSCRIPTIONREQUEST_METADATAENTRY"]._serialized_end = 741
330
+ _globals["_UPDATESUBSCRIPTIONRESPONSE"]._serialized_start = 1358
331
+ _globals["_UPDATESUBSCRIPTIONRESPONSE"]._serialized_end = 1493
332
+ _globals["_CANCELSUBSCRIPTIONREQUEST"]._serialized_start = 1495
333
+ _globals["_CANCELSUBSCRIPTIONREQUEST"]._serialized_end = 1608
334
+ _globals["_CANCELSUBSCRIPTIONRESPONSE"]._serialized_start = 1611
335
+ _globals["_CANCELSUBSCRIPTIONRESPONSE"]._serialized_end = 1827
336
+ _globals["_RESUMESUBSCRIPTIONREQUEST"]._serialized_start = 1829
337
+ _globals["_RESUMESUBSCRIPTIONREQUEST"]._serialized_end = 1856
338
+ _globals["_RESUMESUBSCRIPTIONRESPONSE"]._serialized_start = 1859
339
+ _globals["_RESUMESUBSCRIPTIONRESPONSE"]._serialized_end = 1994
340
+ _globals["_GETBILLINGHISTORYREQUEST"]._serialized_start = 1997
341
+ _globals["_GETBILLINGHISTORYREQUEST"]._serialized_end = 2285
342
+ _globals["_GETBILLINGHISTORYRESPONSE"]._serialized_start = 2288
343
+ _globals["_GETBILLINGHISTORYRESPONSE"]._serialized_end = 2478
344
+ _globals["_GETUPCOMINGINVOICEREQUEST"]._serialized_start = 2480
345
+ _globals["_GETUPCOMINGINVOICEREQUEST"]._serialized_end = 2507
346
+ _globals["_GETUPCOMINGINVOICERESPONSE"]._serialized_start = 2509
347
+ _globals["_GETUPCOMINGINVOICERESPONSE"]._serialized_end = 2597
348
+ _globals["_LISTPAYMENTMETHODSREQUEST"]._serialized_start = 2599
349
+ _globals["_LISTPAYMENTMETHODSREQUEST"]._serialized_end = 2646
350
+ _globals["_LISTPAYMENTMETHODSRESPONSE"]._serialized_start = 2649
351
+ _globals["_LISTPAYMENTMETHODSRESPONSE"]._serialized_end = 2817
352
+ _globals["_ADDPAYMENTMETHODREQUEST"]._serialized_start = 2819
353
+ _globals["_ADDPAYMENTMETHODREQUEST"]._serialized_end = 2926
354
+ _globals["_ADDPAYMENTMETHODRESPONSE"]._serialized_start = 2929
355
+ _globals["_ADDPAYMENTMETHODRESPONSE"]._serialized_end = 3065
356
+ _globals["_SETDEFAULTPAYMENTMETHODREQUEST"]._serialized_start = 3067
357
+ _globals["_SETDEFAULTPAYMENTMETHODREQUEST"]._serialized_end = 3143
358
+ _globals["_SETDEFAULTPAYMENTMETHODRESPONSE"]._serialized_start = 3145
359
+ _globals["_SETDEFAULTPAYMENTMETHODRESPONSE"]._serialized_end = 3230
360
+ _globals["_REMOVEPAYMENTMETHODREQUEST"]._serialized_start = 3232
361
+ _globals["_REMOVEPAYMENTMETHODREQUEST"]._serialized_end = 3304
362
+ _globals["_REMOVEPAYMENTMETHODRESPONSE"]._serialized_start = 3306
363
+ _globals["_REMOVEPAYMENTMETHODRESPONSE"]._serialized_end = 3432
364
+ _globals["_CREATEPORTALSESSIONREQUEST"]._serialized_start = 3434
365
+ _globals["_CREATEPORTALSESSIONREQUEST"]._serialized_end = 3493
366
+ _globals["_CREATEPORTALSESSIONRESPONSE"]._serialized_start = 3495
367
+ _globals["_CREATEPORTALSESSIONRESPONSE"]._serialized_end = 3618
368
+ _globals["_GETPRICINGPLANSREQUEST"]._serialized_start = 3620
369
+ _globals["_GETPRICINGPLANSREQUEST"]._serialized_end = 3705
370
+ _globals["_GETPRICINGPLANSRESPONSE"]._serialized_start = 3708
371
+ _globals["_GETPRICINGPLANSRESPONSE"]._serialized_end = 3914
372
+ _globals["_APPLYPROMOCODEREQUEST"]._serialized_start = 3916
373
+ _globals["_APPLYPROMOCODEREQUEST"]._serialized_end = 3970
374
+ _globals["_APPLYPROMOCODERESPONSE"]._serialized_start = 3973
375
+ _globals["_APPLYPROMOCODERESPONSE"]._serialized_end = 4171
376
+ _globals["_HANDLESTRIPEWEBHOOKREQUEST"]._serialized_start = 4173
377
+ _globals["_HANDLESTRIPEWEBHOOKREQUEST"]._serialized_end = 4257
378
+ _globals["_HANDLESTRIPEWEBHOOKRESPONSE"]._serialized_start = 4260
379
+ _globals["_HANDLESTRIPEWEBHOOKRESPONSE"]._serialized_end = 4399
380
+ _globals["_GETUSAGESUMMARYREQUEST"]._serialized_start = 4402
381
+ _globals["_GETUSAGESUMMARYREQUEST"]._serialized_end = 4572
382
+ _globals["_GETUSAGESUMMARYRESPONSE"]._serialized_start = 4575
383
+ _globals["_GETUSAGESUMMARYRESPONSE"]._serialized_end = 4820
384
+ _globals["_USAGEPERIOD"]._serialized_start = 4823
385
+ _globals["_USAGEPERIOD"]._serialized_end = 5567
386
+ _globals["_USAGEPERIOD_REQUESTSBYENDPOINTENTRY"]._serialized_start = 5429
387
+ _globals["_USAGEPERIOD_REQUESTSBYENDPOINTENTRY"]._serialized_end = 5498
388
+ _globals["_USAGEPERIOD_REQUESTSBYAPIKEYENTRY"]._serialized_start = 5500
389
+ _globals["_USAGEPERIOD_REQUESTSBYAPIKEYENTRY"]._serialized_end = 5567
390
+ _globals["_USAGELIMITS"]._serialized_start = 5570
391
+ _globals["_USAGELIMITS"]._serialized_end = 5811
392
+ _globals["_GETCREDITBALANCEREQUEST"]._serialized_start = 5813
393
+ _globals["_GETCREDITBALANCEREQUEST"]._serialized_end = 5838
394
+ _globals["_GETCREDITBALANCERESPONSE"]._serialized_start = 5841
395
+ _globals["_GETCREDITBALANCERESPONSE"]._serialized_end = 6090
396
+ _globals["_CREDITTRANSACTION"]._serialized_start = 6093
397
+ _globals["_CREDITTRANSACTION"]._serialized_end = 6269
398
+ _globals["_UPDATETAXINFOREQUEST"]._serialized_start = 6272
399
+ _globals["_UPDATETAXINFOREQUEST"]._serialized_end = 6492
400
+ _globals["_UPDATETAXINFORESPONSE"]._serialized_start = 6495
401
+ _globals["_UPDATETAXINFORESPONSE"]._serialized_end = 6631
402
+ _globals["_TAXINFO"]._serialized_start = 6634
403
+ _globals["_TAXINFO"]._serialized_end = 6967
404
+ _globals["_DOWNLOADINVOICEREQUEST"]._serialized_start = 6969
405
+ _globals["_DOWNLOADINVOICEREQUEST"]._serialized_end = 7024
406
+ _globals["_DOWNLOADINVOICERESPONSE"]._serialized_start = 7026
407
+ _globals["_DOWNLOADINVOICERESPONSE"]._serialized_end = 7141
408
+ _globals["_PAYMENT"]._serialized_start = 7144
409
+ _globals["_PAYMENT"]._serialized_end = 10216
244
410
  # @@protoc_insertion_point(module_scope)