|
1 | 1 | # 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 | + |
2 | 27 | ## accounts |
3 | 28 | <details><summary><code>client.Accounts.<a href="/src/SchematicHQ.Client/Accounts/AccountsClient.cs">ListAccountMembersAsync</a>(ListAccountMembersRequest { ... }) -> WithRawResponseTask<ListAccountMembersResponse></code></summary> |
4 | 29 | <dl> |
@@ -2909,110 +2934,6 @@ await client.Credits.ReleaseCreditLeaseAsync( |
2909 | 2934 | </dl> |
2910 | 2935 |
|
2911 | 2936 |
|
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<GetEnrichedCreditLedgerResponse></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<CountCreditLedgerResponse></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 | | - |
3016 | 2937 | </dd> |
3017 | 2938 | </dl> |
3018 | 2939 | </details> |
@@ -6729,14 +6650,7 @@ await client.Plans.MarkCustomPlanBillingPaidAsync( |
6729 | 6650 | ```csharp |
6730 | 6651 | await client.Plans.RetryCustomPlanBillingAsync( |
6731 | 6652 | "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" } |
6740 | 6654 | ); |
6741 | 6655 | ``` |
6742 | 6656 | </dd> |
@@ -7435,10 +7349,6 @@ await client.Plans.PublishPlanVersionAsync( |
7435 | 7349 | { |
7436 | 7350 | ExcludedCompanyIds = new List<string>() { "excluded_company_ids" }, |
7437 | 7351 | MigrationStrategy = PlanVersionMigrationStrategy.Immediate, |
7438 | | - PayInAdvance = new List<UpdatePayInAdvanceRequestBody>() |
7439 | | - { |
7440 | | - new UpdatePayInAdvanceRequestBody { PriceId = "price_id", Quantity = 1000000 }, |
7441 | | - }, |
7442 | 7352 | } |
7443 | 7353 | ); |
7444 | 7354 | ``` |
@@ -9793,6 +9703,7 @@ await client.Plangroups.CreatePlanGroupAsync( |
9793 | 9703 | CheckoutCollectEmail = true, |
9794 | 9704 | CheckoutCollectPhone = true, |
9795 | 9705 | EnableTaxCollection = true, |
| 9706 | + OptInEnabled = true, |
9796 | 9707 | OrderedAddOns = new List<OrderedPlansInGroup>() |
9797 | 9708 | { |
9798 | 9709 | new OrderedPlansInGroup { PlanId = "plan_id" }, |
@@ -9865,6 +9776,7 @@ await client.Plangroups.UpdatePlanGroupAsync( |
9865 | 9776 | CheckoutCollectEmail = true, |
9866 | 9777 | CheckoutCollectPhone = true, |
9867 | 9778 | EnableTaxCollection = true, |
| 9779 | + OptInEnabled = true, |
9868 | 9780 | OrderedAddOns = new List<OrderedPlansInGroup>() |
9869 | 9781 | { |
9870 | 9782 | new OrderedPlansInGroup { PlanId = "plan_id" }, |
|
0 commit comments