@schematichq/schematic-typescript-node 1.5.4 → 1.5.6

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 (219) hide show
  1. package/dist/Client.d.ts +6 -0
  2. package/dist/api/resources/accounts/client/Client.d.ts +2 -0
  3. package/dist/api/resources/accounts/client/requests/CountAccountMembersRequest.d.ts +4 -0
  4. package/dist/api/resources/accounts/client/requests/ListAccountMembersRequest.d.ts +4 -0
  5. package/dist/api/resources/accounts/types/CountAccountMembersParams.d.ts +3 -0
  6. package/dist/api/resources/accounts/types/ListAccountMembersParams.d.ts +3 -0
  7. package/dist/api/resources/catalogs/client/Client.d.ts +232 -0
  8. package/dist/api/resources/catalogs/client/index.d.ts +1 -0
  9. package/dist/api/resources/catalogs/client/requests/CreateCatalogRequestBody.d.ts +12 -0
  10. package/dist/api/resources/catalogs/client/requests/ListCatalogsRequest.d.ts +18 -0
  11. package/dist/api/resources/catalogs/client/requests/UpdateCatalogConfigurationRequestBody.d.ts +16 -0
  12. package/dist/api/resources/catalogs/client/requests/UpdateCatalogRequestBody.d.ts +9 -0
  13. package/dist/api/resources/catalogs/client/requests/index.d.ts +4 -0
  14. package/dist/api/resources/catalogs/exports.d.ts +2 -0
  15. package/dist/api/resources/catalogs/index.d.ts +2 -0
  16. package/dist/api/resources/catalogs/types/CreateCatalogResponse.d.ts +6 -0
  17. package/dist/api/resources/catalogs/types/DeleteCatalogResponse.d.ts +6 -0
  18. package/dist/api/resources/catalogs/types/GetCatalogResponse.d.ts +6 -0
  19. package/dist/api/resources/catalogs/types/GetConfigurationResponse.d.ts +6 -0
  20. package/dist/api/resources/catalogs/types/GetCreditBundlesInCatalogResponse.d.ts +6 -0
  21. package/dist/api/resources/catalogs/types/GetDerivedFeaturesResponse.d.ts +6 -0
  22. package/dist/api/resources/catalogs/types/GetPlansInCatalogResponse.d.ts +6 -0
  23. package/dist/api/resources/catalogs/types/ListCatalogsParams.d.ts +12 -0
  24. package/dist/api/resources/catalogs/types/ListCatalogsResponse.d.ts +6 -0
  25. package/dist/api/resources/catalogs/types/UpdateCatalogResponse.d.ts +6 -0
  26. package/dist/api/resources/catalogs/types/UpdateConfigurationResponse.d.ts +6 -0
  27. package/dist/api/resources/catalogs/types/index.d.ts +11 -0
  28. package/dist/api/resources/checkout/client/Client.d.ts +35 -0
  29. package/dist/api/resources/checkout/client/requests/UpdateCompanyBillingDetailsRequestBody.d.ts +16 -0
  30. package/dist/api/resources/checkout/client/requests/index.d.ts +1 -0
  31. package/dist/api/resources/checkout/types/GetCompanyBillingDetailsResponse.d.ts +6 -0
  32. package/dist/api/resources/checkout/types/UpdateCompanyBillingDetailsResponse.d.ts +6 -0
  33. package/dist/api/resources/checkout/types/index.d.ts +2 -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/index.d.ts +6 -0
  48. package/dist/api/resources/licenses/client/Client.d.ts +69 -0
  49. package/dist/api/resources/licenses/client/index.d.ts +1 -0
  50. package/dist/api/resources/licenses/client/requests/CountLicensesRequest.d.ts +19 -0
  51. package/dist/api/resources/licenses/client/requests/ListLicensesRequest.d.ts +19 -0
  52. package/dist/api/resources/licenses/client/requests/index.d.ts +2 -0
  53. package/dist/api/resources/licenses/exports.d.ts +2 -0
  54. package/dist/api/resources/licenses/index.d.ts +2 -0
  55. package/dist/api/resources/licenses/types/CountLicensesParams.d.ts +12 -0
  56. package/dist/api/resources/licenses/types/CountLicensesResponse.d.ts +6 -0
  57. package/dist/api/resources/licenses/types/GetSingleLicenseResponse.d.ts +6 -0
  58. package/dist/api/resources/licenses/types/ListLicensesParams.d.ts +12 -0
  59. package/dist/api/resources/licenses/types/ListLicensesResponse.d.ts +6 -0
  60. package/dist/api/resources/licenses/types/index.d.ts +5 -0
  61. package/dist/api/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +1 -0
  62. package/dist/api/resources/planmigrations/client/Client.d.ts +20 -0
  63. package/dist/api/resources/planmigrations/client/requests/PreviewMigrationRequestBody.d.ts +16 -0
  64. package/dist/api/resources/planmigrations/client/requests/index.d.ts +1 -0
  65. package/dist/api/resources/planmigrations/types/PreviewMigrationResponse.d.ts +6 -0
  66. package/dist/api/resources/planmigrations/types/index.d.ts +1 -0
  67. package/dist/api/types/AuditLogExportMetadata.d.ts +12 -0
  68. package/dist/api/types/BillingCreditGrantZeroedOutReason.d.ts +1 -0
  69. package/dist/api/types/CatalogConfigOrderedBundle.d.ts +3 -0
  70. package/dist/api/types/CatalogConfigOrderedBundleResponseData.d.ts +3 -0
  71. package/dist/api/types/CatalogConfigOrderedEntitlement.d.ts +4 -0
  72. package/dist/api/types/CatalogConfigOrderedEntitlementResponseData.d.ts +4 -0
  73. package/dist/api/types/CatalogConfigOrderedPlan.d.ts +5 -0
  74. package/dist/api/types/CatalogConfigOrderedPlanResponseData.d.ts +5 -0
  75. package/dist/api/types/CatalogConfigurationResponseData.d.ts +14 -0
  76. package/dist/api/types/CatalogCreditBundleIDsResponseData.d.ts +3 -0
  77. package/dist/api/types/CatalogDerivedFeatureResponseData.d.ts +5 -0
  78. package/dist/api/types/CatalogDerivedFeaturesResponseData.d.ts +4 -0
  79. package/dist/api/types/CatalogPlanIDsResponseData.d.ts +3 -0
  80. package/dist/api/types/CatalogResponseData.d.ts +16 -0
  81. package/dist/api/types/CompanyBillingAddressView.d.ts +8 -0
  82. package/dist/api/types/CompanyBillingCheckoutSettings.d.ts +5 -0
  83. package/dist/api/types/CompanyBillingDetailsResponseData.d.ts +8 -0
  84. package/dist/api/types/CompanyBillingDetailsView.d.ts +8 -0
  85. package/dist/api/types/CompanyFeatureUsageExportMetadata.d.ts +36 -0
  86. package/dist/api/types/CompanyPlanDetailResponseData.d.ts +1 -0
  87. package/dist/api/types/ComponentResponseData.d.ts +1 -0
  88. package/dist/api/types/CreateEntitlementInBundleRequestBody.d.ts +1 -0
  89. package/dist/api/types/CreditsAutoTopupSuccess.d.ts +7 -0
  90. package/dist/api/types/CreditsCreditPurchaseSuccess.d.ts +9 -0
  91. package/dist/api/types/CreditsWebhookCompanySummary.d.ts +4 -0
  92. package/dist/api/types/CreditsWebhookCreditSummary.d.ts +4 -0
  93. package/dist/api/types/CustomerBillingAddress.d.ts +8 -0
  94. package/dist/api/types/DataExportMetadata.d.ts +10 -0
  95. package/dist/api/types/DataExportOutputFileType.d.ts +5 -1
  96. package/dist/api/types/DataExportResponseData.d.ts +1 -1
  97. package/dist/api/types/DataExportType.d.ts +5 -1
  98. package/dist/api/types/FeatureDetailResponseData.d.ts +6 -0
  99. package/dist/api/types/FeatureEntitlement.d.ts +2 -0
  100. package/dist/api/types/FeatureInPlanResponseData.d.ts +4 -0
  101. package/dist/api/types/FeatureResponseData.d.ts +4 -0
  102. package/dist/api/types/FeatureType.d.ts +1 -0
  103. package/dist/api/types/FeatureView.d.ts +2 -0
  104. package/dist/api/types/LicenseResponseData.d.ts +6 -0
  105. package/dist/api/types/PlanCatalogMembershipResponseData.d.ts +4 -0
  106. package/dist/api/types/PlanDetailResponseData.d.ts +1 -0
  107. package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +1 -0
  108. package/dist/api/types/PlanVersionMigrationPreviewCompanyResponseData.d.ts +8 -0
  109. package/dist/api/types/PlanVersionMigrationPreviewResponseData.d.ts +4 -0
  110. package/dist/api/types/PlanViewPublicResponseData.d.ts +1 -0
  111. package/dist/api/types/PreviewSubscriptionDiscountResponseData.d.ts +13 -0
  112. package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +2 -0
  113. package/dist/api/types/RulesengineFeatureEntitlement.d.ts +2 -0
  114. package/dist/api/types/RulesengineWarningTier.d.ts +6 -0
  115. package/dist/api/types/UpsertCompanyRequestBody.d.ts +4 -0
  116. package/dist/api/types/WarningTier.d.ts +6 -0
  117. package/dist/api/types/WebhookRequestType.d.ts +2 -0
  118. package/dist/api/types/index.d.ts +31 -0
  119. package/dist/index.js +9 -9
  120. package/dist/serialization/resources/accounts/types/CountAccountMembersParams.d.ts +2 -0
  121. package/dist/serialization/resources/accounts/types/ListAccountMembersParams.d.ts +2 -0
  122. package/dist/serialization/resources/catalogs/client/index.d.ts +1 -0
  123. package/dist/serialization/resources/catalogs/client/requests/CreateCatalogRequestBody.d.ts +11 -0
  124. package/dist/serialization/resources/catalogs/client/requests/UpdateCatalogConfigurationRequestBody.d.ts +19 -0
  125. package/dist/serialization/resources/catalogs/client/requests/UpdateCatalogRequestBody.d.ts +11 -0
  126. package/dist/serialization/resources/catalogs/client/requests/index.d.ts +3 -0
  127. package/dist/serialization/resources/catalogs/index.d.ts +2 -0
  128. package/dist/serialization/resources/catalogs/types/CreateCatalogResponse.d.ts +11 -0
  129. package/dist/serialization/resources/catalogs/types/DeleteCatalogResponse.d.ts +11 -0
  130. package/dist/serialization/resources/catalogs/types/GetCatalogResponse.d.ts +11 -0
  131. package/dist/serialization/resources/catalogs/types/GetConfigurationResponse.d.ts +11 -0
  132. package/dist/serialization/resources/catalogs/types/GetCreditBundlesInCatalogResponse.d.ts +11 -0
  133. package/dist/serialization/resources/catalogs/types/GetDerivedFeaturesResponse.d.ts +11 -0
  134. package/dist/serialization/resources/catalogs/types/GetPlansInCatalogResponse.d.ts +11 -0
  135. package/dist/serialization/resources/catalogs/types/ListCatalogsParams.d.ts +12 -0
  136. package/dist/serialization/resources/catalogs/types/ListCatalogsResponse.d.ts +12 -0
  137. package/dist/serialization/resources/catalogs/types/UpdateCatalogResponse.d.ts +11 -0
  138. package/dist/serialization/resources/catalogs/types/UpdateConfigurationResponse.d.ts +11 -0
  139. package/dist/serialization/resources/catalogs/types/index.d.ts +11 -0
  140. package/dist/serialization/resources/checkout/client/requests/UpdateCompanyBillingDetailsRequestBody.d.ts +14 -0
  141. package/dist/serialization/resources/checkout/client/requests/index.d.ts +1 -0
  142. package/dist/serialization/resources/checkout/types/GetCompanyBillingDetailsResponse.d.ts +11 -0
  143. package/dist/serialization/resources/checkout/types/UpdateCompanyBillingDetailsResponse.d.ts +11 -0
  144. package/dist/serialization/resources/checkout/types/index.d.ts +2 -0
  145. package/dist/serialization/resources/components/client/requests/BindCatalogRequestBody.d.ts +9 -0
  146. package/dist/serialization/resources/components/client/requests/index.d.ts +1 -0
  147. package/dist/serialization/resources/components/types/BindCatalogResponse.d.ts +11 -0
  148. package/dist/serialization/resources/components/types/index.d.ts +1 -0
  149. package/dist/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +6 -1
  150. package/dist/serialization/resources/dataexports/types/GetDataExportResponse.d.ts +11 -0
  151. package/dist/serialization/resources/dataexports/types/ListDataExportsParams.d.ts +14 -0
  152. package/dist/serialization/resources/dataexports/types/ListDataExportsResponse.d.ts +12 -0
  153. package/dist/serialization/resources/dataexports/types/index.d.ts +3 -0
  154. package/dist/serialization/resources/index.d.ts +5 -0
  155. package/dist/serialization/resources/licenses/index.d.ts +1 -0
  156. package/dist/serialization/resources/licenses/types/CountLicensesParams.d.ts +13 -0
  157. package/dist/serialization/resources/licenses/types/CountLicensesResponse.d.ts +12 -0
  158. package/dist/serialization/resources/licenses/types/GetSingleLicenseResponse.d.ts +11 -0
  159. package/dist/serialization/resources/licenses/types/ListLicensesParams.d.ts +13 -0
  160. package/dist/serialization/resources/licenses/types/ListLicensesResponse.d.ts +12 -0
  161. package/dist/serialization/resources/licenses/types/index.d.ts +5 -0
  162. package/dist/serialization/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +2 -0
  163. package/dist/serialization/resources/planmigrations/client/requests/PreviewMigrationRequestBody.d.ts +13 -0
  164. package/dist/serialization/resources/planmigrations/client/requests/index.d.ts +1 -0
  165. package/dist/serialization/resources/planmigrations/types/PreviewMigrationResponse.d.ts +11 -0
  166. package/dist/serialization/resources/planmigrations/types/index.d.ts +1 -0
  167. package/dist/serialization/types/AuditLogExportMetadata.d.ts +13 -0
  168. package/dist/serialization/types/BillingCreditGrantZeroedOutReason.d.ts +1 -1
  169. package/dist/serialization/types/CatalogConfigOrderedBundle.d.ts +9 -0
  170. package/dist/serialization/types/CatalogConfigOrderedBundleResponseData.d.ts +9 -0
  171. package/dist/serialization/types/CatalogConfigOrderedEntitlement.d.ts +10 -0
  172. package/dist/serialization/types/CatalogConfigOrderedEntitlementResponseData.d.ts +10 -0
  173. package/dist/serialization/types/CatalogConfigOrderedPlan.d.ts +11 -0
  174. package/dist/serialization/types/CatalogConfigOrderedPlanResponseData.d.ts +11 -0
  175. package/dist/serialization/types/CatalogConfigurationResponseData.d.ts +22 -0
  176. package/dist/serialization/types/CatalogCreditBundleIDsResponseData.d.ts +9 -0
  177. package/dist/serialization/types/CatalogDerivedFeatureResponseData.d.ts +11 -0
  178. package/dist/serialization/types/CatalogDerivedFeaturesResponseData.d.ts +10 -0
  179. package/dist/serialization/types/CatalogPlanIDsResponseData.d.ts +9 -0
  180. package/dist/serialization/types/CatalogResponseData.d.ts +22 -0
  181. package/dist/serialization/types/CompanyBillingAddressView.d.ts +14 -0
  182. package/dist/serialization/types/CompanyBillingCheckoutSettings.d.ts +11 -0
  183. package/dist/serialization/types/CompanyBillingDetailsResponseData.d.ts +16 -0
  184. package/dist/serialization/types/CompanyBillingDetailsView.d.ts +16 -0
  185. package/dist/serialization/types/CompanyFeatureUsageExportMetadata.d.ts +25 -0
  186. package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +2 -0
  187. package/dist/serialization/types/ComponentResponseData.d.ts +1 -0
  188. package/dist/serialization/types/CreateEntitlementInBundleRequestBody.d.ts +2 -0
  189. package/dist/serialization/types/CreditsAutoTopupSuccess.d.ts +14 -0
  190. package/dist/serialization/types/CreditsCreditPurchaseSuccess.d.ts +16 -0
  191. package/dist/serialization/types/CreditsWebhookCompanySummary.d.ts +10 -0
  192. package/dist/serialization/types/CreditsWebhookCreditSummary.d.ts +10 -0
  193. package/dist/serialization/types/CustomerBillingAddress.d.ts +14 -0
  194. package/dist/serialization/types/DataExportMetadata.d.ts +15 -0
  195. package/dist/serialization/types/DataExportOutputFileType.d.ts +1 -1
  196. package/dist/serialization/types/DataExportResponseData.d.ts +2 -1
  197. package/dist/serialization/types/DataExportType.d.ts +1 -1
  198. package/dist/serialization/types/FeatureDetailResponseData.d.ts +4 -0
  199. package/dist/serialization/types/FeatureEntitlement.d.ts +2 -0
  200. package/dist/serialization/types/FeatureInPlanResponseData.d.ts +2 -0
  201. package/dist/serialization/types/FeatureResponseData.d.ts +2 -0
  202. package/dist/serialization/types/FeatureType.d.ts +1 -1
  203. package/dist/serialization/types/FeatureView.d.ts +3 -0
  204. package/dist/serialization/types/LicenseResponseData.d.ts +12 -0
  205. package/dist/serialization/types/PlanCatalogMembershipResponseData.d.ts +10 -0
  206. package/dist/serialization/types/PlanDetailResponseData.d.ts +2 -0
  207. package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +2 -0
  208. package/dist/serialization/types/PlanVersionMigrationPreviewCompanyResponseData.d.ts +14 -0
  209. package/dist/serialization/types/PlanVersionMigrationPreviewResponseData.d.ts +10 -0
  210. package/dist/serialization/types/PlanViewPublicResponseData.d.ts +2 -0
  211. package/dist/serialization/types/PreviewSubscriptionDiscountResponseData.d.ts +19 -0
  212. package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +3 -0
  213. package/dist/serialization/types/RulesengineFeatureEntitlement.d.ts +2 -0
  214. package/dist/serialization/types/RulesengineWarningTier.d.ts +10 -0
  215. package/dist/serialization/types/UpsertCompanyRequestBody.d.ts +2 -0
  216. package/dist/serialization/types/WarningTier.d.ts +10 -0
  217. package/dist/serialization/types/WebhookRequestType.d.ts +1 -1
  218. package/dist/serialization/types/index.d.ts +31 -0
  219. package/package.json +1 -1
