@schematichq/schematic-typescript-node 1.1.11 → 1.1.12

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 (1112) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +27 -22
  3. package/api/resources/accesstokens/client/Client.d.ts +1 -2
  4. package/api/resources/accesstokens/client/Client.js +4 -5
  5. package/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +1 -3
  6. package/api/resources/accounts/client/Client.js +15 -15
  7. package/api/resources/billing/client/Client.js +26 -21
  8. package/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +1 -1
  9. package/api/resources/billing/client/requests/SearchBillingPricesRequest.d.ts +1 -0
  10. package/api/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +8 -0
  11. package/api/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.js +10 -0
  12. package/api/resources/billing/types/SearchBillingPricesParams.d.ts +1 -0
  13. package/api/resources/billing/types/{CreateBillingPriceRequestBodyTierMode.d.ts → SearchBillingPricesRequestTiersMode.d.ts} +2 -2
  14. package/api/resources/billing/types/{CreateBillingPriceRequestBodyTierMode.js → SearchBillingPricesRequestTiersMode.js} +2 -2
  15. package/api/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +8 -0
  16. package/api/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.js +10 -0
  17. package/api/resources/billing/types/index.d.ts +3 -1
  18. package/api/resources/billing/types/index.js +3 -1
  19. package/api/resources/checkout/client/Client.d.ts +12 -2
  20. package/api/resources/checkout/client/Client.js +16 -6
  21. package/api/resources/companies/client/Client.d.ts +30 -12
  22. package/api/resources/companies/client/Client.js +403 -43
  23. package/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +66 -0
  24. package/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.js +5 -0
  25. package/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts +66 -0
  26. package/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.js +5 -0
  27. package/api/resources/companies/client/requests/index.d.ts +2 -0
  28. package/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +37 -0
  29. package/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.js +5 -0
  30. package/api/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +11 -0
  31. package/api/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.js +10 -0
  32. package/api/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +9 -0
  33. package/api/resources/companies/types/CountCompaniesForAdvancedFilterResponse.js +5 -0
  34. package/api/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +11 -0
  35. package/api/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +10 -0
  36. package/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +37 -0
  37. package/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.js +5 -0
  38. package/api/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +11 -0
  39. package/api/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.js +10 -0
  40. package/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +10 -0
  41. package/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.js +5 -0
  42. package/api/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +11 -0
  43. package/api/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +10 -0
  44. package/api/resources/companies/types/index.d.ts +8 -0
  45. package/api/resources/companies/types/index.js +8 -0
  46. package/api/resources/components/client/Client.js +7 -7
  47. package/api/resources/credits/client/Client.d.ts +338 -0
  48. package/api/resources/credits/client/Client.js +2338 -0
  49. package/api/resources/credits/client/index.d.ts +1 -0
  50. package/api/resources/credits/client/index.js +17 -0
  51. package/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +19 -0
  52. package/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.js +5 -0
  53. package/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +19 -0
  54. package/api/resources/credits/client/requests/CountBillingCreditsRequest.js +5 -0
  55. package/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +20 -0
  56. package/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.js +5 -0
  57. package/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +22 -0
  58. package/api/resources/credits/client/requests/CountCreditBundlesRequest.js +5 -0
  59. package/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +26 -0
  60. package/api/resources/credits/client/requests/CreateBillingCreditRequestBody.js +5 -0
  61. package/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +21 -0
  62. package/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.js +5 -0
  63. package/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +24 -0
  64. package/api/resources/credits/client/requests/CreateCreditBundleRequestBody.js +5 -0
  65. package/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +19 -0
  66. package/api/resources/credits/client/requests/ListBillingCreditsRequest.js +5 -0
  67. package/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +20 -0
  68. package/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.js +5 -0
  69. package/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +21 -0
  70. package/api/resources/credits/client/requests/ListCompanyGrantsRequest.js +5 -0
  71. package/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +22 -0
  72. package/api/resources/credits/client/requests/ListCreditBundlesRequest.js +5 -0
  73. package/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +19 -0
  74. package/api/resources/credits/client/requests/ListGrantsForCreditRequest.js +5 -0
  75. package/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +24 -0
  76. package/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.js +5 -0
  77. package/api/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +11 -0
  78. package/api/resources/credits/client/requests/ZeroOutGrantRequestBody.js +5 -0
  79. package/api/resources/credits/client/requests/index.d.ts +14 -0
  80. package/api/resources/credits/client/requests/index.js +2 -0
  81. package/api/resources/credits/index.d.ts +2 -0
  82. package/api/resources/credits/index.js +18 -0
  83. package/api/resources/credits/types/CountBillingCreditsGrantsParams.d.ts +14 -0
  84. package/api/resources/credits/types/CountBillingCreditsGrantsParams.js +5 -0
  85. package/api/resources/credits/types/CountBillingCreditsGrantsResponse.d.ts +9 -0
  86. package/api/resources/credits/types/CountBillingCreditsGrantsResponse.js +5 -0
  87. package/api/resources/credits/types/CountBillingCreditsParams.d.ts +14 -0
  88. package/api/resources/credits/types/CountBillingCreditsParams.js +5 -0
  89. package/api/resources/credits/types/CountBillingCreditsResponse.d.ts +9 -0
  90. package/api/resources/credits/types/CountBillingCreditsResponse.js +5 -0
  91. package/api/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +15 -0
  92. package/api/resources/credits/types/CountBillingPlanCreditGrantsParams.js +5 -0
  93. package/api/resources/credits/types/CountBillingPlanCreditGrantsResponse.d.ts +9 -0
  94. package/api/resources/credits/types/CountBillingPlanCreditGrantsResponse.js +5 -0
  95. package/api/resources/credits/types/CountCreditBundlesParams.d.ts +17 -0
  96. package/api/resources/credits/types/CountCreditBundlesParams.js +5 -0
  97. package/api/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +8 -0
  98. package/api/resources/credits/types/CountCreditBundlesRequestStatus.js +10 -0
  99. package/api/resources/credits/types/CountCreditBundlesResponse.d.ts +9 -0
  100. package/api/resources/credits/types/CountCreditBundlesResponse.js +5 -0
  101. package/api/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +8 -0
  102. package/api/resources/credits/types/CountCreditBundlesResponseParamsStatus.js +10 -0
  103. package/api/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +10 -0
  104. package/api/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.js +12 -0
  105. package/api/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +9 -0
  106. package/api/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.js +11 -0
  107. package/api/resources/credits/types/CreateBillingCreditResponse.d.ts +9 -0
  108. package/api/resources/credits/types/CreateBillingCreditResponse.js +5 -0
  109. package/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +10 -0
  110. package/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.js +12 -0
  111. package/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +8 -0
  112. package/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.js +10 -0
  113. package/api/resources/credits/types/CreateBillingPlanCreditGrantResponse.d.ts +9 -0
  114. package/api/resources/credits/types/CreateBillingPlanCreditGrantResponse.js +5 -0
  115. package/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +8 -0
  116. package/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.js +10 -0
  117. package/api/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +8 -0
  118. package/api/resources/credits/types/CreateCreditBundleRequestBodyStatus.js +10 -0
  119. package/api/resources/credits/types/CreateCreditBundleResponse.d.ts +9 -0
  120. package/api/resources/credits/types/CreateCreditBundleResponse.js +5 -0
  121. package/api/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +9 -0
  122. package/api/resources/credits/types/DeleteBillingPlanCreditGrantResponse.js +5 -0
  123. package/api/resources/credits/types/DeleteCreditBundleResponse.d.ts +9 -0
  124. package/api/resources/credits/types/DeleteCreditBundleResponse.js +5 -0
  125. package/api/resources/credits/types/GetCreditBundleResponse.d.ts +9 -0
  126. package/api/resources/credits/types/GetCreditBundleResponse.js +5 -0
  127. package/api/resources/credits/types/GetSingleBillingCreditResponse.d.ts +9 -0
  128. package/api/resources/credits/types/GetSingleBillingCreditResponse.js +5 -0
  129. package/api/resources/credits/types/ListBillingCreditsParams.d.ts +14 -0
  130. package/api/resources/credits/types/ListBillingCreditsParams.js +5 -0
  131. package/api/resources/credits/types/ListBillingCreditsResponse.d.ts +10 -0
  132. package/api/resources/credits/types/ListBillingCreditsResponse.js +5 -0
  133. package/api/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +15 -0
  134. package/api/resources/credits/types/ListBillingPlanCreditGrantsParams.js +5 -0
  135. package/api/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +10 -0
  136. package/api/resources/credits/types/ListBillingPlanCreditGrantsResponse.js +5 -0
  137. package/api/resources/credits/types/ListCompanyGrantsParams.d.ts +16 -0
  138. package/api/resources/credits/types/ListCompanyGrantsParams.js +5 -0
  139. package/api/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +8 -0
  140. package/api/resources/credits/types/ListCompanyGrantsRequestDir.js +10 -0
  141. package/api/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +10 -0
  142. package/api/resources/credits/types/ListCompanyGrantsRequestOrder.js +12 -0
  143. package/api/resources/credits/types/ListCompanyGrantsResponse.d.ts +10 -0
  144. package/api/resources/credits/types/ListCompanyGrantsResponse.js +5 -0
  145. package/api/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +8 -0
  146. package/api/resources/credits/types/ListCompanyGrantsResponseParamsDir.js +10 -0
  147. package/api/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +10 -0
  148. package/api/resources/credits/types/ListCompanyGrantsResponseParamsOrder.js +12 -0
  149. package/api/resources/credits/types/ListCreditBundlesParams.d.ts +17 -0
  150. package/api/resources/credits/types/ListCreditBundlesParams.js +5 -0
  151. package/api/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +8 -0
  152. package/api/resources/credits/types/ListCreditBundlesRequestStatus.js +10 -0
  153. package/api/resources/credits/types/ListCreditBundlesResponse.d.ts +10 -0
  154. package/api/resources/credits/types/ListCreditBundlesResponse.js +5 -0
  155. package/api/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +8 -0
  156. package/api/resources/credits/types/ListCreditBundlesResponseParamsStatus.js +10 -0
  157. package/api/resources/credits/types/ListGrantsForCreditParams.d.ts +14 -0
  158. package/api/resources/credits/types/ListGrantsForCreditParams.js +5 -0
  159. package/api/resources/credits/types/ListGrantsForCreditResponse.d.ts +10 -0
  160. package/api/resources/credits/types/ListGrantsForCreditResponse.js +5 -0
  161. package/api/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +10 -0
  162. package/api/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.js +12 -0
  163. package/api/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +9 -0
  164. package/api/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.js +11 -0
  165. package/api/resources/credits/types/UpdateBillingCreditResponse.d.ts +9 -0
  166. package/api/resources/credits/types/UpdateBillingCreditResponse.js +5 -0
  167. package/api/resources/credits/types/UpdateCreditBundleResponse.d.ts +9 -0
  168. package/api/resources/credits/types/UpdateCreditBundleResponse.js +5 -0
  169. package/api/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +8 -0
  170. package/api/resources/credits/types/ZeroOutGrantRequestBodyReason.js +10 -0
  171. package/api/resources/credits/types/ZeroOutGrantResponse.d.ts +9 -0
  172. package/api/resources/credits/types/ZeroOutGrantResponse.js +5 -0
  173. package/api/resources/credits/types/index.d.ts +45 -0
  174. package/api/resources/credits/types/index.js +61 -0
  175. package/api/resources/crm/client/Client.js +5 -5
  176. package/api/resources/dataexports/client/Client.js +2 -2
  177. package/api/resources/entitlements/client/Client.d.ts +4 -0
  178. package/api/resources/entitlements/client/Client.js +23 -19
  179. package/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -0
  180. package/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +7 -1
  181. package/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -0
  182. package/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +7 -1
  183. package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +2 -1
  184. package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js +1 -0
  185. package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +11 -0
  186. package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.js +13 -0
  187. package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +2 -1
  188. package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js +1 -0
  189. package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +2 -1
  190. package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js +1 -0
  191. package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +11 -0
  192. package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.js +13 -0
  193. package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +2 -1
  194. package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js +1 -0
  195. package/api/resources/entitlements/types/index.d.ts +2 -0
  196. package/api/resources/entitlements/types/index.js +2 -0
  197. package/api/resources/events/client/Client.js +10 -8
  198. package/api/resources/events/client/requests/ListEventsRequest.d.ts +2 -1
  199. package/api/resources/events/types/ListEventsParams.d.ts +2 -1
  200. package/api/resources/events/types/ListEventsRequestEventTypesItem.d.ts +9 -0
  201. package/api/resources/events/types/ListEventsRequestEventTypesItem.js +11 -0
  202. package/api/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +9 -0
  203. package/api/resources/events/types/ListEventsResponseParamsEventTypesItem.js +11 -0
  204. package/api/resources/events/types/index.d.ts +2 -0
  205. package/api/resources/events/types/index.js +2 -0
  206. package/api/resources/features/client/Client.d.ts +2 -2
  207. package/api/resources/features/client/Client.js +45 -23
  208. package/api/resources/features/client/requests/CountFeaturesRequest.d.ts +8 -0
  209. package/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -1
  210. package/api/resources/features/client/requests/ListFeaturesRequest.d.ts +8 -0
  211. package/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +1 -1
  212. package/api/resources/features/types/CountFeaturesParams.d.ts +4 -0
  213. package/api/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts +15 -0
  214. package/api/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.js +17 -0
  215. package/api/resources/features/types/ListFeaturesParams.d.ts +4 -0
  216. package/api/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +15 -0
  217. package/api/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.js +17 -0
  218. package/api/resources/features/types/index.d.ts +2 -0
  219. package/api/resources/features/types/index.js +2 -0
  220. package/api/resources/index.d.ts +3 -0
  221. package/api/resources/index.js +4 -1
  222. package/api/resources/plangroups/client/Client.js +3 -3
  223. package/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -0
  224. package/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -0
  225. package/api/resources/plans/client/Client.d.ts +1 -1
  226. package/api/resources/plans/client/Client.js +18 -18
  227. package/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +7 -3
  228. package/api/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +9 -0
  229. package/api/resources/plans/types/UpsertBillingProductRequestBodyChargeType.js +11 -0
  230. package/api/resources/plans/types/index.d.ts +1 -0
  231. package/api/resources/plans/types/index.js +1 -0
  232. package/api/resources/webhooks/client/Client.js +9 -9
  233. package/api/types/BillingCreditBundleResponseData.d.ts +18 -0
  234. package/api/types/BillingCreditBundleResponseData.js +5 -0
  235. package/api/types/BillingCreditGrantResponseData.d.ts +23 -0
  236. package/api/types/BillingCreditGrantResponseData.js +5 -0
  237. package/api/types/BillingCreditResponseData.d.ts +21 -0
  238. package/api/types/BillingCreditResponseData.js +5 -0
  239. package/api/types/BillingPlanCreditGrantResponseData.d.ts +14 -0
  240. package/api/types/BillingPlanCreditGrantResponseData.js +5 -0
  241. package/api/types/BillingPriceView.d.ts +1 -0
  242. package/api/types/BillingProductPlanResponseData.d.ts +1 -0
  243. package/api/types/BillingProductPriceResponseData.d.ts +1 -0
  244. package/api/types/ChangeSubscriptionInternalRequestBody.d.ts +2 -0
  245. package/api/types/ChangeSubscriptionRequestBody.d.ts +2 -0
  246. package/api/types/CheckoutDataResponseData.d.ts +2 -0
  247. package/api/types/CompanyOverrideResponseData.d.ts +1 -0
  248. package/api/types/CompanyPlanDetailResponseData.d.ts +2 -0
  249. package/api/types/CompanyViewWithFeatureUsageResponseData.d.ts +27 -0
  250. package/api/types/CompanyViewWithFeatureUsageResponseData.js +5 -0
  251. package/api/types/CompatiblePlans.d.ts +7 -0
  252. package/api/types/CompatiblePlans.js +5 -0
  253. package/api/types/CompatiblePlansResponseData.d.ts +7 -0
  254. package/api/types/CompatiblePlansResponseData.js +5 -0
  255. package/api/types/ComponentHydrateResponseData.d.ts +1 -0
  256. package/api/types/ComponentPreviewResponseData.d.ts +1 -0
  257. package/api/types/CreateEntitlementReqCommon.d.ts +1 -0
  258. package/api/types/CreateEntitlementReqCommonValueType.d.ts +2 -1
  259. package/api/types/CreateEntitlementReqCommonValueType.js +1 -0
  260. package/api/types/CreateFlagRequestBody.d.ts +1 -1
  261. package/api/types/CreateOrUpdateFlagRequestBody.d.ts +1 -1
  262. package/api/types/CreatePriceTierRequestBody.d.ts +9 -0
  263. package/api/types/CreatePriceTierRequestBody.js +5 -0
  264. package/api/types/CreditBundlePurchaseResponseData.d.ts +9 -0
  265. package/api/types/CreditBundlePurchaseResponseData.js +5 -0
  266. package/api/types/FeatureUsageDataResponseData.d.ts +14 -0
  267. package/api/types/FeatureUsageDataResponseData.js +5 -0
  268. package/api/types/PlanDetailResponseData.d.ts +1 -0
  269. package/api/types/PlanEntitlementResponseData.d.ts +2 -0
  270. package/api/types/PlanGroupPlanDetailResponseData.d.ts +2 -0
  271. package/api/types/PlanGroupResponseData.d.ts +1 -0
  272. package/api/types/PreviewSubscriptionChangeResponseData.d.ts +1 -0
  273. package/api/types/UpdateCreditBundleRequestBody.d.ts +7 -0
  274. package/api/types/UpdateCreditBundleRequestBody.js +5 -0
  275. package/api/types/UpdateEntitlementReqCommon.d.ts +1 -0
  276. package/api/types/UpdateEntitlementReqCommonValueType.d.ts +2 -1
  277. package/api/types/UpdateEntitlementReqCommonValueType.js +1 -0
  278. package/api/types/UpsertUserRequestBody.d.ts +2 -2
  279. package/api/types/UsageBasedEntitlementRequestBody.d.ts +5 -1
  280. package/api/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +11 -0
  281. package/api/types/UsageBasedEntitlementRequestBodyPriceBehavior.js +13 -0
  282. package/api/types/UsageBasedEntitlementResponseData.d.ts +1 -0
  283. package/api/types/index.d.ts +12 -0
  284. package/api/types/index.js +12 -0
  285. package/dist/Client.d.ts +3 -0
  286. package/dist/Client.js +27 -22
  287. package/dist/api/resources/accesstokens/client/Client.d.ts +1 -2
  288. package/dist/api/resources/accesstokens/client/Client.js +4 -5
  289. package/dist/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +1 -3
  290. package/dist/api/resources/accounts/client/Client.js +15 -15
  291. package/dist/api/resources/billing/client/Client.js +26 -21
  292. package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +1 -1
  293. package/dist/api/resources/billing/client/requests/SearchBillingPricesRequest.d.ts +1 -0
  294. package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +8 -0
  295. package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.js +10 -0
  296. package/dist/api/resources/billing/types/SearchBillingPricesParams.d.ts +1 -0
  297. package/dist/api/resources/billing/types/{CreateBillingPriceRequestBodyTierMode.d.ts → SearchBillingPricesRequestTiersMode.d.ts} +2 -2
  298. package/dist/api/resources/billing/types/{CreateBillingPriceRequestBodyTierMode.js → SearchBillingPricesRequestTiersMode.js} +2 -2
  299. package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +8 -0
  300. package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.js +10 -0
  301. package/dist/api/resources/billing/types/index.d.ts +3 -1
  302. package/dist/api/resources/billing/types/index.js +3 -1
  303. package/dist/api/resources/checkout/client/Client.d.ts +12 -2
  304. package/dist/api/resources/checkout/client/Client.js +16 -6
  305. package/dist/api/resources/companies/client/Client.d.ts +30 -12
  306. package/dist/api/resources/companies/client/Client.js +403 -43
  307. package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +66 -0
  308. package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.js +5 -0
  309. package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts +66 -0
  310. package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.js +5 -0
  311. package/dist/api/resources/companies/client/requests/index.d.ts +2 -0
  312. package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +37 -0
  313. package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.js +5 -0
  314. package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +11 -0
  315. package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.js +10 -0
  316. package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +9 -0
  317. package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponse.js +5 -0
  318. package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +11 -0
  319. package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +10 -0
  320. package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +37 -0
  321. package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.js +5 -0
  322. package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +11 -0
  323. package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.js +10 -0
  324. package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +10 -0
  325. package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.js +5 -0
  326. package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +11 -0
  327. package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +10 -0
  328. package/dist/api/resources/companies/types/index.d.ts +8 -0
  329. package/dist/api/resources/companies/types/index.js +8 -0
  330. package/dist/api/resources/components/client/Client.js +7 -7
  331. package/dist/api/resources/credits/client/Client.d.ts +338 -0
  332. package/dist/api/resources/credits/client/Client.js +2338 -0
  333. package/dist/api/resources/credits/client/index.d.ts +1 -0
  334. package/dist/api/resources/credits/client/index.js +17 -0
  335. package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +19 -0
  336. package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.js +5 -0
  337. package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +19 -0
  338. package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.js +5 -0
  339. package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +20 -0
  340. package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.js +5 -0
  341. package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +22 -0
  342. package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.js +5 -0
  343. package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +26 -0
  344. package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.js +5 -0
  345. package/dist/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +21 -0
  346. package/dist/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.js +5 -0
  347. package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +24 -0
  348. package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.js +5 -0
  349. package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +19 -0
  350. package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.js +5 -0
  351. package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +20 -0
  352. package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.js +5 -0
  353. package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +21 -0
  354. package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.js +5 -0
  355. package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +22 -0
  356. package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.js +5 -0
  357. package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +19 -0
  358. package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.js +5 -0
  359. package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +24 -0
  360. package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.js +5 -0
  361. package/dist/api/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +11 -0
  362. package/dist/api/resources/credits/client/requests/ZeroOutGrantRequestBody.js +5 -0
  363. package/dist/api/resources/credits/client/requests/index.d.ts +14 -0
  364. package/dist/api/resources/credits/client/requests/index.js +2 -0
  365. package/dist/api/resources/credits/index.d.ts +2 -0
  366. package/dist/api/resources/credits/index.js +18 -0
  367. package/dist/api/resources/credits/types/CountBillingCreditsGrantsParams.d.ts +14 -0
  368. package/dist/api/resources/credits/types/CountBillingCreditsGrantsParams.js +5 -0
  369. package/dist/api/resources/credits/types/CountBillingCreditsGrantsResponse.d.ts +9 -0
  370. package/dist/api/resources/credits/types/CountBillingCreditsGrantsResponse.js +5 -0
  371. package/dist/api/resources/credits/types/CountBillingCreditsParams.d.ts +14 -0
  372. package/dist/api/resources/credits/types/CountBillingCreditsParams.js +5 -0
  373. package/dist/api/resources/credits/types/CountBillingCreditsResponse.d.ts +9 -0
  374. package/dist/api/resources/credits/types/CountBillingCreditsResponse.js +5 -0
  375. package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +15 -0
  376. package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsParams.js +5 -0
  377. package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsResponse.d.ts +9 -0
  378. package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsResponse.js +5 -0
  379. package/dist/api/resources/credits/types/CountCreditBundlesParams.d.ts +17 -0
  380. package/dist/api/resources/credits/types/CountCreditBundlesParams.js +5 -0
  381. package/dist/api/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +8 -0
  382. package/dist/api/resources/credits/types/CountCreditBundlesRequestStatus.js +10 -0
  383. package/dist/api/resources/credits/types/CountCreditBundlesResponse.d.ts +9 -0
  384. package/dist/api/resources/credits/types/CountCreditBundlesResponse.js +5 -0
  385. package/dist/api/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +8 -0
  386. package/dist/api/resources/credits/types/CountCreditBundlesResponseParamsStatus.js +10 -0
  387. package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +10 -0
  388. package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.js +12 -0
  389. package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +9 -0
  390. package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.js +11 -0
  391. package/dist/api/resources/credits/types/CreateBillingCreditResponse.d.ts +9 -0
  392. package/dist/api/resources/credits/types/CreateBillingCreditResponse.js +5 -0
  393. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +10 -0
  394. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.js +12 -0
  395. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +8 -0
  396. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.js +10 -0
  397. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantResponse.d.ts +9 -0
  398. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantResponse.js +5 -0
  399. package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +8 -0
  400. package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.js +10 -0
  401. package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +8 -0
  402. package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyStatus.js +10 -0
  403. package/dist/api/resources/credits/types/CreateCreditBundleResponse.d.ts +9 -0
  404. package/dist/api/resources/credits/types/CreateCreditBundleResponse.js +5 -0
  405. package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +9 -0
  406. package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantResponse.js +5 -0
  407. package/dist/api/resources/credits/types/DeleteCreditBundleResponse.d.ts +9 -0
  408. package/dist/api/resources/credits/types/DeleteCreditBundleResponse.js +5 -0
  409. package/dist/api/resources/credits/types/GetCreditBundleResponse.d.ts +9 -0
  410. package/dist/api/resources/credits/types/GetCreditBundleResponse.js +5 -0
  411. package/dist/api/resources/credits/types/GetSingleBillingCreditResponse.d.ts +9 -0
  412. package/dist/api/resources/credits/types/GetSingleBillingCreditResponse.js +5 -0
  413. package/dist/api/resources/credits/types/ListBillingCreditsParams.d.ts +14 -0
  414. package/dist/api/resources/credits/types/ListBillingCreditsParams.js +5 -0
  415. package/dist/api/resources/credits/types/ListBillingCreditsResponse.d.ts +10 -0
  416. package/dist/api/resources/credits/types/ListBillingCreditsResponse.js +5 -0
  417. package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +15 -0
  418. package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsParams.js +5 -0
  419. package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +10 -0
  420. package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsResponse.js +5 -0
  421. package/dist/api/resources/credits/types/ListCompanyGrantsParams.d.ts +16 -0
  422. package/dist/api/resources/credits/types/ListCompanyGrantsParams.js +5 -0
  423. package/dist/api/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +8 -0
  424. package/dist/api/resources/credits/types/ListCompanyGrantsRequestDir.js +10 -0
  425. package/dist/api/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +10 -0
  426. package/dist/api/resources/credits/types/ListCompanyGrantsRequestOrder.js +12 -0
  427. package/dist/api/resources/credits/types/ListCompanyGrantsResponse.d.ts +10 -0
  428. package/dist/api/resources/credits/types/ListCompanyGrantsResponse.js +5 -0
  429. package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +8 -0
  430. package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsDir.js +10 -0
  431. package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +10 -0
  432. package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsOrder.js +12 -0
  433. package/dist/api/resources/credits/types/ListCreditBundlesParams.d.ts +17 -0
  434. package/dist/api/resources/credits/types/ListCreditBundlesParams.js +5 -0
  435. package/dist/api/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +8 -0
  436. package/dist/api/resources/credits/types/ListCreditBundlesRequestStatus.js +10 -0
  437. package/dist/api/resources/credits/types/ListCreditBundlesResponse.d.ts +10 -0
  438. package/dist/api/resources/credits/types/ListCreditBundlesResponse.js +5 -0
  439. package/dist/api/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +8 -0
  440. package/dist/api/resources/credits/types/ListCreditBundlesResponseParamsStatus.js +10 -0
  441. package/dist/api/resources/credits/types/ListGrantsForCreditParams.d.ts +14 -0
  442. package/dist/api/resources/credits/types/ListGrantsForCreditParams.js +5 -0
  443. package/dist/api/resources/credits/types/ListGrantsForCreditResponse.d.ts +10 -0
  444. package/dist/api/resources/credits/types/ListGrantsForCreditResponse.js +5 -0
  445. package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +10 -0
  446. package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.js +12 -0
  447. package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +9 -0
  448. package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.js +11 -0
  449. package/dist/api/resources/credits/types/UpdateBillingCreditResponse.d.ts +9 -0
  450. package/dist/api/resources/credits/types/UpdateBillingCreditResponse.js +5 -0
  451. package/dist/api/resources/credits/types/UpdateCreditBundleResponse.d.ts +9 -0
  452. package/dist/api/resources/credits/types/UpdateCreditBundleResponse.js +5 -0
  453. package/dist/api/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +8 -0
  454. package/dist/api/resources/credits/types/ZeroOutGrantRequestBodyReason.js +10 -0
  455. package/dist/api/resources/credits/types/ZeroOutGrantResponse.d.ts +9 -0
  456. package/dist/api/resources/credits/types/ZeroOutGrantResponse.js +5 -0
  457. package/dist/api/resources/credits/types/index.d.ts +45 -0
  458. package/dist/api/resources/credits/types/index.js +61 -0
  459. package/dist/api/resources/crm/client/Client.js +5 -5
  460. package/dist/api/resources/dataexports/client/Client.js +2 -2
  461. package/dist/api/resources/entitlements/client/Client.d.ts +4 -0
  462. package/dist/api/resources/entitlements/client/Client.js +23 -19
  463. package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -0
  464. package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +7 -1
  465. package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -0
  466. package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +7 -1
  467. package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +2 -1
  468. package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js +1 -0
  469. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +11 -0
  470. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.js +13 -0
  471. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +2 -1
  472. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js +1 -0
  473. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +2 -1
  474. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js +1 -0
  475. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +11 -0
  476. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.js +13 -0
  477. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +2 -1
  478. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js +1 -0
  479. package/dist/api/resources/entitlements/types/index.d.ts +2 -0
  480. package/dist/api/resources/entitlements/types/index.js +2 -0
  481. package/dist/api/resources/events/client/Client.js +10 -8
  482. package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +2 -1
  483. package/dist/api/resources/events/types/ListEventsParams.d.ts +2 -1
  484. package/dist/api/resources/events/types/ListEventsRequestEventTypesItem.d.ts +9 -0
  485. package/dist/api/resources/events/types/ListEventsRequestEventTypesItem.js +11 -0
  486. package/dist/api/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +9 -0
  487. package/dist/api/resources/events/types/ListEventsResponseParamsEventTypesItem.js +11 -0
  488. package/dist/api/resources/events/types/index.d.ts +2 -0
  489. package/dist/api/resources/events/types/index.js +2 -0
  490. package/dist/api/resources/features/client/Client.d.ts +2 -2
  491. package/dist/api/resources/features/client/Client.js +45 -23
  492. package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +8 -0
  493. package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -1
  494. package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +8 -0
  495. package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +1 -1
  496. package/dist/api/resources/features/types/CountFeaturesParams.d.ts +4 -0
  497. package/dist/api/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts +15 -0
  498. package/dist/api/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.js +17 -0
  499. package/dist/api/resources/features/types/ListFeaturesParams.d.ts +4 -0
  500. package/dist/api/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +15 -0
  501. package/dist/api/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.js +17 -0
  502. package/dist/api/resources/features/types/index.d.ts +2 -0
  503. package/dist/api/resources/features/types/index.js +2 -0
  504. package/dist/api/resources/index.d.ts +3 -0
  505. package/dist/api/resources/index.js +4 -1
  506. package/dist/api/resources/plangroups/client/Client.js +3 -3
  507. package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -0
  508. package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -0
  509. package/dist/api/resources/plans/client/Client.d.ts +1 -1
  510. package/dist/api/resources/plans/client/Client.js +18 -18
  511. package/dist/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +7 -3
  512. package/dist/api/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +9 -0
  513. package/dist/api/resources/plans/types/UpsertBillingProductRequestBodyChargeType.js +11 -0
  514. package/dist/api/resources/plans/types/index.d.ts +1 -0
  515. package/dist/api/resources/plans/types/index.js +1 -0
  516. package/dist/api/resources/webhooks/client/Client.js +9 -9
  517. package/dist/api/types/BillingCreditBundleResponseData.d.ts +18 -0
  518. package/dist/api/types/BillingCreditBundleResponseData.js +5 -0
  519. package/dist/api/types/BillingCreditGrantResponseData.d.ts +23 -0
  520. package/dist/api/types/BillingCreditGrantResponseData.js +5 -0
  521. package/dist/api/types/BillingCreditResponseData.d.ts +21 -0
  522. package/dist/api/types/BillingCreditResponseData.js +5 -0
  523. package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +14 -0
  524. package/dist/api/types/BillingPlanCreditGrantResponseData.js +5 -0
  525. package/dist/api/types/BillingPriceView.d.ts +1 -0
  526. package/dist/api/types/BillingProductPlanResponseData.d.ts +1 -0
  527. package/dist/api/types/BillingProductPriceResponseData.d.ts +1 -0
  528. package/dist/api/types/ChangeSubscriptionInternalRequestBody.d.ts +2 -0
  529. package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +2 -0
  530. package/dist/api/types/CheckoutDataResponseData.d.ts +2 -0
  531. package/dist/api/types/CompanyOverrideResponseData.d.ts +1 -0
  532. package/dist/api/types/CompanyPlanDetailResponseData.d.ts +2 -0
  533. package/dist/api/types/CompanyViewWithFeatureUsageResponseData.d.ts +27 -0
  534. package/dist/api/types/CompanyViewWithFeatureUsageResponseData.js +5 -0
  535. package/dist/api/types/CompatiblePlans.d.ts +7 -0
  536. package/dist/api/types/CompatiblePlans.js +5 -0
  537. package/dist/api/types/CompatiblePlansResponseData.d.ts +7 -0
  538. package/dist/api/types/CompatiblePlansResponseData.js +5 -0
  539. package/dist/api/types/ComponentHydrateResponseData.d.ts +1 -0
  540. package/dist/api/types/ComponentPreviewResponseData.d.ts +1 -0
  541. package/dist/api/types/CreateEntitlementReqCommon.d.ts +1 -0
  542. package/dist/api/types/CreateEntitlementReqCommonValueType.d.ts +2 -1
  543. package/dist/api/types/CreateEntitlementReqCommonValueType.js +1 -0
  544. package/dist/api/types/CreateFlagRequestBody.d.ts +1 -1
  545. package/dist/api/types/CreateOrUpdateFlagRequestBody.d.ts +1 -1
  546. package/dist/api/types/CreatePriceTierRequestBody.d.ts +9 -0
  547. package/dist/api/types/CreatePriceTierRequestBody.js +5 -0
  548. package/dist/api/types/CreditBundlePurchaseResponseData.d.ts +9 -0
  549. package/dist/api/types/CreditBundlePurchaseResponseData.js +5 -0
  550. package/dist/api/types/FeatureUsageDataResponseData.d.ts +14 -0
  551. package/dist/api/types/FeatureUsageDataResponseData.js +5 -0
  552. package/dist/api/types/PlanDetailResponseData.d.ts +1 -0
  553. package/dist/api/types/PlanEntitlementResponseData.d.ts +2 -0
  554. package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +2 -0
  555. package/dist/api/types/PlanGroupResponseData.d.ts +1 -0
  556. package/dist/api/types/PreviewSubscriptionChangeResponseData.d.ts +1 -0
  557. package/dist/api/types/UpdateCreditBundleRequestBody.d.ts +7 -0
  558. package/dist/api/types/UpdateCreditBundleRequestBody.js +5 -0
  559. package/dist/api/types/UpdateEntitlementReqCommon.d.ts +1 -0
  560. package/dist/api/types/UpdateEntitlementReqCommonValueType.d.ts +2 -1
  561. package/dist/api/types/UpdateEntitlementReqCommonValueType.js +1 -0
  562. package/dist/api/types/UpsertUserRequestBody.d.ts +2 -2
  563. package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +5 -1
  564. package/dist/api/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +11 -0
  565. package/dist/api/types/UsageBasedEntitlementRequestBodyPriceBehavior.js +13 -0
  566. package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +1 -0
  567. package/dist/api/types/index.d.ts +12 -0
  568. package/dist/api/types/index.js +12 -0
  569. package/dist/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +0 -1
  570. package/dist/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.js +0 -1
  571. package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -2
  572. package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.js +2 -2
  573. package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +10 -0
  574. package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.js +41 -0
  575. package/dist/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +2 -0
  576. package/dist/serialization/resources/billing/types/SearchBillingPricesParams.js +2 -0
  577. package/dist/serialization/resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts +10 -0
  578. package/dist/serialization/resources/billing/types/{CreateBillingPriceRequestBodyTierMode.js → SearchBillingPricesRequestTiersMode.js} +2 -2
  579. package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +10 -0
  580. package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.js +41 -0
  581. package/dist/serialization/resources/billing/types/index.d.ts +3 -1
  582. package/dist/serialization/resources/billing/types/index.js +3 -1
  583. package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +26 -0
  584. package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.js +57 -0
  585. package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +10 -0
  586. package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.js +41 -0
  587. package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +15 -0
  588. package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponse.js +46 -0
  589. package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +10 -0
  590. package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +41 -0
  591. package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +26 -0
  592. package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.js +57 -0
  593. package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +10 -0
  594. package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.js +41 -0
  595. package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +15 -0
  596. package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponse.js +46 -0
  597. package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +10 -0
  598. package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +41 -0
  599. package/dist/serialization/resources/companies/types/index.d.ts +8 -0
  600. package/dist/serialization/resources/companies/types/index.js +8 -0
  601. package/dist/serialization/resources/credits/client/index.d.ts +1 -0
  602. package/dist/serialization/resources/credits/client/index.js +17 -0
  603. package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +25 -0
  604. package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.js +56 -0
  605. package/dist/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +18 -0
  606. package/dist/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.js +49 -0
  607. package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +23 -0
  608. package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.js +54 -0
  609. package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +24 -0
  610. package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.js +55 -0
  611. package/dist/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +13 -0
  612. package/dist/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.js +44 -0
  613. package/dist/serialization/resources/credits/client/requests/index.d.ts +5 -0
  614. package/dist/serialization/resources/credits/client/requests/index.js +13 -0
  615. package/dist/serialization/resources/credits/index.d.ts +2 -0
  616. package/dist/serialization/resources/credits/index.js +18 -0
  617. package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsParams.d.ts +15 -0
  618. package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsParams.js +46 -0
  619. package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsResponse.d.ts +15 -0
  620. package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsResponse.js +46 -0
  621. package/dist/serialization/resources/credits/types/CountBillingCreditsParams.d.ts +15 -0
  622. package/dist/serialization/resources/credits/types/CountBillingCreditsParams.js +46 -0
  623. package/dist/serialization/resources/credits/types/CountBillingCreditsResponse.d.ts +15 -0
  624. package/dist/serialization/resources/credits/types/CountBillingCreditsResponse.js +46 -0
  625. package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +16 -0
  626. package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.js +47 -0
  627. package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsResponse.d.ts +15 -0
  628. package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsResponse.js +46 -0
  629. package/dist/serialization/resources/credits/types/CountCreditBundlesParams.d.ts +18 -0
  630. package/dist/serialization/resources/credits/types/CountCreditBundlesParams.js +49 -0
  631. package/dist/serialization/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +10 -0
  632. package/{serialization/resources/billing/types/CreateBillingPriceRequestBodyTierMode.js → dist/serialization/resources/credits/types/CountCreditBundlesRequestStatus.js} +2 -2
  633. package/dist/serialization/resources/credits/types/CountCreditBundlesResponse.d.ts +15 -0
  634. package/dist/serialization/resources/credits/types/CountCreditBundlesResponse.js +46 -0
  635. package/dist/serialization/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +10 -0
  636. package/dist/serialization/resources/credits/types/CountCreditBundlesResponseParamsStatus.js +41 -0
  637. package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +10 -0
  638. package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.js +46 -0
  639. package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +10 -0
  640. package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.js +41 -0
  641. package/dist/serialization/resources/credits/types/CreateBillingCreditResponse.d.ts +14 -0
  642. package/dist/serialization/resources/credits/types/CreateBillingCreditResponse.js +45 -0
  643. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +10 -0
  644. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.js +41 -0
  645. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +10 -0
  646. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.js +41 -0
  647. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantResponse.d.ts +14 -0
  648. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantResponse.js +45 -0
  649. package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +10 -0
  650. package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.js +41 -0
  651. package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +10 -0
  652. package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyStatus.js +41 -0
  653. package/dist/serialization/resources/credits/types/CreateCreditBundleResponse.d.ts +14 -0
  654. package/dist/serialization/resources/credits/types/CreateCreditBundleResponse.js +45 -0
  655. package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +14 -0
  656. package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantResponse.js +45 -0
  657. package/dist/serialization/resources/credits/types/DeleteCreditBundleResponse.d.ts +14 -0
  658. package/dist/serialization/resources/credits/types/DeleteCreditBundleResponse.js +45 -0
  659. package/dist/serialization/resources/credits/types/GetCreditBundleResponse.d.ts +14 -0
  660. package/dist/serialization/resources/credits/types/GetCreditBundleResponse.js +45 -0
  661. package/dist/serialization/resources/credits/types/GetSingleBillingCreditResponse.d.ts +14 -0
  662. package/dist/serialization/resources/credits/types/GetSingleBillingCreditResponse.js +45 -0
  663. package/dist/serialization/resources/credits/types/ListBillingCreditsParams.d.ts +15 -0
  664. package/dist/serialization/resources/credits/types/ListBillingCreditsParams.js +46 -0
  665. package/dist/serialization/resources/credits/types/ListBillingCreditsResponse.d.ts +15 -0
  666. package/dist/serialization/resources/credits/types/ListBillingCreditsResponse.js +46 -0
  667. package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +16 -0
  668. package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.js +47 -0
  669. package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +15 -0
  670. package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsResponse.js +46 -0
  671. package/dist/serialization/resources/credits/types/ListCompanyGrantsParams.d.ts +18 -0
  672. package/dist/serialization/resources/credits/types/ListCompanyGrantsParams.js +49 -0
  673. package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +10 -0
  674. package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestDir.js +41 -0
  675. package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +10 -0
  676. package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestOrder.js +41 -0
  677. package/dist/serialization/resources/credits/types/ListCompanyGrantsResponse.d.ts +15 -0
  678. package/dist/serialization/resources/credits/types/ListCompanyGrantsResponse.js +46 -0
  679. package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +10 -0
  680. package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsDir.js +41 -0
  681. package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +10 -0
  682. package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsOrder.js +41 -0
  683. package/dist/serialization/resources/credits/types/ListCreditBundlesParams.d.ts +18 -0
  684. package/dist/serialization/resources/credits/types/ListCreditBundlesParams.js +49 -0
  685. package/dist/serialization/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +10 -0
  686. package/dist/serialization/resources/credits/types/ListCreditBundlesRequestStatus.js +41 -0
  687. package/dist/serialization/resources/credits/types/ListCreditBundlesResponse.d.ts +15 -0
  688. package/dist/serialization/resources/credits/types/ListCreditBundlesResponse.js +46 -0
  689. package/dist/serialization/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +10 -0
  690. package/dist/serialization/resources/credits/types/ListCreditBundlesResponseParamsStatus.js +41 -0
  691. package/dist/serialization/resources/credits/types/ListGrantsForCreditParams.d.ts +15 -0
  692. package/dist/serialization/resources/credits/types/ListGrantsForCreditParams.js +46 -0
  693. package/dist/serialization/resources/credits/types/ListGrantsForCreditResponse.d.ts +15 -0
  694. package/dist/serialization/resources/credits/types/ListGrantsForCreditResponse.js +46 -0
  695. package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +10 -0
  696. package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.js +46 -0
  697. package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +10 -0
  698. package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.js +41 -0
  699. package/dist/serialization/resources/credits/types/UpdateBillingCreditResponse.d.ts +14 -0
  700. package/dist/serialization/resources/credits/types/UpdateBillingCreditResponse.js +45 -0
  701. package/dist/serialization/resources/credits/types/UpdateCreditBundleResponse.d.ts +14 -0
  702. package/dist/serialization/resources/credits/types/UpdateCreditBundleResponse.js +45 -0
  703. package/dist/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +10 -0
  704. package/dist/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.js +41 -0
  705. package/dist/serialization/resources/credits/types/ZeroOutGrantResponse.d.ts +14 -0
  706. package/dist/serialization/resources/credits/types/ZeroOutGrantResponse.js +45 -0
  707. package/dist/serialization/resources/credits/types/index.d.ts +45 -0
  708. package/dist/serialization/resources/credits/types/index.js +61 -0
  709. package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -0
  710. package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +1 -0
  711. package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +7 -1
  712. package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +7 -1
  713. package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -0
  714. package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +1 -0
  715. package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +7 -1
  716. package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +7 -1
  717. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +1 -1
  718. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js +1 -1
  719. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +10 -0
  720. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.js +41 -0
  721. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +1 -1
  722. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js +1 -1
  723. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +1 -1
  724. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js +1 -1
  725. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +10 -0
  726. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.js +41 -0
  727. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +1 -1
  728. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js +1 -1
  729. package/dist/serialization/resources/entitlements/types/index.d.ts +2 -0
  730. package/dist/serialization/resources/entitlements/types/index.js +2 -0
  731. package/dist/serialization/resources/events/types/ListEventsParams.d.ts +2 -1
  732. package/dist/serialization/resources/events/types/ListEventsParams.js +2 -1
  733. package/dist/serialization/resources/events/types/ListEventsRequestEventTypesItem.d.ts +10 -0
  734. package/dist/serialization/resources/events/types/ListEventsRequestEventTypesItem.js +41 -0
  735. package/dist/serialization/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +10 -0
  736. package/dist/serialization/resources/events/types/ListEventsResponseParamsEventTypesItem.js +41 -0
  737. package/dist/serialization/resources/events/types/index.d.ts +2 -0
  738. package/dist/serialization/resources/events/types/index.js +2 -0
  739. package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +2 -1
  740. package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.js +2 -1
  741. package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +2 -1
  742. package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.js +2 -1
  743. package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +2 -0
  744. package/dist/serialization/resources/features/types/CountFeaturesParams.js +2 -0
  745. package/dist/serialization/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts +10 -0
  746. package/dist/serialization/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.js +51 -0
  747. package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +2 -0
  748. package/dist/serialization/resources/features/types/ListFeaturesParams.js +2 -0
  749. package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +10 -0
  750. package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.js +51 -0
  751. package/dist/serialization/resources/features/types/index.d.ts +2 -0
  752. package/dist/serialization/resources/features/types/index.js +2 -0
  753. package/dist/serialization/resources/index.d.ts +3 -0
  754. package/dist/serialization/resources/index.js +4 -1
  755. package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +2 -0
  756. package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.js +2 -0
  757. package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +2 -0
  758. package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.js +2 -0
  759. package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +6 -2
  760. package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.js +6 -2
  761. package/dist/serialization/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +10 -0
  762. package/dist/serialization/resources/plans/types/UpsertBillingProductRequestBodyChargeType.js +41 -0
  763. package/dist/serialization/resources/plans/types/index.d.ts +1 -0
  764. package/dist/serialization/resources/plans/types/index.js +1 -0
  765. package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +24 -0
  766. package/dist/serialization/types/BillingCreditBundleResponseData.js +55 -0
  767. package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +29 -0
  768. package/dist/serialization/types/BillingCreditGrantResponseData.js +60 -0
  769. package/dist/serialization/types/BillingCreditResponseData.d.ts +28 -0
  770. package/dist/serialization/types/BillingCreditResponseData.js +59 -0
  771. package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +20 -0
  772. package/dist/serialization/types/BillingPlanCreditGrantResponseData.js +51 -0
  773. package/dist/serialization/types/BillingPriceView.d.ts +1 -0
  774. package/dist/serialization/types/BillingPriceView.js +1 -0
  775. package/dist/serialization/types/BillingProductPlanResponseData.d.ts +1 -0
  776. package/dist/serialization/types/BillingProductPlanResponseData.js +1 -0
  777. package/dist/serialization/types/BillingProductPriceResponseData.d.ts +1 -0
  778. package/dist/serialization/types/BillingProductPriceResponseData.js +1 -0
  779. package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +3 -0
  780. package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.js +3 -0
  781. package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +3 -0
  782. package/dist/serialization/types/ChangeSubscriptionRequestBody.js +3 -0
  783. package/dist/serialization/types/CheckoutDataResponseData.d.ts +4 -0
  784. package/dist/serialization/types/CheckoutDataResponseData.js +4 -0
  785. package/dist/serialization/types/CompanyOverrideResponseData.d.ts +1 -0
  786. package/dist/serialization/types/CompanyOverrideResponseData.js +1 -0
  787. package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +2 -0
  788. package/dist/serialization/types/CompanyPlanDetailResponseData.js +2 -0
  789. package/dist/serialization/types/CompanyViewWithFeatureUsageResponseData.d.ts +39 -0
  790. package/dist/serialization/types/CompanyViewWithFeatureUsageResponseData.js +70 -0
  791. package/dist/serialization/types/CompatiblePlans.d.ts +13 -0
  792. package/dist/serialization/types/CompatiblePlans.js +44 -0
  793. package/dist/serialization/types/CompatiblePlansResponseData.d.ts +13 -0
  794. package/dist/serialization/types/CompatiblePlansResponseData.js +44 -0
  795. package/dist/serialization/types/ComponentHydrateResponseData.d.ts +2 -0
  796. package/dist/serialization/types/ComponentHydrateResponseData.js +2 -0
  797. package/dist/serialization/types/ComponentPreviewResponseData.d.ts +2 -0
  798. package/dist/serialization/types/ComponentPreviewResponseData.js +2 -0
  799. package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +1 -0
  800. package/dist/serialization/types/CreateEntitlementReqCommon.js +1 -0
  801. package/dist/serialization/types/CreateEntitlementReqCommonValueType.d.ts +1 -1
  802. package/dist/serialization/types/CreateEntitlementReqCommonValueType.js +1 -1
  803. package/dist/serialization/types/CreateFlagRequestBody.d.ts +1 -1
  804. package/dist/serialization/types/CreateFlagRequestBody.js +1 -1
  805. package/dist/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +1 -1
  806. package/dist/serialization/types/CreateOrUpdateFlagRequestBody.js +1 -1
  807. package/dist/serialization/types/CreatePriceTierRequestBody.d.ts +15 -0
  808. package/dist/serialization/types/CreatePriceTierRequestBody.js +46 -0
  809. package/dist/serialization/types/CreditBundlePurchaseResponseData.d.ts +15 -0
  810. package/dist/serialization/types/CreditBundlePurchaseResponseData.js +46 -0
  811. package/dist/serialization/types/FeatureUsageDataResponseData.d.ts +20 -0
  812. package/dist/serialization/types/FeatureUsageDataResponseData.js +51 -0
  813. package/dist/serialization/types/PlanDetailResponseData.d.ts +1 -0
  814. package/dist/serialization/types/PlanDetailResponseData.js +1 -0
  815. package/dist/serialization/types/PlanEntitlementResponseData.d.ts +3 -0
  816. package/dist/serialization/types/PlanEntitlementResponseData.js +3 -0
  817. package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +2 -0
  818. package/dist/serialization/types/PlanGroupPlanDetailResponseData.js +2 -0
  819. package/dist/serialization/types/PlanGroupResponseData.d.ts +2 -0
  820. package/dist/serialization/types/PlanGroupResponseData.js +2 -0
  821. package/dist/serialization/types/PreviewSubscriptionChangeResponseData.d.ts +1 -0
  822. package/dist/serialization/types/PreviewSubscriptionChangeResponseData.js +1 -0
  823. package/dist/serialization/types/UpdateCreditBundleRequestBody.d.ts +13 -0
  824. package/dist/serialization/types/UpdateCreditBundleRequestBody.js +44 -0
  825. package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +1 -0
  826. package/dist/serialization/types/UpdateEntitlementReqCommon.js +1 -0
  827. package/dist/serialization/types/UpdateEntitlementReqCommonValueType.d.ts +1 -1
  828. package/dist/serialization/types/UpdateEntitlementReqCommonValueType.js +1 -1
  829. package/dist/serialization/types/UpsertUserRequestBody.d.ts +2 -2
  830. package/dist/serialization/types/UpsertUserRequestBody.js +4 -2
  831. package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +6 -1
  832. package/dist/serialization/types/UsageBasedEntitlementRequestBody.js +6 -1
  833. package/dist/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +10 -0
  834. package/dist/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.js +41 -0
  835. package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +1 -0
  836. package/dist/serialization/types/UsageBasedEntitlementResponseData.js +1 -0
  837. package/dist/serialization/types/index.d.ts +12 -0
  838. package/dist/serialization/types/index.js +12 -0
  839. package/package.json +2 -2
  840. package/reference.md +1075 -20
  841. package/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +0 -1
  842. package/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.js +0 -1
  843. package/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -2
  844. package/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.js +2 -2
  845. package/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +10 -0
  846. package/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.js +41 -0
  847. package/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +2 -0
  848. package/serialization/resources/billing/types/SearchBillingPricesParams.js +2 -0
  849. package/serialization/resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts +10 -0
  850. package/serialization/resources/billing/types/SearchBillingPricesRequestTiersMode.js +41 -0
  851. package/serialization/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +10 -0
  852. package/serialization/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.js +41 -0
  853. package/serialization/resources/billing/types/index.d.ts +3 -1
  854. package/serialization/resources/billing/types/index.js +3 -1
  855. package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +26 -0
  856. package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.js +57 -0
  857. package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +10 -0
  858. package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.js +41 -0
  859. package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +15 -0
  860. package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponse.js +46 -0
  861. package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +10 -0
  862. package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +41 -0
  863. package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +26 -0
  864. package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.js +57 -0
  865. package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +10 -0
  866. package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.js +41 -0
  867. package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +15 -0
  868. package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponse.js +46 -0
  869. package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +10 -0
  870. package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +41 -0
  871. package/serialization/resources/companies/types/index.d.ts +8 -0
  872. package/serialization/resources/companies/types/index.js +8 -0
  873. package/serialization/resources/credits/client/index.d.ts +1 -0
  874. package/serialization/resources/credits/client/index.js +17 -0
  875. package/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +25 -0
  876. package/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.js +56 -0
  877. package/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +18 -0
  878. package/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.js +49 -0
  879. package/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +23 -0
  880. package/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.js +54 -0
  881. package/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +24 -0
  882. package/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.js +55 -0
  883. package/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +13 -0
  884. package/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.js +44 -0
  885. package/serialization/resources/credits/client/requests/index.d.ts +5 -0
  886. package/serialization/resources/credits/client/requests/index.js +13 -0
  887. package/serialization/resources/credits/index.d.ts +2 -0
  888. package/serialization/resources/credits/index.js +18 -0
  889. package/serialization/resources/credits/types/CountBillingCreditsGrantsParams.d.ts +15 -0
  890. package/serialization/resources/credits/types/CountBillingCreditsGrantsParams.js +46 -0
  891. package/serialization/resources/credits/types/CountBillingCreditsGrantsResponse.d.ts +15 -0
  892. package/serialization/resources/credits/types/CountBillingCreditsGrantsResponse.js +46 -0
  893. package/serialization/resources/credits/types/CountBillingCreditsParams.d.ts +15 -0
  894. package/serialization/resources/credits/types/CountBillingCreditsParams.js +46 -0
  895. package/serialization/resources/credits/types/CountBillingCreditsResponse.d.ts +15 -0
  896. package/serialization/resources/credits/types/CountBillingCreditsResponse.js +46 -0
  897. package/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +16 -0
  898. package/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.js +47 -0
  899. package/serialization/resources/credits/types/CountBillingPlanCreditGrantsResponse.d.ts +15 -0
  900. package/serialization/resources/credits/types/CountBillingPlanCreditGrantsResponse.js +46 -0
  901. package/serialization/resources/credits/types/CountCreditBundlesParams.d.ts +18 -0
  902. package/serialization/resources/credits/types/CountCreditBundlesParams.js +49 -0
  903. package/serialization/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +10 -0
  904. package/serialization/resources/credits/types/CountCreditBundlesRequestStatus.js +41 -0
  905. package/serialization/resources/credits/types/CountCreditBundlesResponse.d.ts +15 -0
  906. package/serialization/resources/credits/types/CountCreditBundlesResponse.js +46 -0
  907. package/serialization/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +10 -0
  908. package/serialization/resources/credits/types/CountCreditBundlesResponseParamsStatus.js +41 -0
  909. package/serialization/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +10 -0
  910. package/serialization/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.js +46 -0
  911. package/serialization/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +10 -0
  912. package/serialization/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.js +41 -0
  913. package/serialization/resources/credits/types/CreateBillingCreditResponse.d.ts +14 -0
  914. package/serialization/resources/credits/types/CreateBillingCreditResponse.js +45 -0
  915. package/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +10 -0
  916. package/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.js +41 -0
  917. package/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +10 -0
  918. package/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.js +41 -0
  919. package/serialization/resources/credits/types/CreateBillingPlanCreditGrantResponse.d.ts +14 -0
  920. package/serialization/resources/credits/types/CreateBillingPlanCreditGrantResponse.js +45 -0
  921. package/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +10 -0
  922. package/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.js +41 -0
  923. package/serialization/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +10 -0
  924. package/serialization/resources/credits/types/CreateCreditBundleRequestBodyStatus.js +41 -0
  925. package/serialization/resources/credits/types/CreateCreditBundleResponse.d.ts +14 -0
  926. package/serialization/resources/credits/types/CreateCreditBundleResponse.js +45 -0
  927. package/serialization/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +14 -0
  928. package/serialization/resources/credits/types/DeleteBillingPlanCreditGrantResponse.js +45 -0
  929. package/serialization/resources/credits/types/DeleteCreditBundleResponse.d.ts +14 -0
  930. package/serialization/resources/credits/types/DeleteCreditBundleResponse.js +45 -0
  931. package/serialization/resources/credits/types/GetCreditBundleResponse.d.ts +14 -0
  932. package/serialization/resources/credits/types/GetCreditBundleResponse.js +45 -0
  933. package/serialization/resources/credits/types/GetSingleBillingCreditResponse.d.ts +14 -0
  934. package/serialization/resources/credits/types/GetSingleBillingCreditResponse.js +45 -0
  935. package/serialization/resources/credits/types/ListBillingCreditsParams.d.ts +15 -0
  936. package/serialization/resources/credits/types/ListBillingCreditsParams.js +46 -0
  937. package/serialization/resources/credits/types/ListBillingCreditsResponse.d.ts +15 -0
  938. package/serialization/resources/credits/types/ListBillingCreditsResponse.js +46 -0
  939. package/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +16 -0
  940. package/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.js +47 -0
  941. package/serialization/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +15 -0
  942. package/serialization/resources/credits/types/ListBillingPlanCreditGrantsResponse.js +46 -0
  943. package/serialization/resources/credits/types/ListCompanyGrantsParams.d.ts +18 -0
  944. package/serialization/resources/credits/types/ListCompanyGrantsParams.js +49 -0
  945. package/serialization/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +10 -0
  946. package/serialization/resources/credits/types/ListCompanyGrantsRequestDir.js +41 -0
  947. package/serialization/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +10 -0
  948. package/serialization/resources/credits/types/ListCompanyGrantsRequestOrder.js +41 -0
  949. package/serialization/resources/credits/types/ListCompanyGrantsResponse.d.ts +15 -0
  950. package/serialization/resources/credits/types/ListCompanyGrantsResponse.js +46 -0
  951. package/serialization/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +10 -0
  952. package/serialization/resources/credits/types/ListCompanyGrantsResponseParamsDir.js +41 -0
  953. package/serialization/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +10 -0
  954. package/serialization/resources/credits/types/ListCompanyGrantsResponseParamsOrder.js +41 -0
  955. package/serialization/resources/credits/types/ListCreditBundlesParams.d.ts +18 -0
  956. package/serialization/resources/credits/types/ListCreditBundlesParams.js +49 -0
  957. package/serialization/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +10 -0
  958. package/serialization/resources/credits/types/ListCreditBundlesRequestStatus.js +41 -0
  959. package/serialization/resources/credits/types/ListCreditBundlesResponse.d.ts +15 -0
  960. package/serialization/resources/credits/types/ListCreditBundlesResponse.js +46 -0
  961. package/serialization/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +10 -0
  962. package/serialization/resources/credits/types/ListCreditBundlesResponseParamsStatus.js +41 -0
  963. package/serialization/resources/credits/types/ListGrantsForCreditParams.d.ts +15 -0
  964. package/serialization/resources/credits/types/ListGrantsForCreditParams.js +46 -0
  965. package/serialization/resources/credits/types/ListGrantsForCreditResponse.d.ts +15 -0
  966. package/serialization/resources/credits/types/ListGrantsForCreditResponse.js +46 -0
  967. package/serialization/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +10 -0
  968. package/serialization/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.js +46 -0
  969. package/serialization/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +10 -0
  970. package/serialization/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.js +41 -0
  971. package/serialization/resources/credits/types/UpdateBillingCreditResponse.d.ts +14 -0
  972. package/serialization/resources/credits/types/UpdateBillingCreditResponse.js +45 -0
  973. package/serialization/resources/credits/types/UpdateCreditBundleResponse.d.ts +14 -0
  974. package/serialization/resources/credits/types/UpdateCreditBundleResponse.js +45 -0
  975. package/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +10 -0
  976. package/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.js +41 -0
  977. package/serialization/resources/credits/types/ZeroOutGrantResponse.d.ts +14 -0
  978. package/serialization/resources/credits/types/ZeroOutGrantResponse.js +45 -0
  979. package/serialization/resources/credits/types/index.d.ts +45 -0
  980. package/serialization/resources/credits/types/index.js +61 -0
  981. package/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -0
  982. package/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +1 -0
  983. package/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +7 -1
  984. package/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +7 -1
  985. package/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -0
  986. package/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +1 -0
  987. package/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +7 -1
  988. package/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +7 -1
  989. package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +1 -1
  990. package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js +1 -1
  991. package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +10 -0
  992. package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.js +41 -0
  993. package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +1 -1
  994. package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js +1 -1
  995. package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +1 -1
  996. package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js +1 -1
  997. package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +10 -0
  998. package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.js +41 -0
  999. package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +1 -1
  1000. package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js +1 -1
  1001. package/serialization/resources/entitlements/types/index.d.ts +2 -0
  1002. package/serialization/resources/entitlements/types/index.js +2 -0
  1003. package/serialization/resources/events/types/ListEventsParams.d.ts +2 -1
  1004. package/serialization/resources/events/types/ListEventsParams.js +2 -1
  1005. package/serialization/resources/events/types/ListEventsRequestEventTypesItem.d.ts +10 -0
  1006. package/serialization/resources/events/types/ListEventsRequestEventTypesItem.js +41 -0
  1007. package/serialization/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +10 -0
  1008. package/serialization/resources/events/types/ListEventsResponseParamsEventTypesItem.js +41 -0
  1009. package/serialization/resources/events/types/index.d.ts +2 -0
  1010. package/serialization/resources/events/types/index.js +2 -0
  1011. package/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +2 -1
  1012. package/serialization/resources/features/client/requests/CreateFeatureRequestBody.js +2 -1
  1013. package/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +2 -1
  1014. package/serialization/resources/features/client/requests/UpdateFeatureRequestBody.js +2 -1
  1015. package/serialization/resources/features/types/CountFeaturesParams.d.ts +2 -0
  1016. package/serialization/resources/features/types/CountFeaturesParams.js +2 -0
  1017. package/serialization/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts +10 -0
  1018. package/serialization/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.js +51 -0
  1019. package/serialization/resources/features/types/ListFeaturesParams.d.ts +2 -0
  1020. package/serialization/resources/features/types/ListFeaturesParams.js +2 -0
  1021. package/serialization/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +10 -0
  1022. package/serialization/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.js +51 -0
  1023. package/serialization/resources/features/types/index.d.ts +2 -0
  1024. package/serialization/resources/features/types/index.js +2 -0
  1025. package/serialization/resources/index.d.ts +3 -0
  1026. package/serialization/resources/index.js +4 -1
  1027. package/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +2 -0
  1028. package/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.js +2 -0
  1029. package/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +2 -0
  1030. package/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.js +2 -0
  1031. package/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +6 -2
  1032. package/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.js +6 -2
  1033. package/serialization/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +10 -0
  1034. package/serialization/resources/plans/types/UpsertBillingProductRequestBodyChargeType.js +41 -0
  1035. package/serialization/resources/plans/types/index.d.ts +1 -0
  1036. package/serialization/resources/plans/types/index.js +1 -0
  1037. package/serialization/types/BillingCreditBundleResponseData.d.ts +24 -0
  1038. package/serialization/types/BillingCreditBundleResponseData.js +55 -0
  1039. package/serialization/types/BillingCreditGrantResponseData.d.ts +29 -0
  1040. package/serialization/types/BillingCreditGrantResponseData.js +60 -0
  1041. package/serialization/types/BillingCreditResponseData.d.ts +28 -0
  1042. package/serialization/types/BillingCreditResponseData.js +59 -0
  1043. package/serialization/types/BillingPlanCreditGrantResponseData.d.ts +20 -0
  1044. package/serialization/types/BillingPlanCreditGrantResponseData.js +51 -0
  1045. package/serialization/types/BillingPriceView.d.ts +1 -0
  1046. package/serialization/types/BillingPriceView.js +1 -0
  1047. package/serialization/types/BillingProductPlanResponseData.d.ts +1 -0
  1048. package/serialization/types/BillingProductPlanResponseData.js +1 -0
  1049. package/serialization/types/BillingProductPriceResponseData.d.ts +1 -0
  1050. package/serialization/types/BillingProductPriceResponseData.js +1 -0
  1051. package/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +3 -0
  1052. package/serialization/types/ChangeSubscriptionInternalRequestBody.js +3 -0
  1053. package/serialization/types/ChangeSubscriptionRequestBody.d.ts +3 -0
  1054. package/serialization/types/ChangeSubscriptionRequestBody.js +3 -0
  1055. package/serialization/types/CheckoutDataResponseData.d.ts +4 -0
  1056. package/serialization/types/CheckoutDataResponseData.js +4 -0
  1057. package/serialization/types/CompanyOverrideResponseData.d.ts +1 -0
  1058. package/serialization/types/CompanyOverrideResponseData.js +1 -0
  1059. package/serialization/types/CompanyPlanDetailResponseData.d.ts +2 -0
  1060. package/serialization/types/CompanyPlanDetailResponseData.js +2 -0
  1061. package/serialization/types/CompanyViewWithFeatureUsageResponseData.d.ts +39 -0
  1062. package/serialization/types/CompanyViewWithFeatureUsageResponseData.js +70 -0
  1063. package/serialization/types/CompatiblePlans.d.ts +13 -0
  1064. package/serialization/types/CompatiblePlans.js +44 -0
  1065. package/serialization/types/CompatiblePlansResponseData.d.ts +13 -0
  1066. package/serialization/types/CompatiblePlansResponseData.js +44 -0
  1067. package/serialization/types/ComponentHydrateResponseData.d.ts +2 -0
  1068. package/serialization/types/ComponentHydrateResponseData.js +2 -0
  1069. package/serialization/types/ComponentPreviewResponseData.d.ts +2 -0
  1070. package/serialization/types/ComponentPreviewResponseData.js +2 -0
  1071. package/serialization/types/CreateEntitlementReqCommon.d.ts +1 -0
  1072. package/serialization/types/CreateEntitlementReqCommon.js +1 -0
  1073. package/serialization/types/CreateEntitlementReqCommonValueType.d.ts +1 -1
  1074. package/serialization/types/CreateEntitlementReqCommonValueType.js +1 -1
  1075. package/serialization/types/CreateFlagRequestBody.d.ts +1 -1
  1076. package/serialization/types/CreateFlagRequestBody.js +1 -1
  1077. package/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +1 -1
  1078. package/serialization/types/CreateOrUpdateFlagRequestBody.js +1 -1
  1079. package/serialization/types/CreatePriceTierRequestBody.d.ts +15 -0
  1080. package/serialization/types/CreatePriceTierRequestBody.js +46 -0
  1081. package/serialization/types/CreditBundlePurchaseResponseData.d.ts +15 -0
  1082. package/serialization/types/CreditBundlePurchaseResponseData.js +46 -0
  1083. package/serialization/types/FeatureUsageDataResponseData.d.ts +20 -0
  1084. package/serialization/types/FeatureUsageDataResponseData.js +51 -0
  1085. package/serialization/types/PlanDetailResponseData.d.ts +1 -0
  1086. package/serialization/types/PlanDetailResponseData.js +1 -0
  1087. package/serialization/types/PlanEntitlementResponseData.d.ts +3 -0
  1088. package/serialization/types/PlanEntitlementResponseData.js +3 -0
  1089. package/serialization/types/PlanGroupPlanDetailResponseData.d.ts +2 -0
  1090. package/serialization/types/PlanGroupPlanDetailResponseData.js +2 -0
  1091. package/serialization/types/PlanGroupResponseData.d.ts +2 -0
  1092. package/serialization/types/PlanGroupResponseData.js +2 -0
  1093. package/serialization/types/PreviewSubscriptionChangeResponseData.d.ts +1 -0
  1094. package/serialization/types/PreviewSubscriptionChangeResponseData.js +1 -0
  1095. package/serialization/types/UpdateCreditBundleRequestBody.d.ts +13 -0
  1096. package/serialization/types/UpdateCreditBundleRequestBody.js +44 -0
  1097. package/serialization/types/UpdateEntitlementReqCommon.d.ts +1 -0
  1098. package/serialization/types/UpdateEntitlementReqCommon.js +1 -0
  1099. package/serialization/types/UpdateEntitlementReqCommonValueType.d.ts +1 -1
  1100. package/serialization/types/UpdateEntitlementReqCommonValueType.js +1 -1
  1101. package/serialization/types/UpsertUserRequestBody.d.ts +2 -2
  1102. package/serialization/types/UpsertUserRequestBody.js +4 -2
  1103. package/serialization/types/UsageBasedEntitlementRequestBody.d.ts +6 -1
  1104. package/serialization/types/UsageBasedEntitlementRequestBody.js +6 -1
  1105. package/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +10 -0
  1106. package/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.js +41 -0
  1107. package/serialization/types/UsageBasedEntitlementResponseData.d.ts +1 -0
  1108. package/serialization/types/UsageBasedEntitlementResponseData.js +1 -0
  1109. package/serialization/types/index.d.ts +12 -0
  1110. package/serialization/types/index.js +12 -0
  1111. package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyTierMode.d.ts +0 -10
  1112. package/serialization/resources/billing/types/CreateBillingPriceRequestBodyTierMode.d.ts +0 -10
