viam-sdk 0.41.1__py3-none-linux_armv6l.whl → 0.66.0__py3-none-linux_armv6l.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.

Potentially problematic release.


This version of viam-sdk might be problematic. Click here for more details.

Files changed (225) hide show
  1. viam/app/app_client.py +225 -51
  2. viam/app/billing_client.py +47 -5
  3. viam/app/data_client.py +771 -234
  4. viam/app/ml_training_client.py +3 -5
  5. viam/app/provisioning_client.py +3 -5
  6. viam/app/viam_client.py +58 -11
  7. viam/components/arm/arm.py +1 -1
  8. viam/components/arm/service.py +1 -1
  9. viam/components/audio_in/__init__.py +24 -0
  10. viam/components/audio_in/audio_in.py +74 -0
  11. viam/components/audio_in/client.py +76 -0
  12. viam/components/audio_in/service.py +83 -0
  13. viam/components/audio_out/__init__.py +21 -0
  14. viam/components/audio_out/audio_out.py +72 -0
  15. viam/components/audio_out/client.py +67 -0
  16. viam/components/audio_out/service.py +63 -0
  17. viam/components/base/base.py +1 -1
  18. viam/components/board/board.py +8 -2
  19. viam/components/board/client.py +2 -1
  20. viam/components/board/service.py +1 -0
  21. viam/components/button/__init__.py +10 -0
  22. viam/components/button/button.py +41 -0
  23. viam/components/button/client.py +52 -0
  24. viam/components/button/service.py +46 -0
  25. viam/components/camera/camera.py +15 -30
  26. viam/components/camera/client.py +10 -21
  27. viam/components/camera/service.py +15 -28
  28. viam/components/component_base.py +2 -2
  29. viam/components/gantry/client.py +17 -2
  30. viam/components/gantry/gantry.py +32 -1
  31. viam/components/gantry/service.py +21 -5
  32. viam/components/gripper/__init__.py +2 -0
  33. viam/components/gripper/client.py +25 -2
  34. viam/components/gripper/gripper.py +76 -1
  35. viam/components/gripper/service.py +32 -3
  36. viam/components/input/input.py +1 -1
  37. viam/components/motor/motor.py +1 -1
  38. viam/components/power_sensor/power_sensor.py +1 -1
  39. viam/components/switch/__init__.py +10 -0
  40. viam/components/switch/client.py +83 -0
  41. viam/components/switch/service.py +72 -0
  42. viam/components/switch/switch.py +98 -0
  43. viam/gen/app/agent/v1/agent_pb2.py +1 -1
  44. viam/gen/app/cloudslam/v1/cloud_slam_pb2.py +1 -1
  45. viam/gen/app/data/v1/data_grpc.py +74 -2
  46. viam/gen/app/data/v1/data_pb2.py +198 -104
  47. viam/gen/app/data/v1/data_pb2.pyi +563 -31
  48. viam/gen/app/datapipelines/__init__.py +0 -0
  49. viam/gen/app/datapipelines/v1/__init__.py +0 -0
  50. viam/gen/app/datapipelines/v1/data_pipelines_grpc.py +84 -0
  51. viam/gen/app/datapipelines/v1/data_pipelines_pb2.py +57 -0
  52. viam/gen/app/datapipelines/v1/data_pipelines_pb2.pyi +387 -0
  53. viam/gen/app/dataset/v1/dataset_grpc.py +10 -2
  54. viam/gen/app/dataset/v1/dataset_pb2.py +8 -4
  55. viam/gen/app/dataset/v1/dataset_pb2.pyi +36 -1
  56. viam/gen/app/datasync/v1/data_sync_pb2.py +39 -35
  57. viam/gen/app/datasync/v1/data_sync_pb2.pyi +21 -8
  58. viam/gen/app/mlinference/v1/ml_inference_pb2.py +7 -7
  59. viam/gen/app/mlinference/v1/ml_inference_pb2.pyi +4 -2
  60. viam/gen/app/mltraining/v1/ml_training_grpc.py +10 -2
  61. viam/gen/app/mltraining/v1/ml_training_pb2.py +63 -43
  62. viam/gen/app/mltraining/v1/ml_training_pb2.pyi +112 -7
  63. viam/gen/app/packages/v1/packages_pb2.py +1 -1
  64. viam/gen/app/v1/app_grpc.py +74 -3
  65. viam/gen/app/v1/app_pb2.py +600 -545
  66. viam/gen/app/v1/app_pb2.pyi +1108 -258
  67. viam/gen/app/v1/billing_grpc.py +26 -2
  68. viam/gen/app/v1/billing_pb2.py +52 -36
  69. viam/gen/app/v1/billing_pb2.pyi +158 -4
  70. viam/gen/app/v1/end_user_pb2.py +1 -1
  71. viam/gen/app/v1/robot_pb2.py +95 -89
  72. viam/gen/app/v1/robot_pb2.pyi +121 -9
  73. viam/gen/common/v1/common_pb2.py +76 -58
  74. viam/gen/common/v1/common_pb2.pyi +186 -17
  75. viam/gen/component/arm/v1/arm_grpc.py +10 -2
  76. viam/gen/component/arm/v1/arm_pb2.py +5 -3
  77. viam/gen/component/audioin/__init__.py +0 -0
  78. viam/gen/component/audioin/v1/__init__.py +0 -0
  79. viam/gen/component/audioin/v1/audioin_grpc.py +54 -0
  80. viam/gen/component/audioin/v1/audioin_pb2.py +34 -0
  81. viam/gen/component/audioin/v1/audioin_pb2.pyi +94 -0
  82. viam/gen/component/audioinput/v1/audioinput_pb2.py +1 -1
  83. viam/gen/component/audioout/__init__.py +0 -0
  84. viam/gen/component/audioout/v1/__init__.py +0 -0
  85. viam/gen/component/audioout/v1/audioout_grpc.py +54 -0
  86. viam/gen/component/audioout/v1/audioout_pb2.py +32 -0
  87. viam/gen/component/audioout/v1/audioout_pb2.pyi +47 -0
  88. viam/gen/component/base/v1/base_pb2.py +1 -1
  89. viam/gen/component/board/v1/board_pb2.py +1 -1
  90. viam/gen/component/button/v1/button_pb2.py +1 -1
  91. viam/gen/component/camera/v1/camera_grpc.py +1 -0
  92. viam/gen/component/camera/v1/camera_pb2.py +37 -36
  93. viam/gen/component/camera/v1/camera_pb2.pyi +31 -4
  94. viam/gen/component/encoder/v1/encoder_pb2.py +1 -1
  95. viam/gen/component/gantry/v1/gantry_grpc.py +9 -1
  96. viam/gen/component/gantry/v1/gantry_pb2.py +5 -3
  97. viam/gen/component/generic/v1/generic_pb2.py +1 -1
  98. viam/gen/component/gripper/v1/gripper_grpc.py +18 -2
  99. viam/gen/component/gripper/v1/gripper_pb2.py +12 -4
  100. viam/gen/component/gripper/v1/gripper_pb2.pyi +43 -1
  101. viam/gen/component/inputcontroller/v1/input_controller_pb2.py +1 -1
  102. viam/gen/component/motor/v1/motor_pb2.py +1 -1
  103. viam/gen/component/movementsensor/v1/movementsensor_pb2.py +1 -1
  104. viam/gen/component/posetracker/v1/pose_tracker_pb2.py +1 -1
  105. viam/gen/component/powersensor/v1/powersensor_pb2.py +1 -1
  106. viam/gen/component/sensor/v1/sensor_pb2.py +1 -1
  107. viam/gen/component/servo/v1/servo_pb2.py +1 -1
  108. viam/gen/component/switch/v1/switch_pb2.py +5 -5
  109. viam/gen/component/switch/v1/switch_pb2.pyi +9 -2
  110. viam/gen/component/testecho/v1/testecho_pb2.py +1 -1
  111. viam/gen/module/v1/module_pb2.py +5 -5
  112. viam/gen/module/v1/module_pb2.pyi +7 -2
  113. viam/gen/opentelemetry/__init__.py +0 -0
  114. viam/gen/opentelemetry/proto/__init__.py +0 -0
  115. viam/gen/opentelemetry/proto/common/__init__.py +0 -0
  116. viam/gen/opentelemetry/proto/common/v1/__init__.py +0 -0
  117. viam/gen/opentelemetry/proto/common/v1/common_grpc.py +0 -0
  118. viam/gen/opentelemetry/proto/common/v1/common_pb2.py +27 -0
  119. viam/gen/opentelemetry/proto/common/v1/common_pb2.pyi +208 -0
  120. viam/gen/opentelemetry/proto/resource/__init__.py +0 -0
  121. viam/gen/opentelemetry/proto/resource/v1/__init__.py +0 -0
  122. viam/gen/opentelemetry/proto/resource/v1/resource_grpc.py +0 -0
  123. viam/gen/opentelemetry/proto/resource/v1/resource_pb2.py +18 -0
  124. viam/gen/opentelemetry/proto/resource/v1/resource_pb2.pyi +59 -0
  125. viam/gen/opentelemetry/proto/trace/__init__.py +0 -0
  126. viam/gen/opentelemetry/proto/trace/v1/__init__.py +0 -0
  127. viam/gen/opentelemetry/proto/trace/v1/trace_grpc.py +0 -0
  128. viam/gen/opentelemetry/proto/trace/v1/trace_pb2.py +37 -0
  129. viam/gen/opentelemetry/proto/trace/v1/trace_pb2.pyi +402 -0
  130. viam/gen/proto/rpc/examples/echo/v1/echo_pb2.py +1 -1
  131. viam/gen/proto/rpc/examples/echoresource/v1/echoresource_pb2.py +1 -1
  132. viam/gen/proto/rpc/v1/auth_pb2.py +1 -1
  133. viam/gen/proto/rpc/webrtc/v1/grpc_pb2.py +1 -1
  134. viam/gen/proto/rpc/webrtc/v1/signaling_pb2.py +1 -1
  135. viam/gen/provisioning/v1/provisioning_grpc.py +10 -2
  136. viam/gen/provisioning/v1/provisioning_pb2.py +32 -26
  137. viam/gen/provisioning/v1/provisioning_pb2.pyi +46 -5
  138. viam/gen/robot/v1/robot_grpc.py +51 -34
  139. viam/gen/robot/v1/robot_pb2.py +147 -142
  140. viam/gen/robot/v1/robot_pb2.pyi +153 -86
  141. viam/gen/service/datamanager/v1/data_manager_grpc.py +11 -2
  142. viam/gen/service/datamanager/v1/data_manager_pb2.py +15 -8
  143. viam/gen/service/datamanager/v1/data_manager_pb2.pyi +47 -1
  144. viam/gen/service/discovery/v1/discovery_pb2.py +1 -1
  145. viam/gen/service/generic/v1/generic_pb2.py +1 -1
  146. viam/gen/service/mlmodel/v1/mlmodel_pb2.py +1 -1
  147. viam/gen/service/motion/v1/motion_pb2.py +92 -62
  148. viam/gen/service/motion/v1/motion_pb2.pyi +130 -68
  149. viam/gen/service/navigation/v1/navigation_pb2.py +1 -1
  150. viam/gen/service/sensors/v1/sensors_pb2.py +1 -1
  151. viam/gen/service/shell/v1/shell_pb2.py +1 -1
  152. viam/gen/service/slam/v1/slam_pb2.py +1 -1
  153. viam/gen/service/slam/v1/slam_pb2.pyi +1 -1
  154. viam/gen/service/video/__init__.py +0 -0
  155. viam/gen/service/video/v1/__init__.py +0 -0
  156. viam/gen/service/video/v1/video_grpc.py +39 -0
  157. viam/gen/service/video/v1/video_pb2.py +29 -0
  158. viam/gen/service/video/v1/video_pb2.pyi +72 -0
  159. viam/gen/service/vision/v1/vision_pb2.py +27 -27
  160. viam/gen/service/vision/v1/vision_pb2.pyi +28 -3
  161. viam/gen/service/worldstatestore/__init__.py +0 -0
  162. viam/gen/service/worldstatestore/v1/__init__.py +0 -0
  163. viam/gen/service/worldstatestore/v1/world_state_store_grpc.py +55 -0
  164. viam/gen/service/worldstatestore/v1/world_state_store_pb2.py +39 -0
  165. viam/gen/service/worldstatestore/v1/world_state_store_pb2.pyi +171 -0
  166. viam/gen/stream/v1/stream_pb2.py +1 -1
  167. viam/gen/tagger/v1/tagger_pb2.py +1 -1
  168. viam/logging.py +9 -8
  169. viam/media/audio.py +22 -10
  170. viam/media/utils/pil/__init__.py +5 -1
  171. viam/media/video.py +54 -40
  172. viam/module/module.py +85 -16
  173. viam/module/resource_data_consumer.py +41 -0
  174. viam/module/service.py +9 -1
  175. viam/proto/app/__init__.py +68 -0
  176. viam/proto/app/billing.py +16 -0
  177. viam/proto/app/data/__init__.py +48 -0
  178. viam/proto/app/datapipelines/__init__.py +56 -0
  179. viam/proto/app/dataset/__init__.py +4 -0
  180. viam/proto/app/mltraining/__init__.py +6 -0
  181. viam/proto/app/robot.py +6 -0
  182. viam/proto/common/__init__.py +14 -0
  183. viam/proto/component/audioin/__init__.py +16 -0
  184. viam/proto/component/audioout/__init__.py +15 -0
  185. viam/proto/component/camera/__init__.py +0 -2
  186. viam/proto/component/gripper/__init__.py +4 -0
  187. viam/proto/opentelemetry/__init__.py +0 -0
  188. viam/proto/opentelemetry/proto/__init__.py +0 -0
  189. viam/proto/opentelemetry/proto/common/__init__.py +15 -0
  190. viam/proto/opentelemetry/proto/resource/__init__.py +10 -0
  191. viam/proto/opentelemetry/proto/trace/__init__.py +15 -0
  192. viam/proto/provisioning/__init__.py +6 -0
  193. viam/proto/robot/__init__.py +16 -8
  194. viam/proto/service/datamanager/__init__.py +8 -1
  195. viam/proto/service/motion/__init__.py +2 -0
  196. viam/proto/service/video/__init__.py +15 -0
  197. viam/proto/service/worldstatestore/__init__.py +32 -0
  198. viam/resource/easy_resource.py +5 -9
  199. viam/resource/manager.py +4 -3
  200. viam/resource/registry.py +2 -2
  201. viam/resource/types.py +2 -2
  202. viam/robot/client.py +38 -59
  203. viam/rpc/dial.py +48 -5
  204. viam/rpc/libviam_rust_utils.so +0 -0
  205. viam/rpc/server.py +24 -10
  206. viam/services/motion/client.py +8 -9
  207. viam/services/motion/motion.py +48 -46
  208. viam/services/navigation/navigation.py +2 -2
  209. viam/services/vision/client.py +1 -1
  210. viam/services/vision/service.py +5 -8
  211. viam/services/vision/vision.py +5 -3
  212. viam/services/worldstatestore/__init__.py +18 -0
  213. viam/services/worldstatestore/client.py +94 -0
  214. viam/services/worldstatestore/service.py +55 -0
  215. viam/services/worldstatestore/worldstatestore.py +90 -0
  216. viam/sessions_client.py +115 -46
  217. viam/version_metadata.py +2 -2
  218. {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/METADATA +10 -6
  219. {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/RECORD +221 -152
  220. {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/WHEEL +1 -1
  221. viam/components/audio_input/__init__.py +0 -18
  222. viam/components/audio_input/audio_input.py +0 -81
  223. viam/components/audio_input/client.py +0 -70
  224. viam/components/audio_input/service.py +0 -114
  225. {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/licenses/LICENSE +0 -0
@@ -30,8 +30,20 @@ class BillingServiceBase(abc.ABC):
30
30
  async def SendPaymentRequiredEmail(self, stream: 'grpclib.server.Stream[app.v1.billing_pb2.SendPaymentRequiredEmailRequest, app.v1.billing_pb2.SendPaymentRequiredEmailResponse]') -> None:
31
31
  pass
32
32
 
33
+ @abc.abstractmethod
34
+ async def GetAvailableBillingTiers(self, stream: 'grpclib.server.Stream[app.v1.billing_pb2.GetAvailableBillingTiersRequest, app.v1.billing_pb2.GetAvailableBillingTiersResponse]') -> None:
35
+ pass
36
+
37
+ @abc.abstractmethod
38
+ async def UpdateOrganizationBillingTier(self, stream: 'grpclib.server.Stream[app.v1.billing_pb2.UpdateOrganizationBillingTierRequest, app.v1.billing_pb2.UpdateOrganizationBillingTierResponse]') -> None:
39
+ pass
40
+
41
+ @abc.abstractmethod
42
+ async def CreateInvoiceAndChargeImmediately(self, stream: 'grpclib.server.Stream[app.v1.billing_pb2.CreateInvoiceAndChargeImmediatelyRequest, app.v1.billing_pb2.CreateInvoiceAndChargeImmediatelyResponse]') -> None:
43
+ pass
44
+
33
45
  def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]:
34
- return {'/viam.app.v1.BillingService/GetCurrentMonthUsage': grpclib.const.Handler(self.GetCurrentMonthUsage, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetCurrentMonthUsageRequest, app.v1.billing_pb2.GetCurrentMonthUsageResponse), '/viam.app.v1.BillingService/GetOrgBillingInformation': grpclib.const.Handler(self.GetOrgBillingInformation, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetOrgBillingInformationRequest, app.v1.billing_pb2.GetOrgBillingInformationResponse), '/viam.app.v1.BillingService/GetInvoicesSummary': grpclib.const.Handler(self.GetInvoicesSummary, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetInvoicesSummaryRequest, app.v1.billing_pb2.GetInvoicesSummaryResponse), '/viam.app.v1.BillingService/GetInvoicePdf': grpclib.const.Handler(self.GetInvoicePdf, grpclib.const.Cardinality.UNARY_STREAM, app.v1.billing_pb2.GetInvoicePdfRequest, app.v1.billing_pb2.GetInvoicePdfResponse), '/viam.app.v1.BillingService/SendPaymentRequiredEmail': grpclib.const.Handler(self.SendPaymentRequiredEmail, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.SendPaymentRequiredEmailRequest, app.v1.billing_pb2.SendPaymentRequiredEmailResponse)}
46
+ return {'/viam.app.v1.BillingService/GetCurrentMonthUsage': grpclib.const.Handler(self.GetCurrentMonthUsage, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetCurrentMonthUsageRequest, app.v1.billing_pb2.GetCurrentMonthUsageResponse), '/viam.app.v1.BillingService/GetOrgBillingInformation': grpclib.const.Handler(self.GetOrgBillingInformation, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetOrgBillingInformationRequest, app.v1.billing_pb2.GetOrgBillingInformationResponse), '/viam.app.v1.BillingService/GetInvoicesSummary': grpclib.const.Handler(self.GetInvoicesSummary, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetInvoicesSummaryRequest, app.v1.billing_pb2.GetInvoicesSummaryResponse), '/viam.app.v1.BillingService/GetInvoicePdf': grpclib.const.Handler(self.GetInvoicePdf, grpclib.const.Cardinality.UNARY_STREAM, app.v1.billing_pb2.GetInvoicePdfRequest, app.v1.billing_pb2.GetInvoicePdfResponse), '/viam.app.v1.BillingService/SendPaymentRequiredEmail': grpclib.const.Handler(self.SendPaymentRequiredEmail, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.SendPaymentRequiredEmailRequest, app.v1.billing_pb2.SendPaymentRequiredEmailResponse), '/viam.app.v1.BillingService/GetAvailableBillingTiers': grpclib.const.Handler(self.GetAvailableBillingTiers, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetAvailableBillingTiersRequest, app.v1.billing_pb2.GetAvailableBillingTiersResponse), '/viam.app.v1.BillingService/UpdateOrganizationBillingTier': grpclib.const.Handler(self.UpdateOrganizationBillingTier, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.UpdateOrganizationBillingTierRequest, app.v1.billing_pb2.UpdateOrganizationBillingTierResponse), '/viam.app.v1.BillingService/CreateInvoiceAndChargeImmediately': grpclib.const.Handler(self.CreateInvoiceAndChargeImmediately, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.CreateInvoiceAndChargeImmediatelyRequest, app.v1.billing_pb2.CreateInvoiceAndChargeImmediatelyResponse)}
35
47
 
36
48
  class UnimplementedBillingServiceBase(BillingServiceBase):
37
49
 
@@ -50,6 +62,15 @@ class UnimplementedBillingServiceBase(BillingServiceBase):
50
62
  async def SendPaymentRequiredEmail(self, stream: 'grpclib.server.Stream[app.v1.billing_pb2.SendPaymentRequiredEmailRequest, app.v1.billing_pb2.SendPaymentRequiredEmailResponse]') -> None:
51
63
  raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
52
64
 
65
+ async def GetAvailableBillingTiers(self, stream: 'grpclib.server.Stream[app.v1.billing_pb2.GetAvailableBillingTiersRequest, app.v1.billing_pb2.GetAvailableBillingTiersResponse]') -> None:
66
+ raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
67
+
68
+ async def UpdateOrganizationBillingTier(self, stream: 'grpclib.server.Stream[app.v1.billing_pb2.UpdateOrganizationBillingTierRequest, app.v1.billing_pb2.UpdateOrganizationBillingTierResponse]') -> None:
69
+ raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
70
+
71
+ async def CreateInvoiceAndChargeImmediately(self, stream: 'grpclib.server.Stream[app.v1.billing_pb2.CreateInvoiceAndChargeImmediatelyRequest, app.v1.billing_pb2.CreateInvoiceAndChargeImmediatelyResponse]') -> None:
72
+ raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
73
+
53
74
  class BillingServiceStub:
54
75
 
55
76
  def __init__(self, channel: grpclib.client.Channel) -> None:
@@ -57,4 +78,7 @@ class BillingServiceStub:
57
78
  self.GetOrgBillingInformation = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.BillingService/GetOrgBillingInformation', app.v1.billing_pb2.GetOrgBillingInformationRequest, app.v1.billing_pb2.GetOrgBillingInformationResponse)
58
79
  self.GetInvoicesSummary = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.BillingService/GetInvoicesSummary', app.v1.billing_pb2.GetInvoicesSummaryRequest, app.v1.billing_pb2.GetInvoicesSummaryResponse)
59
80
  self.GetInvoicePdf = grpclib.client.UnaryStreamMethod(channel, '/viam.app.v1.BillingService/GetInvoicePdf', app.v1.billing_pb2.GetInvoicePdfRequest, app.v1.billing_pb2.GetInvoicePdfResponse)
60
- self.SendPaymentRequiredEmail = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.BillingService/SendPaymentRequiredEmail', app.v1.billing_pb2.SendPaymentRequiredEmailRequest, app.v1.billing_pb2.SendPaymentRequiredEmailResponse)
81
+ self.SendPaymentRequiredEmail = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.BillingService/SendPaymentRequiredEmail', app.v1.billing_pb2.SendPaymentRequiredEmailRequest, app.v1.billing_pb2.SendPaymentRequiredEmailResponse)
82
+ self.GetAvailableBillingTiers = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.BillingService/GetAvailableBillingTiers', app.v1.billing_pb2.GetAvailableBillingTiersRequest, app.v1.billing_pb2.GetAvailableBillingTiersResponse)
83
+ self.UpdateOrganizationBillingTier = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.BillingService/UpdateOrganizationBillingTier', app.v1.billing_pb2.UpdateOrganizationBillingTierRequest, app.v1.billing_pb2.UpdateOrganizationBillingTierResponse)
84
+ self.CreateInvoiceAndChargeImmediately = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.BillingService/CreateInvoiceAndChargeImmediately', app.v1.billing_pb2.CreateInvoiceAndChargeImmediatelyRequest, app.v1.billing_pb2.CreateInvoiceAndChargeImmediatelyResponse)
@@ -4,10 +4,10 @@ from google.protobuf import descriptor_pool as _descriptor_pool
4
4
  from google.protobuf import runtime_version as _runtime_version
5
5
  from google.protobuf import symbol_database as _symbol_database
6
6
  from google.protobuf.internal import builder as _builder
7
- _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 1, '', 'app/v1/billing.proto')
7
+ _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'app/v1/billing.proto')
8
8
  _sym_db = _symbol_database.Default()
9
9
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
10
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14app/v1/billing.proto\x12\x0bviam.app.v1\x1a\x1fgoogle/protobuf/timestamp.proto"\x8e\x02\n\x0eInvoiceSummary\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12=\n\x0cinvoice_date\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\x0binvoiceDate\x12%\n\x0einvoice_amount\x18\x03 \x01(\x01R\rinvoiceAmount\x12\x16\n\x06status\x18\x04 \x01(\tR\x06status\x125\n\x08due_date\x18\x05 \x01(\x0b2\x1a.google.protobuf.TimestampR\x07dueDate\x127\n\tpaid_date\x18\x06 \x01(\x0b2\x1a.google.protobuf.TimestampR\x08paidDate"S\n\x11PaymentMethodCard\x12\x14\n\x05brand\x18\x01 \x01(\tR\x05brand\x12(\n\x10last_four_digits\x18\x02 \x01(\tR\x0elastFourDigits"4\n\x1bGetCurrentMonthUsageRequest\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId"`\n\tUsageCost\x12?\n\rresource_type\x18\x01 \x01(\x0e2\x1a.viam.app.v1.UsageCostTypeR\x0cresourceType\x12\x12\n\x04cost\x18\x02 \x01(\x01R\x04cost"\xc6\x01\n\x1aResourceUsageCostsBySource\x128\n\x0bsource_type\x18\x01 \x01(\x0e2\x17.viam.app.v1.SourceTypeR\nsourceType\x12Q\n\x14resource_usage_costs\x18\x02 \x01(\x0b2\x1f.viam.app.v1.ResourceUsageCostsR\x12resourceUsageCosts\x12\x1b\n\ttier_name\x18\x03 \x01(\tR\x08tierName"\xcf\x01\n\x12ResourceUsageCosts\x127\n\x0busage_costs\x18\x01 \x03(\x0b2\x16.viam.app.v1.UsageCostR\nusageCosts\x12\x1a\n\x08discount\x18\x02 \x01(\x01R\x08discount\x12.\n\x13total_with_discount\x18\x03 \x01(\x01R\x11totalWithDiscount\x124\n\x16total_without_discount\x18\x04 \x01(\x01R\x14totalWithoutDiscount"\xcd\x07\n\x1cGetCurrentMonthUsageResponse\x129\n\nstart_date\x18\x01 \x01(\x0b2\x1a.google.protobuf.TimestampR\tstartDate\x125\n\x08end_date\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\x07endDate\x12k\n\x1eresource_usage_costs_by_source\x18\x0e \x03(\x0b2\'.viam.app.v1.ResourceUsageCostsBySourceR\x1aresourceUsageCostsBySource\x12\x1a\n\x08subtotal\x18\x0f \x01(\x01R\x08subtotal\x12;\n\x18cloud_storage_usage_cost\x18\x03 \x01(\x01B\x02\x18\x01R\x15cloudStorageUsageCost\x127\n\x16data_upload_usage_cost\x18\x04 \x01(\x01B\x02\x18\x01R\x13dataUploadUsageCost\x125\n\x15data_egres_usage_cost\x18\x05 \x01(\x01B\x02\x18\x01R\x12dataEgresUsageCost\x12=\n\x19remote_control_usage_cost\x18\x06 \x01(\x01B\x02\x18\x01R\x16remoteControlUsageCost\x12A\n\x1bstandard_compute_usage_cost\x18\x07 \x01(\x01B\x02\x18\x01R\x18standardComputeUsageCost\x12+\n\x0fdiscount_amount\x18\x08 \x01(\x01B\x02\x18\x01R\x0ediscountAmount\x12=\n\x19total_usage_with_discount\x18\t \x01(\x01B\x02\x18\x01R\x16totalUsageWithDiscount\x12C\n\x1ctotal_usage_without_discount\x18\n \x01(\x01B\x02\x18\x01R\x19totalUsageWithoutDiscount\x127\n\x16per_machine_usage_cost\x18\x0b \x01(\x01B\x02\x18\x01R\x13perMachineUsageCost\x12Q\n$binary_data_cloud_storage_usage_cost\x18\x0c \x01(\x01B\x02\x18\x01R\x1fbinaryDataCloudStorageUsageCost\x12F\n\x1eother_cloud_storage_usage_cost\x18\r \x01(\x01B\x02\x18\x01R\x1aotherCloudStorageUsageCost"8\n\x1fGetOrgBillingInformationRequest\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId"\xfc\x01\n GetOrgBillingInformationResponse\x122\n\x04type\x18\x01 \x01(\x0e2\x1e.viam.app.v1.PaymentMethodTypeR\x04type\x12#\n\rbilling_email\x18\x02 \x01(\tR\x0cbillingEmail\x12;\n\x06method\x18\x03 \x01(\x0b2\x1e.viam.app.v1.PaymentMethodCardH\x00R\x06method\x88\x01\x01\x12&\n\x0cbilling_tier\x18\x04 \x01(\tH\x01R\x0bbillingTier\x88\x01\x01B\t\n\x07_methodB\x0f\n\r_billing_tier"2\n\x19GetInvoicesSummaryRequest\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId"\x86\x01\n\x1aGetInvoicesSummaryResponse\x12/\n\x13outstanding_balance\x18\x01 \x01(\x01R\x12outstandingBalance\x127\n\x08invoices\x18\x02 \x03(\x0b2\x1b.viam.app.v1.InvoiceSummaryR\x08invoices"=\n\x14GetInvoicePdfRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06org_id\x18\x02 \x01(\tR\x05orgId"-\n\x15GetInvoicePdfResponse\x12\x14\n\x05chunk\x18\x01 \x01(\x0cR\x05chunk"z\n\x1fSendPaymentRequiredEmailRequest\x12&\n\x0fcustomer_org_id\x18\x01 \x01(\tR\rcustomerOrgId\x12/\n\x14billing_owner_org_id\x18\x02 \x01(\tR\x11billingOwnerOrgId""\n SendPaymentRequiredEmailResponse*V\n\x11PaymentMethodType\x12#\n\x1fPAYMENT_METHOD_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18PAYMENT_METHOD_TYPE_CARD\x10\x01*\xf3\x07\n\rUsageCostType\x12\x1f\n\x1bUSAGE_COST_TYPE_UNSPECIFIED\x10\x00\x12#\n\x1bUSAGE_COST_TYPE_DATA_UPLOAD\x10\x01\x1a\x02\x08\x01\x12#\n\x1bUSAGE_COST_TYPE_DATA_EGRESS\x10\x02\x1a\x02\x08\x01\x12"\n\x1eUSAGE_COST_TYPE_REMOTE_CONTROL\x10\x03\x12$\n USAGE_COST_TYPE_STANDARD_COMPUTE\x10\x04\x12%\n\x1dUSAGE_COST_TYPE_CLOUD_STORAGE\x10\x05\x1a\x02\x08\x01\x12-\n)USAGE_COST_TYPE_BINARY_DATA_CLOUD_STORAGE\x10\x06\x12+\n#USAGE_COST_TYPE_OTHER_CLOUD_STORAGE\x10\x07\x1a\x02\x08\x01\x12\x1f\n\x1bUSAGE_COST_TYPE_PER_MACHINE\x10\x08\x12(\n$USAGE_COST_TYPE_TRIGGER_NOTIFICATION\x10\t\x12.\n*USAGE_COST_TYPE_TABULAR_DATA_CLOUD_STORAGE\x10\n\x120\n,USAGE_COST_TYPE_CONFIG_HISTORY_CLOUD_STORAGE\x10\x0b\x12&\n"USAGE_COST_TYPE_LOGS_CLOUD_STORAGE\x10\x0c\x12/\n+USAGE_COST_TYPE_TRAINING_LOGS_CLOUD_STORAGE\x10\r\x12*\n&USAGE_COST_TYPE_PACKAGES_CLOUD_STORAGE\x10\x0e\x12&\n"USAGE_COST_TYPE_BINARY_DATA_UPLOAD\x10\x0f\x12\'\n#USAGE_COST_TYPE_TABULAR_DATA_UPLOAD\x10\x10\x12\x1f\n\x1bUSAGE_COST_TYPE_LOGS_UPLOAD\x10\x11\x12&\n"USAGE_COST_TYPE_BINARY_DATA_EGRESS\x10\x12\x12\'\n#USAGE_COST_TYPE_TABULAR_DATA_EGRESS\x10\x13\x12\x1f\n\x1bUSAGE_COST_TYPE_LOGS_EGRESS\x10\x14\x12(\n$USAGE_COST_TYPE_TRAINING_LOGS_EGRESS\x10\x15\x127\n3USAGE_COST_TYPE_TABULAR_DATA_DATABASE_CLOUD_STORAGE\x10\x16\x121\n-USAGE_COST_TYPE_TABULAR_DATA_DATABASE_COMPUTE\x10\x17*X\n\nSourceType\x12\x1b\n\x17SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSOURCE_TYPE_ORG\x10\x01\x12\x18\n\x14SOURCE_TYPE_FRAGMENT\x10\x022\xb0\x04\n\x0eBillingService\x12k\n\x14GetCurrentMonthUsage\x12(.viam.app.v1.GetCurrentMonthUsageRequest\x1a).viam.app.v1.GetCurrentMonthUsageResponse\x12w\n\x18GetOrgBillingInformation\x12,.viam.app.v1.GetOrgBillingInformationRequest\x1a-.viam.app.v1.GetOrgBillingInformationResponse\x12e\n\x12GetInvoicesSummary\x12&.viam.app.v1.GetInvoicesSummaryRequest\x1a\'.viam.app.v1.GetInvoicesSummaryResponse\x12X\n\rGetInvoicePdf\x12!.viam.app.v1.GetInvoicePdfRequest\x1a".viam.app.v1.GetInvoicePdfResponse0\x01\x12w\n\x18SendPaymentRequiredEmail\x12,.viam.app.v1.SendPaymentRequiredEmailRequest\x1a-.viam.app.v1.SendPaymentRequiredEmailResponseB\x18Z\x16go.viam.com/api/app/v1b\x06proto3')
10
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14app/v1/billing.proto\x12\x0bviam.app.v1\x1a\x1fgoogle/protobuf/timestamp.proto"\x8e\x02\n\x0eInvoiceSummary\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12=\n\x0cinvoice_date\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\x0binvoiceDate\x12%\n\x0einvoice_amount\x18\x03 \x01(\x01R\rinvoiceAmount\x12\x16\n\x06status\x18\x04 \x01(\tR\x06status\x125\n\x08due_date\x18\x05 \x01(\x0b2\x1a.google.protobuf.TimestampR\x07dueDate\x127\n\tpaid_date\x18\x06 \x01(\x0b2\x1a.google.protobuf.TimestampR\x08paidDate"S\n\x11PaymentMethodCard\x12\x14\n\x05brand\x18\x01 \x01(\tR\x05brand\x12(\n\x10last_four_digits\x18\x02 \x01(\tR\x0elastFourDigits"v\n\x10VerificationInfo\x12!\n\x0carrival_date\x18\x01 \x01(\x03R\x0barrivalDate\x12?\n\x1chosted_verification_page_url\x18\x02 \x01(\tR\x19hostedVerificationPageUrl"\xb0\x02\n\x1aPaymentMethodUSBankAccount\x12\x1b\n\tbank_name\x18\x01 \x01(\tR\x08bankName\x12D\n\x1flast_four_digits_account_number\x18\x02 \x01(\tR\x1blastFourDigitsAccountNumber\x12%\n\x0erouting_number\x18\x03 \x01(\tR\rroutingNumber\x12!\n\x0caccount_type\x18\x04 \x01(\tR\x0baccountType\x12O\n\x11verification_info\x18\x05 \x01(\x0b2\x1d.viam.app.v1.VerificationInfoH\x00R\x10verificationInfo\x88\x01\x01B\x14\n\x12_verification_info"4\n\x1bGetCurrentMonthUsageRequest\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId"`\n\tUsageCost\x12?\n\rresource_type\x18\x01 \x01(\x0e2\x1a.viam.app.v1.UsageCostTypeR\x0cresourceType\x12\x12\n\x04cost\x18\x02 \x01(\x01R\x04cost"\xc6\x01\n\x1aResourceUsageCostsBySource\x128\n\x0bsource_type\x18\x01 \x01(\x0e2\x17.viam.app.v1.SourceTypeR\nsourceType\x12Q\n\x14resource_usage_costs\x18\x02 \x01(\x0b2\x1f.viam.app.v1.ResourceUsageCostsR\x12resourceUsageCosts\x12\x1b\n\ttier_name\x18\x03 \x01(\tR\x08tierName"\xcf\x01\n\x12ResourceUsageCosts\x127\n\x0busage_costs\x18\x01 \x03(\x0b2\x16.viam.app.v1.UsageCostR\nusageCosts\x12\x1a\n\x08discount\x18\x02 \x01(\x01R\x08discount\x12.\n\x13total_with_discount\x18\x03 \x01(\x01R\x11totalWithDiscount\x124\n\x16total_without_discount\x18\x04 \x01(\x01R\x14totalWithoutDiscount"\xcd\x07\n\x1cGetCurrentMonthUsageResponse\x129\n\nstart_date\x18\x01 \x01(\x0b2\x1a.google.protobuf.TimestampR\tstartDate\x125\n\x08end_date\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\x07endDate\x12k\n\x1eresource_usage_costs_by_source\x18\x0e \x03(\x0b2\'.viam.app.v1.ResourceUsageCostsBySourceR\x1aresourceUsageCostsBySource\x12\x1a\n\x08subtotal\x18\x0f \x01(\x01R\x08subtotal\x12;\n\x18cloud_storage_usage_cost\x18\x03 \x01(\x01B\x02\x18\x01R\x15cloudStorageUsageCost\x127\n\x16data_upload_usage_cost\x18\x04 \x01(\x01B\x02\x18\x01R\x13dataUploadUsageCost\x125\n\x15data_egres_usage_cost\x18\x05 \x01(\x01B\x02\x18\x01R\x12dataEgresUsageCost\x12=\n\x19remote_control_usage_cost\x18\x06 \x01(\x01B\x02\x18\x01R\x16remoteControlUsageCost\x12A\n\x1bstandard_compute_usage_cost\x18\x07 \x01(\x01B\x02\x18\x01R\x18standardComputeUsageCost\x12+\n\x0fdiscount_amount\x18\x08 \x01(\x01B\x02\x18\x01R\x0ediscountAmount\x12=\n\x19total_usage_with_discount\x18\t \x01(\x01B\x02\x18\x01R\x16totalUsageWithDiscount\x12C\n\x1ctotal_usage_without_discount\x18\n \x01(\x01B\x02\x18\x01R\x19totalUsageWithoutDiscount\x127\n\x16per_machine_usage_cost\x18\x0b \x01(\x01B\x02\x18\x01R\x13perMachineUsageCost\x12Q\n$binary_data_cloud_storage_usage_cost\x18\x0c \x01(\x01B\x02\x18\x01R\x1fbinaryDataCloudStorageUsageCost\x12F\n\x1eother_cloud_storage_usage_cost\x18\r \x01(\x01B\x02\x18\x01R\x1aotherCloudStorageUsageCost"8\n\x1fGetOrgBillingInformationRequest\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId"\xfa\x02\n GetOrgBillingInformationResponse\x122\n\x04type\x18\x01 \x01(\x0e2\x1e.viam.app.v1.PaymentMethodTypeR\x04type\x12#\n\rbilling_email\x18\x02 \x01(\tR\x0cbillingEmail\x12;\n\x06method\x18\x03 \x01(\x0b2\x1e.viam.app.v1.PaymentMethodCardH\x00R\x06method\x88\x01\x01\x12&\n\x0cbilling_tier\x18\x04 \x01(\tH\x01R\x0bbillingTier\x88\x01\x01\x12a\n\x16method_us_bank_account\x18\x05 \x01(\x0b2\'.viam.app.v1.PaymentMethodUSBankAccountH\x02R\x13methodUsBankAccount\x88\x01\x01B\t\n\x07_methodB\x0f\n\r_billing_tierB\x19\n\x17_method_us_bank_account"2\n\x19GetInvoicesSummaryRequest\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId"\x86\x01\n\x1aGetInvoicesSummaryResponse\x12/\n\x13outstanding_balance\x18\x01 \x01(\x01R\x12outstandingBalance\x127\n\x08invoices\x18\x02 \x03(\x0b2\x1b.viam.app.v1.InvoiceSummaryR\x08invoices"=\n\x14GetInvoicePdfRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06org_id\x18\x02 \x01(\tR\x05orgId"-\n\x15GetInvoicePdfResponse\x12\x14\n\x05chunk\x18\x01 \x01(\x0cR\x05chunk"z\n\x1fSendPaymentRequiredEmailRequest\x12&\n\x0fcustomer_org_id\x18\x01 \x01(\tR\rcustomerOrgId\x12/\n\x14billing_owner_org_id\x18\x02 \x01(\tR\x11billingOwnerOrgId""\n SendPaymentRequiredEmailResponse"!\n\x1fGetAvailableBillingTiersRequest"8\n GetAvailableBillingTiersResponse\x12\x14\n\x05tiers\x18\x01 \x03(\tR\x05tiers"r\n$UpdateOrganizationBillingTierRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12!\n\x0cbilling_tier\x18\x02 \x01(\tR\x0bbillingTier"\'\n%UpdateOrganizationBillingTierResponse"\x93\x02\n(CreateInvoiceAndChargeImmediatelyRequest\x12\'\n\x10org_id_to_charge\x18\x01 \x01(\tR\rorgIdToCharge\x12\x16\n\x06amount\x18\x02 \x01(\x01R\x06amount\x12%\n\x0bdescription\x18\x03 \x01(\tH\x00R\x0bdescription\x88\x01\x01\x122\n\x13org_id_for_branding\x18\x04 \x01(\tH\x01R\x10orgIdForBranding\x88\x01\x01\x12#\n\rdisable_email\x18\x05 \x01(\x08R\x0cdisableEmailB\x0e\n\x0c_descriptionB\x16\n\x14_org_id_for_branding"J\n)CreateInvoiceAndChargeImmediatelyResponse\x12\x1d\n\ninvoice_id\x18\x01 \x01(\tR\tinvoiceId*}\n\x11PaymentMethodType\x12#\n\x1fPAYMENT_METHOD_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18PAYMENT_METHOD_TYPE_CARD\x10\x01\x12%\n!PAYMENT_METHOD_TYPE_USBANKACCOUNT\x10\x02*\x84\t\n\rUsageCostType\x12\x1f\n\x1bUSAGE_COST_TYPE_UNSPECIFIED\x10\x00\x12#\n\x1bUSAGE_COST_TYPE_DATA_UPLOAD\x10\x01\x1a\x02\x08\x01\x12#\n\x1bUSAGE_COST_TYPE_DATA_EGRESS\x10\x02\x1a\x02\x08\x01\x12"\n\x1eUSAGE_COST_TYPE_REMOTE_CONTROL\x10\x03\x12$\n USAGE_COST_TYPE_STANDARD_COMPUTE\x10\x04\x12%\n\x1dUSAGE_COST_TYPE_CLOUD_STORAGE\x10\x05\x1a\x02\x08\x01\x12-\n)USAGE_COST_TYPE_BINARY_DATA_CLOUD_STORAGE\x10\x06\x12+\n#USAGE_COST_TYPE_OTHER_CLOUD_STORAGE\x10\x07\x1a\x02\x08\x01\x12\x1f\n\x1bUSAGE_COST_TYPE_PER_MACHINE\x10\x08\x12(\n$USAGE_COST_TYPE_TRIGGER_NOTIFICATION\x10\t\x12.\n*USAGE_COST_TYPE_TABULAR_DATA_CLOUD_STORAGE\x10\n\x120\n,USAGE_COST_TYPE_CONFIG_HISTORY_CLOUD_STORAGE\x10\x0b\x12&\n"USAGE_COST_TYPE_LOGS_CLOUD_STORAGE\x10\x0c\x12/\n+USAGE_COST_TYPE_TRAINING_LOGS_CLOUD_STORAGE\x10\r\x12*\n&USAGE_COST_TYPE_PACKAGES_CLOUD_STORAGE\x10\x0e\x12&\n"USAGE_COST_TYPE_BINARY_DATA_UPLOAD\x10\x0f\x12\'\n#USAGE_COST_TYPE_TABULAR_DATA_UPLOAD\x10\x10\x12\x1f\n\x1bUSAGE_COST_TYPE_LOGS_UPLOAD\x10\x11\x12&\n"USAGE_COST_TYPE_BINARY_DATA_EGRESS\x10\x12\x12\'\n#USAGE_COST_TYPE_TABULAR_DATA_EGRESS\x10\x13\x12\x1f\n\x1bUSAGE_COST_TYPE_LOGS_EGRESS\x10\x14\x12(\n$USAGE_COST_TYPE_TRAINING_LOGS_EGRESS\x10\x15\x127\n3USAGE_COST_TYPE_TABULAR_DATA_DATABASE_CLOUD_STORAGE\x10\x16\x121\n-USAGE_COST_TYPE_TABULAR_DATA_DATABASE_COMPUTE\x10\x17\x123\n/USAGE_COST_TYPE_BINARY_DATA_CROSS_REGION_EGRESS\x10\x18\x12/\n+USAGE_COST_TYPE_PIPELINE_SINK_CLOUD_STORAGE\x10\x19\x12)\n%USAGE_COST_TYPE_PIPELINE_SINK_COMPUTE\x10\x1a*X\n\nSourceType\x12\x1b\n\x17SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSOURCE_TYPE_ORG\x10\x01\x12\x18\n\x14SOURCE_TYPE_FRAGMENT\x10\x022\xc7\x07\n\x0eBillingService\x12k\n\x14GetCurrentMonthUsage\x12(.viam.app.v1.GetCurrentMonthUsageRequest\x1a).viam.app.v1.GetCurrentMonthUsageResponse\x12w\n\x18GetOrgBillingInformation\x12,.viam.app.v1.GetOrgBillingInformationRequest\x1a-.viam.app.v1.GetOrgBillingInformationResponse\x12e\n\x12GetInvoicesSummary\x12&.viam.app.v1.GetInvoicesSummaryRequest\x1a\'.viam.app.v1.GetInvoicesSummaryResponse\x12X\n\rGetInvoicePdf\x12!.viam.app.v1.GetInvoicePdfRequest\x1a".viam.app.v1.GetInvoicePdfResponse0\x01\x12w\n\x18SendPaymentRequiredEmail\x12,.viam.app.v1.SendPaymentRequiredEmailRequest\x1a-.viam.app.v1.SendPaymentRequiredEmailResponse\x12w\n\x18GetAvailableBillingTiers\x12,.viam.app.v1.GetAvailableBillingTiersRequest\x1a-.viam.app.v1.GetAvailableBillingTiersResponse\x12\x86\x01\n\x1dUpdateOrganizationBillingTier\x121.viam.app.v1.UpdateOrganizationBillingTierRequest\x1a2.viam.app.v1.UpdateOrganizationBillingTierResponse\x12\x92\x01\n!CreateInvoiceAndChargeImmediately\x125.viam.app.v1.CreateInvoiceAndChargeImmediatelyRequest\x1a6.viam.app.v1.CreateInvoiceAndChargeImmediatelyResponseB\x18Z\x16go.viam.com/api/app/v1b\x06proto3')
11
11
  _globals = globals()
12
12
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
13
13
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.v1.billing_pb2', _globals)
@@ -44,41 +44,57 @@ if not _descriptor._USE_C_DESCRIPTORS:
44
44
  _globals['_GETCURRENTMONTHUSAGERESPONSE'].fields_by_name['binary_data_cloud_storage_usage_cost']._serialized_options = b'\x18\x01'
45
45
  _globals['_GETCURRENTMONTHUSAGERESPONSE'].fields_by_name['other_cloud_storage_usage_cost']._loaded_options = None
46
46
  _globals['_GETCURRENTMONTHUSAGERESPONSE'].fields_by_name['other_cloud_storage_usage_cost']._serialized_options = b'\x18\x01'
47
- _globals['_PAYMENTMETHODTYPE']._serialized_start = 2739
48
- _globals['_PAYMENTMETHODTYPE']._serialized_end = 2825
49
- _globals['_USAGECOSTTYPE']._serialized_start = 2828
50
- _globals['_USAGECOSTTYPE']._serialized_end = 3839
51
- _globals['_SOURCETYPE']._serialized_start = 3841
52
- _globals['_SOURCETYPE']._serialized_end = 3929
47
+ _globals['_PAYMENTMETHODTYPE']._serialized_start = 3896
48
+ _globals['_PAYMENTMETHODTYPE']._serialized_end = 4021
49
+ _globals['_USAGECOSTTYPE']._serialized_start = 4024
50
+ _globals['_USAGECOSTTYPE']._serialized_end = 5180
51
+ _globals['_SOURCETYPE']._serialized_start = 5182
52
+ _globals['_SOURCETYPE']._serialized_end = 5270
53
53
  _globals['_INVOICESUMMARY']._serialized_start = 71
54
54
  _globals['_INVOICESUMMARY']._serialized_end = 341
55
55
  _globals['_PAYMENTMETHODCARD']._serialized_start = 343
56
56
  _globals['_PAYMENTMETHODCARD']._serialized_end = 426
57
- _globals['_GETCURRENTMONTHUSAGEREQUEST']._serialized_start = 428
58
- _globals['_GETCURRENTMONTHUSAGEREQUEST']._serialized_end = 480
59
- _globals['_USAGECOST']._serialized_start = 482
60
- _globals['_USAGECOST']._serialized_end = 578
61
- _globals['_RESOURCEUSAGECOSTSBYSOURCE']._serialized_start = 581
62
- _globals['_RESOURCEUSAGECOSTSBYSOURCE']._serialized_end = 779
63
- _globals['_RESOURCEUSAGECOSTS']._serialized_start = 782
64
- _globals['_RESOURCEUSAGECOSTS']._serialized_end = 989
65
- _globals['_GETCURRENTMONTHUSAGERESPONSE']._serialized_start = 992
66
- _globals['_GETCURRENTMONTHUSAGERESPONSE']._serialized_end = 1965
67
- _globals['_GETORGBILLINGINFORMATIONREQUEST']._serialized_start = 1967
68
- _globals['_GETORGBILLINGINFORMATIONREQUEST']._serialized_end = 2023
69
- _globals['_GETORGBILLINGINFORMATIONRESPONSE']._serialized_start = 2026
70
- _globals['_GETORGBILLINGINFORMATIONRESPONSE']._serialized_end = 2278
71
- _globals['_GETINVOICESSUMMARYREQUEST']._serialized_start = 2280
72
- _globals['_GETINVOICESSUMMARYREQUEST']._serialized_end = 2330
73
- _globals['_GETINVOICESSUMMARYRESPONSE']._serialized_start = 2333
74
- _globals['_GETINVOICESSUMMARYRESPONSE']._serialized_end = 2467
75
- _globals['_GETINVOICEPDFREQUEST']._serialized_start = 2469
76
- _globals['_GETINVOICEPDFREQUEST']._serialized_end = 2530
77
- _globals['_GETINVOICEPDFRESPONSE']._serialized_start = 2532
78
- _globals['_GETINVOICEPDFRESPONSE']._serialized_end = 2577
79
- _globals['_SENDPAYMENTREQUIREDEMAILREQUEST']._serialized_start = 2579
80
- _globals['_SENDPAYMENTREQUIREDEMAILREQUEST']._serialized_end = 2701
81
- _globals['_SENDPAYMENTREQUIREDEMAILRESPONSE']._serialized_start = 2703
82
- _globals['_SENDPAYMENTREQUIREDEMAILRESPONSE']._serialized_end = 2737
83
- _globals['_BILLINGSERVICE']._serialized_start = 3932
84
- _globals['_BILLINGSERVICE']._serialized_end = 4492
57
+ _globals['_VERIFICATIONINFO']._serialized_start = 428
58
+ _globals['_VERIFICATIONINFO']._serialized_end = 546
59
+ _globals['_PAYMENTMETHODUSBANKACCOUNT']._serialized_start = 549
60
+ _globals['_PAYMENTMETHODUSBANKACCOUNT']._serialized_end = 853
61
+ _globals['_GETCURRENTMONTHUSAGEREQUEST']._serialized_start = 855
62
+ _globals['_GETCURRENTMONTHUSAGEREQUEST']._serialized_end = 907
63
+ _globals['_USAGECOST']._serialized_start = 909
64
+ _globals['_USAGECOST']._serialized_end = 1005
65
+ _globals['_RESOURCEUSAGECOSTSBYSOURCE']._serialized_start = 1008
66
+ _globals['_RESOURCEUSAGECOSTSBYSOURCE']._serialized_end = 1206
67
+ _globals['_RESOURCEUSAGECOSTS']._serialized_start = 1209
68
+ _globals['_RESOURCEUSAGECOSTS']._serialized_end = 1416
69
+ _globals['_GETCURRENTMONTHUSAGERESPONSE']._serialized_start = 1419
70
+ _globals['_GETCURRENTMONTHUSAGERESPONSE']._serialized_end = 2392
71
+ _globals['_GETORGBILLINGINFORMATIONREQUEST']._serialized_start = 2394
72
+ _globals['_GETORGBILLINGINFORMATIONREQUEST']._serialized_end = 2450
73
+ _globals['_GETORGBILLINGINFORMATIONRESPONSE']._serialized_start = 2453
74
+ _globals['_GETORGBILLINGINFORMATIONRESPONSE']._serialized_end = 2831
75
+ _globals['_GETINVOICESSUMMARYREQUEST']._serialized_start = 2833
76
+ _globals['_GETINVOICESSUMMARYREQUEST']._serialized_end = 2883
77
+ _globals['_GETINVOICESSUMMARYRESPONSE']._serialized_start = 2886
78
+ _globals['_GETINVOICESSUMMARYRESPONSE']._serialized_end = 3020
79
+ _globals['_GETINVOICEPDFREQUEST']._serialized_start = 3022
80
+ _globals['_GETINVOICEPDFREQUEST']._serialized_end = 3083
81
+ _globals['_GETINVOICEPDFRESPONSE']._serialized_start = 3085
82
+ _globals['_GETINVOICEPDFRESPONSE']._serialized_end = 3130
83
+ _globals['_SENDPAYMENTREQUIREDEMAILREQUEST']._serialized_start = 3132
84
+ _globals['_SENDPAYMENTREQUIREDEMAILREQUEST']._serialized_end = 3254
85
+ _globals['_SENDPAYMENTREQUIREDEMAILRESPONSE']._serialized_start = 3256
86
+ _globals['_SENDPAYMENTREQUIREDEMAILRESPONSE']._serialized_end = 3290
87
+ _globals['_GETAVAILABLEBILLINGTIERSREQUEST']._serialized_start = 3292
88
+ _globals['_GETAVAILABLEBILLINGTIERSREQUEST']._serialized_end = 3325
89
+ _globals['_GETAVAILABLEBILLINGTIERSRESPONSE']._serialized_start = 3327
90
+ _globals['_GETAVAILABLEBILLINGTIERSRESPONSE']._serialized_end = 3383
91
+ _globals['_UPDATEORGANIZATIONBILLINGTIERREQUEST']._serialized_start = 3385
92
+ _globals['_UPDATEORGANIZATIONBILLINGTIERREQUEST']._serialized_end = 3499
93
+ _globals['_UPDATEORGANIZATIONBILLINGTIERRESPONSE']._serialized_start = 3501
94
+ _globals['_UPDATEORGANIZATIONBILLINGTIERRESPONSE']._serialized_end = 3540
95
+ _globals['_CREATEINVOICEANDCHARGEIMMEDIATELYREQUEST']._serialized_start = 3543
96
+ _globals['_CREATEINVOICEANDCHARGEIMMEDIATELYREQUEST']._serialized_end = 3818
97
+ _globals['_CREATEINVOICEANDCHARGEIMMEDIATELYRESPONSE']._serialized_start = 3820
98
+ _globals['_CREATEINVOICEANDCHARGEIMMEDIATELYRESPONSE']._serialized_end = 3894
99
+ _globals['_BILLINGSERVICE']._serialized_start = 5273
100
+ _globals['_BILLINGSERVICE']._serialized_end = 6240
@@ -25,11 +25,13 @@ class _PaymentMethodTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapp
25
25
  DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
26
26
  PAYMENT_METHOD_TYPE_UNSPECIFIED: _PaymentMethodType.ValueType
27
27
  PAYMENT_METHOD_TYPE_CARD: _PaymentMethodType.ValueType
28
+ PAYMENT_METHOD_TYPE_USBANKACCOUNT: _PaymentMethodType.ValueType
28
29
 
29
30
  class PaymentMethodType(_PaymentMethodType, metaclass=_PaymentMethodTypeEnumTypeWrapper):
30
31
  ...
31
32
  PAYMENT_METHOD_TYPE_UNSPECIFIED: PaymentMethodType.ValueType
32
33
  PAYMENT_METHOD_TYPE_CARD: PaymentMethodType.ValueType
34
+ PAYMENT_METHOD_TYPE_USBANKACCOUNT: PaymentMethodType.ValueType
33
35
  global___PaymentMethodType = PaymentMethodType
34
36
 
35
37
  class _UsageCostType:
@@ -62,6 +64,9 @@ class _UsageCostTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._
62
64
  USAGE_COST_TYPE_TRAINING_LOGS_EGRESS: _UsageCostType.ValueType
63
65
  USAGE_COST_TYPE_TABULAR_DATA_DATABASE_CLOUD_STORAGE: _UsageCostType.ValueType
64
66
  USAGE_COST_TYPE_TABULAR_DATA_DATABASE_COMPUTE: _UsageCostType.ValueType
67
+ USAGE_COST_TYPE_BINARY_DATA_CROSS_REGION_EGRESS: _UsageCostType.ValueType
68
+ USAGE_COST_TYPE_PIPELINE_SINK_CLOUD_STORAGE: _UsageCostType.ValueType
69
+ USAGE_COST_TYPE_PIPELINE_SINK_COMPUTE: _UsageCostType.ValueType
65
70
 
66
71
  class UsageCostType(_UsageCostType, metaclass=_UsageCostTypeEnumTypeWrapper):
67
72
  ...
@@ -89,6 +94,9 @@ USAGE_COST_TYPE_LOGS_EGRESS: UsageCostType.ValueType
89
94
  USAGE_COST_TYPE_TRAINING_LOGS_EGRESS: UsageCostType.ValueType
90
95
  USAGE_COST_TYPE_TABULAR_DATA_DATABASE_CLOUD_STORAGE: UsageCostType.ValueType
91
96
  USAGE_COST_TYPE_TABULAR_DATA_DATABASE_COMPUTE: UsageCostType.ValueType
97
+ USAGE_COST_TYPE_BINARY_DATA_CROSS_REGION_EGRESS: UsageCostType.ValueType
98
+ USAGE_COST_TYPE_PIPELINE_SINK_CLOUD_STORAGE: UsageCostType.ValueType
99
+ USAGE_COST_TYPE_PIPELINE_SINK_COMPUTE: UsageCostType.ValueType
92
100
  global___UsageCostType = UsageCostType
93
101
 
94
102
  class _SourceType:
@@ -158,6 +166,51 @@ class PaymentMethodCard(google.protobuf.message.Message):
158
166
  ...
159
167
  global___PaymentMethodCard = PaymentMethodCard
160
168
 
169
+ @typing.final
170
+ class VerificationInfo(google.protobuf.message.Message):
171
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
172
+ ARRIVAL_DATE_FIELD_NUMBER: builtins.int
173
+ HOSTED_VERIFICATION_PAGE_URL_FIELD_NUMBER: builtins.int
174
+ arrival_date: builtins.int
175
+ hosted_verification_page_url: builtins.str
176
+
177
+ def __init__(self, *, arrival_date: builtins.int=..., hosted_verification_page_url: builtins.str=...) -> None:
178
+ ...
179
+
180
+ def ClearField(self, field_name: typing.Literal['arrival_date', b'arrival_date', 'hosted_verification_page_url', b'hosted_verification_page_url']) -> None:
181
+ ...
182
+ global___VerificationInfo = VerificationInfo
183
+
184
+ @typing.final
185
+ class PaymentMethodUSBankAccount(google.protobuf.message.Message):
186
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
187
+ BANK_NAME_FIELD_NUMBER: builtins.int
188
+ LAST_FOUR_DIGITS_ACCOUNT_NUMBER_FIELD_NUMBER: builtins.int
189
+ ROUTING_NUMBER_FIELD_NUMBER: builtins.int
190
+ ACCOUNT_TYPE_FIELD_NUMBER: builtins.int
191
+ VERIFICATION_INFO_FIELD_NUMBER: builtins.int
192
+ bank_name: builtins.str
193
+ last_four_digits_account_number: builtins.str
194
+ routing_number: builtins.str
195
+ account_type: builtins.str
196
+
197
+ @property
198
+ def verification_info(self) -> global___VerificationInfo:
199
+ """this is only set if the account is not verified"""
200
+
201
+ def __init__(self, *, bank_name: builtins.str=..., last_four_digits_account_number: builtins.str=..., routing_number: builtins.str=..., account_type: builtins.str=..., verification_info: global___VerificationInfo | None=...) -> None:
202
+ ...
203
+
204
+ def HasField(self, field_name: typing.Literal['_verification_info', b'_verification_info', 'verification_info', b'verification_info']) -> builtins.bool:
205
+ ...
206
+
207
+ def ClearField(self, field_name: typing.Literal['_verification_info', b'_verification_info', 'account_type', b'account_type', 'bank_name', b'bank_name', 'last_four_digits_account_number', b'last_four_digits_account_number', 'routing_number', b'routing_number', 'verification_info', b'verification_info']) -> None:
208
+ ...
209
+
210
+ def WhichOneof(self, oneof_group: typing.Literal['_verification_info', b'_verification_info']) -> typing.Literal['verification_info'] | None:
211
+ ...
212
+ global___PaymentMethodUSBankAccount = PaymentMethodUSBankAccount
213
+
161
214
  @typing.final
162
215
  class GetCurrentMonthUsageRequest(google.protobuf.message.Message):
163
216
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -305,6 +358,7 @@ class GetOrgBillingInformationResponse(google.protobuf.message.Message):
305
358
  BILLING_EMAIL_FIELD_NUMBER: builtins.int
306
359
  METHOD_FIELD_NUMBER: builtins.int
307
360
  BILLING_TIER_FIELD_NUMBER: builtins.int
361
+ METHOD_US_BANK_ACCOUNT_FIELD_NUMBER: builtins.int
308
362
  type: global___PaymentMethodType.ValueType
309
363
  billing_email: builtins.str
310
364
  billing_tier: builtins.str
@@ -314,13 +368,17 @@ class GetOrgBillingInformationResponse(google.protobuf.message.Message):
314
368
  def method(self) -> global___PaymentMethodCard:
315
369
  """defined if type is PAYMENT_METHOD_TYPE_CARD"""
316
370
 
317
- def __init__(self, *, type: global___PaymentMethodType.ValueType=..., billing_email: builtins.str=..., method: global___PaymentMethodCard | None=..., billing_tier: builtins.str | None=...) -> None:
371
+ @property
372
+ def method_us_bank_account(self) -> global___PaymentMethodUSBankAccount:
373
+ """defined if type is PAYMENT_METHOD_TYPE_USBANKACCOUNT"""
374
+
375
+ def __init__(self, *, type: global___PaymentMethodType.ValueType=..., billing_email: builtins.str=..., method: global___PaymentMethodCard | None=..., billing_tier: builtins.str | None=..., method_us_bank_account: global___PaymentMethodUSBankAccount | None=...) -> None:
318
376
  ...
319
377
 
320
- def HasField(self, field_name: typing.Literal['_billing_tier', b'_billing_tier', '_method', b'_method', 'billing_tier', b'billing_tier', 'method', b'method']) -> builtins.bool:
378
+ def HasField(self, field_name: typing.Literal['_billing_tier', b'_billing_tier', '_method', b'_method', '_method_us_bank_account', b'_method_us_bank_account', 'billing_tier', b'billing_tier', 'method', b'method', 'method_us_bank_account', b'method_us_bank_account']) -> builtins.bool:
321
379
  ...
322
380
 
323
- def ClearField(self, field_name: typing.Literal['_billing_tier', b'_billing_tier', '_method', b'_method', 'billing_email', b'billing_email', 'billing_tier', b'billing_tier', 'method', b'method', 'type', b'type']) -> None:
381
+ def ClearField(self, field_name: typing.Literal['_billing_tier', b'_billing_tier', '_method', b'_method', '_method_us_bank_account', b'_method_us_bank_account', 'billing_email', b'billing_email', 'billing_tier', b'billing_tier', 'method', b'method', 'method_us_bank_account', b'method_us_bank_account', 'type', b'type']) -> None:
324
382
  ...
325
383
 
326
384
  @typing.overload
@@ -330,6 +388,10 @@ class GetOrgBillingInformationResponse(google.protobuf.message.Message):
330
388
  @typing.overload
331
389
  def WhichOneof(self, oneof_group: typing.Literal['_method', b'_method']) -> typing.Literal['method'] | None:
332
390
  ...
391
+
392
+ @typing.overload
393
+ def WhichOneof(self, oneof_group: typing.Literal['_method_us_bank_account', b'_method_us_bank_account']) -> typing.Literal['method_us_bank_account'] | None:
394
+ ...
333
395
  global___GetOrgBillingInformationResponse = GetOrgBillingInformationResponse
334
396
 
335
397
  @typing.final
@@ -413,4 +475,96 @@ class SendPaymentRequiredEmailResponse(google.protobuf.message.Message):
413
475
 
414
476
  def __init__(self) -> None:
415
477
  ...
416
- global___SendPaymentRequiredEmailResponse = SendPaymentRequiredEmailResponse
478
+ global___SendPaymentRequiredEmailResponse = SendPaymentRequiredEmailResponse
479
+
480
+ @typing.final
481
+ class GetAvailableBillingTiersRequest(google.protobuf.message.Message):
482
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
483
+
484
+ def __init__(self) -> None:
485
+ ...
486
+ global___GetAvailableBillingTiersRequest = GetAvailableBillingTiersRequest
487
+
488
+ @typing.final
489
+ class GetAvailableBillingTiersResponse(google.protobuf.message.Message):
490
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
491
+ TIERS_FIELD_NUMBER: builtins.int
492
+
493
+ @property
494
+ def tiers(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
495
+ ...
496
+
497
+ def __init__(self, *, tiers: collections.abc.Iterable[builtins.str] | None=...) -> None:
498
+ ...
499
+
500
+ def ClearField(self, field_name: typing.Literal['tiers', b'tiers']) -> None:
501
+ ...
502
+ global___GetAvailableBillingTiersResponse = GetAvailableBillingTiersResponse
503
+
504
+ @typing.final
505
+ class UpdateOrganizationBillingTierRequest(google.protobuf.message.Message):
506
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
507
+ ORGANIZATION_ID_FIELD_NUMBER: builtins.int
508
+ BILLING_TIER_FIELD_NUMBER: builtins.int
509
+ organization_id: builtins.str
510
+ billing_tier: builtins.str
511
+
512
+ def __init__(self, *, organization_id: builtins.str=..., billing_tier: builtins.str=...) -> None:
513
+ ...
514
+
515
+ def ClearField(self, field_name: typing.Literal['billing_tier', b'billing_tier', 'organization_id', b'organization_id']) -> None:
516
+ ...
517
+ global___UpdateOrganizationBillingTierRequest = UpdateOrganizationBillingTierRequest
518
+
519
+ @typing.final
520
+ class UpdateOrganizationBillingTierResponse(google.protobuf.message.Message):
521
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
522
+
523
+ def __init__(self) -> None:
524
+ ...
525
+ global___UpdateOrganizationBillingTierResponse = UpdateOrganizationBillingTierResponse
526
+
527
+ @typing.final
528
+ class CreateInvoiceAndChargeImmediatelyRequest(google.protobuf.message.Message):
529
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
530
+ ORG_ID_TO_CHARGE_FIELD_NUMBER: builtins.int
531
+ AMOUNT_FIELD_NUMBER: builtins.int
532
+ DESCRIPTION_FIELD_NUMBER: builtins.int
533
+ ORG_ID_FOR_BRANDING_FIELD_NUMBER: builtins.int
534
+ DISABLE_EMAIL_FIELD_NUMBER: builtins.int
535
+ org_id_to_charge: builtins.str
536
+ amount: builtins.float
537
+ description: builtins.str
538
+ org_id_for_branding: builtins.str
539
+ disable_email: builtins.bool
540
+
541
+ def __init__(self, *, org_id_to_charge: builtins.str=..., amount: builtins.float=..., description: builtins.str | None=..., org_id_for_branding: builtins.str | None=..., disable_email: builtins.bool=...) -> None:
542
+ ...
543
+
544
+ def HasField(self, field_name: typing.Literal['_description', b'_description', '_org_id_for_branding', b'_org_id_for_branding', 'description', b'description', 'org_id_for_branding', b'org_id_for_branding']) -> builtins.bool:
545
+ ...
546
+
547
+ def ClearField(self, field_name: typing.Literal['_description', b'_description', '_org_id_for_branding', b'_org_id_for_branding', 'amount', b'amount', 'description', b'description', 'disable_email', b'disable_email', 'org_id_for_branding', b'org_id_for_branding', 'org_id_to_charge', b'org_id_to_charge']) -> None:
548
+ ...
549
+
550
+ @typing.overload
551
+ def WhichOneof(self, oneof_group: typing.Literal['_description', b'_description']) -> typing.Literal['description'] | None:
552
+ ...
553
+
554
+ @typing.overload
555
+ def WhichOneof(self, oneof_group: typing.Literal['_org_id_for_branding', b'_org_id_for_branding']) -> typing.Literal['org_id_for_branding'] | None:
556
+ ...
557
+ global___CreateInvoiceAndChargeImmediatelyRequest = CreateInvoiceAndChargeImmediatelyRequest
558
+
559
+ @typing.final
560
+ class CreateInvoiceAndChargeImmediatelyResponse(google.protobuf.message.Message):
561
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
562
+ INVOICE_ID_FIELD_NUMBER: builtins.int
563
+ invoice_id: builtins.str
564
+
565
+ def __init__(self, *, invoice_id: builtins.str=...) -> None:
566
+ ...
567
+
568
+ def ClearField(self, field_name: typing.Literal['invoice_id', b'invoice_id']) -> None:
569
+ ...
570
+ global___CreateInvoiceAndChargeImmediatelyResponse = CreateInvoiceAndChargeImmediatelyResponse
@@ -4,7 +4,7 @@ from google.protobuf import descriptor_pool as _descriptor_pool
4
4
  from google.protobuf import runtime_version as _runtime_version
5
5
  from google.protobuf import symbol_database as _symbol_database
6
6
  from google.protobuf.internal import builder as _builder
7
- _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 1, '', 'app/v1/end_user.proto')
7
+ _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'app/v1/end_user.proto')
8
8
  _sym_db = _symbol_database.Default()
9
9
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15app/v1/end_user.proto\x12\x0bviam.app.v1"\x18\n\x16IsLegalAcceptedRequest"@\n\x17IsLegalAcceptedResponse\x12%\n\x0eaccepted_legal\x18\x01 \x01(\x08R\racceptedLegal"\x14\n\x12AcceptLegalRequest"\x15\n\x13AcceptLegalResponse"\xcb\x01\n\x1eRegisterAuthApplicationRequest\x12)\n\x10application_name\x18\x01 \x01(\tR\x0fapplicationName\x12\x15\n\x06org_id\x18\x02 \x01(\tR\x05orgId\x12\x1f\n\x0borigin_uris\x18\x03 \x03(\tR\noriginUris\x12#\n\rredirect_uris\x18\x04 \x03(\tR\x0credirectUris\x12\x1d\n\nlogout_uri\x18\x05 \x01(\tR\tlogoutUri:\x02\x18\x01"\x9c\x01\n\x1fRegisterAuthApplicationResponse\x12%\n\x0eapplication_id\x18\x01 \x01(\tR\rapplicationId\x12)\n\x10application_name\x18\x02 \x01(\tR\x0fapplicationName\x12#\n\rclient_secret\x18\x03 \x01(\tR\x0cclientSecret:\x02\x18\x01"\xf0\x01\n\x1cUpdateAuthApplicationRequest\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId\x12%\n\x0eapplication_id\x18\x02 \x01(\tR\rapplicationId\x12)\n\x10application_name\x18\x03 \x01(\tR\x0fapplicationName\x12\x1f\n\x0borigin_uris\x18\x04 \x03(\tR\noriginUris\x12#\n\rredirect_uris\x18\x05 \x03(\tR\x0credirectUris\x12\x1d\n\nlogout_uri\x18\x06 \x01(\tR\tlogoutUri:\x02\x18\x01"u\n\x1dUpdateAuthApplicationResponse\x12%\n\x0eapplication_id\x18\x01 \x01(\tR\rapplicationId\x12)\n\x10application_name\x18\x02 \x01(\tR\x0fapplicationName:\x02\x18\x01"]\n\x19GetAuthApplicationRequest\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId\x12%\n\x0eapplication_id\x18\x02 \x01(\tR\rapplicationId:\x02\x18\x01"\xfc\x01\n\x1aGetAuthApplicationResponse\x12%\n\x0eapplication_id\x18\x01 \x01(\tR\rapplicationId\x12)\n\x10application_name\x18\x02 \x01(\tR\x0fapplicationName\x12#\n\rclient_secret\x18\x03 \x01(\tR\x0cclientSecret\x12\x1f\n\x0borigin_uris\x18\x04 \x03(\tR\noriginUris\x12#\n\rredirect_uris\x18\x05 \x03(\tR\x0credirectUris\x12\x1d\n\nlogout_uri\x18\x06 \x01(\tR\tlogoutUri:\x02\x18\x012\x9c\x04\n\x0eEndUserService\x12\\\n\x0fIsLegalAccepted\x12#.viam.app.v1.IsLegalAcceptedRequest\x1a$.viam.app.v1.IsLegalAcceptedResponse\x12P\n\x0bAcceptLegal\x12\x1f.viam.app.v1.AcceptLegalRequest\x1a .viam.app.v1.AcceptLegalResponse\x12y\n\x17RegisterAuthApplication\x12+.viam.app.v1.RegisterAuthApplicationRequest\x1a,.viam.app.v1.RegisterAuthApplicationResponse"\x03\x88\x02\x01\x12s\n\x15UpdateAuthApplication\x12).viam.app.v1.UpdateAuthApplicationRequest\x1a*.viam.app.v1.UpdateAuthApplicationResponse"\x03\x88\x02\x01\x12j\n\x12GetAuthApplication\x12&.viam.app.v1.GetAuthApplicationRequest\x1a\'.viam.app.v1.GetAuthApplicationResponse"\x03\x88\x02\x01B\x18Z\x16go.viam.com/api/app/v1b\x06proto3')
10
10
  _globals = globals()