Skip to content

Commit 0d2249f

Browse files
feat(api): api update
1 parent c2bedff commit 0d2249f

33 files changed

Lines changed: 1241 additions & 16 deletions

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 139
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-1ca41c4b1d872cf2a198c8cf5edeeeddac012259a7cf211b102bf137c05b8240.yml
3-
openapi_spec_hash: 955066d4865fc42440cd81e40f5f79cd
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-2b77f13a159cf689a3bba6ac5ff03b6c0df62b772e2da04aff52be86710ca4d4.yml
3+
openapi_spec_hash: 28a3f685403d98ddd68b427d92ed28fb
44
config_hash: c01c1191b1cd696c7ca855ff6d28a8df

src/Orb.Tests/Models/AggregatedCostTest.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ public void FieldRoundtrip_Works()
8484
},
8585
ExternalPriceID = "external_price_id",
8686
FixedPriceQuantity = 0,
87+
InvoiceGroupingKey = "invoice_grouping_key",
8788
InvoicingCycleConfiguration = new()
8889
{
8990
Duration = 0,
@@ -220,6 +221,7 @@ public void FieldRoundtrip_Works()
220221
},
221222
ExternalPriceID = "external_price_id",
222223
FixedPriceQuantity = 0,
224+
InvoiceGroupingKey = "invoice_grouping_key",
223225
InvoicingCycleConfiguration = new()
224226
{
225227
Duration = 0,
@@ -372,6 +374,7 @@ public void SerializationRoundtrip_Works()
372374
},
373375
ExternalPriceID = "external_price_id",
374376
FixedPriceQuantity = 0,
377+
InvoiceGroupingKey = "invoice_grouping_key",
375378
InvoicingCycleConfiguration = new()
376379
{
377380
Duration = 0,
@@ -523,6 +526,7 @@ public void FieldRoundtripThroughSerialization_Works()
523526
},
524527
ExternalPriceID = "external_price_id",
525528
FixedPriceQuantity = 0,
529+
InvoiceGroupingKey = "invoice_grouping_key",
526530
InvoicingCycleConfiguration = new()
527531
{
528532
Duration = 0,
@@ -666,6 +670,7 @@ public void FieldRoundtripThroughSerialization_Works()
666670
},
667671
ExternalPriceID = "external_price_id",
668672
FixedPriceQuantity = 0,
673+
InvoiceGroupingKey = "invoice_grouping_key",
669674
InvoicingCycleConfiguration = new()
670675
{
671676
Duration = 0,
@@ -818,6 +823,7 @@ public void Validation_Works()
818823
},
819824
ExternalPriceID = "external_price_id",
820825
FixedPriceQuantity = 0,
826+
InvoiceGroupingKey = "invoice_grouping_key",
821827
InvoicingCycleConfiguration = new()
822828
{
823829
Duration = 0,
@@ -963,6 +969,7 @@ public void CopyConstructor_Works()
963969
},
964970
ExternalPriceID = "external_price_id",
965971
FixedPriceQuantity = 0,
972+
InvoiceGroupingKey = "invoice_grouping_key",
966973
InvoicingCycleConfiguration = new()
967974
{
968975
Duration = 0,

src/Orb.Tests/Models/Beta/PlanVersionTest.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ public void FieldRoundtrip_Works()
121121
},
122122
ExternalPriceID = "external_price_id",
123123
FixedPriceQuantity = 0,
124+
InvoiceGroupingKey = "invoice_grouping_key",
124125
InvoicingCycleConfiguration = new()
125126
{
126127
Duration = 0,
@@ -285,6 +286,7 @@ public void FieldRoundtrip_Works()
285286
},
286287
ExternalPriceID = "external_price_id",
287288
FixedPriceQuantity = 0,
289+
InvoiceGroupingKey = "invoice_grouping_key",
288290
InvoicingCycleConfiguration = new()
289291
{
290292
Duration = 0,
@@ -474,6 +476,7 @@ public void SerializationRoundtrip_Works()
474476
},
475477
ExternalPriceID = "external_price_id",
476478
FixedPriceQuantity = 0,
479+
InvoiceGroupingKey = "invoice_grouping_key",
477480
InvoicingCycleConfiguration = new()
478481
{
479482
Duration = 0,
@@ -653,6 +656,7 @@ public void FieldRoundtripThroughSerialization_Works()
653656
},
654657
ExternalPriceID = "external_price_id",
655658
FixedPriceQuantity = 0,
659+
InvoiceGroupingKey = "invoice_grouping_key",
656660
InvoicingCycleConfiguration = new()
657661
{
658662
Duration = 0,
@@ -824,6 +828,7 @@ public void FieldRoundtripThroughSerialization_Works()
824828
},
825829
ExternalPriceID = "external_price_id",
826830
FixedPriceQuantity = 0,
831+
InvoiceGroupingKey = "invoice_grouping_key",
827832
InvoicingCycleConfiguration = new()
828833
{
829834
Duration = 0,
@@ -1013,6 +1018,7 @@ public void Validation_Works()
10131018
},
10141019
ExternalPriceID = "external_price_id",
10151020
FixedPriceQuantity = 0,
1021+
InvoiceGroupingKey = "invoice_grouping_key",
10161022
InvoicingCycleConfiguration = new()
10171023
{
10181024
Duration = 0,
@@ -1186,6 +1192,7 @@ public void CopyConstructor_Works()
11861192
},
11871193
ExternalPriceID = "external_price_id",
11881194
FixedPriceQuantity = 0,
1195+
InvoiceGroupingKey = "invoice_grouping_key",
11891196
InvoicingCycleConfiguration = new()
11901197
{
11911198
Duration = 0,

src/Orb.Tests/Models/ChangedSubscriptionResourcesTest.cs

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ public void FieldRoundtrip_Works()
287287
},
288288
ExternalPriceID = "external_price_id",
289289
FixedPriceQuantity = 0,
290+
InvoiceGroupingKey = "invoice_grouping_key",
290291
InvoicingCycleConfiguration = new()
291292
{
292293
Duration = 0,
@@ -710,6 +711,7 @@ public void FieldRoundtrip_Works()
710711
},
711712
ExternalPriceID = "external_price_id",
712713
FixedPriceQuantity = 0,
714+
InvoiceGroupingKey = "invoice_grouping_key",
713715
InvoicingCycleConfiguration = new()
714716
{
715717
Duration = 0,
@@ -1133,6 +1135,7 @@ public void FieldRoundtrip_Works()
11331135
},
11341136
ExternalPriceID = "external_price_id",
11351137
FixedPriceQuantity = 0,
1138+
InvoiceGroupingKey = "invoice_grouping_key",
11361139
InvoicingCycleConfiguration = new()
11371140
{
11381141
Duration = 0,
@@ -1553,6 +1556,7 @@ public void FieldRoundtrip_Works()
15531556
},
15541557
ExternalPriceID = "external_price_id",
15551558
FixedPriceQuantity = 0,
1559+
InvoiceGroupingKey = "invoice_grouping_key",
15561560
InvoicingCycleConfiguration = new()
15571561
{
15581562
Duration = 0,
@@ -2004,6 +2008,7 @@ public void SerializationRoundtrip_Works()
20042008
},
20052009
ExternalPriceID = "external_price_id",
20062010
FixedPriceQuantity = 0,
2011+
InvoiceGroupingKey = "invoice_grouping_key",
20072012
InvoicingCycleConfiguration = new()
20082013
{
20092014
Duration = 0,
@@ -2427,6 +2432,7 @@ public void SerializationRoundtrip_Works()
24272432
},
24282433
ExternalPriceID = "external_price_id",
24292434
FixedPriceQuantity = 0,
2435+
InvoiceGroupingKey = "invoice_grouping_key",
24302436
InvoicingCycleConfiguration = new()
24312437
{
24322438
Duration = 0,
@@ -2866,6 +2872,7 @@ public void FieldRoundtripThroughSerialization_Works()
28662872
},
28672873
ExternalPriceID = "external_price_id",
28682874
FixedPriceQuantity = 0,
2875+
InvoiceGroupingKey = "invoice_grouping_key",
28692876
InvoicingCycleConfiguration = new()
28702877
{
28712878
Duration = 0,
@@ -3289,6 +3296,7 @@ public void FieldRoundtripThroughSerialization_Works()
32893296
},
32903297
ExternalPriceID = "external_price_id",
32913298
FixedPriceQuantity = 0,
3299+
InvoiceGroupingKey = "invoice_grouping_key",
32923300
InvoicingCycleConfiguration = new()
32933301
{
32943302
Duration = 0,
@@ -3719,6 +3727,7 @@ public void FieldRoundtripThroughSerialization_Works()
37193727
},
37203728
ExternalPriceID = "external_price_id",
37213729
FixedPriceQuantity = 0,
3730+
InvoiceGroupingKey = "invoice_grouping_key",
37223731
InvoicingCycleConfiguration = new()
37233732
{
37243733
Duration = 0,
@@ -4139,6 +4148,7 @@ public void FieldRoundtripThroughSerialization_Works()
41394148
},
41404149
ExternalPriceID = "external_price_id",
41414150
FixedPriceQuantity = 0,
4151+
InvoiceGroupingKey = "invoice_grouping_key",
41424152
InvoicingCycleConfiguration = new()
41434153
{
41444154
Duration = 0,
@@ -4590,6 +4600,7 @@ public void Validation_Works()
45904600
},
45914601
ExternalPriceID = "external_price_id",
45924602
FixedPriceQuantity = 0,
4603+
InvoiceGroupingKey = "invoice_grouping_key",
45934604
InvoicingCycleConfiguration = new()
45944605
{
45954606
Duration = 0,
@@ -5013,6 +5024,7 @@ public void Validation_Works()
50135024
},
50145025
ExternalPriceID = "external_price_id",
50155026
FixedPriceQuantity = 0,
5027+
InvoiceGroupingKey = "invoice_grouping_key",
50165028
InvoicingCycleConfiguration = new()
50175029
{
50185030
Duration = 0,
@@ -5446,6 +5458,7 @@ public void CopyConstructor_Works()
54465458
},
54475459
ExternalPriceID = "external_price_id",
54485460
FixedPriceQuantity = 0,
5461+
InvoiceGroupingKey = "invoice_grouping_key",
54495462
InvoicingCycleConfiguration = new()
54505463
{
54515464
Duration = 0,
@@ -5869,6 +5882,7 @@ public void CopyConstructor_Works()
58695882
},
58705883
ExternalPriceID = "external_price_id",
58715884
FixedPriceQuantity = 0,
5885+
InvoiceGroupingKey = "invoice_grouping_key",
58725886
InvoicingCycleConfiguration = new()
58735887
{
58745888
Duration = 0,
@@ -6226,6 +6240,7 @@ public void FieldRoundtrip_Works()
62266240
},
62276241
ExternalPriceID = "external_price_id",
62286242
FixedPriceQuantity = 0,
6243+
InvoiceGroupingKey = "invoice_grouping_key",
62296244
InvoicingCycleConfiguration = new()
62306245
{
62316246
Duration = 0,
@@ -6573,6 +6588,7 @@ public void FieldRoundtrip_Works()
65736588
},
65746589
ExternalPriceID = "external_price_id",
65756590
FixedPriceQuantity = 0,
6591+
InvoiceGroupingKey = "invoice_grouping_key",
65766592
InvoicingCycleConfiguration = new()
65776593
{
65786594
Duration = 0,
@@ -6994,6 +7010,7 @@ public void SerializationRoundtrip_Works()
69947010
},
69957011
ExternalPriceID = "external_price_id",
69967012
FixedPriceQuantity = 0,
7013+
InvoiceGroupingKey = "invoice_grouping_key",
69977014
InvoicingCycleConfiguration = new()
69987015
{
69997016
Duration = 0,
@@ -7350,6 +7367,7 @@ public void FieldRoundtripThroughSerialization_Works()
73507367
},
73517368
ExternalPriceID = "external_price_id",
73527369
FixedPriceQuantity = 0,
7370+
InvoiceGroupingKey = "invoice_grouping_key",
73537371
InvoicingCycleConfiguration = new()
73547372
{
73557373
Duration = 0,
@@ -7704,6 +7722,7 @@ public void FieldRoundtripThroughSerialization_Works()
77047722
},
77057723
ExternalPriceID = "external_price_id",
77067724
FixedPriceQuantity = 0,
7725+
InvoiceGroupingKey = "invoice_grouping_key",
77077726
InvoicingCycleConfiguration = new()
77087727
{
77097728
Duration = 0,
@@ -8125,6 +8144,7 @@ public void Validation_Works()
81258144
},
81268145
ExternalPriceID = "external_price_id",
81278146
FixedPriceQuantity = 0,
8147+
InvoiceGroupingKey = "invoice_grouping_key",
81288148
InvoicingCycleConfiguration = new()
81298149
{
81308150
Duration = 0,
@@ -8475,6 +8495,7 @@ public void CopyConstructor_Works()
84758495
},
84768496
ExternalPriceID = "external_price_id",
84778497
FixedPriceQuantity = 0,
8498+
InvoiceGroupingKey = "invoice_grouping_key",
84788499
InvoicingCycleConfiguration = new()
84798500
{
84808501
Duration = 0,
@@ -9328,6 +9349,7 @@ public void FieldRoundtrip_Works()
93289349
},
93299350
ExternalPriceID = "external_price_id",
93309351
FixedPriceQuantity = 0,
9352+
InvoiceGroupingKey = "invoice_grouping_key",
93319353
InvoicingCycleConfiguration = new()
93329354
{
93339355
Duration = 0,
@@ -9509,6 +9531,7 @@ public void FieldRoundtrip_Works()
95099531
},
95109532
ExternalPriceID = "external_price_id",
95119533
FixedPriceQuantity = 0,
9534+
InvoiceGroupingKey = "invoice_grouping_key",
95129535
InvoicingCycleConfiguration = new()
95139536
{
95149537
Duration = 0,
@@ -9732,6 +9755,7 @@ public void SerializationRoundtrip_Works()
97329755
},
97339756
ExternalPriceID = "external_price_id",
97349757
FixedPriceQuantity = 0,
9758+
InvoiceGroupingKey = "invoice_grouping_key",
97359759
InvoicingCycleConfiguration = new()
97369760
{
97379761
Duration = 0,
@@ -9929,6 +9953,7 @@ public void FieldRoundtripThroughSerialization_Works()
99299953
},
99309954
ExternalPriceID = "external_price_id",
99319955
FixedPriceQuantity = 0,
9956+
InvoiceGroupingKey = "invoice_grouping_key",
99329957
InvoicingCycleConfiguration = new()
99339958
{
99349959
Duration = 0,
@@ -10117,6 +10142,7 @@ public void FieldRoundtripThroughSerialization_Works()
1011710142
},
1011810143
ExternalPriceID = "external_price_id",
1011910144
FixedPriceQuantity = 0,
10145+
InvoiceGroupingKey = "invoice_grouping_key",
1012010146
InvoicingCycleConfiguration = new()
1012110147
{
1012210148
Duration = 0,
@@ -10340,6 +10366,7 @@ public void Validation_Works()
1034010366
},
1034110367
ExternalPriceID = "external_price_id",
1034210368
FixedPriceQuantity = 0,
10369+
InvoiceGroupingKey = "invoice_grouping_key",
1034310370
InvoicingCycleConfiguration = new()
1034410371
{
1034510372
Duration = 0,
@@ -10531,6 +10558,7 @@ public void CopyConstructor_Works()
1053110558
},
1053210559
ExternalPriceID = "external_price_id",
1053310560
FixedPriceQuantity = 0,
10561+
InvoiceGroupingKey = "invoice_grouping_key",
1053410562
InvoicingCycleConfiguration = new()
1053510563
{
1053610564
Duration = 0,

0 commit comments

Comments
 (0)