@schematichq/schematic-typescript-node 1.1.9 → 1.1.11

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 (1991) hide show
  1. package/Client.d.ts +20 -13
  2. package/Client.js +13 -8
  3. package/README.md +199 -0
  4. package/api/errors/BadRequestError.d.ts +2 -1
  5. package/api/errors/BadRequestError.js +19 -8
  6. package/api/errors/ForbiddenError.d.ts +2 -1
  7. package/api/errors/ForbiddenError.js +19 -8
  8. package/api/errors/InternalServerError.d.ts +2 -1
  9. package/api/errors/InternalServerError.js +19 -8
  10. package/api/errors/NotFoundError.d.ts +2 -1
  11. package/api/errors/NotFoundError.js +19 -8
  12. package/api/errors/UnauthorizedError.d.ts +2 -1
  13. package/api/errors/UnauthorizedError.js +19 -8
  14. package/api/errors/index.d.ts +1 -1
  15. package/api/errors/index.js +1 -1
  16. package/api/resources/accesstokens/client/Client.d.ts +7 -1
  17. package/api/resources/accesstokens/client/Client.js +50 -22
  18. package/api/resources/accounts/client/Client.d.ts +55 -14
  19. package/api/resources/accounts/client/Client.js +548 -224
  20. package/api/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts +1 -1
  21. package/api/resources/accounts/types/QuickstartResponse.d.ts +9 -0
  22. package/api/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +1 -1
  23. package/api/resources/accounts/types/index.d.ts +1 -0
  24. package/api/resources/accounts/types/index.js +1 -0
  25. package/api/resources/billing/client/Client.d.ts +99 -25
  26. package/api/resources/billing/client/Client.js +912 -307
  27. package/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +10 -1
  28. package/api/resources/billing/client/requests/CountCustomersRequest.d.ts +1 -0
  29. package/api/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +1 -0
  30. package/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +14 -2
  31. package/api/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +2 -5
  32. package/api/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.d.ts +6 -2
  33. package/api/resources/billing/client/requests/CreatePaymentMethodRequestBody.d.ts +0 -1
  34. package/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +10 -1
  35. package/api/resources/billing/client/requests/ListCouponsRequest.d.ts +19 -0
  36. package/api/resources/billing/client/requests/{ListCustomersRequest.d.ts → ListCustomersWithSubscriptionsRequest.d.ts} +2 -1
  37. package/api/resources/billing/client/requests/ListPaymentMethodsRequest.d.ts +0 -1
  38. package/api/resources/billing/client/requests/ListProductPricesRequest.d.ts +10 -1
  39. package/api/resources/billing/client/requests/SearchBillingPricesRequest.d.ts +3 -1
  40. package/api/resources/billing/client/requests/index.d.ts +2 -1
  41. package/api/resources/billing/types/CountBillingProductsParams.d.ts +6 -1
  42. package/api/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +8 -0
  43. package/api/resources/billing/types/CountBillingProductsRequestPriceUsageType.js +10 -0
  44. package/api/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +8 -0
  45. package/api/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.js +10 -0
  46. package/api/resources/billing/types/CountCustomersParams.d.ts +1 -0
  47. package/api/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +8 -0
  48. package/api/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.js +10 -0
  49. package/api/resources/billing/types/CreateBillingPriceRequestBodyTierMode.d.ts +8 -0
  50. package/api/resources/billing/types/CreateBillingPriceRequestBodyTierMode.js +10 -0
  51. package/api/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +8 -0
  52. package/api/resources/billing/types/CreateBillingPriceRequestBodyUsageType.js +10 -0
  53. package/api/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.d.ts +8 -0
  54. package/api/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.js +10 -0
  55. package/api/resources/billing/types/DeleteBillingProductResponse.d.ts +9 -0
  56. package/api/resources/billing/types/ListBillingProductsParams.d.ts +6 -1
  57. package/api/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +8 -0
  58. package/api/resources/billing/types/ListBillingProductsRequestPriceUsageType.js +10 -0
  59. package/api/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +8 -0
  60. package/api/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.js +10 -0
  61. package/api/resources/billing/types/ListCouponsParams.d.ts +14 -0
  62. package/api/resources/billing/types/ListCouponsResponse.d.ts +10 -0
  63. package/{dist/api/resources/billing/types/ListCustomersParams.d.ts → api/resources/billing/types/ListCustomersWithSubscriptionsParams.d.ts} +2 -1
  64. package/api/resources/billing/types/ListCustomersWithSubscriptionsParams.js +5 -0
  65. package/{dist/api/resources/billing/types/ListCustomersResponse.d.ts → api/resources/billing/types/ListCustomersWithSubscriptionsResponse.d.ts} +2 -2
  66. package/api/resources/billing/types/ListCustomersWithSubscriptionsResponse.js +5 -0
  67. package/api/resources/billing/types/ListPaymentMethodsParams.d.ts +0 -1
  68. package/api/resources/billing/types/ListProductPricesParams.d.ts +6 -1
  69. package/api/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +8 -0
  70. package/api/resources/billing/types/ListProductPricesRequestPriceUsageType.js +10 -0
  71. package/api/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +8 -0
  72. package/api/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.js +10 -0
  73. package/api/resources/billing/types/SearchBillingPricesParams.d.ts +3 -1
  74. package/api/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +8 -0
  75. package/api/resources/billing/types/SearchBillingPricesRequestUsageType.js +10 -0
  76. package/api/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +8 -0
  77. package/api/resources/billing/types/SearchBillingPricesResponseParamsUsageType.js +10 -0
  78. package/api/resources/billing/types/index.d.ts +17 -2
  79. package/api/resources/billing/types/index.js +17 -2
  80. package/api/resources/checkout/client/Client.d.ts +19 -6
  81. package/api/resources/checkout/client/Client.js +149 -73
  82. package/api/resources/checkout/client/requests/CheckoutDataRequestBody.d.ts +13 -0
  83. package/api/resources/checkout/client/requests/CheckoutDataRequestBody.js +5 -0
  84. package/api/resources/checkout/client/requests/index.d.ts +1 -0
  85. package/api/resources/companies/client/Client.d.ts +99 -37
  86. package/api/resources/companies/client/Client.js +1024 -499
  87. package/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +4 -0
  88. package/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +4 -0
  89. package/api/resources/companies/client/requests/LookupCompanyRequest.d.ts +2 -4
  90. package/api/resources/companies/client/requests/LookupUserRequest.d.ts +2 -4
  91. package/api/resources/companies/types/CountCompaniesParams.d.ts +2 -0
  92. package/api/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +1 -1
  93. package/api/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +1 -1
  94. package/api/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +1 -1
  95. package/api/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +1 -1
  96. package/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +1 -1
  97. package/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +1 -1
  98. package/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +1 -1
  99. package/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +1 -1
  100. package/api/resources/companies/types/ListCompaniesParams.d.ts +2 -0
  101. package/api/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +1 -1
  102. package/api/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +1 -1
  103. package/api/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +1 -1
  104. package/api/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts +1 -1
  105. package/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +1 -1
  106. package/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +1 -1
  107. package/api/resources/companies/types/LookupCompanyParams.d.ts +1 -1
  108. package/api/resources/companies/types/LookupUserParams.d.ts +1 -1
  109. package/api/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +1 -1
  110. package/api/resources/components/client/Client.d.ts +22 -7
  111. package/api/resources/components/client/Client.js +226 -117
  112. package/api/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +1 -1
  113. package/api/resources/components/types/UpdateComponentRequestBodyEntityType.d.ts +1 -1
  114. package/api/resources/components/types/UpdateComponentRequestBodyState.d.ts +1 -1
  115. package/api/resources/crm/client/Client.d.ts +19 -5
  116. package/api/resources/crm/client/Client.js +183 -83
  117. package/api/resources/dataexports/client/Client.d.ts +58 -0
  118. package/api/resources/dataexports/client/Client.js +265 -0
  119. package/api/resources/dataexports/client/index.d.ts +1 -0
  120. package/api/resources/dataexports/client/index.js +17 -0
  121. package/api/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +12 -0
  122. package/api/resources/dataexports/client/requests/CreateDataExportRequestBody.js +5 -0
  123. package/api/resources/dataexports/client/requests/index.d.ts +1 -0
  124. package/api/resources/dataexports/client/requests/index.js +2 -0
  125. package/api/resources/dataexports/index.d.ts +2 -0
  126. package/api/resources/dataexports/index.js +18 -0
  127. package/api/resources/dataexports/types/CreateDataExportResponse.d.ts +9 -0
  128. package/api/resources/dataexports/types/CreateDataExportResponse.js +5 -0
  129. package/api/resources/dataexports/types/index.d.ts +1 -0
  130. package/api/resources/dataexports/types/index.js +17 -0
  131. package/api/resources/entitlements/client/Client.d.ts +57 -22
  132. package/api/resources/entitlements/client/Client.js +612 -306
  133. package/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +7 -0
  134. package/api/resources/entitlements/client/requests/GetFeatureUsageByCompanyRequest.d.ts +2 -4
  135. package/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +7 -0
  136. package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -1
  137. package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +1 -1
  138. package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +1 -1
  139. package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -1
  140. package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +1 -1
  141. package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +1 -1
  142. package/api/resources/entitlements/types/GetFeatureUsageByCompanyParams.d.ts +1 -1
  143. package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -1
  144. package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +1 -1
  145. package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +1 -1
  146. package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -1
  147. package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +1 -1
  148. package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +1 -1
  149. package/api/resources/events/client/Client.d.ts +20 -6
  150. package/api/resources/events/client/Client.js +199 -99
  151. package/api/resources/features/client/Client.d.ts +56 -19
  152. package/api/resources/features/client/Client.js +607 -300
  153. package/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +2 -0
  154. package/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +2 -0
  155. package/api/resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts +1 -1
  156. package/api/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +1 -1
  157. package/api/resources/index.d.ts +3 -0
  158. package/api/resources/index.js +21 -8
  159. package/api/resources/plangroups/client/Client.d.ts +17 -5
  160. package/api/resources/plangroups/client/Client.js +105 -55
  161. package/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +7 -2
  162. package/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +7 -2
  163. package/api/resources/plans/client/Client.d.ts +128 -11
  164. package/api/resources/plans/client/Client.js +1063 -210
  165. package/api/resources/plans/client/requests/CountPlanTraitsRequest.d.ts +20 -0
  166. package/api/resources/plans/client/requests/CountPlanTraitsRequest.js +5 -0
  167. package/api/resources/plans/client/requests/CreatePlanTraitRequestBody.d.ts +16 -0
  168. package/api/resources/plans/client/requests/CreatePlanTraitRequestBody.js +5 -0
  169. package/api/resources/plans/client/requests/ListPlanTraitsRequest.d.ts +20 -0
  170. package/api/resources/plans/client/requests/ListPlanTraitsRequest.js +5 -0
  171. package/api/resources/plans/client/requests/UpdatePlanTraitRequestBody.d.ts +14 -0
  172. package/api/resources/plans/client/requests/UpdatePlanTraitRequestBody.js +5 -0
  173. package/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +2 -0
  174. package/api/resources/plans/client/requests/index.d.ts +4 -0
  175. package/api/resources/plans/types/CountPlanTraitsParams.d.ts +15 -0
  176. package/api/resources/plans/types/CountPlanTraitsParams.js +5 -0
  177. package/api/resources/plans/types/CountPlanTraitsResponse.d.ts +9 -0
  178. package/api/resources/plans/types/CountPlanTraitsResponse.js +5 -0
  179. package/api/resources/plans/types/CountPlansRequestPlanType.d.ts +1 -1
  180. package/api/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +1 -1
  181. package/api/resources/plans/types/CreatePlanRequestBodyPlanType.d.ts +1 -1
  182. package/api/resources/plans/types/CreatePlanTraitResponse.d.ts +9 -0
  183. package/api/resources/plans/types/CreatePlanTraitResponse.js +5 -0
  184. package/api/resources/plans/types/DeletePlanTraitResponse.d.ts +9 -0
  185. package/api/resources/plans/types/DeletePlanTraitResponse.js +5 -0
  186. package/api/resources/plans/types/GetPlanTraitResponse.d.ts +9 -0
  187. package/api/resources/plans/types/GetPlanTraitResponse.js +5 -0
  188. package/api/resources/plans/types/ListPlanTraitsParams.d.ts +15 -0
  189. package/api/resources/plans/types/ListPlanTraitsParams.js +5 -0
  190. package/api/resources/plans/types/ListPlanTraitsResponse.d.ts +10 -0
  191. package/api/resources/plans/types/ListPlanTraitsResponse.js +5 -0
  192. package/api/resources/plans/types/ListPlansRequestPlanType.d.ts +1 -1
  193. package/api/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +1 -1
  194. package/api/resources/plans/types/UpdatePlanTraitResponse.d.ts +9 -0
  195. package/api/resources/plans/types/UpdatePlanTraitResponse.js +5 -0
  196. package/api/resources/plans/types/index.d.ts +8 -0
  197. package/api/resources/plans/types/index.js +8 -0
  198. package/api/resources/webhooks/client/Client.d.ts +28 -9
  199. package/api/resources/webhooks/client/Client.js +293 -148
  200. package/api/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +1 -0
  201. package/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +1 -0
  202. package/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +5 -1
  203. package/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +4 -0
  204. package/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +5 -1
  205. package/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +4 -0
  206. package/api/resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts +1 -1
  207. package/api/types/BillingCouponResponseData.d.ts +0 -3
  208. package/api/types/BillingPriceResponseData.d.ts +2 -0
  209. package/api/types/BillingPriceView.d.ts +7 -0
  210. package/api/types/BillingProductDetailResponseData.d.ts +3 -0
  211. package/api/types/BillingProductForSubscriptionResponseData.d.ts +5 -0
  212. package/api/types/BillingProductPlanResponseData.d.ts +2 -0
  213. package/api/types/BillingProductPriceResponseData.d.ts +3 -0
  214. package/api/types/BillingProductPriceTierResponseData.d.ts +9 -0
  215. package/api/types/BillingProductPriceTierResponseData.js +5 -0
  216. package/api/types/BillingProductPricing.d.ts +4 -1
  217. package/api/types/BillingProductPricingUsageType.d.ts +8 -0
  218. package/api/types/BillingProductPricingUsageType.js +10 -0
  219. package/api/types/BillingProductResponseData.d.ts +2 -0
  220. package/api/types/BillingSubscriptionResponseData.d.ts +3 -0
  221. package/api/types/BillingSubscriptionView.d.ts +3 -0
  222. package/api/types/ChangeSubscriptionInternalRequestBody.d.ts +1 -0
  223. package/api/types/ChangeSubscriptionRequestBody.d.ts +1 -0
  224. package/api/types/CheckFlagResponseData.d.ts +2 -0
  225. package/api/types/CheckoutDataResponseData.d.ts +3 -1
  226. package/api/types/CompanyDetailResponseData.d.ts +2 -0
  227. package/api/types/CompanyPlanDetailResponseData.d.ts +5 -0
  228. package/api/types/CompanyPlanWithBillingSubView.d.ts +2 -0
  229. package/api/types/CompanySubscriptionResponseData.d.ts +2 -0
  230. package/api/types/ComponentCapabilities.d.ts +1 -0
  231. package/api/types/CreateBillingPriceTierRequestBody.d.ts +10 -0
  232. package/api/types/CreateBillingPriceTierRequestBody.js +5 -0
  233. package/api/types/CreateEntitlementReqCommonMetricPeriod.d.ts +1 -1
  234. package/api/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +1 -1
  235. package/api/types/CreateEntitlementReqCommonValueType.d.ts +1 -1
  236. package/api/types/CreateEventRequestBodyEventType.d.ts +1 -1
  237. package/api/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +1 -1
  238. package/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +1 -1
  239. package/api/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +1 -1
  240. package/api/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +1 -1
  241. package/api/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +1 -1
  242. package/api/types/CustomPlanConfig.d.ts +8 -0
  243. package/api/types/CustomPlanConfig.js +5 -0
  244. package/api/types/CustomPlanViewConfigResponseData.d.ts +8 -0
  245. package/api/types/CustomPlanViewConfigResponseData.js +5 -0
  246. package/api/types/DataExportResponseData.d.ts +17 -0
  247. package/api/types/DataExportResponseData.js +5 -0
  248. package/api/types/Decimal.d.ts +1 -1
  249. package/api/types/EntitlementTriggerConfig.d.ts +6 -0
  250. package/api/types/EntitlementTriggerConfig.js +5 -0
  251. package/api/types/EntitlementsInPlan.d.ts +7 -0
  252. package/api/types/EntitlementsInPlan.js +5 -0
  253. package/api/types/EventBody.d.ts +1 -1
  254. package/api/types/EventSummaryResponseData.d.ts +2 -2
  255. package/api/types/FeatureCompanyResponseDataAllocationType.d.ts +1 -1
  256. package/api/types/FeatureCompanyUserResponseDataAllocationType.d.ts +1 -1
  257. package/api/types/FeatureDetailResponseData.d.ts +2 -0
  258. package/api/types/FeatureResponseData.d.ts +2 -0
  259. package/api/types/FeatureUsageResponseData.d.ts +2 -0
  260. package/api/types/FeatureUsageResponseDataAllocationType.d.ts +1 -1
  261. package/api/types/OrderedPlansInGroup.d.ts +8 -0
  262. package/api/types/OrderedPlansInGroup.js +5 -0
  263. package/api/types/PaymentMethodRequestBody.d.ts +0 -1
  264. package/api/types/PaymentMethodResponseData.d.ts +0 -1
  265. package/api/types/PlanDetailResponseData.d.ts +2 -0
  266. package/api/types/PlanEntitlementResponseData.d.ts +2 -0
  267. package/api/types/PlanEntitlementsOrder.d.ts +7 -0
  268. package/api/types/PlanEntitlementsOrder.js +5 -0
  269. package/api/types/PlanGroupDetailResponseData.d.ts +3 -0
  270. package/api/types/PlanGroupPlanDetailResponseData.d.ts +4 -0
  271. package/api/types/PlanGroupPlanEntitlementsOrder.d.ts +8 -0
  272. package/api/types/PlanGroupPlanEntitlementsOrder.js +5 -0
  273. package/api/types/PlanGroupResponseData.d.ts +2 -1
  274. package/api/types/PlanTraitResponseData.d.ts +16 -0
  275. package/api/types/PlanTraitResponseData.js +5 -0
  276. package/api/types/PreviewSubscriptionChangeResponseData.d.ts +3 -0
  277. package/api/types/PreviewSubscriptionFinanceResponseData.d.ts +15 -0
  278. package/api/types/PreviewSubscriptionFinanceResponseData.js +5 -0
  279. package/api/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +10 -0
  280. package/api/types/PreviewSubscriptionUpcomingInvoiceLineItems.js +5 -0
  281. package/api/types/QuickstartResp.d.ts +6 -0
  282. package/api/types/QuickstartResp.js +5 -0
  283. package/api/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +1 -1
  284. package/api/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +1 -1
  285. package/api/types/UpdateEntitlementReqCommonValueType.d.ts +1 -1
  286. package/api/types/UpsertCompanyRequestBody.d.ts +1 -0
  287. package/api/types/UpsertTraitRequestBody.d.ts +1 -1
  288. package/api/types/UpsertUserRequestBody.d.ts +7 -2
  289. package/api/types/UpsertUserSubRequestBody.d.ts +4 -1
  290. package/api/types/UsageBasedEntitlementRequestBody.d.ts +7 -0
  291. package/api/types/WebhookResponseData.d.ts +3 -0
  292. package/api/types/index.d.ts +15 -0
  293. package/api/types/index.js +15 -0
  294. package/core/fetcher/APIResponse.d.ts +11 -1
  295. package/core/fetcher/Fetcher.d.ts +2 -2
  296. package/core/fetcher/Fetcher.js +13 -5
  297. package/core/fetcher/Headers.d.ts +2 -0
  298. package/core/fetcher/Headers.js +84 -0
  299. package/core/fetcher/HttpResponsePromise.d.ts +58 -0
  300. package/core/fetcher/HttpResponsePromise.js +103 -0
  301. package/core/fetcher/RawResponse.d.ts +29 -0
  302. package/core/fetcher/RawResponse.js +44 -0
  303. package/core/fetcher/Supplier.d.ts +1 -1
  304. package/core/fetcher/createRequestUrl.d.ts +1 -1
  305. package/core/fetcher/createRequestUrl.js +1 -2
  306. package/core/fetcher/custom.js +19 -2
  307. package/core/fetcher/getFetchFn.js +18 -9
  308. package/core/fetcher/getHeader.js +1 -2
  309. package/core/fetcher/getRequestBody.js +5 -5
  310. package/core/fetcher/getResponseBody.js +1 -2
  311. package/core/fetcher/index.d.ts +3 -0
  312. package/core/fetcher/index.js +7 -1
  313. package/core/fetcher/makeRequest.d.ts +1 -1
  314. package/core/fetcher/requestWithRetries.js +4 -5
  315. package/core/fetcher/signals.d.ts +0 -1
  316. package/core/fetcher/signals.js +2 -3
  317. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -1
  318. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +6 -4
  319. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +1 -1
  320. package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +1 -1
  321. package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +18 -9
  322. package/core/index.js +17 -7
  323. package/core/json.d.ts +15 -0
  324. package/core/json.js +24 -0
  325. package/core/runtime/runtime.d.ts +1 -1
  326. package/core/runtime/runtime.js +51 -41
  327. package/core/schemas/Schema.d.ts +7 -5
  328. package/core/schemas/Schema.js +2 -0
  329. package/core/schemas/builders/bigint/bigint.d.ts +1 -1
  330. package/core/schemas/builders/bigint/bigint.js +22 -19
  331. package/core/schemas/builders/date/date.js +1 -2
  332. package/core/schemas/builders/enum/enum.js +1 -2
  333. package/core/schemas/builders/lazy/lazy.d.ts +1 -1
  334. package/core/schemas/builders/lazy/lazy.js +3 -4
  335. package/core/schemas/builders/lazy/lazyObject.js +1 -2
  336. package/core/schemas/builders/list/list.js +1 -2
  337. package/core/schemas/builders/literals/booleanLiteral.js +1 -2
  338. package/core/schemas/builders/literals/stringLiteral.js +1 -2
  339. package/core/schemas/builders/object/object.d.ts +1 -1
  340. package/core/schemas/builders/object/object.js +31 -3
  341. package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +3 -3
  342. package/core/schemas/builders/object/objectWithoutOptionalProperties.js +1 -2
  343. package/core/schemas/builders/object/property.js +2 -3
  344. package/core/schemas/builders/object/types.d.ts +16 -11
  345. package/core/schemas/builders/object-like/getObjectLikeUtils.js +2 -3
  346. package/core/schemas/builders/object-like/types.d.ts +1 -1
  347. package/core/schemas/builders/record/record.js +2 -4
  348. package/core/schemas/builders/record/types.d.ts +2 -2
  349. package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +4 -0
  350. package/core/schemas/builders/schema-utils/getSchemaUtils.js +67 -4
  351. package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +1 -2
  352. package/core/schemas/builders/set/set.js +1 -2
  353. package/core/schemas/builders/undiscriminated-union/types.d.ts +4 -4
  354. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +1 -2
  355. package/core/schemas/builders/union/discriminant.js +1 -2
  356. package/core/schemas/builders/union/types.d.ts +6 -6
  357. package/core/schemas/builders/union/union.d.ts +1 -1
  358. package/core/schemas/builders/union/union.js +1 -2
  359. package/core/schemas/utils/MaybePromise.d.ts +1 -1
  360. package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +4 -4
  361. package/core/schemas/utils/createIdentitySchemaCreator.js +1 -2
  362. package/core/schemas/utils/entries.d.ts +1 -1
  363. package/core/schemas/utils/entries.js +1 -2
  364. package/core/schemas/utils/filterObject.d.ts +1 -1
  365. package/core/schemas/utils/filterObject.js +1 -2
  366. package/core/schemas/utils/getErrorMessageForIncorrectType.js +1 -2
  367. package/core/schemas/utils/isPlainObject.js +1 -2
  368. package/core/schemas/utils/keys.d.ts +1 -1
  369. package/core/schemas/utils/keys.js +1 -2
  370. package/core/schemas/utils/maybeSkipValidation.js +1 -2
  371. package/core/schemas/utils/partition.js +1 -2
  372. package/dist/Client.d.ts +20 -13
  373. package/dist/Client.js +13 -8
  374. package/dist/api/errors/BadRequestError.d.ts +2 -1
  375. package/dist/api/errors/BadRequestError.js +19 -8
  376. package/dist/api/errors/ForbiddenError.d.ts +2 -1
  377. package/dist/api/errors/ForbiddenError.js +19 -8
  378. package/dist/api/errors/InternalServerError.d.ts +2 -1
  379. package/dist/api/errors/InternalServerError.js +19 -8
  380. package/dist/api/errors/NotFoundError.d.ts +2 -1
  381. package/dist/api/errors/NotFoundError.js +19 -8
  382. package/dist/api/errors/UnauthorizedError.d.ts +2 -1
  383. package/dist/api/errors/UnauthorizedError.js +19 -8
  384. package/dist/api/errors/index.d.ts +1 -1
  385. package/dist/api/errors/index.js +1 -1
  386. package/dist/api/resources/accesstokens/client/Client.d.ts +7 -1
  387. package/dist/api/resources/accesstokens/client/Client.js +50 -22
  388. package/dist/api/resources/accounts/client/Client.d.ts +55 -14
  389. package/dist/api/resources/accounts/client/Client.js +548 -224
  390. package/dist/api/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts +1 -1
  391. package/dist/api/resources/accounts/types/QuickstartResponse.d.ts +9 -0
  392. package/dist/api/resources/accounts/types/QuickstartResponse.js +5 -0
  393. package/dist/api/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +1 -1
  394. package/dist/api/resources/accounts/types/index.d.ts +1 -0
  395. package/dist/api/resources/accounts/types/index.js +1 -0
  396. package/dist/api/resources/billing/client/Client.d.ts +99 -25
  397. package/dist/api/resources/billing/client/Client.js +912 -307
  398. package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +10 -1
  399. package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +1 -0
  400. package/dist/api/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +1 -0
  401. package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +14 -2
  402. package/dist/api/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +2 -5
  403. package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.d.ts +6 -2
  404. package/dist/api/resources/billing/client/requests/CreatePaymentMethodRequestBody.d.ts +0 -1
  405. package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +10 -1
  406. package/dist/api/resources/billing/client/requests/ListCouponsRequest.d.ts +19 -0
  407. package/dist/api/resources/billing/client/requests/ListCouponsRequest.js +5 -0
  408. package/dist/api/resources/billing/client/requests/{ListCustomersRequest.d.ts → ListCustomersWithSubscriptionsRequest.d.ts} +2 -1
  409. package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.js +5 -0
  410. package/dist/api/resources/billing/client/requests/ListPaymentMethodsRequest.d.ts +0 -1
  411. package/dist/api/resources/billing/client/requests/ListProductPricesRequest.d.ts +10 -1
  412. package/dist/api/resources/billing/client/requests/SearchBillingPricesRequest.d.ts +3 -1
  413. package/dist/api/resources/billing/client/requests/index.d.ts +2 -1
  414. package/dist/api/resources/billing/types/CountBillingProductsParams.d.ts +6 -1
  415. package/dist/api/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +8 -0
  416. package/dist/api/resources/billing/types/CountBillingProductsRequestPriceUsageType.js +10 -0
  417. package/dist/api/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +8 -0
  418. package/dist/api/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.js +10 -0
  419. package/dist/api/resources/billing/types/CountCustomersParams.d.ts +1 -0
  420. package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +8 -0
  421. package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.js +10 -0
  422. package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyTierMode.d.ts +8 -0
  423. package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyTierMode.js +10 -0
  424. package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +8 -0
  425. package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyUsageType.js +10 -0
  426. package/dist/api/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.d.ts +8 -0
  427. package/dist/api/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.js +10 -0
  428. package/dist/api/resources/billing/types/DeleteBillingProductResponse.d.ts +9 -0
  429. package/dist/api/resources/billing/types/DeleteBillingProductResponse.js +5 -0
  430. package/dist/api/resources/billing/types/ListBillingProductsParams.d.ts +6 -1
  431. package/dist/api/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +8 -0
  432. package/dist/api/resources/billing/types/ListBillingProductsRequestPriceUsageType.js +10 -0
  433. package/dist/api/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +8 -0
  434. package/dist/api/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.js +10 -0
  435. package/dist/api/resources/billing/types/ListCouponsParams.d.ts +14 -0
  436. package/dist/api/resources/billing/types/ListCouponsParams.js +5 -0
  437. package/dist/api/resources/billing/types/ListCouponsResponse.d.ts +10 -0
  438. package/dist/api/resources/billing/types/ListCouponsResponse.js +5 -0
  439. package/{api/resources/billing/types/ListCustomersParams.d.ts → dist/api/resources/billing/types/ListCustomersWithSubscriptionsParams.d.ts} +2 -1
  440. package/dist/api/resources/billing/types/ListCustomersWithSubscriptionsParams.js +5 -0
  441. package/{api/resources/billing/types/ListCustomersResponse.d.ts → dist/api/resources/billing/types/ListCustomersWithSubscriptionsResponse.d.ts} +2 -2
  442. package/dist/api/resources/billing/types/ListCustomersWithSubscriptionsResponse.js +5 -0
  443. package/dist/api/resources/billing/types/ListPaymentMethodsParams.d.ts +0 -1
  444. package/dist/api/resources/billing/types/ListProductPricesParams.d.ts +6 -1
  445. package/dist/api/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +8 -0
  446. package/dist/api/resources/billing/types/ListProductPricesRequestPriceUsageType.js +10 -0
  447. package/dist/api/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +8 -0
  448. package/dist/api/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.js +10 -0
  449. package/dist/api/resources/billing/types/SearchBillingPricesParams.d.ts +3 -1
  450. package/dist/api/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +8 -0
  451. package/dist/api/resources/billing/types/SearchBillingPricesRequestUsageType.js +10 -0
  452. package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +8 -0
  453. package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsUsageType.js +10 -0
  454. package/dist/api/resources/billing/types/index.d.ts +17 -2
  455. package/dist/api/resources/billing/types/index.js +17 -2
  456. package/dist/api/resources/checkout/client/Client.d.ts +19 -6
  457. package/dist/api/resources/checkout/client/Client.js +149 -73
  458. package/dist/api/resources/checkout/client/requests/CheckoutDataRequestBody.d.ts +13 -0
  459. package/dist/api/resources/checkout/client/requests/CheckoutDataRequestBody.js +5 -0
  460. package/dist/api/resources/checkout/client/requests/index.d.ts +1 -0
  461. package/dist/api/resources/companies/client/Client.d.ts +99 -37
  462. package/dist/api/resources/companies/client/Client.js +1024 -499
  463. package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +4 -0
  464. package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +4 -0
  465. package/dist/api/resources/companies/client/requests/LookupCompanyRequest.d.ts +2 -4
  466. package/dist/api/resources/companies/client/requests/LookupUserRequest.d.ts +2 -4
  467. package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +2 -0
  468. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +1 -1
  469. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +1 -1
  470. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +1 -1
  471. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +1 -1
  472. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +1 -1
  473. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +1 -1
  474. package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +1 -1
  475. package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +1 -1
  476. package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +2 -0
  477. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +1 -1
  478. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +1 -1
  479. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +1 -1
  480. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts +1 -1
  481. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +1 -1
  482. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +1 -1
  483. package/dist/api/resources/companies/types/LookupCompanyParams.d.ts +1 -1
  484. package/dist/api/resources/companies/types/LookupUserParams.d.ts +1 -1
  485. package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +1 -1
  486. package/dist/api/resources/components/client/Client.d.ts +22 -7
  487. package/dist/api/resources/components/client/Client.js +226 -117
  488. package/dist/api/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +1 -1
  489. package/dist/api/resources/components/types/UpdateComponentRequestBodyEntityType.d.ts +1 -1
  490. package/dist/api/resources/components/types/UpdateComponentRequestBodyState.d.ts +1 -1
  491. package/dist/api/resources/crm/client/Client.d.ts +19 -5
  492. package/dist/api/resources/crm/client/Client.js +183 -83
  493. package/dist/api/resources/dataexports/client/Client.d.ts +58 -0
  494. package/dist/api/resources/dataexports/client/Client.js +265 -0
  495. package/dist/api/resources/dataexports/client/index.d.ts +1 -0
  496. package/dist/api/resources/dataexports/client/index.js +17 -0
  497. package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +12 -0
  498. package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.js +5 -0
  499. package/dist/api/resources/dataexports/client/requests/index.d.ts +1 -0
  500. package/dist/api/resources/dataexports/client/requests/index.js +2 -0
  501. package/dist/api/resources/dataexports/index.d.ts +2 -0
  502. package/dist/api/resources/dataexports/index.js +18 -0
  503. package/dist/api/resources/dataexports/types/CreateDataExportResponse.d.ts +9 -0
  504. package/dist/api/resources/dataexports/types/CreateDataExportResponse.js +5 -0
  505. package/dist/api/resources/dataexports/types/index.d.ts +1 -0
  506. package/dist/api/resources/dataexports/types/index.js +17 -0
  507. package/dist/api/resources/entitlements/client/Client.d.ts +57 -22
  508. package/dist/api/resources/entitlements/client/Client.js +612 -306
  509. package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +7 -0
  510. package/dist/api/resources/entitlements/client/requests/GetFeatureUsageByCompanyRequest.d.ts +2 -4
  511. package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +7 -0
  512. package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -1
  513. package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +1 -1
  514. package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +1 -1
  515. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -1
  516. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +1 -1
  517. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +1 -1
  518. package/dist/api/resources/entitlements/types/GetFeatureUsageByCompanyParams.d.ts +1 -1
  519. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -1
  520. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +1 -1
  521. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +1 -1
  522. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -1
  523. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +1 -1
  524. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +1 -1
  525. package/dist/api/resources/events/client/Client.d.ts +20 -6
  526. package/dist/api/resources/events/client/Client.js +199 -99
  527. package/dist/api/resources/features/client/Client.d.ts +56 -19
  528. package/dist/api/resources/features/client/Client.js +607 -300
  529. package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +2 -0
  530. package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +2 -0
  531. package/dist/api/resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts +1 -1
  532. package/dist/api/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +1 -1
  533. package/dist/api/resources/index.d.ts +3 -0
  534. package/dist/api/resources/index.js +21 -8
  535. package/dist/api/resources/plangroups/client/Client.d.ts +17 -5
  536. package/dist/api/resources/plangroups/client/Client.js +105 -55
  537. package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +7 -2
  538. package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +7 -2
  539. package/dist/api/resources/plans/client/Client.d.ts +128 -11
  540. package/dist/api/resources/plans/client/Client.js +1063 -210
  541. package/dist/api/resources/plans/client/requests/CountPlanTraitsRequest.d.ts +20 -0
  542. package/dist/api/resources/plans/client/requests/CountPlanTraitsRequest.js +5 -0
  543. package/dist/api/resources/plans/client/requests/CreatePlanTraitRequestBody.d.ts +16 -0
  544. package/dist/api/resources/plans/client/requests/CreatePlanTraitRequestBody.js +5 -0
  545. package/dist/api/resources/plans/client/requests/ListPlanTraitsRequest.d.ts +20 -0
  546. package/dist/api/resources/plans/client/requests/ListPlanTraitsRequest.js +5 -0
  547. package/dist/api/resources/plans/client/requests/UpdatePlanTraitRequestBody.d.ts +14 -0
  548. package/dist/api/resources/plans/client/requests/UpdatePlanTraitRequestBody.js +5 -0
  549. package/dist/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +2 -0
  550. package/dist/api/resources/plans/client/requests/index.d.ts +4 -0
  551. package/dist/api/resources/plans/types/CountPlanTraitsParams.d.ts +15 -0
  552. package/dist/api/resources/plans/types/CountPlanTraitsParams.js +5 -0
  553. package/dist/api/resources/plans/types/CountPlanTraitsResponse.d.ts +9 -0
  554. package/dist/api/resources/plans/types/CountPlanTraitsResponse.js +5 -0
  555. package/dist/api/resources/plans/types/CountPlansRequestPlanType.d.ts +1 -1
  556. package/dist/api/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +1 -1
  557. package/dist/api/resources/plans/types/CreatePlanRequestBodyPlanType.d.ts +1 -1
  558. package/dist/api/resources/plans/types/CreatePlanTraitResponse.d.ts +9 -0
  559. package/dist/api/resources/plans/types/CreatePlanTraitResponse.js +5 -0
  560. package/dist/api/resources/plans/types/DeletePlanTraitResponse.d.ts +9 -0
  561. package/dist/api/resources/plans/types/DeletePlanTraitResponse.js +5 -0
  562. package/dist/api/resources/plans/types/GetPlanTraitResponse.d.ts +9 -0
  563. package/dist/api/resources/plans/types/GetPlanTraitResponse.js +5 -0
  564. package/dist/api/resources/plans/types/ListPlanTraitsParams.d.ts +15 -0
  565. package/dist/api/resources/plans/types/ListPlanTraitsParams.js +5 -0
  566. package/dist/api/resources/plans/types/ListPlanTraitsResponse.d.ts +10 -0
  567. package/dist/api/resources/plans/types/ListPlanTraitsResponse.js +5 -0
  568. package/dist/api/resources/plans/types/ListPlansRequestPlanType.d.ts +1 -1
  569. package/dist/api/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +1 -1
  570. package/dist/api/resources/plans/types/UpdatePlanTraitResponse.d.ts +9 -0
  571. package/dist/api/resources/plans/types/UpdatePlanTraitResponse.js +5 -0
  572. package/dist/api/resources/plans/types/index.d.ts +8 -0
  573. package/dist/api/resources/plans/types/index.js +8 -0
  574. package/dist/api/resources/webhooks/client/Client.d.ts +28 -9
  575. package/dist/api/resources/webhooks/client/Client.js +293 -148
  576. package/dist/api/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +1 -0
  577. package/dist/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +1 -0
  578. package/dist/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +5 -1
  579. package/dist/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +4 -0
  580. package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +5 -1
  581. package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +4 -0
  582. package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts +1 -1
  583. package/dist/api/types/BillingCouponResponseData.d.ts +0 -3
  584. package/dist/api/types/BillingPriceResponseData.d.ts +2 -0
  585. package/dist/api/types/BillingPriceView.d.ts +7 -0
  586. package/dist/api/types/BillingProductDetailResponseData.d.ts +3 -0
  587. package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +5 -0
  588. package/dist/api/types/BillingProductPlanResponseData.d.ts +2 -0
  589. package/dist/api/types/BillingProductPriceResponseData.d.ts +3 -0
  590. package/dist/api/types/BillingProductPriceTierResponseData.d.ts +9 -0
  591. package/dist/api/types/BillingProductPriceTierResponseData.js +5 -0
  592. package/dist/api/types/BillingProductPricing.d.ts +4 -1
  593. package/dist/api/types/BillingProductPricingUsageType.d.ts +8 -0
  594. package/dist/api/types/BillingProductPricingUsageType.js +10 -0
  595. package/dist/api/types/BillingProductResponseData.d.ts +2 -0
  596. package/dist/api/types/BillingSubscriptionResponseData.d.ts +3 -0
  597. package/dist/api/types/BillingSubscriptionView.d.ts +3 -0
  598. package/dist/api/types/ChangeSubscriptionInternalRequestBody.d.ts +1 -0
  599. package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +1 -0
  600. package/dist/api/types/CheckFlagResponseData.d.ts +2 -0
  601. package/dist/api/types/CheckoutDataResponseData.d.ts +3 -1
  602. package/dist/api/types/CompanyDetailResponseData.d.ts +2 -0
  603. package/dist/api/types/CompanyPlanDetailResponseData.d.ts +5 -0
  604. package/dist/api/types/CompanyPlanWithBillingSubView.d.ts +2 -0
  605. package/dist/api/types/CompanySubscriptionResponseData.d.ts +2 -0
  606. package/dist/api/types/ComponentCapabilities.d.ts +1 -0
  607. package/dist/api/types/CreateBillingPriceTierRequestBody.d.ts +10 -0
  608. package/dist/api/types/CreateBillingPriceTierRequestBody.js +5 -0
  609. package/dist/api/types/CreateEntitlementReqCommonMetricPeriod.d.ts +1 -1
  610. package/dist/api/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +1 -1
  611. package/dist/api/types/CreateEntitlementReqCommonValueType.d.ts +1 -1
  612. package/dist/api/types/CreateEventRequestBodyEventType.d.ts +1 -1
  613. package/dist/api/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +1 -1
  614. package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +1 -1
  615. package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +1 -1
  616. package/dist/api/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +1 -1
  617. package/dist/api/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +1 -1
  618. package/dist/api/types/CustomPlanConfig.d.ts +8 -0
  619. package/dist/api/types/CustomPlanConfig.js +5 -0
  620. package/dist/api/types/CustomPlanViewConfigResponseData.d.ts +8 -0
  621. package/dist/api/types/CustomPlanViewConfigResponseData.js +5 -0
  622. package/dist/api/types/DataExportResponseData.d.ts +17 -0
  623. package/dist/api/types/DataExportResponseData.js +5 -0
  624. package/dist/api/types/Decimal.d.ts +1 -1
  625. package/dist/api/types/EntitlementTriggerConfig.d.ts +6 -0
  626. package/dist/api/types/EntitlementTriggerConfig.js +5 -0
  627. package/dist/api/types/EntitlementsInPlan.d.ts +7 -0
  628. package/dist/api/types/EntitlementsInPlan.js +5 -0
  629. package/dist/api/types/EventBody.d.ts +1 -1
  630. package/dist/api/types/EventSummaryResponseData.d.ts +2 -2
  631. package/dist/api/types/FeatureCompanyResponseDataAllocationType.d.ts +1 -1
  632. package/dist/api/types/FeatureCompanyUserResponseDataAllocationType.d.ts +1 -1
  633. package/dist/api/types/FeatureDetailResponseData.d.ts +2 -0
  634. package/dist/api/types/FeatureResponseData.d.ts +2 -0
  635. package/dist/api/types/FeatureUsageResponseData.d.ts +2 -0
  636. package/dist/api/types/FeatureUsageResponseDataAllocationType.d.ts +1 -1
  637. package/dist/api/types/OrderedPlansInGroup.d.ts +8 -0
  638. package/dist/api/types/OrderedPlansInGroup.js +5 -0
  639. package/dist/api/types/PaymentMethodRequestBody.d.ts +0 -1
  640. package/dist/api/types/PaymentMethodResponseData.d.ts +0 -1
  641. package/dist/api/types/PlanDetailResponseData.d.ts +2 -0
  642. package/dist/api/types/PlanEntitlementResponseData.d.ts +2 -0
  643. package/dist/api/types/PlanEntitlementsOrder.d.ts +7 -0
  644. package/dist/api/types/PlanEntitlementsOrder.js +5 -0
  645. package/dist/api/types/PlanGroupDetailResponseData.d.ts +3 -0
  646. package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +4 -0
  647. package/dist/api/types/PlanGroupPlanEntitlementsOrder.d.ts +8 -0
  648. package/dist/api/types/PlanGroupPlanEntitlementsOrder.js +5 -0
  649. package/dist/api/types/PlanGroupResponseData.d.ts +2 -1
  650. package/dist/api/types/PlanTraitResponseData.d.ts +16 -0
  651. package/dist/api/types/PlanTraitResponseData.js +5 -0
  652. package/dist/api/types/PreviewSubscriptionChangeResponseData.d.ts +3 -0
  653. package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +15 -0
  654. package/dist/api/types/PreviewSubscriptionFinanceResponseData.js +5 -0
  655. package/dist/api/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +10 -0
  656. package/dist/api/types/PreviewSubscriptionUpcomingInvoiceLineItems.js +5 -0
  657. package/dist/api/types/QuickstartResp.d.ts +6 -0
  658. package/dist/api/types/QuickstartResp.js +5 -0
  659. package/dist/api/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +1 -1
  660. package/dist/api/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +1 -1
  661. package/dist/api/types/UpdateEntitlementReqCommonValueType.d.ts +1 -1
  662. package/dist/api/types/UpsertCompanyRequestBody.d.ts +1 -0
  663. package/dist/api/types/UpsertTraitRequestBody.d.ts +1 -1
  664. package/dist/api/types/UpsertUserRequestBody.d.ts +7 -2
  665. package/dist/api/types/UpsertUserSubRequestBody.d.ts +4 -1
  666. package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +7 -0
  667. package/dist/api/types/WebhookResponseData.d.ts +3 -0
  668. package/dist/api/types/index.d.ts +15 -0
  669. package/dist/api/types/index.js +15 -0
  670. package/dist/core/fetcher/APIResponse.d.ts +11 -1
  671. package/dist/core/fetcher/Fetcher.d.ts +2 -2
  672. package/dist/core/fetcher/Fetcher.js +13 -5
  673. package/dist/core/fetcher/Headers.d.ts +2 -0
  674. package/dist/core/fetcher/Headers.js +84 -0
  675. package/dist/core/fetcher/HttpResponsePromise.d.ts +58 -0
  676. package/dist/core/fetcher/HttpResponsePromise.js +103 -0
  677. package/dist/core/fetcher/RawResponse.d.ts +29 -0
  678. package/dist/core/fetcher/RawResponse.js +44 -0
  679. package/dist/core/fetcher/Supplier.d.ts +1 -1
  680. package/dist/core/fetcher/createRequestUrl.d.ts +1 -1
  681. package/dist/core/fetcher/createRequestUrl.js +1 -2
  682. package/dist/core/fetcher/custom.js +19 -2
  683. package/dist/core/fetcher/getFetchFn.js +18 -9
  684. package/dist/core/fetcher/getHeader.js +1 -2
  685. package/dist/core/fetcher/getRequestBody.js +5 -5
  686. package/dist/core/fetcher/getResponseBody.js +1 -2
  687. package/dist/core/fetcher/index.d.ts +3 -0
  688. package/dist/core/fetcher/index.js +7 -1
  689. package/dist/core/fetcher/makeRequest.d.ts +1 -1
  690. package/dist/core/fetcher/requestWithRetries.js +4 -5
  691. package/dist/core/fetcher/signals.d.ts +0 -1
  692. package/dist/core/fetcher/signals.js +2 -3
  693. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -1
  694. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +6 -4
  695. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +1 -1
  696. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +1 -1
  697. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +18 -9
  698. package/dist/core/index.js +17 -7
  699. package/dist/core/json.d.ts +15 -0
  700. package/dist/core/json.js +24 -0
  701. package/dist/core/runtime/runtime.d.ts +1 -1
  702. package/dist/core/runtime/runtime.js +51 -41
  703. package/dist/core/schemas/Schema.d.ts +7 -5
  704. package/dist/core/schemas/Schema.js +2 -0
  705. package/dist/core/schemas/builders/bigint/bigint.d.ts +1 -1
  706. package/dist/core/schemas/builders/bigint/bigint.js +22 -19
  707. package/dist/core/schemas/builders/date/date.js +1 -2
  708. package/dist/core/schemas/builders/enum/enum.js +1 -2
  709. package/dist/core/schemas/builders/lazy/lazy.d.ts +1 -1
  710. package/dist/core/schemas/builders/lazy/lazy.js +3 -4
  711. package/dist/core/schemas/builders/lazy/lazyObject.js +1 -2
  712. package/dist/core/schemas/builders/list/list.js +1 -2
  713. package/dist/core/schemas/builders/literals/booleanLiteral.js +1 -2
  714. package/dist/core/schemas/builders/literals/stringLiteral.js +1 -2
  715. package/dist/core/schemas/builders/object/object.d.ts +1 -1
  716. package/dist/core/schemas/builders/object/object.js +31 -3
  717. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +3 -3
  718. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +1 -2
  719. package/dist/core/schemas/builders/object/property.js +2 -3
  720. package/dist/core/schemas/builders/object/types.d.ts +16 -11
  721. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +2 -3
  722. package/dist/core/schemas/builders/object-like/types.d.ts +1 -1
  723. package/dist/core/schemas/builders/record/record.js +2 -4
  724. package/dist/core/schemas/builders/record/types.d.ts +2 -2
  725. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +4 -0
  726. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +67 -4
  727. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +1 -2
  728. package/dist/core/schemas/builders/set/set.js +1 -2
  729. package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +4 -4
  730. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +1 -2
  731. package/dist/core/schemas/builders/union/discriminant.js +1 -2
  732. package/dist/core/schemas/builders/union/types.d.ts +6 -6
  733. package/dist/core/schemas/builders/union/union.d.ts +1 -1
  734. package/dist/core/schemas/builders/union/union.js +1 -2
  735. package/dist/core/schemas/utils/MaybePromise.d.ts +1 -1
  736. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +4 -4
  737. package/dist/core/schemas/utils/createIdentitySchemaCreator.js +1 -2
  738. package/dist/core/schemas/utils/entries.d.ts +1 -1
  739. package/dist/core/schemas/utils/entries.js +1 -2
  740. package/dist/core/schemas/utils/filterObject.d.ts +1 -1
  741. package/dist/core/schemas/utils/filterObject.js +1 -2
  742. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +1 -2
  743. package/dist/core/schemas/utils/isPlainObject.js +1 -2
  744. package/dist/core/schemas/utils/keys.d.ts +1 -1
  745. package/dist/core/schemas/utils/keys.js +1 -2
  746. package/dist/core/schemas/utils/maybeSkipValidation.js +1 -2
  747. package/dist/core/schemas/utils/partition.js +1 -2
  748. package/dist/environments.d.ts +1 -1
  749. package/dist/errors/SchematicError.d.ts +4 -1
  750. package/dist/errors/SchematicError.js +6 -8
  751. package/dist/errors/SchematicTimeoutError.d.ts +1 -1
  752. package/dist/errors/SchematicTimeoutError.js +2 -2
  753. package/dist/events.d.ts +4 -0
  754. package/dist/events.js +41 -5
  755. package/dist/events.test.js +51 -4
  756. package/dist/index.d.ts +1 -0
  757. package/dist/index.js +26 -8
  758. package/dist/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.js +17 -7
  759. package/dist/serialization/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.js +17 -7
  760. package/dist/serialization/resources/accounts/client/requests/CreateApiKeyRequestBody.js +17 -7
  761. package/dist/serialization/resources/accounts/client/requests/CreateEnvironmentRequestBody.js +17 -7
  762. package/dist/serialization/resources/accounts/client/requests/UpdateApiKeyRequestBody.js +17 -7
  763. package/dist/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.js +17 -7
  764. package/dist/serialization/resources/accounts/types/CountApiKeysParams.js +17 -7
  765. package/dist/serialization/resources/accounts/types/CountApiKeysResponse.js +17 -7
  766. package/dist/serialization/resources/accounts/types/CountApiRequestsParams.js +17 -7
  767. package/dist/serialization/resources/accounts/types/CountApiRequestsResponse.js +17 -7
  768. package/dist/serialization/resources/accounts/types/CreateApiKeyResponse.js +17 -7
  769. package/dist/serialization/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.js +17 -7
  770. package/dist/serialization/resources/accounts/types/CreateEnvironmentResponse.js +17 -7
  771. package/dist/serialization/resources/accounts/types/DeleteApiKeyResponse.js +17 -7
  772. package/dist/serialization/resources/accounts/types/DeleteEnvironmentResponse.js +17 -7
  773. package/dist/serialization/resources/accounts/types/GetApiKeyResponse.js +17 -7
  774. package/dist/serialization/resources/accounts/types/GetApiRequestResponse.js +17 -7
  775. package/dist/serialization/resources/accounts/types/GetEnvironmentResponse.js +17 -7
  776. package/dist/serialization/resources/accounts/types/ListApiKeysParams.js +17 -7
  777. package/dist/serialization/resources/accounts/types/ListApiKeysResponse.js +17 -7
  778. package/dist/serialization/resources/accounts/types/ListApiRequestsParams.js +17 -7
  779. package/dist/serialization/resources/accounts/types/ListApiRequestsResponse.js +17 -7
  780. package/dist/serialization/resources/accounts/types/ListEnvironmentsParams.js +17 -7
  781. package/dist/serialization/resources/accounts/types/ListEnvironmentsResponse.js +17 -7
  782. package/dist/serialization/resources/accounts/types/QuickstartResponse.d.ts +14 -0
  783. package/dist/serialization/resources/accounts/types/QuickstartResponse.js +45 -0
  784. package/dist/serialization/resources/accounts/types/UpdateApiKeyResponse.js +17 -7
  785. package/dist/serialization/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.js +17 -7
  786. package/dist/serialization/resources/accounts/types/UpdateEnvironmentResponse.js +17 -7
  787. package/dist/serialization/resources/accounts/types/index.d.ts +1 -0
  788. package/dist/serialization/resources/accounts/types/index.js +1 -0
  789. package/dist/serialization/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +1 -0
  790. package/dist/serialization/resources/billing/client/requests/CreateBillingCustomerRequestBody.js +18 -7
  791. package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +11 -1
  792. package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.js +28 -8
  793. package/dist/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +1 -2
  794. package/dist/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.js +18 -9
  795. package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.d.ts +5 -1
  796. package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.js +22 -8
  797. package/dist/serialization/resources/billing/client/requests/CreateCouponRequestBody.js +17 -7
  798. package/dist/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.js +17 -7
  799. package/dist/serialization/resources/billing/client/requests/CreateMeterRequestBody.js +17 -7
  800. package/dist/serialization/resources/billing/client/requests/CreatePaymentMethodRequestBody.d.ts +0 -1
  801. package/dist/serialization/resources/billing/client/requests/CreatePaymentMethodRequestBody.js +17 -8
  802. package/dist/serialization/resources/billing/types/CountBillingProductsParams.d.ts +4 -1
  803. package/dist/serialization/resources/billing/types/CountBillingProductsParams.js +21 -8
  804. package/dist/serialization/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +10 -0
  805. package/dist/serialization/resources/billing/types/CountBillingProductsRequestPriceUsageType.js +41 -0
  806. package/dist/serialization/resources/billing/types/CountBillingProductsResponse.js +17 -7
  807. package/dist/serialization/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +10 -0
  808. package/dist/serialization/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.js +41 -0
  809. package/dist/serialization/resources/billing/types/CountCustomersParams.d.ts +1 -0
  810. package/dist/serialization/resources/billing/types/CountCustomersParams.js +18 -7
  811. package/dist/serialization/resources/billing/types/CountCustomersResponse.js +17 -7
  812. package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +10 -0
  813. package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.js +41 -0
  814. package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyTierMode.d.ts +10 -0
  815. package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyTierMode.js +41 -0
  816. package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +10 -0
  817. package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyUsageType.js +41 -0
  818. package/dist/serialization/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.d.ts +10 -0
  819. package/dist/serialization/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.js +41 -0
  820. package/dist/serialization/resources/billing/types/DeleteBillingProductResponse.d.ts +14 -0
  821. package/dist/serialization/resources/billing/types/DeleteBillingProductResponse.js +45 -0
  822. package/dist/serialization/resources/billing/types/DeleteProductPriceResponse.js +17 -7
  823. package/dist/serialization/resources/billing/types/ListBillingProductsParams.d.ts +4 -1
  824. package/dist/serialization/resources/billing/types/ListBillingProductsParams.js +21 -8
  825. package/dist/serialization/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +10 -0
  826. package/dist/serialization/resources/billing/types/ListBillingProductsRequestPriceUsageType.js +41 -0
  827. package/dist/serialization/resources/billing/types/ListBillingProductsResponse.js +17 -7
  828. package/dist/serialization/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +10 -0
  829. package/dist/serialization/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.js +41 -0
  830. package/dist/serialization/resources/billing/types/ListCouponsParams.d.ts +15 -0
  831. package/dist/serialization/resources/billing/types/ListCouponsParams.js +46 -0
  832. package/dist/serialization/resources/billing/types/ListCouponsResponse.d.ts +15 -0
  833. package/dist/serialization/resources/billing/types/ListCouponsResponse.js +46 -0
  834. package/dist/serialization/resources/billing/types/{ListCustomersParams.d.ts → ListCustomersWithSubscriptionsParams.d.ts} +3 -2
  835. package/dist/serialization/resources/billing/types/{ListCustomersParams.js → ListCustomersWithSubscriptionsParams.js} +20 -9
  836. package/{serialization/resources/billing/types/ListCustomersResponse.d.ts → dist/serialization/resources/billing/types/ListCustomersWithSubscriptionsResponse.d.ts} +4 -4
  837. package/dist/serialization/resources/billing/types/{ListCustomersResponse.js → ListCustomersWithSubscriptionsResponse.js} +21 -11
  838. package/dist/serialization/resources/billing/types/ListInvoicesParams.js +17 -7
  839. package/dist/serialization/resources/billing/types/ListInvoicesResponse.js +17 -7
  840. package/dist/serialization/resources/billing/types/ListMetersParams.js +17 -7
  841. package/dist/serialization/resources/billing/types/ListMetersResponse.js +17 -7
  842. package/dist/serialization/resources/billing/types/ListPaymentMethodsParams.d.ts +0 -1
  843. package/dist/serialization/resources/billing/types/ListPaymentMethodsParams.js +17 -8
  844. package/dist/serialization/resources/billing/types/ListPaymentMethodsResponse.js +17 -7
  845. package/dist/serialization/resources/billing/types/ListProductPricesParams.d.ts +4 -1
  846. package/dist/serialization/resources/billing/types/ListProductPricesParams.js +21 -8
  847. package/dist/serialization/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +10 -0
  848. package/dist/serialization/resources/billing/types/ListProductPricesRequestPriceUsageType.js +41 -0
  849. package/dist/serialization/resources/billing/types/ListProductPricesResponse.js +17 -7
  850. package/dist/serialization/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +10 -0
  851. package/dist/serialization/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.js +41 -0
  852. package/dist/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +3 -1
  853. package/dist/serialization/resources/billing/types/SearchBillingPricesParams.js +20 -8
  854. package/dist/serialization/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +10 -0
  855. package/dist/serialization/resources/billing/types/SearchBillingPricesRequestUsageType.js +41 -0
  856. package/dist/serialization/resources/billing/types/SearchBillingPricesResponse.js +17 -7
  857. package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +10 -0
  858. package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsUsageType.js +41 -0
  859. package/dist/serialization/resources/billing/types/UpsertBillingCouponResponse.js +17 -7
  860. package/dist/serialization/resources/billing/types/UpsertBillingCustomerResponse.js +17 -7
  861. package/dist/serialization/resources/billing/types/UpsertBillingMeterResponse.js +17 -7
  862. package/dist/serialization/resources/billing/types/UpsertBillingPriceResponse.js +17 -7
  863. package/dist/serialization/resources/billing/types/UpsertBillingProductResponse.js +17 -7
  864. package/dist/serialization/resources/billing/types/UpsertBillingSubscriptionResponse.js +17 -7
  865. package/dist/serialization/resources/billing/types/UpsertInvoiceResponse.js +17 -7
  866. package/dist/serialization/resources/billing/types/UpsertPaymentMethodResponse.js +17 -7
  867. package/dist/serialization/resources/billing/types/index.d.ts +17 -2
  868. package/dist/serialization/resources/billing/types/index.js +17 -2
  869. package/dist/serialization/resources/checkout/client/requests/CheckoutDataRequestBody.d.ts +13 -0
  870. package/dist/serialization/resources/checkout/client/requests/CheckoutDataRequestBody.js +44 -0
  871. package/dist/serialization/resources/checkout/client/requests/UpdateTrialEndRequestBody.js +17 -7
  872. package/dist/serialization/resources/checkout/client/requests/index.d.ts +1 -0
  873. package/dist/serialization/resources/checkout/client/requests/index.js +3 -1
  874. package/dist/serialization/resources/checkout/types/CheckoutInternalResponse.js +17 -7
  875. package/dist/serialization/resources/checkout/types/GetCheckoutDataResponse.js +17 -7
  876. package/dist/serialization/resources/checkout/types/PreviewCheckoutInternalResponse.js +17 -7
  877. package/dist/serialization/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.js +17 -7
  878. package/dist/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.js +17 -7
  879. package/dist/serialization/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.js +17 -7
  880. package/dist/serialization/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.js +17 -7
  881. package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +1 -0
  882. package/dist/serialization/resources/companies/types/CountCompaniesParams.js +18 -7
  883. package/dist/serialization/resources/companies/types/CountCompaniesResponse.js +17 -7
  884. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsParams.js +17 -7
  885. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.js +17 -7
  886. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponse.js +17 -7
  887. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.js +17 -7
  888. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.js +17 -7
  889. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.js +17 -7
  890. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.js +17 -7
  891. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponse.js +17 -7
  892. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.js +17 -7
  893. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.js +17 -7
  894. package/dist/serialization/resources/companies/types/CountUsersParams.js +17 -7
  895. package/dist/serialization/resources/companies/types/CountUsersResponse.js +17 -7
  896. package/dist/serialization/resources/companies/types/CreateCompanyResponse.js +17 -7
  897. package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.js +17 -7
  898. package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.js +17 -7
  899. package/dist/serialization/resources/companies/types/CreateUserResponse.js +17 -7
  900. package/dist/serialization/resources/companies/types/DeleteCompanyByKeysResponse.js +17 -7
  901. package/dist/serialization/resources/companies/types/DeleteCompanyMembershipResponse.js +17 -7
  902. package/dist/serialization/resources/companies/types/DeleteCompanyResponse.js +17 -7
  903. package/dist/serialization/resources/companies/types/DeleteUserByKeysResponse.js +17 -7
  904. package/dist/serialization/resources/companies/types/DeleteUserResponse.js +17 -7
  905. package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionParams.js +17 -7
  906. package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionResponse.js +17 -7
  907. package/dist/serialization/resources/companies/types/GetActiveDealsParams.js +17 -7
  908. package/dist/serialization/resources/companies/types/GetActiveDealsResponse.js +17 -7
  909. package/dist/serialization/resources/companies/types/GetCompanyResponse.js +17 -7
  910. package/dist/serialization/resources/companies/types/GetEntityTraitDefinitionResponse.js +17 -7
  911. package/dist/serialization/resources/companies/types/GetEntityTraitValuesParams.js +17 -7
  912. package/dist/serialization/resources/companies/types/GetEntityTraitValuesResponse.js +17 -7
  913. package/dist/serialization/resources/companies/types/GetOrCreateCompanyMembershipResponse.js +17 -7
  914. package/dist/serialization/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.js +17 -7
  915. package/dist/serialization/resources/companies/types/GetUserResponse.js +17 -7
  916. package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +1 -0
  917. package/dist/serialization/resources/companies/types/ListCompaniesParams.js +18 -7
  918. package/dist/serialization/resources/companies/types/ListCompaniesResponse.js +17 -7
  919. package/dist/serialization/resources/companies/types/ListCompanyMembershipsParams.js +17 -7
  920. package/dist/serialization/resources/companies/types/ListCompanyMembershipsResponse.js +17 -7
  921. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsParams.js +17 -7
  922. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.js +17 -7
  923. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponse.js +17 -7
  924. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.js +17 -7
  925. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.js +17 -7
  926. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.js +17 -7
  927. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.js +17 -7
  928. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponse.js +17 -7
  929. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.js +17 -7
  930. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.js +17 -7
  931. package/dist/serialization/resources/companies/types/ListUsersParams.js +17 -7
  932. package/dist/serialization/resources/companies/types/ListUsersResponse.js +17 -7
  933. package/dist/serialization/resources/companies/types/LookupCompanyParams.d.ts +1 -1
  934. package/dist/serialization/resources/companies/types/LookupCompanyParams.js +18 -8
  935. package/dist/serialization/resources/companies/types/LookupCompanyResponse.js +17 -7
  936. package/dist/serialization/resources/companies/types/LookupUserParams.d.ts +1 -1
  937. package/dist/serialization/resources/companies/types/LookupUserParams.js +18 -8
  938. package/dist/serialization/resources/companies/types/LookupUserResponse.js +17 -7
  939. package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.js +17 -7
  940. package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionResponse.js +17 -7
  941. package/dist/serialization/resources/companies/types/UpsertCompanyResponse.js +17 -7
  942. package/dist/serialization/resources/companies/types/UpsertCompanyTraitResponse.js +17 -7
  943. package/dist/serialization/resources/companies/types/UpsertUserResponse.js +17 -7
  944. package/dist/serialization/resources/companies/types/UpsertUserTraitResponse.js +17 -7
  945. package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.js +17 -7
  946. package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.js +17 -7
  947. package/dist/serialization/resources/components/types/CountComponentsParams.js +17 -7
  948. package/dist/serialization/resources/components/types/CountComponentsResponse.js +17 -7
  949. package/dist/serialization/resources/components/types/CreateComponentRequestBodyEntityType.js +17 -7
  950. package/dist/serialization/resources/components/types/CreateComponentResponse.js +17 -7
  951. package/dist/serialization/resources/components/types/DeleteComponentResponse.js +17 -7
  952. package/dist/serialization/resources/components/types/GetComponentResponse.js +17 -7
  953. package/dist/serialization/resources/components/types/ListComponentsParams.js +17 -7
  954. package/dist/serialization/resources/components/types/ListComponentsResponse.js +17 -7
  955. package/dist/serialization/resources/components/types/PreviewComponentDataParams.js +17 -7
  956. package/dist/serialization/resources/components/types/PreviewComponentDataResponse.js +17 -7
  957. package/dist/serialization/resources/components/types/UpdateComponentRequestBodyEntityType.js +17 -7
  958. package/dist/serialization/resources/components/types/UpdateComponentRequestBodyState.js +17 -7
  959. package/dist/serialization/resources/components/types/UpdateComponentResponse.js +17 -7
  960. package/dist/serialization/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.js +17 -7
  961. package/dist/serialization/resources/crm/client/requests/CreateCrmDealRequestBody.js +17 -7
  962. package/dist/serialization/resources/crm/client/requests/CreateCrmLineItemRequestBody.js +17 -7
  963. package/dist/serialization/resources/crm/client/requests/CreateCrmProductRequestBody.js +17 -7
  964. package/dist/serialization/resources/crm/types/ListCrmProductsParams.js +17 -7
  965. package/dist/serialization/resources/crm/types/ListCrmProductsResponse.js +17 -7
  966. package/dist/serialization/resources/crm/types/UpsertCrmDealResponse.js +17 -7
  967. package/dist/serialization/resources/crm/types/UpsertCrmProductResponse.js +17 -7
  968. package/dist/serialization/resources/crm/types/UpsertDealLineItemAssociationResponse.js +17 -7
  969. package/dist/serialization/resources/crm/types/UpsertLineItemResponse.js +17 -7
  970. package/dist/serialization/resources/dataexports/client/index.d.ts +1 -0
  971. package/dist/serialization/resources/dataexports/client/index.js +17 -0
  972. package/dist/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +12 -0
  973. package/dist/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.js +43 -0
  974. package/dist/serialization/resources/dataexports/client/requests/index.d.ts +1 -0
  975. package/dist/serialization/resources/dataexports/client/requests/index.js +5 -0
  976. package/dist/serialization/resources/dataexports/index.d.ts +2 -0
  977. package/dist/serialization/resources/dataexports/index.js +18 -0
  978. package/dist/serialization/resources/dataexports/types/CreateDataExportResponse.d.ts +14 -0
  979. package/dist/serialization/resources/dataexports/types/CreateDataExportResponse.js +45 -0
  980. package/dist/serialization/resources/dataexports/types/index.d.ts +1 -0
  981. package/dist/serialization/resources/dataexports/types/index.js +17 -0
  982. package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +17 -7
  983. package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +7 -0
  984. package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +24 -7
  985. package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +17 -7
  986. package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +7 -0
  987. package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +24 -7
  988. package/dist/serialization/resources/entitlements/types/CountCompanyOverridesParams.js +17 -7
  989. package/dist/serialization/resources/entitlements/types/CountCompanyOverridesResponse.js +17 -7
  990. package/dist/serialization/resources/entitlements/types/CountFeatureCompaniesParams.js +17 -7
  991. package/dist/serialization/resources/entitlements/types/CountFeatureCompaniesResponse.js +17 -7
  992. package/dist/serialization/resources/entitlements/types/CountFeatureUsageParams.js +17 -7
  993. package/dist/serialization/resources/entitlements/types/CountFeatureUsageResponse.js +17 -7
  994. package/dist/serialization/resources/entitlements/types/CountFeatureUsersParams.js +17 -7
  995. package/dist/serialization/resources/entitlements/types/CountFeatureUsersResponse.js +17 -7
  996. package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsParams.js +17 -7
  997. package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsResponse.js +17 -7
  998. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.js +17 -7
  999. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +17 -7
  1000. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js +17 -7
  1001. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideResponse.js +17 -7
  1002. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.js +17 -7
  1003. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +17 -7
  1004. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js +17 -7
  1005. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementResponse.js +17 -7
  1006. package/dist/serialization/resources/entitlements/types/DeleteCompanyOverrideResponse.js +17 -7
  1007. package/dist/serialization/resources/entitlements/types/DeletePlanEntitlementResponse.js +17 -7
  1008. package/dist/serialization/resources/entitlements/types/GetCompanyOverrideResponse.js +17 -7
  1009. package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyParams.d.ts +1 -1
  1010. package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyParams.js +18 -8
  1011. package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyResponse.js +17 -7
  1012. package/dist/serialization/resources/entitlements/types/GetPlanEntitlementResponse.js +17 -7
  1013. package/dist/serialization/resources/entitlements/types/ListCompanyOverridesParams.js +17 -7
  1014. package/dist/serialization/resources/entitlements/types/ListCompanyOverridesResponse.js +17 -7
  1015. package/dist/serialization/resources/entitlements/types/ListFeatureCompaniesParams.js +17 -7
  1016. package/dist/serialization/resources/entitlements/types/ListFeatureCompaniesResponse.js +17 -7
  1017. package/dist/serialization/resources/entitlements/types/ListFeatureUsageParams.js +17 -7
  1018. package/dist/serialization/resources/entitlements/types/ListFeatureUsageResponse.js +17 -7
  1019. package/dist/serialization/resources/entitlements/types/ListFeatureUsersParams.js +17 -7
  1020. package/dist/serialization/resources/entitlements/types/ListFeatureUsersResponse.js +17 -7
  1021. package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsParams.js +17 -7
  1022. package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsResponse.js +17 -7
  1023. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.js +17 -7
  1024. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +17 -7
  1025. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js +17 -7
  1026. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideResponse.js +17 -7
  1027. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.js +17 -7
  1028. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +17 -7
  1029. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js +17 -7
  1030. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementResponse.js +17 -7
  1031. package/dist/serialization/resources/events/client/requests/CreateEventBatchRequestBody.js +17 -7
  1032. package/dist/serialization/resources/events/types/CreateEventBatchResponse.js +17 -7
  1033. package/dist/serialization/resources/events/types/CreateEventResponse.js +17 -7
  1034. package/dist/serialization/resources/events/types/GetEventResponse.js +17 -7
  1035. package/dist/serialization/resources/events/types/GetEventSummariesParams.js +17 -7
  1036. package/dist/serialization/resources/events/types/GetEventSummariesResponse.js +17 -7
  1037. package/dist/serialization/resources/events/types/GetSegmentIntegrationStatusResponse.js +17 -7
  1038. package/dist/serialization/resources/events/types/ListEventsParams.js +17 -7
  1039. package/dist/serialization/resources/events/types/ListEventsResponse.js +17 -7
  1040. package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +2 -0
  1041. package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.js +19 -7
  1042. package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +2 -0
  1043. package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.js +19 -7
  1044. package/dist/serialization/resources/features/client/requests/UpdateFlagRulesRequestBody.js +17 -7
  1045. package/dist/serialization/resources/features/types/CheckFlagResponse.js +17 -7
  1046. package/dist/serialization/resources/features/types/CheckFlagsResponse.js +17 -7
  1047. package/dist/serialization/resources/features/types/CountAudienceCompaniesResponse.js +17 -7
  1048. package/dist/serialization/resources/features/types/CountAudienceUsersResponse.js +17 -7
  1049. package/dist/serialization/resources/features/types/CountFeaturesParams.js +17 -7
  1050. package/dist/serialization/resources/features/types/CountFeaturesResponse.js +17 -7
  1051. package/dist/serialization/resources/features/types/CountFlagsParams.js +17 -7
  1052. package/dist/serialization/resources/features/types/CountFlagsResponse.js +17 -7
  1053. package/dist/serialization/resources/features/types/CreateFeatureRequestBodyFeatureType.js +17 -7
  1054. package/dist/serialization/resources/features/types/CreateFeatureResponse.js +17 -7
  1055. package/dist/serialization/resources/features/types/CreateFlagResponse.js +17 -7
  1056. package/dist/serialization/resources/features/types/DeleteFeatureResponse.js +17 -7
  1057. package/dist/serialization/resources/features/types/DeleteFlagResponse.js +17 -7
  1058. package/dist/serialization/resources/features/types/GetFeatureResponse.js +17 -7
  1059. package/dist/serialization/resources/features/types/GetFlagResponse.js +17 -7
  1060. package/dist/serialization/resources/features/types/ListAudienceCompaniesResponse.js +17 -7
  1061. package/dist/serialization/resources/features/types/ListAudienceUsersResponse.js +17 -7
  1062. package/dist/serialization/resources/features/types/ListFeaturesParams.js +17 -7
  1063. package/dist/serialization/resources/features/types/ListFeaturesResponse.js +17 -7
  1064. package/dist/serialization/resources/features/types/ListFlagsParams.js +17 -7
  1065. package/dist/serialization/resources/features/types/ListFlagsResponse.js +17 -7
  1066. package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyFeatureType.js +17 -7
  1067. package/dist/serialization/resources/features/types/UpdateFeatureResponse.js +17 -7
  1068. package/dist/serialization/resources/features/types/UpdateFlagResponse.js +17 -7
  1069. package/dist/serialization/resources/features/types/UpdateFlagRulesResponse.js +17 -7
  1070. package/dist/serialization/resources/index.d.ts +3 -0
  1071. package/dist/serialization/resources/index.js +21 -8
  1072. package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +5 -1
  1073. package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.js +22 -8
  1074. package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +5 -1
  1075. package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.js +22 -8
  1076. package/dist/serialization/resources/plangroups/types/CreatePlanGroupResponse.js +17 -7
  1077. package/dist/serialization/resources/plangroups/types/GetPlanGroupResponse.js +17 -7
  1078. package/dist/serialization/resources/plangroups/types/UpdatePlanGroupResponse.js +17 -7
  1079. package/dist/serialization/resources/plans/client/requests/CreatePlanRequestBody.js +17 -7
  1080. package/dist/serialization/resources/plans/client/requests/CreatePlanTraitRequestBody.d.ts +14 -0
  1081. package/dist/serialization/resources/plans/client/requests/CreatePlanTraitRequestBody.js +45 -0
  1082. package/dist/serialization/resources/plans/client/requests/UpdateAudienceRequestBody.js +17 -7
  1083. package/dist/serialization/resources/plans/client/requests/UpdateCompanyPlansRequestBody.js +17 -7
  1084. package/dist/serialization/resources/plans/client/requests/UpdatePlanRequestBody.js +17 -7
  1085. package/dist/serialization/resources/plans/client/requests/UpdatePlanTraitRequestBody.d.ts +13 -0
  1086. package/dist/serialization/resources/plans/client/requests/UpdatePlanTraitRequestBody.js +44 -0
  1087. package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +2 -0
  1088. package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.js +19 -7
  1089. package/dist/serialization/resources/plans/client/requests/index.d.ts +2 -0
  1090. package/dist/serialization/resources/plans/client/requests/index.js +5 -1
  1091. package/dist/serialization/resources/plans/types/CountPlanTraitsParams.d.ts +16 -0
  1092. package/dist/serialization/resources/plans/types/CountPlanTraitsParams.js +47 -0
  1093. package/dist/serialization/resources/plans/types/CountPlanTraitsResponse.d.ts +15 -0
  1094. package/dist/serialization/resources/plans/types/CountPlanTraitsResponse.js +46 -0
  1095. package/dist/serialization/resources/plans/types/CountPlansParams.js +17 -7
  1096. package/dist/serialization/resources/plans/types/CountPlansRequestPlanType.js +17 -7
  1097. package/dist/serialization/resources/plans/types/CountPlansResponse.js +17 -7
  1098. package/dist/serialization/resources/plans/types/CountPlansResponseParamsPlanType.js +17 -7
  1099. package/dist/serialization/resources/plans/types/CreatePlanRequestBodyPlanType.js +17 -7
  1100. package/dist/serialization/resources/plans/types/CreatePlanResponse.js +17 -7
  1101. package/dist/serialization/resources/plans/types/CreatePlanTraitResponse.d.ts +14 -0
  1102. package/dist/serialization/resources/plans/types/CreatePlanTraitResponse.js +45 -0
  1103. package/dist/serialization/resources/plans/types/DeleteAudienceResponse.js +17 -7
  1104. package/dist/serialization/resources/plans/types/DeletePlanResponse.js +17 -7
  1105. package/dist/serialization/resources/plans/types/DeletePlanTraitResponse.d.ts +14 -0
  1106. package/dist/serialization/resources/plans/types/DeletePlanTraitResponse.js +45 -0
  1107. package/dist/serialization/resources/plans/types/GetAudienceResponse.js +17 -7
  1108. package/dist/serialization/resources/plans/types/GetPlanResponse.js +17 -7
  1109. package/dist/serialization/resources/plans/types/GetPlanTraitResponse.d.ts +14 -0
  1110. package/dist/serialization/resources/plans/types/GetPlanTraitResponse.js +45 -0
  1111. package/dist/serialization/resources/plans/types/ListPlanTraitsParams.d.ts +16 -0
  1112. package/dist/serialization/resources/plans/types/ListPlanTraitsParams.js +47 -0
  1113. package/dist/serialization/resources/plans/types/ListPlanTraitsResponse.d.ts +15 -0
  1114. package/dist/serialization/resources/plans/types/ListPlanTraitsResponse.js +46 -0
  1115. package/dist/serialization/resources/plans/types/ListPlansParams.js +17 -7
  1116. package/dist/serialization/resources/plans/types/ListPlansRequestPlanType.js +17 -7
  1117. package/dist/serialization/resources/plans/types/ListPlansResponse.js +17 -7
  1118. package/dist/serialization/resources/plans/types/ListPlansResponseParamsPlanType.js +17 -7
  1119. package/dist/serialization/resources/plans/types/UpdateAudienceResponse.js +17 -7
  1120. package/dist/serialization/resources/plans/types/UpdateCompanyPlansResponse.js +17 -7
  1121. package/dist/serialization/resources/plans/types/UpdatePlanResponse.js +17 -7
  1122. package/dist/serialization/resources/plans/types/UpdatePlanTraitResponse.d.ts +14 -0
  1123. package/dist/serialization/resources/plans/types/UpdatePlanTraitResponse.js +45 -0
  1124. package/dist/serialization/resources/plans/types/UpsertBillingProductPlanResponse.js +17 -7
  1125. package/dist/serialization/resources/plans/types/index.d.ts +8 -0
  1126. package/dist/serialization/resources/plans/types/index.js +8 -0
  1127. package/dist/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +2 -0
  1128. package/dist/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.js +19 -7
  1129. package/dist/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +2 -0
  1130. package/dist/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.js +19 -7
  1131. package/dist/serialization/resources/webhooks/types/CountWebhookEventsParams.js +17 -7
  1132. package/dist/serialization/resources/webhooks/types/CountWebhookEventsResponse.js +17 -7
  1133. package/dist/serialization/resources/webhooks/types/CountWebhooksParams.js +17 -7
  1134. package/dist/serialization/resources/webhooks/types/CountWebhooksResponse.js +17 -7
  1135. package/dist/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +1 -1
  1136. package/dist/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +21 -7
  1137. package/dist/serialization/resources/webhooks/types/CreateWebhookResponse.js +17 -7
  1138. package/dist/serialization/resources/webhooks/types/DeleteWebhookResponse.js +17 -7
  1139. package/dist/serialization/resources/webhooks/types/GetWebhookEventResponse.js +17 -7
  1140. package/dist/serialization/resources/webhooks/types/GetWebhookResponse.js +17 -7
  1141. package/dist/serialization/resources/webhooks/types/ListWebhookEventsParams.js +17 -7
  1142. package/dist/serialization/resources/webhooks/types/ListWebhookEventsResponse.js +17 -7
  1143. package/dist/serialization/resources/webhooks/types/ListWebhooksParams.js +17 -7
  1144. package/dist/serialization/resources/webhooks/types/ListWebhooksResponse.js +17 -7
  1145. package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +1 -1
  1146. package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +21 -7
  1147. package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyStatus.js +17 -7
  1148. package/dist/serialization/resources/webhooks/types/UpdateWebhookResponse.js +17 -7
  1149. package/dist/serialization/types/ApiError.js +17 -7
  1150. package/dist/serialization/types/ApiKeyCreateResponseData.js +17 -7
  1151. package/dist/serialization/types/ApiKeyRequestListResponseData.js +17 -7
  1152. package/dist/serialization/types/ApiKeyRequestResponseData.js +17 -7
  1153. package/dist/serialization/types/ApiKeyResponseData.js +17 -7
  1154. package/dist/serialization/types/AudienceRequestBody.js +17 -7
  1155. package/dist/serialization/types/BillingCouponResponseData.js +17 -7
  1156. package/dist/serialization/types/BillingCustomerResponseData.js +17 -7
  1157. package/dist/serialization/types/BillingCustomerSubscription.js +17 -7
  1158. package/dist/serialization/types/BillingCustomerWithSubscriptionsResponseData.js +17 -7
  1159. package/dist/serialization/types/BillingMeterResponseData.js +17 -7
  1160. package/dist/serialization/types/BillingPriceResponseData.d.ts +2 -0
  1161. package/dist/serialization/types/BillingPriceResponseData.js +19 -7
  1162. package/dist/serialization/types/BillingPriceView.d.ts +7 -0
  1163. package/dist/serialization/types/BillingPriceView.js +24 -7
  1164. package/dist/serialization/types/BillingProductDetailResponseData.d.ts +3 -0
  1165. package/dist/serialization/types/BillingProductDetailResponseData.js +20 -7
  1166. package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +5 -0
  1167. package/dist/serialization/types/BillingProductForSubscriptionResponseData.js +22 -7
  1168. package/dist/serialization/types/BillingProductPlanResponseData.d.ts +2 -0
  1169. package/dist/serialization/types/BillingProductPlanResponseData.js +19 -7
  1170. package/dist/serialization/types/BillingProductPriceResponseData.d.ts +3 -0
  1171. package/dist/serialization/types/BillingProductPriceResponseData.js +20 -7
  1172. package/dist/serialization/types/BillingProductPriceTierResponseData.d.ts +15 -0
  1173. package/dist/serialization/types/BillingProductPriceTierResponseData.js +46 -0
  1174. package/dist/serialization/types/BillingProductPricing.d.ts +4 -1
  1175. package/dist/serialization/types/BillingProductPricing.js +21 -8
  1176. package/dist/serialization/types/BillingProductPricingUsageType.d.ts +10 -0
  1177. package/dist/serialization/types/BillingProductPricingUsageType.js +41 -0
  1178. package/dist/serialization/types/BillingProductResponseData.d.ts +2 -0
  1179. package/dist/serialization/types/BillingProductResponseData.js +19 -7
  1180. package/dist/serialization/types/BillingSubscriptionDiscount.js +17 -7
  1181. package/dist/serialization/types/BillingSubscriptionDiscountView.js +17 -7
  1182. package/dist/serialization/types/BillingSubscriptionResponseData.d.ts +3 -0
  1183. package/dist/serialization/types/BillingSubscriptionResponseData.js +20 -7
  1184. package/dist/serialization/types/BillingSubscriptionView.d.ts +3 -0
  1185. package/dist/serialization/types/BillingSubscriptionView.js +20 -7
  1186. package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +1 -0
  1187. package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.js +18 -7
  1188. package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +1 -0
  1189. package/dist/serialization/types/ChangeSubscriptionRequestBody.js +18 -7
  1190. package/dist/serialization/types/CheckFlagRequestBody.js +17 -7
  1191. package/dist/serialization/types/CheckFlagResponseData.d.ts +1 -0
  1192. package/dist/serialization/types/CheckFlagResponseData.js +18 -7
  1193. package/dist/serialization/types/CheckFlagsResponseData.js +17 -7
  1194. package/dist/serialization/types/CheckoutDataResponseData.d.ts +2 -0
  1195. package/dist/serialization/types/CheckoutDataResponseData.js +19 -7
  1196. package/dist/serialization/types/CompanyCrmDealsResponseData.js +17 -7
  1197. package/dist/serialization/types/CompanyDetailResponseData.d.ts +3 -0
  1198. package/dist/serialization/types/CompanyDetailResponseData.js +20 -7
  1199. package/dist/serialization/types/CompanyEventPeriodMetricsResponseData.js +17 -7
  1200. package/dist/serialization/types/CompanyMembershipDetailResponseData.js +17 -7
  1201. package/dist/serialization/types/CompanyMembershipResponseData.js +17 -7
  1202. package/dist/serialization/types/CompanyOverrideResponseData.js +17 -7
  1203. package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +6 -0
  1204. package/dist/serialization/types/CompanyPlanDetailResponseData.js +23 -7
  1205. package/dist/serialization/types/CompanyPlanWithBillingSubView.d.ts +2 -0
  1206. package/dist/serialization/types/CompanyPlanWithBillingSubView.js +19 -7
  1207. package/dist/serialization/types/CompanyResponseData.js +17 -7
  1208. package/dist/serialization/types/CompanySubscriptionResponseData.d.ts +2 -0
  1209. package/dist/serialization/types/CompanySubscriptionResponseData.js +19 -7
  1210. package/dist/serialization/types/ComponentCapabilities.d.ts +1 -0
  1211. package/dist/serialization/types/ComponentCapabilities.js +18 -7
  1212. package/dist/serialization/types/ComponentHydrateResponseData.js +17 -7
  1213. package/dist/serialization/types/ComponentPreviewResponseData.js +17 -7
  1214. package/dist/serialization/types/ComponentResponseData.js +17 -7
  1215. package/dist/serialization/types/CountResponse.js +17 -7
  1216. package/dist/serialization/types/CouponRequestBody.js +17 -7
  1217. package/dist/serialization/types/CreateBillingPriceTierRequestBody.d.ts +16 -0
  1218. package/dist/serialization/types/CreateBillingPriceTierRequestBody.js +47 -0
  1219. package/dist/serialization/types/CreateEntitlementReqCommon.js +17 -7
  1220. package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriod.js +17 -7
  1221. package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriodMonthReset.js +17 -7
  1222. package/dist/serialization/types/CreateEntitlementReqCommonValueType.js +17 -7
  1223. package/dist/serialization/types/CreateEventRequestBody.js +17 -7
  1224. package/dist/serialization/types/CreateEventRequestBodyEventType.js +17 -7
  1225. package/dist/serialization/types/CreateFlagRequestBody.js +17 -7
  1226. package/dist/serialization/types/CreateOrUpdateConditionGroupRequestBody.js +17 -7
  1227. package/dist/serialization/types/CreateOrUpdateConditionRequestBody.js +17 -7
  1228. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.js +17 -7
  1229. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.js +17 -7
  1230. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.js +17 -7
  1231. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyOperator.js +17 -7
  1232. package/dist/serialization/types/CreateOrUpdateFlagRequestBody.js +17 -7
  1233. package/dist/serialization/types/CreateOrUpdateRuleRequestBody.js +17 -7
  1234. package/dist/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.js +17 -7
  1235. package/dist/serialization/types/CrmDealLineItem.js +17 -7
  1236. package/dist/serialization/types/CrmDealResponseData.js +17 -7
  1237. package/dist/serialization/types/CrmLineItemResponseData.js +17 -7
  1238. package/dist/serialization/types/CrmProductResponseData.js +17 -7
  1239. package/dist/serialization/types/CustomPlanConfig.d.ts +14 -0
  1240. package/dist/serialization/types/CustomPlanConfig.js +45 -0
  1241. package/dist/serialization/types/CustomPlanViewConfigResponseData.d.ts +14 -0
  1242. package/dist/serialization/types/CustomPlanViewConfigResponseData.js +45 -0
  1243. package/dist/serialization/types/DataExportResponseData.d.ts +20 -0
  1244. package/dist/serialization/types/DataExportResponseData.js +51 -0
  1245. package/dist/serialization/types/Decimal.js +17 -7
  1246. package/dist/serialization/types/DeleteResponse.js +17 -7
  1247. package/dist/serialization/types/EntitlementTriggerConfig.d.ts +12 -0
  1248. package/dist/serialization/types/EntitlementTriggerConfig.js +43 -0
  1249. package/dist/serialization/types/EntitlementsInPlan.d.ts +13 -0
  1250. package/dist/serialization/types/EntitlementsInPlan.js +44 -0
  1251. package/dist/serialization/types/EntityKeyDefinitionResponseData.js +17 -7
  1252. package/dist/serialization/types/EntityKeyDetailResponseData.js +17 -7
  1253. package/dist/serialization/types/EntityKeyResponseData.js +17 -7
  1254. package/dist/serialization/types/EntityTraitDefinitionResponseData.js +17 -7
  1255. package/dist/serialization/types/EntityTraitDetailResponseData.js +17 -7
  1256. package/dist/serialization/types/EntityTraitResponseData.js +17 -7
  1257. package/dist/serialization/types/EntityTraitValue.js +17 -7
  1258. package/dist/serialization/types/EnvironmentDetailResponseData.js +17 -7
  1259. package/dist/serialization/types/EnvironmentResponseData.js +17 -7
  1260. package/dist/serialization/types/EventBody.js +17 -7
  1261. package/dist/serialization/types/EventBodyFlagCheck.js +17 -7
  1262. package/dist/serialization/types/EventBodyIdentify.js +17 -7
  1263. package/dist/serialization/types/EventBodyIdentifyCompany.js +17 -7
  1264. package/dist/serialization/types/EventBodyTrack.js +17 -7
  1265. package/dist/serialization/types/EventDetailResponseData.js +17 -7
  1266. package/dist/serialization/types/EventResponseData.js +17 -7
  1267. package/dist/serialization/types/EventSummaryResponseData.d.ts +2 -2
  1268. package/dist/serialization/types/EventSummaryResponseData.js +19 -9
  1269. package/dist/serialization/types/FeatureCompanyResponseData.js +17 -7
  1270. package/dist/serialization/types/FeatureCompanyResponseDataAllocationType.js +17 -7
  1271. package/dist/serialization/types/FeatureCompanyUserResponseData.js +17 -7
  1272. package/dist/serialization/types/FeatureCompanyUserResponseDataAllocationType.js +17 -7
  1273. package/dist/serialization/types/FeatureDetailResponseData.d.ts +2 -0
  1274. package/dist/serialization/types/FeatureDetailResponseData.js +19 -7
  1275. package/dist/serialization/types/FeatureResponseData.d.ts +2 -0
  1276. package/dist/serialization/types/FeatureResponseData.js +19 -7
  1277. package/dist/serialization/types/FeatureUsageDetailResponseData.js +17 -7
  1278. package/dist/serialization/types/FeatureUsageResponseData.d.ts +1 -0
  1279. package/dist/serialization/types/FeatureUsageResponseData.js +18 -7
  1280. package/dist/serialization/types/FeatureUsageResponseDataAllocationType.js +17 -7
  1281. package/dist/serialization/types/FlagDetailResponseData.js +17 -7
  1282. package/dist/serialization/types/FlagResponseData.js +17 -7
  1283. package/dist/serialization/types/GenericPreviewObject.js +17 -7
  1284. package/dist/serialization/types/InvoiceRequestBody.js +17 -7
  1285. package/dist/serialization/types/InvoiceResponseData.js +17 -7
  1286. package/dist/serialization/types/IssueTemporaryAccessTokenResponseData.js +17 -7
  1287. package/dist/serialization/types/KeysRequestBody.js +17 -7
  1288. package/dist/serialization/types/MeterRequestBody.js +17 -7
  1289. package/dist/serialization/types/OrderedPlansInGroup.d.ts +14 -0
  1290. package/dist/serialization/types/OrderedPlansInGroup.js +45 -0
  1291. package/dist/serialization/types/PaginationFilter.js +17 -7
  1292. package/dist/serialization/types/PaymentMethodRequestBody.d.ts +0 -1
  1293. package/dist/serialization/types/PaymentMethodRequestBody.js +17 -8
  1294. package/dist/serialization/types/PaymentMethodResponseData.d.ts +0 -1
  1295. package/dist/serialization/types/PaymentMethodResponseData.js +17 -8
  1296. package/dist/serialization/types/PlanAudienceDetailResponseData.js +17 -7
  1297. package/dist/serialization/types/PlanAudienceResponseData.js +17 -7
  1298. package/dist/serialization/types/PlanDetailResponseData.d.ts +2 -0
  1299. package/dist/serialization/types/PlanDetailResponseData.js +19 -7
  1300. package/dist/serialization/types/PlanEntitlementResponseData.d.ts +3 -0
  1301. package/dist/serialization/types/PlanEntitlementResponseData.js +20 -7
  1302. package/dist/serialization/types/PlanEntitlementsOrder.d.ts +13 -0
  1303. package/dist/serialization/types/PlanEntitlementsOrder.js +44 -0
  1304. package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +5 -0
  1305. package/dist/serialization/types/PlanGroupDetailResponseData.js +22 -7
  1306. package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +5 -0
  1307. package/dist/serialization/types/PlanGroupPlanDetailResponseData.js +22 -7
  1308. package/dist/serialization/types/PlanGroupPlanEntitlementsOrder.d.ts +14 -0
  1309. package/dist/serialization/types/PlanGroupPlanEntitlementsOrder.js +45 -0
  1310. package/dist/serialization/types/PlanGroupResponseData.d.ts +2 -1
  1311. package/dist/serialization/types/PlanGroupResponseData.js +19 -8
  1312. package/dist/serialization/types/PlanResponseData.js +17 -7
  1313. package/dist/serialization/types/PlanTraitResponseData.d.ts +19 -0
  1314. package/dist/serialization/types/PlanTraitResponseData.js +50 -0
  1315. package/dist/serialization/types/PreviewObject.js +17 -7
  1316. package/dist/serialization/types/PreviewObjectResponseData.js +17 -7
  1317. package/dist/serialization/types/PreviewSubscriptionChangeResponseData.d.ts +4 -0
  1318. package/dist/serialization/types/PreviewSubscriptionChangeResponseData.js +21 -7
  1319. package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +21 -0
  1320. package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.js +52 -0
  1321. package/dist/serialization/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +16 -0
  1322. package/dist/serialization/types/PreviewSubscriptionUpcomingInvoiceLineItems.js +47 -0
  1323. package/dist/serialization/types/QuickstartResp.d.ts +12 -0
  1324. package/dist/serialization/types/QuickstartResp.js +43 -0
  1325. package/dist/serialization/types/RawEventBatchResponseData.js +17 -7
  1326. package/dist/serialization/types/RawEventResponseData.js +17 -7
  1327. package/dist/serialization/types/RuleConditionDetailResponseData.js +17 -7
  1328. package/dist/serialization/types/RuleConditionGroupDetailResponseData.js +17 -7
  1329. package/dist/serialization/types/RuleConditionGroupResponseData.js +17 -7
  1330. package/dist/serialization/types/RuleConditionResponseData.js +17 -7
  1331. package/dist/serialization/types/RuleDetailResponseData.js +17 -7
  1332. package/dist/serialization/types/RuleResponseData.js +17 -7
  1333. package/dist/serialization/types/RulesDetailResponseData.js +17 -7
  1334. package/dist/serialization/types/SegmentStatusResp.js +17 -7
  1335. package/dist/serialization/types/StripeEmbedInfo.js +17 -7
  1336. package/dist/serialization/types/TemporaryAccessTokenResponseData.js +17 -7
  1337. package/dist/serialization/types/UpdateAddOnRequestBody.js +17 -7
  1338. package/dist/serialization/types/UpdateEntitlementReqCommon.js +17 -7
  1339. package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriod.js +17 -7
  1340. package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.js +17 -7
  1341. package/dist/serialization/types/UpdateEntitlementReqCommonValueType.js +17 -7
  1342. package/dist/serialization/types/UpdatePayInAdvanceRequestBody.js +17 -7
  1343. package/dist/serialization/types/UpdateRuleRequestBody.js +17 -7
  1344. package/dist/serialization/types/UpsertCompanyRequestBody.js +17 -7
  1345. package/dist/serialization/types/UpsertTraitRequestBody.js +17 -7
  1346. package/dist/serialization/types/UpsertUserRequestBody.d.ts +2 -0
  1347. package/dist/serialization/types/UpsertUserRequestBody.js +19 -7
  1348. package/dist/serialization/types/UpsertUserSubRequestBody.d.ts +1 -0
  1349. package/dist/serialization/types/UpsertUserSubRequestBody.js +18 -7
  1350. package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +7 -0
  1351. package/dist/serialization/types/UsageBasedEntitlementRequestBody.js +24 -7
  1352. package/dist/serialization/types/UsageBasedEntitlementResponseData.js +17 -7
  1353. package/dist/serialization/types/UserDetailResponseData.js +17 -7
  1354. package/dist/serialization/types/UserResponseData.js +17 -7
  1355. package/dist/serialization/types/WebhookEventDetailResponseData.js +17 -7
  1356. package/dist/serialization/types/WebhookEventResponseData.js +17 -7
  1357. package/dist/serialization/types/WebhookResponseData.d.ts +3 -0
  1358. package/dist/serialization/types/WebhookResponseData.js +20 -7
  1359. package/dist/serialization/types/index.d.ts +15 -0
  1360. package/dist/serialization/types/index.js +15 -0
  1361. package/dist/webhooks.d.ts +76 -0
  1362. package/dist/webhooks.js +170 -0
  1363. package/environments.d.ts +1 -1
  1364. package/errors/SchematicError.d.ts +4 -1
  1365. package/errors/SchematicError.js +6 -8
  1366. package/errors/SchematicTimeoutError.d.ts +1 -1
  1367. package/errors/SchematicTimeoutError.js +2 -2
  1368. package/events.d.ts +4 -0
  1369. package/events.js +41 -5
  1370. package/events.test.js +51 -4
  1371. package/index.d.ts +1 -0
  1372. package/index.js +26 -8
  1373. package/{jest.config.js → jest.config.mjs} +4 -1
  1374. package/package.json +18 -16
  1375. package/reference.md +532 -21
  1376. package/scripts/rename-to-esm-files.js +115 -0
  1377. package/scripts/webhook-test-server/README.md +24 -0
  1378. package/scripts/webhook-test-server/package-lock.json +196 -0
  1379. package/scripts/webhook-test-server/package.json +13 -0
  1380. package/scripts/webhook-test-server/webhook-test-server.ts +100 -0
  1381. package/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.js +17 -7
  1382. package/serialization/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.js +17 -7
  1383. package/serialization/resources/accounts/client/requests/CreateApiKeyRequestBody.js +17 -7
  1384. package/serialization/resources/accounts/client/requests/CreateEnvironmentRequestBody.js +17 -7
  1385. package/serialization/resources/accounts/client/requests/UpdateApiKeyRequestBody.js +17 -7
  1386. package/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.js +17 -7
  1387. package/serialization/resources/accounts/types/CountApiKeysParams.js +17 -7
  1388. package/serialization/resources/accounts/types/CountApiKeysResponse.js +17 -7
  1389. package/serialization/resources/accounts/types/CountApiRequestsParams.js +17 -7
  1390. package/serialization/resources/accounts/types/CountApiRequestsResponse.js +17 -7
  1391. package/serialization/resources/accounts/types/CreateApiKeyResponse.js +17 -7
  1392. package/serialization/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.js +17 -7
  1393. package/serialization/resources/accounts/types/CreateEnvironmentResponse.js +17 -7
  1394. package/serialization/resources/accounts/types/DeleteApiKeyResponse.js +17 -7
  1395. package/serialization/resources/accounts/types/DeleteEnvironmentResponse.js +17 -7
  1396. package/serialization/resources/accounts/types/GetApiKeyResponse.js +17 -7
  1397. package/serialization/resources/accounts/types/GetApiRequestResponse.js +17 -7
  1398. package/serialization/resources/accounts/types/GetEnvironmentResponse.js +17 -7
  1399. package/serialization/resources/accounts/types/ListApiKeysParams.js +17 -7
  1400. package/serialization/resources/accounts/types/ListApiKeysResponse.js +17 -7
  1401. package/serialization/resources/accounts/types/ListApiRequestsParams.js +17 -7
  1402. package/serialization/resources/accounts/types/ListApiRequestsResponse.js +17 -7
  1403. package/serialization/resources/accounts/types/ListEnvironmentsParams.js +17 -7
  1404. package/serialization/resources/accounts/types/ListEnvironmentsResponse.js +17 -7
  1405. package/serialization/resources/accounts/types/QuickstartResponse.d.ts +14 -0
  1406. package/serialization/resources/accounts/types/QuickstartResponse.js +45 -0
  1407. package/serialization/resources/accounts/types/UpdateApiKeyResponse.js +17 -7
  1408. package/serialization/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.js +17 -7
  1409. package/serialization/resources/accounts/types/UpdateEnvironmentResponse.js +17 -7
  1410. package/serialization/resources/accounts/types/index.d.ts +1 -0
  1411. package/serialization/resources/accounts/types/index.js +1 -0
  1412. package/serialization/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +1 -0
  1413. package/serialization/resources/billing/client/requests/CreateBillingCustomerRequestBody.js +18 -7
  1414. package/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +11 -1
  1415. package/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.js +28 -8
  1416. package/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +1 -2
  1417. package/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.js +18 -9
  1418. package/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.d.ts +5 -1
  1419. package/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.js +22 -8
  1420. package/serialization/resources/billing/client/requests/CreateCouponRequestBody.js +17 -7
  1421. package/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.js +17 -7
  1422. package/serialization/resources/billing/client/requests/CreateMeterRequestBody.js +17 -7
  1423. package/serialization/resources/billing/client/requests/CreatePaymentMethodRequestBody.d.ts +0 -1
  1424. package/serialization/resources/billing/client/requests/CreatePaymentMethodRequestBody.js +17 -8
  1425. package/serialization/resources/billing/types/CountBillingProductsParams.d.ts +4 -1
  1426. package/serialization/resources/billing/types/CountBillingProductsParams.js +21 -8
  1427. package/serialization/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +10 -0
  1428. package/serialization/resources/billing/types/CountBillingProductsRequestPriceUsageType.js +41 -0
  1429. package/serialization/resources/billing/types/CountBillingProductsResponse.js +17 -7
  1430. package/serialization/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +10 -0
  1431. package/serialization/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.js +41 -0
  1432. package/serialization/resources/billing/types/CountCustomersParams.d.ts +1 -0
  1433. package/serialization/resources/billing/types/CountCustomersParams.js +18 -7
  1434. package/serialization/resources/billing/types/CountCustomersResponse.js +17 -7
  1435. package/serialization/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +10 -0
  1436. package/serialization/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.js +41 -0
  1437. package/serialization/resources/billing/types/CreateBillingPriceRequestBodyTierMode.d.ts +10 -0
  1438. package/serialization/resources/billing/types/CreateBillingPriceRequestBodyTierMode.js +41 -0
  1439. package/serialization/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +10 -0
  1440. package/serialization/resources/billing/types/CreateBillingPriceRequestBodyUsageType.js +41 -0
  1441. package/serialization/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.d.ts +10 -0
  1442. package/serialization/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.js +41 -0
  1443. package/serialization/resources/billing/types/DeleteBillingProductResponse.d.ts +14 -0
  1444. package/serialization/resources/billing/types/DeleteBillingProductResponse.js +45 -0
  1445. package/serialization/resources/billing/types/DeleteProductPriceResponse.js +17 -7
  1446. package/serialization/resources/billing/types/ListBillingProductsParams.d.ts +4 -1
  1447. package/serialization/resources/billing/types/ListBillingProductsParams.js +21 -8
  1448. package/serialization/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +10 -0
  1449. package/serialization/resources/billing/types/ListBillingProductsRequestPriceUsageType.js +41 -0
  1450. package/serialization/resources/billing/types/ListBillingProductsResponse.js +17 -7
  1451. package/serialization/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +10 -0
  1452. package/serialization/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.js +41 -0
  1453. package/serialization/resources/billing/types/ListCouponsParams.d.ts +15 -0
  1454. package/serialization/resources/billing/types/ListCouponsParams.js +46 -0
  1455. package/serialization/resources/billing/types/ListCouponsResponse.d.ts +15 -0
  1456. package/serialization/resources/billing/types/ListCouponsResponse.js +46 -0
  1457. package/serialization/resources/billing/types/{ListCustomersParams.d.ts → ListCustomersWithSubscriptionsParams.d.ts} +3 -2
  1458. package/serialization/resources/billing/types/{ListCustomersParams.js → ListCustomersWithSubscriptionsParams.js} +20 -9
  1459. package/{dist/serialization/resources/billing/types/ListCustomersResponse.d.ts → serialization/resources/billing/types/ListCustomersWithSubscriptionsResponse.d.ts} +4 -4
  1460. package/serialization/resources/billing/types/{ListCustomersResponse.js → ListCustomersWithSubscriptionsResponse.js} +21 -11
  1461. package/serialization/resources/billing/types/ListInvoicesParams.js +17 -7
  1462. package/serialization/resources/billing/types/ListInvoicesResponse.js +17 -7
  1463. package/serialization/resources/billing/types/ListMetersParams.js +17 -7
  1464. package/serialization/resources/billing/types/ListMetersResponse.js +17 -7
  1465. package/serialization/resources/billing/types/ListPaymentMethodsParams.d.ts +0 -1
  1466. package/serialization/resources/billing/types/ListPaymentMethodsParams.js +17 -8
  1467. package/serialization/resources/billing/types/ListPaymentMethodsResponse.js +17 -7
  1468. package/serialization/resources/billing/types/ListProductPricesParams.d.ts +4 -1
  1469. package/serialization/resources/billing/types/ListProductPricesParams.js +21 -8
  1470. package/serialization/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +10 -0
  1471. package/serialization/resources/billing/types/ListProductPricesRequestPriceUsageType.js +41 -0
  1472. package/serialization/resources/billing/types/ListProductPricesResponse.js +17 -7
  1473. package/serialization/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +10 -0
  1474. package/serialization/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.js +41 -0
  1475. package/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +3 -1
  1476. package/serialization/resources/billing/types/SearchBillingPricesParams.js +20 -8
  1477. package/serialization/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +10 -0
  1478. package/serialization/resources/billing/types/SearchBillingPricesRequestUsageType.js +41 -0
  1479. package/serialization/resources/billing/types/SearchBillingPricesResponse.js +17 -7
  1480. package/serialization/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +10 -0
  1481. package/serialization/resources/billing/types/SearchBillingPricesResponseParamsUsageType.js +41 -0
  1482. package/serialization/resources/billing/types/UpsertBillingCouponResponse.js +17 -7
  1483. package/serialization/resources/billing/types/UpsertBillingCustomerResponse.js +17 -7
  1484. package/serialization/resources/billing/types/UpsertBillingMeterResponse.js +17 -7
  1485. package/serialization/resources/billing/types/UpsertBillingPriceResponse.js +17 -7
  1486. package/serialization/resources/billing/types/UpsertBillingProductResponse.js +17 -7
  1487. package/serialization/resources/billing/types/UpsertBillingSubscriptionResponse.js +17 -7
  1488. package/serialization/resources/billing/types/UpsertInvoiceResponse.js +17 -7
  1489. package/serialization/resources/billing/types/UpsertPaymentMethodResponse.js +17 -7
  1490. package/serialization/resources/billing/types/index.d.ts +17 -2
  1491. package/serialization/resources/billing/types/index.js +17 -2
  1492. package/serialization/resources/checkout/client/requests/CheckoutDataRequestBody.d.ts +13 -0
  1493. package/serialization/resources/checkout/client/requests/CheckoutDataRequestBody.js +44 -0
  1494. package/serialization/resources/checkout/client/requests/UpdateTrialEndRequestBody.js +17 -7
  1495. package/serialization/resources/checkout/client/requests/index.d.ts +1 -0
  1496. package/serialization/resources/checkout/client/requests/index.js +3 -1
  1497. package/serialization/resources/checkout/types/CheckoutInternalResponse.js +17 -7
  1498. package/serialization/resources/checkout/types/GetCheckoutDataResponse.js +17 -7
  1499. package/serialization/resources/checkout/types/PreviewCheckoutInternalResponse.js +17 -7
  1500. package/serialization/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.js +17 -7
  1501. package/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.js +17 -7
  1502. package/serialization/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.js +17 -7
  1503. package/serialization/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.js +17 -7
  1504. package/serialization/resources/companies/types/CountCompaniesParams.d.ts +1 -0
  1505. package/serialization/resources/companies/types/CountCompaniesParams.js +18 -7
  1506. package/serialization/resources/companies/types/CountCompaniesResponse.js +17 -7
  1507. package/serialization/resources/companies/types/CountEntityKeyDefinitionsParams.js +17 -7
  1508. package/serialization/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.js +17 -7
  1509. package/serialization/resources/companies/types/CountEntityKeyDefinitionsResponse.js +17 -7
  1510. package/serialization/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.js +17 -7
  1511. package/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.js +17 -7
  1512. package/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.js +17 -7
  1513. package/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.js +17 -7
  1514. package/serialization/resources/companies/types/CountEntityTraitDefinitionsResponse.js +17 -7
  1515. package/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.js +17 -7
  1516. package/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.js +17 -7
  1517. package/serialization/resources/companies/types/CountUsersParams.js +17 -7
  1518. package/serialization/resources/companies/types/CountUsersResponse.js +17 -7
  1519. package/serialization/resources/companies/types/CreateCompanyResponse.js +17 -7
  1520. package/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.js +17 -7
  1521. package/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.js +17 -7
  1522. package/serialization/resources/companies/types/CreateUserResponse.js +17 -7
  1523. package/serialization/resources/companies/types/DeleteCompanyByKeysResponse.js +17 -7
  1524. package/serialization/resources/companies/types/DeleteCompanyMembershipResponse.js +17 -7
  1525. package/serialization/resources/companies/types/DeleteCompanyResponse.js +17 -7
  1526. package/serialization/resources/companies/types/DeleteUserByKeysResponse.js +17 -7
  1527. package/serialization/resources/companies/types/DeleteUserResponse.js +17 -7
  1528. package/serialization/resources/companies/types/GetActiveCompanySubscriptionParams.js +17 -7
  1529. package/serialization/resources/companies/types/GetActiveCompanySubscriptionResponse.js +17 -7
  1530. package/serialization/resources/companies/types/GetActiveDealsParams.js +17 -7
  1531. package/serialization/resources/companies/types/GetActiveDealsResponse.js +17 -7
  1532. package/serialization/resources/companies/types/GetCompanyResponse.js +17 -7
  1533. package/serialization/resources/companies/types/GetEntityTraitDefinitionResponse.js +17 -7
  1534. package/serialization/resources/companies/types/GetEntityTraitValuesParams.js +17 -7
  1535. package/serialization/resources/companies/types/GetEntityTraitValuesResponse.js +17 -7
  1536. package/serialization/resources/companies/types/GetOrCreateCompanyMembershipResponse.js +17 -7
  1537. package/serialization/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.js +17 -7
  1538. package/serialization/resources/companies/types/GetUserResponse.js +17 -7
  1539. package/serialization/resources/companies/types/ListCompaniesParams.d.ts +1 -0
  1540. package/serialization/resources/companies/types/ListCompaniesParams.js +18 -7
  1541. package/serialization/resources/companies/types/ListCompaniesResponse.js +17 -7
  1542. package/serialization/resources/companies/types/ListCompanyMembershipsParams.js +17 -7
  1543. package/serialization/resources/companies/types/ListCompanyMembershipsResponse.js +17 -7
  1544. package/serialization/resources/companies/types/ListEntityKeyDefinitionsParams.js +17 -7
  1545. package/serialization/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.js +17 -7
  1546. package/serialization/resources/companies/types/ListEntityKeyDefinitionsResponse.js +17 -7
  1547. package/serialization/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.js +17 -7
  1548. package/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.js +17 -7
  1549. package/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.js +17 -7
  1550. package/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.js +17 -7
  1551. package/serialization/resources/companies/types/ListEntityTraitDefinitionsResponse.js +17 -7
  1552. package/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.js +17 -7
  1553. package/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.js +17 -7
  1554. package/serialization/resources/companies/types/ListUsersParams.js +17 -7
  1555. package/serialization/resources/companies/types/ListUsersResponse.js +17 -7
  1556. package/serialization/resources/companies/types/LookupCompanyParams.d.ts +1 -1
  1557. package/serialization/resources/companies/types/LookupCompanyParams.js +18 -8
  1558. package/serialization/resources/companies/types/LookupCompanyResponse.js +17 -7
  1559. package/serialization/resources/companies/types/LookupUserParams.d.ts +1 -1
  1560. package/serialization/resources/companies/types/LookupUserParams.js +18 -8
  1561. package/serialization/resources/companies/types/LookupUserResponse.js +17 -7
  1562. package/serialization/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.js +17 -7
  1563. package/serialization/resources/companies/types/UpdateEntityTraitDefinitionResponse.js +17 -7
  1564. package/serialization/resources/companies/types/UpsertCompanyResponse.js +17 -7
  1565. package/serialization/resources/companies/types/UpsertCompanyTraitResponse.js +17 -7
  1566. package/serialization/resources/companies/types/UpsertUserResponse.js +17 -7
  1567. package/serialization/resources/companies/types/UpsertUserTraitResponse.js +17 -7
  1568. package/serialization/resources/components/client/requests/CreateComponentRequestBody.js +17 -7
  1569. package/serialization/resources/components/client/requests/UpdateComponentRequestBody.js +17 -7
  1570. package/serialization/resources/components/types/CountComponentsParams.js +17 -7
  1571. package/serialization/resources/components/types/CountComponentsResponse.js +17 -7
  1572. package/serialization/resources/components/types/CreateComponentRequestBodyEntityType.js +17 -7
  1573. package/serialization/resources/components/types/CreateComponentResponse.js +17 -7
  1574. package/serialization/resources/components/types/DeleteComponentResponse.js +17 -7
  1575. package/serialization/resources/components/types/GetComponentResponse.js +17 -7
  1576. package/serialization/resources/components/types/ListComponentsParams.js +17 -7
  1577. package/serialization/resources/components/types/ListComponentsResponse.js +17 -7
  1578. package/serialization/resources/components/types/PreviewComponentDataParams.js +17 -7
  1579. package/serialization/resources/components/types/PreviewComponentDataResponse.js +17 -7
  1580. package/serialization/resources/components/types/UpdateComponentRequestBodyEntityType.js +17 -7
  1581. package/serialization/resources/components/types/UpdateComponentRequestBodyState.js +17 -7
  1582. package/serialization/resources/components/types/UpdateComponentResponse.js +17 -7
  1583. package/serialization/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.js +17 -7
  1584. package/serialization/resources/crm/client/requests/CreateCrmDealRequestBody.js +17 -7
  1585. package/serialization/resources/crm/client/requests/CreateCrmLineItemRequestBody.js +17 -7
  1586. package/serialization/resources/crm/client/requests/CreateCrmProductRequestBody.js +17 -7
  1587. package/serialization/resources/crm/types/ListCrmProductsParams.js +17 -7
  1588. package/serialization/resources/crm/types/ListCrmProductsResponse.js +17 -7
  1589. package/serialization/resources/crm/types/UpsertCrmDealResponse.js +17 -7
  1590. package/serialization/resources/crm/types/UpsertCrmProductResponse.js +17 -7
  1591. package/serialization/resources/crm/types/UpsertDealLineItemAssociationResponse.js +17 -7
  1592. package/serialization/resources/crm/types/UpsertLineItemResponse.js +17 -7
  1593. package/serialization/resources/dataexports/client/index.d.ts +1 -0
  1594. package/serialization/resources/dataexports/client/index.js +17 -0
  1595. package/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +12 -0
  1596. package/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.js +43 -0
  1597. package/serialization/resources/dataexports/client/requests/index.d.ts +1 -0
  1598. package/serialization/resources/dataexports/client/requests/index.js +5 -0
  1599. package/serialization/resources/dataexports/index.d.ts +2 -0
  1600. package/serialization/resources/dataexports/index.js +18 -0
  1601. package/serialization/resources/dataexports/types/CreateDataExportResponse.d.ts +14 -0
  1602. package/serialization/resources/dataexports/types/CreateDataExportResponse.js +45 -0
  1603. package/serialization/resources/dataexports/types/index.d.ts +1 -0
  1604. package/serialization/resources/dataexports/types/index.js +17 -0
  1605. package/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +17 -7
  1606. package/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +7 -0
  1607. package/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +24 -7
  1608. package/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +17 -7
  1609. package/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +7 -0
  1610. package/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +24 -7
  1611. package/serialization/resources/entitlements/types/CountCompanyOverridesParams.js +17 -7
  1612. package/serialization/resources/entitlements/types/CountCompanyOverridesResponse.js +17 -7
  1613. package/serialization/resources/entitlements/types/CountFeatureCompaniesParams.js +17 -7
  1614. package/serialization/resources/entitlements/types/CountFeatureCompaniesResponse.js +17 -7
  1615. package/serialization/resources/entitlements/types/CountFeatureUsageParams.js +17 -7
  1616. package/serialization/resources/entitlements/types/CountFeatureUsageResponse.js +17 -7
  1617. package/serialization/resources/entitlements/types/CountFeatureUsersParams.js +17 -7
  1618. package/serialization/resources/entitlements/types/CountFeatureUsersResponse.js +17 -7
  1619. package/serialization/resources/entitlements/types/CountPlanEntitlementsParams.js +17 -7
  1620. package/serialization/resources/entitlements/types/CountPlanEntitlementsResponse.js +17 -7
  1621. package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.js +17 -7
  1622. package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +17 -7
  1623. package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js +17 -7
  1624. package/serialization/resources/entitlements/types/CreateCompanyOverrideResponse.js +17 -7
  1625. package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.js +17 -7
  1626. package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +17 -7
  1627. package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js +17 -7
  1628. package/serialization/resources/entitlements/types/CreatePlanEntitlementResponse.js +17 -7
  1629. package/serialization/resources/entitlements/types/DeleteCompanyOverrideResponse.js +17 -7
  1630. package/serialization/resources/entitlements/types/DeletePlanEntitlementResponse.js +17 -7
  1631. package/serialization/resources/entitlements/types/GetCompanyOverrideResponse.js +17 -7
  1632. package/serialization/resources/entitlements/types/GetFeatureUsageByCompanyParams.d.ts +1 -1
  1633. package/serialization/resources/entitlements/types/GetFeatureUsageByCompanyParams.js +18 -8
  1634. package/serialization/resources/entitlements/types/GetFeatureUsageByCompanyResponse.js +17 -7
  1635. package/serialization/resources/entitlements/types/GetPlanEntitlementResponse.js +17 -7
  1636. package/serialization/resources/entitlements/types/ListCompanyOverridesParams.js +17 -7
  1637. package/serialization/resources/entitlements/types/ListCompanyOverridesResponse.js +17 -7
  1638. package/serialization/resources/entitlements/types/ListFeatureCompaniesParams.js +17 -7
  1639. package/serialization/resources/entitlements/types/ListFeatureCompaniesResponse.js +17 -7
  1640. package/serialization/resources/entitlements/types/ListFeatureUsageParams.js +17 -7
  1641. package/serialization/resources/entitlements/types/ListFeatureUsageResponse.js +17 -7
  1642. package/serialization/resources/entitlements/types/ListFeatureUsersParams.js +17 -7
  1643. package/serialization/resources/entitlements/types/ListFeatureUsersResponse.js +17 -7
  1644. package/serialization/resources/entitlements/types/ListPlanEntitlementsParams.js +17 -7
  1645. package/serialization/resources/entitlements/types/ListPlanEntitlementsResponse.js +17 -7
  1646. package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.js +17 -7
  1647. package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +17 -7
  1648. package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js +17 -7
  1649. package/serialization/resources/entitlements/types/UpdateCompanyOverrideResponse.js +17 -7
  1650. package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.js +17 -7
  1651. package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +17 -7
  1652. package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js +17 -7
  1653. package/serialization/resources/entitlements/types/UpdatePlanEntitlementResponse.js +17 -7
  1654. package/serialization/resources/events/client/requests/CreateEventBatchRequestBody.js +17 -7
  1655. package/serialization/resources/events/types/CreateEventBatchResponse.js +17 -7
  1656. package/serialization/resources/events/types/CreateEventResponse.js +17 -7
  1657. package/serialization/resources/events/types/GetEventResponse.js +17 -7
  1658. package/serialization/resources/events/types/GetEventSummariesParams.js +17 -7
  1659. package/serialization/resources/events/types/GetEventSummariesResponse.js +17 -7
  1660. package/serialization/resources/events/types/GetSegmentIntegrationStatusResponse.js +17 -7
  1661. package/serialization/resources/events/types/ListEventsParams.js +17 -7
  1662. package/serialization/resources/events/types/ListEventsResponse.js +17 -7
  1663. package/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +2 -0
  1664. package/serialization/resources/features/client/requests/CreateFeatureRequestBody.js +19 -7
  1665. package/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +2 -0
  1666. package/serialization/resources/features/client/requests/UpdateFeatureRequestBody.js +19 -7
  1667. package/serialization/resources/features/client/requests/UpdateFlagRulesRequestBody.js +17 -7
  1668. package/serialization/resources/features/types/CheckFlagResponse.js +17 -7
  1669. package/serialization/resources/features/types/CheckFlagsResponse.js +17 -7
  1670. package/serialization/resources/features/types/CountAudienceCompaniesResponse.js +17 -7
  1671. package/serialization/resources/features/types/CountAudienceUsersResponse.js +17 -7
  1672. package/serialization/resources/features/types/CountFeaturesParams.js +17 -7
  1673. package/serialization/resources/features/types/CountFeaturesResponse.js +17 -7
  1674. package/serialization/resources/features/types/CountFlagsParams.js +17 -7
  1675. package/serialization/resources/features/types/CountFlagsResponse.js +17 -7
  1676. package/serialization/resources/features/types/CreateFeatureRequestBodyFeatureType.js +17 -7
  1677. package/serialization/resources/features/types/CreateFeatureResponse.js +17 -7
  1678. package/serialization/resources/features/types/CreateFlagResponse.js +17 -7
  1679. package/serialization/resources/features/types/DeleteFeatureResponse.js +17 -7
  1680. package/serialization/resources/features/types/DeleteFlagResponse.js +17 -7
  1681. package/serialization/resources/features/types/GetFeatureResponse.js +17 -7
  1682. package/serialization/resources/features/types/GetFlagResponse.js +17 -7
  1683. package/serialization/resources/features/types/ListAudienceCompaniesResponse.js +17 -7
  1684. package/serialization/resources/features/types/ListAudienceUsersResponse.js +17 -7
  1685. package/serialization/resources/features/types/ListFeaturesParams.js +17 -7
  1686. package/serialization/resources/features/types/ListFeaturesResponse.js +17 -7
  1687. package/serialization/resources/features/types/ListFlagsParams.js +17 -7
  1688. package/serialization/resources/features/types/ListFlagsResponse.js +17 -7
  1689. package/serialization/resources/features/types/UpdateFeatureRequestBodyFeatureType.js +17 -7
  1690. package/serialization/resources/features/types/UpdateFeatureResponse.js +17 -7
  1691. package/serialization/resources/features/types/UpdateFlagResponse.js +17 -7
  1692. package/serialization/resources/features/types/UpdateFlagRulesResponse.js +17 -7
  1693. package/serialization/resources/index.d.ts +3 -0
  1694. package/serialization/resources/index.js +21 -8
  1695. package/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +5 -1
  1696. package/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.js +22 -8
  1697. package/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +5 -1
  1698. package/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.js +22 -8
  1699. package/serialization/resources/plangroups/types/CreatePlanGroupResponse.js +17 -7
  1700. package/serialization/resources/plangroups/types/GetPlanGroupResponse.js +17 -7
  1701. package/serialization/resources/plangroups/types/UpdatePlanGroupResponse.js +17 -7
  1702. package/serialization/resources/plans/client/requests/CreatePlanRequestBody.js +17 -7
  1703. package/serialization/resources/plans/client/requests/CreatePlanTraitRequestBody.d.ts +14 -0
  1704. package/serialization/resources/plans/client/requests/CreatePlanTraitRequestBody.js +45 -0
  1705. package/serialization/resources/plans/client/requests/UpdateAudienceRequestBody.js +17 -7
  1706. package/serialization/resources/plans/client/requests/UpdateCompanyPlansRequestBody.js +17 -7
  1707. package/serialization/resources/plans/client/requests/UpdatePlanRequestBody.js +17 -7
  1708. package/serialization/resources/plans/client/requests/UpdatePlanTraitRequestBody.d.ts +13 -0
  1709. package/serialization/resources/plans/client/requests/UpdatePlanTraitRequestBody.js +44 -0
  1710. package/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +2 -0
  1711. package/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.js +19 -7
  1712. package/serialization/resources/plans/client/requests/index.d.ts +2 -0
  1713. package/serialization/resources/plans/client/requests/index.js +5 -1
  1714. package/serialization/resources/plans/types/CountPlanTraitsParams.d.ts +16 -0
  1715. package/serialization/resources/plans/types/CountPlanTraitsParams.js +47 -0
  1716. package/serialization/resources/plans/types/CountPlanTraitsResponse.d.ts +15 -0
  1717. package/serialization/resources/plans/types/CountPlanTraitsResponse.js +46 -0
  1718. package/serialization/resources/plans/types/CountPlansParams.js +17 -7
  1719. package/serialization/resources/plans/types/CountPlansRequestPlanType.js +17 -7
  1720. package/serialization/resources/plans/types/CountPlansResponse.js +17 -7
  1721. package/serialization/resources/plans/types/CountPlansResponseParamsPlanType.js +17 -7
  1722. package/serialization/resources/plans/types/CreatePlanRequestBodyPlanType.js +17 -7
  1723. package/serialization/resources/plans/types/CreatePlanResponse.js +17 -7
  1724. package/serialization/resources/plans/types/CreatePlanTraitResponse.d.ts +14 -0
  1725. package/serialization/resources/plans/types/CreatePlanTraitResponse.js +45 -0
  1726. package/serialization/resources/plans/types/DeleteAudienceResponse.js +17 -7
  1727. package/serialization/resources/plans/types/DeletePlanResponse.js +17 -7
  1728. package/serialization/resources/plans/types/DeletePlanTraitResponse.d.ts +14 -0
  1729. package/serialization/resources/plans/types/DeletePlanTraitResponse.js +45 -0
  1730. package/serialization/resources/plans/types/GetAudienceResponse.js +17 -7
  1731. package/serialization/resources/plans/types/GetPlanResponse.js +17 -7
  1732. package/serialization/resources/plans/types/GetPlanTraitResponse.d.ts +14 -0
  1733. package/serialization/resources/plans/types/GetPlanTraitResponse.js +45 -0
  1734. package/serialization/resources/plans/types/ListPlanTraitsParams.d.ts +16 -0
  1735. package/serialization/resources/plans/types/ListPlanTraitsParams.js +47 -0
  1736. package/serialization/resources/plans/types/ListPlanTraitsResponse.d.ts +15 -0
  1737. package/serialization/resources/plans/types/ListPlanTraitsResponse.js +46 -0
  1738. package/serialization/resources/plans/types/ListPlansParams.js +17 -7
  1739. package/serialization/resources/plans/types/ListPlansRequestPlanType.js +17 -7
  1740. package/serialization/resources/plans/types/ListPlansResponse.js +17 -7
  1741. package/serialization/resources/plans/types/ListPlansResponseParamsPlanType.js +17 -7
  1742. package/serialization/resources/plans/types/UpdateAudienceResponse.js +17 -7
  1743. package/serialization/resources/plans/types/UpdateCompanyPlansResponse.js +17 -7
  1744. package/serialization/resources/plans/types/UpdatePlanResponse.js +17 -7
  1745. package/serialization/resources/plans/types/UpdatePlanTraitResponse.d.ts +14 -0
  1746. package/serialization/resources/plans/types/UpdatePlanTraitResponse.js +45 -0
  1747. package/serialization/resources/plans/types/UpsertBillingProductPlanResponse.js +17 -7
  1748. package/serialization/resources/plans/types/index.d.ts +8 -0
  1749. package/serialization/resources/plans/types/index.js +8 -0
  1750. package/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +2 -0
  1751. package/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.js +19 -7
  1752. package/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +2 -0
  1753. package/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.js +19 -7
  1754. package/serialization/resources/webhooks/types/CountWebhookEventsParams.js +17 -7
  1755. package/serialization/resources/webhooks/types/CountWebhookEventsResponse.js +17 -7
  1756. package/serialization/resources/webhooks/types/CountWebhooksParams.js +17 -7
  1757. package/serialization/resources/webhooks/types/CountWebhooksResponse.js +17 -7
  1758. package/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +1 -1
  1759. package/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +21 -7
  1760. package/serialization/resources/webhooks/types/CreateWebhookResponse.js +17 -7
  1761. package/serialization/resources/webhooks/types/DeleteWebhookResponse.js +17 -7
  1762. package/serialization/resources/webhooks/types/GetWebhookEventResponse.js +17 -7
  1763. package/serialization/resources/webhooks/types/GetWebhookResponse.js +17 -7
  1764. package/serialization/resources/webhooks/types/ListWebhookEventsParams.js +17 -7
  1765. package/serialization/resources/webhooks/types/ListWebhookEventsResponse.js +17 -7
  1766. package/serialization/resources/webhooks/types/ListWebhooksParams.js +17 -7
  1767. package/serialization/resources/webhooks/types/ListWebhooksResponse.js +17 -7
  1768. package/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +1 -1
  1769. package/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +21 -7
  1770. package/serialization/resources/webhooks/types/UpdateWebhookRequestBodyStatus.js +17 -7
  1771. package/serialization/resources/webhooks/types/UpdateWebhookResponse.js +17 -7
  1772. package/serialization/types/ApiError.js +17 -7
  1773. package/serialization/types/ApiKeyCreateResponseData.js +17 -7
  1774. package/serialization/types/ApiKeyRequestListResponseData.js +17 -7
  1775. package/serialization/types/ApiKeyRequestResponseData.js +17 -7
  1776. package/serialization/types/ApiKeyResponseData.js +17 -7
  1777. package/serialization/types/AudienceRequestBody.js +17 -7
  1778. package/serialization/types/BillingCouponResponseData.js +17 -7
  1779. package/serialization/types/BillingCustomerResponseData.js +17 -7
  1780. package/serialization/types/BillingCustomerSubscription.js +17 -7
  1781. package/serialization/types/BillingCustomerWithSubscriptionsResponseData.js +17 -7
  1782. package/serialization/types/BillingMeterResponseData.js +17 -7
  1783. package/serialization/types/BillingPriceResponseData.d.ts +2 -0
  1784. package/serialization/types/BillingPriceResponseData.js +19 -7
  1785. package/serialization/types/BillingPriceView.d.ts +7 -0
  1786. package/serialization/types/BillingPriceView.js +24 -7
  1787. package/serialization/types/BillingProductDetailResponseData.d.ts +3 -0
  1788. package/serialization/types/BillingProductDetailResponseData.js +20 -7
  1789. package/serialization/types/BillingProductForSubscriptionResponseData.d.ts +5 -0
  1790. package/serialization/types/BillingProductForSubscriptionResponseData.js +22 -7
  1791. package/serialization/types/BillingProductPlanResponseData.d.ts +2 -0
  1792. package/serialization/types/BillingProductPlanResponseData.js +19 -7
  1793. package/serialization/types/BillingProductPriceResponseData.d.ts +3 -0
  1794. package/serialization/types/BillingProductPriceResponseData.js +20 -7
  1795. package/serialization/types/BillingProductPriceTierResponseData.d.ts +15 -0
  1796. package/serialization/types/BillingProductPriceTierResponseData.js +46 -0
  1797. package/serialization/types/BillingProductPricing.d.ts +4 -1
  1798. package/serialization/types/BillingProductPricing.js +21 -8
  1799. package/serialization/types/BillingProductPricingUsageType.d.ts +10 -0
  1800. package/serialization/types/BillingProductPricingUsageType.js +41 -0
  1801. package/serialization/types/BillingProductResponseData.d.ts +2 -0
  1802. package/serialization/types/BillingProductResponseData.js +19 -7
  1803. package/serialization/types/BillingSubscriptionDiscount.js +17 -7
  1804. package/serialization/types/BillingSubscriptionDiscountView.js +17 -7
  1805. package/serialization/types/BillingSubscriptionResponseData.d.ts +3 -0
  1806. package/serialization/types/BillingSubscriptionResponseData.js +20 -7
  1807. package/serialization/types/BillingSubscriptionView.d.ts +3 -0
  1808. package/serialization/types/BillingSubscriptionView.js +20 -7
  1809. package/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +1 -0
  1810. package/serialization/types/ChangeSubscriptionInternalRequestBody.js +18 -7
  1811. package/serialization/types/ChangeSubscriptionRequestBody.d.ts +1 -0
  1812. package/serialization/types/ChangeSubscriptionRequestBody.js +18 -7
  1813. package/serialization/types/CheckFlagRequestBody.js +17 -7
  1814. package/serialization/types/CheckFlagResponseData.d.ts +1 -0
  1815. package/serialization/types/CheckFlagResponseData.js +18 -7
  1816. package/serialization/types/CheckFlagsResponseData.js +17 -7
  1817. package/serialization/types/CheckoutDataResponseData.d.ts +2 -0
  1818. package/serialization/types/CheckoutDataResponseData.js +19 -7
  1819. package/serialization/types/CompanyCrmDealsResponseData.js +17 -7
  1820. package/serialization/types/CompanyDetailResponseData.d.ts +3 -0
  1821. package/serialization/types/CompanyDetailResponseData.js +20 -7
  1822. package/serialization/types/CompanyEventPeriodMetricsResponseData.js +17 -7
  1823. package/serialization/types/CompanyMembershipDetailResponseData.js +17 -7
  1824. package/serialization/types/CompanyMembershipResponseData.js +17 -7
  1825. package/serialization/types/CompanyOverrideResponseData.js +17 -7
  1826. package/serialization/types/CompanyPlanDetailResponseData.d.ts +6 -0
  1827. package/serialization/types/CompanyPlanDetailResponseData.js +23 -7
  1828. package/serialization/types/CompanyPlanWithBillingSubView.d.ts +2 -0
  1829. package/serialization/types/CompanyPlanWithBillingSubView.js +19 -7
  1830. package/serialization/types/CompanyResponseData.js +17 -7
  1831. package/serialization/types/CompanySubscriptionResponseData.d.ts +2 -0
  1832. package/serialization/types/CompanySubscriptionResponseData.js +19 -7
  1833. package/serialization/types/ComponentCapabilities.d.ts +1 -0
  1834. package/serialization/types/ComponentCapabilities.js +18 -7
  1835. package/serialization/types/ComponentHydrateResponseData.js +17 -7
  1836. package/serialization/types/ComponentPreviewResponseData.js +17 -7
  1837. package/serialization/types/ComponentResponseData.js +17 -7
  1838. package/serialization/types/CountResponse.js +17 -7
  1839. package/serialization/types/CouponRequestBody.js +17 -7
  1840. package/serialization/types/CreateBillingPriceTierRequestBody.d.ts +16 -0
  1841. package/serialization/types/CreateBillingPriceTierRequestBody.js +47 -0
  1842. package/serialization/types/CreateEntitlementReqCommon.js +17 -7
  1843. package/serialization/types/CreateEntitlementReqCommonMetricPeriod.js +17 -7
  1844. package/serialization/types/CreateEntitlementReqCommonMetricPeriodMonthReset.js +17 -7
  1845. package/serialization/types/CreateEntitlementReqCommonValueType.js +17 -7
  1846. package/serialization/types/CreateEventRequestBody.js +17 -7
  1847. package/serialization/types/CreateEventRequestBodyEventType.js +17 -7
  1848. package/serialization/types/CreateFlagRequestBody.js +17 -7
  1849. package/serialization/types/CreateOrUpdateConditionGroupRequestBody.js +17 -7
  1850. package/serialization/types/CreateOrUpdateConditionRequestBody.js +17 -7
  1851. package/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.js +17 -7
  1852. package/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.js +17 -7
  1853. package/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.js +17 -7
  1854. package/serialization/types/CreateOrUpdateConditionRequestBodyOperator.js +17 -7
  1855. package/serialization/types/CreateOrUpdateFlagRequestBody.js +17 -7
  1856. package/serialization/types/CreateOrUpdateRuleRequestBody.js +17 -7
  1857. package/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.js +17 -7
  1858. package/serialization/types/CrmDealLineItem.js +17 -7
  1859. package/serialization/types/CrmDealResponseData.js +17 -7
  1860. package/serialization/types/CrmLineItemResponseData.js +17 -7
  1861. package/serialization/types/CrmProductResponseData.js +17 -7
  1862. package/serialization/types/CustomPlanConfig.d.ts +14 -0
  1863. package/serialization/types/CustomPlanConfig.js +45 -0
  1864. package/serialization/types/CustomPlanViewConfigResponseData.d.ts +14 -0
  1865. package/serialization/types/CustomPlanViewConfigResponseData.js +45 -0
  1866. package/serialization/types/DataExportResponseData.d.ts +20 -0
  1867. package/serialization/types/DataExportResponseData.js +51 -0
  1868. package/serialization/types/Decimal.js +17 -7
  1869. package/serialization/types/DeleteResponse.js +17 -7
  1870. package/serialization/types/EntitlementTriggerConfig.d.ts +12 -0
  1871. package/serialization/types/EntitlementTriggerConfig.js +43 -0
  1872. package/serialization/types/EntitlementsInPlan.d.ts +13 -0
  1873. package/serialization/types/EntitlementsInPlan.js +44 -0
  1874. package/serialization/types/EntityKeyDefinitionResponseData.js +17 -7
  1875. package/serialization/types/EntityKeyDetailResponseData.js +17 -7
  1876. package/serialization/types/EntityKeyResponseData.js +17 -7
  1877. package/serialization/types/EntityTraitDefinitionResponseData.js +17 -7
  1878. package/serialization/types/EntityTraitDetailResponseData.js +17 -7
  1879. package/serialization/types/EntityTraitResponseData.js +17 -7
  1880. package/serialization/types/EntityTraitValue.js +17 -7
  1881. package/serialization/types/EnvironmentDetailResponseData.js +17 -7
  1882. package/serialization/types/EnvironmentResponseData.js +17 -7
  1883. package/serialization/types/EventBody.js +17 -7
  1884. package/serialization/types/EventBodyFlagCheck.js +17 -7
  1885. package/serialization/types/EventBodyIdentify.js +17 -7
  1886. package/serialization/types/EventBodyIdentifyCompany.js +17 -7
  1887. package/serialization/types/EventBodyTrack.js +17 -7
  1888. package/serialization/types/EventDetailResponseData.js +17 -7
  1889. package/serialization/types/EventResponseData.js +17 -7
  1890. package/serialization/types/EventSummaryResponseData.d.ts +2 -2
  1891. package/serialization/types/EventSummaryResponseData.js +19 -9
  1892. package/serialization/types/FeatureCompanyResponseData.js +17 -7
  1893. package/serialization/types/FeatureCompanyResponseDataAllocationType.js +17 -7
  1894. package/serialization/types/FeatureCompanyUserResponseData.js +17 -7
  1895. package/serialization/types/FeatureCompanyUserResponseDataAllocationType.js +17 -7
  1896. package/serialization/types/FeatureDetailResponseData.d.ts +2 -0
  1897. package/serialization/types/FeatureDetailResponseData.js +19 -7
  1898. package/serialization/types/FeatureResponseData.d.ts +2 -0
  1899. package/serialization/types/FeatureResponseData.js +19 -7
  1900. package/serialization/types/FeatureUsageDetailResponseData.js +17 -7
  1901. package/serialization/types/FeatureUsageResponseData.d.ts +1 -0
  1902. package/serialization/types/FeatureUsageResponseData.js +18 -7
  1903. package/serialization/types/FeatureUsageResponseDataAllocationType.js +17 -7
  1904. package/serialization/types/FlagDetailResponseData.js +17 -7
  1905. package/serialization/types/FlagResponseData.js +17 -7
  1906. package/serialization/types/GenericPreviewObject.js +17 -7
  1907. package/serialization/types/InvoiceRequestBody.js +17 -7
  1908. package/serialization/types/InvoiceResponseData.js +17 -7
  1909. package/serialization/types/IssueTemporaryAccessTokenResponseData.js +17 -7
  1910. package/serialization/types/KeysRequestBody.js +17 -7
  1911. package/serialization/types/MeterRequestBody.js +17 -7
  1912. package/serialization/types/OrderedPlansInGroup.d.ts +14 -0
  1913. package/serialization/types/OrderedPlansInGroup.js +45 -0
  1914. package/serialization/types/PaginationFilter.js +17 -7
  1915. package/serialization/types/PaymentMethodRequestBody.d.ts +0 -1
  1916. package/serialization/types/PaymentMethodRequestBody.js +17 -8
  1917. package/serialization/types/PaymentMethodResponseData.d.ts +0 -1
  1918. package/serialization/types/PaymentMethodResponseData.js +17 -8
  1919. package/serialization/types/PlanAudienceDetailResponseData.js +17 -7
  1920. package/serialization/types/PlanAudienceResponseData.js +17 -7
  1921. package/serialization/types/PlanDetailResponseData.d.ts +2 -0
  1922. package/serialization/types/PlanDetailResponseData.js +19 -7
  1923. package/serialization/types/PlanEntitlementResponseData.d.ts +3 -0
  1924. package/serialization/types/PlanEntitlementResponseData.js +20 -7
  1925. package/serialization/types/PlanEntitlementsOrder.d.ts +13 -0
  1926. package/serialization/types/PlanEntitlementsOrder.js +44 -0
  1927. package/serialization/types/PlanGroupDetailResponseData.d.ts +5 -0
  1928. package/serialization/types/PlanGroupDetailResponseData.js +22 -7
  1929. package/serialization/types/PlanGroupPlanDetailResponseData.d.ts +5 -0
  1930. package/serialization/types/PlanGroupPlanDetailResponseData.js +22 -7
  1931. package/serialization/types/PlanGroupPlanEntitlementsOrder.d.ts +14 -0
  1932. package/serialization/types/PlanGroupPlanEntitlementsOrder.js +45 -0
  1933. package/serialization/types/PlanGroupResponseData.d.ts +2 -1
  1934. package/serialization/types/PlanGroupResponseData.js +19 -8
  1935. package/serialization/types/PlanResponseData.js +17 -7
  1936. package/serialization/types/PlanTraitResponseData.d.ts +19 -0
  1937. package/serialization/types/PlanTraitResponseData.js +50 -0
  1938. package/serialization/types/PreviewObject.js +17 -7
  1939. package/serialization/types/PreviewObjectResponseData.js +17 -7
  1940. package/serialization/types/PreviewSubscriptionChangeResponseData.d.ts +4 -0
  1941. package/serialization/types/PreviewSubscriptionChangeResponseData.js +21 -7
  1942. package/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +21 -0
  1943. package/serialization/types/PreviewSubscriptionFinanceResponseData.js +52 -0
  1944. package/serialization/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +16 -0
  1945. package/serialization/types/PreviewSubscriptionUpcomingInvoiceLineItems.js +47 -0
  1946. package/serialization/types/QuickstartResp.d.ts +12 -0
  1947. package/serialization/types/QuickstartResp.js +43 -0
  1948. package/serialization/types/RawEventBatchResponseData.js +17 -7
  1949. package/serialization/types/RawEventResponseData.js +17 -7
  1950. package/serialization/types/RuleConditionDetailResponseData.js +17 -7
  1951. package/serialization/types/RuleConditionGroupDetailResponseData.js +17 -7
  1952. package/serialization/types/RuleConditionGroupResponseData.js +17 -7
  1953. package/serialization/types/RuleConditionResponseData.js +17 -7
  1954. package/serialization/types/RuleDetailResponseData.js +17 -7
  1955. package/serialization/types/RuleResponseData.js +17 -7
  1956. package/serialization/types/RulesDetailResponseData.js +17 -7
  1957. package/serialization/types/SegmentStatusResp.js +17 -7
  1958. package/serialization/types/StripeEmbedInfo.js +17 -7
  1959. package/serialization/types/TemporaryAccessTokenResponseData.js +17 -7
  1960. package/serialization/types/UpdateAddOnRequestBody.js +17 -7
  1961. package/serialization/types/UpdateEntitlementReqCommon.js +17 -7
  1962. package/serialization/types/UpdateEntitlementReqCommonMetricPeriod.js +17 -7
  1963. package/serialization/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.js +17 -7
  1964. package/serialization/types/UpdateEntitlementReqCommonValueType.js +17 -7
  1965. package/serialization/types/UpdatePayInAdvanceRequestBody.js +17 -7
  1966. package/serialization/types/UpdateRuleRequestBody.js +17 -7
  1967. package/serialization/types/UpsertCompanyRequestBody.js +17 -7
  1968. package/serialization/types/UpsertTraitRequestBody.js +17 -7
  1969. package/serialization/types/UpsertUserRequestBody.d.ts +2 -0
  1970. package/serialization/types/UpsertUserRequestBody.js +19 -7
  1971. package/serialization/types/UpsertUserSubRequestBody.d.ts +1 -0
  1972. package/serialization/types/UpsertUserSubRequestBody.js +18 -7
  1973. package/serialization/types/UsageBasedEntitlementRequestBody.d.ts +7 -0
  1974. package/serialization/types/UsageBasedEntitlementRequestBody.js +24 -7
  1975. package/serialization/types/UsageBasedEntitlementResponseData.js +17 -7
  1976. package/serialization/types/UserDetailResponseData.js +17 -7
  1977. package/serialization/types/UserResponseData.js +17 -7
  1978. package/serialization/types/WebhookEventDetailResponseData.js +17 -7
  1979. package/serialization/types/WebhookEventResponseData.js +17 -7
  1980. package/serialization/types/WebhookResponseData.d.ts +3 -0
  1981. package/serialization/types/WebhookResponseData.js +20 -7
  1982. package/serialization/types/index.d.ts +15 -0
  1983. package/serialization/types/index.js +15 -0
  1984. package/webhooks.d.ts +76 -0
  1985. package/webhooks.js +170 -0
  1986. /package/api/resources/{billing/client/requests/ListCustomersRequest.js → accounts/types/QuickstartResponse.js} +0 -0
  1987. /package/api/resources/billing/{types/ListCustomersParams.js → client/requests/ListCouponsRequest.js} +0 -0
  1988. /package/api/resources/billing/{types/ListCustomersResponse.js → client/requests/ListCustomersWithSubscriptionsRequest.js} +0 -0
  1989. /package/{dist/api/resources/billing/client/requests/ListCustomersRequest.js → api/resources/billing/types/DeleteBillingProductResponse.js} +0 -0
  1990. /package/{dist/api/resources/billing/types/ListCustomersParams.js → api/resources/billing/types/ListCouponsParams.js} +0 -0
  1991. /package/{dist/api/resources/billing/types/ListCustomersResponse.js → api/resources/billing/types/ListCouponsResponse.js} +0 -0
