Skip to content

Commit 3222676

Browse files
feat(api): api update
1 parent 082b4b4 commit 3222676

19 files changed

Lines changed: 257 additions & 10 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-91a51960dab258d5435cc2a7f47760fd81e4b711b891a1fde3d98757e85e8add.yml
3-
openapi_spec_hash: 192e4e94264db429260169f0b2e731ce
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-6d5fe70daa99c4f8480b388e828d125c42f6ff501f5b8030832ec487c6c929f0.yml
3+
openapi_spec_hash: 3ba772cb9926acc8b92881b311fd8685
44
config_hash: c01c1191b1cd696c7ca855ff6d28a8df

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public void FieldRoundtrip_Works()
7171
],
7272
ItemID = "item_id",
7373
LicenseTypeID = "license_type_id",
74+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
7475
PerUnitCostBasis = "per_unit_cost_basis",
7576
},
7677
LicenseAllocationPrice = new Unit()
@@ -222,6 +223,7 @@ public void FieldRoundtrip_Works()
222223
],
223224
ItemID = "item_id",
224225
LicenseTypeID = "license_type_id",
226+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
225227
PerUnitCostBasis = "per_unit_cost_basis",
226228
},
227229
LicenseAllocationPrice = new ReplacePriceLicenseAllocationPriceUnit()
@@ -373,6 +375,7 @@ public void FieldRoundtrip_Works()
373375
],
374376
ItemID = "item_id",
375377
LicenseTypeID = "license_type_id",
378+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
376379
PerUnitCostBasis = "per_unit_cost_basis",
377380
},
378381
LicenseAllocationPrice = new Unit()
@@ -529,6 +532,7 @@ public void FieldRoundtrip_Works()
529532
],
530533
ItemID = "item_id",
531534
LicenseTypeID = "license_type_id",
535+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
532536
PerUnitCostBasis = "per_unit_cost_basis",
533537
},
534538
LicenseAllocationPrice = new ReplacePriceLicenseAllocationPriceUnit()
@@ -792,6 +796,7 @@ public void CopyConstructor_Works()
792796
],
793797
ItemID = "item_id",
794798
LicenseTypeID = "license_type_id",
799+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
795800
PerUnitCostBasis = "per_unit_cost_basis",
796801
},
797802
LicenseAllocationPrice = new Unit()
@@ -943,6 +948,7 @@ public void CopyConstructor_Works()
943948
],
944949
ItemID = "item_id",
945950
LicenseTypeID = "license_type_id",
951+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
946952
PerUnitCostBasis = "per_unit_cost_basis",
947953
},
948954
LicenseAllocationPrice = new ReplacePriceLicenseAllocationPriceUnit()
@@ -1714,6 +1720,7 @@ public void FieldRoundtrip_Works()
17141720
],
17151721
ItemID = "item_id",
17161722
LicenseTypeID = "license_type_id",
1723+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
17171724
PerUnitCostBasis = "per_unit_cost_basis",
17181725
},
17191726
LicenseAllocationPrice = new Unit()
@@ -1829,6 +1836,7 @@ public void FieldRoundtrip_Works()
18291836
],
18301837
ItemID = "item_id",
18311838
LicenseTypeID = "license_type_id",
1839+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
18321840
PerUnitCostBasis = "per_unit_cost_basis",
18331841
};
18341842
LicenseAllocationPrice expectedLicenseAllocationPrice = new Unit()
@@ -1952,6 +1960,7 @@ public void SerializationRoundtrip_Works()
19521960
],
19531961
ItemID = "item_id",
19541962
LicenseTypeID = "license_type_id",
1963+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
19551964
PerUnitCostBasis = "per_unit_cost_basis",
19561965
},
19571966
LicenseAllocationPrice = new Unit()
@@ -2078,6 +2087,7 @@ public void FieldRoundtripThroughSerialization_Works()
20782087
],
20792088
ItemID = "item_id",
20802089
LicenseTypeID = "license_type_id",
2090+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
20812091
PerUnitCostBasis = "per_unit_cost_basis",
20822092
},
20832093
LicenseAllocationPrice = new Unit()
@@ -2200,6 +2210,7 @@ public void FieldRoundtripThroughSerialization_Works()
22002210
],
22012211
ItemID = "item_id",
22022212
LicenseTypeID = "license_type_id",
2213+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
22032214
PerUnitCostBasis = "per_unit_cost_basis",
22042215
};
22052216
LicenseAllocationPrice expectedLicenseAllocationPrice = new Unit()
@@ -2323,6 +2334,7 @@ public void Validation_Works()
23232334
],
23242335
ItemID = "item_id",
23252336
LicenseTypeID = "license_type_id",
2337+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
23262338
PerUnitCostBasis = "per_unit_cost_basis",
23272339
},
23282340
LicenseAllocationPrice = new Unit()
@@ -2504,6 +2516,7 @@ public void CopyConstructor_Works()
25042516
],
25052517
ItemID = "item_id",
25062518
LicenseTypeID = "license_type_id",
2519+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
25072520
PerUnitCostBasis = "per_unit_cost_basis",
25082521
},
25092522
LicenseAllocationPrice = new Unit()
@@ -52110,6 +52123,7 @@ public void FieldRoundtrip_Works()
5211052123
],
5211152124
ItemID = "item_id",
5211252125
LicenseTypeID = "license_type_id",
52126+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
5211352127
PerUnitCostBasis = "per_unit_cost_basis",
5211452128
},
5211552129
LicenseAllocationPrice = new ReplacePriceLicenseAllocationPriceUnit()
@@ -52226,6 +52240,7 @@ public void FieldRoundtrip_Works()
5222652240
],
5222752241
ItemID = "item_id",
5222852242
LicenseTypeID = "license_type_id",
52243+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
5222952244
PerUnitCostBasis = "per_unit_cost_basis",
5223052245
};
5223152246
ReplacePriceLicenseAllocationPrice expectedLicenseAllocationPrice =
@@ -52353,6 +52368,7 @@ public void SerializationRoundtrip_Works()
5235352368
],
5235452369
ItemID = "item_id",
5235552370
LicenseTypeID = "license_type_id",
52371+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
5235652372
PerUnitCostBasis = "per_unit_cost_basis",
5235752373
},
5235852374
LicenseAllocationPrice = new ReplacePriceLicenseAllocationPriceUnit()
@@ -52483,6 +52499,7 @@ public void FieldRoundtripThroughSerialization_Works()
5248352499
],
5248452500
ItemID = "item_id",
5248552501
LicenseTypeID = "license_type_id",
52502+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
5248652503
PerUnitCostBasis = "per_unit_cost_basis",
5248752504
},
5248852505
LicenseAllocationPrice = new ReplacePriceLicenseAllocationPriceUnit()
@@ -52606,6 +52623,7 @@ public void FieldRoundtripThroughSerialization_Works()
5260652623
],
5260752624
ItemID = "item_id",
5260852625
LicenseTypeID = "license_type_id",
52626+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
5260952627
PerUnitCostBasis = "per_unit_cost_basis",
5261052628
};
5261152629
ReplacePriceLicenseAllocationPrice expectedLicenseAllocationPrice =
@@ -52733,6 +52751,7 @@ public void Validation_Works()
5273352751
],
5273452752
ItemID = "item_id",
5273552753
LicenseTypeID = "license_type_id",
52754+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
5273652755
PerUnitCostBasis = "per_unit_cost_basis",
5273752756
},
5273852757
LicenseAllocationPrice = new ReplacePriceLicenseAllocationPriceUnit()
@@ -52919,6 +52938,7 @@ public void CopyConstructor_Works()
5291952938
],
5292052939
ItemID = "item_id",
5292152940
LicenseTypeID = "license_type_id",
52941+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
5292252942
PerUnitCostBasis = "per_unit_cost_basis",
5292352943
},
5292452944
LicenseAllocationPrice = new ReplacePriceLicenseAllocationPriceUnit()

