@schematichq/schematic-typescript-node 1.2.7 → 1.3.1

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 (1521) hide show
  1. package/dist/BaseClient.d.ts +40 -0
  2. package/dist/Client.d.ts +55 -74
  3. package/dist/api/errors/BadRequestError.d.ts +2 -5
  4. package/dist/api/errors/ForbiddenError.d.ts +2 -5
  5. package/dist/api/errors/InternalServerError.d.ts +2 -5
  6. package/dist/api/errors/NotFoundError.d.ts +2 -5
  7. package/dist/api/errors/UnauthorizedError.d.ts +2 -5
  8. package/dist/api/errors/index.d.ts +2 -2
  9. package/dist/api/index.d.ts +1 -1
  10. package/dist/api/resources/accesstokens/client/Client.d.ts +11 -31
  11. package/dist/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +1 -6
  12. package/dist/api/resources/accesstokens/client/requests/index.d.ts +1 -1
  13. package/dist/api/resources/accesstokens/index.d.ts +1 -1
  14. package/dist/api/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.d.ts +1 -4
  15. package/dist/api/resources/accounts/client/Client.d.ts +45 -64
  16. package/dist/api/resources/accounts/client/requests/CountApiKeysRequest.d.ts +2 -9
  17. package/dist/api/resources/accounts/client/requests/CountApiRequestsRequest.d.ts +2 -9
  18. package/dist/api/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +0 -3
  19. package/dist/api/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +1 -4
  20. package/dist/api/resources/accounts/client/requests/ListApiKeysRequest.d.ts +2 -9
  21. package/dist/api/resources/accounts/client/requests/ListApiRequestsRequest.d.ts +2 -9
  22. package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +2 -9
  23. package/dist/api/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +0 -3
  24. package/dist/api/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +1 -4
  25. package/dist/api/resources/accounts/client/requests/index.d.ts +9 -9
  26. package/dist/api/resources/accounts/index.d.ts +1 -1
  27. package/dist/api/resources/accounts/types/CountApiKeysParams.d.ts +0 -3
  28. package/dist/api/resources/accounts/types/CountApiKeysResponse.d.ts +1 -4
  29. package/dist/api/resources/accounts/types/CountApiRequestsParams.d.ts +0 -3
  30. package/dist/api/resources/accounts/types/CountApiRequestsResponse.d.ts +1 -4
  31. package/dist/api/resources/accounts/types/CreateApiKeyResponse.d.ts +1 -4
  32. package/dist/api/resources/accounts/types/CreateEnvironmentResponse.d.ts +1 -4
  33. package/dist/api/resources/accounts/types/DeleteApiKeyResponse.d.ts +1 -4
  34. package/dist/api/resources/accounts/types/DeleteEnvironmentResponse.d.ts +1 -4
  35. package/dist/api/resources/accounts/types/GetApiKeyResponse.d.ts +1 -4
  36. package/dist/api/resources/accounts/types/GetApiRequestResponse.d.ts +1 -4
  37. package/dist/api/resources/accounts/types/GetEnvironmentResponse.d.ts +1 -4
  38. package/dist/api/resources/accounts/types/ListApiKeysParams.d.ts +0 -3
  39. package/dist/api/resources/accounts/types/ListApiKeysResponse.d.ts +1 -4
  40. package/dist/api/resources/accounts/types/ListApiRequestsParams.d.ts +0 -3
  41. package/dist/api/resources/accounts/types/ListApiRequestsResponse.d.ts +1 -4
  42. package/dist/api/resources/accounts/types/ListEnvironmentsParams.d.ts +0 -3
  43. package/dist/api/resources/accounts/types/ListEnvironmentsResponse.d.ts +1 -4
  44. package/dist/api/resources/accounts/types/QuickstartResponse.d.ts +1 -4
  45. package/dist/api/resources/accounts/types/UpdateApiKeyResponse.d.ts +1 -4
  46. package/dist/api/resources/accounts/types/UpdateEnvironmentResponse.d.ts +1 -4
  47. package/dist/api/resources/accounts/types/index.d.ts +13 -13
  48. package/dist/api/resources/billing/client/Client.d.ts +66 -82
  49. package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +18 -33
  50. package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +5 -11
  51. package/dist/api/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +2 -5
  52. package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -4
  53. package/dist/api/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +2 -3
  54. package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +3 -6
  55. package/dist/api/resources/billing/client/requests/CreateCouponRequestBody.d.ts +0 -3
  56. package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +0 -3
  57. package/dist/api/resources/billing/client/requests/CreateMeterRequestBody.d.ts +0 -3
  58. package/dist/api/resources/billing/client/requests/CreatePaymentMethodRequestBody.d.ts +0 -3
  59. package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +9 -22
  60. package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +9 -22
  61. package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +18 -33
  62. package/dist/api/resources/billing/client/requests/ListCouponsRequest.d.ts +2 -9
  63. package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +5 -11
  64. package/dist/api/resources/billing/client/requests/ListInvoicesRequest.d.ts +2 -9
  65. package/dist/api/resources/billing/client/requests/ListMetersRequest.d.ts +2 -9
  66. package/dist/api/resources/billing/client/requests/ListPaymentMethodsRequest.d.ts +2 -9
  67. package/dist/api/resources/billing/client/requests/index.d.ts +18 -18
  68. package/dist/api/resources/billing/index.d.ts +1 -1
  69. package/dist/api/resources/billing/types/CountBillingProductsParams.d.ts +3 -5
  70. package/dist/api/resources/billing/types/CountBillingProductsResponse.d.ts +1 -4
  71. package/dist/api/resources/billing/types/CountCustomersParams.d.ts +2 -4
  72. package/dist/api/resources/billing/types/CountCustomersResponse.d.ts +1 -4
  73. package/dist/api/resources/billing/types/DeleteBillingProductResponse.d.ts +1 -4
  74. package/dist/api/resources/billing/types/DeleteProductPriceResponse.d.ts +1 -4
  75. package/dist/api/resources/billing/types/ListBillingPricesParams.d.ts +2 -4
  76. package/dist/api/resources/billing/types/ListBillingPricesResponse.d.ts +1 -4
  77. package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +2 -4
  78. package/dist/api/resources/billing/types/ListBillingProductPricesResponse.d.ts +1 -4
  79. package/dist/api/resources/billing/types/ListBillingProductsParams.d.ts +3 -5
  80. package/dist/api/resources/billing/types/ListBillingProductsResponse.d.ts +1 -4
  81. package/dist/api/resources/billing/types/ListCouponsParams.d.ts +0 -3
  82. package/dist/api/resources/billing/types/ListCouponsResponse.d.ts +1 -4
  83. package/dist/api/resources/billing/types/ListCustomersWithSubscriptionsParams.d.ts +2 -4
  84. package/dist/api/resources/billing/types/ListCustomersWithSubscriptionsResponse.d.ts +1 -4
  85. package/dist/api/resources/billing/types/ListInvoicesParams.d.ts +0 -3
  86. package/dist/api/resources/billing/types/ListInvoicesResponse.d.ts +1 -4
  87. package/dist/api/resources/billing/types/ListMetersParams.d.ts +0 -3
  88. package/dist/api/resources/billing/types/ListMetersResponse.d.ts +1 -4
  89. package/dist/api/resources/billing/types/ListPaymentMethodsParams.d.ts +0 -3
  90. package/dist/api/resources/billing/types/ListPaymentMethodsResponse.d.ts +1 -4
  91. package/dist/api/resources/billing/types/UpsertBillingCouponResponse.d.ts +1 -4
  92. package/dist/api/resources/billing/types/UpsertBillingCustomerResponse.d.ts +1 -4
  93. package/dist/api/resources/billing/types/UpsertBillingMeterResponse.d.ts +1 -4
  94. package/dist/api/resources/billing/types/UpsertBillingPriceResponse.d.ts +1 -4
  95. package/dist/api/resources/billing/types/UpsertBillingProductResponse.d.ts +1 -4
  96. package/dist/api/resources/billing/types/UpsertBillingSubscriptionResponse.d.ts +1 -4
  97. package/dist/api/resources/billing/types/UpsertInvoiceResponse.d.ts +1 -4
  98. package/dist/api/resources/billing/types/UpsertPaymentMethodResponse.d.ts +1 -4
  99. package/dist/api/resources/billing/types/index.d.ts +17 -17
  100. package/dist/api/resources/checkout/client/Client.d.ts +23 -42
  101. package/dist/api/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +0 -3
  102. package/dist/api/resources/checkout/client/requests/CheckoutDataRequestBody.d.ts +0 -3
  103. package/dist/api/resources/checkout/client/requests/UpdateTrialEndRequestBody.d.ts +0 -3
  104. package/dist/api/resources/checkout/client/requests/index.d.ts +3 -3
  105. package/dist/api/resources/checkout/index.d.ts +1 -1
  106. package/dist/api/resources/checkout/types/CancelSubscriptionResponse.d.ts +1 -4
  107. package/dist/api/resources/checkout/types/CheckoutInternalResponse.d.ts +1 -4
  108. package/dist/api/resources/checkout/types/GetCheckoutDataResponse.d.ts +1 -4
  109. package/dist/api/resources/checkout/types/ManagePlanResponse.d.ts +1 -4
  110. package/dist/api/resources/checkout/types/PreviewCheckoutInternalResponse.d.ts +1 -4
  111. package/dist/api/resources/checkout/types/PreviewManagePlanResponse.d.ts +1 -4
  112. package/dist/api/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.d.ts +1 -4
  113. package/dist/api/resources/checkout/types/index.d.ts +2 -2
  114. package/dist/api/resources/companies/client/Client.d.ts +101 -140
  115. package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +16 -49
  116. package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +8 -27
  117. package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +3 -10
  118. package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +3 -10
  119. package/dist/api/resources/companies/client/requests/CountPlanTraitsRequest.d.ts +2 -9
  120. package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +6 -21
  121. package/dist/api/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +1 -4
  122. package/dist/api/resources/companies/client/requests/CreatePlanTraitRequestBody.d.ts +0 -3
  123. package/dist/api/resources/companies/client/requests/DeleteCompanyRequest.d.ts +0 -3
  124. package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +2 -9
  125. package/dist/api/resources/companies/client/requests/GetEntityTraitValuesRequest.d.ts +2 -9
  126. package/dist/api/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.d.ts +0 -3
  127. package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts +16 -49
  128. package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +8 -27
  129. package/dist/api/resources/companies/client/requests/ListCompanyMembershipsRequest.d.ts +2 -9
  130. package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +3 -10
  131. package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +3 -10
  132. package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +2 -9
  133. package/dist/api/resources/companies/client/requests/ListPlanTraitsRequest.d.ts +2 -9
  134. package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +6 -21
  135. package/dist/api/resources/companies/client/requests/LookupCompanyRequest.d.ts +1 -6
  136. package/dist/api/resources/companies/client/requests/LookupUserRequest.d.ts +1 -6
  137. package/dist/api/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +1 -4
  138. package/dist/api/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +1 -4
  139. package/dist/api/resources/companies/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -3
  140. package/dist/api/resources/companies/client/requests/index.d.ts +25 -26
  141. package/dist/api/resources/companies/index.d.ts +1 -1
  142. package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +1 -4
  143. package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +1 -4
  144. package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +0 -3
  145. package/dist/api/resources/companies/types/CountCompaniesResponse.d.ts +1 -4
  146. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +1 -4
  147. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponse.d.ts +1 -4
  148. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +1 -4
  149. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponse.d.ts +1 -4
  150. package/dist/api/resources/companies/types/CountPlanTraitsParams.d.ts +0 -3
  151. package/dist/api/resources/companies/types/CountPlanTraitsResponse.d.ts +1 -4
  152. package/dist/api/resources/companies/types/CountUsersParams.d.ts +0 -3
  153. package/dist/api/resources/companies/types/CountUsersResponse.d.ts +1 -4
  154. package/dist/api/resources/companies/types/CreateCompanyResponse.d.ts +1 -4
  155. package/dist/api/resources/companies/types/CreatePlanTraitResponse.d.ts +1 -4
  156. package/dist/api/resources/companies/types/CreateUserResponse.d.ts +1 -4
  157. package/dist/api/resources/companies/types/DeleteCompanyByKeysResponse.d.ts +1 -4
  158. package/dist/api/resources/companies/types/DeleteCompanyMembershipResponse.d.ts +1 -4
  159. package/dist/api/resources/companies/types/DeleteCompanyParams.d.ts +0 -3
  160. package/dist/api/resources/companies/types/DeleteCompanyResponse.d.ts +1 -4
  161. package/dist/api/resources/companies/types/DeletePlanTraitResponse.d.ts +1 -4
  162. package/dist/api/resources/companies/types/DeleteUserByKeysResponse.d.ts +1 -4
  163. package/dist/api/resources/companies/types/DeleteUserResponse.d.ts +1 -4
  164. package/dist/api/resources/companies/types/GetActiveCompanySubscriptionParams.d.ts +0 -3
  165. package/dist/api/resources/companies/types/GetActiveCompanySubscriptionResponse.d.ts +1 -4
  166. package/dist/api/resources/companies/types/GetCompanyResponse.d.ts +1 -4
  167. package/dist/api/resources/companies/types/GetEntityTraitDefinitionResponse.d.ts +1 -4
  168. package/dist/api/resources/companies/types/GetEntityTraitValuesParams.d.ts +0 -3
  169. package/dist/api/resources/companies/types/GetEntityTraitValuesResponse.d.ts +1 -4
  170. package/dist/api/resources/companies/types/GetOrCreateCompanyMembershipResponse.d.ts +1 -4
  171. package/dist/api/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.d.ts +1 -4
  172. package/dist/api/resources/companies/types/GetPlanChangeResponse.d.ts +1 -4
  173. package/dist/api/resources/companies/types/GetPlanTraitResponse.d.ts +1 -4
  174. package/dist/api/resources/companies/types/GetUserResponse.d.ts +1 -4
  175. package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +1 -4
  176. package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +1 -4
  177. package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +0 -3
  178. package/dist/api/resources/companies/types/ListCompaniesResponse.d.ts +1 -4
  179. package/dist/api/resources/companies/types/ListCompanyMembershipsParams.d.ts +0 -3
  180. package/dist/api/resources/companies/types/ListCompanyMembershipsResponse.d.ts +1 -4
  181. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +1 -4
  182. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponse.d.ts +1 -4
  183. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +1 -4
  184. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponse.d.ts +1 -4
  185. package/dist/api/resources/companies/types/ListPlanChangesParams.d.ts +0 -3
  186. package/dist/api/resources/companies/types/ListPlanChangesResponse.d.ts +1 -4
  187. package/dist/api/resources/companies/types/ListPlanTraitsParams.d.ts +0 -3
  188. package/dist/api/resources/companies/types/ListPlanTraitsResponse.d.ts +1 -4
  189. package/dist/api/resources/companies/types/ListUsersParams.d.ts +0 -3
  190. package/dist/api/resources/companies/types/ListUsersResponse.d.ts +1 -4
  191. package/dist/api/resources/companies/types/LookupCompanyParams.d.ts +0 -3
  192. package/dist/api/resources/companies/types/LookupCompanyResponse.d.ts +1 -4
  193. package/dist/api/resources/companies/types/LookupUserParams.d.ts +0 -3
  194. package/dist/api/resources/companies/types/LookupUserResponse.d.ts +1 -4
  195. package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionResponse.d.ts +1 -4
  196. package/dist/api/resources/companies/types/UpdatePlanTraitResponse.d.ts +1 -4
  197. package/dist/api/resources/companies/types/UpdatePlanTraitsBulkResponse.d.ts +1 -4
  198. package/dist/api/resources/companies/types/UpsertCompanyResponse.d.ts +1 -4
  199. package/dist/api/resources/companies/types/UpsertCompanyTraitResponse.d.ts +1 -4
  200. package/dist/api/resources/companies/types/UpsertUserResponse.d.ts +1 -4
  201. package/dist/api/resources/companies/types/UpsertUserTraitResponse.d.ts +1 -4
  202. package/dist/api/resources/companies/types/index.d.ts +40 -42
  203. package/dist/api/resources/components/client/Client.d.ts +25 -44
  204. package/dist/api/resources/components/client/requests/CountComponentsRequest.d.ts +2 -9
  205. package/dist/api/resources/components/client/requests/CreateComponentRequestBody.d.ts +1 -4
  206. package/dist/api/resources/components/client/requests/ListComponentsRequest.d.ts +2 -9
  207. package/dist/api/resources/components/client/requests/PreviewComponentDataRequest.d.ts +0 -3
  208. package/dist/api/resources/components/client/requests/UpdateComponentRequestBody.d.ts +1 -4
  209. package/dist/api/resources/components/client/requests/index.d.ts +5 -5
  210. package/dist/api/resources/components/index.d.ts +1 -1
  211. package/dist/api/resources/components/types/CountComponentsParams.d.ts +0 -3
  212. package/dist/api/resources/components/types/CountComponentsResponse.d.ts +1 -4
  213. package/dist/api/resources/components/types/CreateComponentResponse.d.ts +1 -4
  214. package/dist/api/resources/components/types/DeleteComponentResponse.d.ts +1 -4
  215. package/dist/api/resources/components/types/GetComponentResponse.d.ts +1 -4
  216. package/dist/api/resources/components/types/ListComponentsParams.d.ts +0 -3
  217. package/dist/api/resources/components/types/ListComponentsResponse.d.ts +1 -4
  218. package/dist/api/resources/components/types/PreviewComponentDataParams.d.ts +0 -3
  219. package/dist/api/resources/components/types/PreviewComponentDataResponse.d.ts +1 -4
  220. package/dist/api/resources/components/types/UpdateComponentResponse.d.ts +1 -4
  221. package/dist/api/resources/components/types/index.d.ts +6 -6
  222. package/dist/api/resources/credits/client/Client.d.ts +86 -84
  223. package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +2 -9
  224. package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +2 -9
  225. package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +2 -9
  226. package/dist/api/resources/credits/client/requests/CountCompanyGrantsRequest.d.ts +20 -0
  227. package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +3 -10
  228. package/dist/api/resources/credits/client/requests/CountCreditLedgerRequest.d.ts +3 -10
  229. package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +1 -4
  230. package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +1 -4
  231. package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +1 -4
  232. package/dist/api/resources/credits/client/requests/DeleteBillingPlanCreditGrantRequest.d.ts +0 -3
  233. package/dist/api/resources/credits/client/requests/GetEnrichedCreditLedgerRequest.d.ts +3 -10
  234. package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +2 -9
  235. package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +2 -9
  236. package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +3 -10
  237. package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +3 -10
  238. package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +2 -9
  239. package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +1 -4
  240. package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +1 -4
  241. package/dist/api/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +1 -4
  242. package/dist/api/resources/credits/client/requests/index.d.ts +19 -20
  243. package/dist/api/resources/credits/index.d.ts +1 -1
  244. package/dist/api/resources/credits/types/CountBillingCreditsGrantsParams.d.ts +0 -3
  245. package/dist/api/resources/credits/types/CountBillingCreditsGrantsResponse.d.ts +1 -4
  246. package/dist/api/resources/credits/types/CountBillingCreditsParams.d.ts +0 -3
  247. package/dist/api/resources/credits/types/CountBillingCreditsResponse.d.ts +1 -4
  248. package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +0 -3
  249. package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsResponse.d.ts +1 -4
  250. package/dist/api/resources/credits/types/CountCompanyGrantsParams.d.ts +13 -0
  251. package/dist/api/resources/credits/types/CountCompanyGrantsResponse.d.ts +6 -0
  252. package/dist/api/resources/credits/types/CountCreditBundlesParams.d.ts +1 -4
  253. package/dist/api/resources/credits/types/CountCreditBundlesResponse.d.ts +1 -4
  254. package/dist/api/resources/credits/types/CountCreditLedgerParams.d.ts +1 -4
  255. package/dist/api/resources/credits/types/CountCreditLedgerResponse.d.ts +1 -4
  256. package/dist/api/resources/credits/types/CreateBillingCreditResponse.d.ts +1 -4
  257. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantResponse.d.ts +1 -4
  258. package/dist/api/resources/credits/types/CreateCreditBundleResponse.d.ts +1 -4
  259. package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantParams.d.ts +0 -3
  260. package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +1 -4
  261. package/dist/api/resources/credits/types/DeleteCreditBundleResponse.d.ts +1 -4
  262. package/dist/api/resources/credits/types/GetCreditBundleResponse.d.ts +1 -4
  263. package/dist/api/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +1 -4
  264. package/dist/api/resources/credits/types/GetEnrichedCreditLedgerResponse.d.ts +1 -4
  265. package/dist/api/resources/credits/types/GetSingleBillingCreditResponse.d.ts +1 -4
  266. package/dist/api/resources/credits/types/GrantBillingCreditsToCompanyResponse.d.ts +1 -4
  267. package/dist/api/resources/credits/types/ListBillingCreditsParams.d.ts +0 -3
  268. package/dist/api/resources/credits/types/ListBillingCreditsResponse.d.ts +1 -4
  269. package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +0 -3
  270. package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +1 -4
  271. package/dist/api/resources/credits/types/ListCompanyGrantsParams.d.ts +1 -4
  272. package/dist/api/resources/credits/types/ListCompanyGrantsResponse.d.ts +1 -4
  273. package/dist/api/resources/credits/types/ListCreditBundlesParams.d.ts +1 -4
  274. package/dist/api/resources/credits/types/ListCreditBundlesResponse.d.ts +1 -4
  275. package/dist/api/resources/credits/types/ListGrantsForCreditParams.d.ts +0 -3
  276. package/dist/api/resources/credits/types/ListGrantsForCreditResponse.d.ts +1 -4
  277. package/dist/api/resources/credits/types/SoftDeleteBillingCreditResponse.d.ts +1 -4
  278. package/dist/api/resources/credits/types/UpdateBillingCreditResponse.d.ts +1 -4
  279. package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantResponse.d.ts +1 -4
  280. package/dist/api/resources/credits/types/UpdateCreditBundleDetailsResponse.d.ts +1 -4
  281. package/dist/api/resources/credits/types/ZeroOutGrantResponse.d.ts +1 -4
  282. package/dist/api/resources/credits/types/index.d.ts +29 -27
  283. package/dist/api/resources/dataexports/client/Client.d.ts +13 -34
  284. package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +1 -6
  285. package/dist/api/resources/dataexports/client/requests/index.d.ts +1 -1
  286. package/dist/api/resources/dataexports/index.d.ts +1 -1
  287. package/dist/api/resources/dataexports/types/CreateDataExportResponse.d.ts +1 -4
  288. package/dist/api/resources/entitlements/client/Client.d.ts +56 -73
  289. package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +9 -30
  290. package/dist/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.d.ts +2 -9
  291. package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +5 -9
  292. package/dist/api/resources/entitlements/client/requests/CountFeatureUsersRequest.d.ts +2 -9
  293. package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +9 -30
  294. package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -4
  295. package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +1 -4
  296. package/dist/api/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +0 -3
  297. package/dist/api/resources/entitlements/client/requests/GetFeatureUsageByCompanyRequest.d.ts +1 -6
  298. package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +9 -30
  299. package/dist/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.d.ts +2 -9
  300. package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +5 -9
  301. package/dist/api/resources/entitlements/client/requests/ListFeatureUsersRequest.d.ts +2 -9
  302. package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +9 -30
  303. package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -4
  304. package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +1 -4
  305. package/dist/api/resources/entitlements/client/requests/index.d.ts +16 -16
  306. package/dist/api/resources/entitlements/index.d.ts +1 -1
  307. package/dist/api/resources/entitlements/types/CountCompanyOverridesParams.d.ts +0 -3
  308. package/dist/api/resources/entitlements/types/CountCompanyOverridesResponse.d.ts +1 -4
  309. package/dist/api/resources/entitlements/types/CountFeatureCompaniesParams.d.ts +0 -3
  310. package/dist/api/resources/entitlements/types/CountFeatureCompaniesResponse.d.ts +1 -4
  311. package/dist/api/resources/entitlements/types/CountFeatureUsageParams.d.ts +2 -3
  312. package/dist/api/resources/entitlements/types/CountFeatureUsageResponse.d.ts +1 -4
  313. package/dist/api/resources/entitlements/types/CountFeatureUsersParams.d.ts +0 -3
  314. package/dist/api/resources/entitlements/types/CountFeatureUsersResponse.d.ts +1 -4
  315. package/dist/api/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +0 -3
  316. package/dist/api/resources/entitlements/types/CountPlanEntitlementsResponse.d.ts +1 -4
  317. package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -4
  318. package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +1 -4
  319. package/dist/api/resources/entitlements/types/CreateCompanyOverrideResponse.d.ts +1 -4
  320. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -4
  321. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +1 -4
  322. package/dist/api/resources/entitlements/types/CreatePlanEntitlementResponse.d.ts +1 -4
  323. package/dist/api/resources/entitlements/types/DeleteCompanyOverrideResponse.d.ts +1 -4
  324. package/dist/api/resources/entitlements/types/DeletePlanEntitlementResponse.d.ts +1 -4
  325. package/dist/api/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts +1 -4
  326. package/dist/api/resources/entitlements/types/GetCompanyOverrideResponse.d.ts +1 -4
  327. package/dist/api/resources/entitlements/types/GetFeatureUsageByCompanyParams.d.ts +0 -3
  328. package/dist/api/resources/entitlements/types/GetFeatureUsageByCompanyResponse.d.ts +1 -4
  329. package/dist/api/resources/entitlements/types/GetPlanEntitlementResponse.d.ts +1 -4
  330. package/dist/api/resources/entitlements/types/ListCompanyOverridesParams.d.ts +0 -3
  331. package/dist/api/resources/entitlements/types/ListCompanyOverridesResponse.d.ts +1 -4
  332. package/dist/api/resources/entitlements/types/ListFeatureCompaniesParams.d.ts +0 -3
  333. package/dist/api/resources/entitlements/types/ListFeatureCompaniesResponse.d.ts +1 -4
  334. package/dist/api/resources/entitlements/types/ListFeatureUsageParams.d.ts +2 -3
  335. package/dist/api/resources/entitlements/types/ListFeatureUsageResponse.d.ts +1 -4
  336. package/dist/api/resources/entitlements/types/ListFeatureUsersParams.d.ts +0 -3
  337. package/dist/api/resources/entitlements/types/ListFeatureUsersResponse.d.ts +1 -4
  338. package/dist/api/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +0 -3
  339. package/dist/api/resources/entitlements/types/ListPlanEntitlementsResponse.d.ts +1 -4
  340. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -4
  341. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +1 -4
  342. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideResponse.d.ts +1 -4
  343. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -4
  344. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +1 -4
  345. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementResponse.d.ts +1 -4
  346. package/dist/api/resources/entitlements/types/index.d.ts +24 -24
  347. package/dist/api/resources/events/client/Client.d.ts +21 -40
  348. package/dist/api/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +1 -4
  349. package/dist/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +2 -9
  350. package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +3 -10
  351. package/dist/api/resources/events/client/requests/index.d.ts +3 -3
  352. package/dist/api/resources/events/index.d.ts +1 -1
  353. package/dist/api/resources/events/types/CreateEventBatchResponse.d.ts +1 -4
  354. package/dist/api/resources/events/types/CreateEventResponse.d.ts +1 -4
  355. package/dist/api/resources/events/types/GetEventResponse.d.ts +1 -4
  356. package/dist/api/resources/events/types/GetEventSummariesParams.d.ts +0 -3
  357. package/dist/api/resources/events/types/GetEventSummariesResponse.d.ts +1 -4
  358. package/dist/api/resources/events/types/GetSegmentIntegrationStatusResponse.d.ts +1 -4
  359. package/dist/api/resources/events/types/ListEventsParams.d.ts +1 -4
  360. package/dist/api/resources/events/types/ListEventsResponse.d.ts +1 -4
  361. package/dist/api/resources/events/types/index.d.ts +3 -3
  362. package/dist/api/resources/features/client/Client.d.ts +47 -66
  363. package/dist/api/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +1 -4
  364. package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +8 -25
  365. package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +3 -12
  366. package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -4
  367. package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +8 -25
  368. package/dist/api/resources/features/client/requests/ListFlagsRequest.d.ts +3 -12
  369. package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +1 -4
  370. package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +1 -4
  371. package/dist/api/resources/features/client/requests/index.d.ts +8 -8
  372. package/dist/api/resources/features/index.d.ts +1 -1
  373. package/dist/api/resources/features/types/CheckFlagResponse.d.ts +1 -4
  374. package/dist/api/resources/features/types/CheckFlagsBulkResponse.d.ts +1 -4
  375. package/dist/api/resources/features/types/CheckFlagsResponse.d.ts +1 -4
  376. package/dist/api/resources/features/types/CountFeaturesParams.d.ts +1 -4
  377. package/dist/api/resources/features/types/CountFeaturesResponse.d.ts +1 -4
  378. package/dist/api/resources/features/types/CountFlagsParams.d.ts +0 -3
  379. package/dist/api/resources/features/types/CountFlagsResponse.d.ts +1 -4
  380. package/dist/api/resources/features/types/CreateFeatureResponse.d.ts +1 -4
  381. package/dist/api/resources/features/types/CreateFlagResponse.d.ts +1 -4
  382. package/dist/api/resources/features/types/DeleteFeatureResponse.d.ts +1 -4
  383. package/dist/api/resources/features/types/DeleteFlagResponse.d.ts +1 -4
  384. package/dist/api/resources/features/types/GetFeatureResponse.d.ts +1 -4
  385. package/dist/api/resources/features/types/GetFlagResponse.d.ts +1 -4
  386. package/dist/api/resources/features/types/ListFeaturesParams.d.ts +1 -4
  387. package/dist/api/resources/features/types/ListFeaturesResponse.d.ts +1 -4
  388. package/dist/api/resources/features/types/ListFlagsParams.d.ts +0 -3
  389. package/dist/api/resources/features/types/ListFlagsResponse.d.ts +1 -4
  390. package/dist/api/resources/features/types/UpdateFeatureResponse.d.ts +1 -4
  391. package/dist/api/resources/features/types/UpdateFlagResponse.d.ts +1 -4
  392. package/dist/api/resources/features/types/UpdateFlagRulesResponse.d.ts +1 -4
  393. package/dist/api/resources/features/types/index.d.ts +14 -14
  394. package/dist/api/resources/index.d.ts +25 -25
  395. package/dist/api/resources/planbundle/client/Client.d.ts +52 -0
  396. package/dist/api/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +16 -0
  397. package/dist/api/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +16 -0
  398. package/dist/api/resources/planbundle/client/requests/index.d.ts +2 -0
  399. package/dist/api/resources/planbundle/types/CreatePlanBundleResponse.d.ts +6 -0
  400. package/dist/api/resources/planbundle/types/UpdatePlanBundleResponse.d.ts +6 -0
  401. package/dist/api/resources/planbundle/types/index.d.ts +2 -0
  402. package/dist/api/resources/plangroups/client/Client.d.ts +15 -34
  403. package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -4
  404. package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -4
  405. package/dist/api/resources/plangroups/client/requests/index.d.ts +2 -2
  406. package/dist/api/resources/plangroups/index.d.ts +1 -1
  407. package/dist/api/resources/plangroups/types/CreatePlanGroupResponse.d.ts +1 -4
  408. package/dist/api/resources/plangroups/types/GetPlanGroupResponse.d.ts +1 -4
  409. package/dist/api/resources/plangroups/types/UpdatePlanGroupResponse.d.ts +1 -4
  410. package/dist/api/resources/plangroups/types/index.d.ts +1 -1
  411. package/dist/api/resources/plans/client/Client.d.ts +31 -50
  412. package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +10 -31
  413. package/dist/api/resources/plans/client/requests/ListPlanIssuesRequest.d.ts +0 -3
  414. package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +10 -31
  415. package/dist/api/resources/plans/client/requests/UpdateCompanyPlansRequestBody.d.ts +0 -3
  416. package/dist/api/resources/plans/client/requests/index.d.ts +4 -7
  417. package/dist/api/resources/plans/index.d.ts +1 -1
  418. package/dist/api/resources/plans/types/CountPlansParams.d.ts +1 -4
  419. package/dist/api/resources/plans/types/CountPlansResponse.d.ts +1 -4
  420. package/dist/api/resources/plans/types/CreatePlanResponse.d.ts +1 -4
  421. package/dist/api/resources/plans/types/DeletePlanResponse.d.ts +1 -4
  422. package/dist/api/resources/plans/types/GetPlanResponse.d.ts +1 -4
  423. package/dist/api/resources/plans/types/ListPlanIssuesParams.d.ts +0 -3
  424. package/dist/api/resources/plans/types/ListPlanIssuesResponse.d.ts +1 -4
  425. package/dist/api/resources/plans/types/ListPlansParams.d.ts +1 -4
  426. package/dist/api/resources/plans/types/ListPlansResponse.d.ts +1 -4
  427. package/dist/api/resources/plans/types/UpdateCompanyPlansResponse.d.ts +1 -4
  428. package/dist/api/resources/plans/types/UpdatePlanResponse.d.ts +1 -4
  429. package/dist/api/resources/plans/types/UpsertBillingProductPlanResponse.d.ts +1 -4
  430. package/dist/api/resources/plans/types/index.d.ts +8 -8
  431. package/dist/api/resources/webhooks/client/Client.d.ts +30 -49
  432. package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +2 -9
  433. package/dist/api/resources/webhooks/client/requests/CountWebhooksRequest.d.ts +2 -9
  434. package/dist/api/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +1 -4
  435. package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +2 -9
  436. package/dist/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +2 -9
  437. package/dist/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +1 -4
  438. package/dist/api/resources/webhooks/client/requests/index.d.ts +6 -6
  439. package/dist/api/resources/webhooks/index.d.ts +1 -1
  440. package/dist/api/resources/webhooks/types/CountWebhookEventsParams.d.ts +0 -3
  441. package/dist/api/resources/webhooks/types/CountWebhookEventsResponse.d.ts +1 -4
  442. package/dist/api/resources/webhooks/types/CountWebhooksParams.d.ts +0 -3
  443. package/dist/api/resources/webhooks/types/CountWebhooksResponse.d.ts +1 -4
  444. package/dist/api/resources/webhooks/types/CreateWebhookResponse.d.ts +1 -4
  445. package/dist/api/resources/webhooks/types/DeleteWebhookResponse.d.ts +1 -4
  446. package/dist/api/resources/webhooks/types/GetWebhookEventResponse.d.ts +1 -4
  447. package/dist/api/resources/webhooks/types/GetWebhookResponse.d.ts +1 -4
  448. package/dist/api/resources/webhooks/types/ListWebhookEventsParams.d.ts +0 -3
  449. package/dist/api/resources/webhooks/types/ListWebhookEventsResponse.d.ts +1 -4
  450. package/dist/api/resources/webhooks/types/ListWebhooksParams.d.ts +0 -3
  451. package/dist/api/resources/webhooks/types/ListWebhooksResponse.d.ts +1 -4
  452. package/dist/api/resources/webhooks/types/UpdateWebhookResponse.d.ts +1 -4
  453. package/dist/api/resources/webhooks/types/index.d.ts +8 -8
  454. package/dist/api/types/ApiError.d.ts +0 -3
  455. package/dist/api/types/ApiKeyCreateResponseData.d.ts +1 -4
  456. package/dist/api/types/ApiKeyRequestListResponseData.d.ts +0 -3
  457. package/dist/api/types/ApiKeyRequestResponseData.d.ts +1 -4
  458. package/dist/api/types/ApiKeyResponseData.d.ts +1 -4
  459. package/dist/api/types/ApiKeyScope.d.ts +1 -4
  460. package/dist/api/types/BillingCouponResponseData.d.ts +2 -3
  461. package/dist/api/types/BillingCreditBundleResponseData.d.ts +1 -4
  462. package/dist/api/types/BillingCreditBundleStatus.d.ts +1 -4
  463. package/dist/api/types/BillingCreditBundleType.d.ts +0 -3
  464. package/dist/api/types/BillingCreditBundleView.d.ts +1 -4
  465. package/dist/api/types/BillingCreditBurnStrategy.d.ts +1 -4
  466. package/dist/api/types/BillingCreditExpiryType.d.ts +1 -4
  467. package/dist/api/types/BillingCreditExpiryUnit.d.ts +1 -4
  468. package/dist/api/types/BillingCreditGrantReason.d.ts +1 -4
  469. package/dist/api/types/BillingCreditGrantResponseData.d.ts +4 -4
  470. package/dist/api/types/BillingCreditGrantZeroedOutReason.d.ts +1 -4
  471. package/dist/api/types/BillingCreditLedgerResponseData.d.ts +0 -3
  472. package/dist/api/types/BillingCreditResponseData.d.ts +1 -4
  473. package/dist/api/types/BillingCreditRolloverPolicy.d.ts +1 -4
  474. package/dist/api/types/BillingCustomerResponseData.d.ts +2 -4
  475. package/dist/api/types/BillingCustomerSubscription.d.ts +0 -3
  476. package/dist/api/types/BillingCustomerWithSubscriptionsResponseData.d.ts +2 -5
  477. package/dist/api/types/BillingMeterResponseData.d.ts +2 -3
  478. package/dist/api/types/BillingPlanCreditGrantResetCadence.d.ts +1 -4
  479. package/dist/api/types/BillingPlanCreditGrantResetStart.d.ts +1 -4
  480. package/dist/api/types/BillingPlanCreditGrantResetType.d.ts +1 -4
  481. package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +1 -4
  482. package/dist/api/types/BillingPriceResponseData.d.ts +2 -4
  483. package/dist/api/types/BillingPriceScheme.d.ts +1 -4
  484. package/dist/api/types/BillingPriceUsageType.d.ts +1 -4
  485. package/dist/api/types/BillingPriceView.d.ts +2 -4
  486. package/dist/api/types/BillingProductDetailResponseData.d.ts +2 -4
  487. package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +2 -4
  488. package/dist/api/types/BillingProductPlanResponseData.d.ts +1 -4
  489. package/dist/api/types/BillingProductPriceInterval.d.ts +1 -4
  490. package/dist/api/types/BillingProductPriceResponseData.d.ts +2 -4
  491. package/dist/api/types/BillingProductPriceTierResponseData.d.ts +0 -3
  492. package/dist/api/types/BillingProductPricing.d.ts +1 -4
  493. package/dist/api/types/BillingProductResponseData.d.ts +2 -3
  494. package/dist/api/types/BillingProviderType.d.ts +5 -0
  495. package/dist/api/types/BillingSubscriptionDiscount.d.ts +0 -3
  496. package/dist/api/types/BillingSubscriptionDiscountView.d.ts +0 -3
  497. package/dist/api/types/BillingSubscriptionResponseData.d.ts +2 -4
  498. package/dist/api/types/BillingSubscriptionTrialEndSetting.d.ts +1 -4
  499. package/dist/api/types/BillingSubscriptionView.d.ts +2 -4
  500. package/dist/api/types/BillingTiersMode.d.ts +1 -4
  501. package/dist/api/types/ChangeSubscriptionInternalRequestBody.d.ts +1 -4
  502. package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +1 -4
  503. package/dist/api/types/ChargeType.d.ts +1 -4
  504. package/dist/api/types/CheckFlagRequestBody.d.ts +0 -3
  505. package/dist/api/types/CheckFlagResponseData.d.ts +0 -3
  506. package/dist/api/types/CheckFlagsBulkResponseData.d.ts +1 -4
  507. package/dist/api/types/CheckFlagsResponseData.d.ts +1 -4
  508. package/dist/api/types/CheckoutDataResponseData.d.ts +1 -4
  509. package/dist/api/types/CheckoutSettingsResponseData.d.ts +0 -3
  510. package/dist/api/types/CheckoutSubscription.d.ts +2 -4
  511. package/dist/api/types/CompanyDetailResponseData.d.ts +1 -4
  512. package/dist/api/types/CompanyEventPeriodMetricsResponseData.d.ts +0 -3
  513. package/dist/api/types/CompanyLedgerResponseData.d.ts +0 -3
  514. package/dist/api/types/CompanyMembershipDetailResponseData.d.ts +1 -4
  515. package/dist/api/types/CompanyMembershipResponseData.d.ts +0 -3
  516. package/dist/api/types/CompanyOverrideNoteResponseData.d.ts +0 -3
  517. package/dist/api/types/CompanyOverrideResponseData.d.ts +1 -4
  518. package/dist/api/types/CompanyPlanDetailResponseData.d.ts +2 -4
  519. package/dist/api/types/CompanyPlanInvalidReason.d.ts +1 -4
  520. package/dist/api/types/CompanyPlanWithBillingSubView.d.ts +2 -4
  521. package/dist/api/types/CompanyResponseData.d.ts +0 -3
  522. package/dist/api/types/CompanySubscriptionResponseData.d.ts +1 -4
  523. package/dist/api/types/CompanyViewWithFeatureUsageResponseData.d.ts +1 -4
  524. package/dist/api/types/CompatiblePlans.d.ts +0 -3
  525. package/dist/api/types/CompatiblePlansResponseData.d.ts +0 -3
  526. package/dist/api/types/ComponentCapabilities.d.ts +0 -3
  527. package/dist/api/types/ComponentCheckoutSettings.d.ts +0 -3
  528. package/dist/api/types/ComponentDisplaySettings.d.ts +0 -3
  529. package/dist/api/types/ComponentEntityType.d.ts +1 -4
  530. package/dist/api/types/ComponentHydrateResponseData.d.ts +1 -4
  531. package/dist/api/types/ComponentPreviewResponseData.d.ts +1 -4
  532. package/dist/api/types/ComponentResponseData.d.ts +1 -4
  533. package/dist/api/types/ComponentSettingsResponseData.d.ts +0 -3
  534. package/dist/api/types/ComponentState.d.ts +1 -4
  535. package/dist/api/types/Condition.d.ts +1 -4
  536. package/dist/api/types/ConditionConditionType.d.ts +1 -4
  537. package/dist/api/types/ConditionGroup.d.ts +1 -4
  538. package/dist/api/types/ConditionMetricPeriod.d.ts +1 -4
  539. package/dist/api/types/ConditionMetricPeriodMonthReset.d.ts +1 -4
  540. package/dist/api/types/ConditionOperator.d.ts +1 -4
  541. package/dist/api/types/CountResponse.d.ts +0 -3
  542. package/dist/api/types/CouponRequestBody.d.ts +0 -3
  543. package/dist/api/{resources/credits/client/requests → types}/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -14
  544. package/dist/api/types/CreateBillingPriceTierRequestBody.d.ts +2 -3
  545. package/dist/api/types/CreateEntitlementInBundleRequestBody.d.ts +29 -0
  546. package/dist/api/types/CreateEntitlementInBundleRequestBodyMetricPeriod.d.ts +7 -0
  547. package/dist/api/types/CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset.d.ts +5 -0
  548. package/dist/api/types/CreateEntitlementReqCommon.d.ts +1 -4
  549. package/dist/api/types/CreateEntitlementReqCommonMetricPeriod.d.ts +1 -4
  550. package/dist/api/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +1 -4
  551. package/dist/api/types/CreateEventRequestBody.d.ts +1 -4
  552. package/dist/api/types/CreateFlagRequestBody.d.ts +1 -4
  553. package/dist/api/types/CreateOrUpdateConditionGroupRequestBody.d.ts +1 -4
  554. package/dist/api/types/CreateOrUpdateConditionRequestBody.d.ts +1 -4
  555. package/dist/api/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +1 -5
  556. package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +2 -7
  557. package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +2 -7
  558. package/dist/api/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +1 -4
  559. package/dist/api/types/CreateOrUpdateFlagRequestBody.d.ts +1 -4
  560. package/dist/api/types/CreateOrUpdateRuleRequestBody.d.ts +1 -4
  561. package/dist/api/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +1 -4
  562. package/dist/api/types/CreatePlanRequestBody.d.ts +7 -0
  563. package/dist/api/types/CreatePriceTierRequestBody.d.ts +0 -3
  564. package/dist/api/types/CreditAutoTopupAmountType.d.ts +0 -3
  565. package/dist/api/types/CreditBundlePurchaseResponseData.d.ts +1 -4
  566. package/dist/api/types/CreditCompanyGrantView.d.ts +5 -4
  567. package/dist/api/types/CreditGrantDetail.d.ts +1 -4
  568. package/dist/api/types/CreditGrantExpiryRequestBody.d.ts +1 -4
  569. package/dist/api/types/CreditGrantSortOrder.d.ts +1 -4
  570. package/dist/api/types/CreditLedgerEnrichedEntryResponseData.d.ts +1 -4
  571. package/dist/api/types/CreditLedgerPeriod.d.ts +1 -4
  572. package/dist/api/types/CreditTransferResponseData.d.ts +8 -0
  573. package/dist/api/types/CreditTransferView.d.ts +8 -0
  574. package/dist/api/types/CreditTriggerConfig.d.ts +0 -3
  575. package/dist/api/types/CreditUsage.d.ts +2 -4
  576. package/dist/api/types/CreditUsageAggregation.d.ts +10 -0
  577. package/dist/api/types/CreditUsageResponseData.d.ts +2 -4
  578. package/dist/api/types/CustomPlanConfig.d.ts +0 -3
  579. package/dist/api/types/CustomPlanViewConfigResponseData.d.ts +0 -3
  580. package/dist/api/types/DataExportOutputFileType.d.ts +0 -3
  581. package/dist/api/types/DataExportResponseData.d.ts +1 -4
  582. package/dist/api/types/DataExportStatus.d.ts +1 -4
  583. package/dist/api/types/DataExportType.d.ts +0 -3
  584. package/dist/api/types/DeleteBillingPlanCreditGrantRequestBody.d.ts +3 -0
  585. package/dist/api/types/DeleteResponse.d.ts +0 -3
  586. package/dist/api/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +1 -4
  587. package/dist/api/types/EntitlementPriceBehavior.d.ts +1 -4
  588. package/dist/api/types/EntitlementTriggerConfig.d.ts +0 -3
  589. package/dist/api/types/EntitlementType.d.ts +1 -4
  590. package/dist/api/types/EntitlementValueType.d.ts +1 -4
  591. package/dist/api/types/EntitlementsInPlan.d.ts +0 -3
  592. package/dist/api/types/EntityKeyDefinitionResponseData.d.ts +1 -4
  593. package/dist/api/types/EntityKeyDetailResponseData.d.ts +1 -4
  594. package/dist/api/types/EntityKeyResponseData.d.ts +1 -4
  595. package/dist/api/types/EntityTraitDefinitionResponseData.d.ts +1 -4
  596. package/dist/api/types/EntityTraitDetailResponseData.d.ts +1 -4
  597. package/dist/api/types/EntityTraitResponseData.d.ts +0 -3
  598. package/dist/api/types/EntityTraitValue.d.ts +0 -3
  599. package/dist/api/types/EntityType.d.ts +1 -4
  600. package/dist/api/types/EnvironmentDetailResponseData.d.ts +1 -4
  601. package/dist/api/types/EnvironmentResponseData.d.ts +1 -4
  602. package/dist/api/types/EnvironmentType.d.ts +1 -4
  603. package/dist/api/types/EventBody.d.ts +1 -4
  604. package/dist/api/types/EventBodyFlagCheck.d.ts +0 -3
  605. package/dist/api/types/EventBodyIdentify.d.ts +1 -4
  606. package/dist/api/types/EventBodyIdentifyCompany.d.ts +0 -3
  607. package/dist/api/types/EventBodyTrack.d.ts +0 -3
  608. package/dist/api/types/EventDetailResponseData.d.ts +2 -5
  609. package/dist/api/types/EventResponseData.d.ts +2 -5
  610. package/dist/api/types/EventStatus.d.ts +1 -4
  611. package/dist/api/types/EventSummaryResponseData.d.ts +0 -3
  612. package/dist/api/types/EventType.d.ts +1 -4
  613. package/dist/api/types/FeatureCompanyResponseData.d.ts +5 -6
  614. package/dist/api/types/FeatureCompanyUserResponseData.d.ts +1 -4
  615. package/dist/api/types/FeatureDetailResponseData.d.ts +1 -4
  616. package/dist/api/types/FeatureLedgerResponseData.d.ts +0 -3
  617. package/dist/api/types/FeatureLifecyclePhase.d.ts +1 -4
  618. package/dist/api/types/FeatureResponseData.d.ts +1 -4
  619. package/dist/api/types/FeatureType.d.ts +1 -4
  620. package/dist/api/types/FeatureUsageDataResponseData.d.ts +1 -4
  621. package/dist/api/types/FeatureUsageDetailResponseData.d.ts +1 -4
  622. package/dist/api/types/FeatureUsageResponseData.d.ts +5 -6
  623. package/dist/api/types/FlagDetailResponseData.d.ts +1 -4
  624. package/dist/api/types/FlagResponseData.d.ts +1 -4
  625. package/dist/api/types/FlagType.d.ts +0 -3
  626. package/dist/api/types/GenericPreviewObject.d.ts +0 -3
  627. package/dist/api/types/InvoiceRequestBody.d.ts +0 -3
  628. package/dist/api/types/InvoiceResponseData.d.ts +2 -3
  629. package/dist/api/types/IssueTemporaryAccessTokenResponseData.d.ts +1 -4
  630. package/dist/api/types/KeysRequestBody.d.ts +0 -3
  631. package/dist/api/types/ManagePlanPreviewResponseResponseData.d.ts +1 -4
  632. package/dist/api/types/ManagePlanRequest.d.ts +1 -4
  633. package/dist/api/types/ManagePlanResponseResponseData.d.ts +1 -4
  634. package/dist/api/types/MeterRequestBody.d.ts +0 -3
  635. package/dist/api/types/OrderedPlansInGroup.d.ts +1 -4
  636. package/dist/api/types/PaymentMethodRequestBody.d.ts +0 -3
  637. package/dist/api/types/PaymentMethodResponseData.d.ts +2 -3
  638. package/dist/api/types/PlanBundleAction.d.ts +6 -0
  639. package/dist/api/types/PlanBundleCreditGrantRequestBody.d.ts +8 -0
  640. package/dist/api/types/PlanBundleEntitlementRequestBody.d.ts +6 -0
  641. package/dist/api/types/PlanBundleResponseData.d.ts +8 -0
  642. package/dist/api/types/PlanChangeAction.d.ts +1 -4
  643. package/dist/api/types/PlanChangeActorType.d.ts +1 -4
  644. package/dist/api/types/PlanChangeBasePlanAction.d.ts +1 -4
  645. package/dist/api/types/PlanChangeResponseData.d.ts +1 -4
  646. package/dist/api/types/PlanChangeSubscriptionAction.d.ts +2 -4
  647. package/dist/api/types/PlanControlledByType.d.ts +1 -4
  648. package/dist/api/types/PlanCreditGrantView.d.ts +1 -4
  649. package/dist/api/types/PlanDetailResponseData.d.ts +2 -4
  650. package/dist/api/types/PlanEntitlementResponseData.d.ts +1 -4
  651. package/dist/api/types/PlanEntitlementsOrder.d.ts +0 -3
  652. package/dist/api/types/PlanGroupBundleOrder.d.ts +0 -3
  653. package/dist/api/types/PlanGroupDetailResponseData.d.ts +1 -4
  654. package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +2 -4
  655. package/dist/api/types/PlanGroupPlanEntitlementsOrder.d.ts +1 -4
  656. package/dist/api/types/PlanGroupResponseData.d.ts +1 -4
  657. package/dist/api/types/PlanIssueResponseData.d.ts +0 -3
  658. package/dist/api/types/PlanResponseData.d.ts +1 -4
  659. package/dist/api/types/PlanSelection.d.ts +0 -3
  660. package/dist/api/types/PlanSnapshotView.d.ts +0 -3
  661. package/dist/api/types/PlanTraitResponseData.d.ts +0 -3
  662. package/dist/api/types/PlanType.d.ts +1 -4
  663. package/dist/api/types/PlanVersionResponseData.d.ts +14 -0
  664. package/dist/api/types/PlanVersionStatus.d.ts +6 -0
  665. package/dist/api/types/PreviewObject.d.ts +0 -3
  666. package/dist/api/types/PreviewObjectResponseData.d.ts +0 -3
  667. package/dist/api/types/PreviewSubscriptionChangeResponseData.d.ts +1 -4
  668. package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -4
  669. package/dist/api/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +0 -3
  670. package/dist/api/types/ProrationBehavior.d.ts +1 -4
  671. package/dist/api/types/QuickstartResp.d.ts +0 -3
  672. package/dist/api/types/RawEventBatchResponseData.d.ts +1 -4
  673. package/dist/api/types/RawEventResponseData.d.ts +1 -4
  674. package/dist/api/types/Rule.d.ts +1 -4
  675. package/dist/api/types/RuleConditionDetailResponseData.d.ts +1 -4
  676. package/dist/api/types/RuleConditionGroupDetailResponseData.d.ts +1 -4
  677. package/dist/api/types/RuleConditionGroupResponseData.d.ts +0 -3
  678. package/dist/api/types/RuleConditionResponseData.d.ts +1 -4
  679. package/dist/api/types/RuleDetailResponseData.d.ts +1 -4
  680. package/dist/api/types/RuleResponseData.d.ts +0 -3
  681. package/dist/api/types/RuleRuleType.d.ts +1 -4
  682. package/dist/api/types/RulesDetailResponseData.d.ts +1 -4
  683. package/dist/api/types/RulesEngineSchemaVersion.d.ts +2 -7
  684. package/dist/api/types/RulesengineCheckFlagResult.d.ts +1 -4
  685. package/dist/api/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +1 -4
  686. package/dist/api/types/RulesengineCheckFlagResultRuleType.d.ts +1 -4
  687. package/dist/api/types/RulesengineCompany.d.ts +1 -4
  688. package/dist/api/types/RulesengineCompanyMetric.d.ts +1 -4
  689. package/dist/api/types/RulesengineCompanyMetricMonthReset.d.ts +1 -4
  690. package/dist/api/types/RulesengineCompanyMetricPeriod.d.ts +1 -4
  691. package/dist/api/types/RulesengineCondition.d.ts +1 -4
  692. package/dist/api/types/RulesengineConditionConditionType.d.ts +1 -4
  693. package/dist/api/types/RulesengineConditionGroup.d.ts +1 -4
  694. package/dist/api/types/RulesengineConditionMetricPeriod.d.ts +1 -4
  695. package/dist/api/types/RulesengineConditionMetricPeriodMonthReset.d.ts +1 -4
  696. package/dist/api/types/RulesengineConditionOperator.d.ts +1 -4
  697. package/dist/api/types/RulesengineEntityType.d.ts +1 -4
  698. package/dist/api/types/RulesengineFlag.d.ts +1 -4
  699. package/dist/api/types/RulesengineRule.d.ts +1 -4
  700. package/dist/api/types/RulesengineRuleRuleType.d.ts +1 -4
  701. package/dist/api/types/RulesengineSubscription.d.ts +0 -3
  702. package/dist/api/types/RulesengineTrait.d.ts +1 -4
  703. package/dist/api/types/RulesengineTraitDefinition.d.ts +1 -4
  704. package/dist/api/types/RulesengineTraitDefinitionComparableType.d.ts +1 -4
  705. package/dist/api/types/RulesengineUser.d.ts +1 -4
  706. package/dist/api/types/SegmentStatusResp.d.ts +0 -3
  707. package/dist/api/types/SkippedEntitlementErrorResponseData.d.ts +0 -3
  708. package/dist/api/types/SkippedEntitlementResponseData.d.ts +1 -4
  709. package/dist/api/types/SortDirection.d.ts +1 -4
  710. package/dist/api/types/StripeEmbedInfo.d.ts +0 -3
  711. package/dist/api/types/SubscriptionStatus.d.ts +1 -4
  712. package/dist/api/types/SubscriptionTraitUpdate.d.ts +1 -4
  713. package/dist/api/types/SubscriptionType.d.ts +1 -4
  714. package/dist/api/types/TemporaryAccessTokenResourceType.d.ts +0 -3
  715. package/dist/api/types/TemporaryAccessTokenResponseData.d.ts +1 -4
  716. package/dist/api/types/TraitDefinition.d.ts +1 -4
  717. package/dist/api/types/TraitDefinitionComparableType.d.ts +1 -4
  718. package/dist/api/types/TraitType.d.ts +1 -4
  719. package/dist/api/types/UpdateAddOnRequestBody.d.ts +0 -3
  720. package/dist/api/{resources/credits/client/requests → types}/UpdateBillingPlanCreditGrantRequestBody.d.ts +1 -11
  721. package/dist/api/types/UpdateCreditBundleRequestBody.d.ts +0 -3
  722. package/dist/api/types/UpdateEntitlementReqCommon.d.ts +1 -4
  723. package/dist/api/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +1 -4
  724. package/dist/api/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +1 -4
  725. package/dist/api/types/UpdatePayInAdvanceRequestBody.d.ts +0 -3
  726. package/dist/api/types/UpdatePlanRequestBody.d.ts +5 -0
  727. package/dist/api/types/UpdatePlanTraitTraitRequestBody.d.ts +0 -3
  728. package/dist/api/types/UpdateRuleRequestBody.d.ts +1 -4
  729. package/dist/api/{resources/plans/client/requests → types}/UpsertBillingProductRequestBody.d.ts +1 -11
  730. package/dist/api/types/UpsertCompanyRequestBody.d.ts +0 -3
  731. package/dist/api/types/UpsertTraitRequestBody.d.ts +0 -3
  732. package/dist/api/types/UpsertUserRequestBody.d.ts +0 -3
  733. package/dist/api/types/UpsertUserSubRequestBody.d.ts +0 -3
  734. package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +1 -4
  735. package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +1 -4
  736. package/dist/api/types/UserDetailResponseData.d.ts +1 -4
  737. package/dist/api/types/UserResponseData.d.ts +0 -3
  738. package/dist/api/types/WebhookEventDetailResponseData.d.ts +1 -4
  739. package/dist/api/types/WebhookEventResponseData.d.ts +1 -4
  740. package/dist/api/types/WebhookEventStatus.d.ts +1 -4
  741. package/dist/api/types/WebhookRequestType.d.ts +3 -4
  742. package/dist/api/types/WebhookResponseData.d.ts +1 -4
  743. package/dist/api/types/WebhookStatus.d.ts +1 -4
  744. package/dist/api/types/index.d.ts +39 -26
  745. package/dist/auth/HeaderAuthProvider.d.ts +16 -0
  746. package/dist/auth/index.d.ts +1 -0
  747. package/dist/cache.d.ts +1 -1
  748. package/dist/core/auth/AuthProvider.d.ts +7 -0
  749. package/dist/core/auth/AuthRequest.d.ts +9 -0
  750. package/dist/core/auth/BasicAuth.d.ts +8 -0
  751. package/dist/core/auth/BearerToken.d.ts +7 -0
  752. package/dist/core/auth/NoOpAuthProvider.d.ts +5 -0
  753. package/dist/core/auth/index.d.ts +5 -0
  754. package/dist/core/base64.d.ts +2 -0
  755. package/dist/core/exports.d.ts +1 -0
  756. package/dist/core/fetcher/APIResponse.d.ts +1 -1
  757. package/dist/core/fetcher/BinaryResponse.d.ts +19 -0
  758. package/dist/core/fetcher/EndpointMetadata.d.ts +13 -0
  759. package/dist/core/fetcher/EndpointSupplier.d.ts +12 -0
  760. package/dist/core/fetcher/Fetcher.d.ts +16 -6
  761. package/dist/core/fetcher/HttpResponsePromise.d.ts +1 -1
  762. package/dist/core/fetcher/createRequestUrl.d.ts +1 -1
  763. package/dist/core/fetcher/getErrorResponseBody.d.ts +1 -0
  764. package/dist/core/fetcher/getRequestBody.d.ts +1 -1
  765. package/dist/core/fetcher/index.d.ts +7 -4
  766. package/dist/core/fetcher/makeRequest.d.ts +1 -1
  767. package/dist/core/fetcher/signals.d.ts +1 -7
  768. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +1 -1
  769. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +1 -1
  770. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +1 -1
  771. package/dist/core/headers.d.ts +2 -0
  772. package/dist/core/index.d.ts +4 -0
  773. package/dist/core/logging/exports.d.ts +18 -0
  774. package/dist/core/logging/index.d.ts +1 -0
  775. package/dist/core/logging/logger.d.ts +126 -0
  776. package/dist/core/schemas/Schema.d.ts +2 -1
  777. package/dist/core/schemas/builders/bigint/bigint.d.ts +1 -1
  778. package/dist/core/schemas/builders/date/date.d.ts +1 -1
  779. package/dist/core/schemas/builders/enum/enum.d.ts +1 -1
  780. package/dist/core/schemas/builders/index.d.ts +14 -14
  781. package/dist/core/schemas/builders/lazy/index.d.ts +1 -1
  782. package/dist/core/schemas/builders/lazy/lazy.d.ts +1 -1
  783. package/dist/core/schemas/builders/lazy/lazyObject.d.ts +2 -2
  784. package/dist/core/schemas/builders/list/list.d.ts +1 -1
  785. package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +1 -1
  786. package/dist/core/schemas/builders/literals/index.d.ts +1 -1
  787. package/dist/core/schemas/builders/literals/stringLiteral.d.ts +1 -1
  788. package/dist/core/schemas/builders/object/index.d.ts +2 -2
  789. package/dist/core/schemas/builders/object/object.d.ts +1 -1
  790. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
  791. package/dist/core/schemas/builders/object/property.d.ts +1 -1
  792. package/dist/core/schemas/builders/object/types.d.ts +5 -5
  793. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +2 -2
  794. package/dist/core/schemas/builders/object-like/types.d.ts +1 -1
  795. package/dist/core/schemas/builders/primitives/any.d.ts +2 -1
  796. package/dist/core/schemas/builders/primitives/boolean.d.ts +2 -1
  797. package/dist/core/schemas/builders/primitives/index.d.ts +1 -0
  798. package/dist/core/schemas/builders/primitives/never.d.ts +2 -0
  799. package/dist/core/schemas/builders/primitives/number.d.ts +2 -1
  800. package/dist/core/schemas/builders/primitives/string.d.ts +2 -1
  801. package/dist/core/schemas/builders/primitives/unknown.d.ts +2 -1
  802. package/dist/core/schemas/builders/record/record.d.ts +2 -2
  803. package/dist/core/schemas/builders/record/types.d.ts +2 -2
  804. package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +1 -1
  805. package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +1 -1
  806. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +1 -1
  807. package/dist/core/schemas/builders/schema-utils/index.d.ts +1 -1
  808. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +1 -1
  809. package/dist/core/schemas/builders/set/set.d.ts +1 -1
  810. package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
  811. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +2 -2
  812. package/dist/core/schemas/builders/union/index.d.ts +1 -1
  813. package/dist/core/schemas/builders/union/types.d.ts +2 -2
  814. package/dist/core/schemas/builders/union/union.d.ts +3 -3
  815. package/dist/core/schemas/index.d.ts +1 -1
  816. package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +1 -1
  817. package/dist/core/schemas/utils/maybeSkipValidation.d.ts +1 -1
  818. package/dist/core/url/encodePathParam.d.ts +1 -0
  819. package/dist/core/url/index.d.ts +3 -0
  820. package/dist/core/url/join.d.ts +1 -0
  821. package/dist/core/url/qs.d.ts +6 -0
  822. package/dist/environments.d.ts +0 -3
  823. package/dist/errors/SchematicError.d.ts +1 -4
  824. package/dist/errors/SchematicTimeoutError.d.ts +0 -3
  825. package/dist/errors/handleNonStatusCodeError.d.ts +2 -0
  826. package/dist/events.d.ts +2 -2
  827. package/dist/exports.d.ts +1 -0
  828. package/dist/index.js +3 -3
  829. package/dist/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +2 -6
  830. package/dist/serialization/resources/accesstokens/index.d.ts +1 -1
  831. package/dist/serialization/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.d.ts +2 -5
  832. package/dist/serialization/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +2 -5
  833. package/dist/serialization/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +2 -5
  834. package/dist/serialization/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +2 -5
  835. package/dist/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +2 -5
  836. package/dist/serialization/resources/accounts/client/requests/index.d.ts +1 -1
  837. package/dist/serialization/resources/accounts/index.d.ts +1 -1
  838. package/dist/serialization/resources/accounts/types/CountApiKeysParams.d.ts +2 -5
  839. package/dist/serialization/resources/accounts/types/CountApiKeysResponse.d.ts +2 -5
  840. package/dist/serialization/resources/accounts/types/CountApiRequestsParams.d.ts +2 -5
  841. package/dist/serialization/resources/accounts/types/CountApiRequestsResponse.d.ts +2 -5
  842. package/dist/serialization/resources/accounts/types/CreateApiKeyResponse.d.ts +2 -5
  843. package/dist/serialization/resources/accounts/types/CreateEnvironmentResponse.d.ts +2 -5
  844. package/dist/serialization/resources/accounts/types/DeleteApiKeyResponse.d.ts +2 -5
  845. package/dist/serialization/resources/accounts/types/DeleteEnvironmentResponse.d.ts +2 -5
  846. package/dist/serialization/resources/accounts/types/GetApiKeyResponse.d.ts +2 -5
  847. package/dist/serialization/resources/accounts/types/GetApiRequestResponse.d.ts +2 -5
  848. package/dist/serialization/resources/accounts/types/GetEnvironmentResponse.d.ts +2 -5
  849. package/dist/serialization/resources/accounts/types/ListApiKeysParams.d.ts +2 -5
  850. package/dist/serialization/resources/accounts/types/ListApiKeysResponse.d.ts +2 -5
  851. package/dist/serialization/resources/accounts/types/ListApiRequestsParams.d.ts +2 -5
  852. package/dist/serialization/resources/accounts/types/ListApiRequestsResponse.d.ts +2 -5
  853. package/dist/serialization/resources/accounts/types/ListEnvironmentsParams.d.ts +2 -5
  854. package/dist/serialization/resources/accounts/types/ListEnvironmentsResponse.d.ts +2 -5
  855. package/dist/serialization/resources/accounts/types/QuickstartResponse.d.ts +2 -5
  856. package/dist/serialization/resources/accounts/types/UpdateApiKeyResponse.d.ts +2 -5
  857. package/dist/serialization/resources/accounts/types/UpdateEnvironmentResponse.d.ts +2 -5
  858. package/dist/serialization/resources/accounts/types/index.d.ts +13 -13
  859. package/dist/serialization/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +4 -6
  860. package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +6 -7
  861. package/dist/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +4 -5
  862. package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +3 -6
  863. package/dist/serialization/resources/billing/client/requests/CreateCouponRequestBody.d.ts +2 -5
  864. package/dist/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +2 -5
  865. package/dist/serialization/resources/billing/client/requests/CreateMeterRequestBody.d.ts +2 -5
  866. package/dist/serialization/resources/billing/client/requests/CreatePaymentMethodRequestBody.d.ts +2 -5
  867. package/dist/serialization/resources/billing/client/requests/index.d.ts +4 -4
  868. package/dist/serialization/resources/billing/index.d.ts +1 -1
  869. package/dist/serialization/resources/billing/types/CountBillingProductsParams.d.ts +4 -5
  870. package/dist/serialization/resources/billing/types/CountBillingProductsResponse.d.ts +2 -5
  871. package/dist/serialization/resources/billing/types/CountCustomersParams.d.ts +4 -6
  872. package/dist/serialization/resources/billing/types/CountCustomersResponse.d.ts +2 -5
  873. package/dist/serialization/resources/billing/types/DeleteBillingProductResponse.d.ts +2 -5
  874. package/dist/serialization/resources/billing/types/DeleteProductPriceResponse.d.ts +2 -5
  875. package/dist/serialization/resources/billing/types/ListBillingPricesParams.d.ts +5 -6
  876. package/dist/serialization/resources/billing/types/ListBillingPricesResponse.d.ts +2 -5
  877. package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +5 -6
  878. package/dist/serialization/resources/billing/types/ListBillingProductPricesResponse.d.ts +2 -5
  879. package/dist/serialization/resources/billing/types/ListBillingProductsParams.d.ts +4 -5
  880. package/dist/serialization/resources/billing/types/ListBillingProductsResponse.d.ts +2 -5
  881. package/dist/serialization/resources/billing/types/ListCouponsParams.d.ts +2 -5
  882. package/dist/serialization/resources/billing/types/ListCouponsResponse.d.ts +2 -5
  883. package/dist/serialization/resources/billing/types/ListCustomersWithSubscriptionsParams.d.ts +4 -6
  884. package/dist/serialization/resources/billing/types/ListCustomersWithSubscriptionsResponse.d.ts +2 -5
  885. package/dist/serialization/resources/billing/types/ListInvoicesParams.d.ts +2 -5
  886. package/dist/serialization/resources/billing/types/ListInvoicesResponse.d.ts +2 -5
  887. package/dist/serialization/resources/billing/types/ListMetersParams.d.ts +2 -5
  888. package/dist/serialization/resources/billing/types/ListMetersResponse.d.ts +2 -5
  889. package/dist/serialization/resources/billing/types/ListPaymentMethodsParams.d.ts +2 -5
  890. package/dist/serialization/resources/billing/types/ListPaymentMethodsResponse.d.ts +2 -5
  891. package/dist/serialization/resources/billing/types/UpsertBillingCouponResponse.d.ts +2 -5
  892. package/dist/serialization/resources/billing/types/UpsertBillingCustomerResponse.d.ts +2 -5
  893. package/dist/serialization/resources/billing/types/UpsertBillingMeterResponse.d.ts +2 -5
  894. package/dist/serialization/resources/billing/types/UpsertBillingPriceResponse.d.ts +2 -5
  895. package/dist/serialization/resources/billing/types/UpsertBillingProductResponse.d.ts +2 -5
  896. package/dist/serialization/resources/billing/types/UpsertBillingSubscriptionResponse.d.ts +2 -5
  897. package/dist/serialization/resources/billing/types/UpsertInvoiceResponse.d.ts +2 -5
  898. package/dist/serialization/resources/billing/types/UpsertPaymentMethodResponse.d.ts +2 -5
  899. package/dist/serialization/resources/billing/types/index.d.ts +17 -17
  900. package/dist/serialization/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +2 -5
  901. package/dist/serialization/resources/checkout/client/requests/CheckoutDataRequestBody.d.ts +2 -5
  902. package/dist/serialization/resources/checkout/client/requests/UpdateTrialEndRequestBody.d.ts +2 -5
  903. package/dist/serialization/resources/checkout/client/requests/index.d.ts +1 -1
  904. package/dist/serialization/resources/checkout/index.d.ts +1 -1
  905. package/dist/serialization/resources/checkout/types/CancelSubscriptionResponse.d.ts +2 -5
  906. package/dist/serialization/resources/checkout/types/CheckoutInternalResponse.d.ts +2 -5
  907. package/dist/serialization/resources/checkout/types/GetCheckoutDataResponse.d.ts +2 -5
  908. package/dist/serialization/resources/checkout/types/ManagePlanResponse.d.ts +2 -5
  909. package/dist/serialization/resources/checkout/types/PreviewCheckoutInternalResponse.d.ts +2 -5
  910. package/dist/serialization/resources/checkout/types/PreviewManagePlanResponse.d.ts +2 -5
  911. package/dist/serialization/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.d.ts +2 -5
  912. package/dist/serialization/resources/checkout/types/index.d.ts +2 -2
  913. package/dist/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +2 -5
  914. package/dist/serialization/resources/companies/client/requests/CreatePlanTraitRequestBody.d.ts +2 -5
  915. package/dist/serialization/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.d.ts +2 -5
  916. package/dist/serialization/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +2 -5
  917. package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +2 -5
  918. package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitRequestBody.d.ts +2 -5
  919. package/dist/serialization/resources/companies/client/requests/index.d.ts +3 -3
  920. package/dist/serialization/resources/companies/index.d.ts +1 -1
  921. package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +2 -5
  922. package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +2 -5
  923. package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +2 -5
  924. package/dist/serialization/resources/companies/types/CountCompaniesResponse.d.ts +2 -5
  925. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +2 -5
  926. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponse.d.ts +2 -5
  927. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +2 -5
  928. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponse.d.ts +2 -5
  929. package/dist/serialization/resources/companies/types/CountPlanTraitsParams.d.ts +2 -5
  930. package/dist/serialization/resources/companies/types/CountPlanTraitsResponse.d.ts +2 -5
  931. package/dist/serialization/resources/companies/types/CountUsersParams.d.ts +2 -5
  932. package/dist/serialization/resources/companies/types/CountUsersResponse.d.ts +2 -5
  933. package/dist/serialization/resources/companies/types/CreateCompanyResponse.d.ts +2 -5
  934. package/dist/serialization/resources/companies/types/CreatePlanTraitResponse.d.ts +2 -5
  935. package/dist/serialization/resources/companies/types/CreateUserResponse.d.ts +2 -5
  936. package/dist/serialization/resources/companies/types/DeleteCompanyByKeysResponse.d.ts +2 -5
  937. package/dist/serialization/resources/companies/types/DeleteCompanyMembershipResponse.d.ts +2 -5
  938. package/dist/serialization/resources/companies/types/DeleteCompanyParams.d.ts +2 -5
  939. package/dist/serialization/resources/companies/types/DeleteCompanyResponse.d.ts +2 -5
  940. package/dist/serialization/resources/companies/types/DeletePlanTraitResponse.d.ts +2 -5
  941. package/dist/serialization/resources/companies/types/DeleteUserByKeysResponse.d.ts +2 -5
  942. package/dist/serialization/resources/companies/types/DeleteUserResponse.d.ts +2 -5
  943. package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionParams.d.ts +2 -5
  944. package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionResponse.d.ts +2 -5
  945. package/dist/serialization/resources/companies/types/GetCompanyResponse.d.ts +2 -5
  946. package/dist/serialization/resources/companies/types/GetEntityTraitDefinitionResponse.d.ts +2 -5
  947. package/dist/serialization/resources/companies/types/GetEntityTraitValuesParams.d.ts +2 -5
  948. package/dist/serialization/resources/companies/types/GetEntityTraitValuesResponse.d.ts +2 -5
  949. package/dist/serialization/resources/companies/types/GetOrCreateCompanyMembershipResponse.d.ts +2 -5
  950. package/dist/serialization/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.d.ts +2 -5
  951. package/dist/serialization/resources/companies/types/GetPlanChangeResponse.d.ts +2 -5
  952. package/dist/serialization/resources/companies/types/GetPlanTraitResponse.d.ts +2 -5
  953. package/dist/serialization/resources/companies/types/GetUserResponse.d.ts +2 -5
  954. package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +2 -5
  955. package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +2 -5
  956. package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +2 -5
  957. package/dist/serialization/resources/companies/types/ListCompaniesResponse.d.ts +2 -5
  958. package/dist/serialization/resources/companies/types/ListCompanyMembershipsParams.d.ts +2 -5
  959. package/dist/serialization/resources/companies/types/ListCompanyMembershipsResponse.d.ts +2 -5
  960. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +2 -5
  961. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponse.d.ts +2 -5
  962. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +2 -5
  963. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponse.d.ts +2 -5
  964. package/dist/serialization/resources/companies/types/ListPlanChangesParams.d.ts +2 -5
  965. package/dist/serialization/resources/companies/types/ListPlanChangesResponse.d.ts +2 -5
  966. package/dist/serialization/resources/companies/types/ListPlanTraitsParams.d.ts +2 -5
  967. package/dist/serialization/resources/companies/types/ListPlanTraitsResponse.d.ts +2 -5
  968. package/dist/serialization/resources/companies/types/ListUsersParams.d.ts +2 -5
  969. package/dist/serialization/resources/companies/types/ListUsersResponse.d.ts +2 -5
  970. package/dist/serialization/resources/companies/types/LookupCompanyParams.d.ts +2 -5
  971. package/dist/serialization/resources/companies/types/LookupCompanyResponse.d.ts +2 -5
  972. package/dist/serialization/resources/companies/types/LookupUserParams.d.ts +2 -5
  973. package/dist/serialization/resources/companies/types/LookupUserResponse.d.ts +2 -5
  974. package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionResponse.d.ts +2 -5
  975. package/dist/serialization/resources/companies/types/UpdatePlanTraitResponse.d.ts +2 -5
  976. package/dist/serialization/resources/companies/types/UpdatePlanTraitsBulkResponse.d.ts +2 -5
  977. package/dist/serialization/resources/companies/types/UpsertCompanyResponse.d.ts +2 -5
  978. package/dist/serialization/resources/companies/types/UpsertCompanyTraitResponse.d.ts +2 -5
  979. package/dist/serialization/resources/companies/types/UpsertUserResponse.d.ts +2 -5
  980. package/dist/serialization/resources/companies/types/UpsertUserTraitResponse.d.ts +2 -5
  981. package/dist/serialization/resources/companies/types/index.d.ts +40 -42
  982. package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.d.ts +2 -5
  983. package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.d.ts +2 -5
  984. package/dist/serialization/resources/components/index.d.ts +1 -1
  985. package/dist/serialization/resources/components/types/CountComponentsParams.d.ts +2 -5
  986. package/dist/serialization/resources/components/types/CountComponentsResponse.d.ts +2 -5
  987. package/dist/serialization/resources/components/types/CreateComponentResponse.d.ts +2 -5
  988. package/dist/serialization/resources/components/types/DeleteComponentResponse.d.ts +2 -5
  989. package/dist/serialization/resources/components/types/GetComponentResponse.d.ts +2 -5
  990. package/dist/serialization/resources/components/types/ListComponentsParams.d.ts +2 -5
  991. package/dist/serialization/resources/components/types/ListComponentsResponse.d.ts +2 -5
  992. package/dist/serialization/resources/components/types/PreviewComponentDataParams.d.ts +2 -5
  993. package/dist/serialization/resources/components/types/PreviewComponentDataResponse.d.ts +2 -5
  994. package/dist/serialization/resources/components/types/UpdateComponentResponse.d.ts +2 -5
  995. package/dist/serialization/resources/components/types/index.d.ts +6 -6
  996. package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +2 -5
  997. package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +2 -5
  998. package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +3 -6
  999. package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +2 -5
  1000. package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +3 -6
  1001. package/dist/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +2 -5
  1002. package/dist/serialization/resources/credits/client/requests/index.d.ts +2 -4
  1003. package/dist/serialization/resources/credits/index.d.ts +1 -1
  1004. package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsParams.d.ts +2 -5
  1005. package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsResponse.d.ts +2 -5
  1006. package/dist/serialization/resources/credits/types/CountBillingCreditsParams.d.ts +2 -5
  1007. package/dist/serialization/resources/credits/types/CountBillingCreditsResponse.d.ts +2 -5
  1008. package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +2 -5
  1009. package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsResponse.d.ts +2 -5
  1010. package/dist/serialization/resources/credits/types/CountCompanyGrantsParams.d.ts +15 -0
  1011. package/dist/serialization/resources/credits/types/CountCompanyGrantsResponse.d.ts +12 -0
  1012. package/dist/serialization/resources/credits/types/CountCreditBundlesParams.d.ts +3 -6
  1013. package/dist/serialization/resources/credits/types/CountCreditBundlesResponse.d.ts +2 -5
  1014. package/dist/serialization/resources/credits/types/CountCreditLedgerParams.d.ts +2 -5
  1015. package/dist/serialization/resources/credits/types/CountCreditLedgerResponse.d.ts +2 -5
  1016. package/dist/serialization/resources/credits/types/CreateBillingCreditResponse.d.ts +2 -5
  1017. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantResponse.d.ts +2 -5
  1018. package/dist/serialization/resources/credits/types/CreateCreditBundleResponse.d.ts +2 -5
  1019. package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantParams.d.ts +2 -5
  1020. package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +2 -5
  1021. package/dist/serialization/resources/credits/types/DeleteCreditBundleResponse.d.ts +2 -5
  1022. package/dist/serialization/resources/credits/types/GetCreditBundleResponse.d.ts +2 -5
  1023. package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +2 -5
  1024. package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerResponse.d.ts +2 -5
  1025. package/dist/serialization/resources/credits/types/GetSingleBillingCreditResponse.d.ts +2 -5
  1026. package/dist/serialization/resources/credits/types/GrantBillingCreditsToCompanyResponse.d.ts +2 -5
  1027. package/dist/serialization/resources/credits/types/ListBillingCreditsParams.d.ts +2 -5
  1028. package/dist/serialization/resources/credits/types/ListBillingCreditsResponse.d.ts +2 -5
  1029. package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +2 -5
  1030. package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +2 -5
  1031. package/dist/serialization/resources/credits/types/ListCompanyGrantsParams.d.ts +3 -6
  1032. package/dist/serialization/resources/credits/types/ListCompanyGrantsResponse.d.ts +2 -5
  1033. package/dist/serialization/resources/credits/types/ListCreditBundlesParams.d.ts +3 -6
  1034. package/dist/serialization/resources/credits/types/ListCreditBundlesResponse.d.ts +2 -5
  1035. package/dist/serialization/resources/credits/types/ListGrantsForCreditParams.d.ts +2 -5
  1036. package/dist/serialization/resources/credits/types/ListGrantsForCreditResponse.d.ts +2 -5
  1037. package/dist/serialization/resources/credits/types/SoftDeleteBillingCreditResponse.d.ts +2 -5
  1038. package/dist/serialization/resources/credits/types/UpdateBillingCreditResponse.d.ts +2 -5
  1039. package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantResponse.d.ts +2 -5
  1040. package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsResponse.d.ts +2 -5
  1041. package/dist/serialization/resources/credits/types/ZeroOutGrantResponse.d.ts +2 -5
  1042. package/dist/serialization/resources/credits/types/index.d.ts +29 -27
  1043. package/dist/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +2 -5
  1044. package/dist/serialization/resources/dataexports/index.d.ts +1 -1
  1045. package/dist/serialization/resources/dataexports/types/CreateDataExportResponse.d.ts +2 -5
  1046. package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +3 -6
  1047. package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +5 -8
  1048. package/dist/serialization/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +2 -5
  1049. package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +3 -6
  1050. package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +5 -8
  1051. package/dist/serialization/resources/entitlements/client/requests/index.d.ts +2 -2
  1052. package/dist/serialization/resources/entitlements/index.d.ts +1 -1
  1053. package/dist/serialization/resources/entitlements/types/CountCompanyOverridesParams.d.ts +2 -5
  1054. package/dist/serialization/resources/entitlements/types/CountCompanyOverridesResponse.d.ts +2 -5
  1055. package/dist/serialization/resources/entitlements/types/CountFeatureCompaniesParams.d.ts +2 -5
  1056. package/dist/serialization/resources/entitlements/types/CountFeatureCompaniesResponse.d.ts +2 -5
  1057. package/dist/serialization/resources/entitlements/types/CountFeatureUsageParams.d.ts +3 -5
  1058. package/dist/serialization/resources/entitlements/types/CountFeatureUsageResponse.d.ts +2 -5
  1059. package/dist/serialization/resources/entitlements/types/CountFeatureUsersParams.d.ts +2 -5
  1060. package/dist/serialization/resources/entitlements/types/CountFeatureUsersResponse.d.ts +2 -5
  1061. package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +2 -5
  1062. package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsResponse.d.ts +2 -5
  1063. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +2 -5
  1064. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +2 -5
  1065. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideResponse.d.ts +2 -5
  1066. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +2 -5
  1067. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +2 -5
  1068. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementResponse.d.ts +2 -5
  1069. package/dist/serialization/resources/entitlements/types/DeleteCompanyOverrideResponse.d.ts +2 -5
  1070. package/dist/serialization/resources/entitlements/types/DeletePlanEntitlementResponse.d.ts +2 -5
  1071. package/dist/serialization/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts +2 -5
  1072. package/dist/serialization/resources/entitlements/types/GetCompanyOverrideResponse.d.ts +2 -5
  1073. package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyParams.d.ts +2 -5
  1074. package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyResponse.d.ts +2 -5
  1075. package/dist/serialization/resources/entitlements/types/GetPlanEntitlementResponse.d.ts +2 -5
  1076. package/dist/serialization/resources/entitlements/types/ListCompanyOverridesParams.d.ts +2 -5
  1077. package/dist/serialization/resources/entitlements/types/ListCompanyOverridesResponse.d.ts +2 -5
  1078. package/dist/serialization/resources/entitlements/types/ListFeatureCompaniesParams.d.ts +2 -5
  1079. package/dist/serialization/resources/entitlements/types/ListFeatureCompaniesResponse.d.ts +2 -5
  1080. package/dist/serialization/resources/entitlements/types/ListFeatureUsageParams.d.ts +3 -5
  1081. package/dist/serialization/resources/entitlements/types/ListFeatureUsageResponse.d.ts +2 -5
  1082. package/dist/serialization/resources/entitlements/types/ListFeatureUsersParams.d.ts +2 -5
  1083. package/dist/serialization/resources/entitlements/types/ListFeatureUsersResponse.d.ts +2 -5
  1084. package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +2 -5
  1085. package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsResponse.d.ts +2 -5
  1086. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +2 -5
  1087. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +2 -5
  1088. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideResponse.d.ts +2 -5
  1089. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +2 -5
  1090. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +2 -5
  1091. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementResponse.d.ts +2 -5
  1092. package/dist/serialization/resources/entitlements/types/index.d.ts +24 -24
  1093. package/dist/serialization/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +2 -5
  1094. package/dist/serialization/resources/events/index.d.ts +1 -1
  1095. package/dist/serialization/resources/events/types/CreateEventBatchResponse.d.ts +2 -5
  1096. package/dist/serialization/resources/events/types/CreateEventResponse.d.ts +2 -5
  1097. package/dist/serialization/resources/events/types/GetEventResponse.d.ts +2 -5
  1098. package/dist/serialization/resources/events/types/GetEventSummariesParams.d.ts +2 -5
  1099. package/dist/serialization/resources/events/types/GetEventSummariesResponse.d.ts +2 -5
  1100. package/dist/serialization/resources/events/types/GetSegmentIntegrationStatusResponse.d.ts +2 -5
  1101. package/dist/serialization/resources/events/types/ListEventsParams.d.ts +2 -5
  1102. package/dist/serialization/resources/events/types/ListEventsResponse.d.ts +2 -5
  1103. package/dist/serialization/resources/events/types/index.d.ts +3 -3
  1104. package/dist/serialization/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +2 -5
  1105. package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +3 -6
  1106. package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +3 -6
  1107. package/dist/serialization/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +2 -5
  1108. package/dist/serialization/resources/features/client/requests/index.d.ts +1 -1
  1109. package/dist/serialization/resources/features/index.d.ts +1 -1
  1110. package/dist/serialization/resources/features/types/CheckFlagResponse.d.ts +2 -5
  1111. package/dist/serialization/resources/features/types/CheckFlagsBulkResponse.d.ts +2 -5
  1112. package/dist/serialization/resources/features/types/CheckFlagsResponse.d.ts +2 -5
  1113. package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +2 -5
  1114. package/dist/serialization/resources/features/types/CountFeaturesResponse.d.ts +2 -5
  1115. package/dist/serialization/resources/features/types/CountFlagsParams.d.ts +2 -5
  1116. package/dist/serialization/resources/features/types/CountFlagsResponse.d.ts +2 -5
  1117. package/dist/serialization/resources/features/types/CreateFeatureResponse.d.ts +2 -5
  1118. package/dist/serialization/resources/features/types/CreateFlagResponse.d.ts +2 -5
  1119. package/dist/serialization/resources/features/types/DeleteFeatureResponse.d.ts +2 -5
  1120. package/dist/serialization/resources/features/types/DeleteFlagResponse.d.ts +2 -5
  1121. package/dist/serialization/resources/features/types/GetFeatureResponse.d.ts +2 -5
  1122. package/dist/serialization/resources/features/types/GetFlagResponse.d.ts +2 -5
  1123. package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +2 -5
  1124. package/dist/serialization/resources/features/types/ListFeaturesResponse.d.ts +2 -5
  1125. package/dist/serialization/resources/features/types/ListFlagsParams.d.ts +2 -5
  1126. package/dist/serialization/resources/features/types/ListFlagsResponse.d.ts +2 -5
  1127. package/dist/serialization/resources/features/types/UpdateFeatureResponse.d.ts +2 -5
  1128. package/dist/serialization/resources/features/types/UpdateFlagResponse.d.ts +2 -5
  1129. package/dist/serialization/resources/features/types/UpdateFlagRulesResponse.d.ts +2 -5
  1130. package/dist/serialization/resources/features/types/index.d.ts +14 -14
  1131. package/dist/serialization/resources/index.d.ts +25 -25
  1132. package/dist/serialization/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +18 -0
  1133. package/dist/serialization/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +18 -0
  1134. package/dist/serialization/resources/planbundle/client/requests/index.d.ts +2 -0
  1135. package/dist/serialization/resources/planbundle/types/CreatePlanBundleResponse.d.ts +11 -0
  1136. package/dist/serialization/resources/planbundle/types/UpdatePlanBundleResponse.d.ts +11 -0
  1137. package/dist/serialization/resources/planbundle/types/index.d.ts +2 -0
  1138. package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +2 -5
  1139. package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +2 -5
  1140. package/dist/serialization/resources/plangroups/index.d.ts +1 -1
  1141. package/dist/serialization/resources/plangroups/types/CreatePlanGroupResponse.d.ts +2 -5
  1142. package/dist/serialization/resources/plangroups/types/GetPlanGroupResponse.d.ts +2 -5
  1143. package/dist/serialization/resources/plangroups/types/UpdatePlanGroupResponse.d.ts +2 -5
  1144. package/dist/serialization/resources/plangroups/types/index.d.ts +1 -1
  1145. package/dist/serialization/resources/plans/client/requests/UpdateCompanyPlansRequestBody.d.ts +2 -5
  1146. package/dist/serialization/resources/plans/client/requests/index.d.ts +0 -3
  1147. package/dist/serialization/resources/plans/index.d.ts +1 -1
  1148. package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +2 -5
  1149. package/dist/serialization/resources/plans/types/CountPlansResponse.d.ts +2 -5
  1150. package/dist/serialization/resources/plans/types/CreatePlanResponse.d.ts +2 -5
  1151. package/dist/serialization/resources/plans/types/DeletePlanResponse.d.ts +2 -5
  1152. package/dist/serialization/resources/plans/types/GetPlanResponse.d.ts +2 -5
  1153. package/dist/serialization/resources/plans/types/ListPlanIssuesParams.d.ts +2 -5
  1154. package/dist/serialization/resources/plans/types/ListPlanIssuesResponse.d.ts +2 -5
  1155. package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +2 -5
  1156. package/dist/serialization/resources/plans/types/ListPlansResponse.d.ts +2 -5
  1157. package/dist/serialization/resources/plans/types/UpdateCompanyPlansResponse.d.ts +2 -5
  1158. package/dist/serialization/resources/plans/types/UpdatePlanResponse.d.ts +2 -5
  1159. package/dist/serialization/resources/plans/types/UpsertBillingProductPlanResponse.d.ts +2 -5
  1160. package/dist/serialization/resources/plans/types/index.d.ts +8 -8
  1161. package/dist/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +2 -5
  1162. package/dist/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +2 -5
  1163. package/dist/serialization/resources/webhooks/index.d.ts +1 -1
  1164. package/dist/serialization/resources/webhooks/types/CountWebhookEventsParams.d.ts +2 -5
  1165. package/dist/serialization/resources/webhooks/types/CountWebhookEventsResponse.d.ts +2 -5
  1166. package/dist/serialization/resources/webhooks/types/CountWebhooksParams.d.ts +2 -5
  1167. package/dist/serialization/resources/webhooks/types/CountWebhooksResponse.d.ts +2 -5
  1168. package/dist/serialization/resources/webhooks/types/CreateWebhookResponse.d.ts +2 -5
  1169. package/dist/serialization/resources/webhooks/types/DeleteWebhookResponse.d.ts +2 -5
  1170. package/dist/serialization/resources/webhooks/types/GetWebhookEventResponse.d.ts +2 -5
  1171. package/dist/serialization/resources/webhooks/types/GetWebhookResponse.d.ts +2 -5
  1172. package/dist/serialization/resources/webhooks/types/ListWebhookEventsParams.d.ts +2 -5
  1173. package/dist/serialization/resources/webhooks/types/ListWebhookEventsResponse.d.ts +2 -5
  1174. package/dist/serialization/resources/webhooks/types/ListWebhooksParams.d.ts +2 -5
  1175. package/dist/serialization/resources/webhooks/types/ListWebhooksResponse.d.ts +2 -5
  1176. package/dist/serialization/resources/webhooks/types/UpdateWebhookResponse.d.ts +2 -5
  1177. package/dist/serialization/resources/webhooks/types/index.d.ts +8 -8
  1178. package/dist/serialization/types/ApiError.d.ts +2 -5
  1179. package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +2 -5
  1180. package/dist/serialization/types/ApiKeyRequestListResponseData.d.ts +2 -5
  1181. package/dist/serialization/types/ApiKeyRequestResponseData.d.ts +2 -5
  1182. package/dist/serialization/types/ApiKeyResponseData.d.ts +2 -5
  1183. package/dist/serialization/types/ApiKeyScope.d.ts +2 -5
  1184. package/dist/serialization/types/BillingCouponResponseData.d.ts +4 -5
  1185. package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +3 -6
  1186. package/dist/serialization/types/BillingCreditBundleStatus.d.ts +2 -5
  1187. package/dist/serialization/types/BillingCreditBundleType.d.ts +2 -5
  1188. package/dist/serialization/types/BillingCreditBundleView.d.ts +3 -6
  1189. package/dist/serialization/types/BillingCreditBurnStrategy.d.ts +2 -5
  1190. package/dist/serialization/types/BillingCreditExpiryType.d.ts +2 -5
  1191. package/dist/serialization/types/BillingCreditExpiryUnit.d.ts +2 -5
  1192. package/dist/serialization/types/BillingCreditGrantReason.d.ts +2 -5
  1193. package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +8 -6
  1194. package/dist/serialization/types/BillingCreditGrantZeroedOutReason.d.ts +2 -5
  1195. package/dist/serialization/types/BillingCreditLedgerResponseData.d.ts +2 -5
  1196. package/dist/serialization/types/BillingCreditResponseData.d.ts +2 -5
  1197. package/dist/serialization/types/BillingCreditRolloverPolicy.d.ts +2 -5
  1198. package/dist/serialization/types/BillingCustomerResponseData.d.ts +4 -6
  1199. package/dist/serialization/types/BillingCustomerSubscription.d.ts +2 -5
  1200. package/dist/serialization/types/BillingCustomerWithSubscriptionsResponseData.d.ts +4 -6
  1201. package/dist/serialization/types/BillingMeterResponseData.d.ts +4 -5
  1202. package/dist/serialization/types/BillingPlanCreditGrantResetCadence.d.ts +2 -5
  1203. package/dist/serialization/types/BillingPlanCreditGrantResetStart.d.ts +2 -5
  1204. package/dist/serialization/types/BillingPlanCreditGrantResetType.d.ts +2 -5
  1205. package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +2 -5
  1206. package/dist/serialization/types/BillingPriceResponseData.d.ts +5 -6
  1207. package/dist/serialization/types/BillingPriceScheme.d.ts +2 -5
  1208. package/dist/serialization/types/BillingPriceUsageType.d.ts +2 -5
  1209. package/dist/serialization/types/BillingPriceView.d.ts +5 -6
  1210. package/dist/serialization/types/BillingProductDetailResponseData.d.ts +4 -5
  1211. package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +5 -6
  1212. package/dist/serialization/types/BillingProductPlanResponseData.d.ts +2 -5
  1213. package/dist/serialization/types/BillingProductPriceInterval.d.ts +2 -5
  1214. package/dist/serialization/types/BillingProductPriceResponseData.d.ts +5 -6
  1215. package/dist/serialization/types/BillingProductPriceTierResponseData.d.ts +2 -5
  1216. package/dist/serialization/types/BillingProductPricing.d.ts +2 -5
  1217. package/dist/serialization/types/BillingProductResponseData.d.ts +4 -5
  1218. package/dist/serialization/types/BillingProviderType.d.ts +7 -0
  1219. package/dist/serialization/types/BillingSubscriptionDiscount.d.ts +2 -5
  1220. package/dist/serialization/types/BillingSubscriptionDiscountView.d.ts +2 -5
  1221. package/dist/serialization/types/BillingSubscriptionResponseData.d.ts +4 -5
  1222. package/dist/serialization/types/BillingSubscriptionTrialEndSetting.d.ts +2 -5
  1223. package/dist/serialization/types/BillingSubscriptionView.d.ts +6 -7
  1224. package/dist/serialization/types/BillingTiersMode.d.ts +2 -5
  1225. package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +2 -5
  1226. package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +2 -5
  1227. package/dist/serialization/types/ChargeType.d.ts +2 -5
  1228. package/dist/serialization/types/CheckFlagRequestBody.d.ts +2 -5
  1229. package/dist/serialization/types/CheckFlagResponseData.d.ts +2 -5
  1230. package/dist/serialization/types/CheckFlagsBulkResponseData.d.ts +2 -5
  1231. package/dist/serialization/types/CheckFlagsResponseData.d.ts +2 -5
  1232. package/dist/serialization/types/CheckoutDataResponseData.d.ts +6 -9
  1233. package/dist/serialization/types/CheckoutSettingsResponseData.d.ts +2 -5
  1234. package/dist/serialization/types/CheckoutSubscription.d.ts +4 -5
  1235. package/dist/serialization/types/CompanyDetailResponseData.d.ts +6 -9
  1236. package/dist/serialization/types/CompanyEventPeriodMetricsResponseData.d.ts +2 -5
  1237. package/dist/serialization/types/CompanyLedgerResponseData.d.ts +2 -5
  1238. package/dist/serialization/types/CompanyMembershipDetailResponseData.d.ts +2 -5
  1239. package/dist/serialization/types/CompanyMembershipResponseData.d.ts +2 -5
  1240. package/dist/serialization/types/CompanyOverrideNoteResponseData.d.ts +2 -5
  1241. package/dist/serialization/types/CompanyOverrideResponseData.d.ts +4 -7
  1242. package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +9 -10
  1243. package/dist/serialization/types/CompanyPlanInvalidReason.d.ts +2 -5
  1244. package/dist/serialization/types/CompanyPlanWithBillingSubView.d.ts +3 -5
  1245. package/dist/serialization/types/CompanyResponseData.d.ts +2 -5
  1246. package/dist/serialization/types/CompanySubscriptionResponseData.d.ts +3 -6
  1247. package/dist/serialization/types/CompanyViewWithFeatureUsageResponseData.d.ts +6 -9
  1248. package/dist/serialization/types/CompatiblePlans.d.ts +2 -5
  1249. package/dist/serialization/types/CompatiblePlansResponseData.d.ts +2 -5
  1250. package/dist/serialization/types/ComponentCapabilities.d.ts +2 -5
  1251. package/dist/serialization/types/ComponentCheckoutSettings.d.ts +2 -5
  1252. package/dist/serialization/types/ComponentDisplaySettings.d.ts +2 -5
  1253. package/dist/serialization/types/ComponentEntityType.d.ts +2 -5
  1254. package/dist/serialization/types/ComponentHydrateResponseData.d.ts +9 -12
  1255. package/dist/serialization/types/ComponentPreviewResponseData.d.ts +8 -11
  1256. package/dist/serialization/types/ComponentResponseData.d.ts +3 -6
  1257. package/dist/serialization/types/ComponentSettingsResponseData.d.ts +2 -5
  1258. package/dist/serialization/types/ComponentState.d.ts +2 -5
  1259. package/dist/serialization/types/Condition.d.ts +3 -6
  1260. package/dist/serialization/types/ConditionConditionType.d.ts +2 -5
  1261. package/dist/serialization/types/ConditionGroup.d.ts +2 -5
  1262. package/dist/serialization/types/ConditionMetricPeriod.d.ts +2 -5
  1263. package/dist/serialization/types/ConditionMetricPeriodMonthReset.d.ts +2 -5
  1264. package/dist/serialization/types/ConditionOperator.d.ts +2 -5
  1265. package/dist/serialization/types/CountResponse.d.ts +2 -5
  1266. package/dist/serialization/types/CouponRequestBody.d.ts +2 -5
  1267. package/dist/serialization/{resources/credits/client/requests → types}/CreateBillingPlanCreditGrantRequestBody.d.ts +10 -13
  1268. package/dist/serialization/types/CreateBillingPriceTierRequestBody.d.ts +4 -5
  1269. package/dist/serialization/types/CreateEntitlementInBundleRequestBody.d.ts +39 -0
  1270. package/dist/serialization/types/CreateEntitlementInBundleRequestBodyMetricPeriod.d.ts +7 -0
  1271. package/dist/serialization/types/CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset.d.ts +7 -0
  1272. package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +2 -5
  1273. package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriod.d.ts +2 -5
  1274. package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +2 -5
  1275. package/dist/serialization/types/CreateEventRequestBody.d.ts +2 -5
  1276. package/dist/serialization/types/CreateFlagRequestBody.d.ts +2 -5
  1277. package/dist/serialization/types/CreateOrUpdateConditionGroupRequestBody.d.ts +2 -5
  1278. package/dist/serialization/types/CreateOrUpdateConditionRequestBody.d.ts +2 -5
  1279. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +3 -6
  1280. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +2 -5
  1281. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +2 -5
  1282. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +2 -5
  1283. package/dist/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +2 -5
  1284. package/dist/serialization/types/CreateOrUpdateRuleRequestBody.d.ts +2 -5
  1285. package/dist/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +2 -5
  1286. package/dist/serialization/types/CreatePlanRequestBody.d.ts +13 -0
  1287. package/dist/serialization/types/CreatePriceTierRequestBody.d.ts +2 -5
  1288. package/dist/serialization/types/CreditAutoTopupAmountType.d.ts +2 -5
  1289. package/dist/serialization/types/CreditBundlePurchaseResponseData.d.ts +2 -5
  1290. package/dist/serialization/types/CreditCompanyGrantView.d.ts +9 -6
  1291. package/dist/serialization/types/CreditGrantDetail.d.ts +2 -5
  1292. package/dist/serialization/types/CreditGrantExpiryRequestBody.d.ts +2 -5
  1293. package/dist/serialization/types/CreditGrantSortOrder.d.ts +2 -5
  1294. package/dist/serialization/types/CreditLedgerEnrichedEntryResponseData.d.ts +3 -6
  1295. package/dist/serialization/types/CreditLedgerPeriod.d.ts +2 -5
  1296. package/dist/serialization/types/CreditTransferResponseData.d.ts +14 -0
  1297. package/dist/serialization/types/CreditTransferView.d.ts +14 -0
  1298. package/dist/serialization/types/CreditTriggerConfig.d.ts +2 -5
  1299. package/dist/serialization/types/CreditUsage.d.ts +4 -5
  1300. package/dist/serialization/types/CreditUsageAggregation.d.ts +12 -0
  1301. package/dist/serialization/types/CreditUsageResponseData.d.ts +2 -5
  1302. package/dist/serialization/types/CustomPlanConfig.d.ts +2 -5
  1303. package/dist/serialization/types/CustomPlanViewConfigResponseData.d.ts +2 -5
  1304. package/dist/serialization/types/DataExportOutputFileType.d.ts +2 -5
  1305. package/dist/serialization/types/DataExportResponseData.d.ts +3 -6
  1306. package/dist/serialization/types/DataExportStatus.d.ts +2 -5
  1307. package/dist/serialization/types/DataExportType.d.ts +2 -5
  1308. package/dist/serialization/types/DeleteBillingPlanCreditGrantRequestBody.d.ts +9 -0
  1309. package/dist/serialization/types/DeleteResponse.d.ts +2 -5
  1310. package/dist/serialization/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +2 -5
  1311. package/dist/serialization/types/EntitlementPriceBehavior.d.ts +2 -5
  1312. package/dist/serialization/types/EntitlementTriggerConfig.d.ts +2 -5
  1313. package/dist/serialization/types/EntitlementType.d.ts +2 -5
  1314. package/dist/serialization/types/EntitlementValueType.d.ts +2 -5
  1315. package/dist/serialization/types/EntitlementsInPlan.d.ts +2 -5
  1316. package/dist/serialization/types/EntityKeyDefinitionResponseData.d.ts +2 -5
  1317. package/dist/serialization/types/EntityKeyDetailResponseData.d.ts +2 -5
  1318. package/dist/serialization/types/EntityKeyResponseData.d.ts +2 -5
  1319. package/dist/serialization/types/EntityTraitDefinitionResponseData.d.ts +2 -5
  1320. package/dist/serialization/types/EntityTraitDetailResponseData.d.ts +2 -5
  1321. package/dist/serialization/types/EntityTraitResponseData.d.ts +2 -5
  1322. package/dist/serialization/types/EntityTraitValue.d.ts +2 -5
  1323. package/dist/serialization/types/EntityType.d.ts +2 -5
  1324. package/dist/serialization/types/EnvironmentDetailResponseData.d.ts +2 -5
  1325. package/dist/serialization/types/EnvironmentResponseData.d.ts +2 -5
  1326. package/dist/serialization/types/EnvironmentType.d.ts +2 -5
  1327. package/dist/serialization/types/EventBody.d.ts +3 -6
  1328. package/dist/serialization/types/EventBodyFlagCheck.d.ts +2 -5
  1329. package/dist/serialization/types/EventBodyIdentify.d.ts +2 -5
  1330. package/dist/serialization/types/EventBodyIdentifyCompany.d.ts +2 -5
  1331. package/dist/serialization/types/EventBodyTrack.d.ts +2 -5
  1332. package/dist/serialization/types/EventDetailResponseData.d.ts +4 -7
  1333. package/dist/serialization/types/EventResponseData.d.ts +3 -6
  1334. package/dist/serialization/types/EventStatus.d.ts +2 -5
  1335. package/dist/serialization/types/EventSummaryResponseData.d.ts +2 -5
  1336. package/dist/serialization/types/EventType.d.ts +2 -5
  1337. package/dist/serialization/types/FeatureCompanyResponseData.d.ts +9 -10
  1338. package/dist/serialization/types/FeatureCompanyUserResponseData.d.ts +3 -6
  1339. package/dist/serialization/types/FeatureDetailResponseData.d.ts +4 -7
  1340. package/dist/serialization/types/FeatureLedgerResponseData.d.ts +2 -5
  1341. package/dist/serialization/types/FeatureLifecyclePhase.d.ts +2 -5
  1342. package/dist/serialization/types/FeatureResponseData.d.ts +3 -6
  1343. package/dist/serialization/types/FeatureType.d.ts +2 -5
  1344. package/dist/serialization/types/FeatureUsageDataResponseData.d.ts +3 -6
  1345. package/dist/serialization/types/FeatureUsageDetailResponseData.d.ts +2 -5
  1346. package/dist/serialization/types/FeatureUsageResponseData.d.ts +9 -10
  1347. package/dist/serialization/types/FlagDetailResponseData.d.ts +2 -5
  1348. package/dist/serialization/types/FlagResponseData.d.ts +2 -5
  1349. package/dist/serialization/types/FlagType.d.ts +2 -5
  1350. package/dist/serialization/types/GenericPreviewObject.d.ts +2 -5
  1351. package/dist/serialization/types/InvoiceRequestBody.d.ts +2 -5
  1352. package/dist/serialization/types/InvoiceResponseData.d.ts +4 -5
  1353. package/dist/serialization/types/IssueTemporaryAccessTokenResponseData.d.ts +2 -5
  1354. package/dist/serialization/types/KeysRequestBody.d.ts +2 -5
  1355. package/dist/serialization/types/ManagePlanPreviewResponseResponseData.d.ts +2 -5
  1356. package/dist/serialization/types/ManagePlanRequest.d.ts +2 -5
  1357. package/dist/serialization/types/ManagePlanResponseResponseData.d.ts +2 -5
  1358. package/dist/serialization/types/MeterRequestBody.d.ts +2 -5
  1359. package/dist/serialization/types/OrderedPlansInGroup.d.ts +2 -5
  1360. package/dist/serialization/types/PaymentMethodRequestBody.d.ts +2 -5
  1361. package/dist/serialization/types/PaymentMethodResponseData.d.ts +4 -5
  1362. package/dist/serialization/types/PlanBundleAction.d.ts +7 -0
  1363. package/dist/serialization/types/PlanBundleCreditGrantRequestBody.d.ts +17 -0
  1364. package/dist/serialization/types/PlanBundleEntitlementRequestBody.d.ts +13 -0
  1365. package/dist/serialization/types/PlanBundleResponseData.d.ts +18 -0
  1366. package/dist/serialization/types/PlanChangeAction.d.ts +2 -5
  1367. package/dist/serialization/types/PlanChangeActorType.d.ts +2 -5
  1368. package/dist/serialization/types/PlanChangeBasePlanAction.d.ts +2 -5
  1369. package/dist/serialization/types/PlanChangeResponseData.d.ts +6 -9
  1370. package/dist/serialization/types/PlanChangeSubscriptionAction.d.ts +3 -6
  1371. package/dist/serialization/types/PlanControlledByType.d.ts +2 -5
  1372. package/dist/serialization/types/PlanCreditGrantView.d.ts +2 -5
  1373. package/dist/serialization/types/PlanDetailResponseData.d.ts +7 -8
  1374. package/dist/serialization/types/PlanEntitlementResponseData.d.ts +7 -10
  1375. package/dist/serialization/types/PlanEntitlementsOrder.d.ts +2 -5
  1376. package/dist/serialization/types/PlanGroupBundleOrder.d.ts +2 -5
  1377. package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +5 -8
  1378. package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +8 -9
  1379. package/dist/serialization/types/PlanGroupPlanEntitlementsOrder.d.ts +2 -5
  1380. package/dist/serialization/types/PlanGroupResponseData.d.ts +3 -6
  1381. package/dist/serialization/types/PlanIssueResponseData.d.ts +2 -5
  1382. package/dist/serialization/types/PlanResponseData.d.ts +2 -5
  1383. package/dist/serialization/types/PlanSelection.d.ts +2 -5
  1384. package/dist/serialization/types/PlanSnapshotView.d.ts +2 -5
  1385. package/dist/serialization/types/PlanTraitResponseData.d.ts +2 -5
  1386. package/dist/serialization/types/PlanType.d.ts +2 -5
  1387. package/dist/serialization/types/PlanVersionResponseData.d.ts +21 -0
  1388. package/dist/serialization/types/PlanVersionStatus.d.ts +7 -0
  1389. package/dist/serialization/types/PreviewObject.d.ts +2 -5
  1390. package/dist/serialization/types/PreviewObjectResponseData.d.ts +2 -5
  1391. package/dist/serialization/types/PreviewSubscriptionChangeResponseData.d.ts +3 -6
  1392. package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +2 -5
  1393. package/dist/serialization/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +2 -5
  1394. package/dist/serialization/types/ProrationBehavior.d.ts +2 -5
  1395. package/dist/serialization/types/QuickstartResp.d.ts +2 -5
  1396. package/dist/serialization/types/RawEventBatchResponseData.d.ts +2 -5
  1397. package/dist/serialization/types/RawEventResponseData.d.ts +3 -6
  1398. package/dist/serialization/types/Rule.d.ts +3 -6
  1399. package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +3 -6
  1400. package/dist/serialization/types/RuleConditionGroupDetailResponseData.d.ts +2 -5
  1401. package/dist/serialization/types/RuleConditionGroupResponseData.d.ts +2 -5
  1402. package/dist/serialization/types/RuleConditionResponseData.d.ts +2 -5
  1403. package/dist/serialization/types/RuleDetailResponseData.d.ts +3 -6
  1404. package/dist/serialization/types/RuleResponseData.d.ts +2 -5
  1405. package/dist/serialization/types/RuleRuleType.d.ts +2 -5
  1406. package/dist/serialization/types/RulesDetailResponseData.d.ts +2 -5
  1407. package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +2 -5
  1408. package/dist/serialization/types/RulesengineCheckFlagResult.d.ts +2 -5
  1409. package/dist/serialization/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +2 -5
  1410. package/dist/serialization/types/RulesengineCheckFlagResultRuleType.d.ts +2 -5
  1411. package/dist/serialization/types/RulesengineCompany.d.ts +2 -5
  1412. package/dist/serialization/types/RulesengineCompanyMetric.d.ts +2 -5
  1413. package/dist/serialization/types/RulesengineCompanyMetricMonthReset.d.ts +2 -5
  1414. package/dist/serialization/types/RulesengineCompanyMetricPeriod.d.ts +2 -5
  1415. package/dist/serialization/types/RulesengineCondition.d.ts +3 -6
  1416. package/dist/serialization/types/RulesengineConditionConditionType.d.ts +2 -5
  1417. package/dist/serialization/types/RulesengineConditionGroup.d.ts +2 -5
  1418. package/dist/serialization/types/RulesengineConditionMetricPeriod.d.ts +2 -5
  1419. package/dist/serialization/types/RulesengineConditionMetricPeriodMonthReset.d.ts +2 -5
  1420. package/dist/serialization/types/RulesengineConditionOperator.d.ts +2 -5
  1421. package/dist/serialization/types/RulesengineEntityType.d.ts +2 -5
  1422. package/dist/serialization/types/RulesengineFlag.d.ts +2 -5
  1423. package/dist/serialization/types/RulesengineRule.d.ts +3 -6
  1424. package/dist/serialization/types/RulesengineRuleRuleType.d.ts +2 -5
  1425. package/dist/serialization/types/RulesengineSubscription.d.ts +2 -5
  1426. package/dist/serialization/types/RulesengineTrait.d.ts +2 -5
  1427. package/dist/serialization/types/RulesengineTraitDefinition.d.ts +3 -6
  1428. package/dist/serialization/types/RulesengineTraitDefinitionComparableType.d.ts +2 -5
  1429. package/dist/serialization/types/RulesengineUser.d.ts +2 -5
  1430. package/dist/serialization/types/SegmentStatusResp.d.ts +2 -5
  1431. package/dist/serialization/types/SkippedEntitlementErrorResponseData.d.ts +2 -5
  1432. package/dist/serialization/types/SkippedEntitlementResponseData.d.ts +2 -5
  1433. package/dist/serialization/types/SortDirection.d.ts +2 -5
  1434. package/dist/serialization/types/StripeEmbedInfo.d.ts +2 -5
  1435. package/dist/serialization/types/SubscriptionStatus.d.ts +2 -5
  1436. package/dist/serialization/types/SubscriptionTraitUpdate.d.ts +2 -5
  1437. package/dist/serialization/types/SubscriptionType.d.ts +2 -5
  1438. package/dist/serialization/types/TemporaryAccessTokenResourceType.d.ts +2 -5
  1439. package/dist/serialization/types/TemporaryAccessTokenResponseData.d.ts +2 -5
  1440. package/dist/serialization/types/TraitDefinition.d.ts +3 -6
  1441. package/dist/serialization/types/TraitDefinitionComparableType.d.ts +2 -5
  1442. package/dist/serialization/types/TraitType.d.ts +2 -5
  1443. package/dist/serialization/types/UpdateAddOnRequestBody.d.ts +2 -5
  1444. package/dist/serialization/{resources/credits/client/requests → types}/UpdateBillingPlanCreditGrantRequestBody.d.ts +10 -13
  1445. package/dist/serialization/types/UpdateCreditBundleRequestBody.d.ts +2 -5
  1446. package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +3 -6
  1447. package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +2 -5
  1448. package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +2 -5
  1449. package/dist/serialization/types/UpdatePayInAdvanceRequestBody.d.ts +2 -5
  1450. package/dist/serialization/types/UpdatePlanRequestBody.d.ts +11 -0
  1451. package/dist/serialization/types/UpdatePlanTraitTraitRequestBody.d.ts +2 -5
  1452. package/dist/serialization/types/UpdateRuleRequestBody.d.ts +2 -5
  1453. package/dist/serialization/{resources/plans/client/requests → types}/UpsertBillingProductRequestBody.d.ts +5 -8
  1454. package/dist/serialization/types/UpsertCompanyRequestBody.d.ts +2 -5
  1455. package/dist/serialization/types/UpsertTraitRequestBody.d.ts +2 -5
  1456. package/dist/serialization/types/UpsertUserRequestBody.d.ts +2 -5
  1457. package/dist/serialization/types/UpsertUserSubRequestBody.d.ts +2 -5
  1458. package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +3 -6
  1459. package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +2 -5
  1460. package/dist/serialization/types/UserDetailResponseData.d.ts +3 -6
  1461. package/dist/serialization/types/UserResponseData.d.ts +2 -5
  1462. package/dist/serialization/types/WebhookEventDetailResponseData.d.ts +3 -6
  1463. package/dist/serialization/types/WebhookEventResponseData.d.ts +3 -6
  1464. package/dist/serialization/types/WebhookEventStatus.d.ts +2 -5
  1465. package/dist/serialization/types/WebhookRequestType.d.ts +3 -6
  1466. package/dist/serialization/types/WebhookResponseData.d.ts +2 -5
  1467. package/dist/serialization/types/WebhookStatus.d.ts +2 -5
  1468. package/dist/serialization/types/index.d.ts +39 -26
  1469. package/dist/wrapper.d.ts +10 -1
  1470. package/package.json +23 -10
  1471. package/dist/api/resources/companies/client/requests/GetActiveDealsRequest.d.ts +0 -24
  1472. package/dist/api/resources/companies/types/GetActiveDealsParams.d.ts +0 -14
  1473. package/dist/api/resources/companies/types/GetActiveDealsResponse.d.ts +0 -9
  1474. package/dist/api/resources/crm/client/Client.d.ts +0 -133
  1475. package/dist/api/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.d.ts +0 -14
  1476. package/dist/api/resources/crm/client/requests/CreateCrmDealRequestBody.d.ts +0 -22
  1477. package/dist/api/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +0 -23
  1478. package/dist/api/resources/crm/client/requests/CreateCrmProductRequestBody.d.ts +0 -26
  1479. package/dist/api/resources/crm/client/requests/ListCrmProductsRequest.d.ts +0 -23
  1480. package/dist/api/resources/crm/client/requests/index.d.ts +0 -5
  1481. package/dist/api/resources/crm/types/ListCrmProductsParams.d.ts +0 -14
  1482. package/dist/api/resources/crm/types/ListCrmProductsResponse.d.ts +0 -9
  1483. package/dist/api/resources/crm/types/UpsertCrmDealResponse.d.ts +0 -9
  1484. package/dist/api/resources/crm/types/UpsertCrmProductResponse.d.ts +0 -9
  1485. package/dist/api/resources/crm/types/UpsertDealLineItemAssociationResponse.d.ts +0 -9
  1486. package/dist/api/resources/crm/types/UpsertLineItemResponse.d.ts +0 -9
  1487. package/dist/api/resources/crm/types/index.d.ts +0 -6
  1488. package/dist/api/resources/plans/client/requests/CreatePlanRequestBody.d.ts +0 -18
  1489. package/dist/api/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +0 -14
  1490. package/dist/api/types/CompanyCrmDealsResponseData.d.ts +0 -11
  1491. package/dist/api/types/CrmDealLineItem.d.ts +0 -18
  1492. package/dist/api/types/CrmDealResponseData.d.ts +0 -16
  1493. package/dist/api/types/CrmLineItemResponseData.d.ts +0 -11
  1494. package/dist/api/types/CrmProductResponseData.d.ts +0 -15
  1495. package/dist/api/types/Decimal.d.ts +0 -4
  1496. package/dist/serialization/resources/companies/types/GetActiveDealsParams.d.ts +0 -15
  1497. package/dist/serialization/resources/companies/types/GetActiveDealsResponse.d.ts +0 -15
  1498. package/dist/serialization/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.d.ts +0 -13
  1499. package/dist/serialization/resources/crm/client/requests/CreateCrmDealRequestBody.d.ts +0 -20
  1500. package/dist/serialization/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +0 -19
  1501. package/dist/serialization/resources/crm/client/requests/CreateCrmProductRequestBody.d.ts +0 -19
  1502. package/dist/serialization/resources/crm/client/requests/index.d.ts +0 -4
  1503. package/dist/serialization/resources/crm/types/ListCrmProductsParams.d.ts +0 -15
  1504. package/dist/serialization/resources/crm/types/ListCrmProductsResponse.d.ts +0 -15
  1505. package/dist/serialization/resources/crm/types/UpsertCrmDealResponse.d.ts +0 -14
  1506. package/dist/serialization/resources/crm/types/UpsertCrmProductResponse.d.ts +0 -14
  1507. package/dist/serialization/resources/crm/types/UpsertDealLineItemAssociationResponse.d.ts +0 -14
  1508. package/dist/serialization/resources/crm/types/UpsertLineItemResponse.d.ts +0 -14
  1509. package/dist/serialization/resources/crm/types/index.d.ts +0 -6
  1510. package/dist/serialization/resources/plans/client/requests/CreatePlanRequestBody.d.ts +0 -16
  1511. package/dist/serialization/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +0 -14
  1512. package/dist/serialization/types/CompanyCrmDealsResponseData.d.ts +0 -17
  1513. package/dist/serialization/types/CrmDealLineItem.d.ts +0 -24
  1514. package/dist/serialization/types/CrmDealResponseData.d.ts +0 -22
  1515. package/dist/serialization/types/CrmLineItemResponseData.d.ts +0 -17
  1516. package/dist/serialization/types/CrmProductResponseData.d.ts +0 -21
  1517. package/dist/serialization/types/Decimal.d.ts +0 -10
  1518. package/dist/api/resources/{crm → planbundle}/client/index.d.ts +0 -0
  1519. package/dist/{serialization/resources/crm → api/resources/planbundle}/index.d.ts +1 -1
  1520. package/dist/serialization/resources/{crm → planbundle}/client/index.d.ts +0 -0
  1521. package/dist/{api/resources/crm → serialization/resources/planbundle}/index.d.ts +1 -1