package/reference.md CHANGED
@@ -699,6 +699,46 @@ await client.accounts.deleteEnvironment("environment_id");
699
699
  </dl>
700
700
  </details>
701
701
 
702
+ <details><summary><code>client.accounts.<a href="/src/api/resources/accounts/client/Client.ts">quickstart</a>() -> Schematic.QuickstartResponse</code></summary>
703
+ <dl>
704
+ <dd>
705
+
706
+ #### 🔌 Usage
707
+
708
+ <dl>
709
+ <dd>
710
+
711
+ <dl>
712
+ <dd>
713
+
714
+ ```typescript
715
+ await client.accounts.quickstart();
716
+ ```
717
+
718
+ </dd>
719
+ </dl>
720
+ </dd>
721
+ </dl>
722
+
723
+ #### ⚙️ Parameters
724
+
725
+ <dl>
726
+ <dd>
727
+
728
+ <dl>
729
+ <dd>
730
+
731
+ **requestOptions:** `Accounts.RequestOptions`
732
+
733
+ </dd>
734
+ </dl>
735
+ </dd>
736
+ </dl>
737
+
738
+ </dd>
739
+ </dl>
740
+ </details>
741
+
702
742
  ## features
703
743
 
704
744
  <details><summary><code>client.features.<a href="/src/api/resources/features/client/Client.ts">countAudienceCompanies</a>({ ...params }) -> Schematic.CountAudienceCompaniesResponse</code></summary>
