Skip to content

Commit 529c386

Browse files
feat(api): api update
1 parent 7e10ed7 commit 529c386

File tree

28 files changed

+83
-2
lines changed

28 files changed

+83
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 118
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-9dda3e74d276c581c08bea0cad47ae390143d94640f267d827caf234301f2721.yml
3-
openapi_spec_hash: 60daf7a378cdf7dd1f7338c303e2d661
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-d63c8075b48441663736b457f8ad859c58cc3e31dfbffb68db44c3f00562012c.yml
3+
openapi_spec_hash: c47dbff685a0a449bfc1ad729c13a72e
44
config_hash: 1f73a949b649ecfe6ec68ba1bb459dc2

src/Orb/Models/PriceProperties/BulkProperties/PriceType.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public enum PriceType
99
{
1010
UsagePrice,
1111
FixedPrice,
12+
CompositePrice,
1213
}
1314

1415
sealed class PriceTypeConverter : JsonConverter<PriceType>
@@ -23,6 +24,7 @@ JsonSerializerOptions options
2324
{
2425
"usage_price" => PriceType.UsagePrice,
2526
"fixed_price" => PriceType.FixedPrice,
27+
"composite_price" => PriceType.CompositePrice,
2628
_ => (PriceType)(-1),
2729
};
2830
}
@@ -39,6 +41,7 @@ JsonSerializerOptions options
3941
{
4042
PriceType.UsagePrice => "usage_price",
4143
PriceType.FixedPrice => "fixed_price",
44+
PriceType.CompositePrice => "composite_price",
4245
_ => throw new ArgumentOutOfRangeException(nameof(value)),
4346
},
4447
options

src/Orb/Models/PriceProperties/BulkWithProrationProperties/PriceType.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public enum PriceType
99
{
1010
UsagePrice,
1111
FixedPrice,
12+
CompositePrice,
1213
}
1314

1415
sealed class PriceTypeConverter : JsonConverter<PriceType>
@@ -23,6 +24,7 @@ JsonSerializerOptions options
2324
{
2425
"usage_price" => PriceType.UsagePrice,
2526
"fixed_price" => PriceType.FixedPrice,
27+
"composite_price" => PriceType.CompositePrice,
2628
_ => (PriceType)(-1),
2729
};
2830
}
@@ -39,6 +41,7 @@ JsonSerializerOptions options
3941
{
4042
PriceType.UsagePrice => "usage_price",
4143
PriceType.FixedPrice => "fixed_price",
44+
PriceType.CompositePrice => "composite_price",
4245
_ => throw new ArgumentOutOfRangeException(nameof(value)),
4346
},
4447
options

src/Orb/Models/PriceProperties/CumulativeGroupedBulkProperties/PriceType.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public enum PriceType
99
{
1010
UsagePrice,
1111
FixedPrice,
12+
CompositePrice,
1213
}
1314

1415
sealed class PriceTypeConverter : JsonConverter<PriceType>
@@ -23,6 +24,7 @@ JsonSerializerOptions options
2324
{
2425
"usage_price" => PriceType.UsagePrice,
2526
"fixed_price" => PriceType.FixedPrice,
27+
"composite_price" => PriceType.CompositePrice,
2628
_ => (PriceType)(-1),
2729
};
2830
}
@@ -39,6 +41,7 @@ JsonSerializerOptions options
3941
{
4042
PriceType.UsagePrice => "usage_price",
4143
PriceType.FixedPrice => "fixed_price",
44+
PriceType.CompositePrice => "composite_price",
4245
_ => throw new ArgumentOutOfRangeException(nameof(value)),
4346
},
4447
options

src/Orb/Models/PriceProperties/GroupedAllocationProperties/PriceType.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public enum PriceType
99
{
1010
UsagePrice,
1111
FixedPrice,
12+
CompositePrice,
1213
}
1314

1415
sealed class PriceTypeConverter : JsonConverter<PriceType>
@@ -23,6 +24,7 @@ JsonSerializerOptions options
2324
{
2425
"usage_price" => PriceType.UsagePrice,
2526
"fixed_price" => PriceType.FixedPrice,
27+
"composite_price" => PriceType.CompositePrice,
2628
_ => (PriceType)(-1),
2729
};
2830
}
@@ -39,6 +41,7 @@ JsonSerializerOptions options
3941
{
4042
PriceType.UsagePrice => "usage_price",
4143
PriceType.FixedPrice => "fixed_price",
44+
PriceType.CompositePrice => "composite_price",
4245
_ => throw new ArgumentOutOfRangeException(nameof(value)),
4346
},
4447
options

src/Orb/Models/PriceProperties/GroupedTieredPackageProperties/PriceType.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public enum PriceType
99
{
1010
UsagePrice,
1111
FixedPrice,
12+
CompositePrice,
1213
}
1314

