@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
@@ -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 CatalogConfigOrderedEntitlement: core.serialization.ObjectSchema<serializers.CatalogConfigOrderedEntitlement.Raw, Schematic.CatalogConfigOrderedEntitlement>;
5
+ export declare namespace CatalogConfigOrderedEntitlement {
6
+ interface Raw {
7
+ plan_entitlement_id: string;
8
+ visible?: boolean | null;
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 CatalogConfigOrderedEntitlementResponseData: core.serialization.ObjectSchema<serializers.CatalogConfigOrderedEntitlementResponseData.Raw, Schematic.CatalogConfigOrderedEntitlementResponseData>;
5
+ export declare namespace CatalogConfigOrderedEntitlementResponseData {
6
+ interface Raw {
7
+ plan_entitlement_id: string;
8
+ visible: boolean;
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
+ import { CatalogConfigOrderedEntitlement } from "./CatalogConfigOrderedEntitlement";
5
+ export declare const CatalogConfigOrderedPlan: core.serialization.ObjectSchema<serializers.CatalogConfigOrderedPlan.Raw, Schematic.CatalogConfigOrderedPlan>;
6
+ export declare namespace CatalogConfigOrderedPlan {
7
+ interface Raw {
8
+ entitlements?: CatalogConfigOrderedEntitlement.Raw[] | null;
9
+ plan_id: string;
10
+ }
11
+ }
@@ -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
+ import { CatalogConfigOrderedEntitlementResponseData } from "./CatalogConfigOrderedEntitlementResponseData";
5
+ export declare const CatalogConfigOrderedPlanResponseData: core.serialization.ObjectSchema<serializers.CatalogConfigOrderedPlanResponseData.Raw, Schematic.CatalogConfigOrderedPlanResponseData>;
6
+ export declare namespace CatalogConfigOrderedPlanResponseData {
7
+ interface Raw {
8
+ entitlements: CatalogConfigOrderedEntitlementResponseData.Raw[];
9
+ plan_id: string;
10
+ }
11
+ }
@@ -0,0 +1,22 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { CatalogConfigOrderedBundleResponseData } from "./CatalogConfigOrderedBundleResponseData";
5
+ import { CatalogConfigOrderedPlanResponseData } from "./CatalogConfigOrderedPlanResponseData";
6
+ import { PlanGroupPlanDetailResponseData } from "./PlanGroupPlanDetailResponseData";
7
+ export declare const CatalogConfigurationResponseData: core.serialization.ObjectSchema<serializers.CatalogConfigurationResponseData.Raw, Schematic.CatalogConfigurationResponseData>;
8
+ export declare namespace CatalogConfigurationResponseData {
9
+ interface Raw {
10
+ add_ons: PlanGroupPlanDetailResponseData.Raw[];
11
+ custom_plan_cta_text?: string | null;
12
+ custom_plan_cta_url?: string | null;
13
+ custom_plan_price_text?: string | null;
14
+ custom_plans_visible: boolean;
15
+ ordered_add_ons: CatalogConfigOrderedPlanResponseData.Raw[];
16
+ ordered_bundles: CatalogConfigOrderedBundleResponseData.Raw[];
17
+ ordered_plans: CatalogConfigOrderedPlanResponseData.Raw[];
18
+ plans: PlanGroupPlanDetailResponseData.Raw[];
19
+ pricing_model?: string | null;
20
+ pricing_url?: string | null;
21
+ }
22
+ }
@@ -0,0 +1,9 @@
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 CatalogCreditBundleIDsResponseData: core.serialization.ObjectSchema<serializers.CatalogCreditBundleIDsResponseData.Raw, Schematic.CatalogCreditBundleIDsResponseData>;
5
+ export declare namespace CatalogCreditBundleIDsResponseData {
6
+ interface Raw {
7
+ credit_bundle_ids: string[];
8
+ }
9
+ }
@@ -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 CatalogDerivedFeatureResponseData: core.serialization.ObjectSchema<serializers.CatalogDerivedFeatureResponseData.Raw, Schematic.CatalogDerivedFeatureResponseData>;
5
+ export declare namespace CatalogDerivedFeatureResponseData {
6
+ interface Raw {
7
+ icon: string;
8
+ id: string;
9
+ name: string;
10
+ }
11
+ }
@@ -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
+ import { CatalogDerivedFeatureResponseData } from "./CatalogDerivedFeatureResponseData";
5
+ export declare const CatalogDerivedFeaturesResponseData: core.serialization.ObjectSchema<serializers.CatalogDerivedFeaturesResponseData.Raw, Schematic.CatalogDerivedFeaturesResponseData>;
6
+ export declare namespace CatalogDerivedFeaturesResponseData {
7
+ interface Raw {
8
+ features: CatalogDerivedFeatureResponseData.Raw[];
9
+ }
10
+ }
@@ -0,0 +1,9 @@
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 CatalogPlanIDsResponseData: core.serialization.ObjectSchema<serializers.CatalogPlanIDsResponseData.Raw, Schematic.CatalogPlanIDsResponseData>;
5
+ export declare namespace CatalogPlanIDsResponseData {
6
+ interface Raw {
7
+ plan_ids: string[];
8
+ }
9
+ }
@@ -0,0 +1,22 @@
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 CatalogResponseData: core.serialization.ObjectSchema<serializers.CatalogResponseData.Raw, Schematic.CatalogResponseData>;
5
+ export declare namespace CatalogResponseData {
6
+ interface Raw {
7
+ account_id: string;
8
+ created_at: string;
9
+ custom_plan_cta_text?: string | null;
10
+ custom_plan_cta_url?: string | null;
11
+ custom_plan_price_text?: string | null;
12
+ custom_plans_visible: boolean;
13
+ description?: string | null;
14
+ environment_id: string;
15
+ id: string;
16
+ is_default: boolean;
17
+ name: string;
18
+ pricing_model?: string | null;
19
+ pricing_url?: string | null;
20
+ updated_at: string;
21
+ }
22
+ }
@@ -11,6 +11,7 @@ export declare namespace ChangeSubscriptionInternalRequestBody {
11
11
  interface Raw {
12
12
  add_on_ids: UpdateAddOnRequestBody.Raw[];
13
13
  auto_topup_overrides: UpdateAutoTopupOverrideRequestBody.Raw[];
14
+ billing_entity_id?: string | null;
14
15
  company_id: string;
15
16
  coupon_external_id?: string | null;
16
17
  credit_bundles: UpdateCreditBundleRequestBody.Raw[];
@@ -11,6 +11,7 @@ export declare namespace ChangeSubscriptionRequestBody {
11
11
  interface Raw {
12
12
  add_on_ids: UpdateAddOnRequestBody.Raw[];
13
13
  auto_topup_overrides: UpdateAutoTopupOverrideRequestBody.Raw[];
14
+ billing_entity_id?: string | null;
14
15
  coupon_external_id?: string | null;
15
16
  credit_bundles: UpdateCreditBundleRequestBody.Raw[];
16
17
  custom_field_values: CheckoutFieldValue.Raw[];
@@ -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
+ import { CompanyResponseData } from "./CompanyResponseData";
5
+ export declare const CompanyBillingEntityResponseData: core.serialization.ObjectSchema<serializers.CompanyBillingEntityResponseData.Raw, Schematic.CompanyBillingEntityResponseData>;
6
+ export declare namespace CompanyBillingEntityResponseData {
7
+ interface Raw {
8
+ billing_entity?: CompanyResponseData.Raw | null;
9
+ has_own_stripe_customer: boolean;
10
+ }
11
+ }
@@ -0,0 +1,32 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { BillingProductForSubscriptionResponseData } from "./BillingProductForSubscriptionResponseData";
5
+ import { BillingProviderType } from "./BillingProviderType";
6
+ import { BillingSubscriptionDiscountView } from "./BillingSubscriptionDiscountView";
7
+ import { CompanyResponseData } from "./CompanyResponseData";
8
+ import { InvoiceResponseData } from "./InvoiceResponseData";
9
+ import { PaymentMethodResponseData } from "./PaymentMethodResponseData";
10
+ export declare const CompanyBillingEntitySubscriptionResponseData: core.serialization.ObjectSchema<serializers.CompanyBillingEntitySubscriptionResponseData.Raw, Schematic.CompanyBillingEntitySubscriptionResponseData>;
11
+ export declare namespace CompanyBillingEntitySubscriptionResponseData {
12
+ interface Raw {
13
+ cancel_at?: string | null;
14
+ cancel_at_period_end: boolean;
15
+ company?: CompanyResponseData.Raw | null;
16
+ currency: string;
17
+ customer_external_id: string;
18
+ discounts: BillingSubscriptionDiscountView.Raw[];
19
+ expired_at?: string | null;
20
+ interval: string;
21
+ is_initial: boolean;
22
+ latest_invoice?: InvoiceResponseData.Raw | null;
23
+ payment_method?: PaymentMethodResponseData.Raw | null;
24
+ plan_name: string;
25
+ products: BillingProductForSubscriptionResponseData.Raw[];
26
+ provider_type: BillingProviderType.Raw;
27
+ status: string;
28
+ subscription_external_id: string;
29
+ total_price: number;
30
+ trial_end?: string | null;
31
+ }
32
+ }
@@ -0,0 +1,25 @@
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 CompanyFeatureUsageExportMetadata: core.serialization.ObjectSchema<serializers.CompanyFeatureUsageExportMetadata.Raw, Schematic.CompanyFeatureUsageExportMetadata>;
5
+ export declare namespace CompanyFeatureUsageExportMetadata {
6
+ interface Raw {
7
+ company_ids?: string[] | null;
8
+ credit_type_ids?: string[] | null;
9
+ feature_ids: string[];
10
+ has_scheduled_downgrade?: boolean | null;
11
+ monetized_subscriptions?: boolean | null;
12
+ notification_email_recipient_email_addresses?: string[] | null;
13
+ plan_id?: string | null;
14
+ plan_ids?: string[] | null;
15
+ plan_version_id?: string | null;
16
+ q?: string | null;
17
+ subscription_statuses?: string[] | null;
18
+ subscription_types?: string[] | null;
19
+ with_entitlement_for?: string | null;
20
+ with_subscription?: boolean | null;
21
+ without_feature_override_for?: string | null;
22
+ without_plan?: boolean | null;
23
+ without_subscription?: boolean | null;
24
+ }
25
+ }
@@ -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 { BillingCreditView } from "./BillingCreditView";
@@ -13,6 +14,7 @@ export declare namespace CompanyPlanCreditGrantView {
13
14
  interface Raw {
14
15
  billing_credit_auto_topup_amount?: number | null;
15
16
  billing_credit_auto_topup_amount_type?: string | null;
17
+ billing_credit_auto_topup_availability?: BillingCreditAutoTopupAvailability.Raw | null;
16
18
  billing_credit_auto_topup_enabled: boolean;
17
19
  billing_credit_auto_topup_expiry_type?: BillingCreditExpiryType.Raw | null;
18
20
  billing_credit_auto_topup_expiry_unit?: BillingCreditExpiryUnit.Raw | null;
@@ -20,6 +22,7 @@ export declare namespace CompanyPlanCreditGrantView {
20
22
  billing_credit_auto_topup_self_service: boolean;
21
23
  billing_credit_auto_topup_threshold_credits?: number | null;
22
24
  billing_credit_auto_topup_threshold_percent?: number | null;
25
+ billing_credit_can_buy_bundles: boolean;
23
26
  company_auto_topup_amount?: number | null;
24
27
  company_auto_topup_enabled?: boolean | null;
25
28
  company_auto_topup_threshold_credits?: number | null;
@@ -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";
@@ -11,6 +12,7 @@ import { CompanyPlanInvalidReason } from "./CompanyPlanInvalidReason";
11
12
  import { CustomPlanConfig } from "./CustomPlanConfig";
12
13
  import { FeatureInPlanResponseData } from "./FeatureInPlanResponseData";
13
14
  import { FeatureUsageResponseData } from "./FeatureUsageResponseData";
15
+ import { PlanCatalogMembershipResponseData } from "./PlanCatalogMembershipResponseData";
14
16
  import { PlanCreditGrantView } from "./PlanCreditGrantView";
15
17
  import { PlanCurrencyPricesResponseData } from "./PlanCurrencyPricesResponseData";
16
18
  import { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
@@ -27,15 +29,18 @@ export declare namespace CompanyPlanDetailResponseData {
27
29
  billing_linked_resource?: BillingLinkedResourceResponseData.Raw | null;
28
30
  billing_product?: BillingProductDetailResponseData.Raw | null;
29
31
  billing_strategy: BillingStrategy.Raw;
32
+ catalogs?: PlanCatalogMembershipResponseData.Raw[] | null;
30
33
  charge_type: ChargeType.Raw;
31
34
  company_can_trial: boolean;
32
35
  company_count: number;
33
36
  company_id?: string | null;
37
+ company_logo_url?: string | null;
34
38
  company_name?: string | null;
35
39
  compatible_plan_ids: string[];
36
40
  controlled_by: BillingProviderType.Raw;
37
41
  copied_from_plan_id?: string | null;
38
42
  created_at: string;
43
+ credits: BillingCreditResponseData.Raw[];
39
44
  currency_prices: PlanCurrencyPricesResponseData.Raw[];
40
45
  current: boolean;
41
46
  custom: boolean;
@@ -7,6 +7,7 @@ export declare const ComponentResponseData: core.serialization.ObjectSchema<seri
7
7
  export declare namespace ComponentResponseData {
8
8
  interface Raw {
9
9
  ast?: Record<string, number> | null;
10
+ catalog_id?: string | null;
10
11
  created_at: string;
11
12
  id: string;
12
13
  name: string;
@@ -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 CreateBillingPlanCreditGrantRequestBody {
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 CreateBillingPlanCreditGrantRequestBody {
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;
24
27
  credit_id: string;
25
28
  expiry_type?: BillingCreditExpiryType.Raw | null;
@@ -0,0 +1,15 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { AuditLogExportMetadata } from "./AuditLogExportMetadata";
5
+ import { CompanyFeatureUsageExportMetadata } from "./CompanyFeatureUsageExportMetadata";
6
+ export declare const DataExportMetadata: core.serialization.Schema<serializers.DataExportMetadata.Raw, Schematic.DataExportMetadata>;
7
+ export declare namespace DataExportMetadata {
8
+ type Raw = DataExportMetadata.AuditLog | DataExportMetadata.CompanyFeatureUsage;
9
+ interface AuditLog extends AuditLogExportMetadata.Raw {
10
+ export_type: "audit-log";
11
+ }
12
+ interface CompanyFeatureUsage extends CompanyFeatureUsageExportMetadata.Raw {
13
+ export_type: "company-feature-usage";
14
+ }
15
+ }
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const DataExportOutputFileType: core.serialization.Schema<serializers.DataExportOutputFileType.Raw, Schematic.DataExportOutputFileType>;
5
5
  export declare namespace DataExportOutputFileType {
6
- type Raw = "csv";
6
+ type Raw = "csv" | "csv.gz";
7
7
  }
@@ -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 { DataExportMetadata } from "./DataExportMetadata";
4
5
  import { DataExportOutputFileType } from "./DataExportOutputFileType";
5
6
  import { DataExportStatus } from "./DataExportStatus";
6
7
  import { DataExportType } from "./DataExportType";
@@ -12,7 +13,7 @@ export declare namespace DataExportResponseData {
12
13
  environment_id: string;
13
14
  export_type: DataExportType.Raw;
14
15
  id: string;
15
- metadata: string;
16
+ metadata?: DataExportMetadata.Raw | null;
16
17
  output_file_type: DataExportOutputFileType.Raw;
17
18
  status: DataExportStatus.Raw;
18
19
  updated_at: string;
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const DataExportType: core.serialization.Schema<serializers.DataExportType.Raw, Schematic.DataExportType>;
5
5
  export declare namespace DataExportType {
6
- type Raw = "company-feature-usage";
6
+ type Raw = "audit-log" | "company-feature-usage";
7
7
  }
@@ -3,8 +3,9 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  import { EventBodyFlagCheck } from "./EventBodyFlagCheck";
5
5
  import { EventBodyIdentify } from "./EventBodyIdentify";
6
+ import { EventBodyInference } from "./EventBodyInference";
6
7
  import { EventBodyTrack } from "./EventBodyTrack";
7
8
  export declare const EventBody: core.serialization.Schema<serializers.EventBody.Raw, Schematic.EventBody>;
8
9
  export declare namespace EventBody {
9
- type Raw = EventBodyTrack.Raw | EventBodyFlagCheck.Raw | EventBodyIdentify.Raw;
10
+ type Raw = EventBodyTrack.Raw | EventBodyFlagCheck.Raw | EventBodyIdentify.Raw | EventBodyInference.Raw;
10
11
  }
@@ -0,0 +1,22 @@
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 EventBodyInference: core.serialization.ObjectSchema<serializers.EventBodyInference.Raw, Schematic.EventBodyInference>;
5
+ export declare namespace EventBodyInference {
6
+ interface Raw {
7
+ cached_input_tokens?: number | null;
8
+ company: Record<string, string>;
9
+ cost?: string | null;
10
+ currency?: string | null;
11
+ event?: string | null;
12
+ input_tokens: number;
13
+ operation?: string | null;
14
+ output_tokens: number;
15
+ provider: string;
16
+ reasoning_tokens?: number | null;
17
+ request_model?: string | null;
18
+ requests?: number | null;
19
+ response_model: string;
20
+ user?: Record<string, string> | null;
21
+ }
22
+ }
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const EventType: core.serialization.Schema<serializers.EventType.Raw, Schematic.EventType>;
5
5
  export declare namespace EventType {
6
- type Raw = "flag_check" | "identify" | "track";
6
+ type Raw = "flag_check" | "identify" | "inference" | "track";
7
7
  }
@@ -4,6 +4,7 @@ import type * as serializers from "../index";
4
4
  import { EntitlementValueType } from "./EntitlementValueType";
5
5
  import { MetricPeriod } from "./MetricPeriod";
6
6
  import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
7
+ import { WarningTier } from "./WarningTier";
7
8
  export declare const FeatureEntitlement: core.serialization.ObjectSchema<serializers.FeatureEntitlement.Raw, Schematic.FeatureEntitlement>;
8
9
  export declare namespace FeatureEntitlement {
9
10
  interface Raw {
@@ -25,5 +26,6 @@ export declare namespace FeatureEntitlement {
25
26
  soft_limit?: number | null;
26
27
  usage?: number | null;
27
28
  value_type: EntitlementValueType.Raw;
29
+ warning_tiers?: WarningTier.Raw[] | null;
28
30
  }
29
31
  }
@@ -13,6 +13,7 @@ export declare namespace IntegrationsListResponseData {
13
13
  id: string;
14
14
  is_app_install: boolean;
15
15
  is_connect_install: boolean;
16
+ last_webhook_received_at?: string | null;
16
17
  state: IntegrationState.Raw;
17
18
  type: IntegrationType.Raw;
18
19
  }
@@ -12,7 +12,9 @@ export declare namespace InvoiceRequestBody {
12
12
  currency: string;
13
13
  customer_external_id: string;
14
14
  due_date?: string | null;
15
+ ending_balance?: number | null;
15
16
  payment_method_external_id?: string | null;
17
+ starting_balance?: number | null;
16
18
  status?: InvoiceStatus.Raw | null;
17
19
  subscription_external_id?: string | null;
18
20
  subtotal: number;
@@ -15,11 +15,13 @@ export declare namespace InvoiceResponseData {
15
15
  currency: string;
16
16
  customer_external_id: string;
17
17
  due_date?: string | null;
18
+ ending_balance: number;
18
19
  environment_id: string;
19
20
  external_id?: string | null;
20
21
  id: string;
21
22
  payment_method_external_id?: string | null;
22
23
  provider_type: BillingProviderType.Raw;
24
+ starting_balance: number;
23
25
  status?: InvoiceStatus.Raw | null;
24
26
  subscription_external_id?: string | null;
25
27
  subtotal: number;
@@ -12,6 +12,7 @@ export declare namespace ManagePlanRequest {
12
12
  base_plan_id?: string | null;
13
13
  base_plan_price_id?: string | null;
14
14
  base_plan_version_id?: string | null;
15
+ billing_entity_id?: string | null;
15
16
  cancel_immediately?: boolean | null;
16
17
  company_id: string;
17
18
  coupon_external_id?: string | null;
@@ -3,5 +3,7 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const MetronomeIntegrationConfig: core.serialization.ObjectSchema<serializers.MetronomeIntegrationConfig.Raw, Schematic.MetronomeIntegrationConfig>;
5
5
  export declare namespace MetronomeIntegrationConfig {
6
- type Raw = {};
6
+ interface Raw {
7
+ external_customer_id_key?: string | null;
8
+ }
7
9
  }
@@ -5,7 +5,6 @@ import { BillingPlanCreditGrantResponseData } from "./BillingPlanCreditGrantResp
5
5
  import { BillingProductPlanResponseData } from "./BillingProductPlanResponseData";
6
6
  import { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
7
7
  import { PlanResponseData } from "./PlanResponseData";
8
- import { PlanTraitResponseData } from "./PlanTraitResponseData";
9
8
  export declare const PlanBundleResponseData: core.serialization.ObjectSchema<serializers.PlanBundleResponseData.Raw, Schematic.PlanBundleResponseData>;
10
9
  export declare namespace PlanBundleResponseData {
11
10
  interface Raw {
@@ -13,6 +12,5 @@ export declare namespace PlanBundleResponseData {
13
12
  credit_grants?: BillingPlanCreditGrantResponseData.Raw[] | null;
14
13
  entitlements?: PlanEntitlementResponseData.Raw[] | null;
15
14
  plan?: PlanResponseData.Raw | null;
16
- traits?: PlanTraitResponseData.Raw[] | null;
17
15
  }
18
16
  }
@@ -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 PlanCatalogMembershipResponseData: core.serialization.ObjectSchema<serializers.PlanCatalogMembershipResponseData.Raw, Schematic.PlanCatalogMembershipResponseData>;
5
+ export declare namespace PlanCatalogMembershipResponseData {
6
+ interface Raw {
7
+ id: string;
8
+ name: string;
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 { BillingCreditView } from "./BillingCreditView";
@@ -13,6 +14,7 @@ export declare namespace PlanCreditGrantView {
13
14
  interface Raw {
14
15
  billing_credit_auto_topup_amount?: number | null;
15
16
  billing_credit_auto_topup_amount_type?: string | null;
17
+ billing_credit_auto_topup_availability?: BillingCreditAutoTopupAvailability.Raw | null;
16
18
  billing_credit_auto_topup_enabled: boolean;
17
19
  billing_credit_auto_topup_expiry_type?: BillingCreditExpiryType.Raw | null;
18
20
  billing_credit_auto_topup_expiry_unit?: BillingCreditExpiryUnit.Raw | null;
@@ -20,6 +22,7 @@ export declare namespace PlanCreditGrantView {
20
22
  billing_credit_auto_topup_self_service: boolean;
21
23
  billing_credit_auto_topup_threshold_credits?: number | null;
22
24
  billing_credit_auto_topup_threshold_percent?: number | null;
25
+ billing_credit_can_buy_bundles: boolean;
23
26
  created_at: string;
24
27
  credit?: BillingCreditView.Raw | null;
25
28
  credit_amount: number;
@@ -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 { BillingPlanCreditGrantResponseData } from "./BillingPlanCreditGrantResponseData";
6
7
  import { BillingPriceResponseData } from "./BillingPriceResponseData";
@@ -9,6 +10,7 @@ import { BillingProviderType } from "./BillingProviderType";
9
10
  import { BillingStrategy } from "./BillingStrategy";
10
11
  import { ChargeType } from "./ChargeType";
11
12
  import { FeatureInPlanResponseData } from "./FeatureInPlanResponseData";
13
+ import { PlanCatalogMembershipResponseData } from "./PlanCatalogMembershipResponseData";
12
14
  import { PlanCurrencyPricesResponseData } from "./PlanCurrencyPricesResponseData";
13
15
  import { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
14
16
  import { PlanIcon } from "./PlanIcon";
@@ -22,13 +24,16 @@ export declare namespace PlanDetailResponseData {
22
24
  billing_linked_resource?: BillingLinkedResourceResponseData.Raw | null;
23
25
  billing_product?: BillingProductDetailResponseData.Raw | null;
24
26
  billing_strategy: BillingStrategy.Raw;
27
+ catalogs?: PlanCatalogMembershipResponseData.Raw[] | null;
25
28
  charge_type: ChargeType.Raw;
26
29
  company_count: number;
27
30
  company_id?: string | null;
31
+ company_logo_url?: string | null;
28
32
  company_name?: string | null;
29
33
  controlled_by: BillingProviderType.Raw;
30
34
  copied_from_plan_id?: string | null;
31
35
  created_at: string;
36
+ credits: BillingCreditResponseData.Raw[];
32
37
  currency_prices: PlanCurrencyPricesResponseData.Raw[];
33
38
  description: string;
34
39
  draft_version?: PlanVersionResponseData.Raw | null;
@@ -13,6 +13,7 @@ import { FeatureResponseData } from "./FeatureResponseData";
13
13
  import { MetricPeriod } from "./MetricPeriod";
14
14
  import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
15
15
  import { PlanResponseData } from "./PlanResponseData";
16
+ import { WarningTierResponseData } from "./WarningTierResponseData";
16
17
  export declare const PlanEntitlementResponseData: core.serialization.ObjectSchema<serializers.PlanEntitlementResponseData.Raw, Schematic.PlanEntitlementResponseData>;
17
18
  export declare namespace PlanEntitlementResponseData {
18
19
  interface Raw {
@@ -45,5 +46,6 @@ export declare namespace PlanEntitlementResponseData {
45
46
  value_trait?: EntityTraitDefinitionResponseData.Raw | null;
46
47
  value_trait_id?: string | null;
47
48
  value_type: EntitlementValueType.Raw;
49
+ warning_tiers: WarningTierResponseData.Raw[];
48
50
  }
49
51
  }
@@ -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 { BillingPlanCreditGrantResponseData } from "./BillingPlanCreditGrantResponseData";
6
7
  import { BillingPriceResponseData } from "./BillingPriceResponseData";
@@ -10,6 +11,7 @@ import { BillingStrategy } from "./BillingStrategy";
10
11
  import { ChargeType } from "./ChargeType";
11
12
  import { CustomPlanViewConfigResponseData } from "./CustomPlanViewConfigResponseData";
12
13
  import { FeatureInPlanResponseData } from "./FeatureInPlanResponseData";
14
+ import { PlanCatalogMembershipResponseData } from "./PlanCatalogMembershipResponseData";
13
15
  import { PlanCurrencyPricesResponseData } from "./PlanCurrencyPricesResponseData";
14
16
  import { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
15
17
  import { PlanIcon } from "./PlanIcon";
@@ -25,14 +27,17 @@ export declare namespace PlanGroupPlanDetailResponseData {
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_plan_config?: CustomPlanViewConfigResponseData.Raw | null;
38
43
  description: string;