@@ -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
+ }
@@ -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
+ }
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const WebhookRequestType: core.serialization.Schema<serializers.WebhookRequestType.Raw, Schematic.WebhookRequestType>;
5
5
  export declare namespace WebhookRequestType {
6
- type Raw = "subscription.trial.ended" | "company.created" | "company.deleted" | "company.override.created" | "company.override.deleted" | "company.override.expired" | "company.override.updated" | "company.plan_changed" | "company.scheduled_downgrade" | "company.updated" | "credit.limit.reached" | "credit.limit.warning" | "entitlement.limit.reached" | "entitlement.limit.warning" | "entitlement.soft_limit.reached" | "entitlement.soft_limit.warning" | "entitlement.tier_limit.reached" | "entitlement.tier_limit.warning" | "feature.created" | "feature.deleted" | "feature.updated" | "flag.created" | "flag.deleted" | "flag_rules.updated" | "flag.updated" | "plan.created" | "plan.deleted" | "plan.entitlement.created" | "plan.entitlement.deleted" | "plan.entitlement.updated" | "plan.updated" | "plan_version.deleted" | "rule.deleted" | "test.send" | "user.created" | "user.deleted" | "user.updated" | "auto.topup.hard.failure" | "auto.topup.retry.exceeded";
6
+ type Raw = "subscription.trial.ended" | "company.created" | "company.deleted" | "company.override.created" | "company.override.deleted" | "company.override.expired" | "company.override.updated" | "company.plan_changed" | "company.scheduled_downgrade" | "company.updated" | "credit.limit.reached" | "credit.limit.warning" | "credit.purchase.success" | "entitlement.limit.reached" | "entitlement.limit.warning" | "entitlement.soft_limit.reached" | "entitlement.soft_limit.warning" | "entitlement.tier_limit.reached" | "entitlement.tier_limit.warning" | "feature.created" | "feature.deleted" | "feature.updated" | "flag.created" | "flag.deleted" | "flag_rules.updated" | "flag.updated" | "plan.created" | "plan.deleted" | "plan.entitlement.created" | "plan.entitlement.deleted" | "plan.entitlement.updated" | "plan.updated" | "plan_version.deleted" | "rule.deleted" | "test.send" | "user.created" | "user.deleted" | "user.updated" | "auto.topup.hard.failure" | "auto.topup.retry.exceeded" | "auto.topup.success";
7
7
  }