@@ -1765,6 +1805,54 @@ await client.features.countFlags();
1765
1805
 
1766
1806
  ## billing
1767
1807
 
1808
+ <details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">listCoupons</a>({ ...params }) -> Schematic.ListCouponsResponse</code></summary>
1809
+ <dl>
1810
+ <dd>
1811
+
1812
+ #### 🔌 Usage
1813
+
1814
+ <dl>
1815
+ <dd>
1816
+
1817
+ <dl>
1818
+ <dd>
1819
+
1820
+ ```typescript
1821
+ await client.billing.listCoupons();
1822
+ ```
1823
+
1824
+ </dd>
1825
+ </dl>
1826
+ </dd>
1827
+ </dl>
1828
+
1829
+ #### ⚙️ Parameters
1830
+
1831
+ <dl>
1832
+ <dd>
1833
+
1834
+ <dl>
1835
+ <dd>
1836
+
1837
+ **request:** `Schematic.ListCouponsRequest`
1838
+
1839
+ </dd>
1840
+ </dl>
1841
+
1842
+ <dl>
1843
+ <dd>
1844
+
1845
+ **requestOptions:** `Billing.RequestOptions`
1846
+
1847
+ </dd>
1848
+ </dl>
1849
+ </dd>
1850
+ </dl>
1851
+
1852
+ </dd>
1853
+ </dl>
1854
+ </details>
1855
+
1768
1856
  <details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">upsertBillingCoupon</a>({ ...params }) -> Schematic.UpsertBillingCouponResponse</code></summary>
