@schematichq/schematic-typescript-node 1.2.6 → 1.2.7

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 (687) hide show
  1. package/dist/api/resources/accesstokens/client/Client.d.ts +2 -1
  2. package/dist/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +1 -2
  3. package/dist/api/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +1 -1
  4. package/dist/api/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +1 -1
  5. package/dist/api/resources/accounts/types/index.d.ts +0 -2
  6. package/dist/api/resources/billing/client/Client.d.ts +21 -18
  7. package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +1 -1
  8. package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +3 -3
  9. package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +2 -1
  10. package/dist/api/resources/billing/client/requests/{SearchBillingPricesRequest.d.ts → ListBillingPricesRequest.d.ts} +15 -9
  11. package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +55 -0
  12. package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +1 -1
  13. package/dist/api/resources/billing/client/requests/index.d.ts +2 -2
  14. package/dist/api/resources/billing/types/CountBillingProductsParams.d.ts +1 -1
  15. package/dist/api/resources/billing/types/{SearchBillingPricesParams.d.ts → ListBillingPricesParams.d.ts} +8 -5
  16. package/dist/api/resources/billing/types/{SearchBillingPricesResponse.d.ts → ListBillingPricesResponse.d.ts} +2 -2
  17. package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +29 -0
  18. package/dist/api/resources/billing/types/ListBillingProductPricesResponse.d.ts +9 -0
  19. package/dist/api/resources/billing/types/ListBillingProductsParams.d.ts +1 -1
  20. package/dist/api/resources/billing/types/index.d.ts +4 -18
  21. package/dist/api/resources/checkout/client/Client.d.ts +17 -0
  22. package/dist/api/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +16 -0
  23. package/dist/api/resources/checkout/client/requests/index.d.ts +1 -0
  24. package/dist/api/resources/{billing/types/ListProductPricesResponse.d.ts → checkout/types/CancelSubscriptionResponse.d.ts} +3 -3
  25. package/dist/api/resources/checkout/types/index.d.ts +1 -0
  26. package/dist/api/resources/companies/client/Client.d.ts +1 -0
  27. package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +3 -3
  28. package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +1 -1
  29. package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +3 -2
  30. package/dist/api/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +2 -2
  31. package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts +3 -3
  32. package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +1 -1
  33. package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +3 -2
  34. package/dist/api/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +1 -1
  35. package/dist/api/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +2 -0
  36. package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +3 -4
  37. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +1 -1
  38. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +3 -2
  39. package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +3 -4
  40. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +1 -1
  41. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +3 -2
  42. package/dist/api/resources/companies/types/index.d.ts +0 -19
  43. package/dist/api/resources/components/client/Client.d.ts +1 -1
  44. package/dist/api/resources/components/client/requests/CreateComponentRequestBody.d.ts +2 -2
  45. package/dist/api/resources/components/client/requests/UpdateComponentRequestBody.d.ts +2 -2
  46. package/dist/api/resources/components/types/index.d.ts +0 -3
  47. package/dist/api/resources/credits/client/Client.d.ts +3 -3
  48. package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +2 -2
  49. package/dist/api/resources/credits/client/requests/CountCreditLedgerRequest.d.ts +1 -1
  50. package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +3 -3
  51. package/dist/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +9 -9
  52. package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +6 -4
  53. package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +4 -4
  54. package/dist/api/resources/credits/client/requests/GetEnrichedCreditLedgerRequest.d.ts +1 -1
  55. package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +2 -2
  56. package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +2 -2
  57. package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +3 -3
  58. package/dist/api/resources/credits/client/requests/UpdateBillingPlanCreditGrantRequestBody.d.ts +13 -6
  59. package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +3 -3
  60. package/dist/api/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +1 -1
  61. package/dist/api/resources/credits/types/CountCreditBundlesParams.d.ts +2 -2
  62. package/dist/api/resources/credits/types/CountCreditLedgerParams.d.ts +1 -1
  63. package/dist/api/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +1 -1
  64. package/dist/api/resources/credits/types/ListCompanyGrantsParams.d.ts +2 -2
  65. package/dist/api/resources/credits/types/ListCreditBundlesParams.d.ts +2 -2
  66. package/dist/api/resources/credits/types/index.d.ts +0 -37
  67. package/dist/api/resources/dataexports/client/Client.d.ts +3 -1
  68. package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +3 -1
  69. package/dist/api/resources/entitlements/client/Client.d.ts +18 -0
  70. package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -1
  71. package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +3 -3
  72. package/dist/api/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +14 -0
  73. package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -1
  74. package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +3 -3
  75. package/dist/api/resources/entitlements/client/requests/index.d.ts +1 -0
  76. package/dist/api/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts +9 -0
  77. package/dist/api/resources/entitlements/types/index.d.ts +1 -6
  78. package/dist/api/resources/events/client/Client.d.ts +2 -2
  79. package/dist/api/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +1 -1
  80. package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +1 -1
  81. package/dist/api/resources/events/types/ListEventsParams.d.ts +1 -1
  82. package/dist/api/resources/events/types/index.d.ts +0 -2
  83. package/dist/api/resources/features/client/Client.d.ts +17 -0
  84. package/dist/api/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +13 -0
  85. package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +2 -1
  86. package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +2 -2
  87. package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +2 -1
  88. package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +2 -2
  89. package/dist/api/resources/features/client/requests/index.d.ts +1 -0
  90. package/dist/api/resources/features/types/CheckFlagsBulkResponse.d.ts +9 -0
  91. package/dist/api/resources/features/types/CountFeaturesParams.d.ts +2 -1
  92. package/dist/api/resources/features/types/ListFeaturesParams.d.ts +2 -1
  93. package/dist/api/resources/features/types/index.d.ts +1 -4
  94. package/dist/api/resources/plangroups/client/Client.d.ts +8 -2
  95. package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +10 -2
  96. package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +10 -2
  97. package/dist/api/resources/plans/client/Client.d.ts +1 -5
  98. package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +1 -11
  99. package/dist/api/resources/plans/client/requests/CreatePlanRequestBody.d.ts +1 -1
  100. package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +1 -11
  101. package/dist/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +2 -2
  102. package/dist/api/resources/plans/types/CountPlansParams.d.ts +1 -6
  103. package/dist/api/resources/plans/types/ListPlansParams.d.ts +1 -6
  104. package/dist/api/resources/plans/types/index.d.ts +0 -6
  105. package/dist/api/resources/webhooks/client/Client.d.ts +1 -1
  106. package/dist/api/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +2 -2
  107. package/dist/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +2 -2
  108. package/dist/api/resources/webhooks/types/index.d.ts +0 -3
  109. package/dist/api/types/ApiKeyCreateResponseData.d.ts +2 -1
  110. package/dist/api/types/ApiKeyResponseData.d.ts +2 -1
  111. package/dist/api/types/ApiKeyScope.d.ts +10 -0
  112. package/dist/api/types/BillingCreditBundleResponseData.d.ts +4 -4
  113. package/dist/api/{resources/credits/types/ListCreditBundlesRequestStatus.d.ts → types/BillingCreditBundleStatus.d.ts} +2 -2
  114. package/dist/api/types/BillingCreditBundleType.d.ts +4 -0
  115. package/dist/api/types/BillingCreditBundleView.d.ts +4 -4
  116. package/dist/api/{resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts → types/BillingCreditBurnStrategy.d.ts} +4 -4
  117. package/dist/api/{resources/credits/types/CreateCompanyCreditGrantExpiryType.d.ts → types/BillingCreditExpiryType.d.ts} +4 -4
  118. package/dist/api/{resources/credits/types/CreateCompanyCreditGrantExpiryUnit.d.ts → types/BillingCreditExpiryUnit.d.ts} +3 -3
  119. package/dist/api/types/BillingCreditGrantReason.d.ts +10 -0
  120. package/dist/api/types/BillingCreditGrantResponseData.d.ts +2 -2
  121. package/dist/api/{resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts → types/BillingCreditGrantZeroedOutReason.d.ts} +4 -4
  122. package/dist/api/types/BillingCreditResponseData.d.ts +3 -3
  123. package/dist/api/types/BillingCreditRolloverPolicy.d.ts +9 -0
  124. package/dist/api/types/{CreditGrantExpiryRequestBodyResetCadence.d.ts → BillingPlanCreditGrantResetCadence.d.ts} +4 -4
  125. package/dist/api/types/{CreditGrantExpiryRequestBodyResetStart.d.ts → BillingPlanCreditGrantResetStart.d.ts} +2 -2
  126. package/dist/api/types/{CreditGrantExpiryRequestBodyResetType.d.ts → BillingPlanCreditGrantResetType.d.ts} +3 -3
  127. package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +8 -7
  128. package/dist/api/types/BillingPriceResponseData.d.ts +3 -2
  129. package/dist/api/types/BillingPriceScheme.d.ts +8 -0
  130. package/dist/api/types/{BillingProductPricingUsageType.d.ts → BillingPriceUsageType.d.ts} +2 -2
  131. package/dist/api/types/BillingPriceView.d.ts +4 -4
  132. package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +2 -2
  133. package/dist/api/types/BillingProductPlanResponseData.d.ts +3 -2
  134. package/dist/api/types/BillingProductPriceInterval.d.ts +10 -0
  135. package/dist/api/types/BillingProductPriceResponseData.d.ts +5 -4
  136. package/dist/api/types/BillingProductPricing.d.ts +1 -1
  137. package/dist/api/types/BillingSubscriptionResponseData.d.ts +3 -1
  138. package/dist/api/types/BillingSubscriptionTrialEndSetting.d.ts +8 -0
  139. package/dist/api/types/BillingSubscriptionView.d.ts +2 -1
  140. package/dist/api/{resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts → types/BillingTiersMode.d.ts} +3 -3
  141. package/dist/api/{resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts → types/ChargeType.d.ts} +3 -3
  142. package/dist/api/types/CheckFlagsBulkResponseData.d.ts +7 -0
  143. package/dist/api/types/CheckoutSubscription.d.ts +3 -1
  144. package/dist/api/types/CompanyOverrideResponseData.d.ts +1 -1
  145. package/dist/api/types/CompanyPlanDetailResponseData.d.ts +4 -3
  146. package/dist/api/types/CompanyPlanInvalidReason.d.ts +8 -0
  147. package/dist/api/types/CompanyPlanWithBillingSubView.d.ts +2 -0
  148. package/dist/api/types/ComponentDisplaySettings.d.ts +9 -0
  149. package/dist/api/{resources/components/types/UpdateComponentRequestBodyEntityType.d.ts → types/ComponentEntityType.d.ts} +3 -3
  150. package/dist/api/types/ComponentHydrateResponseData.d.ts +5 -0
  151. package/dist/api/types/ComponentPreviewResponseData.d.ts +5 -0
  152. package/dist/api/types/ComponentResponseData.d.ts +3 -2
  153. package/dist/api/types/ComponentSettingsResponseData.d.ts +9 -0
  154. package/dist/api/{resources/components/types/UpdateComponentRequestBodyState.d.ts → types/ComponentState.d.ts} +2 -2
  155. package/dist/api/types/CreateEntitlementReqCommon.d.ts +1 -1
  156. package/dist/api/types/CreateEventRequestBody.d.ts +1 -2
  157. package/dist/api/types/CreateFlagRequestBody.d.ts +2 -1
  158. package/dist/api/types/CreateOrUpdateFlagRequestBody.d.ts +2 -1
  159. package/dist/api/types/CreditAutoTopupAmountType.d.ts +4 -0
  160. package/dist/api/types/CreditCompanyGrantView.d.ts +4 -4
  161. package/dist/api/types/CreditGrantDetail.d.ts +1 -1
  162. package/dist/api/types/CreditGrantExpiryRequestBody.d.ts +5 -5
  163. package/dist/api/{resources/credits/types/ListCompanyGrantsRequestOrder.d.ts → types/CreditGrantSortOrder.d.ts} +2 -2
  164. package/dist/api/{resources/credits/types/CountCreditLedgerRequestPeriod.d.ts → types/CreditLedgerPeriod.d.ts} +3 -3
  165. package/dist/api/types/DataExportOutputFileType.d.ts +4 -0
  166. package/dist/api/types/DataExportResponseData.d.ts +4 -3
  167. package/dist/api/types/DataExportStatus.d.ts +9 -0
  168. package/dist/api/types/DataExportType.d.ts +4 -0
  169. package/dist/api/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +8 -0
  170. package/dist/api/{resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts → types/EntitlementPriceBehavior.d.ts} +4 -4
  171. package/dist/api/types/EntitlementType.d.ts +9 -0
  172. package/dist/api/{resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts → types/EntitlementValueType.d.ts} +3 -2
  173. package/dist/api/types/EntityKeyDefinitionResponseData.d.ts +2 -1
  174. package/dist/api/types/EntityKeyDetailResponseData.d.ts +1 -1
  175. package/dist/api/types/EntityKeyResponseData.d.ts +2 -1
  176. package/dist/api/types/EntityTraitDefinitionResponseData.d.ts +3 -2
  177. package/dist/api/types/{TraitDefinitionEntityType.d.ts → EntityType.d.ts} +3 -3
  178. package/dist/api/types/EnvironmentDetailResponseData.d.ts +1 -1
  179. package/dist/api/types/EnvironmentResponseData.d.ts +2 -1
  180. package/dist/api/{resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts → types/EnvironmentType.d.ts} +3 -3
  181. package/dist/api/types/EventDetailResponseData.d.ts +2 -2
  182. package/dist/api/types/EventResponseData.d.ts +3 -2
  183. package/dist/api/types/EventStatus.d.ts +11 -0
  184. package/dist/api/{resources/events/types/ListEventsRequestEventTypesItem.d.ts → types/EventType.d.ts} +3 -3
  185. package/dist/api/types/FeatureCompanyResponseData.d.ts +4 -6
  186. package/dist/api/types/FeatureCompanyUserResponseData.d.ts +2 -3
  187. package/dist/api/types/FeatureDetailResponseData.d.ts +2 -2
  188. package/dist/api/{resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts → types/FeatureLifecyclePhase.d.ts} +3 -3
  189. package/dist/api/types/FeatureResponseData.d.ts +3 -2
  190. package/dist/api/{resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts → types/FeatureType.d.ts} +2 -2
  191. package/dist/api/types/FeatureUsageDataResponseData.d.ts +1 -1
  192. package/dist/api/types/FeatureUsageResponseData.d.ts +4 -6
  193. package/dist/api/types/FlagDetailResponseData.d.ts +1 -1
  194. package/dist/api/types/FlagResponseData.d.ts +2 -1
  195. package/dist/api/types/FlagType.d.ts +4 -0
  196. package/dist/api/types/IssueTemporaryAccessTokenResponseData.d.ts +2 -1
  197. package/dist/api/types/ManagePlanRequest.d.ts +5 -0
  198. package/dist/api/types/{PlanChangeResponseDataAction.d.ts → PlanChangeAction.d.ts} +3 -2
  199. package/dist/api/types/{PlanChangeResponseDataActorType.d.ts → PlanChangeActorType.d.ts} +3 -3
  200. package/dist/api/types/PlanChangeBasePlanAction.d.ts +10 -0
  201. package/dist/api/types/PlanChangeResponseData.d.ts +4 -6
  202. package/dist/api/types/PlanChangeSubscriptionAction.d.ts +12 -0
  203. package/dist/api/types/PlanControlledByType.d.ts +8 -0
  204. package/dist/api/types/PlanCreditGrantView.d.ts +8 -7
  205. package/dist/api/types/PlanDetailResponseData.d.ts +3 -3
  206. package/dist/api/types/PlanEntitlementResponseData.d.ts +2 -2
  207. package/dist/api/types/PlanGroupDetailResponseData.d.ts +9 -3
  208. package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +3 -3
  209. package/dist/api/types/PlanGroupResponseData.d.ts +7 -1
  210. package/dist/api/types/PlanResponseData.d.ts +2 -1
  211. package/dist/api/{resources/plans/types/CreatePlanRequestBodyPlanType.d.ts → types/PlanType.d.ts} +2 -2
  212. package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -0
  213. package/dist/api/types/ProrationBehavior.d.ts +8 -0
  214. package/dist/api/types/RuleConditionDetailResponseData.d.ts +1 -1
  215. package/dist/api/types/RuleConditionResponseData.d.ts +2 -1
  216. package/dist/api/types/RulesEngineSchemaVersion.d.ts +11 -0
  217. package/dist/api/types/RulesengineCheckFlagResult.d.ts +20 -0
  218. package/dist/api/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +10 -0
  219. package/dist/api/types/RulesengineCheckFlagResultRuleType.d.ts +13 -0
  220. package/dist/api/types/RulesengineCompany.d.ts +19 -0
  221. package/dist/api/types/RulesengineCompanyMetric.d.ts +15 -0
  222. package/dist/api/types/RulesengineCompanyMetricMonthReset.d.ts +8 -0
  223. package/dist/api/types/RulesengineCompanyMetricPeriod.d.ts +10 -0
  224. package/dist/api/types/RulesengineCondition.d.ts +21 -0
  225. package/dist/api/types/RulesengineConditionConditionType.d.ts +15 -0
  226. package/dist/api/types/RulesengineConditionGroup.d.ts +7 -0
  227. package/dist/api/types/RulesengineConditionMetricPeriod.d.ts +10 -0
  228. package/dist/api/types/RulesengineConditionMetricPeriodMonthReset.d.ts +8 -0
  229. package/dist/api/types/RulesengineConditionOperator.d.ts +14 -0
  230. package/dist/api/types/RulesengineEntityType.d.ts +8 -0
  231. package/dist/api/types/RulesengineFlag.d.ts +12 -0
  232. package/dist/api/types/RulesengineRule.d.ts +16 -0
  233. package/dist/api/types/RulesengineRuleRuleType.d.ts +13 -0
  234. package/dist/api/types/RulesengineSubscription.d.ts +8 -0
  235. package/dist/api/types/RulesengineTrait.d.ts +8 -0
  236. package/dist/api/types/RulesengineTraitDefinition.d.ts +9 -0
  237. package/dist/api/types/RulesengineTraitDefinitionComparableType.d.ts +10 -0
  238. package/dist/api/types/RulesengineUser.d.ts +12 -0
  239. package/dist/api/types/SkippedEntitlementErrorResponseData.d.ts +6 -0
  240. package/dist/api/types/SkippedEntitlementResponseData.d.ts +10 -0
  241. package/dist/api/{resources/credits/types/ListCompanyGrantsRequestDir.d.ts → types/SortDirection.d.ts} +2 -2
  242. package/dist/api/types/SubscriptionStatus.d.ts +15 -0
  243. package/dist/api/types/SubscriptionTraitUpdate.d.ts +2 -1
  244. package/dist/api/types/SubscriptionType.d.ts +10 -0
  245. package/dist/api/types/TemporaryAccessTokenResourceType.d.ts +4 -0
  246. package/dist/api/types/TemporaryAccessTokenResponseData.d.ts +2 -1
  247. package/dist/api/types/TraitDefinition.d.ts +1 -1
  248. package/dist/api/{resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts → types/TraitType.d.ts} +2 -2
  249. package/dist/api/types/UpdateEntitlementReqCommon.d.ts +1 -1
  250. package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +2 -2
  251. package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +2 -2
  252. package/dist/api/types/WebhookEventDetailResponseData.d.ts +2 -2
  253. package/dist/api/types/WebhookEventResponseData.d.ts +3 -2
  254. package/dist/api/types/WebhookEventStatus.d.ts +9 -0
  255. package/dist/api/{resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts → types/WebhookRequestType.d.ts} +30 -28
  256. package/dist/api/types/WebhookResponseData.d.ts +2 -2
  257. package/dist/api/{resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts → types/WebhookStatus.d.ts} +2 -2
  258. package/dist/api/types/index.d.ts +81 -21
  259. package/dist/index.js +3 -3
  260. package/dist/serialization/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +2 -2
  261. package/dist/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +2 -2
  262. package/dist/serialization/resources/accounts/types/index.d.ts +0 -2
  263. package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +6 -6
  264. package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +3 -2
  265. package/dist/serialization/resources/billing/types/CountBillingProductsParams.d.ts +2 -2
  266. package/dist/serialization/resources/billing/types/ListBillingPricesParams.d.ts +27 -0
  267. package/dist/serialization/resources/billing/types/{SearchBillingPricesResponse.d.ts → ListBillingPricesResponse.d.ts} +4 -4
  268. package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +27 -0
  269. package/dist/serialization/resources/billing/types/ListBillingProductPricesResponse.d.ts +15 -0
  270. package/dist/serialization/resources/billing/types/ListBillingProductsParams.d.ts +2 -2
  271. package/dist/serialization/resources/billing/types/index.d.ts +4 -18
  272. package/dist/serialization/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +14 -0
  273. package/dist/serialization/resources/checkout/client/requests/index.d.ts +1 -0
  274. package/dist/serialization/resources/checkout/types/CancelSubscriptionResponse.d.ts +14 -0
  275. package/dist/serialization/resources/checkout/types/index.d.ts +1 -0
  276. package/dist/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +4 -4
  277. package/dist/serialization/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +2 -2
  278. package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +1 -0
  279. package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +6 -4
  280. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +2 -2
  281. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +5 -4
  282. package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +6 -4
  283. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +2 -2
  284. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +5 -4
  285. package/dist/serialization/resources/companies/types/index.d.ts +0 -19
  286. package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.d.ts +2 -2
  287. package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.d.ts +4 -4
  288. package/dist/serialization/resources/components/types/index.d.ts +0 -3
  289. package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +6 -5
  290. package/dist/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +14 -15
  291. package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +9 -5
  292. package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +8 -7
  293. package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +6 -5
  294. package/dist/serialization/resources/credits/client/requests/UpdateBillingPlanCreditGrantRequestBody.d.ts +18 -10
  295. package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +6 -6
  296. package/dist/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +2 -2
  297. package/dist/serialization/resources/credits/types/CountCreditBundlesParams.d.ts +4 -3
  298. package/dist/serialization/resources/credits/types/CountCreditLedgerParams.d.ts +2 -2
  299. package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +2 -2
  300. package/dist/serialization/resources/credits/types/ListCompanyGrantsParams.d.ts +4 -4
  301. package/dist/serialization/resources/credits/types/ListCreditBundlesParams.d.ts +4 -3
  302. package/dist/serialization/resources/credits/types/index.d.ts +0 -37
  303. package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +2 -2
  304. package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +6 -5
  305. package/dist/serialization/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +13 -0
  306. package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +2 -2
  307. package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +6 -5
  308. package/dist/serialization/resources/entitlements/client/requests/index.d.ts +1 -0
  309. package/dist/serialization/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts +14 -0
  310. package/dist/serialization/resources/entitlements/types/index.d.ts +1 -6
  311. package/dist/serialization/resources/events/types/ListEventsParams.d.ts +2 -2
  312. package/dist/serialization/resources/events/types/index.d.ts +0 -2
  313. package/dist/serialization/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +13 -0
  314. package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +4 -4
  315. package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +4 -4
  316. package/dist/serialization/resources/features/client/requests/index.d.ts +1 -0
  317. package/dist/serialization/resources/features/types/CheckFlagsBulkResponse.d.ts +14 -0
  318. package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +2 -1
  319. package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +2 -1
  320. package/dist/serialization/resources/features/types/index.d.ts +1 -4
  321. package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +7 -1
  322. package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +7 -1
  323. package/dist/serialization/resources/plans/client/requests/CreatePlanRequestBody.d.ts +2 -2
  324. package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +2 -2
  325. package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +2 -4
  326. package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +2 -4
  327. package/dist/serialization/resources/plans/types/index.d.ts +0 -6
  328. package/dist/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +2 -2
  329. package/dist/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +4 -4
  330. package/dist/serialization/resources/webhooks/types/index.d.ts +0 -3
  331. package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +2 -1
  332. package/dist/serialization/types/ApiKeyResponseData.d.ts +2 -1
  333. package/dist/serialization/types/ApiKeyScope.d.ts +10 -0
  334. package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +8 -4
  335. package/dist/serialization/types/BillingCreditBundleStatus.d.ts +10 -0
  336. package/dist/serialization/types/BillingCreditBundleType.d.ts +10 -0
  337. package/dist/serialization/types/BillingCreditBundleView.d.ts +8 -4
  338. package/dist/serialization/types/BillingCreditBurnStrategy.d.ts +10 -0
  339. package/dist/serialization/types/BillingCreditExpiryType.d.ts +10 -0
  340. package/dist/serialization/types/BillingCreditExpiryUnit.d.ts +10 -0
  341. package/dist/serialization/types/BillingCreditGrantReason.d.ts +10 -0
  342. package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +4 -2
  343. package/dist/serialization/types/BillingCreditGrantZeroedOutReason.d.ts +10 -0
  344. package/dist/serialization/types/BillingCreditResponseData.d.ts +6 -3
  345. package/dist/serialization/types/BillingCreditRolloverPolicy.d.ts +10 -0
  346. package/dist/serialization/types/BillingPlanCreditGrantResetCadence.d.ts +10 -0
  347. package/dist/serialization/types/BillingPlanCreditGrantResetStart.d.ts +10 -0
  348. package/dist/serialization/types/BillingPlanCreditGrantResetType.d.ts +10 -0
  349. package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +12 -7
  350. package/dist/serialization/types/BillingPriceResponseData.d.ts +4 -2
  351. package/dist/serialization/types/BillingPriceScheme.d.ts +10 -0
  352. package/dist/serialization/types/{BillingProductPricingUsageType.d.ts → BillingPriceUsageType.d.ts} +2 -2
  353. package/dist/serialization/types/BillingPriceView.d.ts +8 -4
  354. package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +4 -2
  355. package/dist/serialization/types/BillingProductPlanResponseData.d.ts +4 -2
  356. package/dist/serialization/types/BillingProductPriceInterval.d.ts +10 -0
  357. package/dist/serialization/types/BillingProductPriceResponseData.d.ts +8 -4
  358. package/dist/serialization/types/BillingProductPricing.d.ts +2 -2
  359. package/dist/serialization/types/BillingSubscriptionResponseData.d.ts +3 -1
  360. package/dist/serialization/types/BillingSubscriptionTrialEndSetting.d.ts +10 -0
  361. package/dist/serialization/types/BillingSubscriptionView.d.ts +3 -1
  362. package/dist/serialization/types/BillingTiersMode.d.ts +10 -0
  363. package/dist/serialization/types/ChargeType.d.ts +10 -0
  364. package/dist/serialization/types/CheckFlagsBulkResponseData.d.ts +13 -0
  365. package/dist/serialization/types/CheckoutSubscription.d.ts +3 -1
  366. package/dist/serialization/types/CompanyOverrideResponseData.d.ts +2 -1
  367. package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +8 -3
  368. package/dist/serialization/types/CompanyPlanInvalidReason.d.ts +10 -0
  369. package/dist/serialization/types/CompanyPlanWithBillingSubView.d.ts +2 -0
  370. package/dist/serialization/types/ComponentDisplaySettings.d.ts +15 -0
  371. package/dist/serialization/types/ComponentEntityType.d.ts +10 -0
  372. package/dist/serialization/types/ComponentHydrateResponseData.d.ts +6 -0
  373. package/dist/serialization/types/ComponentPreviewResponseData.d.ts +6 -0
  374. package/dist/serialization/types/ComponentResponseData.d.ts +4 -2
  375. package/dist/serialization/types/ComponentSettingsResponseData.d.ts +15 -0
  376. package/dist/serialization/types/ComponentState.d.ts +10 -0
  377. package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +2 -2
  378. package/dist/serialization/types/CreateEventRequestBody.d.ts +2 -2
  379. package/dist/serialization/types/CreateFlagRequestBody.d.ts +2 -1
  380. package/dist/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +2 -1
  381. package/dist/serialization/types/CreditAutoTopupAmountType.d.ts +10 -0
  382. package/dist/serialization/types/CreditCompanyGrantView.d.ts +8 -4
  383. package/dist/serialization/types/CreditGrantDetail.d.ts +2 -2
  384. package/dist/serialization/types/CreditGrantExpiryRequestBody.d.ts +10 -10
  385. package/dist/serialization/types/CreditGrantSortOrder.d.ts +10 -0
  386. package/dist/serialization/types/CreditLedgerPeriod.d.ts +10 -0
  387. package/dist/serialization/types/DataExportOutputFileType.d.ts +10 -0
  388. package/dist/serialization/types/DataExportResponseData.d.ts +6 -3
  389. package/dist/serialization/types/DataExportStatus.d.ts +10 -0
  390. package/dist/serialization/types/DataExportType.d.ts +10 -0
  391. package/dist/serialization/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +15 -0
  392. package/dist/serialization/types/EntitlementPriceBehavior.d.ts +10 -0
  393. package/dist/serialization/types/EntitlementType.d.ts +10 -0
  394. package/dist/serialization/types/EntitlementValueType.d.ts +10 -0
  395. package/dist/serialization/types/EntityKeyDefinitionResponseData.d.ts +2 -1
  396. package/dist/serialization/types/EntityKeyDetailResponseData.d.ts +2 -1
  397. package/dist/serialization/types/EntityKeyResponseData.d.ts +2 -1
  398. package/dist/serialization/types/EntityTraitDefinitionResponseData.d.ts +4 -2
  399. package/dist/serialization/types/EntityType.d.ts +10 -0
  400. package/dist/serialization/types/EnvironmentDetailResponseData.d.ts +2 -1
  401. package/dist/serialization/types/EnvironmentResponseData.d.ts +2 -1
  402. package/dist/serialization/types/EnvironmentType.d.ts +10 -0
  403. package/dist/serialization/types/EventDetailResponseData.d.ts +4 -2
  404. package/dist/serialization/types/EventResponseData.d.ts +4 -2
  405. package/dist/serialization/types/EventStatus.d.ts +10 -0
  406. package/dist/serialization/types/EventType.d.ts +10 -0
  407. package/dist/serialization/types/FeatureCompanyResponseData.d.ts +8 -6
  408. package/dist/serialization/types/FeatureCompanyUserResponseData.d.ts +4 -3
  409. package/dist/serialization/types/FeatureDetailResponseData.d.ts +4 -2
  410. package/dist/serialization/types/FeatureLifecyclePhase.d.ts +10 -0
  411. package/dist/serialization/types/FeatureResponseData.d.ts +4 -2
  412. package/dist/serialization/types/FeatureType.d.ts +10 -0
  413. package/dist/serialization/types/FeatureUsageDataResponseData.d.ts +2 -1
  414. package/dist/serialization/types/FeatureUsageResponseData.d.ts +8 -6
  415. package/dist/serialization/types/FlagDetailResponseData.d.ts +2 -1
  416. package/dist/serialization/types/FlagResponseData.d.ts +2 -1
  417. package/dist/serialization/types/FlagType.d.ts +10 -0
  418. package/dist/serialization/types/IssueTemporaryAccessTokenResponseData.d.ts +2 -1
  419. package/dist/serialization/types/ManagePlanRequest.d.ts +3 -0
  420. package/dist/serialization/types/{PlanChangeResponseDataAction.d.ts → PlanChangeAction.d.ts} +3 -3
  421. package/dist/serialization/types/PlanChangeActorType.d.ts +10 -0
  422. package/dist/serialization/types/{PlanChangeResponseDataBasePlanAction.d.ts → PlanChangeBasePlanAction.d.ts} +2 -2
  423. package/dist/serialization/types/PlanChangeResponseData.d.ts +8 -8
  424. package/dist/serialization/types/{PlanChangeResponseDataSubscriptionChangeAction.d.ts → PlanChangeSubscriptionAction.d.ts} +2 -2
  425. package/dist/serialization/types/PlanControlledByType.d.ts +10 -0
  426. package/dist/serialization/types/PlanCreditGrantView.d.ts +12 -7
  427. package/dist/serialization/types/PlanDetailResponseData.d.ts +6 -3
  428. package/dist/serialization/types/PlanEntitlementResponseData.d.ts +4 -2
  429. package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +11 -4
  430. package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +6 -3
  431. package/dist/serialization/types/PlanGroupResponseData.d.ts +8 -1
  432. package/dist/serialization/types/PlanResponseData.d.ts +2 -1
  433. package/dist/serialization/types/PlanType.d.ts +10 -0
  434. package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -0
  435. package/dist/serialization/types/ProrationBehavior.d.ts +10 -0
  436. package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +2 -1
  437. package/dist/serialization/types/RuleConditionResponseData.d.ts +2 -1
  438. package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +10 -0
  439. package/dist/serialization/types/RulesengineCheckFlagResult.d.ts +27 -0
  440. package/dist/serialization/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +10 -0
  441. package/dist/serialization/types/RulesengineCheckFlagResultRuleType.d.ts +10 -0
  442. package/dist/serialization/types/RulesengineCompany.d.ts +28 -0
  443. package/dist/serialization/types/RulesengineCompanyMetric.d.ts +22 -0
  444. package/dist/serialization/types/RulesengineCompanyMetricMonthReset.d.ts +10 -0
  445. package/dist/serialization/types/RulesengineCompanyMetricPeriod.d.ts +10 -0
  446. package/dist/serialization/types/RulesengineCondition.d.ts +31 -0
  447. package/dist/serialization/types/RulesengineConditionConditionType.d.ts +10 -0
  448. package/dist/serialization/types/RulesengineConditionGroup.d.ts +13 -0
  449. package/dist/serialization/types/RulesengineConditionMetricPeriod.d.ts +10 -0
  450. package/dist/serialization/types/RulesengineConditionMetricPeriodMonthReset.d.ts +10 -0
  451. package/dist/serialization/types/RulesengineConditionOperator.d.ts +10 -0
  452. package/dist/serialization/types/RulesengineEntityType.d.ts +10 -0
  453. package/dist/serialization/types/RulesengineFlag.d.ts +18 -0
  454. package/dist/serialization/types/RulesengineRule.d.ts +24 -0
  455. package/dist/serialization/types/RulesengineRuleRuleType.d.ts +10 -0
  456. package/dist/serialization/types/RulesengineSubscription.d.ts +14 -0
  457. package/dist/serialization/types/RulesengineTrait.d.ts +14 -0
  458. package/dist/serialization/types/RulesengineTraitDefinition.d.ts +16 -0
  459. package/dist/serialization/types/RulesengineTraitDefinitionComparableType.d.ts +10 -0
  460. package/dist/serialization/types/RulesengineUser.d.ts +19 -0
  461. package/dist/serialization/types/SkippedEntitlementErrorResponseData.d.ts +12 -0
  462. package/dist/serialization/types/SkippedEntitlementResponseData.d.ts +16 -0
  463. package/dist/serialization/types/SortDirection.d.ts +10 -0
  464. package/dist/serialization/types/SubscriptionStatus.d.ts +10 -0
  465. package/dist/serialization/types/SubscriptionTraitUpdate.d.ts +2 -1
  466. package/dist/serialization/types/SubscriptionType.d.ts +10 -0
  467. package/dist/serialization/types/TemporaryAccessTokenResourceType.d.ts +10 -0
  468. package/dist/serialization/types/TemporaryAccessTokenResponseData.d.ts +2 -1
  469. package/dist/serialization/types/TraitDefinition.d.ts +2 -2
  470. package/dist/serialization/types/TraitType.d.ts +10 -0
  471. package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +2 -2
  472. package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +4 -3
  473. package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +4 -2
  474. package/dist/serialization/types/WebhookEventDetailResponseData.d.ts +4 -2
  475. package/dist/serialization/types/WebhookEventResponseData.d.ts +4 -2
  476. package/dist/serialization/types/WebhookEventStatus.d.ts +10 -0
  477. package/dist/serialization/types/WebhookRequestType.d.ts +10 -0
  478. package/dist/serialization/types/WebhookResponseData.d.ts +4 -2
  479. package/dist/serialization/types/WebhookStatus.d.ts +10 -0
  480. package/dist/serialization/types/index.d.ts +81 -21
  481. package/package.json +1 -1
  482. package/dist/api/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +0 -9
  483. package/dist/api/resources/billing/client/requests/ListProductPricesRequest.d.ts +0 -53
  484. package/dist/api/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +0 -8
  485. package/dist/api/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +0 -8
  486. package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +0 -8
  487. package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +0 -8
  488. package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +0 -8
  489. package/dist/api/resources/billing/types/CreateBillingSubscriptionRequestBodyTrialEndSetting.d.ts +0 -8
  490. package/dist/api/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +0 -8
  491. package/dist/api/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +0 -8
  492. package/dist/api/resources/billing/types/ListProductPricesParams.d.ts +0 -27
  493. package/dist/api/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +0 -8
  494. package/dist/api/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +0 -8
  495. package/dist/api/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +0 -8
  496. package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +0 -8
  497. package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +0 -8
  498. package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -11
  499. package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -11
  500. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +0 -8
  501. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -8
  502. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +0 -8
  503. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +0 -12
  504. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -8
  505. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -12
  506. package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +0 -8
  507. package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -12
  508. package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -11
  509. package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -11
  510. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +0 -8
  511. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -8
  512. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +0 -8
  513. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -8
  514. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -12
  515. package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -12
  516. package/dist/api/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +0 -8
  517. package/dist/api/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +0 -8
  518. package/dist/api/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +0 -8
  519. package/dist/api/resources/credits/types/CountCreditLedgerResponseParamsPeriod.d.ts +0 -10
  520. package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -9
  521. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryType.d.ts +0 -11
  522. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryUnit.d.ts +0 -8
  523. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -11
  524. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -8
  525. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
  526. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -8
  527. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -8
  528. package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +0 -11
  529. package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryUnit.d.ts +0 -8
  530. package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +0 -8
  531. package/dist/api/resources/credits/types/GetEnrichedCreditLedgerRequestPeriod.d.ts +0 -10
  532. package/dist/api/resources/credits/types/GetEnrichedCreditLedgerResponseParamsPeriod.d.ts +0 -10
  533. package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +0 -8
  534. package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +0 -10
  535. package/dist/api/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +0 -8
  536. package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
  537. package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -9
  538. package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -11
  539. package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -8
  540. package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
  541. package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -8
  542. package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -8
  543. package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts +0 -11
  544. package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryUnit.d.ts +0 -8
  545. package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyStatus.d.ts +0 -8
  546. package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +0 -11
  547. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +0 -11
  548. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -11
  549. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +0 -11
  550. package/dist/api/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +0 -9
  551. package/dist/api/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +0 -9
  552. package/dist/api/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +0 -15
  553. package/dist/api/resources/plans/types/CountPlansRequestPlanType.d.ts +0 -11
  554. package/dist/api/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +0 -11
  555. package/dist/api/resources/plans/types/ListPlansRequestPlanType.d.ts +0 -11
  556. package/dist/api/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +0 -11
  557. package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +0 -39
  558. package/dist/api/types/CreateEntitlementReqCommonValueType.d.ts +0 -11
  559. package/dist/api/types/CreateEventRequestBodyEventType.d.ts +0 -12
  560. package/dist/api/types/CreditGrantDetailGrantReason.d.ts +0 -9
  561. package/dist/api/types/CreditGrantExpiryRequestBodyExpiryType.d.ts +0 -11
  562. package/dist/api/types/CreditGrantExpiryRequestBodyExpiryUnit.d.ts +0 -8
  563. package/dist/api/types/FeatureCompanyResponseDataAllocationType.d.ts +0 -13
  564. package/dist/api/types/FeatureCompanyResponseDataCreditGrantReason.d.ts +0 -12
  565. package/dist/api/types/FeatureCompanyUserResponseDataAllocationType.d.ts +0 -14
  566. package/dist/api/types/FeatureUsageResponseDataAllocationType.d.ts +0 -13
  567. package/dist/api/types/FeatureUsageResponseDataCreditGrantReason.d.ts +0 -12
  568. package/dist/api/types/PlanChangeResponseDataBasePlanAction.d.ts +0 -13
  569. package/dist/api/types/PlanChangeResponseDataSubscriptionChangeAction.d.ts +0 -15
  570. package/dist/api/types/UpdateEntitlementReqCommonValueType.d.ts +0 -11
  571. package/dist/api/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +0 -11
  572. package/dist/serialization/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts +0 -10
  573. package/dist/serialization/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +0 -10
  574. package/dist/serialization/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +0 -10
  575. package/dist/serialization/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +0 -10
  576. package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +0 -10
  577. package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +0 -10
  578. package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +0 -10
  579. package/dist/serialization/resources/billing/types/CreateBillingSubscriptionRequestBodyTrialEndSetting.d.ts +0 -10
  580. package/dist/serialization/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +0 -10
  581. package/dist/serialization/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +0 -10
  582. package/dist/serialization/resources/billing/types/ListProductPricesParams.d.ts +0 -23
  583. package/dist/serialization/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +0 -10
  584. package/dist/serialization/resources/billing/types/ListProductPricesResponse.d.ts +0 -15
  585. package/dist/serialization/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +0 -10
  586. package/dist/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +0 -25
  587. package/dist/serialization/resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts +0 -10
  588. package/dist/serialization/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +0 -10
  589. package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +0 -10
  590. package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +0 -10
  591. package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -10
  592. package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -10
  593. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +0 -10
  594. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -10
  595. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +0 -10
  596. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +0 -10
  597. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -10
  598. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -10
  599. package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +0 -10
  600. package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -10
  601. package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -10
  602. package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -10
  603. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +0 -10
  604. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -10
  605. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +0 -10
  606. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts +0 -10
  607. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -10
  608. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -10
  609. package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -10
  610. package/dist/serialization/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +0 -10
  611. package/dist/serialization/resources/components/types/UpdateComponentRequestBodyEntityType.d.ts +0 -10
  612. package/dist/serialization/resources/components/types/UpdateComponentRequestBodyState.d.ts +0 -10
  613. package/dist/serialization/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +0 -10
  614. package/dist/serialization/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +0 -10
  615. package/dist/serialization/resources/credits/types/CountCreditLedgerRequestPeriod.d.ts +0 -10
  616. package/dist/serialization/resources/credits/types/CountCreditLedgerResponseParamsPeriod.d.ts +0 -10
  617. package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
  618. package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -10
  619. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryType.d.ts +0 -10
  620. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryUnit.d.ts +0 -10
  621. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -10
  622. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -10
  623. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
  624. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -10
  625. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -10
  626. package/dist/serialization/resources/credits/types/CreateCompanyCreditGrantExpiryType.d.ts +0 -10
  627. package/dist/serialization/resources/credits/types/CreateCompanyCreditGrantExpiryUnit.d.ts +0 -10
  628. package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +0 -10
  629. package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryUnit.d.ts +0 -10
  630. package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +0 -10
  631. package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerRequestPeriod.d.ts +0 -10
  632. package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerResponseParamsPeriod.d.ts +0 -10
  633. package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +0 -10
  634. package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +0 -10
  635. package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +0 -10
  636. package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +0 -10
  637. package/dist/serialization/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +0 -10
  638. package/dist/serialization/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +0 -10
  639. package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
  640. package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -10
  641. package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -10
  642. package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -10
  643. package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
  644. package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -10
  645. package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -10
  646. package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts +0 -10
  647. package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryUnit.d.ts +0 -10
  648. package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyStatus.d.ts +0 -10
  649. package/dist/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +0 -10
  650. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +0 -10
  651. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -10
  652. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +0 -10
  653. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +0 -10
  654. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -10
  655. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +0 -10
  656. package/dist/serialization/resources/events/types/ListEventsRequestEventTypesItem.d.ts +0 -10
  657. package/dist/serialization/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +0 -10
  658. package/dist/serialization/resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts +0 -10
  659. package/dist/serialization/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts +0 -10
  660. package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +0 -10
  661. package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +0 -10
  662. package/dist/serialization/resources/plans/types/CountPlansRequestPlanType.d.ts +0 -10
  663. package/dist/serialization/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +0 -10
  664. package/dist/serialization/resources/plans/types/CreatePlanRequestBodyPlanType.d.ts +0 -10
  665. package/dist/serialization/resources/plans/types/ListPlansRequestPlanType.d.ts +0 -10
  666. package/dist/serialization/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +0 -10
  667. package/dist/serialization/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +0 -10
  668. package/dist/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +0 -10
  669. package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +0 -10
  670. package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts +0 -10
  671. package/dist/serialization/types/CreateEntitlementReqCommonValueType.d.ts +0 -10
  672. package/dist/serialization/types/CreateEventRequestBodyEventType.d.ts +0 -10
  673. package/dist/serialization/types/CreditGrantDetailGrantReason.d.ts +0 -10
  674. package/dist/serialization/types/CreditGrantExpiryRequestBodyExpiryType.d.ts +0 -10
  675. package/dist/serialization/types/CreditGrantExpiryRequestBodyExpiryUnit.d.ts +0 -10
  676. package/dist/serialization/types/CreditGrantExpiryRequestBodyResetCadence.d.ts +0 -10
  677. package/dist/serialization/types/CreditGrantExpiryRequestBodyResetStart.d.ts +0 -10
  678. package/dist/serialization/types/CreditGrantExpiryRequestBodyResetType.d.ts +0 -10
  679. package/dist/serialization/types/FeatureCompanyResponseDataAllocationType.d.ts +0 -10
  680. package/dist/serialization/types/FeatureCompanyResponseDataCreditGrantReason.d.ts +0 -10
  681. package/dist/serialization/types/FeatureCompanyUserResponseDataAllocationType.d.ts +0 -10
  682. package/dist/serialization/types/FeatureUsageResponseDataAllocationType.d.ts +0 -10
  683. package/dist/serialization/types/FeatureUsageResponseDataCreditGrantReason.d.ts +0 -10
  684. package/dist/serialization/types/PlanChangeResponseDataActorType.d.ts +0 -10
  685. package/dist/serialization/types/TraitDefinitionEntityType.d.ts +0 -10
  686. package/dist/serialization/types/UpdateEntitlementReqCommonValueType.d.ts +0 -10
  687. package/dist/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +0 -10
