Sven Efftinge
|
a5d67448b2
|
Revert "[usage] handle reset usage for chargebee"
|
2022-12-02 11:47:01 -03:00 |
|
Sven Efftinge
|
2eead4a625
|
[usage] handle reset usage for chargebee
chargebee subscriptions that are cancelled get a dedicatd cost center
|
2022-11-30 09:08:00 -03:00 |
|
Sven Efftinge
|
e044c1d49f
|
[admin] allow usage adjustments
|
2022-11-22 06:31:51 -03:00 |
|
Alex Tugarev
|
3de193e3fb
|
[stripe] guard resubscribing with another currency
because it currently not supported.
|
2022-11-21 06:56:50 -03:00 |
|
Sven Efftinge
|
89d0b7df3f
|
[admin] add admin endpoints for usage
|
2022-11-18 12:57:47 +02:00 |
|
Jan Keromnes
|
56a4fe2895
|
[usage] Introduce an explicit CostCenter.BillingCycleStart time
|
2022-11-11 13:32:41 +02:00 |
|
Milan Pavlik
|
fa8cdc500d
|
[server] Break dependency of content-service on gitpod-protocol, and usage-api on gitpod-protocol
|
2022-11-09 12:23:38 +01:00 |
|
Milan Pavlik
|
a8638e4a14
|
[usage] Add UsageService.ResetUsage RPC
|
2022-10-26 16:17:41 +02:00 |
|
Laurie T. Malau
|
f52f5817a6
|
[usage] Fix proto for CreateStripeSubscription response message
|
2022-10-20 12:29:35 +02:00 |
|
Laurie T. Malau
|
e61ab5bf8e
|
[usage] Proto changes Stripe RPC
|
2022-10-18 16:31:33 +02:00 |
|
Milan Pavlik
|
d7ed1f005c
|
[billing] Define CreateStripeCustomer RPC
|
2022-10-18 12:14:33 +02:00 |
|
Milan Pavlik
|
922024d202
|
[usage] Return CostCenter from UsageService.SetCostCenter
|
2022-10-12 11:28:27 +02:00 |
|
Milan Pavlik
|
ccaff6ff2b
|
[usage] Add GetStripeCustomer to BillingService
|
2022-10-07 12:35:22 +02:00 |
|
Sven Efftinge
|
5670a5500e
|
[usage] show sum of usage not balance
fixes #13067
|
2022-09-23 10:03:24 +02:00 |
|
Sven Efftinge
|
1b995ef47f
|
[usage] introduce getBalance API
|
2022-09-23 07:34:23 +02:00 |
|
Sven Efftinge
|
4d35f4db8f
|
[usage] remove unused GetUpcomingInvoice
|
2022-09-19 11:22:20 +02:00 |
|
Milan Pavlik
|
23419beead
|
[usage] Remove BillingService.SetBilledSession proto
|
2022-09-16 17:20:17 +02:00 |
|
Sven Efftinge
|
9c9369b4e5
|
[usage-api] add CancelSubscription API
This API is called by Stripe when a customer cancels their subscription
|
2022-09-16 16:24:17 +02:00 |
|
Sven Efftinge
|
2701ec7bdc
|
[usage] added costcenter nextBillingTime
|
2022-09-15 19:18:16 +02:00 |
|
Milan Pavlik
|
c3673e3fdc
|
[usage] Rename ReconcileUsageWithLedger to ReconcileUsage
|
2022-09-13 15:55:14 +02:00 |
|
Sven Efftinge
|
e3ed2c638d
|
[usage-api] Use better typescript generator
|
2022-09-13 14:34:14 +02:00 |
|
Andrew Farries
|
2d3f0c36d6
|
Use correct return type rather than casting
In particular avoid the use of `||` against an enum type that can be 0.
See:
https://github.com/gitpod-io/gitpod/pull/12767#issuecomment-1242053307
|
2022-09-12 08:00:13 +02:00 |
|
Andrew Farries
|
06ef1ff858
|
Reformat file
|
2022-09-12 08:00:13 +02:00 |
|
Sven Efftinge
|
74bc751ec7
|
[cost center] Add save API
|
2022-09-09 11:25:24 +02:00 |
|
Milan Pavlik
|
066b577b6d
|
[usage] Remove unused RPCs from proto
|
2022-09-09 07:19:23 +02:00 |
|
Sven Efftinge
|
15e3de7b96
|
[usage-api] remove superceded API
|
2022-09-08 12:37:23 +02:00 |
|
Sven Efftinge
|
5e72785abc
|
[usage] remove ListBilledUsage API
|
2022-09-08 08:54:23 +02:00 |
|
Milan Pavlik
|
60c9bc2c8c
|
[billing] Add ReconcileInvoices RPC to BillingService protos
|
2022-09-07 09:55:22 +02:00 |
|
Sven Efftinge
|
e01c880447
|
Added API call to fetch usage data
|
2022-09-06 09:58:21 +02:00 |
|
Sven Efftinge
|
29388c9764
|
Added API call to fetch usage data
|
2022-09-06 09:04:21 +02:00 |
|
Milan Pavlik
|
f0f159efc4
|
[usage] Usage ledger API protos
|
2022-09-05 11:30:20 +02:00 |
|
Alex Tugarev
|
a8d0889405
|
Add pagination to list usage
|
2022-08-31 15:14:16 +02:00 |
|
Alex Tugarev
|
030c183993
|
Use upcoming invoice
|
2022-08-25 16:07:10 +02:00 |
|
Laurie T. Malau
|
f0e6ee3bed
|
[usage] Proto changes for GetCostCenter RPC
|
2022-08-24 11:38:40 +02:00 |
|
Milan Pavlik
|
cb478da342
|
[usage] Add report_id to ReconcileUsage response
|
2022-08-24 09:52:40 +02:00 |
|
Milan Pavlik
|
1cd0fbfd1d
|
[billing] Add report_id to UpdateInvoices RPC
|
2022-08-23 15:40:39 +02:00 |
|
Alex Tugarev
|
d3147bcb55
|
regenerate usage-api
|
2022-08-23 12:08:39 +02:00 |
|
Laurie T. Malau
|
0e3702e073
|
Implement setBilledSession
|
2022-08-11 09:15:55 +02:00 |
|
Gero Posmyk-Leinemann
|
3d71d19a73
|
[server] Integrate BillingService
|
2022-08-10 16:53:56 +02:00 |
|
Laurie T. Malau
|
b9e42ae153
|
Add billing setup in sugar
|
2022-08-09 15:51:53 +02:00 |
|
Laurie T. Malau
|
e782d3ab0c
|
Proto changes
|
2022-08-05 12:14:49 -03:00 |
|
Andrew Farries
|
bc6c018cf5
|
Run ./generate.sh
|
2022-08-05 04:56:49 -03:00 |
|
Laurie T. Malau
|
04f122ca8a
|
add sorting
|
2022-08-01 08:00:45 -03:00 |
|
Milan Pavlik
|
6c6d2689e8
|
[billing] GetLatestInvoice RPC protos
|
2022-07-27 11:58:22 -03:00 |
|
Milan Pavlik
|
66578f1793
|
[usage] Rename CollectUsage to ReconcileUsage
|
2022-07-27 06:35:22 -03:00 |
|
Milan Pavlik
|
6e3faa703c
|
[usage] Add CollectUsage RPC
|
2022-07-27 06:35:22 -03:00 |
|
Milan Pavlik
|
c582420eb0
|
[usage] Fix BilledSession credits precision
|
2022-07-27 04:11:21 -03:00 |
|
Milan Pavlik
|
91c61f496c
|
[usage] Add BillingService with UpdateInvoices RPC
|
2022-07-26 11:23:21 -03:00 |
|
Laurie T. Malau
|
e163181605
|
Extend server args with time-filtering
|
2022-07-25 08:07:20 -03:00 |
|
Milan Pavlik
|
96bcd3e943
|
[usage] ListBilledUsage allows to specify ordering
|
2022-07-22 08:28:17 -03:00 |
|