1769
1857
  <dl>
1770
1858
  <dd>
@@ -1878,7 +1966,7 @@ await client.billing.upsertBillingCustomer({
1878
1966
  </dl>
1879
1967
  </details>
1880
1968
 
1881
- <details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">listCustomers</a>({ ...params }) -> Schematic.ListCustomersResponse</code></summary>
1969
+ <details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">listCustomersWithSubscriptions</a>({ ...params }) -> Schematic.ListCustomersWithSubscriptionsResponse</code></summary>
1882
1970
  <dl>
1883
1971
  <dd>
1884
1972
 
@@ -1891,7 +1979,7 @@ await client.billing.upsertBillingCustomer({
1891
1979
  <dd>
1892
1980
 
1893
1981
  ```typescript
1894
- await client.billing.listCustomers();
1982
+ await client.billing.listCustomersWithSubscriptions();
1895
1983
  ```
1896
1984
 
1897
1985
  </dd>
@@ -1907,7 +1995,7 @@ await client.billing.listCustomers();
1907
1995
  <dl>
1908
1996
  <dd>
1909
1997
 
1910
- **request:** `Schematic.ListCustomersRequest`
1998
+ **request:** `Schematic.ListCustomersWithSubscriptionsRequest`
1911
1999
 
1912
2000
  </dd>
1913
2001
  </dl>
@@ -2345,13 +2433,20 @@ await client.billing.searchBillingPrices();
2345
2433
 
2346
2434
  ```typescript
2347
2435
  await client.billing.upsertBillingPrice({
2436
+ billingScheme: "per_unit",
2348
2437
  currency: "currency",
2438
+ externalAccountId: "external_account_id",
2349
2439
  interval: "interval",
2350
2440
  isActive: true,
2351
2441
  price: 1,
2352
2442
  priceExternalId: "price_external_id",
2443
+ priceTiers: [
2444
+ {
2445
+ priceExternalId: "price_external_id",
2446
+ },
2447
+ ],
2353
2448
  productExternalId: "product_external_id",
2354
- usageType: "usage_type",
2449
+ usageType: "licensed",
2355
2450
  });
2356
2451
  ```
2357
2452
 
@@ -2387,6 +2482,54 @@ await client.billing.upsertBillingPrice({
2387
2482
  </dl>
2388
2483
  </details>
2389
2484
 
2485
+ <details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">deleteBillingProduct</a>(billingId) -> Schematic.DeleteBillingProductResponse</code></summary>
2486
+ <dl>
2487
+ <dd>
2488
+
2489
+ #### 🔌 Usage
2490
+
2491
+ <dl>
2492
+ <dd>
2493
+
2494
+ <dl>
2495
+ <dd>
2496
+
2497
+ ```typescript
2498
+ await client.billing.deleteBillingProduct("billing_id");
2499
+ ```
2500
+
2501
+ </dd>
2502
+ </dl>
2503
+ </dd>
2504
+ </dl>
2505
+
2506
+ #### ⚙️ Parameters
2507
+
2508
+ <dl>
2509
+ <dd>
2510
+
2511
+ <dl>
2512
+ <dd>
2513
+
2514
+ **billingId:** `string` — billing_id
2515
+
2516
+ </dd>
2517
+ </dl>
2518
+
2519
+ <dl>
2520
+ <dd>
2521
+
2522
+ **requestOptions:** `Billing.RequestOptions`
2523
+
2524
+ </dd>
2525
+ </dl>
2526
+ </dd>
2527
+ </dl>
2528
+
2529
+ </dd>
2530
+ </dl>
2531
+ </details>
2532
+
2390
2533
  <details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">listProductPrices</a>({ ...params }) -> Schematic.ListProductPricesResponse</code></summary>
2391
2534
  <dl>
2392
2535
  <dd>
@@ -2497,11 +2640,9 @@ await client.billing.deleteProductPrice("billing_id");
2497
2640
 
2498
2641
  ```typescript
2499
2642
  await client.billing.upsertBillingProduct({
2500
- currency: "currency",
2501
2643
  externalId: "external_id",
2502
2644
  name: "name",
2503
2645
  price: 1.1,
2504
- quantity: 1,
2505
2646
  });
2506
2647
  ```
2507
2648
 
@@ -2647,6 +2788,7 @@ await client.billing.countBillingProducts();
2647
2788
 
2648
2789
  ```typescript
2649
2790
  await client.billing.upsertBillingSubscription({
2791
+ cancelAtPeriodEnd: true,
2650
2792
  currency: "currency",
2651
2793
  customerExternalId: "customer_external_id",
2652
2794
  discounts: [
@@ -2666,7 +2808,7 @@ await client.billing.upsertBillingSubscription({
2666
2808
  priceExternalId: "price_external_id",
2667
2809
  productExternalId: "product_external_id",
2668
2810
  quantity: 1,
2669
- usageType: "usage_type",
2811
+ usageType: "licensed",
2670
2812
  },
2671
2813
  ],
2672
2814
  subscriptionExternalId: "subscription_external_id",
@@ -2772,7 +2914,7 @@ await client.checkout.internal({
2772
2914
  </dl>
2773
2915
  </details>
2774
2916
 
2775
- <details><summary><code>client.checkout.<a href="/src/api/resources/checkout/client/Client.ts">getCheckoutData</a>(checkoutInternalId) -> Schematic.GetCheckoutDataResponse</code></summary>
2917
+ <details><summary><code>client.checkout.<a href="/src/api/resources/checkout/client/Client.ts">getCheckoutData</a>({ ...params }) -> Schematic.GetCheckoutDataResponse</code></summary>
2776
2918
  <dl>
2777
2919
  <dd>
2778
2920
 
@@ -2785,7 +2927,9 @@ await client.checkout.internal({
2785
2927
  <dd>
2786
2928
 
2787
2929
  ```typescript
2788
- await client.checkout.getCheckoutData("checkout_internal_id");
2930
+ await client.checkout.getCheckoutData({
2931
+ companyId: "company_id",
2932
+ });
2789
2933
  ```
2790
2934
 
2791
2935
  </dd>
@@ -2801,7 +2945,7 @@ await client.checkout.getCheckoutData("checkout_internal_id");
2801
2945
  <dl>
2802
2946
  <dd>
2803
2947
 
2804
- **checkoutInternalId:** `string` — checkout_internal_id
2948
+ **request:** `Schematic.CheckoutDataRequestBody`
2805
2949
 
2806
2950
  </dd>
2807
2951
  </dl>
@@ -3305,9 +3449,7 @@ await client.companies.deleteCompanyByKeys({
3305
3449
  ```typescript
3306
3450
  await client.companies.lookupCompany({
3307
3451
  keys: {
3308
- keys: {
3309
- key: "value",
3310
- },
3452
+ keys: "keys",
3311
3453
  },
3312
3454
  });
3313
3455
  ```
@@ -4158,6 +4300,11 @@ await client.companies.listUsers();
4158
4300
 
4159
4301
  ```typescript
4160
4302
  await client.companies.upsertUser({
4303
+ companies: [
4304
+ {
4305
+ key: "value",
4306
+ },
4307
+ ],
4161
4308
  company: {
4162
4309
  key: "value",
4163
4310
  },
@@ -4357,6 +4504,11 @@ await client.companies.countUsers();
4357
4504
 
4358
4505
  ```typescript
4359
4506
  await client.companies.createUser({
4507
+ companies: [
4508
+ {
4509
+ key: "value",
4510
+ },
4511
+ ],
4360
4512
  company: {
4361
4513
  key: "value",
4362
4514
  },
@@ -4465,9 +4617,7 @@ await client.companies.deleteUserByKeys({
4465
4617
  ```typescript
4466
4618
  await client.companies.lookupUser({
4467
4619
  keys: {
4468
- keys: {
4469
- key: "value",
4470
- },
4620
+ keys: "keys",
4471
4621
  },
4472
4622
  });
4473
4623
  ```
@@ -5421,9 +5571,7 @@ await client.entitlements.countPlanEntitlements();
5421
5571
  ```typescript
5422
5572
  await client.entitlements.getFeatureUsageByCompany({
5423
5573
  keys: {
5424
- keys: {
5425
- key: "value",
5426
- },
5574
+ keys: "keys",
5427
5575
  },
5428
5576
  });
5429
5577
  ```
@@ -5691,6 +5839,309 @@ await client.plans.deleteAudience("plan_audience_id");
5691
5839
  </dl>
5692
5840
  </details>
5693
5841
 
5842
+ <details><summary><code>client.plans.<a href="/src/api/resources/plans/client/Client.ts">listPlanTraits</a>({ ...params }) -> Schematic.ListPlanTraitsResponse</code></summary>
5843
+ <dl>
5844
+ <dd>
5845
+
5846
+ #### 🔌 Usage
5847
+
5848
+ <dl>
5849
+ <dd>
5850
+
5851
+ <dl>
5852
+ <dd>
5853
+
5854
+ ```typescript
5855
+ await client.plans.listPlanTraits();
5856
+ ```
5857
+
5858
+ </dd>
5859
+ </dl>
5860
+ </dd>
5861
+ </dl>
5862
+
5863
+ #### ⚙️ Parameters
5864
+
5865
+ <dl>
5866
+ <dd>
5867
+
5868
+ <dl>
5869
+ <dd>
5870
+
5871
+ **request:** `Schematic.ListPlanTraitsRequest`
5872
+
5873
+ </dd>
5874
+ </dl>
5875
+
5876
+ <dl>
5877
+ <dd>
5878
+
5879
+ **requestOptions:** `Plans.RequestOptions`
5880
+
5881
+ </dd>
5882
+ </dl>
5883
+ </dd>
5884
+ </dl>
5885
+
5886
+ </dd>
5887
+ </dl>
5888
+ </details>
5889
+
5890
+ <details><summary><code>client.plans.<a href="/src/api/resources/plans/client/Client.ts">createPlanTrait</a>({ ...params }) -> Schematic.CreatePlanTraitResponse</code></summary>
5891
+ <dl>
5892
+ <dd>
5893
+
5894
+ #### 🔌 Usage
5895
+
5896
+ <dl>
5897
+ <dd>
5898
+
5899
+ <dl>
5900
+ <dd>
5901
+
5902
+ ```typescript
5903
+ await client.plans.createPlanTrait({
5904
+ planId: "plan_id",
5905
+ traitId: "trait_id",
5906
+ traitValue: "trait_value",
5907
+ });
5908
+ ```
5909
+
5910
+ </dd>
5911
+ </dl>
5912
+ </dd>
5913
+ </dl>
5914
+
5915
+ #### ⚙️ Parameters
5916
+
5917
+ <dl>
5918
+ <dd>
5919
+
5920
+ <dl>
5921
+ <dd>
5922
+
5923
+ **request:** `Schematic.CreatePlanTraitRequestBody`
5924
+
5925
+ </dd>
5926
+ </dl>
5927
+
5928
+ <dl>
5929
+ <dd>
5930
+
5931
+ **requestOptions:** `Plans.RequestOptions`
5932
+
5933
+ </dd>
5934
+ </dl>
5935
+ </dd>
5936
+ </dl>
5937
+
5938
+ </dd>
5939
+ </dl>
5940
+ </details>
5941
+
5942
+ <details><summary><code>client.plans.<a href="/src/api/resources/plans/client/Client.ts">getPlanTrait</a>(planTraitId) -> Schematic.GetPlanTraitResponse</code></summary>
5943
+ <dl>
5944
+ <dd>
5945
+
5946
+ #### 🔌 Usage
5947
+
5948
+ <dl>
5949
+ <dd>
5950
+
5951
+ <dl>
5952
+ <dd>
5953
+
5954
+ ```typescript
5955
+ await client.plans.getPlanTrait("plan_trait_id");
5956
+ ```
5957
+
5958
+ </dd>
5959
+ </dl>
5960
+ </dd>
5961
+ </dl>
5962
+
5963
+ #### ⚙️ Parameters
5964
+
5965
+ <dl>
5966
+ <dd>
5967
+
5968
+ <dl>
5969
+ <dd>
5970
+
5971
+ **planTraitId:** `string` — plan_trait_id
5972
+
5973
+ </dd>
5974
+ </dl>
5975
+
5976
+ <dl>
5977
+ <dd>
5978
+
5979
+ **requestOptions:** `Plans.RequestOptions`
5980
+
5981
+ </dd>
5982
+ </dl>
5983
+ </dd>
5984
+ </dl>
5985
+
5986
+ </dd>
5987
+ </dl>
5988
+ </details>
5989
+
5990
+ <details><summary><code>client.plans.<a href="/src/api/resources/plans/client/Client.ts">updatePlanTrait</a>(planTraitId, { ...params }) -> Schematic.UpdatePlanTraitResponse</code></summary>
5991
+ <dl>
5992
+ <dd>
5993
+
5994
+ #### 🔌 Usage
5995
+
5996
+ <dl>
5997
+ <dd>
5998
+
5999
+ <dl>
6000
+ <dd>
6001
+
6002
+ ```typescript
6003
+ await client.plans.updatePlanTrait("plan_trait_id", {
6004
+ planId: "plan_id",
6005
+ traitValue: "trait_value",
6006
+ });
6007
+ ```
6008
+
6009
+ </dd>
6010
+ </dl>
6011
+ </dd>
6012
+ </dl>
6013
+
6014
+ #### ⚙️ Parameters
6015
+
6016
+ <dl>
6017
+ <dd>
6018
+
6019
+ <dl>
6020
+ <dd>
6021
+
6022
+ **planTraitId:** `string` — plan_trait_id
6023
+
6024
+ </dd>
6025
+ </dl>
6026
+
6027
+ <dl>
6028
+ <dd>
6029
+
6030
+ **request:** `Schematic.UpdatePlanTraitRequestBody`
6031
+
6032
+ </dd>
6033
+ </dl>
6034
+
6035
+ <dl>
6036
+ <dd>
6037
+
6038
+ **requestOptions:** `Plans.RequestOptions`
6039
+
6040
+ </dd>
6041
+ </dl>
6042
+ </dd>
6043
+ </dl>
6044
+
6045
+ </dd>
6046
+ </dl>
6047
+ </details>
6048
+
6049
+ <details><summary><code>client.plans.<a href="/src/api/resources/plans/client/Client.ts">deletePlanTrait</a>(planTraitId) -> Schematic.DeletePlanTraitResponse</code></summary>
6050
+ <dl>
6051
+ <dd>
6052
+
6053
+ #### 🔌 Usage
6054
+
6055
+ <dl>
6056
+ <dd>
6057
+
6058
+ <dl>
6059
+ <dd>
6060
+
6061
+ ```typescript
6062
+ await client.plans.deletePlanTrait("plan_trait_id");
6063
+ ```
6064
+
6065
+ </dd>
6066
+ </dl>
6067
+ </dd>
6068
+ </dl>
6069
+
6070
+ #### ⚙️ Parameters
6071
+
6072
+ <dl>
6073
+ <dd>
6074
+
6075
+ <dl>
6076
+ <dd>
6077
+
6078
+ **planTraitId:** `string` — plan_trait_id
6079
+
6080
+ </dd>
6081
+ </dl>
6082
+
6083
+ <dl>
6084
+ <dd>
6085
+
6086
+ **requestOptions:** `Plans.RequestOptions`
6087
+
6088
+ </dd>
6089
+ </dl>
6090
+ </dd>
6091
+ </dl>
6092
+
6093
+ </dd>
6094
+ </dl>
6095
+ </details>
6096
+
6097
+ <details><summary><code>client.plans.<a href="/src/api/resources/plans/client/Client.ts">countPlanTraits</a>({ ...params }) -> Schematic.CountPlanTraitsResponse</code></summary>
6098
+ <dl>
6099
+ <dd>
6100
+
6101
+ #### 🔌 Usage
6102
+
6103
+ <dl>
6104
+ <dd>
6105
+
6106
+ <dl>
6107
+ <dd>
6108
+
6109
+ ```typescript
6110
+ await client.plans.countPlanTraits();
6111
+ ```
6112
+
6113
+ </dd>
6114
+ </dl>
6115
+ </dd>
6116
+ </dl>
6117
+
6118
+ #### ⚙️ Parameters
6119
+
6120
+ <dl>
6121
+ <dd>
6122
+
6123
+ <dl>
6124
+ <dd>
6125
+
6126
+ **request:** `Schematic.CountPlanTraitsRequest`
6127
+
6128
+ </dd>
6129
+ </dl>
6130
+
6131
+ <dl>
6132
+ <dd>
6133
+
6134
+ **requestOptions:** `Plans.RequestOptions`
6135
+
6136
+ </dd>
6137
+ </dl>
6138
+ </dd>
6139
+ </dl>
6140
+
6141
+ </dd>
6142
+ </dl>
6143
+ </details>
6144
+
5694
6145
  <details><summary><code>client.plans.<a href="/src/api/resources/plans/client/Client.ts">listPlans</a>({ ...params }) -> Schematic.ListPlansResponse</code></summary>
5695
6146
  <dl>
5696
6147
  <dd>
@@ -6665,6 +7116,58 @@ await client.crm.upsertCrmProduct({
6665
7116
  </dl>
6666
7117
  </details>
6667
7118
 
7119
+ ## dataexports
7120
+
7121
+ <details><summary><code>client.dataexports.<a href="/src/api/resources/dataexports/client/Client.ts">createDataExport</a>({ ...params }) -> Schematic.CreateDataExportResponse</code></summary>
7122
+ <dl>
7123
+ <dd>
7124
+
7125
+ #### 🔌 Usage
7126
+
7127
+ <dl>
7128
+ <dd>
7129
+
7130
+ <dl>
7131
+ <dd>
7132
+
7133
+ ```typescript
7134
+ await client.dataexports.createDataExport({
7135
+ metadata: "metadata",
7136
+ });
7137
+ ```
7138
+
7139
+ </dd>
7140
+ </dl>
7141
+ </dd>
7142
+ </dl>
7143
+
7144
+ #### ⚙️ Parameters
7145
+
7146
+ <dl>
7147
+ <dd>
7148
+
7149
+ <dl>
7150
+ <dd>
7151
+
7152
+ **request:** `Schematic.CreateDataExportRequestBody`
7153
+
7154
+ </dd>
7155
+ </dl>
7156
+
7157
+ <dl>
7158
+ <dd>
7159
+
7160
+ **requestOptions:** `Dataexports.RequestOptions`
7161
+
7162
+ </dd>
7163
+ </dl>
7164
+ </dd>
7165
+ </dl>
7166
+
7167
+ </dd>
7168
+ </dl>
7169
+ </details>
7170
+
6668
7171
  ## events
6669
7172
 
6670
7173
  <details><summary><code>client.events.<a href="/src/api/resources/events/client/Client.ts">createEventBatch</a>({ ...params }) -> Schematic.CreateEventBatchResponse</code></summary>
@@ -7012,7 +7515,11 @@ await client.plangroups.getPlanGroup();
7012
7515
  ```typescript
7013
7516
  await client.plangroups.createPlanGroup({
7014
7517
  addOnIds: ["add_on_ids"],
7015
- planIds: ["plan_ids"],
7518
+ orderedPlans: [
7519
+ {
7520
+ planId: "plan_id",
7521
+ },
7522
+ ],
7016
7523
  });
7017
7524
  ```
7018
7525
 
@@ -7063,7 +7570,11 @@ await client.plangroups.createPlanGroup({
7063
7570
  ```typescript
7064
7571
  await client.plangroups.updatePlanGroup("plan_group_id", {
7065
7572
  addOnIds: ["add_on_ids"],
7066
- planIds: ["plan_ids"],
7573
+ orderedPlans: [
7574
+ {
7575
+ planId: "plan_id",
7576
+ },
7577
+ ],
7067
7578
  });
7068
7579
  ```
7069
7580