Skip to content

Commit 5972bb0

Browse files
[fern-generated] Update SDK (#157)
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-csharp-sdk: 2.66.9 Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
1 parent 8f13e8a commit 5972bb0

31 files changed

Lines changed: 165 additions & 898 deletions

.fern/metadata.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"cliVersion": "5.6.0",
33
"generatorName": "fernapi/fern-csharp-sdk",
4-
"generatorVersion": "2.66.8",
4+
"generatorVersion": "2.66.9",
55
"generatorConfig": {
66
"namespace": "SchematicHQ.Client",
77
"client-class-name": "SchematicApi",
88
"exported-client-class-name": "Schematic",
99
"generate-mock-server-tests": false
1010
},
11-
"originGitCommit": "ad1cc528e658e3693935b819c9d22eed02d49017",
11+
"originGitCommit": "063b12688229cc6a371c26c40914fe4222a379e8",
1212
"originGitCommitIsDirty": false,
1313
"invokedBy": "ci",
14-
"requestedVersion": "1.4.7",
14+
"requestedVersion": "1.4.8",
1515
"ciProvider": "github",
16-
"sdkVersion": "1.4.7"
16+
"sdkVersion": "1.4.8"
1717
}

reference.md

Lines changed: 28 additions & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,29 @@
11
# Reference
2+
<details><summary><code>client.<a href="/src/SchematicHQ.Client/Schematic.cs">GetCreditLedgerAsync</a>()</code></summary>
3+
<dl>
4+
<dd>
5+
6+
#### 🔌 Usage
7+
8+
<dl>
9+
<dd>
10+
11+
<dl>
12+
<dd>
13+
14+
```csharp
15+
await client.GetCreditLedgerAsync();
16+
```
17+
</dd>
18+
</dl>
19+
</dd>
20+
</dl>
21+
22+
23+
</dd>
24+
</dl>
25+
</details>
26+
227
## accounts
328
<details><summary><code>client.Accounts.<a href="/src/SchematicHQ.Client/Accounts/AccountsClient.cs">ListAccountMembersAsync</a>(ListAccountMembersRequest { ... }) -> WithRawResponseTask&lt;ListAccountMembersResponse&gt;</code></summary>
429
<dl>
@@ -2909,110 +2934,6 @@ await client.Credits.ReleaseCreditLeaseAsync(
29092934
</dl>
29102935

29112936

2912-
</dd>
2913-
</dl>
2914-
</details>
2915-
2916-
<details><summary><code>client.Credits.<a href="/src/SchematicHQ.Client/Credits/CreditsClient.cs">GetEnrichedCreditLedgerAsync</a>(GetEnrichedCreditLedgerRequest { ... }) -> WithRawResponseTask&lt;GetEnrichedCreditLedgerResponse&gt;</code></summary>
2917-
<dl>
2918-
<dd>
2919-
2920-
#### 🔌 Usage
2921-
2922-
<dl>
2923-
<dd>
2924-
2925-
<dl>
2926-
<dd>
2927-
2928-
```csharp
2929-
await client.Credits.GetEnrichedCreditLedgerAsync(
2930-
new GetEnrichedCreditLedgerRequest
2931-
{
2932-
CompanyId = "company_id",
2933-
BillingCreditId = "billing_credit_id",
2934-
FeatureId = "feature_id",
2935-
Period = CreditLedgerPeriod.Daily,
2936-
StartTime = "start_time",
2937-
EndTime = "end_time",
2938-
Limit = 1000000,
2939-
Offset = 1000000,
2940-
}
2941-
);
2942-
```
2943-
</dd>
2944-
</dl>
2945-
</dd>
2946-
</dl>
2947-
2948-
#### ⚙️ Parameters
2949-
2950-
<dl>
2951-
<dd>
2952-
2953-
<dl>
2954-
<dd>
2955-
2956-
**request:** `GetEnrichedCreditLedgerRequest`
2957-
2958-
</dd>
2959-
</dl>
2960-
</dd>
2961-
</dl>
2962-
2963-
2964-
</dd>
2965-
</dl>
2966-
</details>
2967-
2968-
<details><summary><code>client.Credits.<a href="/src/SchematicHQ.Client/Credits/CreditsClient.cs">CountCreditLedgerAsync</a>(CountCreditLedgerRequest { ... }) -> WithRawResponseTask&lt;CountCreditLedgerResponse&gt;</code></summary>
2969-
<dl>
2970-
<dd>
2971-
2972-
#### 🔌 Usage
2973-
2974-
<dl>
2975-
<dd>
2976-
2977-
<dl>
2978-
<dd>
2979-
2980-
```csharp
2981-
await client.Credits.CountCreditLedgerAsync(
2982-
new CountCreditLedgerRequest
2983-
{
2984-
CompanyId = "company_id",
2985-
BillingCreditId = "billing_credit_id",
2986-
FeatureId = "feature_id",
2987-
Period = CreditLedgerPeriod.Daily,
2988-
StartTime = "start_time",
2989-
EndTime = "end_time",
2990-
Limit = 1000000,
2991-
Offset = 1000000,
2992-
}
2993-
);
2994-
```
2995-
</dd>
2996-
</dl>
2997-
</dd>
2998-
</dl>
2999-
3000-
#### ⚙️ Parameters
3001-
3002-
<dl>
3003-
<dd>
3004-
3005-
<dl>
3006-
<dd>
3007-
3008-
**request:** `CountCreditLedgerRequest`
3009-
3010-
</dd>
3011-
</dl>
3012-
</dd>
3013-
</dl>
3014-
3015-
30162937
</dd>
30172938
</dl>
30182939
</details>
@@ -6729,14 +6650,7 @@ await client.Plans.MarkCustomPlanBillingPaidAsync(
67296650
```csharp
67306651
await client.Plans.RetryCustomPlanBillingAsync(
67316652
"custom_plan_billing_id",
6732-
new RetryCustomPlanBillingRequestBody
6733-
{
6734-
CustomerEmail = "customer_email",
6735-
PayInAdvance = new List<UpdatePayInAdvanceRequestBody>()
6736-
{
6737-
new UpdatePayInAdvanceRequestBody { PriceId = "price_id", Quantity = 1000000 },
6738-
},
6739-
}
6653+
new RetryCustomPlanBillingRequestBody { CustomerEmail = "customer_email" }
67406654
);
67416655
```
67426656
</dd>
@@ -7435,10 +7349,6 @@ await client.Plans.PublishPlanVersionAsync(
74357349
{
74367350
ExcludedCompanyIds = new List<string>() { "excluded_company_ids" },
74377351
MigrationStrategy = PlanVersionMigrationStrategy.Immediate,
7438-
PayInAdvance = new List<UpdatePayInAdvanceRequestBody>()
7439-
{
7440-
new UpdatePayInAdvanceRequestBody { PriceId = "price_id", Quantity = 1000000 },
7441-
},
74427352
}
74437353
);
74447354
```
@@ -9793,6 +9703,7 @@ await client.Plangroups.CreatePlanGroupAsync(
97939703
CheckoutCollectEmail = true,
97949704
CheckoutCollectPhone = true,
97959705
EnableTaxCollection = true,
9706+
OptInEnabled = true,
97969707
OrderedAddOns = new List<OrderedPlansInGroup>()
97979708
{
97989709
new OrderedPlansInGroup { PlanId = "plan_id" },
@@ -9865,6 +9776,7 @@ await client.Plangroups.UpdatePlanGroupAsync(
98659776
CheckoutCollectEmail = true,
98669777
CheckoutCollectPhone = true,
98679778
EnableTaxCollection = true,
9779+
OptInEnabled = true,
98689780
OrderedAddOns = new List<OrderedPlansInGroup>()
98699781
{
98709782
new OrderedPlansInGroup { PlanId = "plan_id" },

src/SchematicHQ.Client/Core/Public/Version.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ namespace SchematicHQ.Client;
33
[Serializable]
44
internal class Version
55
{
6-
public const string Current = "1.4.7";
6+
public const string Current = "1.4.8";
77
}

0 commit comments

Comments
 (0)