@@ -113,7 +113,7 @@ class Companies {
113
113
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
114
114
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "companies"),
115
115
  method: "GET",
116
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
116
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
117
117
  contentType: "application/json",
118
118
  queryParameters: _queryParams,
119
119
  requestType: "json",
@@ -226,7 +226,7 @@ class Companies {
226
226
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
227
227
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "companies"),
228
228
  method: "POST",
229
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
229
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
230
230
  contentType: "application/json",
231
231
  requestType: "json",
232
232
  body: serializers.UpsertCompanyRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -334,7 +334,7 @@ class Companies {
334
334
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
335
335
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, `companies/${encodeURIComponent(companyId)}`),
336
336
  method: "GET",
337
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
337
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
338
338
  contentType: "application/json",
339
339
  requestType: "json",
340
340
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -434,7 +434,7 @@ class Companies {
434
434
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
435
435
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, `companies/${encodeURIComponent(companyId)}`),
436
436
  method: "DELETE",
437
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
437
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
438
438
  contentType: "application/json",
439
439
  requestType: "json",
440
440
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -573,7 +573,7 @@ class Companies {
573
573
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
574
574
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "companies/count"),
575
575
  method: "GET",
576
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
576
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
577
577
  contentType: "application/json",
578
578
  queryParameters: _queryParams,