@@ -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";
@@ -74,12 +87,17 @@ export * from "./CheckoutFieldWithValue";
74
87
  export * from "./CheckoutSettingsResponseData";
75
88
  export * from "./CheckoutSubscription";
76
89
  export * from "./ClerkIntegrationConfig";
90
+ export * from "./CompanyBillingAddressView";
91
+ export * from "./CompanyBillingCheckoutSettings";
92
+ export * from "./CompanyBillingDetailsResponseData";
93
+ export * from "./CompanyBillingDetailsView";
77
94
  export * from "./CompanyBillingEntityResponseData";
78
95
  export * from "./CompanyBillingEntitySubscriptionResponseData";
79
96
  export * from "./CompanyCreditBalance";
80
97
  export * from "./CompanyCreditBalanceResponseData";
81
98
  export * from "./CompanyDetailResponseData";
82
99
  export * from "./CompanyEventPeriodMetricsResponseData";
100
+ export * from "./CompanyFeatureUsageExportMetadata";
83
101
  export * from "./CompanyLedgerResponseData";
84
102
  export * from "./CompanyMatchingCriteria";
85
103
  export * from "./CompanyMembershipDetailResponseData";
@@ -145,6 +163,10 @@ export * from "./CreditsAutoTopupCompanySummary";
145
163
  export * from "./CreditsAutoTopupCreditSummary";
