@schematichq/schematic-typescript-node 1.5.6 → 1.5.8
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/companies/client/Client.d.ts +35 -0
- package/dist/api/resources/companies/client/requests/CountEntityKeysRequest.d.ts +18 -0
- package/dist/api/resources/companies/client/requests/index.d.ts +1 -0
- package/dist/api/resources/companies/types/CountEntityKeysParams.d.ts +12 -0
- package/dist/api/resources/companies/types/CountEntityKeysResponse.d.ts +6 -0
- package/dist/api/resources/companies/types/DeleteEntityKeyDefinitionResponse.d.ts +6 -0
- package/dist/api/resources/companies/types/index.d.ts +3 -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/BillingCreditView.d.ts +1 -1
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +4 -0
- package/dist/api/types/BillingProductRecordResponseData.d.ts +12 -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/CompanyFeatureUsageExportMetadata.d.ts +9 -2
- package/dist/api/types/CompanyFeatureUsageExportMetadataSortOrderDirection.d.ts +6 -0
- package/dist/api/types/CompanyFeatureUsageExportMetadataVisibleColumnsItem.d.ts +7 -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/DataExportMetadata.d.ts +4 -1
- package/dist/api/types/DataExportType.d.ts +1 -0
- package/dist/api/types/EventExportMetadata.d.ts +19 -0
- package/dist/api/types/EventExportMetadataEventTypesItem.d.ts +7 -0
- package/dist/api/types/FeatureView.d.ts +1 -1
- 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/TestWebhookResponseData.d.ts +1 -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 +15 -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/companies/types/CountEntityKeysParams.d.ts +13 -0
- package/dist/serialization/resources/companies/types/CountEntityKeysResponse.d.ts +12 -0
- package/dist/serialization/resources/companies/types/DeleteEntityKeyDefinitionResponse.d.ts +11 -0
- package/dist/serialization/resources/companies/types/index.d.ts +3 -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/BillingCreditView.d.ts +2 -2
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +3 -0
- package/dist/serialization/types/BillingProductRecordResponseData.d.ts +18 -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/CompanyFeatureUsageExportMetadata.d.ts +6 -1
- package/dist/serialization/types/CompanyFeatureUsageExportMetadataSortOrderDirection.d.ts +7 -0
- package/dist/serialization/types/CompanyFeatureUsageExportMetadataVisibleColumnsItem.d.ts +7 -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/DataExportMetadata.d.ts +5 -1
- package/dist/serialization/types/DataExportType.d.ts +1 -1
- package/dist/serialization/types/EventExportMetadata.d.ts +17 -0
- package/dist/serialization/types/EventExportMetadataEventTypesItem.d.ts +7 -0
- package/dist/serialization/types/FeatureView.d.ts +2 -2
- 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/TestWebhookResponseData.d.ts +1 -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 +15 -0
- package/dist/wasm/rulesengine.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as Schematic from "../index";
|
|
2
|
-
export type DataExportMetadata = Schematic.DataExportMetadata.AuditLog | Schematic.DataExportMetadata.CompanyFeatureUsage;
|
|
2
|
+
export type DataExportMetadata = Schematic.DataExportMetadata.AuditLog | Schematic.DataExportMetadata.CompanyFeatureUsage | Schematic.DataExportMetadata.Event;
|
|
3
3
|
export declare namespace DataExportMetadata {
|
|
4
4
|
interface AuditLog extends Schematic.AuditLogExportMetadata {
|
|
5
5
|
exportType: "audit-log";
|
|
@@ -7,4 +7,7 @@ export declare namespace DataExportMetadata {
|
|
|
7
7
|
interface CompanyFeatureUsage extends Schematic.CompanyFeatureUsageExportMetadata {
|
|
8
8
|
exportType: "company-feature-usage";
|
|
9
9
|
}
|
|
10
|
+
interface Event extends Schematic.EventExportMetadata {
|
|
11
|
+
exportType: "event";
|
|
12
|
+
}
|
|
10
13
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as Schematic from "../index";
|
|
2
|
+
export interface EventExportMetadata {
|
|
3
|
+
/** Restrict the export to events for this company ID (starting with 'comp_') */
|
|
4
|
+
companyId?: string;
|
|
5
|
+
/** Restrict the export to events captured at or before this time */
|
|
6
|
+
endTime?: Date;
|
|
7
|
+
/** Restrict the export to track events with this subtype */
|
|
8
|
+
eventSubtype?: string;
|
|
9
|
+
/** Restrict the export to these event types (e.g. "track", "identify"); defaults to track, identify and inference events. Flag check events are only exported when requested here explicitly, and require a flag_id. */
|
|
10
|
+
eventTypes?: Schematic.EventExportMetadataEventTypesItem[];
|
|
11
|
+
/** Restrict the export to flag-check events for this flag ID (starting with 'flag_') */
|
|
12
|
+
flagId?: string;
|
|
13
|
+
/** Account member emails to notify when the export completes; empty means the artifact is only retrievable via the API */
|
|
14
|
+
notificationEmailRecipientEmailAddresses?: string[];
|
|
15
|
+
/** Restrict the export to events captured at or after this time */
|
|
16
|
+
startTime?: Date;
|
|
17
|
+
/** Restrict the export to events for this user ID (starting with 'user_') */
|
|
18
|
+
userId?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const EventExportMetadataEventTypesItem: {
|
|
2
|
+
readonly FlagCheck: "flag_check";
|
|
3
|
+
readonly Identify: "identify";
|
|
4
|
+
readonly Inference: "inference";
|
|
5
|
+
readonly Track: "track";
|
|
6
|
+
};
|
|
7
|
+
export type EventExportMetadataEventTypesItem = (typeof EventExportMetadataEventTypesItem)[keyof typeof EventExportMetadataEventTypesItem];
|
|
@@ -2,7 +2,7 @@ import type * as Schematic from "../index";
|
|
|
2
2
|
export interface FeatureView {
|
|
3
3
|
accountId: string;
|
|
4
4
|
billingLinkedResource?: Schematic.BillingLinkedResourceResponseData;
|
|
5
|
-
billingProduct?: Schematic.
|
|
5
|
+
billingProduct?: Schematic.BillingProductRecordResponseData;
|
|
6
6
|
createdAt: Date;
|
|
7
7
|
description: string;
|
|
8
8
|
eventSubtype?: string;
|
|
@@ -25,6 +25,7 @@ export interface PlanCreditGrantView {
|
|
|
25
25
|
expiryUnit?: Schematic.BillingCreditExpiryUnit;
|
|
26
26
|
expiryUnitCount?: number;
|
|
27
27
|
id: string;
|
|
28
|
+
licenseId?: string;
|
|
28
29
|
plan?: Schematic.GenericPreviewObject;
|
|
29
30
|
planId: string;
|
|
30
31
|
planVersionId?: string;
|
|
@@ -34,6 +35,7 @@ export interface PlanCreditGrantView {
|
|
|
34
35
|
resetStart?: Schematic.BillingPlanCreditGrantResetStart;
|
|
35
36
|
resetType: Schematic.BillingPlanCreditGrantResetType;
|
|
36
37
|
rolloverPercentage: number;
|
|
38
|
+
scaling: Schematic.PlanCreditGrantScaling;
|
|
37
39
|
/** Deprecated field, will be removed in the future. Use Credit.SingularName instead. */
|
|
38
40
|
singularName?: string;
|
|
39
41
|
updatedAt: Date;
|
|
@@ -24,8 +24,8 @@ export interface PlanDetailResponseData {
|
|
|
24
24
|
id: string;
|
|
25
25
|
includedCreditGrants?: Schematic.BillingPlanCreditGrantResponseData[];
|
|
26
26
|
isDefault: boolean;
|
|
27
|
-
/** Deprecated:
|
|
28
|
-
isFree
|
|
27
|
+
/** Deprecated: reports the plan's charge type, not its price. Read the plan's prices to tell whether it costs anything, or billing_strategy to tell how it is billed. */
|
|
28
|
+
isFree?: boolean;
|
|
29
29
|
isTrialable: boolean;
|
|
30
30
|
monthlyPrice?: Schematic.BillingPriceResponseData;
|
|
31
31
|
name: string;
|
|
@@ -28,8 +28,8 @@ export interface PlanGroupPlanDetailResponseData {
|
|
|
28
28
|
includedCreditGrants?: Schematic.BillingPlanCreditGrantResponseData[];
|
|
29
29
|
isCustom: boolean;
|
|
30
30
|
isDefault: boolean;
|
|
31
|
-
/** Deprecated:
|
|
32
|
-
isFree
|
|
31
|
+
/** Deprecated: reports the plan's charge type, not its price. Read the plan's prices to tell whether it costs anything, or billing_strategy to tell how it is billed. */
|
|
32
|
+
isFree?: boolean;
|
|
33
33
|
isTrialable: boolean;
|
|
34
34
|
monthlyPrice?: Schematic.BillingPriceResponseData;
|
|
35
35
|
name: string;
|
|
@@ -29,8 +29,8 @@ export interface PlanViewPublicResponseData {
|
|
|
29
29
|
includedCreditGrants: Schematic.PlanCreditGrantView[];
|
|
30
30
|
isCustom: boolean;
|
|
31
31
|
isDefault: boolean;
|
|
32
|
-
/** Deprecated:
|
|
33
|
-
isFree
|
|
32
|
+
/** Deprecated: reports the plan's charge type, not its price. Read the plan's prices to tell whether it costs anything, or billing_strategy to tell how it is billed. */
|
|
33
|
+
isFree?: boolean;
|
|
34
34
|
isTrialable: boolean;
|
|
35
35
|
monthlyPrice?: Schematic.BillingPriceResponseData;
|
|
36
36
|
name: string;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare const TaxIdType: {
|
|
2
|
+
readonly AeTrn: "ae_trn";
|
|
3
|
+
readonly AuAbn: "au_abn";
|
|
4
|
+
readonly AuArn: "au_arn";
|
|
5
|
+
readonly BrCnpj: "br_cnpj";
|
|
6
|
+
readonly BrCpf: "br_cpf";
|
|
7
|
+
readonly CaBn: "ca_bn";
|
|
8
|
+
readonly CaGstHst: "ca_gst_hst";
|
|
9
|
+
readonly CaPstBc: "ca_pst_bc";
|
|
10
|
+
readonly CaPstMb: "ca_pst_mb";
|
|
11
|
+
readonly CaPstSk: "ca_pst_sk";
|
|
12
|
+
readonly CaQst: "ca_qst";
|
|
13
|
+
readonly ChUid: "ch_uid";
|
|
14
|
+
readonly ChVat: "ch_vat";
|
|
15
|
+
readonly EuVat: "eu_vat";
|
|
16
|
+
readonly GbVat: "gb_vat";
|
|
17
|
+
readonly HkBr: "hk_br";
|
|
18
|
+
readonly IdNpwp: "id_npwp";
|
|
19
|
+
readonly IlVat: "il_vat";
|
|
20
|
+
readonly InGst: "in_gst";
|
|
21
|
+
readonly JpCn: "jp_cn";
|
|
22
|
+
readonly JpRn: "jp_rn";
|
|
23
|
+
readonly JpTrn: "jp_trn";
|
|
24
|
+
readonly KrBrn: "kr_brn";
|
|
25
|
+
readonly MxRfc: "mx_rfc";
|
|
26
|
+
readonly MyFrp: "my_frp";
|
|
27
|
+
readonly MyItn: "my_itn";
|
|
28
|
+
readonly MySst: "my_sst";
|
|
29
|
+
readonly NoVat: "no_vat";
|
|
30
|
+
readonly NzGst: "nz_gst";
|
|
31
|
+
readonly PhTin: "ph_tin";
|
|
32
|
+
readonly SaVat: "sa_vat";
|
|
33
|
+
readonly SgGst: "sg_gst";
|
|
34
|
+
readonly SgUen: "sg_uen";
|
|
35
|
+
readonly ThVat: "th_vat";
|
|
36
|
+
readonly TrTin: "tr_tin";
|
|
37
|
+
readonly TwVat: "tw_vat";
|
|
38
|
+
readonly UsEin: "us_ein";
|
|
39
|
+
readonly ZaVat: "za_vat";
|
|
40
|
+
};
|
|
41
|
+
export type TaxIdType = (typeof TaxIdType)[keyof typeof TaxIdType];
|
|
@@ -16,9 +16,13 @@ export interface UpdateBillingPlanCreditGrantRequestBody {
|
|
|
16
16
|
expiryType?: Schematic.BillingCreditExpiryType;
|
|
17
17
|
expiryUnit?: Schematic.BillingCreditExpiryUnit;
|
|
18
18
|
expiryUnitCount?: number;
|
|
19
|
+
/** The license whose quantity scales this grant. Cannot be changed after creation. */
|
|
20
|
+
licenseId?: string;
|
|
19
21
|
resetCadence: Schematic.BillingPlanCreditGrantResetCadence;
|
|
20
22
|
resetStart: Schematic.BillingPlanCreditGrantResetStart;
|
|
21
23
|
resetType?: Schematic.BillingPlanCreditGrantResetType;
|
|
22
24
|
/** Percentage of unused credits that carry over when this grant resets. Only applies when reset_type is plan_period. Rolled-over credits expire at the next reset and are not rolled again. */
|
|
23
25
|
rolloverPercentage?: number;
|
|
26
|
+
/** Whether the grant is a fixed amount per company, or issued once per license the company holds. Cannot be changed after creation. */
|
|
27
|
+
scaling?: Schematic.PlanCreditGrantScaling;
|
|
24
28
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as Schematic from "../index";
|
|
2
|
+
export interface UserCreditUsageResponseData {
|
|
3
|
+
billingCreditId: string;
|
|
4
|
+
/** The display name of the credit type */
|
|
5
|
+
creditName: string;
|
|
6
|
+
/** The user's net track-driven consumption of the credit within the window (draws minus refunds) */
|
|
7
|
+
creditsUsed: number;
|
|
8
|
+
/** This row's fraction (0-1) of the company's total track-driven consumption of the credit within the window, including unattributed consumption */
|
|
9
|
+
share: number;
|
|
10
|
+
/** The user the consumption is attributed to; null for consumption from events sent without a user */
|
|
11
|
+
user?: Schematic.UserResponseData;
|
|
12
|
+
/** The user the consumption is attributed to; null for unattributed consumption */
|
|
13
|
+
userId?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as Schematic from "../index";
|
|
2
|
+
export interface UserFeatureUsageResponseData {
|
|
3
|
+
feature?: Schematic.FeatureResponseData;
|
|
4
|
+
/** When the user last used the feature within the window */
|
|
5
|
+
lastSeen: Date;
|
|
6
|
+
/** This row's fraction (0-1) of the company's total usage of the feature within the window, including unattributed usage */
|
|
7
|
+
share: number;
|
|
8
|
+
/** The user the usage is attributed to; null for usage from events sent without a user */
|
|
9
|
+
user?: Schematic.UserResponseData;
|
|
10
|
+
/** The user the usage is attributed to; null for unattributed usage */
|
|
11
|
+
userId?: string;
|
|
12
|
+
/** The user's usage of the feature within the window */
|
|
13
|
+
value: number;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../index";
|
|
2
|
+
export interface UserUsageByCompanyResponseData {
|
|
3
|
+
/** Per-user net credit consumption within the window */
|
|
4
|
+
credits: Schematic.UserCreditUsageResponseData[];
|
|
5
|
+
/** End of the usage window (exclusive) */
|
|
6
|
+
endTime: Date;
|
|
7
|
+
/** Per-user, per-feature usage within the window; rows for a feature sum to the company total */
|
|
8
|
+
rows: Schematic.UserFeatureUsageResponseData[];
|
|
9
|
+
/** Start of the usage window */
|
|
10
|
+
startTime: Date;
|
|
11
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -49,6 +49,7 @@ export * from "./BillingProductPriceInterval";
|
|
|
49
49
|
export * from "./BillingProductPriceResponseData";
|
|
50
50
|
export * from "./BillingProductPriceTierResponseData";
|
|
51
51
|
export * from "./BillingProductPricing";
|
|
52
|
+
export * from "./BillingProductRecordResponseData";
|
|
52
53
|
export * from "./BillingProductResponseData";
|
|
53
54
|
export * from "./BillingProviderType";
|
|
54
55
|
export * from "./BillingStrategy";
|
|
@@ -98,6 +99,8 @@ export * from "./CompanyCreditBalanceResponseData";
|
|
|
98
99
|
export * from "./CompanyDetailResponseData";
|
|
99
100
|
export * from "./CompanyEventPeriodMetricsResponseData";
|
|
100
101
|
export * from "./CompanyFeatureUsageExportMetadata";
|
|
102
|
+
export * from "./CompanyFeatureUsageExportMetadataSortOrderDirection";
|
|
103
|
+
export * from "./CompanyFeatureUsageExportMetadataVisibleColumnsItem";
|
|
101
104
|
export * from "./CompanyLedgerResponseData";
|
|
102
105
|
export * from "./CompanyMatchingCriteria";
|
|
103
106
|
export * from "./CompanyMembershipDetailResponseData";
|
|
@@ -110,6 +113,7 @@ export * from "./CompanyPlanInvalidReason";
|
|
|
110
113
|
export * from "./CompanyPlanWithBillingSubView";
|
|
111
114
|
export * from "./CompanyResponseData";
|
|
112
115
|
export * from "./CompanySubscriptionResponseData";
|
|
116
|
+
export * from "./CompanyTaxIdView";
|
|
113
117
|
export * from "./ComparableOperator";
|
|
114
118
|
export * from "./CompatiblePlans";
|
|
115
119
|
export * from "./CompatiblePlansResponseData";
|
|
@@ -217,6 +221,8 @@ export * from "./EventBodyIdentifyCompany";
|
|
|
217
221
|
export * from "./EventBodyInference";
|
|
218
222
|
export * from "./EventBodyTrack";
|
|
219
223
|
export * from "./EventDetailResponseData";
|
|
224
|
+
export * from "./EventExportMetadata";
|
|
225
|
+
export * from "./EventExportMetadataEventTypesItem";
|
|
220
226
|
export * from "./EventResponseData";
|
|
221
227
|
export * from "./EventStatus";
|
|
222
228
|
export * from "./EventSummaryResponseData";
|
|
@@ -284,6 +290,7 @@ export * from "./PlanChangeAction";
|
|
|
284
290
|
export * from "./PlanChangeBasePlanAction";
|
|
285
291
|
export * from "./PlanChangeResponseData";
|
|
286
292
|
export * from "./PlanChangeSubscriptionAction";
|
|
293
|
+
export * from "./PlanCreditGrantScaling";
|
|
287
294
|
export * from "./PlanCreditGrantView";
|
|
288
295
|
export * from "./PlanCurrencyPriceRequestBody";
|
|
289
296
|
export * from "./PlanCurrencyPricesResponseData";
|
|
@@ -372,6 +379,8 @@ export * from "./StripeIntegrationConfig";
|
|
|
372
379
|
export * from "./SubscriptionStatus";
|
|
373
380
|
export * from "./SubscriptionTraitUpdate";
|
|
374
381
|
export * from "./SubscriptionType";
|
|
382
|
+
export * from "./TaxIdInput";
|
|
383
|
+
export * from "./TaxIdType";
|
|
375
384
|
export * from "./TemporaryAccessTokenResourceType";
|
|
376
385
|
export * from "./TemporaryAccessTokenResponseData";
|
|
377
386
|
export * from "./TestWebhookResponseData";
|
|
@@ -399,8 +408,14 @@ export * from "./UpsertUserSubRequestBody";
|
|
|
399
408
|
export * from "./UsageBasedEntitlementRequestBody";
|
|
400
409
|
export * from "./UsageBasedEntitlementResponseData";
|
|
401
410
|
export * from "./UsageTimeSeriesPointResponseData";
|
|
411
|
+
export * from "./UserCreditUsageResponseData";
|
|
412
|
+
export * from "./UserDailyCreditPointResponseData";
|
|
413
|
+
export * from "./UserDailyUsagePointResponseData";
|
|
402
414
|
export * from "./UserDetailResponseData";
|
|
415
|
+
export * from "./UserFeatureUsageResponseData";
|
|
403
416
|
export * from "./UserResponseData";
|
|
417
|
+
export * from "./UserUsageByCompanyResponseData";
|
|
418
|
+
export * from "./UserUsageDetailResponseData";
|
|
404
419
|
export * from "./WarningTier";
|
|
405
420
|
export * from "./WarningTierRequestBody";
|
|
406
421
|
export * from "./WarningTierResponseData";
|