@schematichq/schematic-components 2.36.1 → 2.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schematic-components-elements.cjs.js +112 -36
- package/dist/schematic-components-elements.d.ts +10 -0
- package/dist/schematic-components-elements.esm.js +112 -36
- package/dist/schematic-components.browser.cjs.js +677 -393
- package/dist/schematic-components.browser.esm.js +677 -393
- package/dist/schematic-components.cjs.js +835 -539
- package/dist/schematic-components.d.ts +277 -73
- package/dist/schematic-components.esm.js +879 -583
- package/package.json +22 -22
|
@@ -1009,8 +1009,8 @@ declare const BillingPlanCreditGrantBillingMode_2: {
|
|
|
1009
1009
|
declare type BillingPlanCreditGrantBillingMode_2 = (typeof BillingPlanCreditGrantBillingMode_2)[keyof typeof BillingPlanCreditGrantBillingMode_2];
|
|
1010
1010
|
|
|
1011
1011
|
/**
|
|
1012
|
-
*
|
|
1013
|
-
*
|
|
1012
|
+
* Components API
|
|
1013
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
1014
1014
|
*
|
|
1015
1015
|
* The version of the OpenAPI document: 0.1
|
|
1016
1016
|
*
|
|
@@ -1353,7 +1353,7 @@ declare interface BillingPlanCreditGrantResponseData {
|
|
|
1353
1353
|
* @type {BillingPriceResponseData}
|
|
1354
1354
|
* @memberof BillingPlanCreditGrantResponseData
|
|
1355
1355
|
*/
|
|
1356
|
-
price?: BillingPriceResponseData;
|
|
1356
|
+
price?: BillingPriceResponseData | null;
|
|
1357
1357
|
/**
|
|
1358
1358
|
* Tier table pricing the credits, cheapest bound first. Empty unless billing_mode is billed and the credits are priced on tiers.
|
|
1359
1359
|
* @type {Array<BillingPlanCreditGrantPriceTierResponseData>}
|
|
@@ -1423,8 +1423,8 @@ declare interface BillingPlanCreditGrantResponseData {
|
|
|
1423
1423
|
}
|
|
1424
1424
|
|
|
1425
1425
|
/**
|
|
1426
|
-
*
|
|
1427
|
-
*
|
|
1426
|
+
* Components API
|
|
1427
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
1428
1428
|
*
|
|
1429
1429
|
* The version of the OpenAPI document: 0.1
|
|
1430
1430
|
*
|
|
@@ -2430,8 +2430,8 @@ declare interface BillingProductPriceResponseData {
|
|
|
2430
2430
|
}
|
|
2431
2431
|
|
|
2432
2432
|
/**
|
|
2433
|
-
*
|
|
2434
|
-
*
|
|
2433
|
+
* Components API
|
|
2434
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
2435
2435
|
*
|
|
2436
2436
|
* The version of the OpenAPI document: 0.1
|
|
2437
2437
|
*
|
|
@@ -2955,6 +2955,18 @@ declare interface BillingSubscriptionDiscountView {
|
|
|
2955
2955
|
subscriptionExternalId: string;
|
|
2956
2956
|
}
|
|
2957
2957
|
|
|
2958
|
+
/**
|
|
2959
|
+
*
|
|
2960
|
+
* @export
|
|
2961
|
+
*/
|
|
2962
|
+
declare const BillingSubscriptionPauseBehavior: {
|
|
2963
|
+
readonly KeepAsDraft: "keep_as_draft";
|
|
2964
|
+
readonly MarkUncollectible: "mark_uncollectible";
|
|
2965
|
+
readonly Void: "void";
|
|
2966
|
+
};
|
|
2967
|
+
|
|
2968
|
+
declare type BillingSubscriptionPauseBehavior = (typeof BillingSubscriptionPauseBehavior)[keyof typeof BillingSubscriptionPauseBehavior];
|
|
2969
|
+
|
|
2958
2970
|
/**
|
|
2959
2971
|
*
|
|
2960
2972
|
* @export
|
|
@@ -2972,6 +2984,12 @@ declare type BillingSubscriptionTrialEndSetting = (typeof BillingSubscriptionTri
|
|
|
2972
2984
|
* @interface BillingSubscriptionView
|
|
2973
2985
|
*/
|
|
2974
2986
|
declare interface BillingSubscriptionView {
|
|
2987
|
+
/**
|
|
2988
|
+
*
|
|
2989
|
+
* @type {Date}
|
|
2990
|
+
* @memberof BillingSubscriptionView
|
|
2991
|
+
*/
|
|
2992
|
+
accessRevokedAt?: Date | null;
|
|
2975
2993
|
/**
|
|
2976
2994
|
*
|
|
2977
2995
|
* @type {string}
|
|
@@ -3056,6 +3074,24 @@ declare interface BillingSubscriptionView {
|
|
|
3056
3074
|
* @memberof BillingSubscriptionView
|
|
3057
3075
|
*/
|
|
3058
3076
|
metadata?: object;
|
|
3077
|
+
/**
|
|
3078
|
+
*
|
|
3079
|
+
* @type {BillingSubscriptionPauseBehavior}
|
|
3080
|
+
* @memberof BillingSubscriptionView
|
|
3081
|
+
*/
|
|
3082
|
+
pauseBehavior?: BillingSubscriptionPauseBehavior | null;
|
|
3083
|
+
/**
|
|
3084
|
+
*
|
|
3085
|
+
* @type {number}
|
|
3086
|
+
* @memberof BillingSubscriptionView
|
|
3087
|
+
*/
|
|
3088
|
+
pauseResumesAt?: number | null;
|
|
3089
|
+
/**
|
|
3090
|
+
*
|
|
3091
|
+
* @type {Date}
|
|
3092
|
+
* @memberof BillingSubscriptionView
|
|
3093
|
+
*/
|
|
3094
|
+
pausedAt?: Date | null;
|
|
3059
3095
|
/**
|
|
3060
3096
|
*
|
|
3061
3097
|
* @type {PaymentMethodResponseData}
|
|
@@ -3545,8 +3581,8 @@ declare interface CheckoutDialogProps {
|
|
|
3545
3581
|
}
|
|
3546
3582
|
|
|
3547
3583
|
/**
|
|
3548
|
-
*
|
|
3549
|
-
*
|
|
3584
|
+
* Components API
|
|
3585
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
3550
3586
|
*
|
|
3551
3587
|
* The version of the OpenAPI document: 0.1
|
|
3552
3588
|
*
|
|
@@ -3576,8 +3612,8 @@ declare interface CheckoutFieldValue {
|
|
|
3576
3612
|
}
|
|
3577
3613
|
|
|
3578
3614
|
/**
|
|
3579
|
-
*
|
|
3580
|
-
*
|
|
3615
|
+
* Components API
|
|
3616
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
3581
3617
|
*
|
|
3582
3618
|
* The version of the OpenAPI document: 0.1
|
|
3583
3619
|
*
|
|
@@ -3856,6 +3892,12 @@ declare interface CheckoutResponse {
|
|
|
3856
3892
|
* @interface CheckoutResponseData
|
|
3857
3893
|
*/
|
|
3858
3894
|
declare interface CheckoutResponseData {
|
|
3895
|
+
/**
|
|
3896
|
+
*
|
|
3897
|
+
* @type {Date}
|
|
3898
|
+
* @memberof CheckoutResponseData
|
|
3899
|
+
*/
|
|
3900
|
+
accessRevokedAt?: Date | null;
|
|
3859
3901
|
/**
|
|
3860
3902
|
*
|
|
3861
3903
|
* @type {string}
|
|
@@ -3940,6 +3982,24 @@ declare interface CheckoutResponseData {
|
|
|
3940
3982
|
* @memberof CheckoutResponseData
|
|
3941
3983
|
*/
|
|
3942
3984
|
metadata?: object;
|
|
3985
|
+
/**
|
|
3986
|
+
*
|
|
3987
|
+
* @type {BillingSubscriptionPauseBehavior}
|
|
3988
|
+
* @memberof CheckoutResponseData
|
|
3989
|
+
*/
|
|
3990
|
+
pauseBehavior?: BillingSubscriptionPauseBehavior | null;
|
|
3991
|
+
/**
|
|
3992
|
+
*
|
|
3993
|
+
* @type {number}
|
|
3994
|
+
* @memberof CheckoutResponseData
|
|
3995
|
+
*/
|
|
3996
|
+
pauseResumesAt?: number | null;
|
|
3997
|
+
/**
|
|
3998
|
+
*
|
|
3999
|
+
* @type {Date}
|
|
4000
|
+
* @memberof CheckoutResponseData
|
|
4001
|
+
*/
|
|
4002
|
+
pausedAt?: Date | null;
|
|
3943
4003
|
/**
|
|
3944
4004
|
*
|
|
3945
4005
|
* @type {number}
|
|
@@ -4528,8 +4588,8 @@ declare interface CompanyEventPeriodMetricsResponseData {
|
|
|
4528
4588
|
}
|
|
4529
4589
|
|
|
4530
4590
|
/**
|
|
4531
|
-
*
|
|
4532
|
-
*
|
|
4591
|
+
* Components API
|
|
4592
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
4533
4593
|
*
|
|
4534
4594
|
* The version of the OpenAPI document: 0.1
|
|
4535
4595
|
*
|
|
@@ -4654,6 +4714,12 @@ declare interface CompanyOverrideResponseData {
|
|
|
4654
4714
|
* @memberof CompanyOverrideResponseData
|
|
4655
4715
|
*/
|
|
4656
4716
|
metricPeriodMonthReset?: MetricPeriodMonthReset | null;
|
|
4717
|
+
/**
|
|
4718
|
+
* Per-model rate overrides for inference features, keyed by provider and model. Each entry replaces consumption_rate and quantity_rates for events from that model. Absent when every model burns at the entitlement's own rates.
|
|
4719
|
+
* @type {Array<CreditModelRate>}
|
|
4720
|
+
* @memberof CompanyOverrideResponseData
|
|
4721
|
+
*/
|
|
4722
|
+
modelRates?: Array<CreditModelRate>;
|
|
4657
4723
|
/**
|
|
4658
4724
|
*
|
|
4659
4725
|
* @type {Array<CompanyOverrideNoteResponseData>}
|
|
@@ -5463,12 +5529,42 @@ declare interface CompanySubscriptionResponseData {
|
|
|
5463
5529
|
* @memberof CompanySubscriptionResponseData
|
|
5464
5530
|
*/
|
|
5465
5531
|
latestInvoice?: InvoiceResponseData;
|
|
5532
|
+
/**
|
|
5533
|
+
*
|
|
5534
|
+
* @type {BillingSubscriptionPauseBehavior}
|
|
5535
|
+
* @memberof CompanySubscriptionResponseData
|
|
5536
|
+
*/
|
|
5537
|
+
pauseBehavior?: BillingSubscriptionPauseBehavior | null;
|
|
5538
|
+
/**
|
|
5539
|
+
*
|
|
5540
|
+
* @type {Date}
|
|
5541
|
+
* @memberof CompanySubscriptionResponseData
|
|
5542
|
+
*/
|
|
5543
|
+
pauseResumesAt?: Date | null;
|
|
5544
|
+
/**
|
|
5545
|
+
*
|
|
5546
|
+
* @type {Date}
|
|
5547
|
+
* @memberof CompanySubscriptionResponseData
|
|
5548
|
+
*/
|
|
5549
|
+
pausedAt?: Date | null;
|
|
5466
5550
|
/**
|
|
5467
5551
|
*
|
|
5468
5552
|
* @type {PaymentMethodResponseData}
|
|
5469
5553
|
* @memberof CompanySubscriptionResponseData
|
|
5470
5554
|
*/
|
|
5471
5555
|
paymentMethod?: PaymentMethodResponseData;
|
|
5556
|
+
/**
|
|
5557
|
+
*
|
|
5558
|
+
* @type {Date}
|
|
5559
|
+
* @memberof CompanySubscriptionResponseData
|
|
5560
|
+
*/
|
|
5561
|
+
periodEnd?: Date | null;
|
|
5562
|
+
/**
|
|
5563
|
+
*
|
|
5564
|
+
* @type {Date}
|
|
5565
|
+
* @memberof CompanySubscriptionResponseData
|
|
5566
|
+
*/
|
|
5567
|
+
periodStart?: Date | null;
|
|
5472
5568
|
/**
|
|
5473
5569
|
*
|
|
5474
5570
|
* @type {Array<BillingProductForSubscriptionResponseData>}
|
|
@@ -5508,8 +5604,8 @@ declare interface CompanySubscriptionResponseData {
|
|
|
5508
5604
|
}
|
|
5509
5605
|
|
|
5510
5606
|
/**
|
|
5511
|
-
*
|
|
5512
|
-
*
|
|
5607
|
+
* Components API
|
|
5608
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
5513
5609
|
*
|
|
5514
5610
|
* The version of the OpenAPI document: 0.1
|
|
5515
5611
|
*
|
|
@@ -5591,8 +5687,8 @@ declare const ComparableOperator_2: {
|
|
|
5591
5687
|
declare type ComparableOperator_2 = (typeof ComparableOperator_2)[keyof typeof ComparableOperator_2];
|
|
5592
5688
|
|
|
5593
5689
|
/**
|
|
5594
|
-
*
|
|
5595
|
-
*
|
|
5690
|
+
* Components API
|
|
5691
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
5596
5692
|
*
|
|
5597
5693
|
* The version of the OpenAPI document: 0.1
|
|
5598
5694
|
*
|
|
@@ -5653,8 +5749,8 @@ declare interface CompatiblePlans_2 {
|
|
|
5653
5749
|
}
|
|
5654
5750
|
|
|
5655
5751
|
/**
|
|
5656
|
-
*
|
|
5657
|
-
*
|
|
5752
|
+
* Components API
|
|
5753
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
5658
5754
|
*
|
|
5659
5755
|
* The version of the OpenAPI document: 0.1
|
|
5660
5756
|
*
|
|
@@ -5765,8 +5861,8 @@ declare interface ComponentCheckoutSettings {
|
|
|
5765
5861
|
}
|
|
5766
5862
|
|
|
5767
5863
|
/**
|
|
5768
|
-
*
|
|
5769
|
-
*
|
|
5864
|
+
* Components API
|
|
5865
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
5770
5866
|
*
|
|
5771
5867
|
* The version of the OpenAPI document: 0.1
|
|
5772
5868
|
*
|
|
@@ -6749,6 +6845,96 @@ declare interface CreditGrantDetail {
|
|
|
6749
6845
|
quantity: number;
|
|
6750
6846
|
}
|
|
6751
6847
|
|
|
6848
|
+
/**
|
|
6849
|
+
* Components API
|
|
6850
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
6851
|
+
*
|
|
6852
|
+
* The version of the OpenAPI document: 0.1
|
|
6853
|
+
*
|
|
6854
|
+
*
|
|
6855
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6856
|
+
* https://openapi-generator.tech
|
|
6857
|
+
* Do not edit the class manually.
|
|
6858
|
+
*/
|
|
6859
|
+
/**
|
|
6860
|
+
*
|
|
6861
|
+
* @export
|
|
6862
|
+
* @interface CreditModelRate
|
|
6863
|
+
*/
|
|
6864
|
+
declare interface CreditModelRate {
|
|
6865
|
+
/**
|
|
6866
|
+
*
|
|
6867
|
+
* @type {number}
|
|
6868
|
+
* @memberof CreditModelRate
|
|
6869
|
+
*/
|
|
6870
|
+
consumptionRate: number;
|
|
6871
|
+
/**
|
|
6872
|
+
*
|
|
6873
|
+
* @type {string}
|
|
6874
|
+
* @memberof CreditModelRate
|
|
6875
|
+
*/
|
|
6876
|
+
model: string;
|
|
6877
|
+
/**
|
|
6878
|
+
*
|
|
6879
|
+
* @type {string}
|
|
6880
|
+
* @memberof CreditModelRate
|
|
6881
|
+
*/
|
|
6882
|
+
provider: string;
|
|
6883
|
+
/**
|
|
6884
|
+
*
|
|
6885
|
+
* @type {{ [key: string]: number; }}
|
|
6886
|
+
* @memberof CreditModelRate
|
|
6887
|
+
*/
|
|
6888
|
+
quantityRates?: {
|
|
6889
|
+
[key: string]: number;
|
|
6890
|
+
};
|
|
6891
|
+
}
|
|
6892
|
+
|
|
6893
|
+
/**
|
|
6894
|
+
* Schematic API
|
|
6895
|
+
* Schematic API
|
|
6896
|
+
*
|
|
6897
|
+
* The version of the OpenAPI document: 0.1
|
|
6898
|
+
*
|
|
6899
|
+
*
|
|
6900
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6901
|
+
* https://openapi-generator.tech
|
|
6902
|
+
* Do not edit the class manually.
|
|
6903
|
+
*/
|
|
6904
|
+
/**
|
|
6905
|
+
*
|
|
6906
|
+
* @export
|
|
6907
|
+
* @interface CreditModelRate
|
|
6908
|
+
*/
|
|
6909
|
+
declare interface CreditModelRate_2 {
|
|
6910
|
+
/**
|
|
6911
|
+
*
|
|
6912
|
+
* @type {number}
|
|
6913
|
+
* @memberof CreditModelRate
|
|
6914
|
+
*/
|
|
6915
|
+
consumptionRate: number;
|
|
6916
|
+
/**
|
|
6917
|
+
*
|
|
6918
|
+
* @type {string}
|
|
6919
|
+
* @memberof CreditModelRate
|
|
6920
|
+
*/
|
|
6921
|
+
model: string;
|
|
6922
|
+
/**
|
|
6923
|
+
*
|
|
6924
|
+
* @type {string}
|
|
6925
|
+
* @memberof CreditModelRate
|
|
6926
|
+
*/
|
|
6927
|
+
provider: string;
|
|
6928
|
+
/**
|
|
6929
|
+
*
|
|
6930
|
+
* @type {{ [key: string]: number; }}
|
|
6931
|
+
* @memberof CreditModelRate
|
|
6932
|
+
*/
|
|
6933
|
+
quantityRates?: {
|
|
6934
|
+
[key: string]: number;
|
|
6935
|
+
};
|
|
6936
|
+
}
|
|
6937
|
+
|
|
6752
6938
|
export declare const Credits: ({ isLoading, bundles, isIndividualPurchase, updateCount, toggle, currency, }: CreditsProps) => JSX.Element;
|
|
6753
6939
|
|
|
6754
6940
|
declare interface CreditsProps {
|
|
@@ -6761,8 +6947,8 @@ declare interface CreditsProps {
|
|
|
6761
6947
|
}
|
|
6762
6948
|
|
|
6763
6949
|
/**
|
|
6764
|
-
*
|
|
6765
|
-
*
|
|
6950
|
+
* Components API
|
|
6951
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
6766
6952
|
*
|
|
6767
6953
|
* The version of the OpenAPI document: 0.1
|
|
6768
6954
|
*
|
|
@@ -6816,8 +7002,8 @@ declare interface CreditTransferView {
|
|
|
6816
7002
|
}
|
|
6817
7003
|
|
|
6818
7004
|
/**
|
|
6819
|
-
*
|
|
6820
|
-
*
|
|
7005
|
+
* Components API
|
|
7006
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
6821
7007
|
*
|
|
6822
7008
|
* The version of the OpenAPI document: 0.1
|
|
6823
7009
|
*
|
|
@@ -6911,7 +7097,7 @@ declare interface CreditUserUsageResponseData {
|
|
|
6911
7097
|
* @type {UserCreditUsageResponseData}
|
|
6912
7098
|
* @memberof CreditUserUsageResponseData
|
|
6913
7099
|
*/
|
|
6914
|
-
unattributed?: UserCreditUsageResponseData;
|
|
7100
|
+
unattributed?: UserCreditUsageResponseData | null;
|
|
6915
7101
|
}
|
|
6916
7102
|
|
|
6917
7103
|
declare interface CreditWithCompanyContext {
|
|
@@ -7271,6 +7457,12 @@ declare interface CustomPlanBillingResponseData {
|
|
|
7271
7457
|
* @memberof CustomPlanBillingResponseData
|
|
7272
7458
|
*/
|
|
7273
7459
|
billingCycleAnchor?: Date | null;
|
|
7460
|
+
/**
|
|
7461
|
+
* The company that pays for the subscription, when it isn't the plan's company. Null when the company pays for itself.
|
|
7462
|
+
* @type {string}
|
|
7463
|
+
* @memberof CustomPlanBillingResponseData
|
|
7464
|
+
*/
|
|
7465
|
+
billingEntityId?: string | null;
|
|
7274
7466
|
/**
|
|
7275
7467
|
* The date the contract term starts, when the operator pinned one. A past date was backdated onto the subscription so the first period runs from the contract date rather than from finalization.
|
|
7276
7468
|
* @type {Date}
|
|
@@ -7409,8 +7601,8 @@ declare const CustomPlanBillingStatus: {
|
|
|
7409
7601
|
declare type CustomPlanBillingStatus = (typeof CustomPlanBillingStatus)[keyof typeof CustomPlanBillingStatus];
|
|
7410
7602
|
|
|
7411
7603
|
/**
|
|
7412
|
-
*
|
|
7413
|
-
*
|
|
7604
|
+
* Components API
|
|
7605
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
7414
7606
|
*
|
|
7415
7607
|
* The version of the OpenAPI document: 0.1
|
|
7416
7608
|
*
|
|
@@ -7513,8 +7705,8 @@ declare interface DeletePaymentMethodResponse {
|
|
|
7513
7705
|
}
|
|
7514
7706
|
|
|
7515
7707
|
/**
|
|
7516
|
-
*
|
|
7517
|
-
*
|
|
7708
|
+
* Components API
|
|
7709
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
7518
7710
|
*
|
|
7519
7711
|
* The version of the OpenAPI document: 0.1
|
|
7520
7712
|
*
|
|
@@ -8711,8 +8903,8 @@ declare interface EstimatedPlanTotal {
|
|
|
8711
8903
|
}
|
|
8712
8904
|
|
|
8713
8905
|
/**
|
|
8714
|
-
*
|
|
8715
|
-
*
|
|
8906
|
+
* Components API
|
|
8907
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
8716
8908
|
*
|
|
8717
8909
|
* The version of the OpenAPI document: 0.1
|
|
8718
8910
|
*
|
|
@@ -9604,7 +9796,7 @@ declare interface FeatureUsageResponseData {
|
|
|
9604
9796
|
* @type {CreditUsageAggregation}
|
|
9605
9797
|
* @memberof FeatureUsageResponseData
|
|
9606
9798
|
*/
|
|
9607
|
-
creditUsageAggregation?: CreditUsageAggregation;
|
|
9799
|
+
creditUsageAggregation?: CreditUsageAggregation | null;
|
|
9608
9800
|
/**
|
|
9609
9801
|
*
|
|
9610
9802
|
* @type {number}
|
|
@@ -9792,7 +9984,7 @@ declare interface FeatureUserUsageResponseData {
|
|
|
9792
9984
|
* @type {UserFeatureUsageResponseData}
|
|
9793
9985
|
* @memberof FeatureUserUsageResponseData
|
|
9794
9986
|
*/
|
|
9795
|
-
unattributed?: UserFeatureUsageResponseData;
|
|
9987
|
+
unattributed?: UserFeatureUsageResponseData | null;
|
|
9796
9988
|
}
|
|
9797
9989
|
|
|
9798
9990
|
declare type FetchAPI = WindowOrWorkerGlobalScope["fetch"];
|
|
@@ -10059,8 +10251,8 @@ style?: CSSProperties | CSSPropertiesWithVars | (CSSProperties & {
|
|
|
10059
10251
|
}> & string;
|
|
10060
10252
|
|
|
10061
10253
|
/**
|
|
10062
|
-
*
|
|
10063
|
-
*
|
|
10254
|
+
* Components API
|
|
10255
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
10064
10256
|
*
|
|
10065
10257
|
* The version of the OpenAPI document: 0.1
|
|
10066
10258
|
*
|
|
@@ -10165,8 +10357,8 @@ declare interface GetCheckoutTaxIDResponse {
|
|
|
10165
10357
|
}
|
|
10166
10358
|
|
|
10167
10359
|
/**
|
|
10168
|
-
*
|
|
10169
|
-
*
|
|
10360
|
+
* Components API
|
|
10361
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
10170
10362
|
*
|
|
10171
10363
|
* The version of the OpenAPI document: 0.1
|
|
10172
10364
|
*
|
|
@@ -10216,8 +10408,8 @@ declare interface GetCreditUsageByUserResponse {
|
|
|
10216
10408
|
}
|
|
10217
10409
|
|
|
10218
10410
|
/**
|
|
10219
|
-
*
|
|
10220
|
-
*
|
|
10411
|
+
* Components API
|
|
10412
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
10221
10413
|
*
|
|
10222
10414
|
* The version of the OpenAPI document: 0.1
|
|
10223
10415
|
*
|
|
@@ -10572,8 +10764,8 @@ export declare type LeadingNameType = `${LeadingName}`;
|
|
|
10572
10764
|
declare type Listener = (...args: any[]) => void;
|
|
10573
10765
|
|
|
10574
10766
|
/**
|
|
10575
|
-
*
|
|
10576
|
-
*
|
|
10767
|
+
* Components API
|
|
10768
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
10577
10769
|
*
|
|
10578
10770
|
* The version of the OpenAPI document: 0.1
|
|
10579
10771
|
*
|
|
@@ -10976,8 +11168,8 @@ declare const PlanBillingSource: {
|
|
|
10976
11168
|
declare type PlanBillingSource = (typeof PlanBillingSource)[keyof typeof PlanBillingSource];
|
|
10977
11169
|
|
|
10978
11170
|
/**
|
|
10979
|
-
*
|
|
10980
|
-
*
|
|
11171
|
+
* Components API
|
|
11172
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
10981
11173
|
*
|
|
10982
11174
|
* The version of the OpenAPI document: 0.1
|
|
10983
11175
|
*
|
|
@@ -11614,8 +11806,8 @@ declare interface PlanCreditGrantView_2 {
|
|
|
11614
11806
|
}
|
|
11615
11807
|
|
|
11616
11808
|
/**
|
|
11617
|
-
*
|
|
11618
|
-
*
|
|
11809
|
+
* Components API
|
|
11810
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
11619
11811
|
*
|
|
11620
11812
|
* The version of the OpenAPI document: 0.1
|
|
11621
11813
|
*
|
|
@@ -12062,6 +12254,12 @@ declare interface PlanEntitlementResponseData {
|
|
|
12062
12254
|
* @memberof PlanEntitlementResponseData
|
|
12063
12255
|
*/
|
|
12064
12256
|
metricPeriodMonthReset?: MetricPeriodMonthReset | null;
|
|
12257
|
+
/**
|
|
12258
|
+
* Per-model rate overrides for inference features, keyed by provider and model. Each entry replaces consumption_rate and quantity_rates for events from that model. Absent when every model burns at the entitlement's own rates.
|
|
12259
|
+
* @type {Array<CreditModelRate>}
|
|
12260
|
+
* @memberof PlanEntitlementResponseData
|
|
12261
|
+
*/
|
|
12262
|
+
modelRates?: Array<CreditModelRate>;
|
|
12065
12263
|
/**
|
|
12066
12264
|
* How often overage charges are assessed and invoiced. Null or end_of_billing_period means the billing provider aggregates usage over the subscription's own period and bills it at period end. Monthly and quarterly mean Schematic assesses the overage each month or quarter and bills it on its own invoice. Only applies to overage price behavior.
|
|
12067
12265
|
* @type {BillingArrearsCadence}
|
|
@@ -12270,6 +12468,12 @@ declare interface PlanEntitlementResponseData_2 {
|
|
|
12270
12468
|
* @memberof PlanEntitlementResponseData
|
|
12271
12469
|
*/
|
|
12272
12470
|
metricPeriodMonthReset?: MetricPeriodMonthReset_2 | null;
|
|
12471
|
+
/**
|
|
12472
|
+
* Per-model rate overrides for inference features, keyed by provider and model. Each entry replaces consumption_rate and quantity_rates for events from that model. Absent when every model burns at the entitlement's own rates.
|
|
12473
|
+
* @type {Array<CreditModelRate>}
|
|
12474
|
+
* @memberof PlanEntitlementResponseData
|
|
12475
|
+
*/
|
|
12476
|
+
modelRates?: Array<CreditModelRate_2>;
|
|
12273
12477
|
/**
|
|
12274
12478
|
* How often overage charges are assessed and invoiced. Null or end_of_billing_period means the billing provider aggregates usage over the subscription's own period and bills it at period end. Monthly and quarterly mean Schematic assesses the overage each month or quarter and bills it on its own invoice. Only applies to overage price behavior.
|
|
12275
12479
|
* @type {BillingArrearsCadence}
|
|
@@ -13141,8 +13345,8 @@ declare interface PreviewCheckoutResponse {
|
|
|
13141
13345
|
}
|
|
13142
13346
|
|
|
13143
13347
|
/**
|
|
13144
|
-
*
|
|
13145
|
-
*
|
|
13348
|
+
* Components API
|
|
13349
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
13146
13350
|
*
|
|
13147
13351
|
* The version of the OpenAPI document: 0.1
|
|
13148
13352
|
*
|
|
@@ -13227,8 +13431,8 @@ declare interface PreviewObject_2 {
|
|
|
13227
13431
|
}
|
|
13228
13432
|
|
|
13229
13433
|
/**
|
|
13230
|
-
*
|
|
13231
|
-
*
|
|
13434
|
+
* Components API
|
|
13435
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
13232
13436
|
*
|
|
13233
13437
|
* The version of the OpenAPI document: 0.1
|
|
13234
13438
|
*
|
|
@@ -13599,7 +13803,7 @@ declare interface PreviewSubscriptionFinanceResponseData {
|
|
|
13599
13803
|
* @type {PreviewSubscriptionProrationResponseData}
|
|
13600
13804
|
* @memberof PreviewSubscriptionFinanceResponseData
|
|
13601
13805
|
*/
|
|
13602
|
-
prorationDetail?: PreviewSubscriptionProrationResponseData;
|
|
13806
|
+
prorationDetail?: PreviewSubscriptionProrationResponseData | null;
|
|
13603
13807
|
/**
|
|
13604
13808
|
*
|
|
13605
13809
|
* @type {number}
|
|
@@ -13739,8 +13943,8 @@ declare interface PreviewSubscriptionProrationResponseData {
|
|
|
13739
13943
|
}
|
|
13740
13944
|
|
|
13741
13945
|
/**
|
|
13742
|
-
*
|
|
13743
|
-
*
|
|
13946
|
+
* Components API
|
|
13947
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
13744
13948
|
*
|
|
13745
13949
|
* The version of the OpenAPI document: 0.1
|
|
13746
13950
|
*
|
|
@@ -14845,8 +15049,8 @@ export declare type SettingsLayer = (typeof SETTINGS_LAYERS)[number];
|
|
|
14845
15049
|
export declare type SettingsSource = "builder" | "consumer";
|
|
14846
15050
|
|
|
14847
15051
|
/**
|
|
14848
|
-
*
|
|
14849
|
-
*
|
|
15052
|
+
* Components API
|
|
15053
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
14850
15054
|
*
|
|
14851
15055
|
* The version of the OpenAPI document: 0.1
|
|
14852
15056
|
*
|
|
@@ -14896,8 +15100,8 @@ declare type SharedEntitlementUsageProps = {
|
|
|
14896
15100
|
declare type Status = "idle" | "confirming" | "succeeded" | "failed";
|
|
14897
15101
|
|
|
14898
15102
|
/**
|
|
14899
|
-
*
|
|
14900
|
-
*
|
|
15103
|
+
* Components API
|
|
15104
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
14901
15105
|
*
|
|
14902
15106
|
* The version of the OpenAPI document: 0.1
|
|
14903
15107
|
*
|
|
@@ -15353,8 +15557,8 @@ declare interface UpcomingInvoiceResponseData {
|
|
|
15353
15557
|
}
|
|
15354
15558
|
|
|
15355
15559
|
/**
|
|
15356
|
-
*
|
|
15357
|
-
*
|
|
15560
|
+
* Components API
|
|
15561
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
15358
15562
|
*
|
|
15359
15563
|
* The version of the OpenAPI document: 0.1
|
|
15360
15564
|
*
|
|
@@ -15384,8 +15588,8 @@ declare interface UpdateAddOnRequestBody {
|
|
|
15384
15588
|
}
|
|
15385
15589
|
|
|
15386
15590
|
/**
|
|
15387
|
-
*
|
|
15388
|
-
*
|
|
15591
|
+
* Components API
|
|
15592
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
15389
15593
|
*
|
|
15390
15594
|
* The version of the OpenAPI document: 0.1
|
|
15391
15595
|
*
|
|
@@ -15461,8 +15665,8 @@ declare interface UpdateCheckoutTaxIDResponseData {
|
|
|
15461
15665
|
}
|
|
15462
15666
|
|
|
15463
15667
|
/**
|
|
15464
|
-
*
|
|
15465
|
-
*
|
|
15668
|
+
* Components API
|
|
15669
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
15466
15670
|
*
|
|
15467
15671
|
* The version of the OpenAPI document: 0.1
|
|
15468
15672
|
*
|
|
@@ -15492,8 +15696,8 @@ declare interface UpdateCreditBundleRequestBody {
|
|
|
15492
15696
|
}
|
|
15493
15697
|
|
|
15494
15698
|
/**
|
|
15495
|
-
*
|
|
15496
|
-
*
|
|
15699
|
+
* Components API
|
|
15700
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
15497
15701
|
*
|
|
15498
15702
|
* The version of the OpenAPI document: 0.1
|
|
15499
15703
|
*
|
|
@@ -15734,7 +15938,7 @@ declare interface UserCreditUsageResponseData {
|
|
|
15734
15938
|
* @type {UserResponseData}
|
|
15735
15939
|
* @memberof UserCreditUsageResponseData
|
|
15736
15940
|
*/
|
|
15737
|
-
user?: UserResponseData;
|
|
15941
|
+
user?: UserResponseData | null;
|
|
15738
15942
|
/**
|
|
15739
15943
|
* The user the consumption is attributed to; null for unattributed consumption
|
|
15740
15944
|
* @type {string}
|
|
@@ -15776,7 +15980,7 @@ declare interface UserFeatureUsageResponseData {
|
|
|
15776
15980
|
* @type {UserResponseData}
|
|
15777
15981
|
* @memberof UserFeatureUsageResponseData
|
|
15778
15982
|
*/
|
|
15779
|
-
user?: UserResponseData;
|
|
15983
|
+
user?: UserResponseData | null;
|
|
15780
15984
|
/**
|
|
15781
15985
|
* The user the usage is attributed to; null for unattributed usage
|
|
15782
15986
|
* @type {string}
|
|
@@ -15792,8 +15996,8 @@ declare interface UserFeatureUsageResponseData {
|
|
|
15792
15996
|
}
|
|
15793
15997
|
|
|
15794
15998
|
/**
|
|
15795
|
-
*
|
|
15796
|
-
*
|
|
15999
|
+
* Components API
|
|
16000
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
15797
16001
|
*
|
|
15798
16002
|
* The version of the OpenAPI document: 0.1
|
|
15799
16003
|
*
|
|
@@ -15898,8 +16102,8 @@ export declare interface WarningThresholdConfig {
|
|
|
15898
16102
|
}
|
|
15899
16103
|
|
|
15900
16104
|
/**
|
|
15901
|
-
*
|
|
15902
|
-
*
|
|
16105
|
+
* Components API
|
|
16106
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
15903
16107
|
*
|
|
15904
16108
|
* The version of the OpenAPI document: 0.1
|
|
15905
16109
|
*
|
|
@@ -15929,8 +16133,8 @@ declare interface WarningTier {
|
|
|
15929
16133
|
}
|
|
15930
16134
|
|
|
15931
16135
|
/**
|
|
15932
|
-
*
|
|
15933
|
-
*
|
|
16136
|
+
* Components API
|
|
16137
|
+
* The browser-facing billing API behind the drop-in components and the schematic-react hooks. A temporary access token scopes every call to one company.
|
|
15934
16138
|
*
|
|
15935
16139
|
* The version of the OpenAPI document: 0.1
|
|
15936
16140
|
*
|