146
164
  export * from "./CreditsAutoTopupHardFailure";
147
165
  export * from "./CreditsAutoTopupRetryFailure";
166
+ export * from "./CreditsAutoTopupSuccess";
167
+ export * from "./CreditsCreditPurchaseSuccess";
168
+ export * from "./CreditsWebhookCompanySummary";
169
+ export * from "./CreditsWebhookCreditSummary";
148
170
  export * from "./CreditTransferResponseData";
149
171
  export * from "./CreditTransferView";
150
172
  export * from "./CreditTriggerConfig";
@@ -152,12 +174,14 @@ export * from "./CreditUsage";
152
174
  export * from "./CreditUsageAggregation";
153
175
  export * from "./CreditUsageReason";
154
176
  export * from "./CurrencyPriceRequestBody";
177
+ export * from "./CustomerBillingAddress";
155
178
  export * from "./CustomPlanActivationStrategy";
156
179
  export * from "./CustomPlanBillingResponseData";
157
180
  export * from "./CustomPlanBillingStatus";
158
181
  export * from "./CustomPlanConfig";
159
182
  export * from "./CustomPlanViewConfigResponseData";
160
183
  export * from "./DataEventPayload";
184
+ export * from "./DataExportMetadata";
161
185
  export * from "./DataExportOutputFileType";
