@schematichq/schematic-typescript-node 1.5.4 → 1.5.5

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.
Files changed (132) hide show
  1. package/dist/Client.d.ts +3 -0
  2. package/dist/api/resources/catalogs/client/Client.d.ts +232 -0
  3. package/dist/api/resources/catalogs/client/index.d.ts +1 -0
  4. package/dist/api/resources/catalogs/client/requests/CreateCatalogRequestBody.d.ts +12 -0
  5. package/dist/api/resources/catalogs/client/requests/ListCatalogsRequest.d.ts +18 -0
  6. package/dist/api/resources/catalogs/client/requests/UpdateCatalogConfigurationRequestBody.d.ts +16 -0
  7. package/dist/api/resources/catalogs/client/requests/UpdateCatalogRequestBody.d.ts +9 -0
  8. package/dist/api/resources/catalogs/client/requests/index.d.ts +4 -0
  9. package/dist/api/resources/catalogs/exports.d.ts +2 -0
  10. package/dist/api/resources/catalogs/index.d.ts +2 -0
  11. package/dist/api/resources/catalogs/types/CreateCatalogResponse.d.ts +6 -0
  12. package/dist/api/resources/catalogs/types/DeleteCatalogResponse.d.ts +6 -0
  13. package/dist/api/resources/catalogs/types/GetCatalogResponse.d.ts +6 -0
  14. package/dist/api/resources/catalogs/types/GetConfigurationResponse.d.ts +6 -0
  15. package/dist/api/resources/catalogs/types/GetCreditBundlesInCatalogResponse.d.ts +6 -0
  16. package/dist/api/resources/catalogs/types/GetDerivedFeaturesResponse.d.ts +6 -0
  17. package/dist/api/resources/catalogs/types/GetPlansInCatalogResponse.d.ts +6 -0
  18. package/dist/api/resources/catalogs/types/ListCatalogsParams.d.ts +12 -0
  19. package/dist/api/resources/catalogs/types/ListCatalogsResponse.d.ts +6 -0
  20. package/dist/api/resources/catalogs/types/UpdateCatalogResponse.d.ts +6 -0
  21. package/dist/api/resources/catalogs/types/UpdateConfigurationResponse.d.ts +6 -0
  22. package/dist/api/resources/catalogs/types/index.d.ts +11 -0
  23. package/dist/api/resources/components/client/Client.d.ts +16 -0
  24. package/dist/api/resources/components/client/requests/BindCatalogRequestBody.d.ts +7 -0
  25. package/dist/api/resources/components/client/requests/index.d.ts +1 -0
  26. package/dist/api/resources/components/types/BindCatalogResponse.d.ts +6 -0
  27. package/dist/api/resources/components/types/index.d.ts +1 -0
  28. package/dist/api/resources/dataexports/client/Client.d.ts +36 -1
  29. package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +6 -2
  30. package/dist/api/resources/dataexports/client/requests/ListDataExportsRequest.d.ts +18 -0
  31. package/dist/api/resources/dataexports/client/requests/index.d.ts +1 -0
  32. package/dist/api/resources/dataexports/types/GetDataExportResponse.d.ts +6 -0
  33. package/dist/api/resources/dataexports/types/ListDataExportsParams.d.ts +12 -0
  34. package/dist/api/resources/dataexports/types/ListDataExportsResponse.d.ts +6 -0
  35. package/dist/api/resources/dataexports/types/index.d.ts +3 -0
  36. package/dist/api/resources/index.d.ts +3 -0
  37. package/dist/api/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +1 -0
  38. package/dist/api/types/AuditLogExportMetadata.d.ts +12 -0
  39. package/dist/api/types/CatalogConfigOrderedBundle.d.ts +3 -0
  40. package/dist/api/types/CatalogConfigOrderedBundleResponseData.d.ts +3 -0
  41. package/dist/api/types/CatalogConfigOrderedEntitlement.d.ts +4 -0
  42. package/dist/api/types/CatalogConfigOrderedEntitlementResponseData.d.ts +4 -0
  43. package/dist/api/types/CatalogConfigOrderedPlan.d.ts +5 -0
  44. package/dist/api/types/CatalogConfigOrderedPlanResponseData.d.ts +5 -0
  45. package/dist/api/types/CatalogConfigurationResponseData.d.ts +14 -0
  46. package/dist/api/types/CatalogCreditBundleIDsResponseData.d.ts +3 -0
  47. package/dist/api/types/CatalogDerivedFeatureResponseData.d.ts +5 -0
  48. package/dist/api/types/CatalogDerivedFeaturesResponseData.d.ts +4 -0
  49. package/dist/api/types/CatalogPlanIDsResponseData.d.ts +3 -0
  50. package/dist/api/types/CatalogResponseData.d.ts +16 -0
  51. package/dist/api/types/CompanyFeatureUsageExportMetadata.d.ts +36 -0
  52. package/dist/api/types/CompanyPlanDetailResponseData.d.ts +1 -0
  53. package/dist/api/types/ComponentResponseData.d.ts +1 -0
  54. package/dist/api/types/DataExportMetadata.d.ts +10 -0
  55. package/dist/api/types/DataExportOutputFileType.d.ts +5 -1
  56. package/dist/api/types/DataExportResponseData.d.ts +1 -1
  57. package/dist/api/types/DataExportType.d.ts +5 -1
  58. package/dist/api/types/FeatureEntitlement.d.ts +2 -0
  59. package/dist/api/types/PlanCatalogMembershipResponseData.d.ts +4 -0
  60. package/dist/api/types/PlanDetailResponseData.d.ts +1 -0
  61. package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +1 -0
  62. package/dist/api/types/PlanViewPublicResponseData.d.ts +1 -0
  63. package/dist/api/types/PreviewSubscriptionDiscountResponseData.d.ts +13 -0
  64. package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +2 -0
  65. package/dist/api/types/RulesengineFeatureEntitlement.d.ts +2 -0
  66. package/dist/api/types/RulesengineWarningTier.d.ts +6 -0
  67. package/dist/api/types/UpsertCompanyRequestBody.d.ts +4 -0
  68. package/dist/api/types/WarningTier.d.ts +6 -0
  69. package/dist/api/types/index.d.ts +19 -0
  70. package/dist/index.js +9 -9
  71. package/dist/serialization/resources/catalogs/client/index.d.ts +1 -0
  72. package/dist/serialization/resources/catalogs/client/requests/CreateCatalogRequestBody.d.ts +11 -0
  73. package/dist/serialization/resources/catalogs/client/requests/UpdateCatalogConfigurationRequestBody.d.ts +19 -0
  74. package/dist/serialization/resources/catalogs/client/requests/UpdateCatalogRequestBody.d.ts +11 -0
  75. package/dist/serialization/resources/catalogs/client/requests/index.d.ts +3 -0
  76. package/dist/serialization/resources/catalogs/index.d.ts +2 -0
  77. package/dist/serialization/resources/catalogs/types/CreateCatalogResponse.d.ts +11 -0
  78. package/dist/serialization/resources/catalogs/types/DeleteCatalogResponse.d.ts +11 -0
  79. package/dist/serialization/resources/catalogs/types/GetCatalogResponse.d.ts +11 -0
  80. package/dist/serialization/resources/catalogs/types/GetConfigurationResponse.d.ts +11 -0
  81. package/dist/serialization/resources/catalogs/types/GetCreditBundlesInCatalogResponse.d.ts +11 -0
  82. package/dist/serialization/resources/catalogs/types/GetDerivedFeaturesResponse.d.ts +11 -0
  83. package/dist/serialization/resources/catalogs/types/GetPlansInCatalogResponse.d.ts +11 -0
  84. package/dist/serialization/resources/catalogs/types/ListCatalogsParams.d.ts +12 -0
  85. package/dist/serialization/resources/catalogs/types/ListCatalogsResponse.d.ts +12 -0
  86. package/dist/serialization/resources/catalogs/types/UpdateCatalogResponse.d.ts +11 -0
  87. package/dist/serialization/resources/catalogs/types/UpdateConfigurationResponse.d.ts +11 -0
  88. package/dist/serialization/resources/catalogs/types/index.d.ts +11 -0
  89. package/dist/serialization/resources/components/client/requests/BindCatalogRequestBody.d.ts +9 -0
  90. package/dist/serialization/resources/components/client/requests/index.d.ts +1 -0
  91. package/dist/serialization/resources/components/types/BindCatalogResponse.d.ts +11 -0
  92. package/dist/serialization/resources/components/types/index.d.ts +1 -0
  93. package/dist/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +6 -1
  94. package/dist/serialization/resources/dataexports/types/GetDataExportResponse.d.ts +11 -0
  95. package/dist/serialization/resources/dataexports/types/ListDataExportsParams.d.ts +14 -0
  96. package/dist/serialization/resources/dataexports/types/ListDataExportsResponse.d.ts +12 -0
  97. package/dist/serialization/resources/dataexports/types/index.d.ts +3 -0
  98. package/dist/serialization/resources/index.d.ts +3 -0
  99. package/dist/serialization/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +2 -0
  100. package/dist/serialization/types/AuditLogExportMetadata.d.ts +13 -0
  101. package/dist/serialization/types/CatalogConfigOrderedBundle.d.ts +9 -0
  102. package/dist/serialization/types/CatalogConfigOrderedBundleResponseData.d.ts +9 -0
  103. package/dist/serialization/types/CatalogConfigOrderedEntitlement.d.ts +10 -0
  104. package/dist/serialization/types/CatalogConfigOrderedEntitlementResponseData.d.ts +10 -0
  105. package/dist/serialization/types/CatalogConfigOrderedPlan.d.ts +11 -0
  106. package/dist/serialization/types/CatalogConfigOrderedPlanResponseData.d.ts +11 -0
  107. package/dist/serialization/types/CatalogConfigurationResponseData.d.ts +22 -0
  108. package/dist/serialization/types/CatalogCreditBundleIDsResponseData.d.ts +9 -0
  109. package/dist/serialization/types/CatalogDerivedFeatureResponseData.d.ts +11 -0
  110. package/dist/serialization/types/CatalogDerivedFeaturesResponseData.d.ts +10 -0
  111. package/dist/serialization/types/CatalogPlanIDsResponseData.d.ts +9 -0
  112. package/dist/serialization/types/CatalogResponseData.d.ts +22 -0
  113. package/dist/serialization/types/CompanyFeatureUsageExportMetadata.d.ts +25 -0
  114. package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +2 -0
  115. package/dist/serialization/types/ComponentResponseData.d.ts +1 -0
  116. package/dist/serialization/types/DataExportMetadata.d.ts +15 -0
  117. package/dist/serialization/types/DataExportOutputFileType.d.ts +1 -1
  118. package/dist/serialization/types/DataExportResponseData.d.ts +2 -1
  119. package/dist/serialization/types/DataExportType.d.ts +1 -1
  120. package/dist/serialization/types/FeatureEntitlement.d.ts +2 -0
  121. package/dist/serialization/types/PlanCatalogMembershipResponseData.d.ts +10 -0
  122. package/dist/serialization/types/PlanDetailResponseData.d.ts +2 -0
  123. package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +2 -0
  124. package/dist/serialization/types/PlanViewPublicResponseData.d.ts +2 -0
  125. package/dist/serialization/types/PreviewSubscriptionDiscountResponseData.d.ts +19 -0
  126. package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +3 -0
  127. package/dist/serialization/types/RulesengineFeatureEntitlement.d.ts +2 -0
  128. package/dist/serialization/types/RulesengineWarningTier.d.ts +10 -0
  129. package/dist/serialization/types/UpsertCompanyRequestBody.d.ts +2 -0
  130. package/dist/serialization/types/WarningTier.d.ts +10 -0
  131. package/dist/serialization/types/index.d.ts +19 -0
  132. package/package.json +1 -1