@@ -1,35 +1,19 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as environments from "../../../../environments";
1
+ import type * as stream from "stream";
2
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient";
3
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient";
5
4
  import * as core from "../../../../core";
6
5
  import * as Schematic from "../../../index";
7
- import * as stream from "stream";
8
- export declare namespace Dataexports {
9
- interface Options {
10
- environment?: core.Supplier<environments.SchematicEnvironment | string>;
11
- /** Specify a custom URL to connect the client to. */
12
- baseUrl?: core.Supplier<string>;
13
- apiKey?: core.Supplier<string | undefined>;
14
- fetcher?: core.FetchFunction;
15
- }
16
- interface RequestOptions {
17
- /** The maximum time to wait for a response in seconds. */
18
- timeoutInSeconds?: number;
19
- /** The number of times to retry the request. Defaults to 2. */
20
- maxRetries?: number;
21
- /** A hook to abort the request. */
22
- abortSignal?: AbortSignal;
23
- /** Additional headers to include in the request. */
24
- headers?: Record<string, string>;
6
+ export declare namespace DataexportsClient {
7
+ type Options = BaseClientOptions;
8
+ interface RequestOptions extends BaseRequestOptions {
25
9
  }
26
10
  }
27
- export declare class Dataexports {
28
- protected readonly _options: Dataexports.Options;
29
- constructor(_options?: Dataexports.Options);
11
+ export declare class DataexportsClient {
12
+ protected readonly _options: NormalizedClientOptionsWithAuth<DataexportsClient.Options>;
13
+ constructor(options: DataexportsClient.Options);
30
14
  /**
31
15
  * @param {Schematic.CreateDataExportRequestBody} request
32
- * @param {Dataexports.RequestOptions} requestOptions - Request-specific configuration.
16
+ * @param {DataexportsClient.RequestOptions} requestOptions - Request-specific configuration.
33
17
  *
34
18
  * @throws {@link Schematic.BadRequestError}
35
19
  * @throws {@link Schematic.UnauthorizedError}
@@ -39,12 +23,10 @@ export declare class Dataexports {
39
23
  *
40
24
  * @example
41
25
  * await client.dataexports.createDataExport({
42
- * exportType: "company-feature-usage",
43
- * metadata: "metadata",
44
- * outputFileType: "csv"
26
+ * metadata: "metadata"
45
27
  * })
46
28
  */
47
- createDataExport(request: Schematic.CreateDataExportRequestBody, requestOptions?: Dataexports.RequestOptions): core.HttpResponsePromise<Schematic.CreateDataExportResponse>;
29
+ createDataExport(request: Schematic.CreateDataExportRequestBody, requestOptions?: DataexportsClient.RequestOptions): core.HttpResponsePromise<Schematic.CreateDataExportResponse>;
48
30
  private __createDataExport;
49
31
  /**
50
32
  * @throws {@link Schematic.UnauthorizedError}
@@ -52,9 +34,6 @@ export declare class Dataexports {
52
34
  * @throws {@link Schematic.NotFoundError}
53
35
  * @throws {@link Schematic.InternalServerError}
54
36
  */
55
- getDataExportArtifact(dataExportId: string, requestOptions?: Dataexports.RequestOptions): core.HttpResponsePromise<stream.Readable>;
37
+ getDataExportArtifact(data_export_id: string, requestOptions?: DataexportsClient.RequestOptions): core.HttpResponsePromise<stream.Readable>;
56
38
  private __getDataExportArtifact;
57
- protected _getCustomAuthorizationHeaders(): Promise<{
58
- "X-Schematic-Api-Key": string | undefined;
59
- }>;
60
39
  }
@@ -1,12 +1,7 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
1
  /**
5
2
  * @example
6
3
  * {
7
- * exportType: "company-feature-usage",
8
- * metadata: "metadata",
9
- * outputFileType: "csv"
4
+ * metadata: "metadata"
10
5
  * }
11
6
  */
12
7
  export interface CreateDataExportRequestBody {
@@ -1 +1 @@
1
- export { type CreateDataExportRequestBody } from "./CreateDataExportRequestBody";
1
+ export type { CreateDataExportRequestBody } from "./CreateDataExportRequestBody";
@@ -1,2 +1,2 @@
1
- export * from "./types";
2
1
  export * from "./client";
2
+ export * from "./types";
@@ -1,7 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Schematic from "../../../index";
1
+ import type * as Schematic from "../../../index";
5
2
  export interface CreateDataExportResponse {
6
3
  data: Schematic.DataExportResponseData;
7
4
  /** Input parameters */
@@ -1,34 +1,18 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as environments from "../../../../environments";
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient";
5
3
  import * as core from "../../../../core";
6
4
  import * as Schematic from "../../../index";
7
- export declare namespace Entitlements {
8
- interface Options {
9
- environment?: core.Supplier<environments.SchematicEnvironment | string>;
10
- /** Specify a custom URL to connect the client to. */
11
- baseUrl?: core.Supplier<string>;
12
- apiKey?: core.Supplier<string | undefined>;
13
- fetcher?: core.FetchFunction;
14
- }
15
- interface RequestOptions {
16
- /** The maximum time to wait for a response in seconds. */
17
- timeoutInSeconds?: number;
18
- /** The number of times to retry the request. Defaults to 2. */
19
- maxRetries?: number;
20
- /** A hook to abort the request. */
21
- abortSignal?: AbortSignal;
22
- /** Additional headers to include in the request. */
23
- headers?: Record<string, string>;
5
+ export declare namespace EntitlementsClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
24
8
  }
25
9
  }
26
- export declare class Entitlements {
27
- protected readonly _options: Entitlements.Options;
28
- constructor(_options?: Entitlements.Options);
10
+ export declare class EntitlementsClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<EntitlementsClient.Options>;
12
+ constructor(options: EntitlementsClient.Options);
29
13
  /**
30
14
  * @param {Schematic.ListCompanyOverridesRequest} request
31
- * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
15
+ * @param {EntitlementsClient.RequestOptions} requestOptions - Request-specific configuration.
32
16
  *
33
17
  * @throws {@link Schematic.BadRequestError}
34
18
  * @throws {@link Schematic.UnauthorizedError}
@@ -46,11 +30,11 @@ export declare class Entitlements {
46
30
  * offset: 1
47
31
  * })
48
32
  */
49
- listCompanyOverrides(request?: Schematic.ListCompanyOverridesRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.ListCompanyOverridesResponse>;
33
+ listCompanyOverrides(request?: Schematic.ListCompanyOverridesRequest, requestOptions?: EntitlementsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCompanyOverridesResponse>;
50
34
  private __listCompanyOverrides;
51
35
  /**
52
36
  * @param {Schematic.CreateCompanyOverrideRequestBody} request
53
- * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
37
+ * @param {EntitlementsClient.RequestOptions} requestOptions - Request-specific configuration.
54
38
  *
55
39
  * @throws {@link Schematic.BadRequestError}
56
40
  * @throws {@link Schematic.UnauthorizedError}
@@ -65,11 +49,11 @@ export declare class Entitlements {
65
49
  * valueType: "boolean"
66
50
  * })
67
51
  */
68
- createCompanyOverride(request: Schematic.CreateCompanyOverrideRequestBody, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.CreateCompanyOverrideResponse>;
52
+ createCompanyOverride(request: Schematic.CreateCompanyOverrideRequestBody, requestOptions?: EntitlementsClient.RequestOptions): core.HttpResponsePromise<Schematic.CreateCompanyOverrideResponse>;
69
53
  private __createCompanyOverride;
70
54
  /**
71
- * @param {string} companyOverrideId - company_override_id
72
- * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
55
+ * @param {string} company_override_id - company_override_id
56
+ * @param {EntitlementsClient.RequestOptions} requestOptions - Request-specific configuration.
73
57
  *
74
58
  * @throws {@link Schematic.UnauthorizedError}
75
59
  * @throws {@link Schematic.ForbiddenError}
@@ -79,12 +63,12 @@ export declare class Entitlements {
79
63
  * @example
80
64
  * await client.entitlements.getCompanyOverride("company_override_id")
81
65
  */
82
- getCompanyOverride(companyOverrideId: string, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.GetCompanyOverrideResponse>;
66
+ getCompanyOverride(company_override_id: string, requestOptions?: EntitlementsClient.RequestOptions): core.HttpResponsePromise<Schematic.GetCompanyOverrideResponse>;
83
67
  private __getCompanyOverride;
84
68
  /**
85
- * @param {string} companyOverrideId - company_override_id
69
+ * @param {string} company_override_id - company_override_id
86
70
  * @param {Schematic.UpdateCompanyOverrideRequestBody} request
87
- * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
71
+ * @param {EntitlementsClient.RequestOptions} requestOptions - Request-specific configuration.
88
72
  *
89
73
  * @throws {@link Schematic.BadRequestError}
90
74
  * @throws {@link Schematic.UnauthorizedError}
@@ -97,11 +81,11 @@ export declare class Entitlements {
97
81
  * valueType: "boolean"
98
82
  * })
99
83
  */
100
- updateCompanyOverride(companyOverrideId: string, request: Schematic.UpdateCompanyOverrideRequestBody, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.UpdateCompanyOverrideResponse>;
84
+ updateCompanyOverride(company_override_id: string, request: Schematic.UpdateCompanyOverrideRequestBody, requestOptions?: EntitlementsClient.RequestOptions): core.HttpResponsePromise<Schematic.UpdateCompanyOverrideResponse>;
101
85
  private __updateCompanyOverride;
102
86
  /**
103
- * @param {string} companyOverrideId - company_override_id
104
- * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
87
+ * @param {string} company_override_id - company_override_id
88
+ * @param {EntitlementsClient.RequestOptions} requestOptions - Request-specific configuration.
105
89
  *
106
90
  * @throws {@link Schematic.BadRequestError}
107
91
  * @throws {@link Schematic.UnauthorizedError}
@@ -112,11 +96,11 @@ export declare class Entitlements {
112
96
  * @example
113
97
  * await client.entitlements.deleteCompanyOverride("company_override_id")
114
98
  */
115
- deleteCompanyOverride(companyOverrideId: string, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.DeleteCompanyOverrideResponse>;
99
+ deleteCompanyOverride(company_override_id: string, requestOptions?: EntitlementsClient.RequestOptions): core.HttpResponsePromise<Schematic.DeleteCompanyOverrideResponse>;
116
100
  private __deleteCompanyOverride;
117
101
  /**
118
102
  * @param {Schematic.CountCompanyOverridesRequest} request
119
- * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
103
+ * @param {EntitlementsClient.RequestOptions} requestOptions - Request-specific configuration.
120
104
  *
121
105
  * @throws {@link Schematic.BadRequestError}
122
106
  * @throws {@link Schematic.UnauthorizedError}
@@ -134,11 +118,11 @@ export declare class Entitlements {
134
118
  * offset: 1
135
119
  * })
136
120
  */
137
- countCompanyOverrides(request?: Schematic.CountCompanyOverridesRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.CountCompanyOverridesResponse>;
121
+ countCompanyOverrides(request?: Schematic.CountCompanyOverridesRequest, requestOptions?: EntitlementsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCompanyOverridesResponse>;
138
122
  private __countCompanyOverrides;
139
123
  /**
140
124
  * @param {Schematic.ListFeatureCompaniesRequest} request
141
- * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
125
+ * @param {EntitlementsClient.RequestOptions} requestOptions - Request-specific configuration.
142
126
  *
143
127
  * @throws {@link Schematic.BadRequestError}
144
128
  * @throws {@link Schematic.UnauthorizedError}
@@ -154,11 +138,11 @@ export declare class Entitlements {
154
138
  * offset: 1
155
139
  * })
156
140
  */
157
- listFeatureCompanies(request: Schematic.ListFeatureCompaniesRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.ListFeatureCompaniesResponse>;
141
+ listFeatureCompanies(request: Schematic.ListFeatureCompaniesRequest, requestOptions?: EntitlementsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListFeatureCompaniesResponse>;
158
142
  private __listFeatureCompanies;
159
143
  /**
160
144
  * @param {Schematic.CountFeatureCompaniesRequest} request
161
- * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
145
+ * @param {EntitlementsClient.RequestOptions} requestOptions - Request-specific configuration.
162
146
  *
163
147
  * @throws {@link Schematic.BadRequestError}
164
148
  * @throws {@link Schematic.UnauthorizedError}
@@ -174,11 +158,11 @@ export declare class Entitlements {
174
158
  * offset: 1
175
159
  * })
176
160
  */
177
- countFeatureCompanies(request: Schematic.CountFeatureCompaniesRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.CountFeatureCompaniesResponse>;
161
+ countFeatureCompanies(request: Schematic.CountFeatureCompaniesRequest, requestOptions?: EntitlementsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountFeatureCompaniesResponse>;
178
162
  private __countFeatureCompanies;
179
163
  /**
180
164
  * @param {Schematic.ListFeatureUsageRequest} request
181
- * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
165
+ * @param {EntitlementsClient.RequestOptions} requestOptions - Request-specific configuration.
182
166
  *
183
167
  * @throws {@link Schematic.BadRequestError}
184
168
  * @throws {@link Schematic.UnauthorizedError}
@@ -189,17 +173,18 @@ export declare class Entitlements {
189
173
  * @example
190
174
  * await client.entitlements.listFeatureUsage({
191
175
  * companyId: "company_id",
176
+ * includeUsageAggregation: true,
192
177
  * q: "q",
193
178
  * withoutNegativeEntitlements: true,
194
179
  * limit: 1,
195
180
  * offset: 1
196
181
  * })
197
182
  */
198
- listFeatureUsage(request?: Schematic.ListFeatureUsageRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.ListFeatureUsageResponse>;
183
+ listFeatureUsage(request?: Schematic.ListFeatureUsageRequest, requestOptions?: EntitlementsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListFeatureUsageResponse>;
199
184
  private __listFeatureUsage;
200
185
  /**
201
186
  * @param {Schematic.CountFeatureUsageRequest} request
202
- * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
187
+ * @param {EntitlementsClient.RequestOptions} requestOptions - Request-specific configuration.
203
188
  *
204
189
  * @throws {@link Schematic.BadRequestError}
205
190
  * @throws {@link Schematic.UnauthorizedError}
@@ -210,17 +195,18 @@ export declare class Entitlements {
210
195
  * @example
211
196
  * await client.entitlements.countFeatureUsage({
212
197
  * companyId: "company_id",
198
+ * includeUsageAggregation: true,
213
199
  * q: "q",
214
200
  * withoutNegativeEntitlements: true,
215
201
  * limit: 1,
216
202
  * offset: 1
217
203
  * })
218
204
  */
219
- countFeatureUsage(request?: Schematic.CountFeatureUsageRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.CountFeatureUsageResponse>;
205
+ countFeatureUsage(request?: Schematic.CountFeatureUsageRequest, requestOptions?: EntitlementsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountFeatureUsageResponse>;
220
206
  private __countFeatureUsage;
221
207
  /**
222
208
  * @param {Schematic.ListFeatureUsersRequest} request
223
- * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
209
+ * @param {EntitlementsClient.RequestOptions} requestOptions - Request-specific configuration.
224
210
  *
225
211
  * @throws {@link Schematic.BadRequestError}
226
212
  * @throws {@link Schematic.UnauthorizedError}
@@ -236,11 +222,11 @@ export declare class Entitlements {
236
222
  * offset: 1
237
223
  * })
238
224
  */
239
- listFeatureUsers(request: Schematic.ListFeatureUsersRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.ListFeatureUsersResponse>;
225
+ listFeatureUsers(request: Schematic.ListFeatureUsersRequest, requestOptions?: EntitlementsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListFeatureUsersResponse>;
240
226
  private __listFeatureUsers;
241
227
  /**
242
228
  * @param {Schematic.CountFeatureUsersRequest} request
243
- * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
229
+ * @param {EntitlementsClient.RequestOptions} requestOptions - Request-specific configuration.
244
230
  *
245
231
  * @throws {@link Schematic.BadRequestError}
246
232
  * @throws {@link Schematic.UnauthorizedError}
@@ -256,11 +242,11 @@ export declare class Entitlements {
256
242
  * offset: 1
257
243
  * })
258
244
  */
259
- countFeatureUsers(request: Schematic.CountFeatureUsersRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.CountFeatureUsersResponse>;
245
+ countFeatureUsers(request: Schematic.CountFeatureUsersRequest, requestOptions?: EntitlementsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountFeatureUsersResponse>;
260
246
  private __countFeatureUsers;
261
247
  /**
262
248
  * @param {Schematic.ListPlanEntitlementsRequest} request
263
- * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
249
+ * @param {EntitlementsClient.RequestOptions} requestOptions - Request-specific configuration.
264
250
  *
265
251
  * @throws {@link Schematic.BadRequestError}
266
252
  * @throws {@link Schematic.UnauthorizedError}
@@ -278,11 +264,11 @@ export declare class Entitlements {
278
264
  * offset: 1
279
265
  * })
280
266
  */
281
- listPlanEntitlements(request?: Schematic.ListPlanEntitlementsRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.ListPlanEntitlementsResponse>;
267
+ listPlanEntitlements(request?: Schematic.ListPlanEntitlementsRequest, requestOptions?: EntitlementsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListPlanEntitlementsResponse>;
282
268
  private __listPlanEntitlements;
283
269
  /**
284
270
  * @param {Schematic.CreatePlanEntitlementRequestBody} request
285
- * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
271
+ * @param {EntitlementsClient.RequestOptions} requestOptions - Request-specific configuration.
286
272
  *
287
273
  * @throws {@link Schematic.BadRequestError}
288
274
  * @throws {@link Schematic.UnauthorizedError}
@@ -297,11 +283,11 @@ export declare class Entitlements {
297
283
  * valueType: "boolean"
298
284
  * })
299
285
  */
300
- createPlanEntitlement(request: Schematic.CreatePlanEntitlementRequestBody, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.CreatePlanEntitlementResponse>;
286
+ createPlanEntitlement(request: Schematic.CreatePlanEntitlementRequestBody, requestOptions?: EntitlementsClient.RequestOptions): core.HttpResponsePromise<Schematic.CreatePlanEntitlementResponse>;
301
287
  private __createPlanEntitlement;
302
288
  /**
303
- * @param {string} planEntitlementId - plan_entitlement_id
304
- * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
289
+ * @param {string} plan_entitlement_id - plan_entitlement_id
290
+ * @param {EntitlementsClient.RequestOptions} requestOptions - Request-specific configuration.
305
291
  *
306
292
  * @throws {@link Schematic.UnauthorizedError}
307
293
  * @throws {@link Schematic.ForbiddenError}
@@ -311,12 +297,12 @@ export declare class Entitlements {
311
297
  * @example
312
298
  * await client.entitlements.getPlanEntitlement("plan_entitlement_id")
313
299
  */
314
- getPlanEntitlement(planEntitlementId: string, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.GetPlanEntitlementResponse>;
300
+ getPlanEntitlement(plan_entitlement_id: string, requestOptions?: EntitlementsClient.RequestOptions): core.HttpResponsePromise<Schematic.GetPlanEntitlementResponse>;
315
301
  private __getPlanEntitlement;
316
302
  /**
317
- * @param {string} planEntitlementId - plan_entitlement_id
303
+ * @param {string} plan_entitlement_id - plan_entitlement_id
318
304
  * @param {Schematic.UpdatePlanEntitlementRequestBody} request
319
- * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
305
+ * @param {EntitlementsClient.RequestOptions} requestOptions - Request-specific configuration.
320
306
  *
321
307
  * @throws {@link Schematic.BadRequestError}
322
308
  * @throws {@link Schematic.UnauthorizedError}
@@ -329,11 +315,11 @@ export declare class Entitlements {
329
315
  * valueType: "boolean"
330
316
  * })
331
317
  */
332
- updatePlanEntitlement(planEntitlementId: string, request: Schematic.UpdatePlanEntitlementRequestBody, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.UpdatePlanEntitlementResponse>;
318
+ updatePlanEntitlement(plan_entitlement_id: string, request: Schematic.UpdatePlanEntitlementRequestBody, requestOptions?: EntitlementsClient.RequestOptions): core.HttpResponsePromise<Schematic.UpdatePlanEntitlementResponse>;
333
319
  private __updatePlanEntitlement;
334
320
  /**
335
- * @param {string} planEntitlementId - plan_entitlement_id
336
- * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
321
+ * @param {string} plan_entitlement_id - plan_entitlement_id
322
+ * @param {EntitlementsClient.RequestOptions} requestOptions - Request-specific configuration.
337
323
  *
338
324
  * @throws {@link Schematic.BadRequestError}
339
325
  * @throws {@link Schematic.UnauthorizedError}
@@ -344,11 +330,11 @@ export declare class Entitlements {
344
330
  * @example
345
331
  * await client.entitlements.deletePlanEntitlement("plan_entitlement_id")
346
332
  */
347
- deletePlanEntitlement(planEntitlementId: string, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.DeletePlanEntitlementResponse>;
333
+ deletePlanEntitlement(plan_entitlement_id: string, requestOptions?: EntitlementsClient.RequestOptions): core.HttpResponsePromise<Schematic.DeletePlanEntitlementResponse>;
348
334
  private __deletePlanEntitlement;
349
335
  /**
350
336
  * @param {Schematic.CountPlanEntitlementsRequest} request
351
- * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
337
+ * @param {EntitlementsClient.RequestOptions} requestOptions - Request-specific configuration.
352
338
  *
353
339
  * @throws {@link Schematic.BadRequestError}
354
340
  * @throws {@link Schematic.UnauthorizedError}
@@ -366,11 +352,11 @@ export declare class Entitlements {
366
352
  * offset: 1
367
353
  * })
368
354
  */
369
- countPlanEntitlements(request?: Schematic.CountPlanEntitlementsRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.CountPlanEntitlementsResponse>;
355
+ countPlanEntitlements(request?: Schematic.CountPlanEntitlementsRequest, requestOptions?: EntitlementsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountPlanEntitlementsResponse>;
370
356
  private __countPlanEntitlements;
371
357
  /**
372
358
  * @param {Schematic.DuplicatePlanEntitlementsRequestBody} request
373
- * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
359
+ * @param {EntitlementsClient.RequestOptions} requestOptions - Request-specific configuration.
374
360
  *
375
361
  * @throws {@link Schematic.BadRequestError}
376
362
  * @throws {@link Schematic.UnauthorizedError}
@@ -384,11 +370,11 @@ export declare class Entitlements {
384
370
  * targetPlanId: "target_plan_id"
385
371
  * })
386
372
  */
387
- duplicatePlanEntitlements(request: Schematic.DuplicatePlanEntitlementsRequestBody, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.DuplicatePlanEntitlementsResponse>;
373
+ duplicatePlanEntitlements(request: Schematic.DuplicatePlanEntitlementsRequestBody, requestOptions?: EntitlementsClient.RequestOptions): core.HttpResponsePromise<Schematic.DuplicatePlanEntitlementsResponse>;
388
374
  private __duplicatePlanEntitlements;
389
375
  /**
390
376
  * @param {Schematic.GetFeatureUsageByCompanyRequest} request
391
- * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
377
+ * @param {EntitlementsClient.RequestOptions} requestOptions - Request-specific configuration.
392
378
  *
393
379
  * @throws {@link Schematic.UnauthorizedError}
394
380
  * @throws {@link Schematic.ForbiddenError}
@@ -402,9 +388,6 @@ export declare class Entitlements {
402
388
  * }
403
389
  * })
404
390
  */
405
- getFeatureUsageByCompany(request: Schematic.GetFeatureUsageByCompanyRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.GetFeatureUsageByCompanyResponse>;
391
+ getFeatureUsageByCompany(request: Schematic.GetFeatureUsageByCompanyRequest, requestOptions?: EntitlementsClient.RequestOptions): core.HttpResponsePromise<Schematic.GetFeatureUsageByCompanyResponse>;
406
392
  private __getFeatureUsageByCompany;
407
- protected _getCustomAuthorizationHeaders(): Promise<{
408
- "X-Schematic-Api-Key": string | undefined;
409
- }>;
410
393
  }
@@ -1,6 +1,3 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
1
  /**
5
2
  * @example
6
3
  * {
@@ -13,40 +10,22 @@
13
10
  * }
14
11
  */
15
12
  export interface CountCompanyOverridesRequest {
16
- /**
17
- * Filter company overrides by a single company ID (starting with comp_)
18
- */
13
+ /** Filter company overrides by a single company ID (starting with comp_) */
19
14
  companyId?: string;
20
- /**
21
- * Filter company overrides by multiple company IDs (starting with comp_)
22
- */
15
+ /** Filter company overrides by multiple company IDs (starting with comp_) */
23
16
  companyIds?: string | string[];
24
- /**
25
- * Filter company overrides by a single feature ID (starting with feat_)
26
- */
17
+ /** Filter company overrides by a single feature ID (starting with feat_) */
27
18
  featureId?: string;
28
- /**
29
- * Filter company overrides by multiple feature IDs (starting with feat_)
30
- */
19
+ /** Filter company overrides by multiple feature IDs (starting with feat_) */
31
20
  featureIds?: string | string[];
32
- /**
33
- * Filter company overrides by multiple company override IDs (starting with cmov_)
34
- */
21
+ /** Filter company overrides by multiple company override IDs (starting with cmov_) */
35
22
  ids?: string | string[];
36
- /**
37
- * Filter company overrides by whether they have not expired
38
- */
23
+ /** Filter company overrides by whether they have not expired */
39
24
  withoutExpired?: boolean;
40
- /**
41
- * Search for company overrides by feature or company name
42
- */
25
+ /** Search for company overrides by feature or company name */
43
26
  q?: string;
44
- /**
45
- * Page limit (default 100)
46
- */
27
+ /** Page limit (default 100) */
47
28
  limit?: number;
48
- /**
49
- * Page offset (default 0)
50
- */
29
+ /** Page offset (default 0) */
51
30
  offset?: number;
52
31
  }
@@ -1,6 +1,3 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
1
  /**
5
2
  * @example
6
3
  * {
@@ -13,12 +10,8 @@
13
10
  export interface CountFeatureCompaniesRequest {
14
11
  featureId: string;
15
12
  q?: string;
16
- /**
17
- * Page limit (default 100)
18
- */
13
+ /** Page limit (default 100) */
19
14
  limit?: number;
20
- /**
21
- * Page offset (default 0)
22
- */
15
+ /** Page offset (default 0) */
23
16
  offset?: number;
24
17
  }
@@ -1,10 +1,8 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
1
  /**
5
2
  * @example
6
3
  * {
7
4
  * companyId: "company_id",
5
+ * includeUsageAggregation: true,
8
6
  * q: "q",
9
7
  * withoutNegativeEntitlements: true,
10
8
  * limit: 1,
@@ -15,14 +13,12 @@ export interface CountFeatureUsageRequest {
15
13
  companyId?: string;
16
14
  companyKeys?: Record<string, string>;
17
15
  featureIds?: string | string[];
16
+ /** Include time-bucketed usage aggregation (today, this week, this month, billing period) for credit-based entitlements. Defaults to false for performance. */
17
+ includeUsageAggregation?: boolean;
18
18
  q?: string;
19
19
  withoutNegativeEntitlements?: boolean;
20
- /**
21
- * Page limit (default 100)
22
- */
20
+ /** Page limit (default 100) */
23
21
  limit?: number;
24
- /**
25
- * Page offset (default 0)
26
- */
22
+ /** Page offset (default 0) */
27
23
  offset?: number;
28
24
  }
@@ -1,6 +1,3 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
1
  /**
5
2
  * @example
6
3
  * {
@@ -13,12 +10,8 @@
13
10
  export interface CountFeatureUsersRequest {
14
11
  featureId: string;
15
12
  q?: string;
16
- /**
17
- * Page limit (default 100)
18
- */
13
+ /** Page limit (default 100) */
19
14
  limit?: number;
20
- /**
21
- * Page offset (default 0)
22
- */
15
+ /** Page offset (default 0) */
23
16
  offset?: number;
24
17
  }
@@ -1,6 +1,3 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
1
  /**
5
2
  * @example
6
3
  * {
@@ -13,40 +10,22 @@
13
10
  * }
14
11
  */
15
12
  export interface CountPlanEntitlementsRequest {
16
- /**
17
- * Filter plan entitlements by a single feature ID (starting with feat_)
18
- */
13
+ /** Filter plan entitlements by a single feature ID (starting with feat_) */
19
14
  featureId?: string;
20
- /**
21
- * Filter plan entitlements by multiple feature IDs (starting with feat_)
22
- */
15
+ /** Filter plan entitlements by multiple feature IDs (starting with feat_) */
23
16
  featureIds?: string | string[];
24
- /**
25
- * Filter plan entitlements by multiple plan entitlement IDs (starting with pltl_)
26
- */
17
+ /** Filter plan entitlements by multiple plan entitlement IDs (starting with pltl_) */
27
18
  ids?: string | string[];
28
- /**
29
- * Filter plan entitlements by a single plan ID (starting with plan_)
30
- */
19
+ /** Filter plan entitlements by a single plan ID (starting with plan_) */
31
20
  planId?: string;
32
- /**
33
- * Filter plan entitlements by multiple plan IDs (starting with plan_)
34
- */
21
+ /** Filter plan entitlements by multiple plan IDs (starting with plan_) */
35
22
  planIds?: string | string[];
36
- /**
37
- * Search for plan entitlements by feature or company name
38
- */
23
+ /** Search for plan entitlements by feature or company name */
39
24
  q?: string;
40
- /**
41
- * Filter plan entitlements only with metered products
42
- */
25
+ /** Filter plan entitlements only with metered products */
43
26
  withMeteredProducts?: boolean;
44
- /**
45
- * Page limit (default 100)
46
- */
27
+ /** Page limit (default 100) */
47
28
  limit?: number;
48
- /**
49
- * Page offset (default 0)
50
- */
29
+ /** Page offset (default 0) */
51
30
  offset?: number;
52
31
  }
@@ -1,7 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Schematic from "../../../../index";
1
+ import type * as Schematic from "../../../../index";
5
2
  /**
6
3
  * @example
7
4
  * {
@@ -1,7 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Schematic from "../../../../index";
1
+ import type * as Schematic from "../../../../index";
5
2
  /**
6
3
  * @example
7
4
  * {