162
186
  export * from "./DataExportResponseData";
163
187
  export * from "./DataExportStatus";
@@ -235,6 +259,7 @@ export * from "./InvoiceResponseData";
235
259
  export * from "./InvoiceStatus";
236
260
  export * from "./IssueTemporaryAccessTokenResponseData";
237
261
  export * from "./KeysRequestBody";
262
+ export * from "./LicenseResponseData";
238
263
  export * from "./LimitTimeSeriesPointResponseData";
239
264
  export * from "./ManagePlanPreviewResponseResponseData";
240
265
  export * from "./ManagePlanRequest";
@@ -254,6 +279,7 @@ export * from "./PlanBundleAction";
254
279
  export * from "./PlanBundleCreditGrantRequestBody";
255
280
  export * from "./PlanBundleEntitlementRequestBody";
256
281
  export * from "./PlanBundleResponseData";
282
+ export * from "./PlanCatalogMembershipResponseData";
257
283
  export * from "./PlanChangeAction";
258
284
  export * from "./PlanChangeBasePlanAction";
259
285
  export * from "./PlanChangeResponseData";
@@ -281,6 +307,8 @@ export * from "./PlanTraitResponseData";
281
307
  export * from "./PlanType";
282
308
  export * from "./PlanVersionCompanyMigrationResponseData";
