5
5
from google .protobuf import symbol_database as _symbol_database
6
6
_sym_db = _symbol_database .Default ()
7
7
from google .protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
8
- DESCRIPTOR = _descriptor_pool .Default ().AddSerializedFile (b'\n \x14 app/v1/billing.proto\x12 \x0b viam.app.v1\x1a \x1f google/protobuf/timestamp.proto"\x97 \x05 \n \x18 CurrentMonthUsageSummary\x12 .\n \x13 cloud_storage_usage\x18 \x01 \x01 (\x01 R\x11 cloudStorageUsage\x12 7\n \x18 cloud_storage_usage_cost\x18 \x02 \x01 (\x01 R\x15 cloudStorageUsageCost\x12 3\n \x16 data_upload_usage_cost\x18 \x03 \x01 (\x01 R\x13 dataUploadUsageCost\x12 ;\n \x1a data_upload_usage_quantity\x18 \x04 \x01 (\x01 R\x17 dataUploadUsageQuantity\x12 1\n \x15 data_egres_usage_cost\x18 \x05 \x01 (\x01 R\x12 dataEgresUsageCost\x12 9\n \x19 data_egres_usage_quantity\x18 \x06 \x01 (\x01 R\x16 dataEgresUsageQuantity\x12 =\n \x1b standard_compute_usage_cost\x18 \x07 \x01 (\x01 R\x18 standardComputeUsageCost\x12 E\n \x1f standard_compute_usage_quantity\x18 \x08 \x01 (\x01 R\x1c standardComputeUsageQuantity\x12 0\n \x14 total_usage_quantity\x18 \t \x01 (\x01 R\x12 totalUsageQuantity\x12 9\n \x19 total_usage_with_discount\x18 \n \x01 (\x01 R\x16 totalUsageWithDiscount\x12 ?\n \x1c total_usage_without_discount\x18 \x0b \x01 (\x01 R\x19 totalUsageWithoutDiscount"\xd5 \x01 \n \x0e InvoiceSummary\x12 \x0e \n \x02 id\x18 \x01 \x01 (\t R\x02 id\x12 =\n \x0c invoice_date\x18 \x02 \x01 (\x0b 2\x1a .google.protobuf.TimestampR\x0b invoiceDate\x12 %\n \x0e invoice_amount\x18 \x03 \x01 (\x01 R\r invoiceAmount\x12 \x16 \n \x06 status\x18 \x04 \x01 (\t R\x06 status\x12 5\n \x08 due_date\x18 \x05 \x01 (\x0b 2\x1a .google.protobuf.TimestampR\x07 dueDate"\x8b \x02 \n \x15 BillableResourceEvent\x12 \x0e \n \x02 id\x18 \x01 \x01 (\t R\x02 id\x12 \x12 \n \x04 type\x18 \x02 \x01 (\t R\x04 type\x12 %\n \x0e usage_quantity\x18 \x03 \x01 (\x01 R\r usageQuantity\x12 .\n \x13 usage_quantity_unit\x18 \x04 \x01 (\t R\x11 usageQuantityUnit\x12 \x1d \n \n usage_cost\x18 \x05 \x01 (\t R\t usageCost\x12 ;\n \x0b occurred_at\x18 \x06 \x01 (\x0b 2\x1a .google.protobuf.TimestampR\n occurredAt\x12 \x1b \n \t user_name\x18 \x07 \x01 (\t R\x08 userName"\xa7 \x02 \n \x07 Invoice\x12 \x0e \n \x02 id\x18 \x01 \x01 (\t R\x02 id\x12 =\n \x0c invoice_date\x18 \x02 \x01 (\x0b 2\x1a .google.protobuf.TimestampR\x0b invoiceDate\x12 %\n \x0e invoice_amount\x18 \x03 \x01 (\x01 R\r invoiceAmount\x12 \x16 \n \x06 status\x18 \x04 \x01 (\t R\x06 status\x12 5\n \x08 due_date\x18 \x05 \x01 (\x0b 2\x1a .google.protobuf.TimestampR\x07 dueDate\x12 8\n \x05 items\x18 \x06 \x03 (\x0b 2".viam.app.v1.BillableResourceEventR\x05 items\x12 \x1d \n \n emailed_to\x18 \x07 \x01 (\t R\t emailedTo";\n "GetCurrentMonthUsageSummaryRequest\x12 \x15 \n \x06 org_id\x18 \x01 \x01 (\t R\x05 orgId"\xa2 \x05 \n #GetCurrentMonthUsageSummaryResponse\x12 .\n \x13 cloud_storage_usage\x18 \x01 \x01 (\x01 R\x11 cloudStorageUsage\x12 7\n \x18 cloud_storage_usage_cost\x18 \x02 \x01 (\x01 R\x15 cloudStorageUsageCost\x12 3\n \x16 data_upload_usage_cost\x18 \x03 \x01 (\x01 R\x13 dataUploadUsageCost\x12 ;\n \x1a data_upload_usage_quantity\x18 \x04 \x01 (\x01 R\x17 dataUploadUsageQuantity\x12 1\n \x15 data_egres_usage_cost\x18 \x05 \x01 (\x01 R\x12 dataEgresUsageCost\x12 9\n \x19 data_egres_usage_quantity\x18 \x06 \x01 (\x01 R\x16 dataEgresUsageQuantity\x12 =\n \x1b standard_compute_usage_cost\x18 \x07 \x01 (\x01 R\x18 standardComputeUsageCost\x12 E\n \x1f standard_compute_usage_quantity\x18 \x08 \x01 (\x01 R\x1c standardComputeUsageQuantity\x12 0\n \x14 total_usage_quantity\x18 \t \x01 (\x01 R\x12 totalUsageQuantity\x12 9\n \x19 total_usage_with_discount\x18 \n \x01 (\x01 R\x16 totalUsageWithDiscount\x12 ?\n \x1c total_usage_without_discount\x18 \x0b \x01 (\x01 R\x19 totalUsageWithoutDiscount"0\n \x17 GetUnpaidBalanceRequest\x12 \x15 \n \x06 org_id\x18 \x01 \x01 (\t R\x05 orgId"\x94 \x01 \n \x18 GetUnpaidBalanceResponse\x12 %\n \x0e unpaid_balance\x18 \x01 \x01 (\x01 R\r unpaidBalance\x12 Q\n \x17 unpaid_balance_due_date\x18 \x02 \x01 (\x0b 2\x1a .google.protobuf.TimestampR\x14 unpaidBalanceDueDate"1\n \x18 GetInvoiceHistoryRequest\x12 \x15 \n \x06 org_id\x18 \x01 \x01 (\t R\x05 orgId"T\n \x19 GetInvoiceHistoryResponse\x12 7\n \x08 invoices\x18 \x01 \x03 (\x0b 2\x1b .viam.app.v1.InvoiceSummaryR\x08 invoices"+\n \x19 GetItemizedInvoiceRequest\x12 \x0e \n \x02 id\x18 \x01 \x01 (\t R\x02 id"L\n \x1a GetItemizedInvoiceResponse\x12 .\n \x07 invoice\x18 \x01 \x01 (\x0b 2\x14 .viam.app.v1.InvoiceR\x07 invoice"1\n \x18 GetBillingSummaryRequest\x12 \x15 \n \x06 org_id\x18 \x01 \x01 (\t R\x05 orgId"\xa0 \x03 \n \x19 GetBillingSummaryResponse\x12 J\n \r usage_summary\x18 \x01 \x01 (\x0b 2%.viam.app.v1.CurrentMonthUsageSummaryR\x0c usageSummary\x12 7\n \x08 invoices\x18 \x02 \x03 (\x0b 2\x1b .viam.app.v1.InvoiceSummaryR\x08 invoices\x12 +\n \x11 statement_balance\x18 \x03 \x01 (\x01 R\x10 statementBalance\x12 \' \n \x0f current_balance\x18 \x04 \x01 (\x01 R\x0e currentBalance\x12 2\n \x15 current_month_balance\x18 \x05 \x01 (\x01 R\x13 currentMonthBalance\x12 O\n \x16 current_month_due_date\x18 \x07 \x01 (\x0b 2\x1a .google.protobuf.TimestampR\x13 currentMonthDueDate\x12 #\n \r invoice_email\x18 \x08 \x01 (\t R\x0c invoiceEmail2\xa3 \x04 \n \x0e BillingService\x12 \x80 \x01 \n \x1b GetCurrentMonthUsageSummary\x12 /.viam.app.v1.GetCurrentMonthUsageSummaryRequest\x1a 0.viam.app.v1.GetCurrentMonthUsageSummaryResponse\x12 _\n \x10 GetUnpaidBalance\x12 $.viam.app.v1.GetUnpaidBalanceRequest\x1a %.viam.app.v1.GetUnpaidBalanceResponse\x12 b\n \x11 GetInvoiceHistory\x12 %.viam.app.v1.GetInvoiceHistoryRequest\x1a &.viam.app.v1.GetInvoiceHistoryResponse\x12 e\n \x12 GetItemizedInvoice\x12 &.viam.app.v1.GetItemizedInvoiceRequest\x1a \' .viam.app.v1.GetItemizedInvoiceResponse\x12 b\n \x11 GetBillingSummary\x12 %.viam.app.v1.GetBillingSummaryRequest\x1a &.viam.app.v1.GetBillingSummaryResponseB\x18 Z\x16 go.viam.com/api/app/v1b\x06 proto3' )
8
+ DESCRIPTOR = _descriptor_pool .Default ().AddSerializedFile (b'\n \x14 app/v1/billing.proto\x12 \x0b viam.app.v1\x1a \x1f google/protobuf/timestamp.proto"\x97 \x05 \n \x18 CurrentMonthUsageSummary\x12 .\n \x13 cloud_storage_usage\x18 \x01 \x01 (\x01 R\x11 cloudStorageUsage\x12 7\n \x18 cloud_storage_usage_cost\x18 \x02 \x01 (\x01 R\x15 cloudStorageUsageCost\x12 3\n \x16 data_upload_usage_cost\x18 \x03 \x01 (\x01 R\x13 dataUploadUsageCost\x12 ;\n \x1a data_upload_usage_quantity\x18 \x04 \x01 (\x01 R\x17 dataUploadUsageQuantity\x12 1\n \x15 data_egres_usage_cost\x18 \x05 \x01 (\x01 R\x12 dataEgresUsageCost\x12 9\n \x19 data_egres_usage_quantity\x18 \x06 \x01 (\x01 R\x16 dataEgresUsageQuantity\x12 =\n \x1b standard_compute_usage_cost\x18 \x07 \x01 (\x01 R\x18 standardComputeUsageCost\x12 E\n \x1f standard_compute_usage_quantity\x18 \x08 \x01 (\x01 R\x1c standardComputeUsageQuantity\x12 0\n \x14 total_usage_quantity\x18 \t \x01 (\x01 R\x12 totalUsageQuantity\x12 9\n \x19 total_usage_with_discount\x18 \n \x01 (\x01 R\x16 totalUsageWithDiscount\x12 ?\n \x1c total_usage_without_discount\x18 \x0b \x01 (\x01 R\x19 totalUsageWithoutDiscount"\x8e \x02 \n \x0e InvoiceSummary\x12 \x0e \n \x02 id\x18 \x01 \x01 (\t R\x02 id\x12 =\n \x0c invoice_date\x18 \x02 \x01 (\x0b 2\x1a .google.protobuf.TimestampR\x0b invoiceDate\x12 %\n \x0e invoice_amount\x18 \x03 \x01 (\x01 R\r invoiceAmount\x12 \x16 \n \x06 status\x18 \x04 \x01 (\t R\x06 status\x12 5\n \x08 due_date\x18 \x05 \x01 (\x0b 2\x1a .google.protobuf.TimestampR\x07 dueDate\x12 7\n \t paid_date\x18 \x06 \x01 (\x0b 2\x1a .google.protobuf.TimestampR\x08 paidDate"\x8b \x02 \n \x15 BillableResourceEvent\x12 \x0e \n \x02 id\x18 \x01 \x01 (\t R\x02 id\x12 \x12 \n \x04 type\x18 \x02 \x01 (\t R\x04 type\x12 %\n \x0e usage_quantity\x18 \x03 \x01 (\x01 R\r usageQuantity\x12 .\n \x13 usage_quantity_unit\x18 \x04 \x01 (\t R\x11 usageQuantityUnit\x12 \x1d \n \n usage_cost\x18 \x05 \x01 (\t R\t usageCost\x12 ;\n \x0b occurred_at\x18 \x06 \x01 (\x0b 2\x1a .google.protobuf.TimestampR\n occurredAt\x12 \x1b \n \t user_name\x18 \x07 \x01 (\t R\x08 userName"\xa7 \x02 \n \x07 Invoice\x12 \x0e \n \x02 id\x18 \x01 \x01 (\t R\x02 id\x12 =\n \x0c invoice_date\x18 \x02 \x01 (\x0b 2\x1a .google.protobuf.TimestampR\x0b invoiceDate\x12 %\n \x0e invoice_amount\x18 \x03 \x01 (\x01 R\r invoiceAmount\x12 \x16 \n \x06 status\x18 \x04 \x01 (\t R\x06 status\x12 5\n \x08 due_date\x18 \x05 \x01 (\x0b 2\x1a .google.protobuf.TimestampR\x07 dueDate\x12 8\n \x05 items\x18 \x06 \x03 (\x0b 2".viam.app.v1.BillableResourceEventR\x05 items\x12 \x1d \n \n emailed_to\x18 \x07 \x01 (\t R\t emailedTo"S\n \x11 PaymentMethodCard\x12 \x14 \n \x05 brand\x18 \x01 \x01 (\t R\x05 brand\x12 (\n \x10 last_four_digits\x18 \x02 \x01 (\t R\x0e lastFourDigits";\n "GetCurrentMonthUsageSummaryRequest\x12 \x15 \n \x06 org_id\x18 \x01 \x01 (\t R\x05 orgId"\xa2 \x05 \n #GetCurrentMonthUsageSummaryResponse\x12 .\n \x13 cloud_storage_usage\x18 \x01 \x01 (\x01 R\x11 cloudStorageUsage\x12 7\n \x18 cloud_storage_usage_cost\x18 \x02 \x01 (\x01 R\x15 cloudStorageUsageCost\x12 3\n \x16 data_upload_usage_cost\x18 \x03 \x01 (\x01 R\x13 dataUploadUsageCost\x12 ;\n \x1a data_upload_usage_quantity\x18 \x04 \x01 (\x01 R\x17 dataUploadUsageQuantity\x12 1\n \x15 data_egres_usage_cost\x18 \x05 \x01 (\x01 R\x12 dataEgresUsageCost\x12 9\n \x19 data_egres_usage_quantity\x18 \x06 \x01 (\x01 R\x16 dataEgresUsageQuantity\x12 =\n \x1b standard_compute_usage_cost\x18 \x07 \x01 (\x01 R\x18 standardComputeUsageCost\x12 E\n \x1f standard_compute_usage_quantity\x18 \x08 \x01 (\x01 R\x1c standardComputeUsageQuantity\x12 0\n \x14 total_usage_quantity\x18 \t \x01 (\x01 R\x12 totalUsageQuantity\x12 9\n \x19 total_usage_with_discount\x18 \n \x01 (\x01 R\x16 totalUsageWithDiscount\x12 ?\n \x1c total_usage_without_discount\x18 \x0b \x01 (\x01 R\x19 totalUsageWithoutDiscount"0\n \x17 GetUnpaidBalanceRequest\x12 \x15 \n \x06 org_id\x18 \x01 \x01 (\t R\x05 orgId"\x94 \x01 \n \x18 GetUnpaidBalanceResponse\x12 %\n \x0e unpaid_balance\x18 \x01 \x01 (\x01 R\r unpaidBalance\x12 Q\n \x17 unpaid_balance_due_date\x18 \x02 \x01 (\x0b 2\x1a .google.protobuf.TimestampR\x14 unpaidBalanceDueDate"1\n \x18 GetInvoiceHistoryRequest\x12 \x15 \n \x06 org_id\x18 \x01 \x01 (\t R\x05 orgId"T\n \x19 GetInvoiceHistoryResponse\x12 7\n \x08 invoices\x18 \x01 \x03 (\x0b 2\x1b .viam.app.v1.InvoiceSummaryR\x08 invoices"+\n \x19 GetItemizedInvoiceRequest\x12 \x0e \n \x02 id\x18 \x01 \x01 (\t R\x02 id"L\n \x1a GetItemizedInvoiceResponse\x12 .\n \x07 invoice\x18 \x01 \x01 (\x0b 2\x14 .viam.app.v1.InvoiceR\x07 invoice"1\n \x18 GetBillingSummaryRequest\x12 \x15 \n \x06 org_id\x18 \x01 \x01 (\t R\x05 orgId"\xe7 \x03 \n \x19 GetBillingSummaryResponse\x12 J\n \r usage_summary\x18 \x01 \x01 (\x0b 2%.viam.app.v1.CurrentMonthUsageSummaryR\x0c usageSummary\x12 7\n \x08 invoices\x18 \x02 \x03 (\x0b 2\x1b .viam.app.v1.InvoiceSummaryR\x08 invoices\x12 +\n \x11 statement_balance\x18 \x03 \x01 (\x01 R\x10 statementBalance\x12 \' \n \x0f current_balance\x18 \x04 \x01 (\x01 R\x0e currentBalance\x12 2\n \x15 current_month_balance\x18 \x05 \x01 (\x01 R\x13 currentMonthBalance\x12 O\n \x16 current_month_due_date\x18 \x07 \x01 (\x0b 2\x1a .google.protobuf.TimestampR\x13 currentMonthDueDate\x12 #\n \r invoice_email\x18 \x08 \x01 (\t R\x0c invoiceEmail\x12 E\n \x0e payment_method\x18 \t \x01 (\x0b 2\x1e .viam.app.v1.PaymentMethodCardR\r paymentMethod2\xa3 \x04 \n \x0e BillingService\x12 \x80 \x01 \n \x1b GetCurrentMonthUsageSummary\x12 /.viam.app.v1.GetCurrentMonthUsageSummaryRequest\x1a 0.viam.app.v1.GetCurrentMonthUsageSummaryResponse\x12 _\n \x10 GetUnpaidBalance\x12 $.viam.app.v1.GetUnpaidBalanceRequest\x1a %.viam.app.v1.GetUnpaidBalanceResponse\x12 b\n \x11 GetInvoiceHistory\x12 %.viam.app.v1.GetInvoiceHistoryRequest\x1a &.viam.app.v1.GetInvoiceHistoryResponse\x12 e\n \x12 GetItemizedInvoice\x12 &.viam.app.v1.GetItemizedInvoiceRequest\x1a \' .viam.app.v1.GetItemizedInvoiceResponse\x12 b\n \x11 GetBillingSummary\x12 %.viam.app.v1.GetBillingSummaryRequest\x1a &.viam.app.v1.GetBillingSummaryResponseB\x18 Z\x16 go.viam.com/api/app/v1b\x06 proto3' )
9
9
_builder .BuildMessageAndEnumDescriptors (DESCRIPTOR , globals ())
10
10
_builder .BuildTopDescriptorsAndMessages (DESCRIPTOR , 'app.v1.billing_pb2' , globals ())
11
11
if _descriptor ._USE_C_DESCRIPTORS == False :
14
14
_CURRENTMONTHUSAGESUMMARY ._serialized_start = 71
15
15
_CURRENTMONTHUSAGESUMMARY ._serialized_end = 734
16
16
_INVOICESUMMARY ._serialized_start = 737
17
- _INVOICESUMMARY ._serialized_end = 950
18
- _BILLABLERESOURCEEVENT ._serialized_start = 953
19
- _BILLABLERESOURCEEVENT ._serialized_end = 1220
20
- _INVOICE ._serialized_start = 1223
21
- _INVOICE ._serialized_end = 1518
22
- _GETCURRENTMONTHUSAGESUMMARYREQUEST ._serialized_start = 1520
23
- _GETCURRENTMONTHUSAGESUMMARYREQUEST ._serialized_end = 1579
24
- _GETCURRENTMONTHUSAGESUMMARYRESPONSE ._serialized_start = 1582
25
- _GETCURRENTMONTHUSAGESUMMARYRESPONSE ._serialized_end = 2256
26
- _GETUNPAIDBALANCEREQUEST ._serialized_start = 2258
27
- _GETUNPAIDBALANCEREQUEST ._serialized_end = 2306
28
- _GETUNPAIDBALANCERESPONSE ._serialized_start = 2309
29
- _GETUNPAIDBALANCERESPONSE ._serialized_end = 2457
30
- _GETINVOICEHISTORYREQUEST ._serialized_start = 2459
31
- _GETINVOICEHISTORYREQUEST ._serialized_end = 2508
32
- _GETINVOICEHISTORYRESPONSE ._serialized_start = 2510
33
- _GETINVOICEHISTORYRESPONSE ._serialized_end = 2594
34
- _GETITEMIZEDINVOICEREQUEST ._serialized_start = 2596
35
- _GETITEMIZEDINVOICEREQUEST ._serialized_end = 2639
36
- _GETITEMIZEDINVOICERESPONSE ._serialized_start = 2641
37
- _GETITEMIZEDINVOICERESPONSE ._serialized_end = 2717
38
- _GETBILLINGSUMMARYREQUEST ._serialized_start = 2719
39
- _GETBILLINGSUMMARYREQUEST ._serialized_end = 2768
40
- _GETBILLINGSUMMARYRESPONSE ._serialized_start = 2771
41
- _GETBILLINGSUMMARYRESPONSE ._serialized_end = 3187
42
- _BILLINGSERVICE ._serialized_start = 3190
43
- _BILLINGSERVICE ._serialized_end = 3737
17
+ _INVOICESUMMARY ._serialized_end = 1007
18
+ _BILLABLERESOURCEEVENT ._serialized_start = 1010
19
+ _BILLABLERESOURCEEVENT ._serialized_end = 1277
20
+ _INVOICE ._serialized_start = 1280
21
+ _INVOICE ._serialized_end = 1575
22
+ _PAYMENTMETHODCARD ._serialized_start = 1577
23
+ _PAYMENTMETHODCARD ._serialized_end = 1660
24
+ _GETCURRENTMONTHUSAGESUMMARYREQUEST ._serialized_start = 1662
25
+ _GETCURRENTMONTHUSAGESUMMARYREQUEST ._serialized_end = 1721
26
+ _GETCURRENTMONTHUSAGESUMMARYRESPONSE ._serialized_start = 1724
27
+ _GETCURRENTMONTHUSAGESUMMARYRESPONSE ._serialized_end = 2398
28
+ _GETUNPAIDBALANCEREQUEST ._serialized_start = 2400
29
+ _GETUNPAIDBALANCEREQUEST ._serialized_end = 2448
30
+ _GETUNPAIDBALANCERESPONSE ._serialized_start = 2451
31
+ _GETUNPAIDBALANCERESPONSE ._serialized_end = 2599
32
+ _GETINVOICEHISTORYREQUEST ._serialized_start = 2601
33
+ _GETINVOICEHISTORYREQUEST ._serialized_end = 2650
34
+ _GETINVOICEHISTORYRESPONSE ._serialized_start = 2652
35
+ _GETINVOICEHISTORYRESPONSE ._serialized_end = 2736
36
+ _GETITEMIZEDINVOICEREQUEST ._serialized_start = 2738
37
+ _GETITEMIZEDINVOICEREQUEST ._serialized_end = 2781
38
+ _GETITEMIZEDINVOICERESPONSE ._serialized_start = 2783
39
+ _GETITEMIZEDINVOICERESPONSE ._serialized_end = 2859
40
+ _GETBILLINGSUMMARYREQUEST ._serialized_start = 2861
41
+ _GETBILLINGSUMMARYREQUEST ._serialized_end = 2910
42
+ _GETBILLINGSUMMARYRESPONSE ._serialized_start = 2913
43
+ _GETBILLINGSUMMARYRESPONSE ._serialized_end = 3400
44
+ _BILLINGSERVICE ._serialized_start = 3403
45
+ _BILLINGSERVICE ._serialized_end = 3950
0 commit comments