src/Orb.Tests/Models/Beta/ExternalPlanID/ExternalPlanIDCreatePlanVersionParamsTest.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public void FieldRoundtrip_Works()
7171
],
7272
ItemID = "item_id",
7373
LicenseTypeID = "license_type_id",
74+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
7475
PerUnitCostBasis = "per_unit_cost_basis",
7576
},
7677
LicenseAllocationPrice = new Unit()
@@ -222,6 +223,7 @@ public void FieldRoundtrip_Works()
222223
],
223224
ItemID = "item_id",
224225
LicenseTypeID = "license_type_id",
226+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
225227
PerUnitCostBasis = "per_unit_cost_basis",
226228
},
227229
LicenseAllocationPrice = new ReplacePriceLicenseAllocationPriceUnit()
@@ -373,6 +375,7 @@ public void FieldRoundtrip_Works()
373375
],
374376
ItemID = "item_id",
375377
LicenseTypeID = "license_type_id",
378+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
376379
PerUnitCostBasis = "per_unit_cost_basis",
377380
},
378381
LicenseAllocationPrice = new Unit()
@@ -529,6 +532,7 @@ public void FieldRoundtrip_Works()
529532
],
530533
ItemID = "item_id",
531534
LicenseTypeID = "license_type_id",
535+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
532536
PerUnitCostBasis = "per_unit_cost_basis",
533537
},
534538
LicenseAllocationPrice = new ReplacePriceLicenseAllocationPriceUnit()
@@ -805,6 +809,7 @@ public void CopyConstructor_Works()
805809
],
806810
ItemID = "item_id",
807811
LicenseTypeID = "license_type_id",
812+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
808813
PerUnitCostBasis = "per_unit_cost_basis",
809814
},
810815
LicenseAllocationPrice = new Unit()
@@ -956,6 +961,7 @@ public void CopyConstructor_Works()
956961
],
957962
ItemID = "item_id",
958963
LicenseTypeID = "license_type_id",
964+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
959965
PerUnitCostBasis = "per_unit_cost_basis",
960966
},
961967
LicenseAllocationPrice = new ReplacePriceLicenseAllocationPriceUnit()
@@ -1727,6 +1733,7 @@ public void FieldRoundtrip_Works()
17271733
],
17281734
ItemID = "item_id",
17291735
LicenseTypeID = "license_type_id",
1736+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
17301737
PerUnitCostBasis = "per_unit_cost_basis",
17311738
},
17321739
LicenseAllocationPrice = new Unit()
@@ -1842,6 +1849,7 @@ public void FieldRoundtrip_Works()
18421849
],
18431850
ItemID = "item_id",
18441851
LicenseTypeID = "license_type_id",
1852+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
18451853
PerUnitCostBasis = "per_unit_cost_basis",
18461854
};
18471855
LicenseAllocationPrice expectedLicenseAllocationPrice = new Unit()
@@ -1965,6 +1973,7 @@ public void SerializationRoundtrip_Works()
19651973
],
19661974
ItemID = "item_id",
19671975
LicenseTypeID = "license_type_id",
1976+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
19681977
PerUnitCostBasis = "per_unit_cost_basis",
19691978
},
19701979
LicenseAllocationPrice = new Unit()
@@ -2091,6 +2100,7 @@ public void FieldRoundtripThroughSerialization_Works()
20912100
],
20922101
ItemID = "item_id",
20932102
LicenseTypeID = "license_type_id",
2103+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
20942104
PerUnitCostBasis = "per_unit_cost_basis",
20952105
},
20962106
LicenseAllocationPrice = new Unit()
@@ -2213,6 +2223,7 @@ public void FieldRoundtripThroughSerialization_Works()
22132223
],
22142224
ItemID = "item_id",
22152225
LicenseTypeID = "license_type_id",
2226+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
22162227
PerUnitCostBasis = "per_unit_cost_basis",
22172228
};
22182229
LicenseAllocationPrice expectedLicenseAllocationPrice = new Unit()
@@ -2336,6 +2347,7 @@ public void Validation_Works()
23362347
],
23372348
ItemID = "item_id",
23382349
LicenseTypeID = "license_type_id",
2350+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
23392351
PerUnitCostBasis = "per_unit_cost_basis",
23402352
},
23412353
LicenseAllocationPrice = new Unit()
@@ -2517,6 +2529,7 @@ public void CopyConstructor_Works()
25172529
],
25182530
ItemID = "item_id",
25192531
LicenseTypeID = "license_type_id",
2532+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
25202533
PerUnitCostBasis = "per_unit_cost_basis",
25212534
},
25222535
LicenseAllocationPrice = new Unit()
@@ -52123,6 +52136,7 @@ public void FieldRoundtrip_Works()
5212352136
],
5212452137
ItemID = "item_id",
5212552138
LicenseTypeID = "license_type_id",
52139+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
5212652140
PerUnitCostBasis = "per_unit_cost_basis",
5212752141
},
5212852142
LicenseAllocationPrice = new ReplacePriceLicenseAllocationPriceUnit()
@@ -52239,6 +52253,7 @@ public void FieldRoundtrip_Works()
5223952253
],
5224052254
ItemID = "item_id",
5224152255
LicenseTypeID = "license_type_id",
52256+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
5224252257
PerUnitCostBasis = "per_unit_cost_basis",
5224352258
};
5224452259
ReplacePriceLicenseAllocationPrice expectedLicenseAllocationPrice =
@@ -52366,6 +52381,7 @@ public void SerializationRoundtrip_Works()
5236652381
],
5236752382
ItemID = "item_id",
5236852383
LicenseTypeID = "license_type_id",
52384+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
5236952385
PerUnitCostBasis = "per_unit_cost_basis",
5237052386
},
5237152387
LicenseAllocationPrice = new ReplacePriceLicenseAllocationPriceUnit()
@@ -52496,6 +52512,7 @@ public void FieldRoundtripThroughSerialization_Works()
5249652512
],
5249752513
ItemID = "item_id",
5249852514
LicenseTypeID = "license_type_id",
52515+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
5249952516
PerUnitCostBasis = "per_unit_cost_basis",
5250052517
},
5250152518
LicenseAllocationPrice = new ReplacePriceLicenseAllocationPriceUnit()
@@ -52619,6 +52636,7 @@ public void FieldRoundtripThroughSerialization_Works()
5261952636
],
5262052637
ItemID = "item_id",
5262152638
LicenseTypeID = "license_type_id",
52639+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
5262252640
PerUnitCostBasis = "per_unit_cost_basis",
5262352641
};
5262452642
ReplacePriceLicenseAllocationPrice expectedLicenseAllocationPrice =
@@ -52746,6 +52764,7 @@ public void Validation_Works()
5274652764
],
5274752765
ItemID = "item_id",
5274852766
LicenseTypeID = "license_type_id",
52767+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
5274952768
PerUnitCostBasis = "per_unit_cost_basis",
5275052769
},
5275152770
LicenseAllocationPrice = new ReplacePriceLicenseAllocationPriceUnit()
@@ -52932,6 +52951,7 @@ public void CopyConstructor_Works()
5293252951
],
5293352952
ItemID = "item_id",
5293452953
LicenseTypeID = "license_type_id",
52954+
Metadata = new Dictionary<string, string?>() { { "foo", "string" } },
5293552955
PerUnitCostBasis = "per_unit_cost_basis",
5293652956
},
5293752957
LicenseAllocationPrice = new ReplacePriceLicenseAllocationPriceUnit()

0 commit comments

Comments
 (0)