@@ -0,0 +1,12 @@
1
+ export interface AuditLogExportMetadata {
2
+ /** Restrict the export to audit log entries from this actor type */
3
+ actorType?: string;
4
+ /** Restrict the export to audit log entries that started before this time */
5
+ endTime?: Date;
6
+ /** Account member emails to notify when the export completes; empty means the artifact is only retrievable via the API */
7
+ notificationEmailRecipientEmailAddresses?: string[];
8
+ /** Free-text search over audit log entries */
9
+ q?: string;
10
+ /** Restrict the export to audit log entries that started at or after this time */
11
+ startTime?: Date;
12
+ }
@@ -0,0 +1,3 @@
1
+ export interface CatalogConfigOrderedBundle {
2
+ bundleId: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ export interface CatalogConfigOrderedBundleResponseData {
2
+ bundleId: string;
3
+ }
@@ -0,0 +1,4 @@
1
+ export interface CatalogConfigOrderedEntitlement {
2
+ planEntitlementId: string;
3
+ visible?: boolean;
4
+ }
@@ -0,0 +1,4 @@
1
+ export interface CatalogConfigOrderedEntitlementResponseData {
2
+ planEntitlementId: string;
3
+ visible: boolean;
4
+ }
@@ -0,0 +1,5 @@
1
+ import type * as Schematic from "../index";
2
+ export interface CatalogConfigOrderedPlan {
3
+ entitlements?: Schematic.CatalogConfigOrderedEntitlement[];
4
+ planId: string;
5
+ }
@@ -0,0 +1,5 @@
1
+ import type * as Schematic from "../index";
2
+ export interface CatalogConfigOrderedPlanResponseData {
3
+ entitlements: Schematic.CatalogConfigOrderedEntitlementResponseData[];
4
+ planId: string;
5
+ }
@@ -0,0 +1,14 @@
1
+ import type * as Schematic from "../index";
2
+ export interface CatalogConfigurationResponseData {
3
+ addOns: Schematic.PlanGroupPlanDetailResponseData[];
4
+ customPlanCtaText?: string;
5
+ customPlanCtaUrl?: string;
6
+ customPlanPriceText?: string;
7
+ customPlansVisible: boolean;
8
+ orderedAddOns: Schematic.CatalogConfigOrderedPlanResponseData[];
9
+ orderedBundles: Schematic.CatalogConfigOrderedBundleResponseData[];
10
+ orderedPlans: Schematic.CatalogConfigOrderedPlanResponseData[];
11
+ plans: Schematic.PlanGroupPlanDetailResponseData[];
12
+ pricingModel?: string;
13
+ pricingUrl?: string;
14
+ }
@@ -0,0 +1,3 @@
1
+ export interface CatalogCreditBundleIDsResponseData {
2
+ creditBundleIds: string[];
3
+ }
@@ -0,0 +1,5 @@
1
+ export interface CatalogDerivedFeatureResponseData {
2
+ icon: string;
3
+ id: string;
4
+ name: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ import type * as Schematic from "../index";
2
+ export interface CatalogDerivedFeaturesResponseData {
3
+ features: Schematic.CatalogDerivedFeatureResponseData[];
4
+ }
@@ -0,0 +1,3 @@
1
+ export interface CatalogPlanIDsResponseData {
2
+ planIds: string[];
3
+ }
@@ -0,0 +1,16 @@
1
+ export interface CatalogResponseData {
2
+ accountId: string;
3
+ createdAt: Date;
4
+ customPlanCtaText?: string;
5
+ customPlanCtaUrl?: string;
6
+ customPlanPriceText?: string;
7
+ customPlansVisible: boolean;
8
+ description?: string;
9
+ environmentId: string;
10
+ id: string;
11
+ isDefault: boolean;
12
+ name: string;
13
+ pricingModel?: string;
14
+ pricingUrl?: string;
15
+ updatedAt: Date;
16
+ }
@@ -0,0 +1,36 @@
1
+ export interface CompanyFeatureUsageExportMetadata {
2
+ /** Restrict the export to these Schematic company IDs (starting with 'comp_') */
3
+ companyIds?: string[];
4
+ /** Restrict the export to companies with these billing credit type IDs */
5
+ creditTypeIds?: string[];
6
+ /** Schematic feature IDs (starting with 'feat_') to include as usage columns; at least one is required */
7
+ featureIds: string[];
8
+ /** Restrict the export to companies that do (or do not) have a scheduled downgrade */
9
+ hasScheduledDowngrade?: boolean;
10
+ /** Restrict the export to companies with (or without) a monetized subscription */
11
+ monetizedSubscriptions?: boolean;
12
+ /** Account member emails to notify when the export completes; empty means the artifact is only retrievable via the API */
13
+ notificationEmailRecipientEmailAddresses?: string[];
14
+ /** Restrict the export to companies on this plan ID (starting with 'plan_') */
15
+ planId?: string;
16
+ /** Restrict the export to companies on any of these plan IDs */
17
+ planIds?: string[];
18
+ /** Restrict the export to companies on this plan version ID */
19
+ planVersionId?: string;
20
+ /** Free-text search over company name and keys */
21
+ q?: string;
22
+ /** Restrict the export to companies whose subscription has one of these statuses */
23
+ subscriptionStatuses?: string[];
24
+ /** Restrict the export to companies whose subscription has one of these types */
25
+ subscriptionTypes?: string[];
26
+ /** Restrict the export to companies that have an entitlement for this feature ID */
27
+ withEntitlementFor?: string;
28
+ /** Restrict the export to companies with a subscription */
29
+ withSubscription?: boolean;
30
+ /** Restrict the export to companies without a company-level override for this feature ID */
31
+ withoutFeatureOverrideFor?: string;
32
+ /** Restrict the export to companies without a plan */
33
+ withoutPlan?: boolean;
34
+ /** Restrict the export to companies without a subscription */
35
+ withoutSubscription?: boolean;
36
+ }
@@ -6,6 +6,7 @@ export interface CompanyPlanDetailResponseData {
6
6
  billingLinkedResource?: Schematic.BillingLinkedResourceResponseData;
7
7
  billingProduct?: Schematic.BillingProductDetailResponseData;
8
8
  billingStrategy: Schematic.BillingStrategy;
9
+ catalogs?: Schematic.PlanCatalogMembershipResponseData[];
9
10
  chargeType: Schematic.ChargeType;
10
11
  companyCanTrial: boolean;
11
12
  companyCount: number;
@@ -1,6 +1,7 @@
1
1
  import type * as Schematic from "../index";
2
2
  export interface ComponentResponseData {
3
3
  ast?: Record<string, number>;
4
+ catalogId?: string;
4
5
  createdAt: Date;
5
6
  id: string;
6
7
  name: string;
@@ -0,0 +1,10 @@
1
+ import type * as Schematic from "../index";
2
+ export type DataExportMetadata = Schematic.DataExportMetadata.AuditLog | Schematic.DataExportMetadata.CompanyFeatureUsage;
3
+ export declare namespace DataExportMetadata {
4
+ interface AuditLog extends Schematic.AuditLogExportMetadata {
5
+ exportType: "audit-log";
6
+ }
7
+ interface CompanyFeatureUsage extends Schematic.CompanyFeatureUsageExportMetadata {
8
+ exportType: "company-feature-usage";
9
+ }
10
+ }
@@ -1 +1,5 @@
1
- export type DataExportOutputFileType = "csv";
1
+ export declare const DataExportOutputFileType: {
2
+ readonly Csv: "csv";
3
+ readonly CsvGz: "csv.gz";
4
+ };
5
+ export type DataExportOutputFileType = (typeof DataExportOutputFileType)[keyof typeof DataExportOutputFileType];
@@ -5,7 +5,7 @@ export interface DataExportResponseData {
5
5
  environmentId: string;
6
6
  exportType: Schematic.DataExportType;
7
7
  id: string;
8
- metadata: string;
8
+ metadata?: Schematic.DataExportMetadata;
9
9
  outputFileType: Schematic.DataExportOutputFileType;
10
10
  status: Schematic.DataExportStatus;
11
11
  updatedAt: Date;
@@ -1 +1,5 @@
1
- export type DataExportType = "company-feature-usage";
1
+ export declare const DataExportType: {
2
+ readonly AuditLog: "audit-log";
3
+ readonly CompanyFeatureUsage: "company-feature-usage";
4
+ };
5
+ export type DataExportType = (typeof DataExportType)[keyof typeof DataExportType];
@@ -36,4 +36,6 @@ export interface FeatureEntitlement {
36
36
  usage?: number;
37
37
  /** The type of the entitlement value */
38
38
  valueType: Schematic.EntitlementValueType;
39
+ /** Customer-defined usage warning thresholds configured on this entitlement */
40
+ warningTiers?: Schematic.WarningTier[];
39
41
  }
@@ -0,0 +1,4 @@
1
+ export interface PlanCatalogMembershipResponseData {
2
+ id: string;
3
+ name: string;
4
+ }
@@ -5,6 +5,7 @@ export interface PlanDetailResponseData {
5
5
  billingLinkedResource?: Schematic.BillingLinkedResourceResponseData;
6
6
  billingProduct?: Schematic.BillingProductDetailResponseData;
7
7
  billingStrategy: Schematic.BillingStrategy;
8
+ catalogs?: Schematic.PlanCatalogMembershipResponseData[];
8
9
  chargeType: Schematic.ChargeType;
9
10
  companyCount: number;
10
11
  companyId?: string;
@@ -6,6 +6,7 @@ export interface PlanGroupPlanDetailResponseData {
6
6
  billingLinkedResource?: Schematic.BillingLinkedResourceResponseData;
7
7
  billingProduct?: Schematic.BillingProductDetailResponseData;
8
8
  billingStrategy: Schematic.BillingStrategy;
9
+ catalogs?: Schematic.PlanCatalogMembershipResponseData[];
9
10
  chargeType: Schematic.ChargeType;
10
11
  companyCount: number;
11
12
  companyId?: string;
@@ -6,6 +6,7 @@ export interface PlanViewPublicResponseData {
6
6
  billingLinkedResource?: Schematic.BillingLinkedResourceResponseData;
7
7
  billingProduct?: Schematic.BillingProductDetailResponseData;
8
8
  billingStrategy: Schematic.BillingStrategy;
9
+ catalogs?: Schematic.PlanCatalogMembershipResponseData[];
9
10
  chargeType: Schematic.ChargeType;
10
11
  companyCount: number;
11
12
  companyId?: string;
@@ -0,0 +1,13 @@
1
+ export interface PreviewSubscriptionDiscountResponseData {
2
+ amountOff?: number;
3
+ couponName: string;
4
+ currency?: string;
5
+ customerFacingCode?: string;
6
+ duration: string;
7
+ durationInMonths?: number;
8
+ endedAt?: Date;
9
+ isActive: boolean;
10
+ percentOff?: number;
11
+ promoCodeExternalId?: string;
12
+ startedAt: Date;
13
+ }
@@ -1,9 +1,11 @@
1
1
  import type * as Schematic from "../index";
2
2
  export interface PreviewSubscriptionFinanceResponseData {
3
3
  amountOff: number;
4
+ discounts: Schematic.PreviewSubscriptionDiscountResponseData[];
4
5
  dueNow: number;
5
6
  newCharges: number;
6
7
  percentOff: number;
8
+ periodEnd: Date;
7
9
  periodStart: Date;
8
10
  promoCodeApplied: boolean;
9
11
  proration: number;
@@ -36,4 +36,6 @@ export interface RulesengineFeatureEntitlement {
36
36
  usage?: number;
37
37
  /** The type of the entitlement value */
38
38
  valueType: Schematic.RulesengineEntitlementValueType;
39
+ /** Customer-defined usage warning thresholds configured on this entitlement */
40
+ warningTiers?: Schematic.RulesengineWarningTier[];
39
41
  }
@@ -0,0 +1,6 @@
1
+ export interface RulesengineWarningTier {
2
+ /** A customer-defined identifier for the warning tier */
3
+ key: string;
4
+ /** The warning threshold, in the entitlement's usage units */
5
+ value: number;
6
+ }
@@ -1,4 +1,8 @@
1
1
  export interface UpsertCompanyRequestBody {
2
+ /** Assign this base plan when creating the company (starts with plan_). Takes precedence over the environment's initial plan and must be provisionable without a payment method. */
3
+ basePlanId?: string;
4
+ /** The Schematic price to provision for base_plan_id (starts with bilpp_). Required and must be $0 for a billing-linked plan; omit for a plan that is not billing-linked. */
5
+ basePlanPriceId?: string;
2
6
  /** If you know the Schematic ID, you can use that here instead of keys */
3
7
  id?: string;
4
8
  /** See [Key Management](https://docs.schematichq.com/developer_resources/key_management) for more information */
@@ -0,0 +1,6 @@
1
+ export interface WarningTier {
2
+ /** A customer-defined identifier for the warning tier */
3
+ key: string;
4
+ /** The warning threshold, in the entitlement's usage units */
5
+ value: number;
6
+ }
@@ -9,6 +9,7 @@ export * from "./ApiKeyCreateResponseData";
9
9
  export * from "./ApiKeyIntegrationResponseData";
10
10
  export * from "./ApiKeyResponseData";
11
11
  export * from "./ApiKeyScope";
12
+ export * from "./AuditLogExportMetadata";
12
13
  export * from "./AuditLogListResponseData";
13
14
  export * from "./AuditLogResponseData";
14
15
  export * from "./BillingCouponResponseData";
@@ -59,6 +60,18 @@ export * from "./BillingSubscriptionView";
59
60
  export * from "./BillingTiersMode";
60
61
  export * from "./CaptureRawEvent";
61
62
  export * from "./CaptureRawEventBatch";
63
+ export * from "./CatalogConfigOrderedBundle";
64
+ export * from "./CatalogConfigOrderedBundleResponseData";
65
+ export * from "./CatalogConfigOrderedEntitlement";
66
+ export * from "./CatalogConfigOrderedEntitlementResponseData";
67
+ export * from "./CatalogConfigOrderedPlan";
68
+ export * from "./CatalogConfigOrderedPlanResponseData";
69
+ export * from "./CatalogConfigurationResponseData";
70
+ export * from "./CatalogCreditBundleIDsResponseData";
71
+ export * from "./CatalogDerivedFeatureResponseData";
72
+ export * from "./CatalogDerivedFeaturesResponseData";
73
+ export * from "./CatalogPlanIDsResponseData";
74
+ export * from "./CatalogResponseData";
62
75
  export * from "./ChangeSubscriptionInternalRequestBody";
63
76
  export * from "./ChangeSubscriptionRequestBody";
64
77
  export * from "./ChargeType";
@@ -80,6 +93,7 @@ export * from "./CompanyCreditBalance";
80
93
  export * from "./CompanyCreditBalanceResponseData";
81
94
  export * from "./CompanyDetailResponseData";
82
95
  export * from "./CompanyEventPeriodMetricsResponseData";
96
+ export * from "./CompanyFeatureUsageExportMetadata";
83
97
  export * from "./CompanyLedgerResponseData";
84
98
  export * from "./CompanyMatchingCriteria";
85
99
  export * from "./CompanyMembershipDetailResponseData";
@@ -158,6 +172,7 @@ export * from "./CustomPlanBillingStatus";
158
172
  export * from "./CustomPlanConfig";
159
173
  export * from "./CustomPlanViewConfigResponseData";
160
174
  export * from "./DataEventPayload";
175
+ export * from "./DataExportMetadata";
161
176
  export * from "./DataExportOutputFileType";
162
177
  export * from "./DataExportResponseData";
163
178
  export * from "./DataExportStatus";
@@ -254,6 +269,7 @@ export * from "./PlanBundleAction";
254
269
  export * from "./PlanBundleCreditGrantRequestBody";
255
270
  export * from "./PlanBundleEntitlementRequestBody";
256
271
  export * from "./PlanBundleResponseData";
272
+ export * from "./PlanCatalogMembershipResponseData";
257
273
  export * from "./PlanChangeAction";
258
274
  export * from "./PlanChangeBasePlanAction";
259
275
  export * from "./PlanChangeResponseData";
@@ -291,6 +307,7 @@ export * from "./PlanViewPublicResponseData";
291
307
  export * from "./PreviewObject";
292
308
  export * from "./PreviewObjectResponseData";
293
309
  export * from "./PreviewSubscriptionChangeResponseData";
310
+ export * from "./PreviewSubscriptionDiscountResponseData";
294
311
  export * from "./PreviewSubscriptionFinanceResponseData";
295
312
  export * from "./PreviewSubscriptionUpcomingInvoiceLineItems";
296
313
  export * from "./ProrationBehavior";
@@ -327,6 +344,7 @@ export * from "./RulesengineTrait";
327
344
  export * from "./RulesengineTraitDefinition";
328
345
  export * from "./RulesengineTraitDefinitionComparableType";
329
346
  export * from "./RulesengineUser";
347
+ export * from "./RulesengineWarningTier";
330
348
  export * from "./RuleType";
331
349
  export * from "./RuleView";
332
350
  export * from "./ScheduledCheckoutResponseData";
@@ -371,6 +389,7 @@ export * from "./UsageBasedEntitlementResponseData";
371
389
  export * from "./UsageTimeSeriesPointResponseData";
372
390
  export * from "./UserDetailResponseData";
373
391
  export * from "./UserResponseData";
392
+ export * from "./WarningTier";
374
393
  export * from "./WarningTierRequestBody";
375
394
  export * from "./WarningTierResponseData";
376
395
  export * from "./WebFeatureUsageWebhookOutput";