579
579
  requestType: "json",
@@ -660,6 +660,192 @@ class Companies {
660
660
  }
661
661
  });
662
662
  }
663
+ /**
664
+ * @param {Schematic.CountCompaniesForAdvancedFilterRequest} request
665
+ * @param {Companies.RequestOptions} requestOptions - Request-specific configuration.
666
+ *
667
+ * @throws {@link Schematic.BadRequestError}
668
+ * @throws {@link Schematic.UnauthorizedError}
669
+ * @throws {@link Schematic.ForbiddenError}
670
+ * @throws {@link Schematic.NotFoundError}
671
+ * @throws {@link Schematic.InternalServerError}
672
+ *
673
+ * @example
674
+ * await client.companies.countCompaniesForAdvancedFilter()
675
+ */
676
+ countCompaniesForAdvancedFilter(request = {}, requestOptions) {
677
+ return core.HttpResponsePromise.fromPromise(this.__countCompaniesForAdvancedFilter(request, requestOptions));
678
+ }
679
+ __countCompaniesForAdvancedFilter() {
680
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
681
+ var _a, _b, _c;
682
+ const { ids, planIds, featureIds, subscriptionStatuses, subscriptionTypes, monetizedSubscriptions, q, withoutPlan, withoutSubscription, sortOrderColumn, sortOrderDirection, displayProperties, limit, offset, } = request;
683
+ const _queryParams = {};
684
+ if (ids != null) {
685
+ if (Array.isArray(ids)) {
686
+ _queryParams["ids"] = ids.map((item) => item);
687
+ }
688
+ else {
689
+ _queryParams["ids"] = ids;
690
+ }
691
+ }
692
+ if (planIds != null) {
693
+ if (Array.isArray(planIds)) {
694
+ _queryParams["plan_ids"] = planIds.map((item) => item);
695
+ }
696
+ else {
697
+ _queryParams["plan_ids"] = planIds;
698
+ }
699
+ }
700
+ if (featureIds != null) {
701
+ if (Array.isArray(featureIds)) {
702
+ _queryParams["feature_ids"] = featureIds.map((item) => item);
703
+ }
704
+ else {
705
+ _queryParams["feature_ids"] = featureIds;
706
+ }
707
+ }
708
+ if (subscriptionStatuses != null) {
709
+ if (Array.isArray(subscriptionStatuses)) {
710
+ _queryParams["subscription_statuses"] = subscriptionStatuses.map((item) => item);
711
+ }
712
+ else {
713
+ _queryParams["subscription_statuses"] = subscriptionStatuses;
714
+ }
715
+ }
716
+ if (subscriptionTypes != null) {
717
+ if (Array.isArray(subscriptionTypes)) {
718
+ _queryParams["subscription_types"] = subscriptionTypes.map((item) => item);
719
+ }
720
+ else {
721
+ _queryParams["subscription_types"] = subscriptionTypes;
722
+ }
723
+ }
724
+ if (monetizedSubscriptions != null) {
725
+ _queryParams["monetized_subscriptions"] = monetizedSubscriptions.toString();
726
+ }
727
+ if (q != null) {
728
+ _queryParams["q"] = q;
729
+ }
730
+ if (withoutPlan != null) {
731
+ _queryParams["without_plan"] = withoutPlan.toString();
732
+ }
733
+ if (withoutSubscription != null) {
734
+ _queryParams["without_subscription"] = withoutSubscription.toString();
735
+ }
736
+ if (sortOrderColumn != null) {
737
+ _queryParams["sort_order_column"] = sortOrderColumn;
738
+ }
739
+ if (sortOrderDirection != null) {
740
+ _queryParams["sort_order_direction"] =
741
+ serializers.CountCompaniesForAdvancedFilterRequestSortOrderDirection.jsonOrThrow(sortOrderDirection, {
742
+ unrecognizedObjectKeys: "strip",
743
+ });
744
+ }
745
+ if (displayProperties != null) {
746
+ if (Array.isArray(displayProperties)) {
747
+ _queryParams["display_properties"] = displayProperties.map((item) => item);
748
+ }
749
+ else {
750
+ _queryParams["display_properties"] = displayProperties;
751
+ }
752
+ }
753
+ if (limit != null) {
754
+ _queryParams["limit"] = limit.toString();
755
+ }
756
+ if (offset != null) {
757
+ _queryParams["offset"] = offset.toString();
758
+ }
759
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
760
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "companies/count2"),
761
+ method: "GET",
762
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
763
+ contentType: "application/json",
764
+ queryParameters: _queryParams,
765
+ requestType: "json",
766
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
767
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
768
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
769
+ });
770
+ if (_response.ok) {
771
+ return {
772
+ data: serializers.CountCompaniesForAdvancedFilterResponse.parseOrThrow(_response.body, {
773
+ unrecognizedObjectKeys: "passthrough",
774
+ allowUnrecognizedUnionMembers: true,
775
+ allowUnrecognizedEnumValues: true,
776
+ skipValidation: true,
777
+ breadcrumbsPrefix: ["response"],
778
+ }),
779
+ rawResponse: _response.rawResponse,
780
+ };
781
+ }
782
+ if (_response.error.reason === "status-code") {
783
+ switch (_response.error.statusCode) {
784
+ case 400:
785
+ throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
786
+ unrecognizedObjectKeys: "passthrough",
787
+ allowUnrecognizedUnionMembers: true,
788
+ allowUnrecognizedEnumValues: true,
789
+ skipValidation: true,
790
+ breadcrumbsPrefix: ["response"],
791
+ }), _response.rawResponse);
792
+ case 401:
793
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
794
+ unrecognizedObjectKeys: "passthrough",
795
+ allowUnrecognizedUnionMembers: true,
796
+ allowUnrecognizedEnumValues: true,
797
+ skipValidation: true,
798
+ breadcrumbsPrefix: ["response"],
799
+ }), _response.rawResponse);
800
+ case 403:
801
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
802
+ unrecognizedObjectKeys: "passthrough",
803
+ allowUnrecognizedUnionMembers: true,
804
+ allowUnrecognizedEnumValues: true,
805
+ skipValidation: true,
806
+ breadcrumbsPrefix: ["response"],
807
+ }), _response.rawResponse);
808
+ case 404:
809
+ throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
810
+ unrecognizedObjectKeys: "passthrough",
811
+ allowUnrecognizedUnionMembers: true,
812
+ allowUnrecognizedEnumValues: true,
813
+ skipValidation: true,
814
+ breadcrumbsPrefix: ["response"],
815
+ }), _response.rawResponse);
816
+ case 500:
817
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
818
+ unrecognizedObjectKeys: "passthrough",
819
+ allowUnrecognizedUnionMembers: true,
820
+ allowUnrecognizedEnumValues: true,
821
+ skipValidation: true,
822
+ breadcrumbsPrefix: ["response"],
823
+ }), _response.rawResponse);
824
+ default:
825
+ throw new errors.SchematicError({
826
+ statusCode: _response.error.statusCode,
827
+ body: _response.error.body,
828
+ rawResponse: _response.rawResponse,
829
+ });
830
+ }
831
+ }
832
+ switch (_response.error.reason) {
833
+ case "non-json":
834
+ throw new errors.SchematicError({
835
+ statusCode: _response.error.statusCode,
836
+ body: _response.error.rawBody,
837
+ rawResponse: _response.rawResponse,
838
+ });
839
+ case "timeout":
840
+ throw new errors.SchematicTimeoutError("Timeout exceeded when calling GET /companies/count2.");
841
+ case "unknown":
842
+ throw new errors.SchematicError({
843
+ message: _response.error.errorMessage,
844
+ rawResponse: _response.rawResponse,
845
+ });
846
+ }
847
+ });
848
+ }
663
849
  /**
664
850
  * @param {Schematic.UpsertCompanyRequestBody} request
665
851
  * @param {Companies.RequestOptions} requestOptions - Request-specific configuration.
@@ -686,7 +872,7 @@ class Companies {
686
872
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
687
873
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "companies/create"),
688
874
  method: "POST",
689
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
875
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
690
876
  contentType: "application/json",
691
877
  requestType: "json",
692
878
  body: serializers.UpsertCompanyRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -799,7 +985,7 @@ class Companies {
799
985
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
800
986
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "companies/delete"),
801
987
  method: "POST",
802
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
988
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
803
989
  contentType: "application/json",
804
990
  requestType: "json",
805
991
  body: serializers.KeysRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -886,6 +1072,192 @@ class Companies {
886
1072
  }
887
1073
  });
888
1074
  }
1075
+ /**
1076
+ * @param {Schematic.ListCompaniesForAdvancedFilterRequest} request
1077
+ * @param {Companies.RequestOptions} requestOptions - Request-specific configuration.
1078
+ *
1079
+ * @throws {@link Schematic.BadRequestError}
1080
+ * @throws {@link Schematic.UnauthorizedError}
1081
+ * @throws {@link Schematic.ForbiddenError}
1082
+ * @throws {@link Schematic.NotFoundError}
1083
+ * @throws {@link Schematic.InternalServerError}
1084
+ *
1085
+ * @example
1086
+ * await client.companies.listCompaniesForAdvancedFilter()
1087
+ */
1088
+ listCompaniesForAdvancedFilter(request = {}, requestOptions) {
1089
+ return core.HttpResponsePromise.fromPromise(this.__listCompaniesForAdvancedFilter(request, requestOptions));
1090
+ }
1091
+ __listCompaniesForAdvancedFilter() {
1092
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
1093
+ var _a, _b, _c;
1094
+ const { ids, planIds, featureIds, subscriptionStatuses, subscriptionTypes, monetizedSubscriptions, q, withoutPlan, withoutSubscription, sortOrderColumn, sortOrderDirection, displayProperties, limit, offset, } = request;
1095
+ const _queryParams = {};
1096
+ if (ids != null) {
1097
+ if (Array.isArray(ids)) {
1098
+ _queryParams["ids"] = ids.map((item) => item);
1099
+ }
1100
+ else {
1101
+ _queryParams["ids"] = ids;
1102
+ }
1103
+ }
1104
+ if (planIds != null) {
1105
+ if (Array.isArray(planIds)) {
1106
+ _queryParams["plan_ids"] = planIds.map((item) => item);
1107
+ }
1108
+ else {
1109
+ _queryParams["plan_ids"] = planIds;
1110
+ }
1111
+ }
1112
+ if (featureIds != null) {
1113
+ if (Array.isArray(featureIds)) {
1114
+ _queryParams["feature_ids"] = featureIds.map((item) => item);
1115
+ }
1116
+ else {
1117
+ _queryParams["feature_ids"] = featureIds;
1118
+ }
1119
+ }
1120
+ if (subscriptionStatuses != null) {
1121
+ if (Array.isArray(subscriptionStatuses)) {
1122
+ _queryParams["subscription_statuses"] = subscriptionStatuses.map((item) => item);
1123
+ }
1124
+ else {
1125
+ _queryParams["subscription_statuses"] = subscriptionStatuses;
1126
+ }
1127
+ }
1128
+ if (subscriptionTypes != null) {
1129
+ if (Array.isArray(subscriptionTypes)) {
1130
+ _queryParams["subscription_types"] = subscriptionTypes.map((item) => item);
1131
+ }
1132
+ else {
1133
+ _queryParams["subscription_types"] = subscriptionTypes;
1134
+ }
1135
+ }
1136
+ if (monetizedSubscriptions != null) {
1137
+ _queryParams["monetized_subscriptions"] = monetizedSubscriptions.toString();
1138
+ }
1139
+ if (q != null) {
1140
+ _queryParams["q"] = q;
1141
+ }
1142
+ if (withoutPlan != null) {
1143
+ _queryParams["without_plan"] = withoutPlan.toString();
1144
+ }
1145
+ if (withoutSubscription != null) {
1146
+ _queryParams["without_subscription"] = withoutSubscription.toString();
1147
+ }
1148
+ if (sortOrderColumn != null) {
1149
+ _queryParams["sort_order_column"] = sortOrderColumn;
1150
+ }
1151
+ if (sortOrderDirection != null) {
1152
+ _queryParams["sort_order_direction"] =
1153
+ serializers.ListCompaniesForAdvancedFilterRequestSortOrderDirection.jsonOrThrow(sortOrderDirection, {
1154
+ unrecognizedObjectKeys: "strip",
1155
+ });
1156
+ }
1157
+ if (displayProperties != null) {
1158
+ if (Array.isArray(displayProperties)) {
1159
+ _queryParams["display_properties"] = displayProperties.map((item) => item);
1160
+ }
1161
+ else {
1162
+ _queryParams["display_properties"] = displayProperties;
1163
+ }
1164
+ }
1165
+ if (limit != null) {
1166
+ _queryParams["limit"] = limit.toString();
1167
+ }
1168
+ if (offset != null) {
1169
+ _queryParams["offset"] = offset.toString();
1170
+ }
1171
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1172
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "companies/list2"),
1173
+ method: "GET",
1174
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1175
+ contentType: "application/json",
1176
+ queryParameters: _queryParams,
1177
+ requestType: "json",
1178
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1179
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1180
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1181
+ });
1182
+ if (_response.ok) {
1183
+ return {
1184
+ data: serializers.ListCompaniesForAdvancedFilterResponse.parseOrThrow(_response.body, {
1185
+ unrecognizedObjectKeys: "passthrough",
1186
+ allowUnrecognizedUnionMembers: true,
1187
+ allowUnrecognizedEnumValues: true,
1188
+ skipValidation: true,
1189
+ breadcrumbsPrefix: ["response"],
1190
+ }),
1191
+ rawResponse: _response.rawResponse,
1192
+ };
1193
+ }
1194
+ if (_response.error.reason === "status-code") {
1195
+ switch (_response.error.statusCode) {
1196
+ case 400:
1197
+ throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
1198
+ unrecognizedObjectKeys: "passthrough",
1199
+ allowUnrecognizedUnionMembers: true,
1200
+ allowUnrecognizedEnumValues: true,
1201
+ skipValidation: true,
1202
+ breadcrumbsPrefix: ["response"],
1203
+ }), _response.rawResponse);
1204
+ case 401:
1205
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
1206
+ unrecognizedObjectKeys: "passthrough",
1207
+ allowUnrecognizedUnionMembers: true,
1208
+ allowUnrecognizedEnumValues: true,
1209
+ skipValidation: true,
1210
+ breadcrumbsPrefix: ["response"],
1211
+ }), _response.rawResponse);
1212
+ case 403:
1213
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
1214
+ unrecognizedObjectKeys: "passthrough",
1215
+ allowUnrecognizedUnionMembers: true,
1216
+ allowUnrecognizedEnumValues: true,
1217
+ skipValidation: true,
1218
+ breadcrumbsPrefix: ["response"],
1219
+ }), _response.rawResponse);
1220
+ case 404:
1221
+ throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
1222
+ unrecognizedObjectKeys: "passthrough",
1223
+ allowUnrecognizedUnionMembers: true,
1224
+ allowUnrecognizedEnumValues: true,
1225
+ skipValidation: true,
1226
+ breadcrumbsPrefix: ["response"],
1227
+ }), _response.rawResponse);
1228
+ case 500:
1229
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
1230
+ unrecognizedObjectKeys: "passthrough",
1231
+ allowUnrecognizedUnionMembers: true,
1232
+ allowUnrecognizedEnumValues: true,
1233
+ skipValidation: true,
1234
+ breadcrumbsPrefix: ["response"],
1235
+ }), _response.rawResponse);
1236
+ default:
1237
+ throw new errors.SchematicError({
1238
+ statusCode: _response.error.statusCode,
1239
+ body: _response.error.body,
1240
+ rawResponse: _response.rawResponse,
1241
+ });
1242
+ }
1243
+ }
1244
+ switch (_response.error.reason) {
1245
+ case "non-json":
1246
+ throw new errors.SchematicError({
1247
+ statusCode: _response.error.statusCode,
1248
+ body: _response.error.rawBody,
1249
+ rawResponse: _response.rawResponse,
1250
+ });
1251
+ case "timeout":
1252
+ throw new errors.SchematicTimeoutError("Timeout exceeded when calling GET /companies/list2.");
1253
+ case "unknown":
1254
+ throw new errors.SchematicError({
1255
+ message: _response.error.errorMessage,
1256
+ rawResponse: _response.rawResponse,
1257
+ });
1258
+ }
1259
+ });
1260
+ }
889
1261
  /**
890
1262
  * @param {Schematic.LookupCompanyRequest} request
891
1263
  * @param {Companies.RequestOptions} requestOptions - Request-specific configuration.
@@ -914,7 +1286,7 @@ class Companies {
914
1286
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
915
1287
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "companies/lookup"),
916
1288
  method: "GET",
917
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1289
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
918
1290
  contentType: "application/json",
919
1291
  queryParameters: _queryParams,
920
1292
  requestType: "json",
@@ -1028,7 +1400,7 @@ class Companies {
1028
1400
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1029
1401
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "company-crm-deals"),
1030
1402
  method: "GET",
1031
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1403
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1032
1404
  contentType: "application/json",
1033
1405
  queryParameters: _queryParams,
1034
1406
  requestType: "json",
@@ -1151,7 +1523,7 @@ class Companies {
1151
1523
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1152
1524
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "company-memberships"),
1153
1525
  method: "GET",
1154
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1526
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1155
1527
  contentType: "application/json",
1156
1528
  queryParameters: _queryParams,
1157
1529
  requestType: "json",
@@ -1263,7 +1635,7 @@ class Companies {
1263
1635
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1264
1636
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "company-memberships"),
1265
1637
  method: "POST",
1266
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1638
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1267
1639
  contentType: "application/json",
1268
1640
  requestType: "json",
1269
1641
  body: serializers.GetOrCreateCompanyMembershipRequestBody.jsonOrThrow(request, {
@@ -1374,7 +1746,7 @@ class Companies {
1374
1746
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1375
1747
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, `company-memberships/${encodeURIComponent(companyMembershipId)}`),
1376
1748
  method: "DELETE",
1377
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1749
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1378
1750
  contentType: "application/json",
1379
1751
  requestType: "json",
1380
1752
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1501,7 +1873,7 @@ class Companies {
1501
1873
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1502
1874
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "company-subscriptions"),
1503
1875
  method: "GET",
1504
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1876
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1505
1877
  contentType: "application/json",
1506
1878
  queryParameters: _queryParams,
1507
1879
  requestType: "json",
@@ -1615,7 +1987,7 @@ class Companies {
1615
1987
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1616
1988
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "company-traits"),
1617
1989
  method: "POST",
1618
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1990
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1619
1991
  contentType: "application/json",
1620
1992
  requestType: "json",
1621
1993
  body: serializers.UpsertTraitRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1746,7 +2118,7 @@ class Companies {
1746
2118
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1747
2119
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "entity-key-definitions"),
1748
2120
  method: "GET",
1749
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
2121
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1750
2122
  contentType: "application/json",
1751
2123
  queryParameters: _queryParams,
1752
2124
  requestType: "json",
@@ -1877,7 +2249,7 @@ class Companies {
1877
2249
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1878
2250
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "entity-key-definitions/count"),
1879
2251
  method: "GET",
1880
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
2252
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1881
2253
  contentType: "application/json",
1882
2254
  queryParameters: _queryParams,
1883
2255
  requestType: "json",
@@ -2013,7 +2385,7 @@ class Companies {
2013
2385
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2014
2386
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "entity-trait-definitions"),
2015
2387
  method: "GET",
2016
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
2388
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
2017
2389
  contentType: "application/json",
2018
2390
  queryParameters: _queryParams,
2019
2391
  requestType: "json",
@@ -2126,7 +2498,7 @@ class Companies {
2126
2498
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2127
2499
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "entity-trait-definitions"),
2128
2500
  method: "POST",
2129
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
2501
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
2130
2502
  contentType: "application/json",
2131
2503
  requestType: "json",
2132
2504
  body: serializers.CreateEntityTraitDefinitionRequestBody.jsonOrThrow(request, {
@@ -2236,7 +2608,7 @@ class Companies {
2236
2608
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2237
2609
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, `entity-trait-definitions/${encodeURIComponent(entityTraitDefinitionId)}`),
2238
2610
  method: "GET",
2239
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
2611
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
2240
2612
  contentType: "application/json",
2241
2613
  requestType: "json",
2242
2614
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -2339,7 +2711,7 @@ class Companies {
2339
2711
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2340
2712
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, `entity-trait-definitions/${encodeURIComponent(entityTraitDefinitionId)}`),
2341
2713
  method: "PUT",
2342
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
2714
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
2343
2715
  contentType: "application/json",
2344
2716
  requestType: "json",
2345
2717
  body: serializers.UpdateEntityTraitDefinitionRequestBody.jsonOrThrow(request, {
@@ -2475,7 +2847,7 @@ class Companies {
2475
2847
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2476
2848
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "entity-trait-definitions/count"),
2477
2849
  method: "GET",
2478
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
2850
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
2479
2851
  contentType: "application/json",
2480
2852
  queryParameters: _queryParams,
2481
2853
  requestType: "json",
@@ -2598,7 +2970,7 @@ class Companies {
2598
2970
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2599
2971
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "entity-trait-values"),
2600
2972
  method: "GET",
2601
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
2973
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
2602
2974
  contentType: "application/json",
2603
2975
  queryParameters: _queryParams,
2604
2976
  requestType: "json",
@@ -2712,7 +3084,7 @@ class Companies {
2712
3084
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2713
3085
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "user-traits"),
2714
3086
  method: "POST",
2715
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
3087
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
2716
3088
  contentType: "application/json",
2717
3089
  requestType: "json",
2718
3090
  body: serializers.UpsertTraitRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -2846,7 +3218,7 @@ class Companies {
2846
3218
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2847
3219
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "users"),
2848
3220
  method: "GET",
2849
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
3221
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
2850
3222
  contentType: "application/json",
2851
3223
  queryParameters: _queryParams,
2852
3224
  requestType: "json",
@@ -2945,12 +3317,6 @@ class Companies {
2945
3317
  *
2946
3318
  * @example
2947
3319
  * await client.companies.upsertUser({
2948
- * companies: [{
2949
- * "key": "value"
2950
- * }],
2951
- * company: {
2952
- * "key": "value"
2953
- * },
2954
3320
  * keys: {
2955
3321
  * "key": "value"
2956
3322
  * }
@@ -2965,7 +3331,7 @@ class Companies {
2965
3331
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2966
3332
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "users"),
2967
3333
  method: "POST",
2968
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
3334
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
2969
3335
  contentType: "application/json",
2970
3336
  requestType: "json",
2971
3337
  body: serializers.UpsertUserRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -3073,7 +3439,7 @@ class Companies {
3073
3439
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
3074
3440
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, `users/${encodeURIComponent(userId)}`),
3075
3441
  method: "GET",
3076
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
3442
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
3077
3443
  contentType: "application/json",
3078
3444
  requestType: "json",
3079
3445
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -3173,7 +3539,7 @@ class Companies {
3173
3539
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
3174
3540
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, `users/${encodeURIComponent(userId)}`),
3175
3541
  method: "DELETE",
3176
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
3542
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
3177
3543
  contentType: "application/json",
3178
3544
  requestType: "json",
3179
3545
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -3306,7 +3672,7 @@ class Companies {
3306
3672
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
3307
3673
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "users/count"),
3308
3674
  method: "GET",
3309
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
3675
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
3310
3676
  contentType: "application/json",
3311
3677
  queryParameters: _queryParams,
3312
3678
  requestType: "json",
@@ -3405,12 +3771,6 @@ class Companies {
3405
3771
  *
3406
3772
  * @example
3407
3773
  * await client.companies.createUser({
3408
- * companies: [{
3409
- * "key": "value"
3410
- * }],
3411
- * company: {
3412
- * "key": "value"
3413
- * },
3414
3774
  * keys: {
3415
3775
  * "key": "value"
3416
3776
  * }
@@ -3425,7 +3785,7 @@ class Companies {
3425
3785
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
3426
3786
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "users/create"),
3427
3787
  method: "POST",
3428
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
3788
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
3429
3789
  contentType: "application/json",
3430
3790
  requestType: "json",
3431
3791
  body: serializers.UpsertUserRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -3538,7 +3898,7 @@ class Companies {
3538
3898
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
3539
3899
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "users/delete"),
3540
3900
  method: "POST",
3541
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
3901
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
3542
3902
  contentType: "application/json",
3543
3903
  requestType: "json",
3544
3904
  body: serializers.KeysRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -3653,7 +4013,7 @@ class Companies {
3653
4013
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
3654
4014
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "users/lookup"),
3655
4015
  method: "GET",
3656
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.11", "User-Agent": "@schematichq/schematic-typescript-node/1.1.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
4016
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
3657
4017
  contentType: "application/json",
3658
4018
  queryParameters: _queryParams,
3659
4019
  requestType: "json",