@schematichq/schematic-typescript-node 1.5.3 → 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 (212) hide show
  1. package/dist/Client.d.ts +3 -0
  2. package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +1 -0
  3. package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +2 -0
  4. package/dist/api/resources/catalogs/client/Client.d.ts +232 -0
  5. package/dist/api/resources/catalogs/client/index.d.ts +1 -0
  6. package/dist/api/resources/catalogs/client/requests/CreateCatalogRequestBody.d.ts +12 -0
  7. package/dist/api/resources/catalogs/client/requests/ListCatalogsRequest.d.ts +18 -0
  8. package/dist/api/resources/catalogs/client/requests/UpdateCatalogConfigurationRequestBody.d.ts +16 -0
  9. package/dist/api/resources/catalogs/client/requests/UpdateCatalogRequestBody.d.ts +9 -0
  10. package/dist/api/resources/catalogs/client/requests/index.d.ts +4 -0
  11. package/dist/api/resources/catalogs/exports.d.ts +2 -0
  12. package/dist/api/resources/catalogs/index.d.ts +2 -0
  13. package/dist/api/resources/catalogs/types/CreateCatalogResponse.d.ts +6 -0
  14. package/dist/api/resources/catalogs/types/DeleteCatalogResponse.d.ts +6 -0
  15. package/dist/api/resources/catalogs/types/GetCatalogResponse.d.ts +6 -0
  16. package/dist/api/resources/catalogs/types/GetConfigurationResponse.d.ts +6 -0
  17. package/dist/api/resources/catalogs/types/GetCreditBundlesInCatalogResponse.d.ts +6 -0
  18. package/dist/api/resources/catalogs/types/GetDerivedFeaturesResponse.d.ts +6 -0
  19. package/dist/api/resources/catalogs/types/GetPlansInCatalogResponse.d.ts +6 -0
  20. package/dist/api/resources/catalogs/types/ListCatalogsParams.d.ts +12 -0
  21. package/dist/api/resources/catalogs/types/ListCatalogsResponse.d.ts +6 -0
  22. package/dist/api/resources/catalogs/types/UpdateCatalogResponse.d.ts +6 -0
  23. package/dist/api/resources/catalogs/types/UpdateConfigurationResponse.d.ts +6 -0
  24. package/dist/api/resources/catalogs/types/index.d.ts +11 -0
  25. package/dist/api/resources/companies/client/Client.d.ts +34 -0
  26. package/dist/api/resources/companies/client/requests/GetBillingEntityChildSubscriptionsRequest.d.ts +9 -0
  27. package/dist/api/resources/companies/client/requests/GetCompanyBillingEntityRequest.d.ts +9 -0
  28. package/dist/api/resources/companies/client/requests/index.d.ts +2 -0
  29. package/dist/api/resources/companies/types/GetBillingEntityChildSubscriptionsParams.d.ts +6 -0
  30. package/dist/api/resources/companies/types/GetBillingEntityChildSubscriptionsResponse.d.ts +6 -0
  31. package/dist/api/resources/companies/types/GetCompanyBillingEntityParams.d.ts +6 -0
  32. package/dist/api/resources/companies/types/GetCompanyBillingEntityResponse.d.ts +6 -0
  33. package/dist/api/resources/companies/types/index.d.ts +4 -0
  34. package/dist/api/resources/components/client/Client.d.ts +16 -0
  35. package/dist/api/resources/components/client/requests/BindCatalogRequestBody.d.ts +7 -0
  36. package/dist/api/resources/components/client/requests/index.d.ts +1 -0
  37. package/dist/api/resources/components/types/BindCatalogResponse.d.ts +6 -0
  38. package/dist/api/resources/components/types/index.d.ts +1 -0
  39. package/dist/api/resources/dataexports/client/Client.d.ts +36 -1
  40. package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +6 -2
  41. package/dist/api/resources/dataexports/client/requests/ListDataExportsRequest.d.ts +18 -0
  42. package/dist/api/resources/dataexports/client/requests/index.d.ts +1 -0
  43. package/dist/api/resources/dataexports/types/GetDataExportResponse.d.ts +6 -0
  44. package/dist/api/resources/dataexports/types/ListDataExportsParams.d.ts +12 -0
  45. package/dist/api/resources/dataexports/types/ListDataExportsResponse.d.ts +6 -0
  46. package/dist/api/resources/dataexports/types/index.d.ts +3 -0
  47. package/dist/api/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +1 -0
  48. package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +1 -0
  49. package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +1 -0
  50. package/dist/api/resources/index.d.ts +3 -0
  51. package/dist/api/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +1 -0
  52. package/dist/api/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +0 -1
  53. package/dist/api/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +0 -1
  54. package/dist/api/types/AccountMemberPermission.d.ts +1 -0
  55. package/dist/api/types/AuditLogExportMetadata.d.ts +12 -0
  56. package/dist/api/types/BillingCreditAutoTopupAvailability.d.ts +6 -0
  57. package/dist/api/types/BillingCreditGrantZeroedOutReason.d.ts +2 -0
  58. package/dist/api/types/BillingPlanCreditGrantResetCadence.d.ts +2 -0
  59. package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +5 -0
  60. package/dist/api/types/CatalogConfigOrderedBundle.d.ts +3 -0
  61. package/dist/api/types/CatalogConfigOrderedBundleResponseData.d.ts +3 -0
  62. package/dist/api/types/CatalogConfigOrderedEntitlement.d.ts +4 -0
  63. package/dist/api/types/CatalogConfigOrderedEntitlementResponseData.d.ts +4 -0
  64. package/dist/api/types/CatalogConfigOrderedPlan.d.ts +5 -0
  65. package/dist/api/types/CatalogConfigOrderedPlanResponseData.d.ts +5 -0
  66. package/dist/api/types/CatalogConfigurationResponseData.d.ts +14 -0
  67. package/dist/api/types/CatalogCreditBundleIDsResponseData.d.ts +3 -0
  68. package/dist/api/types/CatalogDerivedFeatureResponseData.d.ts +5 -0
  69. package/dist/api/types/CatalogDerivedFeaturesResponseData.d.ts +4 -0
  70. package/dist/api/types/CatalogPlanIDsResponseData.d.ts +3 -0
  71. package/dist/api/types/CatalogResponseData.d.ts +16 -0
  72. package/dist/api/types/ChangeSubscriptionInternalRequestBody.d.ts +1 -0
  73. package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +1 -0
  74. package/dist/api/types/CompanyBillingEntityResponseData.d.ts +5 -0
  75. package/dist/api/types/CompanyBillingEntitySubscriptionResponseData.d.ts +21 -0
  76. package/dist/api/types/CompanyFeatureUsageExportMetadata.d.ts +36 -0
  77. package/dist/api/types/CompanyPlanCreditGrantView.d.ts +2 -0
  78. package/dist/api/types/CompanyPlanDetailResponseData.d.ts +3 -0
  79. package/dist/api/types/ComponentResponseData.d.ts +1 -0
  80. package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +2 -0
  81. package/dist/api/types/DataExportMetadata.d.ts +10 -0
  82. package/dist/api/types/DataExportOutputFileType.d.ts +5 -1
  83. package/dist/api/types/DataExportResponseData.d.ts +1 -1
  84. package/dist/api/types/DataExportType.d.ts +5 -1
  85. package/dist/api/types/EventBody.d.ts +1 -1
  86. package/dist/api/types/EventBodyInference.d.ts +30 -0
  87. package/dist/api/types/EventType.d.ts +1 -0
  88. package/dist/api/types/FeatureEntitlement.d.ts +2 -0
  89. package/dist/api/types/IntegrationsListResponseData.d.ts +1 -0
  90. package/dist/api/types/InvoiceRequestBody.d.ts +2 -0
  91. package/dist/api/types/InvoiceResponseData.d.ts +2 -0
  92. package/dist/api/types/ManagePlanRequest.d.ts +2 -0
  93. package/dist/api/types/MetronomeIntegrationConfig.d.ts +4 -1
  94. package/dist/api/types/PlanBundleResponseData.d.ts +0 -1
  95. package/dist/api/types/PlanCatalogMembershipResponseData.d.ts +4 -0
  96. package/dist/api/types/PlanCreditGrantView.d.ts +2 -0
  97. package/dist/api/types/PlanDetailResponseData.d.ts +3 -0
  98. package/dist/api/types/PlanEntitlementResponseData.d.ts +1 -0
  99. package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +3 -0
  100. package/dist/api/types/PlanViewPublicResponseData.d.ts +3 -0
  101. package/dist/api/types/PreviewSubscriptionDiscountResponseData.d.ts +13 -0
  102. package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +2 -0
  103. package/dist/api/types/RulesengineFeatureEntitlement.d.ts +2 -0
  104. package/dist/api/types/RulesengineWarningTier.d.ts +6 -0
  105. package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +2 -0
  106. package/dist/api/types/UpsertCompanyRequestBody.d.ts +4 -0
  107. package/dist/api/types/WarningTier.d.ts +6 -0
  108. package/dist/api/types/WarningTierRequestBody.d.ts +4 -0
  109. package/dist/api/types/WarningTierResponseData.d.ts +5 -0
  110. package/dist/api/types/index.d.ts +25 -0
  111. package/dist/index.js +9 -9
  112. package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +1 -0
  113. package/dist/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +2 -0
  114. package/dist/serialization/resources/catalogs/client/index.d.ts +1 -0
  115. package/dist/serialization/resources/catalogs/client/requests/CreateCatalogRequestBody.d.ts +11 -0
  116. package/dist/serialization/resources/catalogs/client/requests/UpdateCatalogConfigurationRequestBody.d.ts +19 -0
  117. package/dist/serialization/resources/catalogs/client/requests/UpdateCatalogRequestBody.d.ts +11 -0
  118. package/dist/serialization/resources/catalogs/client/requests/index.d.ts +3 -0
  119. package/dist/serialization/resources/catalogs/index.d.ts +2 -0
  120. package/dist/serialization/resources/catalogs/types/CreateCatalogResponse.d.ts +11 -0
  121. package/dist/serialization/resources/catalogs/types/DeleteCatalogResponse.d.ts +11 -0
  122. package/dist/serialization/resources/catalogs/types/GetCatalogResponse.d.ts +11 -0
  123. package/dist/serialization/resources/catalogs/types/GetConfigurationResponse.d.ts +11 -0
  124. package/dist/serialization/resources/catalogs/types/GetCreditBundlesInCatalogResponse.d.ts +11 -0
  125. package/dist/serialization/resources/catalogs/types/GetDerivedFeaturesResponse.d.ts +11 -0
  126. package/dist/serialization/resources/catalogs/types/GetPlansInCatalogResponse.d.ts +11 -0
  127. package/dist/serialization/resources/catalogs/types/ListCatalogsParams.d.ts +12 -0
  128. package/dist/serialization/resources/catalogs/types/ListCatalogsResponse.d.ts +12 -0
  129. package/dist/serialization/resources/catalogs/types/UpdateCatalogResponse.d.ts +11 -0
  130. package/dist/serialization/resources/catalogs/types/UpdateConfigurationResponse.d.ts +11 -0
  131. package/dist/serialization/resources/catalogs/types/index.d.ts +11 -0
  132. package/dist/serialization/resources/companies/types/GetBillingEntityChildSubscriptionsParams.d.ts +9 -0
  133. package/dist/serialization/resources/companies/types/GetBillingEntityChildSubscriptionsResponse.d.ts +12 -0
  134. package/dist/serialization/resources/companies/types/GetCompanyBillingEntityParams.d.ts +9 -0
  135. package/dist/serialization/resources/companies/types/GetCompanyBillingEntityResponse.d.ts +12 -0
  136. package/dist/serialization/resources/companies/types/index.d.ts +4 -0
  137. package/dist/serialization/resources/components/client/requests/BindCatalogRequestBody.d.ts +9 -0
  138. package/dist/serialization/resources/components/client/requests/index.d.ts +1 -0
  139. package/dist/serialization/resources/components/types/BindCatalogResponse.d.ts +11 -0
  140. package/dist/serialization/resources/components/types/index.d.ts +1 -0
  141. package/dist/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +6 -1
  142. package/dist/serialization/resources/dataexports/types/GetDataExportResponse.d.ts +11 -0
  143. package/dist/serialization/resources/dataexports/types/ListDataExportsParams.d.ts +14 -0
  144. package/dist/serialization/resources/dataexports/types/ListDataExportsResponse.d.ts +12 -0
  145. package/dist/serialization/resources/dataexports/types/index.d.ts +3 -0
  146. package/dist/serialization/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +2 -0
  147. package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +2 -0
  148. package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +2 -0
  149. package/dist/serialization/resources/index.d.ts +3 -0
  150. package/dist/serialization/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +2 -0
  151. package/dist/serialization/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +0 -2
  152. package/dist/serialization/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +0 -2
  153. package/dist/serialization/types/AccountMemberPermission.d.ts +1 -1
  154. package/dist/serialization/types/AuditLogExportMetadata.d.ts +13 -0
  155. package/dist/serialization/types/BillingCreditAutoTopupAvailability.d.ts +7 -0
  156. package/dist/serialization/types/BillingCreditGrantZeroedOutReason.d.ts +1 -1
  157. package/dist/serialization/types/BillingPlanCreditGrantResetCadence.d.ts +1 -1
  158. package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +3 -0
  159. package/dist/serialization/types/CatalogConfigOrderedBundle.d.ts +9 -0
  160. package/dist/serialization/types/CatalogConfigOrderedBundleResponseData.d.ts +9 -0
  161. package/dist/serialization/types/CatalogConfigOrderedEntitlement.d.ts +10 -0
  162. package/dist/serialization/types/CatalogConfigOrderedEntitlementResponseData.d.ts +10 -0
  163. package/dist/serialization/types/CatalogConfigOrderedPlan.d.ts +11 -0
  164. package/dist/serialization/types/CatalogConfigOrderedPlanResponseData.d.ts +11 -0
  165. package/dist/serialization/types/CatalogConfigurationResponseData.d.ts +22 -0
  166. package/dist/serialization/types/CatalogCreditBundleIDsResponseData.d.ts +9 -0
  167. package/dist/serialization/types/CatalogDerivedFeatureResponseData.d.ts +11 -0
  168. package/dist/serialization/types/CatalogDerivedFeaturesResponseData.d.ts +10 -0
  169. package/dist/serialization/types/CatalogPlanIDsResponseData.d.ts +9 -0
  170. package/dist/serialization/types/CatalogResponseData.d.ts +22 -0
  171. package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +1 -0
  172. package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +1 -0
  173. package/dist/serialization/types/CompanyBillingEntityResponseData.d.ts +11 -0
  174. package/dist/serialization/types/CompanyBillingEntitySubscriptionResponseData.d.ts +32 -0
  175. package/dist/serialization/types/CompanyFeatureUsageExportMetadata.d.ts +25 -0
  176. package/dist/serialization/types/CompanyPlanCreditGrantView.d.ts +3 -0
  177. package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +5 -0
  178. package/dist/serialization/types/ComponentResponseData.d.ts +1 -0
  179. package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +3 -0
  180. package/dist/serialization/types/DataExportMetadata.d.ts +15 -0
  181. package/dist/serialization/types/DataExportOutputFileType.d.ts +1 -1
  182. package/dist/serialization/types/DataExportResponseData.d.ts +2 -1
  183. package/dist/serialization/types/DataExportType.d.ts +1 -1
  184. package/dist/serialization/types/EventBody.d.ts +2 -1
  185. package/dist/serialization/types/EventBodyInference.d.ts +22 -0
  186. package/dist/serialization/types/EventType.d.ts +1 -1
  187. package/dist/serialization/types/FeatureEntitlement.d.ts +2 -0
  188. package/dist/serialization/types/IntegrationsListResponseData.d.ts +1 -0
  189. package/dist/serialization/types/InvoiceRequestBody.d.ts +2 -0
  190. package/dist/serialization/types/InvoiceResponseData.d.ts +2 -0
  191. package/dist/serialization/types/ManagePlanRequest.d.ts +1 -0
  192. package/dist/serialization/types/MetronomeIntegrationConfig.d.ts +3 -1
  193. package/dist/serialization/types/PlanBundleResponseData.d.ts +0 -2
  194. package/dist/serialization/types/PlanCatalogMembershipResponseData.d.ts +10 -0
  195. package/dist/serialization/types/PlanCreditGrantView.d.ts +3 -0
  196. package/dist/serialization/types/PlanDetailResponseData.d.ts +5 -0
  197. package/dist/serialization/types/PlanEntitlementResponseData.d.ts +2 -0
  198. package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +5 -0
  199. package/dist/serialization/types/PlanViewPublicResponseData.d.ts +5 -0
  200. package/dist/serialization/types/PreviewSubscriptionDiscountResponseData.d.ts +19 -0
  201. package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +3 -0
  202. package/dist/serialization/types/RulesengineFeatureEntitlement.d.ts +2 -0
  203. package/dist/serialization/types/RulesengineWarningTier.d.ts +10 -0
  204. package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +3 -0
  205. package/dist/serialization/types/UpsertCompanyRequestBody.d.ts +2 -0
  206. package/dist/serialization/types/WarningTier.d.ts +10 -0
  207. package/dist/serialization/types/WarningTierRequestBody.d.ts +10 -0
  208. package/dist/serialization/types/WarningTierResponseData.d.ts +11 -0
  209. package/dist/serialization/types/index.d.ts +25 -0
  210. package/dist/wasm/rulesengine.js +4 -4
  211. package/dist/wasm/rulesengine_bg.wasm.d.ts +1 -0
  212. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