@@ -40,7 +40,8 @@ export declare class Accesstokens {
40
40
  * await client.accesstokens.issueTemporaryAccessToken({
41
41
  * lookup: {
42
42
  * "key": "value"
43
- * }
43
+ * },
44
+ * resourceType: "company"
44
45
  * })
45
46
  */
46
47
  issueTemporaryAccessToken(request: Schematic.IssueTemporaryAccessTokenRequestBody, requestOptions?: Accesstokens.RequestOptions): core.HttpResponsePromise<Schematic.IssueTemporaryAccessTokenResponse>;
@@ -7,8 +7,7 @@
7
7
  * lookup: {
8
8
  * "key": "value"
9
9
  * },
10
- * resource_type: "value"
11
- *
10
+ * resourceType: "company"
12
11
  * }
13
12
  */
14
13
  export interface IssueTemporaryAccessTokenRequestBody {
@@ -10,6 +10,6 @@ import * as Schematic from "../../../../index";
10
10
  * }
11
11
  */
12
12
  export interface CreateEnvironmentRequestBody {
13
- environmentType: Schematic.CreateEnvironmentRequestBodyEnvironmentType;
13
+ environmentType: Schematic.EnvironmentType;
14
14
  name: string;
15
15
  }
@@ -7,6 +7,6 @@ import * as Schematic from "../../../../index";
7
7
  * {}