1415
sealed class PriceTypeConverter : JsonConverter<PriceType>
@@ -23,6 +24,7 @@ JsonSerializerOptions options
2324
{
2425
"usage_price" => PriceType.UsagePrice,
2526
"fixed_price" => PriceType.FixedPrice,
27+
"composite_price" => PriceType.CompositePrice,
2628
_ => (PriceType)(-1),
2729
};
2830
}
@@ -39,6 +41,7 @@ JsonSerializerOptions options
3941
{
4042
PriceType.UsagePrice => "usage_price",
4143
PriceType.FixedPrice => "fixed_price",
44+
PriceType.CompositePrice => "composite_price",
4245
_ => throw new ArgumentOutOfRangeException(nameof(value)),
4346
},
4447
options

src/Orb/Models/PriceProperties/GroupedTieredProperties/PriceType.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public enum PriceType
99
{
1010
UsagePrice,
1111
FixedPrice,
12+
CompositePrice,
1213
}
1314

1415
sealed class PriceTypeConverter : JsonConverter<PriceType>
@@ -23,6 +24,7 @@ JsonSerializerOptions options
2324
{
2425
"usage_price" => PriceType.UsagePrice,
2526
"fixed_price" => PriceType.FixedPrice,
27+
"composite_price" => PriceType.CompositePrice,
2628
_ => (PriceType)(-1),
2729
};
2830
}
@@ -39,6 +41,7 @@ JsonSerializerOptions options
3941
{
4042
PriceType.UsagePrice => "usage_price",
4143
PriceType.FixedPrice => "fixed_price",
44+
PriceType.CompositePrice => "composite_price",
4245
_ => throw new ArgumentOutOfRangeException(nameof(value)),
4346
},
4447
options

src/Orb/Models/PriceProperties/GroupedWithMeteredMinimumProperties/PriceType.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public enum PriceType
99
{
1010
UsagePrice,
1111
FixedPrice,
12+
CompositePrice,
1213
}
1314

1415
sealed class PriceTypeConverter : JsonConverter<PriceType>
@@ -23,6 +24,7 @@ JsonSerializerOptions options
2324
{
2425
"usage_price" => PriceType.UsagePrice,
2526
"fixed_price" => PriceType.FixedPrice,
27+
"composite_price" => PriceType.CompositePrice,
2628
_ => (PriceType)(-1),
2729
};
2830
}
@@ -39,6 +41,7 @@ JsonSerializerOptions options
3941
{
4042
PriceType.UsagePrice => "usage_price",
4143
PriceType.FixedPrice => "fixed_price",
44+
PriceType.CompositePrice => "composite_price",
4245
_ => throw new ArgumentOutOfRangeException(nameof(value)),
4346
},
4447
options

src/Orb/Models/PriceProperties/GroupedWithMinMaxThresholdsProperties/PriceType.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public enum PriceType
99
{
1010
UsagePrice,
1111
FixedPrice,
12+
CompositePrice,
1213
}
1314

1415
sealed class PriceTypeConverter : JsonConverter<PriceType>
@@ -23,6 +24,7 @@ JsonSerializerOptions options
2324
{
2425
"usage_price" => PriceType.UsagePrice,
2526
"fixed_price" => PriceType.FixedPrice,
27+
"composite_price" => PriceType.CompositePrice,
2628
_ => (PriceType)(-1),
2729
};
2830
}
@@ -39,6 +41,7 @@ JsonSerializerOptions options
3941
{
4042
PriceType.UsagePrice => "usage_price",
4143
PriceType.FixedPrice => "fixed_price",
44+
PriceType.CompositePrice => "composite_price",
4245
_ => throw new ArgumentOutOfRangeException(nameof(value)),
4346
},
4447
options

src/Orb/Models/PriceProperties/GroupedWithProratedMinimumProperties/PriceType.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public enum PriceType
99
{
1010
UsagePrice,
1111
FixedPrice,
12+
CompositePrice,
1213
}
1314

1415
sealed class PriceTypeConverter : JsonConverter<PriceType>
@@ -23,6 +24,7 @@ JsonSerializerOptions options
2324
{
2425
"usage_price" => PriceType.UsagePrice,
2526
"fixed_price" => PriceType.FixedPrice,
27+
"composite_price" => PriceType.CompositePrice,
2628
_ => (PriceType)(-1),
2729
};
2830
}
@@ -39,6 +41,7 @@ JsonSerializerOptions options
3941
{
4042
PriceType.UsagePrice => "usage_price",
4143
PriceType.FixedPrice => "fixed_price",
44+
PriceType.CompositePrice => "composite_price",
4245
_ => throw new ArgumentOutOfRangeException(nameof(value)),
4346
},
4447
options

0 commit comments

Comments
 (0)