1
  import type * as Schematic from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
+ import { BillingCreditResponseData } from "./BillingCreditResponseData";
4
5
  import { BillingLinkedResourceResponseData } from "./BillingLinkedResourceResponseData";
5
6
  import { BillingPriceResponseData } from "./BillingPriceResponseData";
6
7
  import { BillingProductDetailResponseData } from "./BillingProductDetailResponseData";
@@ -9,6 +10,7 @@ import { BillingStrategy } from "./BillingStrategy";
9
10
  import { ChargeType } from "./ChargeType";
10
11
  import { CustomPlanConfig } from "./CustomPlanConfig";
11
12
  import { FeatureInPlanResponseData } from "./FeatureInPlanResponseData";
13
+ import { PlanCatalogMembershipResponseData } from "./PlanCatalogMembershipResponseData";
12
14
  import { PlanCreditGrantView } from "./PlanCreditGrantView";
13
15
  import { PlanCurrencyPricesResponseData } from "./PlanCurrencyPricesResponseData";
14
16
  import { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
@@ -25,14 +27,17 @@ export declare namespace PlanViewPublicResponseData {
25
27
  billing_linked_resource?: BillingLinkedResourceResponseData.Raw | null;
26
28
  billing_product?: BillingProductDetailResponseData.Raw | null;
27
29
  billing_strategy: BillingStrategy.Raw;
30
+ catalogs?: PlanCatalogMembershipResponseData.Raw[] | null;
28
31
  charge_type: ChargeType.Raw;
29
32
  company_count: number;
30
33
  company_id?: string | null;
34
+ company_logo_url?: string | null;
31
35
  company_name?: string | null;
32
36
  compatible_plan_ids: string[];
33
37
  controlled_by: BillingProviderType.Raw;
34
38
  copied_from_plan_id?: string | null;
35
39
  created_at: string;
40
+ credits: BillingCreditResponseData.Raw[];
36
41
  currency_prices: PlanCurrencyPricesResponseData.Raw[];
37
42
  custom: boolean;
38
43
  custom_plan_config?: CustomPlanConfig.Raw | null;
@@ -0,0 +1,19 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const PreviewSubscriptionDiscountResponseData: core.serialization.ObjectSchema<serializers.PreviewSubscriptionDiscountResponseData.Raw, Schematic.PreviewSubscriptionDiscountResponseData>;
5
+ export declare namespace PreviewSubscriptionDiscountResponseData {
6
+ interface Raw {
7
+ amount_off?: number | null;
8
+ coupon_name: string;
9
+ currency?: string | null;
10
+ customer_facing_code?: string | null;
11
+ duration: string;
12
+ duration_in_months?: number | null;
13
+ ended_at?: string | null;
14
+ is_active: boolean;
15
+ percent_off?: number | null;
16
+ promo_code_external_id?: string | null;
17
+ started_at: string;
18
+ }
19
+ }
@@ -1,14 +1,17 @@
1
1
  import type * as Schematic from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
+ import { PreviewSubscriptionDiscountResponseData } from "./PreviewSubscriptionDiscountResponseData";
4
5
  import { PreviewSubscriptionUpcomingInvoiceLineItems } from "./PreviewSubscriptionUpcomingInvoiceLineItems";
5
6
  export declare const PreviewSubscriptionFinanceResponseData: core.serialization.ObjectSchema<serializers.PreviewSubscriptionFinanceResponseData.Raw, Schematic.PreviewSubscriptionFinanceResponseData>;
6
7
  export declare namespace PreviewSubscriptionFinanceResponseData {
7
8
  interface Raw {
8
9
  amount_off: number;
10
+ discounts: PreviewSubscriptionDiscountResponseData.Raw[];
9
11
  due_now: number;
10
12
  new_charges: number;
11
13
  percent_off: number;
14
+ period_end: string;
12
15
  period_start: string;
13
16
  promo_code_applied: boolean;
14
17
  proration: number;
@@ -4,6 +4,7 @@ import type * as serializers from "../index";
4
4
  import { RulesengineEntitlementValueType } from "./RulesengineEntitlementValueType";
5
5
  import { RulesengineMetricPeriod } from "./RulesengineMetricPeriod";
6
6
  import { RulesengineMetricPeriodMonthReset } from "./RulesengineMetricPeriodMonthReset";
7
+ import { RulesengineWarningTier } from "./RulesengineWarningTier";
7
8
  export declare const RulesengineFeatureEntitlement: core.serialization.ObjectSchema<serializers.RulesengineFeatureEntitlement.Raw, Schematic.RulesengineFeatureEntitlement>;
8
9
  export declare namespace RulesengineFeatureEntitlement {
9
10
  interface Raw {
@@ -25,5 +26,6 @@ export declare namespace RulesengineFeatureEntitlement {
25
26
  soft_limit?: number | null;
26
27
  usage?: number | null;
27
28
  value_type: RulesengineEntitlementValueType.Raw;
29
+ warning_tiers?: RulesengineWarningTier.Raw[] | null;
28
30
  }
29
31
  }
@@ -0,0 +1,10 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const RulesengineWarningTier: core.serialization.ObjectSchema<serializers.RulesengineWarningTier.Raw, Schematic.RulesengineWarningTier>;
5
+ export declare namespace RulesengineWarningTier {
6
+ interface Raw {
7
+ key: string;
8
+ value: number;
9
+ }
10
+ }
@@ -1,6 +1,7 @@
1
1
  import type * as Schematic from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
+ import { BillingCreditAutoTopupAvailability } from "./BillingCreditAutoTopupAvailability";
4
5
  import { BillingCreditExpiryType } from "./BillingCreditExpiryType";
5
6
  import { BillingCreditExpiryUnit } from "./BillingCreditExpiryUnit";
6
7
  import { BillingPlanCreditGrantResetCadence } from "./BillingPlanCreditGrantResetCadence";
@@ -13,6 +14,7 @@ export declare namespace UpdateBillingPlanCreditGrantRequestBody {
13
14
  apply_to_existing?: boolean | null;
14
15
  auto_topup_amount?: number | null;
15
16
  auto_topup_amount_type?: CreditAutoTopupAmountType.Raw | null;
17
+ auto_topup_availability?: BillingCreditAutoTopupAvailability.Raw | null;
16
18
  auto_topup_enabled?: boolean | null;
17
19
  auto_topup_expiry_type?: BillingCreditExpiryType.Raw | null;
18
20
  auto_topup_expiry_unit?: BillingCreditExpiryUnit.Raw | null;
@@ -20,6 +22,7 @@ export declare namespace UpdateBillingPlanCreditGrantRequestBody {
20
22
  auto_topup_self_service?: boolean | null;
21
23
  auto_topup_threshold_credits?: number | null;
22
24
  auto_topup_threshold_percent?: number | null;
25
+ can_buy_bundles?: boolean | null;
23
26
  credit_amount?: number | null;
24
27
  expiry_type?: BillingCreditExpiryType.Raw | null;
25
28
  expiry_unit?: BillingCreditExpiryUnit.Raw | null;
@@ -4,6 +4,8 @@ import type * as serializers from "../index";
4
4
  export declare const UpsertCompanyRequestBody: core.serialization.ObjectSchema<serializers.UpsertCompanyRequestBody.Raw, Schematic.UpsertCompanyRequestBody>;
5
5
  export declare namespace UpsertCompanyRequestBody {
6
6
  interface Raw {
7
+ base_plan_id?: string | null;
8
+ base_plan_price_id?: string | null;
7
9
  id?: string | null;
8
10
  keys: Record<string, string>;
9
11
  last_seen_at?: string | null;
@@ -0,0 +1,10 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const WarningTier: core.serialization.ObjectSchema<serializers.WarningTier.Raw, Schematic.WarningTier>;
5
+ export declare namespace WarningTier {
6
+ interface Raw {
7
+ key: string;
8
+ value: number;
9
+ }
10
+ }
@@ -0,0 +1,10 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const WarningTierRequestBody: core.serialization.ObjectSchema<serializers.WarningTierRequestBody.Raw, Schematic.WarningTierRequestBody>;
5
+ export declare namespace WarningTierRequestBody {
6
+ interface Raw {
7
+ key: string;
8
+ value: number;
9
+ }
10
+ }
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const WarningTierResponseData: core.serialization.ObjectSchema<serializers.WarningTierResponseData.Raw, Schematic.WarningTierResponseData>;
5
+ export declare namespace WarningTierResponseData {
6
+ interface Raw {
7
+ id: string;
8
+ key: string;
9
+ value: number;
10
+ }
11
+ }
@@ -9,9 +9,11 @@ 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";
16
+ export * from "./BillingCreditAutoTopupAvailability";
15
17
  export * from "./BillingCreditBundleResponseData";
16
18
  export * from "./BillingCreditBundleStatus";
17
19
  export * from "./BillingCreditBundleType";
@@ -58,6 +60,18 @@ export * from "./BillingSubscriptionView";
58
60
  export * from "./BillingTiersMode";
59
61
  export * from "./CaptureRawEvent";
60
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";
61
75
  export * from "./ChangeSubscriptionInternalRequestBody";
62
76
  export * from "./ChangeSubscriptionRequestBody";
63
77
  export * from "./ChargeType";
@@ -73,10 +87,13 @@ export * from "./CheckoutFieldWithValue";
73
87
  export * from "./CheckoutSettingsResponseData";
74
88
  export * from "./CheckoutSubscription";
75
89
  export * from "./ClerkIntegrationConfig";
90
+ export * from "./CompanyBillingEntityResponseData";
91
+ export * from "./CompanyBillingEntitySubscriptionResponseData";
76
92
  export * from "./CompanyCreditBalance";
77
93
  export * from "./CompanyCreditBalanceResponseData";
78
94
  export * from "./CompanyDetailResponseData";
79
95
  export * from "./CompanyEventPeriodMetricsResponseData";
96
+ export * from "./CompanyFeatureUsageExportMetadata";
80
97
  export * from "./CompanyLedgerResponseData";
81
98
  export * from "./CompanyMatchingCriteria";
82
99
  export * from "./CompanyMembershipDetailResponseData";
@@ -155,6 +172,7 @@ export * from "./CustomPlanBillingStatus";
155
172
  export * from "./CustomPlanConfig";
156
173
  export * from "./CustomPlanViewConfigResponseData";
157
174
  export * from "./DataEventPayload";
175
+ export * from "./DataExportMetadata";
158
176
  export * from "./DataExportOutputFileType";
159
177
  export * from "./DataExportResponseData";
160
178
  export * from "./DataExportStatus";
@@ -187,6 +205,7 @@ export * from "./EventBody";
187
205
  export * from "./EventBodyFlagCheck";
188
206
  export * from "./EventBodyIdentify";
189
207
  export * from "./EventBodyIdentifyCompany";
208
+ export * from "./EventBodyInference";
190
209
  export * from "./EventBodyTrack";
191
210
  export * from "./EventDetailResponseData";
192
211
  export * from "./EventResponseData";
@@ -250,6 +269,7 @@ export * from "./PlanBundleAction";
250
269
  export * from "./PlanBundleCreditGrantRequestBody";
251
270
  export * from "./PlanBundleEntitlementRequestBody";
252
271
  export * from "./PlanBundleResponseData";
272
+ export * from "./PlanCatalogMembershipResponseData";
253
273
  export * from "./PlanChangeAction";
254
274
  export * from "./PlanChangeBasePlanAction";
255
275
  export * from "./PlanChangeResponseData";
@@ -287,6 +307,7 @@ export * from "./PlanViewPublicResponseData";
287
307
  export * from "./PreviewObject";
288
308
  export * from "./PreviewObjectResponseData";
289
309
  export * from "./PreviewSubscriptionChangeResponseData";
310
+ export * from "./PreviewSubscriptionDiscountResponseData";
290
311
  export * from "./PreviewSubscriptionFinanceResponseData";
291
312
  export * from "./PreviewSubscriptionUpcomingInvoiceLineItems";
292
313
  export * from "./ProrationBehavior";
@@ -323,6 +344,7 @@ export * from "./RulesengineTrait";
323
344
  export * from "./RulesengineTraitDefinition";
324
345
  export * from "./RulesengineTraitDefinitionComparableType";
325
346
  export * from "./RulesengineUser";
347
+ export * from "./RulesengineWarningTier";
326
348
  export * from "./RuleType";
327
349
  export * from "./RuleView";
328
350
  export * from "./ScheduledCheckoutResponseData";
@@ -367,6 +389,9 @@ export * from "./UsageBasedEntitlementResponseData";
367
389
  export * from "./UsageTimeSeriesPointResponseData";
368
390
  export * from "./UserDetailResponseData";
369
391
  export * from "./UserResponseData";
392
+ export * from "./WarningTier";
393
+ export * from "./WarningTierRequestBody";
394
+ export * from "./WarningTierResponseData";
370
395
  export * from "./WebFeatureUsageWebhookOutput";
371
396
  export * from "./WebhookEventDetailResponseData";
372
397
  export * from "./WebhookEventResponseData";