8
8
  */
9
9
  export interface UpdateEnvironmentRequestBody {
10
- environmentType?: Schematic.UpdateEnvironmentRequestBodyEnvironmentType;
10
+ environmentType?: Schematic.EnvironmentType;
11
11
  name?: string;
12
12
  }
@@ -13,10 +13,8 @@ export * from "./CountApiRequestsParams";
13
13
  export * from "./CountApiRequestsResponse";
14
14
  export * from "./ListEnvironmentsParams";
15
15
  export * from "./ListEnvironmentsResponse";
16
- export * from "./CreateEnvironmentRequestBodyEnvironmentType";
17
16
  export * from "./CreateEnvironmentResponse";
18
17
  export * from "./GetEnvironmentResponse";
19
- export * from "./UpdateEnvironmentRequestBodyEnvironmentType";
20
18
  export * from "./UpdateEnvironmentResponse";
21
19
  export * from "./DeleteEnvironmentResponse";
22
20
  export * from "./QuickstartResponse";
@@ -258,7 +258,7 @@ export declare class Billing {
258
258
  upsertPaymentMethod(request: Schematic.CreatePaymentMethodRequestBody, requestOptions?: Billing.RequestOptions): core.HttpResponsePromise<Schematic.UpsertPaymentMethodResponse>;
259
259
  private __upsertPaymentMethod;
260
260
  /**
261
- * @param {Schematic.SearchBillingPricesRequest} request
261
+ * @param {Schematic.ListBillingPricesRequest} request
262
262
  * @param {Billing.RequestOptions} requestOptions - Request-specific configuration.
263
263
  *
264
264
  * @throws {@link Schematic.BadRequestError}
@@ -268,22 +268,23 @@ export declare class Billing {
268
268
  * @throws {@link Schematic.InternalServerError}
269
269
  *
270
270
  * @example
271
- * await client.billing.searchBillingPrices({
271
+ * await client.billing.listBillingPrices({
272
272
  * forInitialPlan: true,
273
273
  * forTrialExpiryPlan: true,
274
- * productId: "product_id",
275
274
  * interval: "interval",
275
+ * isActive: true,
276
276
  * price: 1,
277
+ * productId: "product_id",
277
278
  * q: "q",
278
- * requiresPaymentMethod: true,
279
- * tiersMode: "volume",
279
+ * tiersMode: "graduated",
280
280
  * usageType: "licensed",
281
+ * withMeter: true,
281
282
  * limit: 1,
282
283
  * offset: 1
283
284
  * })
284
285
  */
285
- searchBillingPrices(request?: Schematic.SearchBillingPricesRequest, requestOptions?: Billing.RequestOptions): core.HttpResponsePromise<Schematic.SearchBillingPricesResponse>;
286
- private __searchBillingPrices;
286
+ listBillingPrices(request?: Schematic.ListBillingPricesRequest, requestOptions?: Billing.RequestOptions): core.HttpResponsePromise<Schematic.ListBillingPricesResponse>;
287
+ private __listBillingPrices;
287
288
  /**
288
289
  * @param {Schematic.CreateBillingPriceRequestBody} request
289
290
  * @param {Billing.RequestOptions} requestOptions - Request-specific configuration.
@@ -328,7 +329,7 @@ export declare class Billing {
328
329
  deleteBillingProduct(billingId: string, requestOptions?: Billing.RequestOptions): core.HttpResponsePromise<Schematic.DeleteBillingProductResponse>;
329
330
  private __deleteBillingProduct;
330
331
  /**
331
- * @param {Schematic.ListProductPricesRequest} request
332
+ * @param {Schematic.ListBillingProductPricesRequest} request
332
333
  * @param {Billing.RequestOptions} requestOptions - Request-specific configuration.
333
334
  *
334
335
  * @throws {@link Schematic.BadRequestError}
@@ -338,21 +339,23 @@ export declare class Billing {
338
339
  * @throws {@link Schematic.InternalServerError}
339
340
  *
340
341
  * @example
341
- * await client.billing.listProductPrices({
342
- * name: "name",
343
- * q: "q",
344
- * priceUsageType: "licensed",
345
- * withoutLinkedToPlan: true,
346
- * withOneTimeCharges: true,
347
- * withZeroPrice: true,
348
- * withPricesOnly: true,
342
+ * await client.billing.listBillingProductPrices({
343
+ * forInitialPlan: true,
344
+ * forTrialExpiryPlan: true,
345
+ * interval: "interval",
349
346
  * isActive: true,
347
+ * price: 1,
348
+ * productId: "product_id",
349
+ * q: "q",
350
+ * tiersMode: "graduated",
351
+ * usageType: "licensed",
352
+ * withMeter: true,
350
353
  * limit: 1,
351
354
  * offset: 1
352
355
  * })
353
356
  */
354
- listProductPrices(request?: Schematic.ListProductPricesRequest, requestOptions?: Billing.RequestOptions): core.HttpResponsePromise<Schematic.ListProductPricesResponse>;
355
- private __listProductPrices;
357
+ listBillingProductPrices(request?: Schematic.ListBillingProductPricesRequest, requestOptions?: Billing.RequestOptions): core.HttpResponsePromise<Schematic.ListBillingProductPricesResponse>;
358
+ private __listBillingProductPrices;
356
359
  /**
357
360
  * @param {string} billingId - billing_id
358
361
  * @param {Billing.RequestOptions} requestOptions - Request-specific configuration.
@@ -21,7 +21,7 @@ export interface CountBillingProductsRequest {
21
21
  ids?: string | string[];
22
22
  name?: string;
23
23
  q?: string;
24
- priceUsageType?: Schematic.CountBillingProductsRequestPriceUsageType;
24
+ priceUsageType?: Schematic.BillingPriceUsageType;
25
25
  /**
26
26
  * Filter products that are not linked to any plan
27
27
  */
@@ -20,7 +20,7 @@ import * as Schematic from "../../../../index";
20
20
  * }
