@schematichq/schematic-typescript-node 1.5.6 → 1.5.7
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/api/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +1 -0
- package/dist/api/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +1 -0
- package/dist/api/resources/billing/client/Client.d.ts +2 -0
- package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +3 -0
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +3 -0
- package/dist/api/resources/billing/types/ListBillingPricesParams.d.ts +2 -0
- package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +2 -0
- package/dist/api/resources/catalogs/client/Client.d.ts +0 -1
- package/dist/api/resources/catalogs/client/requests/CreateCatalogRequestBody.d.ts +0 -2
- package/dist/api/resources/checkout/client/requests/UpdateCompanyBillingDetailsRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/client/Client.d.ts +38 -0
- package/dist/api/resources/entitlements/client/requests/GetUserUsageByCompanyRequest.d.ts +19 -0
- package/dist/api/resources/entitlements/client/requests/GetUserUsageDetailRequest.d.ts +19 -0
- package/dist/api/resources/entitlements/client/requests/index.d.ts +2 -0
- package/dist/api/resources/entitlements/types/GetUserUsageByCompanyParams.d.ts +13 -0
- package/dist/api/resources/entitlements/types/GetUserUsageByCompanyResponse.d.ts +6 -0
- package/dist/api/resources/entitlements/types/GetUserUsageDetailParams.d.ts +13 -0
- package/dist/api/resources/entitlements/types/GetUserUsageDetailResponse.d.ts +6 -0
- package/dist/api/resources/entitlements/types/index.d.ts +4 -0
- package/dist/api/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +6 -0
- package/dist/api/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +2 -0
- package/dist/api/types/ApiKeyCreateResponseData.d.ts +1 -0
- package/dist/api/types/ApiKeyResponseData.d.ts +1 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +4 -0
- package/dist/api/types/CatalogConfigOrderedEntitlement.d.ts +1 -1
- package/dist/api/types/CatalogConfigOrderedEntitlementResponseData.d.ts +1 -1
- package/dist/api/types/CatalogResponseData.d.ts +0 -1
- package/dist/api/types/CompanyBillingDetailsResponseData.d.ts +1 -0
- package/dist/api/types/CompanyBillingDetailsView.d.ts +1 -0
- package/dist/api/types/CompanyPlanCreditGrantView.d.ts +2 -0
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +2 -2
- package/dist/api/types/CompanyTaxIdView.d.ts +7 -0
- package/dist/api/types/ComponentCheckoutSettings.d.ts +2 -0
- package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +4 -0
- package/dist/api/types/CustomPlanBillingResponseData.d.ts +1 -0
- package/dist/api/types/PlanCreditGrantScaling.d.ts +5 -0
- package/dist/api/types/PlanCreditGrantView.d.ts +2 -0
- package/dist/api/types/PlanDetailResponseData.d.ts +2 -2
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +2 -2
- package/dist/api/types/PlanViewPublicResponseData.d.ts +2 -2
- package/dist/api/types/TaxIdInput.d.ts +5 -0
- package/dist/api/types/TaxIdType.d.ts +41 -0
- package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +4 -0
- package/dist/api/types/UserCreditUsageResponseData.d.ts +14 -0
- package/dist/api/types/UserDailyCreditPointResponseData.d.ts +6 -0
- package/dist/api/types/UserDailyUsagePointResponseData.d.ts +8 -0
- package/dist/api/types/UserFeatureUsageResponseData.d.ts +14 -0
- package/dist/api/types/UserUsageByCompanyResponseData.d.ts +11 -0
- package/dist/api/types/UserUsageDetailResponseData.d.ts +16 -0
- package/dist/api/types/index.d.ts +10 -0
- package/dist/index.js +9 -9
- package/dist/serialization/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +1 -0
- package/dist/serialization/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +1 -0
- package/dist/serialization/resources/billing/types/ListBillingPricesParams.d.ts +1 -0
- package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +1 -0
- package/dist/serialization/resources/catalogs/client/requests/CreateCatalogRequestBody.d.ts +0 -1
- package/dist/serialization/resources/checkout/client/requests/UpdateCompanyBillingDetailsRequestBody.d.ts +2 -0
- package/dist/serialization/resources/entitlements/types/GetUserUsageByCompanyParams.d.ts +12 -0
- package/dist/serialization/resources/entitlements/types/GetUserUsageByCompanyResponse.d.ts +12 -0
- package/dist/serialization/resources/entitlements/types/GetUserUsageDetailParams.d.ts +12 -0
- package/dist/serialization/resources/entitlements/types/GetUserUsageDetailResponse.d.ts +12 -0
- package/dist/serialization/resources/entitlements/types/index.d.ts +4 -0
- package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +8 -0
- package/dist/serialization/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +1 -0
- package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +1 -0
- package/dist/serialization/types/ApiKeyResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +3 -0
- package/dist/serialization/types/CatalogConfigOrderedEntitlement.d.ts +1 -1
- package/dist/serialization/types/CatalogConfigOrderedEntitlementResponseData.d.ts +1 -1
- package/dist/serialization/types/CatalogResponseData.d.ts +0 -1
- package/dist/serialization/types/CompanyBillingDetailsResponseData.d.ts +2 -0
- package/dist/serialization/types/CompanyBillingDetailsView.d.ts +2 -0
- package/dist/serialization/types/CompanyPlanCreditGrantView.d.ts +3 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +1 -1
- package/dist/serialization/types/CompanyTaxIdView.d.ts +13 -0
- package/dist/serialization/types/ComponentCheckoutSettings.d.ts +2 -0
- package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +3 -0
- package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanCreditGrantScaling.d.ts +7 -0
- package/dist/serialization/types/PlanCreditGrantView.d.ts +3 -0
- package/dist/serialization/types/PlanDetailResponseData.d.ts +1 -1
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +1 -1
- package/dist/serialization/types/PlanViewPublicResponseData.d.ts +1 -1
- package/dist/serialization/types/TaxIdInput.d.ts +11 -0
- package/dist/serialization/types/TaxIdType.d.ts +7 -0
- package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +3 -0
- package/dist/serialization/types/UserCreditUsageResponseData.d.ts +15 -0
- package/dist/serialization/types/UserDailyCreditPointResponseData.d.ts +10 -0
- package/dist/serialization/types/UserDailyUsagePointResponseData.d.ts +12 -0
- package/dist/serialization/types/UserFeatureUsageResponseData.d.ts +16 -0
- package/dist/serialization/types/UserUsageByCompanyResponseData.d.ts +14 -0
- package/dist/serialization/types/UserUsageDetailResponseData.d.ts +20 -0
- package/dist/serialization/types/index.d.ts +10 -0
- package/dist/wasm/rulesengine.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as Schematic from "../index";
|
|
2
|
+
export interface UserUsageDetailResponseData {
|
|
3
|
+
/** The user's net credit consumption within the window */
|
|
4
|
+
credits: Schematic.UserCreditUsageResponseData[];
|
|
5
|
+
/** The user's net credit consumption by UTC day */
|
|
6
|
+
dailyCreditPoints: Schematic.UserDailyCreditPointResponseData[];
|
|
7
|
+
/** The user's per-feature usage by UTC day */
|
|
8
|
+
dailyPoints: Schematic.UserDailyUsagePointResponseData[];
|
|
9
|
+
/** End of the usage window (exclusive) */
|
|
10
|
+
endTime: Date;
|
|
11
|
+
/** The user's per-feature usage totals within the window */
|
|
12
|
+
featureTotals: Schematic.UserFeatureUsageResponseData[];
|
|
13
|
+
/** Start of the usage window */
|
|
14
|
+
startTime: Date;
|
|
15
|
+
user?: Schematic.UserResponseData;
|
|
16
|
+
}
|
|
@@ -110,6 +110,7 @@ export * from "./CompanyPlanInvalidReason";
|
|
|
110
110
|
export * from "./CompanyPlanWithBillingSubView";
|
|
111
111
|
export * from "./CompanyResponseData";
|
|
112
112
|
export * from "./CompanySubscriptionResponseData";
|
|
113
|
+
export * from "./CompanyTaxIdView";
|
|
113
114
|
export * from "./ComparableOperator";
|
|
114
115
|
export * from "./CompatiblePlans";
|
|
115
116
|
export * from "./CompatiblePlansResponseData";
|
|
@@ -284,6 +285,7 @@ export * from "./PlanChangeAction";
|
|
|
284
285
|
export * from "./PlanChangeBasePlanAction";
|
|
285
286
|
export * from "./PlanChangeResponseData";
|
|
286
287
|
export * from "./PlanChangeSubscriptionAction";
|
|
288
|
+
export * from "./PlanCreditGrantScaling";
|
|
287
289
|
export * from "./PlanCreditGrantView";
|
|
288
290
|
export * from "./PlanCurrencyPriceRequestBody";
|
|
289
291
|
export * from "./PlanCurrencyPricesResponseData";
|
|
@@ -372,6 +374,8 @@ export * from "./StripeIntegrationConfig";
|
|
|
372
374
|
export * from "./SubscriptionStatus";
|
|
373
375
|
export * from "./SubscriptionTraitUpdate";
|
|
374
376
|
export * from "./SubscriptionType";
|
|
377
|
+
export * from "./TaxIdInput";
|
|
378
|
+
export * from "./TaxIdType";
|
|
375
379
|
export * from "./TemporaryAccessTokenResourceType";
|
|
376
380
|
export * from "./TemporaryAccessTokenResponseData";
|
|
377
381
|
export * from "./TestWebhookResponseData";
|
|
@@ -399,8 +403,14 @@ export * from "./UpsertUserSubRequestBody";
|
|
|
399
403
|
export * from "./UsageBasedEntitlementRequestBody";
|
|
400
404
|
export * from "./UsageBasedEntitlementResponseData";
|
|
401
405
|
export * from "./UsageTimeSeriesPointResponseData";
|
|
406
|
+
export * from "./UserCreditUsageResponseData";
|
|
407
|
+
export * from "./UserDailyCreditPointResponseData";
|
|
408
|
+
export * from "./UserDailyUsagePointResponseData";
|
|
402
409
|
export * from "./UserDetailResponseData";
|
|
410
|
+
export * from "./UserFeatureUsageResponseData";
|
|
403
411
|
export * from "./UserResponseData";
|
|
412
|
+
export * from "./UserUsageByCompanyResponseData";
|
|
413
|
+
export * from "./UserUsageDetailResponseData";
|
|
404
414
|
export * from "./WarningTier";
|
|
405
415
|
export * from "./WarningTierRequestBody";
|
|
406
416
|
export * from "./WarningTierResponseData";
|