Skip to content

Commit 24cf209

Browse files
author
serverpod_cloud
committed
feat(gc): 6d5378ce3fc8ab2c79f8bd1426600e62ea17482e
1 parent ac5a6c0 commit 24cf209

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

ground_control_client/lib/src/protocol/domains/billing/models/billing_mapping_type.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ enum BillingMappingType implements _i1.SerializableModel {
1616
planId,
1717
subscriptionId,
1818
itemId,
19-
priceId;
19+
priceId,
20+
adjustmentIntervalId;
2021

2122
static BillingMappingType fromJson(String name) {
2223
switch (name) {
@@ -28,6 +29,8 @@ enum BillingMappingType implements _i1.SerializableModel {
2829
return BillingMappingType.itemId;
2930
case 'priceId':
3031
return BillingMappingType.priceId;
32+
case 'adjustmentIntervalId':
33+
return BillingMappingType.adjustmentIntervalId;
3134
default:
3235
throw ArgumentError(
3336
'Value "$name" cannot be converted to "BillingMappingType"',

ground_control_client/lib/src/protocol/domains/products/models/product_type.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ enum ProductType implements _i1.SerializableModel {
1717
project,
1818
capsule,
1919
compute,
20-
database;
20+
database,
21+
discount;
2122

2223
static ProductType fromJson(String name) {
2324
switch (name) {
@@ -31,6 +32,8 @@ enum ProductType implements _i1.SerializableModel {
3132
return ProductType.compute;
3233
case 'database':
3334
return ProductType.database;
35+
case 'discount':
36+
return ProductType.discount;
3437
default:
3538
throw ArgumentError(
3639
'Value "$name" cannot be converted to "ProductType"',

0 commit comments

Comments
 (0)