weave-python 0.26.1__py3-none-any.whl → 0.27.0__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 +228 -0
- weave/weaveapi/auth/v1/service_pb2.pyi +1406 -0
- weave/weaveapi/auth/v1/service_pb2_grpc.py +1091 -0
- weave/weaveapi/auth/v1/service_pb2_grpc.pyi +606 -0
- weave/weaveapi/auth/v1/session_pb2.py +38 -0
- weave/weaveapi/auth/v1/session_pb2.pyi +111 -0
- weave/weaveapi/auth/v1/session_pb2_grpc.py +2 -0
- weave/weaveapi/auth/v1/session_pb2_grpc.pyi +20 -0
- weave/weaveapi/auth/v1/usage_pb2.py +52 -0
- weave/weaveapi/auth/v1/usage_pb2.pyi +241 -0
- weave/weaveapi/auth/v1/usage_pb2_grpc.py +2 -0
- weave/weaveapi/auth/v1/usage_pb2_grpc.pyi +20 -0
- weave/weaveapi/auth/v1/user_pb2.py +52 -0
- weave/weaveapi/auth/v1/user_pb2.pyi +594 -0
- weave/weaveapi/auth/v1/user_pb2_grpc.py +2 -0
- weave/weaveapi/auth/v1/user_pb2_grpc.pyi +20 -0
- weave/weaveapi/generate/v1/configuration_pb2.py +3 -3
- weave/weaveapi/generate/v1/generate_pb2.py +2 -2
- weave/weaveapi/generate/v1/service_pb2.py +2 -2
- weave/weaveapi/mcpregistry/v1/server_pb2.py +2 -2
- weave/weaveapi/mcpregistry/v1/service_pb2.py +3 -3
- weave/weaveapi/modex/v1/model_pb2.py +58 -0
- weave/weaveapi/modex/v1/model_pb2.pyi +642 -0
- weave/weaveapi/modex/v1/model_pb2_grpc.py +2 -0
- weave/weaveapi/modex/v1/model_pb2_grpc.pyi +20 -0
- weave/weaveapi/modex/v1/provider_pb2.py +38 -0
- weave/weaveapi/modex/v1/provider_pb2.pyi +91 -0
- weave/weaveapi/modex/v1/provider_pb2_grpc.py +2 -0
- weave/weaveapi/modex/v1/provider_pb2_grpc.pyi +20 -0
- weave/weaveapi/modex/v1/service_pb2.py +180 -0
- weave/weaveapi/modex/v1/service_pb2.pyi +1641 -0
- weave/weaveapi/modex/v1/service_pb2_grpc.py +602 -0
- weave/weaveapi/modex/v1/service_pb2_grpc.pyi +268 -0
- weave/weaveapi/payment/v1/invoice_pb2.py +46 -0
- weave/weaveapi/payment/v1/invoice_pb2.pyi +349 -0
- weave/weaveapi/payment/v1/invoice_pb2_grpc.py +2 -0
- weave/weaveapi/payment/v1/invoice_pb2_grpc.pyi +20 -0
- weave/weaveapi/payment/v1/service_pb2.py +244 -0
- weave/weaveapi/payment/v1/service_pb2.pyi +1492 -0
- weave/weaveapi/payment/v1/service_pb2_grpc.py +957 -0
- weave/weaveapi/payment/v1/service_pb2_grpc.pyi +572 -0
- weave/weaveapi/payment/v1/subscription_pb2.py +59 -0
- weave/weaveapi/payment/v1/subscription_pb2.pyi +695 -0
- weave/weaveapi/payment/v1/subscription_pb2_grpc.py +2 -0
- weave/weaveapi/payment/v1/subscription_pb2_grpc.pyi +20 -0
- weave/weaveapi/storage/v1/auth_pb2.py +2 -2
- weave/weaveapi/storage/v1/nosql_database_pb2.py +3 -3
- weave/weaveapi/storage/v1/object_store_pb2.py +3 -3
- weave/weaveapi/storage/v1/service_pb2.py +2 -2
- weave/weaveapi/storage/v1/sql_database_pb2.py +3 -3
- weave/weaveapi/storage/v1/storage_pb2.py +2 -2
- weave/weaveapi/synthesize/v1/dataset_pb2.py +2 -2
- weave/weaveapi/synthesize/v1/inline_data_pb2.py +3 -3
- weave/weaveapi/synthesize/v1/relationship_pb2.py +3 -3
- weave/weaveapi/synthesize/v1/service_pb2.py +2 -2
- weave/weaveapi/synthesize/v1/training_pb2.py +3 -3
- weave/weavesql/{db → weavedb}/queries.py +1 -1
- {weave_python-0.26.1.dist-info → weave_python-0.27.0.dist-info}/METADATA +1 -1
- weave_python-0.27.0.dist-info/RECORD +109 -0
- weave_python-0.26.1.dist-info/RECORD +0 -69
- /weave/weavesql/{db → weavedb}/models.py +0 -0
- {weave_python-0.26.1.dist-info → weave_python-0.27.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
import weaveapi.modex.v1.service_pb2
|
|
12
|
+
|
|
13
|
+
_T = typing.TypeVar("_T")
|
|
14
|
+
|
|
15
|
+
class _MaybeAsyncIterator(
|
|
16
|
+
collections.abc.AsyncIterator[_T],
|
|
17
|
+
collections.abc.Iterator[_T],
|
|
18
|
+
metaclass=abc.ABCMeta,
|
|
19
|
+
): ...
|
|
20
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
21
|
+
...
|
|
22
|
+
|
|
23
|
+
class ModexStub:
|
|
24
|
+
def __init__(
|
|
25
|
+
self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]
|
|
26
|
+
) -> None: ...
|
|
27
|
+
ListProviders: grpc.UnaryUnaryMultiCallable[
|
|
28
|
+
weaveapi.modex.v1.service_pb2.ListProvidersRequest,
|
|
29
|
+
weaveapi.modex.v1.service_pb2.ListProvidersResponse,
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
GetProvider: grpc.UnaryUnaryMultiCallable[
|
|
33
|
+
weaveapi.modex.v1.service_pb2.GetProviderRequest,
|
|
34
|
+
weaveapi.modex.v1.service_pb2.GetProviderResponse,
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
ListModels: grpc.UnaryUnaryMultiCallable[
|
|
38
|
+
weaveapi.modex.v1.service_pb2.ListModelsRequest,
|
|
39
|
+
weaveapi.modex.v1.service_pb2.ListModelsResponse,
|
|
40
|
+
]
|
|
41
|
+
|
|
42
|
+
GetModel: grpc.UnaryUnaryMultiCallable[
|
|
43
|
+
weaveapi.modex.v1.service_pb2.GetModelRequest,
|
|
44
|
+
weaveapi.modex.v1.service_pb2.GetModelResponse,
|
|
45
|
+
]
|
|
46
|
+
|
|
47
|
+
SearchModels: grpc.UnaryUnaryMultiCallable[
|
|
48
|
+
weaveapi.modex.v1.service_pb2.SearchModelsRequest,
|
|
49
|
+
weaveapi.modex.v1.service_pb2.SearchModelsResponse,
|
|
50
|
+
]
|
|
51
|
+
|
|
52
|
+
CompareModels: grpc.UnaryUnaryMultiCallable[
|
|
53
|
+
weaveapi.modex.v1.service_pb2.CompareModelsRequest,
|
|
54
|
+
weaveapi.modex.v1.service_pb2.CompareModelsResponse,
|
|
55
|
+
]
|
|
56
|
+
|
|
57
|
+
GetModelPriceHistory: grpc.UnaryUnaryMultiCallable[
|
|
58
|
+
weaveapi.modex.v1.service_pb2.GetModelPriceHistoryRequest,
|
|
59
|
+
weaveapi.modex.v1.service_pb2.GetModelPriceHistoryResponse,
|
|
60
|
+
]
|
|
61
|
+
|
|
62
|
+
GetModelChanges: grpc.UnaryUnaryMultiCallable[
|
|
63
|
+
weaveapi.modex.v1.service_pb2.GetModelChangesRequest,
|
|
64
|
+
weaveapi.modex.v1.service_pb2.GetModelChangesResponse,
|
|
65
|
+
]
|
|
66
|
+
|
|
67
|
+
GetTrendingModels: grpc.UnaryUnaryMultiCallable[
|
|
68
|
+
weaveapi.modex.v1.service_pb2.GetTrendingModelsRequest,
|
|
69
|
+
weaveapi.modex.v1.service_pb2.GetTrendingModelsResponse,
|
|
70
|
+
]
|
|
71
|
+
|
|
72
|
+
GetRecentUpdates: grpc.UnaryUnaryMultiCallable[
|
|
73
|
+
weaveapi.modex.v1.service_pb2.GetRecentUpdatesRequest,
|
|
74
|
+
weaveapi.modex.v1.service_pb2.GetRecentUpdatesResponse,
|
|
75
|
+
]
|
|
76
|
+
|
|
77
|
+
ExportData: grpc.UnaryUnaryMultiCallable[
|
|
78
|
+
weaveapi.modex.v1.service_pb2.ExportDataRequest,
|
|
79
|
+
weaveapi.modex.v1.service_pb2.ExportDataResponse,
|
|
80
|
+
]
|
|
81
|
+
|
|
82
|
+
GetStatistics: grpc.UnaryUnaryMultiCallable[
|
|
83
|
+
weaveapi.modex.v1.service_pb2.GetStatisticsRequest,
|
|
84
|
+
weaveapi.modex.v1.service_pb2.GetStatisticsResponse,
|
|
85
|
+
]
|
|
86
|
+
|
|
87
|
+
class ModexAsyncStub:
|
|
88
|
+
ListProviders: grpc.aio.UnaryUnaryMultiCallable[
|
|
89
|
+
weaveapi.modex.v1.service_pb2.ListProvidersRequest,
|
|
90
|
+
weaveapi.modex.v1.service_pb2.ListProvidersResponse,
|
|
91
|
+
]
|
|
92
|
+
|
|
93
|
+
GetProvider: grpc.aio.UnaryUnaryMultiCallable[
|
|
94
|
+
weaveapi.modex.v1.service_pb2.GetProviderRequest,
|
|
95
|
+
weaveapi.modex.v1.service_pb2.GetProviderResponse,
|
|
96
|
+
]
|
|
97
|
+
|
|
98
|
+
ListModels: grpc.aio.UnaryUnaryMultiCallable[
|
|
99
|
+
weaveapi.modex.v1.service_pb2.ListModelsRequest,
|
|
100
|
+
weaveapi.modex.v1.service_pb2.ListModelsResponse,
|
|
101
|
+
]
|
|
102
|
+
|
|
103
|
+
GetModel: grpc.aio.UnaryUnaryMultiCallable[
|
|
104
|
+
weaveapi.modex.v1.service_pb2.GetModelRequest,
|
|
105
|
+
weaveapi.modex.v1.service_pb2.GetModelResponse,
|
|
106
|
+
]
|
|
107
|
+
|
|
108
|
+
SearchModels: grpc.aio.UnaryUnaryMultiCallable[
|
|
109
|
+
weaveapi.modex.v1.service_pb2.SearchModelsRequest,
|
|
110
|
+
weaveapi.modex.v1.service_pb2.SearchModelsResponse,
|
|
111
|
+
]
|
|
112
|
+
|
|
113
|
+
CompareModels: grpc.aio.UnaryUnaryMultiCallable[
|
|
114
|
+
weaveapi.modex.v1.service_pb2.CompareModelsRequest,
|
|
115
|
+
weaveapi.modex.v1.service_pb2.CompareModelsResponse,
|
|
116
|
+
]
|
|
117
|
+
|
|
118
|
+
GetModelPriceHistory: grpc.aio.UnaryUnaryMultiCallable[
|
|
119
|
+
weaveapi.modex.v1.service_pb2.GetModelPriceHistoryRequest,
|
|
120
|
+
weaveapi.modex.v1.service_pb2.GetModelPriceHistoryResponse,
|
|
121
|
+
]
|
|
122
|
+
|
|
123
|
+
GetModelChanges: grpc.aio.UnaryUnaryMultiCallable[
|
|
124
|
+
weaveapi.modex.v1.service_pb2.GetModelChangesRequest,
|
|
125
|
+
weaveapi.modex.v1.service_pb2.GetModelChangesResponse,
|
|
126
|
+
]
|
|
127
|
+
|
|
128
|
+
GetTrendingModels: grpc.aio.UnaryUnaryMultiCallable[
|
|
129
|
+
weaveapi.modex.v1.service_pb2.GetTrendingModelsRequest,
|
|
130
|
+
weaveapi.modex.v1.service_pb2.GetTrendingModelsResponse,
|
|
131
|
+
]
|
|
132
|
+
|
|
133
|
+
GetRecentUpdates: grpc.aio.UnaryUnaryMultiCallable[
|
|
134
|
+
weaveapi.modex.v1.service_pb2.GetRecentUpdatesRequest,
|
|
135
|
+
weaveapi.modex.v1.service_pb2.GetRecentUpdatesResponse,
|
|
136
|
+
]
|
|
137
|
+
|
|
138
|
+
ExportData: grpc.aio.UnaryUnaryMultiCallable[
|
|
139
|
+
weaveapi.modex.v1.service_pb2.ExportDataRequest,
|
|
140
|
+
weaveapi.modex.v1.service_pb2.ExportDataResponse,
|
|
141
|
+
]
|
|
142
|
+
|
|
143
|
+
GetStatistics: grpc.aio.UnaryUnaryMultiCallable[
|
|
144
|
+
weaveapi.modex.v1.service_pb2.GetStatisticsRequest,
|
|
145
|
+
weaveapi.modex.v1.service_pb2.GetStatisticsResponse,
|
|
146
|
+
]
|
|
147
|
+
|
|
148
|
+
class ModexServicer(metaclass=abc.ABCMeta):
|
|
149
|
+
@abc.abstractmethod
|
|
150
|
+
def ListProviders(
|
|
151
|
+
self,
|
|
152
|
+
request: weaveapi.modex.v1.service_pb2.ListProvidersRequest,
|
|
153
|
+
context: _ServicerContext,
|
|
154
|
+
) -> typing.Union[
|
|
155
|
+
weaveapi.modex.v1.service_pb2.ListProvidersResponse,
|
|
156
|
+
collections.abc.Awaitable[weaveapi.modex.v1.service_pb2.ListProvidersResponse],
|
|
157
|
+
]: ...
|
|
158
|
+
@abc.abstractmethod
|
|
159
|
+
def GetProvider(
|
|
160
|
+
self,
|
|
161
|
+
request: weaveapi.modex.v1.service_pb2.GetProviderRequest,
|
|
162
|
+
context: _ServicerContext,
|
|
163
|
+
) -> typing.Union[
|
|
164
|
+
weaveapi.modex.v1.service_pb2.GetProviderResponse,
|
|
165
|
+
collections.abc.Awaitable[weaveapi.modex.v1.service_pb2.GetProviderResponse],
|
|
166
|
+
]: ...
|
|
167
|
+
@abc.abstractmethod
|
|
168
|
+
def ListModels(
|
|
169
|
+
self,
|
|
170
|
+
request: weaveapi.modex.v1.service_pb2.ListModelsRequest,
|
|
171
|
+
context: _ServicerContext,
|
|
172
|
+
) -> typing.Union[
|
|
173
|
+
weaveapi.modex.v1.service_pb2.ListModelsResponse,
|
|
174
|
+
collections.abc.Awaitable[weaveapi.modex.v1.service_pb2.ListModelsResponse],
|
|
175
|
+
]: ...
|
|
176
|
+
@abc.abstractmethod
|
|
177
|
+
def GetModel(
|
|
178
|
+
self,
|
|
179
|
+
request: weaveapi.modex.v1.service_pb2.GetModelRequest,
|
|
180
|
+
context: _ServicerContext,
|
|
181
|
+
) -> typing.Union[
|
|
182
|
+
weaveapi.modex.v1.service_pb2.GetModelResponse,
|
|
183
|
+
collections.abc.Awaitable[weaveapi.modex.v1.service_pb2.GetModelResponse],
|
|
184
|
+
]: ...
|
|
185
|
+
@abc.abstractmethod
|
|
186
|
+
def SearchModels(
|
|
187
|
+
self,
|
|
188
|
+
request: weaveapi.modex.v1.service_pb2.SearchModelsRequest,
|
|
189
|
+
context: _ServicerContext,
|
|
190
|
+
) -> typing.Union[
|
|
191
|
+
weaveapi.modex.v1.service_pb2.SearchModelsResponse,
|
|
192
|
+
collections.abc.Awaitable[weaveapi.modex.v1.service_pb2.SearchModelsResponse],
|
|
193
|
+
]: ...
|
|
194
|
+
@abc.abstractmethod
|
|
195
|
+
def CompareModels(
|
|
196
|
+
self,
|
|
197
|
+
request: weaveapi.modex.v1.service_pb2.CompareModelsRequest,
|
|
198
|
+
context: _ServicerContext,
|
|
199
|
+
) -> typing.Union[
|
|
200
|
+
weaveapi.modex.v1.service_pb2.CompareModelsResponse,
|
|
201
|
+
collections.abc.Awaitable[weaveapi.modex.v1.service_pb2.CompareModelsResponse],
|
|
202
|
+
]: ...
|
|
203
|
+
@abc.abstractmethod
|
|
204
|
+
def GetModelPriceHistory(
|
|
205
|
+
self,
|
|
206
|
+
request: weaveapi.modex.v1.service_pb2.GetModelPriceHistoryRequest,
|
|
207
|
+
context: _ServicerContext,
|
|
208
|
+
) -> typing.Union[
|
|
209
|
+
weaveapi.modex.v1.service_pb2.GetModelPriceHistoryResponse,
|
|
210
|
+
collections.abc.Awaitable[
|
|
211
|
+
weaveapi.modex.v1.service_pb2.GetModelPriceHistoryResponse
|
|
212
|
+
],
|
|
213
|
+
]: ...
|
|
214
|
+
@abc.abstractmethod
|
|
215
|
+
def GetModelChanges(
|
|
216
|
+
self,
|
|
217
|
+
request: weaveapi.modex.v1.service_pb2.GetModelChangesRequest,
|
|
218
|
+
context: _ServicerContext,
|
|
219
|
+
) -> typing.Union[
|
|
220
|
+
weaveapi.modex.v1.service_pb2.GetModelChangesResponse,
|
|
221
|
+
collections.abc.Awaitable[
|
|
222
|
+
weaveapi.modex.v1.service_pb2.GetModelChangesResponse
|
|
223
|
+
],
|
|
224
|
+
]: ...
|
|
225
|
+
@abc.abstractmethod
|
|
226
|
+
def GetTrendingModels(
|
|
227
|
+
self,
|
|
228
|
+
request: weaveapi.modex.v1.service_pb2.GetTrendingModelsRequest,
|
|
229
|
+
context: _ServicerContext,
|
|
230
|
+
) -> typing.Union[
|
|
231
|
+
weaveapi.modex.v1.service_pb2.GetTrendingModelsResponse,
|
|
232
|
+
collections.abc.Awaitable[
|
|
233
|
+
weaveapi.modex.v1.service_pb2.GetTrendingModelsResponse
|
|
234
|
+
],
|
|
235
|
+
]: ...
|
|
236
|
+
@abc.abstractmethod
|
|
237
|
+
def GetRecentUpdates(
|
|
238
|
+
self,
|
|
239
|
+
request: weaveapi.modex.v1.service_pb2.GetRecentUpdatesRequest,
|
|
240
|
+
context: _ServicerContext,
|
|
241
|
+
) -> typing.Union[
|
|
242
|
+
weaveapi.modex.v1.service_pb2.GetRecentUpdatesResponse,
|
|
243
|
+
collections.abc.Awaitable[
|
|
244
|
+
weaveapi.modex.v1.service_pb2.GetRecentUpdatesResponse
|
|
245
|
+
],
|
|
246
|
+
]: ...
|
|
247
|
+
@abc.abstractmethod
|
|
248
|
+
def ExportData(
|
|
249
|
+
self,
|
|
250
|
+
request: weaveapi.modex.v1.service_pb2.ExportDataRequest,
|
|
251
|
+
context: _ServicerContext,
|
|
252
|
+
) -> typing.Union[
|
|
253
|
+
weaveapi.modex.v1.service_pb2.ExportDataResponse,
|
|
254
|
+
collections.abc.Awaitable[weaveapi.modex.v1.service_pb2.ExportDataResponse],
|
|
255
|
+
]: ...
|
|
256
|
+
@abc.abstractmethod
|
|
257
|
+
def GetStatistics(
|
|
258
|
+
self,
|
|
259
|
+
request: weaveapi.modex.v1.service_pb2.GetStatisticsRequest,
|
|
260
|
+
context: _ServicerContext,
|
|
261
|
+
) -> typing.Union[
|
|
262
|
+
weaveapi.modex.v1.service_pb2.GetStatisticsResponse,
|
|
263
|
+
collections.abc.Awaitable[weaveapi.modex.v1.service_pb2.GetStatisticsResponse],
|
|
264
|
+
]: ...
|
|
265
|
+
|
|
266
|
+
def add_ModexServicer_to_server(
|
|
267
|
+
servicer: ModexServicer, server: typing.Union[grpc.Server, grpc.aio.Server]
|
|
268
|
+
) -> None: ...
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: weaveapi/payment/v1/invoice.proto
|
|
5
|
+
# Protobuf Python Version: 6.32.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
|
|
8
|
+
from google.protobuf import descriptor as _descriptor
|
|
9
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
10
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
11
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
12
|
+
from google.protobuf.internal import builder as _builder
|
|
13
|
+
|
|
14
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
15
|
+
_runtime_version.Domain.PUBLIC, 6, 32, 0, "", "weaveapi/payment/v1/invoice.proto"
|
|
16
|
+
)
|
|
17
|
+
# @@protoc_insertion_point(imports)
|
|
18
|
+
|
|
19
|
+
_sym_db = _symbol_database.Default()
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
23
|
+
b'\n!weaveapi/payment/v1/invoice.proto\x12\x13weaveapi.payment.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&weaveapi/payment/v1/subscription.proto"\xd6\x08\n\x07Invoice\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n\x06number\x18\x02 \x01(\tR\x06number\x12\x16\n\x06status\x18\x03 \x01(\tR\x06status\x12%\n\x0esubtotal_cents\x18\x04 \x01(\x03R\rsubtotalCents\x12\x1b\n\ttax_cents\x18\x05 \x01(\x03R\x08taxCents\x12\x1f\n\x0btotal_cents\x18\x06 \x01(\x03R\ntotalCents\x12*\n\x11\x61mount_paid_cents\x18\x07 \x01(\x03R\x0f\x61mountPaidCents\x12(\n\x10\x61mount_due_cents\x18\x08 \x01(\x03R\x0e\x61mountDueCents\x12\x1a\n\x08\x63urrency\x18\t \x01(\tR\x08\x63urrency\x12\x39\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12=\n\x0cperiod_start\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bperiodStart\x12\x39\n\nperiod_end\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tperiodEnd\x12\x35\n\x08\x64ue_date\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x64ueDate\x12\x33\n\x07paid_at\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x06paidAt\x12\x43\n\nline_items\x18\x0f \x03(\x0b\x32$.weaveapi.payment.v1.InvoiceLineItemR\tlineItems\x12I\n\x0epayment_method\x18\x10 \x01(\x0b\x32".weaveapi.payment.v1.PaymentMethodR\rpaymentMethod\x12*\n\x11payment_intent_id\x18\x11 \x01(\tR\x0fpaymentIntentId\x12\x17\n\x07pdf_url\x18\x12 \x01(\tR\x06pdfUrl\x12,\n\x12hosted_invoice_url\x18\x13 \x01(\tR\x10hostedInvoiceUrl\x12\x39\n\x08\x64iscount\x18\x14 \x01(\x0b\x32\x1d.weaveapi.payment.v1.DiscountR\x08\x64iscount\x12\x39\n\ttax_rates\x18\x15 \x03(\x0b\x32\x1c.weaveapi.payment.v1.TaxRateR\x08taxRates\x12\x15\n\x06tax_id\x18\x16 \x01(\tR\x05taxId\x12\x46\n\x08metadata\x18\x17 \x03(\x0b\x32*.weaveapi.payment.v1.Invoice.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"\xc9\x03\n\x0fInvoiceLineItem\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12!\n\x0c\x61mount_cents\x18\x03 \x01(\x03R\x0b\x61mountCents\x12\x1a\n\x08\x63urrency\x18\x04 \x01(\tR\x08\x63urrency\x12\x1a\n\x08quantity\x18\x05 \x01(\x05R\x08quantity\x12*\n\x11unit_amount_cents\x18\x06 \x01(\x03R\x0funitAmountCents\x12=\n\x0cperiod_start\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bperiodStart\x12\x39\n\nperiod_end\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tperiodEnd\x12\x1d\n\nproduct_id\x18\t \x01(\tR\tproductId\x12\x19\n\x08price_id\x18\n \x01(\tR\x07priceId\x12\x1c\n\tproration\x18\x0b \x01(\x08R\tproration\x12+\n\x11proration_details\x18\x0c \x01(\tR\x10prorationDetails"\x9e\x01\n\x07TaxRate\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12!\n\x0c\x64isplay_name\x18\x02 \x01(\tR\x0b\x64isplayName\x12"\n\x0cjurisdiction\x18\x03 \x01(\tR\x0cjurisdiction\x12\x1e\n\npercentage\x18\x04 \x01(\x01R\npercentage\x12\x1c\n\tinclusive\x18\x05 \x01(\x08R\tinclusiveB\xd1\x01\n\x17\x63om.weaveapi.payment.v1B\x0cInvoiceProtoP\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'
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
_globals = globals()
|
|
27
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
28
|
+
_builder.BuildTopDescriptorsAndMessages(
|
|
29
|
+
DESCRIPTOR, "weaveapi.payment.v1.invoice_pb2", _globals
|
|
30
|
+
)
|
|
31
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
32
|
+
_globals["DESCRIPTOR"]._loaded_options = None
|
|
33
|
+
_globals[
|
|
34
|
+
"DESCRIPTOR"
|
|
35
|
+
]._serialized_options = b"\n\027com.weaveapi.payment.v1B\014InvoiceProtoP\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
|
+
_globals["_INVOICE_METADATAENTRY"]._loaded_options = None
|
|
37
|
+
_globals["_INVOICE_METADATAENTRY"]._serialized_options = b"8\001"
|
|
38
|
+
_globals["_INVOICE"]._serialized_start = 132
|
|
39
|
+
_globals["_INVOICE"]._serialized_end = 1242
|
|
40
|
+
_globals["_INVOICE_METADATAENTRY"]._serialized_start = 1183
|
|
41
|
+
_globals["_INVOICE_METADATAENTRY"]._serialized_end = 1242
|
|
42
|
+
_globals["_INVOICELINEITEM"]._serialized_start = 1245
|
|
43
|
+
_globals["_INVOICELINEITEM"]._serialized_end = 1702
|
|
44
|
+
_globals["_TAXRATE"]._serialized_start = 1705
|
|
45
|
+
_globals["_TAXRATE"]._serialized_end = 1863
|
|
46
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import google.protobuf.timestamp_pb2
|
|
12
|
+
import typing
|
|
13
|
+
import weaveapi.payment.v1.subscription_pb2
|
|
14
|
+
|
|
15
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
16
|
+
|
|
17
|
+
@typing.final
|
|
18
|
+
class Invoice(google.protobuf.message.Message):
|
|
19
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
20
|
+
|
|
21
|
+
@typing.final
|
|
22
|
+
class MetadataEntry(google.protobuf.message.Message):
|
|
23
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
24
|
+
|
|
25
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
26
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
27
|
+
key: builtins.str
|
|
28
|
+
value: builtins.str
|
|
29
|
+
def __init__(
|
|
30
|
+
self,
|
|
31
|
+
*,
|
|
32
|
+
key: builtins.str = ...,
|
|
33
|
+
value: builtins.str = ...,
|
|
34
|
+
) -> None: ...
|
|
35
|
+
def ClearField(
|
|
36
|
+
self, field_name: typing.Literal["key", b"key", "value", b"value"]
|
|
37
|
+
) -> None: ...
|
|
38
|
+
|
|
39
|
+
ID_FIELD_NUMBER: builtins.int
|
|
40
|
+
NUMBER_FIELD_NUMBER: builtins.int
|
|
41
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
42
|
+
SUBTOTAL_CENTS_FIELD_NUMBER: builtins.int
|
|
43
|
+
TAX_CENTS_FIELD_NUMBER: builtins.int
|
|
44
|
+
TOTAL_CENTS_FIELD_NUMBER: builtins.int
|
|
45
|
+
AMOUNT_PAID_CENTS_FIELD_NUMBER: builtins.int
|
|
46
|
+
AMOUNT_DUE_CENTS_FIELD_NUMBER: builtins.int
|
|
47
|
+
CURRENCY_FIELD_NUMBER: builtins.int
|
|
48
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
49
|
+
PERIOD_START_FIELD_NUMBER: builtins.int
|
|
50
|
+
PERIOD_END_FIELD_NUMBER: builtins.int
|
|
51
|
+
DUE_DATE_FIELD_NUMBER: builtins.int
|
|
52
|
+
PAID_AT_FIELD_NUMBER: builtins.int
|
|
53
|
+
LINE_ITEMS_FIELD_NUMBER: builtins.int
|
|
54
|
+
PAYMENT_METHOD_FIELD_NUMBER: builtins.int
|
|
55
|
+
PAYMENT_INTENT_ID_FIELD_NUMBER: builtins.int
|
|
56
|
+
PDF_URL_FIELD_NUMBER: builtins.int
|
|
57
|
+
HOSTED_INVOICE_URL_FIELD_NUMBER: builtins.int
|
|
58
|
+
DISCOUNT_FIELD_NUMBER: builtins.int
|
|
59
|
+
TAX_RATES_FIELD_NUMBER: builtins.int
|
|
60
|
+
TAX_ID_FIELD_NUMBER: builtins.int
|
|
61
|
+
METADATA_FIELD_NUMBER: builtins.int
|
|
62
|
+
id: builtins.str
|
|
63
|
+
"""Stripe invoice ID"""
|
|
64
|
+
number: builtins.str
|
|
65
|
+
"""Invoice number"""
|
|
66
|
+
status: builtins.str
|
|
67
|
+
"""draft, open, paid, void, uncollectible"""
|
|
68
|
+
subtotal_cents: builtins.int
|
|
69
|
+
"""Amounts"""
|
|
70
|
+
tax_cents: builtins.int
|
|
71
|
+
total_cents: builtins.int
|
|
72
|
+
amount_paid_cents: builtins.int
|
|
73
|
+
amount_due_cents: builtins.int
|
|
74
|
+
currency: builtins.str
|
|
75
|
+
payment_intent_id: builtins.str
|
|
76
|
+
pdf_url: builtins.str
|
|
77
|
+
"""Files"""
|
|
78
|
+
hosted_invoice_url: builtins.str
|
|
79
|
+
tax_id: builtins.str
|
|
80
|
+
@property
|
|
81
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
82
|
+
"""Dates"""
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def period_start(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
86
|
+
@property
|
|
87
|
+
def period_end(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
88
|
+
@property
|
|
89
|
+
def due_date(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
90
|
+
@property
|
|
91
|
+
def paid_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
92
|
+
@property
|
|
93
|
+
def line_items(
|
|
94
|
+
self,
|
|
95
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
96
|
+
global___InvoiceLineItem
|
|
97
|
+
]:
|
|
98
|
+
"""Line items"""
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
def payment_method(self) -> weaveapi.payment.v1.subscription_pb2.PaymentMethod:
|
|
102
|
+
"""Payment"""
|
|
103
|
+
|
|
104
|
+
@property
|
|
105
|
+
def discount(self) -> weaveapi.payment.v1.subscription_pb2.Discount:
|
|
106
|
+
"""Discount"""
|
|
107
|
+
|
|
108
|
+
@property
|
|
109
|
+
def tax_rates(
|
|
110
|
+
self,
|
|
111
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
112
|
+
global___TaxRate
|
|
113
|
+
]:
|
|
114
|
+
"""Tax"""
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
def metadata(
|
|
118
|
+
self,
|
|
119
|
+
) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
120
|
+
"""Metadata"""
|
|
121
|
+
|
|
122
|
+
def __init__(
|
|
123
|
+
self,
|
|
124
|
+
*,
|
|
125
|
+
id: builtins.str = ...,
|
|
126
|
+
number: builtins.str = ...,
|
|
127
|
+
status: builtins.str = ...,
|
|
128
|
+
subtotal_cents: builtins.int = ...,
|
|
129
|
+
tax_cents: builtins.int = ...,
|
|
130
|
+
total_cents: builtins.int = ...,
|
|
131
|
+
amount_paid_cents: builtins.int = ...,
|
|
132
|
+
amount_due_cents: builtins.int = ...,
|
|
133
|
+
currency: builtins.str = ...,
|
|
134
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
135
|
+
period_start: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
136
|
+
period_end: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
137
|
+
due_date: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
138
|
+
paid_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
139
|
+
line_items: collections.abc.Iterable[global___InvoiceLineItem] | None = ...,
|
|
140
|
+
payment_method: weaveapi.payment.v1.subscription_pb2.PaymentMethod | None = ...,
|
|
141
|
+
payment_intent_id: builtins.str = ...,
|
|
142
|
+
pdf_url: builtins.str = ...,
|
|
143
|
+
hosted_invoice_url: builtins.str = ...,
|
|
144
|
+
discount: weaveapi.payment.v1.subscription_pb2.Discount | None = ...,
|
|
145
|
+
tax_rates: collections.abc.Iterable[global___TaxRate] | None = ...,
|
|
146
|
+
tax_id: builtins.str = ...,
|
|
147
|
+
metadata: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
148
|
+
) -> None: ...
|
|
149
|
+
def HasField(
|
|
150
|
+
self,
|
|
151
|
+
field_name: typing.Literal[
|
|
152
|
+
"created_at",
|
|
153
|
+
b"created_at",
|
|
154
|
+
"discount",
|
|
155
|
+
b"discount",
|
|
156
|
+
"due_date",
|
|
157
|
+
b"due_date",
|
|
158
|
+
"paid_at",
|
|
159
|
+
b"paid_at",
|
|
160
|
+
"payment_method",
|
|
161
|
+
b"payment_method",
|
|
162
|
+
"period_end",
|
|
163
|
+
b"period_end",
|
|
164
|
+
"period_start",
|
|
165
|
+
b"period_start",
|
|
166
|
+
],
|
|
167
|
+
) -> builtins.bool: ...
|
|
168
|
+
def ClearField(
|
|
169
|
+
self,
|
|
170
|
+
field_name: typing.Literal[
|
|
171
|
+
"amount_due_cents",
|
|
172
|
+
b"amount_due_cents",
|
|
173
|
+
"amount_paid_cents",
|
|
174
|
+
b"amount_paid_cents",
|
|
175
|
+
"created_at",
|
|
176
|
+
b"created_at",
|
|
177
|
+
"currency",
|
|
178
|
+
b"currency",
|
|
179
|
+
"discount",
|
|
180
|
+
b"discount",
|
|
181
|
+
"due_date",
|
|
182
|
+
b"due_date",
|
|
183
|
+
"hosted_invoice_url",
|
|
184
|
+
b"hosted_invoice_url",
|
|
185
|
+
"id",
|
|
186
|
+
b"id",
|
|
187
|
+
"line_items",
|
|
188
|
+
b"line_items",
|
|
189
|
+
"metadata",
|
|
190
|
+
b"metadata",
|
|
191
|
+
"number",
|
|
192
|
+
b"number",
|
|
193
|
+
"paid_at",
|
|
194
|
+
b"paid_at",
|
|
195
|
+
"payment_intent_id",
|
|
196
|
+
b"payment_intent_id",
|
|
197
|
+
"payment_method",
|
|
198
|
+
b"payment_method",
|
|
199
|
+
"pdf_url",
|
|
200
|
+
b"pdf_url",
|
|
201
|
+
"period_end",
|
|
202
|
+
b"period_end",
|
|
203
|
+
"period_start",
|
|
204
|
+
b"period_start",
|
|
205
|
+
"status",
|
|
206
|
+
b"status",
|
|
207
|
+
"subtotal_cents",
|
|
208
|
+
b"subtotal_cents",
|
|
209
|
+
"tax_cents",
|
|
210
|
+
b"tax_cents",
|
|
211
|
+
"tax_id",
|
|
212
|
+
b"tax_id",
|
|
213
|
+
"tax_rates",
|
|
214
|
+
b"tax_rates",
|
|
215
|
+
"total_cents",
|
|
216
|
+
b"total_cents",
|
|
217
|
+
],
|
|
218
|
+
) -> None: ...
|
|
219
|
+
|
|
220
|
+
global___Invoice = Invoice
|
|
221
|
+
|
|
222
|
+
@typing.final
|
|
223
|
+
class InvoiceLineItem(google.protobuf.message.Message):
|
|
224
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
225
|
+
|
|
226
|
+
ID_FIELD_NUMBER: builtins.int
|
|
227
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
228
|
+
AMOUNT_CENTS_FIELD_NUMBER: builtins.int
|
|
229
|
+
CURRENCY_FIELD_NUMBER: builtins.int
|
|
230
|
+
QUANTITY_FIELD_NUMBER: builtins.int
|
|
231
|
+
UNIT_AMOUNT_CENTS_FIELD_NUMBER: builtins.int
|
|
232
|
+
PERIOD_START_FIELD_NUMBER: builtins.int
|
|
233
|
+
PERIOD_END_FIELD_NUMBER: builtins.int
|
|
234
|
+
PRODUCT_ID_FIELD_NUMBER: builtins.int
|
|
235
|
+
PRICE_ID_FIELD_NUMBER: builtins.int
|
|
236
|
+
PRORATION_FIELD_NUMBER: builtins.int
|
|
237
|
+
PRORATION_DETAILS_FIELD_NUMBER: builtins.int
|
|
238
|
+
id: builtins.str
|
|
239
|
+
description: builtins.str
|
|
240
|
+
amount_cents: builtins.int
|
|
241
|
+
currency: builtins.str
|
|
242
|
+
quantity: builtins.int
|
|
243
|
+
unit_amount_cents: builtins.int
|
|
244
|
+
product_id: builtins.str
|
|
245
|
+
"""Product/Price info"""
|
|
246
|
+
price_id: builtins.str
|
|
247
|
+
proration: builtins.bool
|
|
248
|
+
"""Proration"""
|
|
249
|
+
proration_details: builtins.str
|
|
250
|
+
@property
|
|
251
|
+
def period_start(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
252
|
+
"""Period for subscription items"""
|
|
253
|
+
|
|
254
|
+
@property
|
|
255
|
+
def period_end(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
256
|
+
def __init__(
|
|
257
|
+
self,
|
|
258
|
+
*,
|
|
259
|
+
id: builtins.str = ...,
|
|
260
|
+
description: builtins.str = ...,
|
|
261
|
+
amount_cents: builtins.int = ...,
|
|
262
|
+
currency: builtins.str = ...,
|
|
263
|
+
quantity: builtins.int = ...,
|
|
264
|
+
unit_amount_cents: builtins.int = ...,
|
|
265
|
+
period_start: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
266
|
+
period_end: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
267
|
+
product_id: builtins.str = ...,
|
|
268
|
+
price_id: builtins.str = ...,
|
|
269
|
+
proration: builtins.bool = ...,
|
|
270
|
+
proration_details: builtins.str = ...,
|
|
271
|
+
) -> None: ...
|
|
272
|
+
def HasField(
|
|
273
|
+
self,
|
|
274
|
+
field_name: typing.Literal[
|
|
275
|
+
"period_end", b"period_end", "period_start", b"period_start"
|
|
276
|
+
],
|
|
277
|
+
) -> builtins.bool: ...
|
|
278
|
+
def ClearField(
|
|
279
|
+
self,
|
|
280
|
+
field_name: typing.Literal[
|
|
281
|
+
"amount_cents",
|
|
282
|
+
b"amount_cents",
|
|
283
|
+
"currency",
|
|
284
|
+
b"currency",
|
|
285
|
+
"description",
|
|
286
|
+
b"description",
|
|
287
|
+
"id",
|
|
288
|
+
b"id",
|
|
289
|
+
"period_end",
|
|
290
|
+
b"period_end",
|
|
291
|
+
"period_start",
|
|
292
|
+
b"period_start",
|
|
293
|
+
"price_id",
|
|
294
|
+
b"price_id",
|
|
295
|
+
"product_id",
|
|
296
|
+
b"product_id",
|
|
297
|
+
"proration",
|
|
298
|
+
b"proration",
|
|
299
|
+
"proration_details",
|
|
300
|
+
b"proration_details",
|
|
301
|
+
"quantity",
|
|
302
|
+
b"quantity",
|
|
303
|
+
"unit_amount_cents",
|
|
304
|
+
b"unit_amount_cents",
|
|
305
|
+
],
|
|
306
|
+
) -> None: ...
|
|
307
|
+
|
|
308
|
+
global___InvoiceLineItem = InvoiceLineItem
|
|
309
|
+
|
|
310
|
+
@typing.final
|
|
311
|
+
class TaxRate(google.protobuf.message.Message):
|
|
312
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
313
|
+
|
|
314
|
+
ID_FIELD_NUMBER: builtins.int
|
|
315
|
+
DISPLAY_NAME_FIELD_NUMBER: builtins.int
|
|
316
|
+
JURISDICTION_FIELD_NUMBER: builtins.int
|
|
317
|
+
PERCENTAGE_FIELD_NUMBER: builtins.int
|
|
318
|
+
INCLUSIVE_FIELD_NUMBER: builtins.int
|
|
319
|
+
id: builtins.str
|
|
320
|
+
display_name: builtins.str
|
|
321
|
+
jurisdiction: builtins.str
|
|
322
|
+
percentage: builtins.float
|
|
323
|
+
inclusive: builtins.bool
|
|
324
|
+
def __init__(
|
|
325
|
+
self,
|
|
326
|
+
*,
|
|
327
|
+
id: builtins.str = ...,
|
|
328
|
+
display_name: builtins.str = ...,
|
|
329
|
+
jurisdiction: builtins.str = ...,
|
|
330
|
+
percentage: builtins.float = ...,
|
|
331
|
+
inclusive: builtins.bool = ...,
|
|
332
|
+
) -> None: ...
|
|
333
|
+
def ClearField(
|
|
334
|
+
self,
|
|
335
|
+
field_name: typing.Literal[
|
|
336
|
+
"display_name",
|
|
337
|
+
b"display_name",
|
|
338
|
+
"id",
|
|
339
|
+
b"id",
|
|
340
|
+
"inclusive",
|
|
341
|
+
b"inclusive",
|
|
342
|
+
"jurisdiction",
|
|
343
|
+
b"jurisdiction",
|
|
344
|
+
"percentage",
|
|
345
|
+
b"percentage",
|
|
346
|
+
],
|
|
347
|
+
) -> None: ...
|
|
348
|
+
|
|
349
|
+
global___TaxRate = TaxRate
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
_T = typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(
|
|
15
|
+
collections.abc.AsyncIterator[_T],
|
|
16
|
+
collections.abc.Iterator[_T],
|
|
17
|
+
metaclass=abc.ABCMeta,
|
|
18
|
+
): ...
|
|
19
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
20
|
+
...
|