21
21
  */
22
22
  export interface CreateBillingPriceRequestBody {
23
- billingScheme: Schematic.CreateBillingPriceRequestBodyBillingScheme;
23
+ billingScheme: Schematic.BillingPriceScheme;
24
24
  currency: string;
25
25
  externalAccountId: string;
26
26
  interval: string;
@@ -32,6 +32,6 @@ export interface CreateBillingPriceRequestBody {
32
32
  priceExternalId: string;
33
33
  priceTiers: Schematic.CreateBillingPriceTierRequestBody[];
34
34
  productExternalId: string;
35
- tiersMode?: Schematic.CreateBillingPriceRequestBodyTiersMode;
36
- usageType: Schematic.CreateBillingPriceRequestBodyUsageType;
35
+ tiersMode?: Schematic.BillingTiersMode;
36
+ usageType: Schematic.BillingPriceUsageType;
37
37
  }
@@ -29,6 +29,7 @@ import * as Schematic from "../../../../index";
29
29
  * }
30
30
  */
31
31
  export interface CreateBillingSubscriptionRequestBody {
32
+ applicationId?: string;
32
33
  cancelAt?: number;
33
34
  cancelAtPeriodEnd: boolean;
34
35
  currency: string;
@@ -46,5 +47,5 @@ export interface CreateBillingSubscriptionRequestBody {
46
47
  subscriptionExternalId: string;
47
48
  totalPrice: number;
48
49
  trialEnd?: number;
49
- trialEndSetting?: Schematic.CreateBillingSubscriptionRequestBodyTrialEndSetting;
50
+ trialEndSetting?: Schematic.BillingSubscriptionTrialEndSetting;
50
51
  }
@@ -7,18 +7,19 @@ import * as Schematic from "../../../../index";
7
7
  * {
8
8
  * forInitialPlan: true,
9
9
  * forTrialExpiryPlan: true,
10
- * productId: "product_id",
11
10
  * interval: "interval",
11
+ * isActive: true,
12
12
  * price: 1,
13
+ * productId: "product_id",
13
14
  * q: "q",
14
- * requiresPaymentMethod: true,
15
- * tiersMode: "volume",
15
+ * tiersMode: "graduated",
16
16
  * usageType: "licensed",
17
+ * withMeter: true,
17
18
  * limit: 1,
18
19
  * offset: 1
19
20
  * }
20
21
  */
21
- export interface SearchBillingPricesRequest {
22
+ export interface ListBillingPricesRequest {
22
23
  /**
23
24
  * Filter for prices valid for initial plans (free prices only)
24
25
  */
@@ -28,16 +29,21 @@ export interface SearchBillingPricesRequest {
28
29
  */
29
30
  forTrialExpiryPlan?: boolean;
30
31
  ids?: string | string[];
31
- productId?: string;
32
32
  interval?: string;
33
+ /**
34
+ * Filter for active prices on active products (defaults to true if not specified)
35
+ */
36
+ isActive?: boolean;
33
37
  price?: number;
38
+ productId?: string;
39
+ productIds?: string | string[];
34
40
  q?: string;
41
+ tiersMode?: Schematic.BillingTiersMode;
42
+ usageType?: Schematic.BillingPriceUsageType;
35
43
  /**
36
- * Filter for prices that require a payment method (inverse of ForInitialPlan)
44
+ * Filter for prices with a meter
37
45
  */
38
- requiresPaymentMethod?: boolean;
39
- tiersMode?: Schematic.SearchBillingPricesRequestTiersMode;
40
- usageType?: Schematic.SearchBillingPricesRequestUsageType;
46
+ withMeter?: boolean;
41
47
  /**
42
48
  * Page limit (default 100)
43
49
  */
@@ -0,0 +1,55 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Schematic from "../../../../index";
5
+ /**
6
+ * @example
7
+ * {
8
+ * forInitialPlan: true,
9
+ * forTrialExpiryPlan: true,
10
+ * interval: "interval",
11
+ * isActive: true,
12
+ * price: 1,
13
+ * productId: "product_id",
14
+ * q: "q",
15
+ * tiersMode: "graduated",
16
+ * usageType: "licensed",
17
+ * withMeter: true,
18
+ * limit: 1,
19
+ * offset: 1
20
+ * }
21
+ */
22
+ export interface ListBillingProductPricesRequest {
23
+ /**
24
+ * Filter for prices valid for initial plans (free prices only)
25
+ */
26
+ forInitialPlan?: boolean;
27
+ /**
28
+ * Filter for prices valid for trial expiry plans (free prices only)
29
+ */
30
+ forTrialExpiryPlan?: boolean;
31
+ ids?: string | string[];
32
+ interval?: string;
33
+ /**
34
+ * Filter for active prices on active products (defaults to true if not specified)
35
+ */
36
+ isActive?: boolean;
37
+ price?: number;
38
+ productId?: string;
39
+ productIds?: string | string[];
40
+ q?: string;
41
+ tiersMode?: Schematic.BillingTiersMode;
42
+ usageType?: Schematic.BillingPriceUsageType;
43
+ /**
44
+ * Filter for prices with a meter
45
+ */
46
+ withMeter?: boolean;
47
+ /**
48
+ * Page limit (default 100)
49
+ */
50
+ limit?: number;
51
+ /**
52
+ * Page offset (default 0)
53
+ */
54
+ offset?: number;
55
+ }
@@ -21,7 +21,7 @@ export interface ListBillingProductsRequest {
21
21
  ids?: string | string[];
22
22
  name?: string;
23
23
  q?: string;
24
- priceUsageType?: Schematic.ListBillingProductsRequestPriceUsageType;
24
+ priceUsageType?: Schematic.BillingPriceUsageType;
25
25
  /**
26
26
  * Filter products that are not linked to any plan
27
27
  */
@@ -9,9 +9,9 @@ export { type ListMetersRequest } from "./ListMetersRequest";
9
9
  export { type CreateMeterRequestBody } from "./CreateMeterRequestBody";
10
10
  export { type ListPaymentMethodsRequest } from "./ListPaymentMethodsRequest";
11
11
  export { type CreatePaymentMethodRequestBody } from "./CreatePaymentMethodRequestBody";
12
- export { type SearchBillingPricesRequest } from "./SearchBillingPricesRequest";
12
+ export { type ListBillingPricesRequest } from "./ListBillingPricesRequest";
13
13
  export { type CreateBillingPriceRequestBody } from "./CreateBillingPriceRequestBody";
14
- export { type ListProductPricesRequest } from "./ListProductPricesRequest";
14
+ export { type ListBillingProductPricesRequest } from "./ListBillingProductPricesRequest";
15
15
  export { type CreateBillingProductRequestBody } from "./CreateBillingProductRequestBody";
16
16
  export { type ListBillingProductsRequest } from "./ListBillingProductsRequest";
17
17
  export { type CountBillingProductsRequest } from "./CountBillingProductsRequest";
@@ -14,7 +14,7 @@ export interface CountBillingProductsParams {
14
14
  name?: string;
15
15
  /** Page offset (default 0) */
16
16
  offset?: number;
17
- priceUsageType?: Schematic.CountBillingProductsResponseParamsPriceUsageType;
17
+ priceUsageType?: Schematic.BillingPriceUsageType;
18
18
  q?: string;
19
19
  /** Filter products that are one time charges */
20
20
  withOneTimeCharges?: boolean;
@@ -5,22 +5,25 @@ import * as Schematic from "../../../index";
5
5
  /**
6
6
  * Input parameters
7
7
  */
8
- export interface SearchBillingPricesParams {
8
+ export interface ListBillingPricesParams {
9
9
  /** Filter for prices valid for initial plans (free prices only) */
10
10
  forInitialPlan?: boolean;
11
11
  /** Filter for prices valid for trial expiry plans (free prices only) */
12
12
  forTrialExpiryPlan?: boolean;
13
13
  ids?: string[];
14
14
  interval?: string;
15
+ /** Filter for active prices on active products (defaults to true if not specified) */
16
+ isActive?: boolean;
15
17
  /** Page limit (default 100) */
16
18
  limit?: number;
17
19
  /** Page offset (default 0) */
18
20
  offset?: number;
19
21
  price?: number;
20
22
  productId?: string;
23
+ productIds?: string[];
21
24
  q?: string;
22
- /** Filter for prices that require a payment method (inverse of ForInitialPlan) */
23
- requiresPaymentMethod?: boolean;
24
- tiersMode?: Schematic.SearchBillingPricesResponseParamsTiersMode;
25
- usageType?: Schematic.SearchBillingPricesResponseParamsUsageType;
25
+ tiersMode?: Schematic.BillingTiersMode;
26
+ usageType?: Schematic.BillingPriceUsageType;
27
+ /** Filter for prices with a meter */
28
+ withMeter?: boolean;
26
29
  }
@@ -2,8 +2,8 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Schematic from "../../../index";
5
- export interface SearchBillingPricesResponse {
5
+ export interface ListBillingPricesResponse {
6
6
  data: Schematic.BillingPriceView[];
7
7
  /** Input parameters */
8
- params: Schematic.SearchBillingPricesParams;
8
+ params: Schematic.ListBillingPricesParams;
9
9
  }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Schematic from "../../../index";
5
+ /**
6
+ * Input parameters
7
+ */
8
+ export interface ListBillingProductPricesParams {
9
+ /** Filter for prices valid for initial plans (free prices only) */
10
+ forInitialPlan?: boolean;
11
+ /** Filter for prices valid for trial expiry plans (free prices only) */
12
+ forTrialExpiryPlan?: boolean;
13
+ ids?: string[];
14
+ interval?: string;
15
+ /** Filter for active prices on active products (defaults to true if not specified) */
16
+ isActive?: boolean;
17
+ /** Page limit (default 100) */
18
+ limit?: number;
19
+ /** Page offset (default 0) */
20
+ offset?: number;
21
+ price?: number;
22
+ productId?: string;
23
+ productIds?: string[];
24
+ q?: string;
25
+ tiersMode?: Schematic.BillingTiersMode;
26
+ usageType?: Schematic.BillingPriceUsageType;
27
+ /** Filter for prices with a meter */
28
+ withMeter?: boolean;
29
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Schematic from "../../../index";
5
+ export interface ListBillingProductPricesResponse {
6
+ data: Schematic.BillingPriceView[];
7
+ /** Input parameters */
8
+ params: Schematic.ListBillingProductPricesParams;
9
+ }
@@ -14,7 +14,7 @@ export interface ListBillingProductsParams {
14
14
  name?: string;
15
15
  /** Page offset (default 0) */
16
16
  offset?: number;
17
- priceUsageType?: Schematic.ListBillingProductsResponseParamsPriceUsageType;
17
+ priceUsageType?: Schematic.BillingPriceUsageType;
18
18
  q?: string;
19
19
  /** Filter products that are one time charges */
20
20
  withOneTimeCharges?: boolean;
@@ -15,30 +15,16 @@ export * from "./UpsertBillingMeterResponse";
15
15
  export * from "./ListPaymentMethodsParams";
16
16
  export * from "./ListPaymentMethodsResponse";
17
17
  export * from "./UpsertPaymentMethodResponse";
18
- export * from "./SearchBillingPricesRequestTiersMode";
19
- export * from "./SearchBillingPricesRequestUsageType";
20
- export * from "./SearchBillingPricesResponseParamsTiersMode";
21
- export * from "./SearchBillingPricesResponseParamsUsageType";
22
- export * from "./SearchBillingPricesParams";
23
- export * from "./SearchBillingPricesResponse";
24
- export * from "./CreateBillingPriceRequestBodyBillingScheme";
25
- export * from "./CreateBillingPriceRequestBodyTiersMode";
26
- export * from "./CreateBillingPriceRequestBodyUsageType";
18
+ export * from "./ListBillingPricesParams";
19
+ export * from "./ListBillingPricesResponse";
27
20
  export * from "./UpsertBillingPriceResponse";
28
21
  export * from "./DeleteBillingProductResponse";
29
- export * from "./ListProductPricesRequestPriceUsageType";
30
- export * from "./ListProductPricesResponseParamsPriceUsageType";
31
- export * from "./ListProductPricesParams";
32
- export * from "./ListProductPricesResponse";
22
+ export * from "./ListBillingProductPricesParams";
23
+ export * from "./ListBillingProductPricesResponse";
33
24
  export * from "./DeleteProductPriceResponse";
34
25
  export * from "./UpsertBillingProductResponse";
35
- export * from "./ListBillingProductsRequestPriceUsageType";
36
- export * from "./ListBillingProductsResponseParamsPriceUsageType";
37
26
  export * from "./ListBillingProductsParams";
38
27
  export * from "./ListBillingProductsResponse";
39
- export * from "./CountBillingProductsRequestPriceUsageType";
40
- export * from "./CountBillingProductsResponseParamsPriceUsageType";
41
28
  export * from "./CountBillingProductsParams";
42
29
  export * from "./CountBillingProductsResponse";
43
- export * from "./CreateBillingSubscriptionRequestBodyTrialEndSetting";
44
30
  export * from "./UpsertBillingSubscriptionResponse";
@@ -163,6 +163,23 @@ export declare class Checkout {
163
163
  */
164
164
  previewManagePlan(request: Schematic.ManagePlanRequest, requestOptions?: Checkout.RequestOptions): core.HttpResponsePromise<Schematic.PreviewManagePlanResponse>;
165
165
  private __previewManagePlan;
166
+ /**
167
+ * @param {Schematic.CancelSubscriptionRequest} request
168
+ * @param {Checkout.RequestOptions} requestOptions - Request-specific configuration.
169
+ *
170
+ * @throws {@link Schematic.BadRequestError}
171
+ * @throws {@link Schematic.UnauthorizedError}
172
+ * @throws {@link Schematic.ForbiddenError}
173
+ * @throws {@link Schematic.NotFoundError}
174
+ * @throws {@link Schematic.InternalServerError}
175
+ *
176
+ * @example
177
+ * await client.checkout.cancelSubscription({
178
+ * companyId: "company_id"
179
+ * })
180
+ */
181
+ cancelSubscription(request: Schematic.CancelSubscriptionRequest, requestOptions?: Checkout.RequestOptions): core.HttpResponsePromise<Schematic.CancelSubscriptionResponse>;
182
+ private __cancelSubscription;
166
183
  /**
167
184
  * @param {string} subscriptionId - subscription_id
168
185
  * @param {Schematic.UpdateTrialEndRequestBody} request
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * companyId: "company_id"
8
+ * }
9
+ */
10
+ export interface CancelSubscriptionRequest {
11
+ /** If false, subscription cancels at period end. Defaults to true. */
12
+ cancelImmediately?: boolean;
13
+ companyId: string;
14
+ /** If true and cancel_immediately is true, issue prorated credit. Defaults to true. */
15
+ prorate?: boolean;
16
+ }
@@ -1,2 +1,3 @@
1
1
  export { type CheckoutDataRequestBody } from "./CheckoutDataRequestBody";
2
+ export { type CancelSubscriptionRequest } from "./CancelSubscriptionRequest";
2
3
  export { type UpdateTrialEndRequestBody } from "./UpdateTrialEndRequestBody";
@@ -2,8 +2,8 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Schematic from "../../../index";
5
- export interface ListProductPricesResponse {
6
- data: Schematic.BillingPriceResponseData[];
5
+ export interface CancelSubscriptionResponse {
6
+ data: Schematic.ManagePlanResponseResponseData;
7
7
  /** Input parameters */
8
- params: Schematic.ListProductPricesParams;
8
+ params: Record<string, unknown>;
9
9
  }
@@ -3,4 +3,5 @@ export * from "./GetCheckoutDataResponse";
3
3
  export * from "./PreviewCheckoutInternalResponse";
4
4
  export * from "./ManagePlanResponse";
5
5
  export * from "./PreviewManagePlanResponse";
6
+ export * from "./CancelSubscriptionResponse";
6
7
  export * from "./UpdateCustomerSubscriptionTrialEndResponse";
@@ -627,6 +627,7 @@ export declare class Companies {
627
627
  *
628
628
  * @example
629
629
  * await client.companies.updatePlanTraitsBulk({
630
+ * applyToExistingCompanies: true,
630
631
  * planId: "plan_id",
631
632
  * traits: [{
632
633
  * traitId: "trait_id",
@@ -35,11 +35,11 @@ export interface CountCompaniesForAdvancedFilterRequest {
35
35
  /**
36
36
  * Filter companies by one or more subscription statuses (active, canceled, expired, incomplete, incomplete_expired, past_due, paused, trialing, unpaid)
37
37
  */
38
- subscriptionStatuses?: string | string[];
38
+ subscriptionStatuses?: Schematic.SubscriptionStatus | Schematic.SubscriptionStatus[];
39
39
  /**
40
40
  * Filter companies by one or more subscription types (paid, free, trial)
41
41
  */
42
- subscriptionTypes?: string | string[];
42
+ subscriptionTypes?: Schematic.SubscriptionType | Schematic.SubscriptionType[];
43
43
  /**
44
44
  * Filter companies that have monetized subscriptions
45
45
  */
@@ -63,7 +63,7 @@ export interface CountCompaniesForAdvancedFilterRequest {
63
63
  /**
64
64
  * Direction to sort by (asc or desc)
65
65
  */
66
- sortOrderDirection?: Schematic.CountCompaniesForAdvancedFilterRequestSortOrderDirection;
66
+ sortOrderDirection?: Schematic.SortDirection;
67
67
  /**
68
68
  * Select the display columns to return (e.g. plan, subscription, users, last_seen_at)
69
69
  */
@@ -12,7 +12,7 @@ import * as Schematic from "../../../../index";
12
12
  * }
13
13
  */
14
14
  export interface CountEntityKeyDefinitionsRequest {
15
- entityType?: Schematic.CountEntityKeyDefinitionsRequestEntityType;
15
+ entityType?: Schematic.EntityType;
16
16
  ids?: string | string[];
17
17
  q?: string;
18
18
  /**
@@ -13,10 +13,11 @@ import * as Schematic from "../../../../index";
13
13
  * }
14
14
  */
15
15
  export interface CountEntityTraitDefinitionsRequest {
16
- entityType?: Schematic.CountEntityTraitDefinitionsRequestEntityType;
16
+ entityType?: Schematic.EntityType;
17
17
  ids?: string | string[];
18
18
  q?: string;
19
- traitType?: Schematic.CountEntityTraitDefinitionsRequestTraitType;
19
+ traitType?: Schematic.TraitType;
20
+ traitTypes?: Schematic.TraitType | Schematic.TraitType[];
20
21
  /**
21
22
  * Page limit (default 100)
22
23
  */
@@ -12,7 +12,7 @@ import * as Schematic from "../../../../index";
12
12
  */
13
13
  export interface CreateEntityTraitDefinitionRequestBody {
14
14
  displayName?: string;
15
- entityType: Schematic.CreateEntityTraitDefinitionRequestBodyEntityType;
15
+ entityType: Schematic.EntityType;
16
16
  hierarchy: string[];
17
- traitType: Schematic.CreateEntityTraitDefinitionRequestBodyTraitType;
17
+ traitType: Schematic.TraitType;
18
18
  }
@@ -35,11 +35,11 @@ export interface ListCompaniesForAdvancedFilterRequest {
35
35
  /**
36
36
  * Filter companies by one or more subscription statuses (active, canceled, expired, incomplete, incomplete_expired, past_due, paused, trialing, unpaid)
37
37
  */
38
- subscriptionStatuses?: string | string[];
38
+ subscriptionStatuses?: Schematic.SubscriptionStatus | Schematic.SubscriptionStatus[];
39
39
  /**
40
40
  * Filter companies by one or more subscription types (paid, free, trial)
41
41
  */
42
- subscriptionTypes?: string | string[];
42
+ subscriptionTypes?: Schematic.SubscriptionType | Schematic.SubscriptionType[];
43
43
  /**
44
44
  * Filter companies that have monetized subscriptions
45
45
  */
@@ -63,7 +63,7 @@ export interface ListCompaniesForAdvancedFilterRequest {
63
63
  /**
64
64
  * Direction to sort by (asc or desc)
65
65
  */
66
- sortOrderDirection?: Schematic.ListCompaniesForAdvancedFilterRequestSortOrderDirection;
66
+ sortOrderDirection?: Schematic.SortDirection;
67
67
  /**
68
68
  * Select the display columns to return (e.g. plan, subscription, users, last_seen_at)
69
69
  */
@@ -12,7 +12,7 @@ import * as Schematic from "../../../../index";
12
12
  * }
13
13
  */
14
14
  export interface ListEntityKeyDefinitionsRequest {
15
- entityType?: Schematic.ListEntityKeyDefinitionsRequestEntityType;
15
+ entityType?: Schematic.EntityType;
16
16
  ids?: string | string[];
17
17
  q?: string;
18
18
  /**
@@ -13,10 +13,11 @@ import * as Schematic from "../../../../index";
13
13
  * }
14
14
  */
15
15
  export interface ListEntityTraitDefinitionsRequest {
16
- entityType?: Schematic.ListEntityTraitDefinitionsRequestEntityType;
16
+ entityType?: Schematic.EntityType;
17
17
  ids?: string | string[];
18
18
  q?: string;
19
- traitType?: Schematic.ListEntityTraitDefinitionsRequestTraitType;
19
+ traitType?: Schematic.TraitType;
20
+ traitTypes?: Schematic.TraitType | Schematic.TraitType[];
20
21
  /**
21
22
  * Page limit (default 100)
22
23
  */
@@ -10,5 +10,5 @@ import * as Schematic from "../../../../index";
10
10
  */
11
11
  export interface UpdateEntityTraitDefinitionRequestBody {
12
12
  displayName?: string;
13
- traitType: Schematic.UpdateEntityTraitDefinitionRequestBodyTraitType;
13
+ traitType: Schematic.TraitType;
14
14
  }