283
309
  export * from "./PlanVersionCompanyMigrationStatus";
310
+ export * from "./PlanVersionMigrationPreviewCompanyResponseData";
311
+ export * from "./PlanVersionMigrationPreviewResponseData";
284
312
  export * from "./PlanVersionMigrationResponseData";
285
313
  export * from "./PlanVersionMigrationStatus";
286
314
  export * from "./PlanVersionMigrationStrategy";
@@ -291,6 +319,7 @@ export * from "./PlanViewPublicResponseData";
291
319
  export * from "./PreviewObject";
292
320
  export * from "./PreviewObjectResponseData";
293
321
  export * from "./PreviewSubscriptionChangeResponseData";
322
+ export * from "./PreviewSubscriptionDiscountResponseData";
294
323
  export * from "./PreviewSubscriptionFinanceResponseData";
295
324
  export * from "./PreviewSubscriptionUpcomingInvoiceLineItems";
296
325
  export * from "./ProrationBehavior";
@@ -327,6 +356,7 @@ export * from "./RulesengineTrait";
327
356
  export * from "./RulesengineTraitDefinition";
328
357
  export * from "./RulesengineTraitDefinitionComparableType";
329
358
  export * from "./RulesengineUser";
359
+ export * from "./RulesengineWarningTier";
330
360
  export * from "./RuleType";
331
361
  export * from "./RuleView";
332
362
  export * from "./ScheduledCheckoutResponseData";
@@ -371,6 +401,7 @@ export * from "./UsageBasedEntitlementResponseData";
371
401
  export * from "./UsageTimeSeriesPointResponseData";
372
402
  export * from "./UserDetailResponseData";
373
403
  export * from "./UserResponseData";
404
+ export * from "./WarningTier";
374
405
  export * from "./WarningTierRequestBody";
375
406
  export * from "./WarningTierResponseData";
376
407
  export * from "./WebFeatureUsageWebhookOutput";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schematichq/schematic-typescript-node",
3
- "version": "1.5.4",
3
+ "version": "1.5.6",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",