@schematichq/schematic-typescript-node 1.0.22 → 1.1.0

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 (3909) hide show
  1. package/.husky/pre-commit +1 -0
  2. package/Client.d.ts +57 -0
  3. package/Client.js +67 -0
  4. package/README.md +100 -98
  5. package/api/errors/BadRequestError.d.ts +8 -0
  6. package/api/errors/BadRequestError.js +41 -0
  7. package/api/errors/ForbiddenError.d.ts +8 -0
  8. package/api/errors/ForbiddenError.js +41 -0
  9. package/api/errors/InternalServerError.d.ts +8 -0
  10. package/api/errors/InternalServerError.js +41 -0
  11. package/api/errors/NotFoundError.d.ts +8 -0
  12. package/api/errors/NotFoundError.js +41 -0
  13. package/api/errors/UnauthorizedError.d.ts +8 -0
  14. package/api/errors/UnauthorizedError.js +41 -0
  15. package/api/errors/index.d.ts +5 -0
  16. package/api/errors/index.js +21 -0
  17. package/api/index.d.ts +3 -0
  18. package/api/index.js +19 -0
  19. package/api/resources/accesstokens/client/Client.d.ts +46 -0
  20. package/api/resources/accesstokens/client/Client.js +157 -0
  21. package/api/resources/accesstokens/client/index.d.ts +1 -0
  22. package/api/resources/accesstokens/client/index.js +17 -0
  23. package/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +16 -0
  24. package/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.js +5 -0
  25. package/api/resources/accesstokens/client/requests/index.d.ts +1 -0
  26. package/api/resources/accesstokens/client/requests/index.js +2 -0
  27. package/api/resources/accesstokens/index.d.ts +2 -0
  28. package/api/resources/accesstokens/index.js +18 -0
  29. package/api/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.d.ts +9 -0
  30. package/api/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.js +5 -0
  31. package/api/resources/accesstokens/types/index.d.ts +1 -0
  32. package/api/resources/accesstokens/types/index.js +17 -0
  33. package/api/resources/accounts/client/Client.d.ts +223 -0
  34. package/api/resources/accounts/client/Client.js +1431 -0
  35. package/api/resources/accounts/client/index.d.ts +1 -0
  36. package/api/resources/accounts/client/index.js +17 -0
  37. package/api/resources/accounts/client/requests/CountApiKeysRequest.d.ts +21 -0
  38. package/api/resources/accounts/client/requests/CountApiKeysRequest.js +5 -0
  39. package/api/resources/accounts/client/requests/CountApiRequestsRequest.d.ts +20 -0
  40. package/api/resources/accounts/client/requests/CountApiRequestsRequest.js +5 -0
  41. package/api/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +14 -0
  42. package/api/resources/accounts/client/requests/CreateApiKeyRequestBody.js +5 -0
  43. package/api/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +15 -0
  44. package/api/resources/accounts/client/requests/CreateEnvironmentRequestBody.js +5 -0
  45. package/api/resources/accounts/client/requests/ListApiKeysRequest.d.ts +21 -0
  46. package/api/resources/accounts/client/requests/ListApiKeysRequest.js +5 -0
  47. package/api/resources/accounts/client/requests/ListApiRequestsRequest.d.ts +20 -0
  48. package/api/resources/accounts/client/requests/ListApiRequestsRequest.js +5 -0
  49. package/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +18 -0
  50. package/api/resources/accounts/client/requests/ListEnvironmentsRequest.js +5 -0
  51. package/api/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +11 -0
  52. package/api/resources/accounts/client/requests/UpdateApiKeyRequestBody.js +5 -0
  53. package/api/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +12 -0
  54. package/api/resources/accounts/client/requests/UpdateEnvironmentRequestBody.js +5 -0
  55. package/api/resources/accounts/client/requests/index.d.ts +9 -0
  56. package/api/resources/accounts/client/requests/index.js +2 -0
  57. package/api/resources/accounts/index.d.ts +2 -0
  58. package/api/resources/accounts/index.js +18 -0
  59. package/api/resources/accounts/types/CountApiKeysParams.d.ts +14 -0
  60. package/api/resources/accounts/types/CountApiKeysParams.js +5 -0
  61. package/api/resources/accounts/types/CountApiKeysResponse.d.ts +9 -0
  62. package/api/resources/accounts/types/CountApiKeysResponse.js +5 -0
  63. package/api/resources/accounts/types/CountApiRequestsParams.d.ts +15 -0
  64. package/api/resources/accounts/types/CountApiRequestsParams.js +5 -0
  65. package/api/resources/accounts/types/CountApiRequestsResponse.d.ts +9 -0
  66. package/api/resources/accounts/types/CountApiRequestsResponse.js +5 -0
  67. package/api/resources/accounts/types/CreateApiKeyResponse.d.ts +9 -0
  68. package/api/resources/accounts/types/CreateApiKeyResponse.js +5 -0
  69. package/api/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts +9 -0
  70. package/api/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.js +11 -0
  71. package/api/resources/accounts/types/CreateEnvironmentResponse.d.ts +9 -0
  72. package/api/resources/accounts/types/CreateEnvironmentResponse.js +5 -0
  73. package/api/resources/accounts/types/DeleteApiKeyResponse.d.ts +9 -0
  74. package/api/resources/accounts/types/DeleteApiKeyResponse.js +5 -0
  75. package/api/resources/accounts/types/DeleteEnvironmentResponse.d.ts +9 -0
  76. package/api/resources/accounts/types/DeleteEnvironmentResponse.js +5 -0
  77. package/api/resources/accounts/types/GetApiKeyResponse.d.ts +9 -0
  78. package/api/resources/accounts/types/GetApiKeyResponse.js +5 -0
  79. package/api/resources/accounts/types/GetApiRequestResponse.d.ts +9 -0
  80. package/api/resources/accounts/types/GetApiRequestResponse.js +5 -0
  81. package/api/resources/accounts/types/GetEnvironmentResponse.d.ts +9 -0
  82. package/api/resources/accounts/types/GetEnvironmentResponse.js +5 -0
  83. package/api/resources/accounts/types/ListApiKeysParams.d.ts +14 -0
  84. package/api/resources/accounts/types/ListApiKeysParams.js +5 -0
  85. package/api/resources/accounts/types/ListApiKeysResponse.d.ts +10 -0
  86. package/api/resources/accounts/types/ListApiKeysResponse.js +5 -0
  87. package/api/resources/accounts/types/ListApiRequestsParams.d.ts +15 -0
  88. package/api/resources/accounts/types/ListApiRequestsParams.js +5 -0
  89. package/api/resources/accounts/types/ListApiRequestsResponse.d.ts +10 -0
  90. package/api/resources/accounts/types/ListApiRequestsResponse.js +5 -0
  91. package/api/resources/accounts/types/ListEnvironmentsParams.d.ts +13 -0
  92. package/api/resources/accounts/types/ListEnvironmentsParams.js +5 -0
  93. package/api/resources/accounts/types/ListEnvironmentsResponse.d.ts +10 -0
  94. package/api/resources/accounts/types/ListEnvironmentsResponse.js +5 -0
  95. package/api/resources/accounts/types/UpdateApiKeyResponse.d.ts +9 -0
  96. package/api/resources/accounts/types/UpdateApiKeyResponse.js +5 -0
  97. package/api/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +9 -0
  98. package/api/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.js +11 -0
  99. package/api/resources/accounts/types/UpdateEnvironmentResponse.d.ts +9 -0
  100. package/api/resources/accounts/types/UpdateEnvironmentResponse.js +5 -0
  101. package/api/resources/accounts/types/index.d.ts +21 -0
  102. package/api/resources/accounts/types/index.js +37 -0
  103. package/api/resources/billing/client/Client.d.ts +160 -0
  104. package/api/resources/billing/client/Client.js +897 -0
  105. package/api/resources/billing/client/index.d.ts +1 -0
  106. package/api/resources/billing/client/index.js +17 -0
  107. package/api/resources/billing/client/requests/CountCustomersRequest.d.ts +20 -0
  108. package/api/resources/billing/client/requests/CountCustomersRequest.js +5 -0
  109. package/api/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +23 -0
  110. package/api/resources/billing/client/requests/CreateBillingCustomerRequestBody.js +5 -0
  111. package/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +18 -0
  112. package/api/resources/billing/client/requests/CreateBillingPriceRequestBody.js +5 -0
  113. package/api/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +20 -0
  114. package/api/resources/billing/client/requests/CreateBillingProductRequestBody.js +5 -0
  115. package/api/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.d.ts +27 -0
  116. package/api/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.js +5 -0
  117. package/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +20 -0
  118. package/api/resources/billing/client/requests/ListBillingProductsRequest.js +5 -0
  119. package/api/resources/billing/client/requests/ListCustomersRequest.d.ts +20 -0
  120. package/api/resources/billing/client/requests/ListCustomersRequest.js +5 -0
  121. package/api/resources/billing/client/requests/ListProductPricesRequest.d.ts +20 -0
  122. package/api/resources/billing/client/requests/ListProductPricesRequest.js +5 -0
  123. package/api/resources/billing/client/requests/index.d.ts +8 -0
  124. package/api/resources/billing/client/requests/index.js +2 -0
  125. package/api/resources/billing/index.d.ts +2 -0
  126. package/api/resources/billing/index.js +18 -0
  127. package/api/resources/billing/types/CountCustomersParams.d.ts +15 -0
  128. package/api/resources/billing/types/CountCustomersParams.js +5 -0
  129. package/api/resources/billing/types/CountCustomersResponse.d.ts +9 -0
  130. package/api/resources/billing/types/CountCustomersResponse.js +5 -0
  131. package/api/resources/billing/types/ListBillingProductsParams.d.ts +15 -0
  132. package/api/resources/billing/types/ListBillingProductsParams.js +5 -0
  133. package/api/resources/billing/types/ListBillingProductsResponse.d.ts +10 -0
  134. package/api/resources/billing/types/ListBillingProductsResponse.js +5 -0
  135. package/api/resources/billing/types/ListCustomersParams.d.ts +15 -0
  136. package/api/resources/billing/types/ListCustomersParams.js +5 -0
  137. package/api/resources/billing/types/ListCustomersResponse.d.ts +10 -0
  138. package/api/resources/billing/types/ListCustomersResponse.js +5 -0
  139. package/api/resources/billing/types/ListProductPricesParams.d.ts +15 -0
  140. package/api/resources/billing/types/ListProductPricesParams.js +5 -0
  141. package/api/resources/billing/types/ListProductPricesResponse.d.ts +10 -0
  142. package/api/resources/billing/types/ListProductPricesResponse.js +5 -0
  143. package/api/resources/billing/types/UpsertBillingCustomerResponse.d.ts +9 -0
  144. package/api/resources/billing/types/UpsertBillingCustomerResponse.js +5 -0
  145. package/api/resources/billing/types/UpsertBillingPriceResponse.d.ts +9 -0
  146. package/api/resources/billing/types/UpsertBillingPriceResponse.js +5 -0
  147. package/api/resources/billing/types/UpsertBillingProductResponse.d.ts +9 -0
  148. package/api/resources/billing/types/UpsertBillingProductResponse.js +5 -0
  149. package/api/resources/billing/types/UpsertBillingSubscriptionResponse.d.ts +9 -0
  150. package/api/resources/billing/types/UpsertBillingSubscriptionResponse.js +5 -0
  151. package/api/resources/billing/types/index.d.ts +12 -0
  152. package/api/resources/billing/types/index.js +28 -0
  153. package/api/resources/companies/client/Client.d.ts +514 -0
  154. package/api/resources/companies/client/Client.js +3308 -0
  155. package/api/resources/companies/client/index.d.ts +1 -0
  156. package/api/resources/companies/client/index.js +17 -0
  157. package/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +27 -0
  158. package/api/resources/companies/client/requests/CountCompaniesRequest.js +5 -0
  159. package/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +21 -0
  160. package/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.js +5 -0
  161. package/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +22 -0
  162. package/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.js +5 -0
  163. package/api/resources/companies/client/requests/CountUsersRequest.d.ts +24 -0
  164. package/api/resources/companies/client/requests/CountUsersRequest.js +5 -0
  165. package/api/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +18 -0
  166. package/api/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.js +5 -0
  167. package/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +20 -0
  168. package/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.js +5 -0
  169. package/api/resources/companies/client/requests/GetActiveDealsRequest.d.ts +22 -0
  170. package/api/resources/companies/client/requests/GetActiveDealsRequest.js +5 -0
  171. package/api/resources/companies/client/requests/GetEntityTraitValuesRequest.d.ts +21 -0
  172. package/api/resources/companies/client/requests/GetEntityTraitValuesRequest.js +5 -0
  173. package/api/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.d.ts +14 -0
  174. package/api/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.js +5 -0
  175. package/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +27 -0
  176. package/api/resources/companies/client/requests/ListCompaniesRequest.js +5 -0
  177. package/api/resources/companies/client/requests/ListCompanyMembershipsRequest.d.ts +19 -0
  178. package/api/resources/companies/client/requests/ListCompanyMembershipsRequest.js +5 -0
  179. package/api/resources/companies/client/requests/ListCompanyPlansRequest.d.ts +19 -0
  180. package/api/resources/companies/client/requests/ListCompanyPlansRequest.js +5 -0
  181. package/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +21 -0
  182. package/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.js +5 -0
  183. package/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +22 -0
  184. package/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.js +5 -0
  185. package/api/resources/companies/client/requests/ListUsersRequest.d.ts +24 -0
  186. package/api/resources/companies/client/requests/ListUsersRequest.js +5 -0
  187. package/api/resources/companies/client/requests/LookupCompanyRequest.d.ts +19 -0
  188. package/api/resources/companies/client/requests/LookupCompanyRequest.js +5 -0
  189. package/api/resources/companies/client/requests/LookupUserRequest.d.ts +19 -0
  190. package/api/resources/companies/client/requests/LookupUserRequest.js +5 -0
  191. package/api/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +14 -0
  192. package/api/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.js +5 -0
  193. package/api/resources/companies/client/requests/index.d.ts +18 -0
  194. package/api/resources/companies/client/requests/index.js +2 -0
  195. package/api/resources/companies/index.d.ts +2 -0
  196. package/api/resources/companies/index.js +18 -0
  197. package/api/resources/companies/types/CountCompaniesParams.d.ts +18 -0
  198. package/api/resources/companies/types/CountCompaniesParams.js +5 -0
  199. package/api/resources/companies/types/CountCompaniesResponse.d.ts +9 -0
  200. package/api/resources/companies/types/CountCompaniesResponse.js +5 -0
  201. package/api/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +16 -0
  202. package/api/resources/companies/types/CountEntityKeyDefinitionsParams.js +5 -0
  203. package/api/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +8 -0
  204. package/api/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.js +10 -0
  205. package/api/resources/companies/types/CountEntityKeyDefinitionsResponse.d.ts +9 -0
  206. package/api/resources/companies/types/CountEntityKeyDefinitionsResponse.js +5 -0
  207. package/api/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +8 -0
  208. package/api/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.js +10 -0
  209. package/api/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +17 -0
  210. package/api/resources/companies/types/CountEntityTraitDefinitionsParams.js +5 -0
  211. package/api/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +8 -0
  212. package/api/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.js +10 -0
  213. package/api/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +12 -0
  214. package/api/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.js +14 -0
  215. package/api/resources/companies/types/CountEntityTraitDefinitionsResponse.d.ts +9 -0
  216. package/api/resources/companies/types/CountEntityTraitDefinitionsResponse.js +5 -0
  217. package/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +8 -0
  218. package/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.js +10 -0
  219. package/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +12 -0
  220. package/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.js +14 -0
  221. package/api/resources/companies/types/CountUsersParams.d.ts +17 -0
  222. package/api/resources/companies/types/CountUsersParams.js +5 -0
  223. package/api/resources/companies/types/CountUsersResponse.d.ts +9 -0
  224. package/api/resources/companies/types/CountUsersResponse.js +5 -0
  225. package/api/resources/companies/types/CreateCompanyResponse.d.ts +9 -0
  226. package/api/resources/companies/types/CreateCompanyResponse.js +5 -0
  227. package/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +8 -0
  228. package/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.js +10 -0
  229. package/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +12 -0
  230. package/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.js +14 -0
  231. package/api/resources/companies/types/CreateUserResponse.d.ts +9 -0
  232. package/api/resources/companies/types/CreateUserResponse.js +5 -0
  233. package/api/resources/companies/types/DeleteCompanyByKeysResponse.d.ts +9 -0
  234. package/api/resources/companies/types/DeleteCompanyByKeysResponse.js +5 -0
  235. package/api/resources/companies/types/DeleteCompanyMembershipResponse.d.ts +9 -0
  236. package/api/resources/companies/types/DeleteCompanyMembershipResponse.js +5 -0
  237. package/api/resources/companies/types/DeleteCompanyResponse.d.ts +9 -0
  238. package/api/resources/companies/types/DeleteCompanyResponse.js +5 -0
  239. package/api/resources/companies/types/DeleteUserByKeysResponse.d.ts +9 -0
  240. package/api/resources/companies/types/DeleteUserByKeysResponse.js +5 -0
  241. package/api/resources/companies/types/DeleteUserResponse.d.ts +9 -0
  242. package/api/resources/companies/types/DeleteUserResponse.js +5 -0
  243. package/api/resources/companies/types/GetActiveCompanySubscriptionParams.d.ts +13 -0
  244. package/api/resources/companies/types/GetActiveCompanySubscriptionParams.js +5 -0
  245. package/api/resources/companies/types/GetActiveCompanySubscriptionResponse.d.ts +10 -0
  246. package/api/resources/companies/types/GetActiveCompanySubscriptionResponse.js +5 -0
  247. package/api/resources/companies/types/GetActiveDealsParams.d.ts +14 -0
  248. package/api/resources/companies/types/GetActiveDealsParams.js +5 -0
  249. package/api/resources/companies/types/GetActiveDealsResponse.d.ts +10 -0
  250. package/api/resources/companies/types/GetActiveDealsResponse.js +5 -0
  251. package/api/resources/companies/types/GetCompanyResponse.d.ts +9 -0
  252. package/api/resources/companies/types/GetCompanyResponse.js +5 -0
  253. package/api/resources/companies/types/GetEntityTraitDefinitionResponse.d.ts +9 -0
  254. package/api/resources/companies/types/GetEntityTraitDefinitionResponse.js +5 -0
  255. package/api/resources/companies/types/GetEntityTraitValuesParams.d.ts +14 -0
  256. package/api/resources/companies/types/GetEntityTraitValuesParams.js +5 -0
  257. package/api/resources/companies/types/GetEntityTraitValuesResponse.d.ts +10 -0
  258. package/api/resources/companies/types/GetEntityTraitValuesResponse.js +5 -0
  259. package/api/resources/companies/types/GetOrCreateCompanyMembershipResponse.d.ts +9 -0
  260. package/api/resources/companies/types/GetOrCreateCompanyMembershipResponse.js +5 -0
  261. package/api/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.d.ts +9 -0
  262. package/api/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.js +5 -0
  263. package/api/resources/companies/types/GetUserResponse.d.ts +9 -0
  264. package/api/resources/companies/types/GetUserResponse.js +5 -0
  265. package/api/resources/companies/types/ListCompaniesParams.d.ts +18 -0
  266. package/api/resources/companies/types/ListCompaniesParams.js +5 -0
  267. package/api/resources/companies/types/ListCompaniesResponse.d.ts +10 -0
  268. package/api/resources/companies/types/ListCompaniesResponse.js +5 -0
  269. package/api/resources/companies/types/ListCompanyMembershipsParams.d.ts +14 -0
  270. package/api/resources/companies/types/ListCompanyMembershipsParams.js +5 -0
  271. package/api/resources/companies/types/ListCompanyMembershipsResponse.d.ts +10 -0
  272. package/api/resources/companies/types/ListCompanyMembershipsResponse.js +5 -0
  273. package/api/resources/companies/types/ListCompanyPlansParams.d.ts +14 -0
  274. package/api/resources/companies/types/ListCompanyPlansParams.js +5 -0
  275. package/api/resources/companies/types/ListCompanyPlansResponse.d.ts +10 -0
  276. package/api/resources/companies/types/ListCompanyPlansResponse.js +5 -0
  277. package/api/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +16 -0
  278. package/api/resources/companies/types/ListEntityKeyDefinitionsParams.js +5 -0
  279. package/api/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +8 -0
  280. package/api/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.js +10 -0
  281. package/api/resources/companies/types/ListEntityKeyDefinitionsResponse.d.ts +10 -0
  282. package/api/resources/companies/types/ListEntityKeyDefinitionsResponse.js +5 -0
  283. package/api/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +8 -0
  284. package/api/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.js +10 -0
  285. package/api/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +17 -0
  286. package/api/resources/companies/types/ListEntityTraitDefinitionsParams.js +5 -0
  287. package/api/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +8 -0
  288. package/api/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.js +10 -0
  289. package/api/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts +12 -0
  290. package/api/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.js +14 -0
  291. package/api/resources/companies/types/ListEntityTraitDefinitionsResponse.d.ts +10 -0
  292. package/api/resources/companies/types/ListEntityTraitDefinitionsResponse.js +5 -0
  293. package/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +8 -0
  294. package/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.js +10 -0
  295. package/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +12 -0
  296. package/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.js +14 -0
  297. package/api/resources/companies/types/ListUsersParams.d.ts +17 -0
  298. package/api/resources/companies/types/ListUsersParams.js +5 -0
  299. package/api/resources/companies/types/ListUsersResponse.d.ts +10 -0
  300. package/api/resources/companies/types/ListUsersResponse.js +5 -0
  301. package/api/resources/companies/types/LookupCompanyParams.d.ts +9 -0
  302. package/api/resources/companies/types/LookupCompanyParams.js +5 -0
  303. package/api/resources/companies/types/LookupCompanyResponse.d.ts +9 -0
  304. package/api/resources/companies/types/LookupCompanyResponse.js +5 -0
  305. package/api/resources/companies/types/LookupUserParams.d.ts +9 -0
  306. package/api/resources/companies/types/LookupUserParams.js +5 -0
  307. package/api/resources/companies/types/LookupUserResponse.d.ts +9 -0
  308. package/api/resources/companies/types/LookupUserResponse.js +5 -0
  309. package/api/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +12 -0
  310. package/api/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.js +14 -0
  311. package/api/resources/companies/types/UpdateEntityTraitDefinitionResponse.d.ts +9 -0
  312. package/api/resources/companies/types/UpdateEntityTraitDefinitionResponse.js +5 -0
  313. package/api/resources/companies/types/UpsertCompanyResponse.d.ts +9 -0
  314. package/api/resources/companies/types/UpsertCompanyResponse.js +5 -0
  315. package/api/resources/companies/types/UpsertCompanyTraitResponse.d.ts +9 -0
  316. package/api/resources/companies/types/UpsertCompanyTraitResponse.js +5 -0
  317. package/api/resources/companies/types/UpsertUserResponse.d.ts +9 -0
  318. package/api/resources/companies/types/UpsertUserResponse.js +5 -0
  319. package/api/resources/companies/types/UpsertUserTraitResponse.d.ts +9 -0
  320. package/api/resources/companies/types/UpsertUserTraitResponse.js +5 -0
  321. package/api/resources/companies/types/index.d.ts +62 -0
  322. package/api/resources/companies/types/index.js +78 -0
  323. package/api/resources/components/client/Client.d.ts +125 -0
  324. package/api/resources/components/client/Client.js +729 -0
  325. package/api/resources/components/client/index.d.ts +1 -0
  326. package/api/resources/components/client/index.js +17 -0
  327. package/api/resources/components/client/requests/CountComponentsRequest.d.ts +18 -0
  328. package/api/resources/components/client/requests/CountComponentsRequest.js +5 -0
  329. package/api/resources/components/client/requests/CreateComponentRequestBody.d.ts +17 -0
  330. package/api/resources/components/client/requests/CreateComponentRequestBody.js +5 -0
  331. package/api/resources/components/client/requests/ListComponentsRequest.d.ts +18 -0
  332. package/api/resources/components/client/requests/ListComponentsRequest.js +5 -0
  333. package/api/resources/components/client/requests/UpdateComponentRequestBody.d.ts +14 -0
  334. package/api/resources/components/client/requests/UpdateComponentRequestBody.js +5 -0
  335. package/api/resources/components/client/requests/index.d.ts +4 -0
  336. package/api/resources/components/client/requests/index.js +2 -0
  337. package/api/resources/components/index.d.ts +2 -0
  338. package/api/resources/components/index.js +18 -0
  339. package/api/resources/components/types/CountComponentsParams.d.ts +13 -0
  340. package/api/resources/components/types/CountComponentsParams.js +5 -0
  341. package/api/resources/components/types/CountComponentsResponse.d.ts +9 -0
  342. package/api/resources/components/types/CountComponentsResponse.js +5 -0
  343. package/api/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +8 -0
  344. package/api/resources/components/types/CreateComponentRequestBodyEntityType.js +10 -0
  345. package/api/resources/components/types/CreateComponentResponse.d.ts +9 -0
  346. package/api/resources/components/types/CreateComponentResponse.js +5 -0
  347. package/api/resources/components/types/DeleteComponentResponse.d.ts +9 -0
  348. package/api/resources/components/types/DeleteComponentResponse.js +5 -0
  349. package/api/resources/components/types/GetComponentResponse.d.ts +9 -0
  350. package/api/resources/components/types/GetComponentResponse.js +5 -0
  351. package/api/resources/components/types/HydrateComponentResponse.d.ts +9 -0
  352. package/api/resources/components/types/HydrateComponentResponse.js +5 -0
  353. package/api/resources/components/types/ListComponentsParams.d.ts +13 -0
  354. package/api/resources/components/types/ListComponentsParams.js +5 -0
  355. package/api/resources/components/types/ListComponentsResponse.d.ts +10 -0
  356. package/api/resources/components/types/ListComponentsResponse.js +5 -0
  357. package/api/resources/components/types/UpdateComponentRequestBodyEntityType.d.ts +8 -0
  358. package/api/resources/components/types/UpdateComponentRequestBodyEntityType.js +10 -0
  359. package/api/resources/components/types/UpdateComponentRequestBodyState.d.ts +8 -0
  360. package/api/resources/components/types/UpdateComponentRequestBodyState.js +10 -0
  361. package/api/resources/components/types/UpdateComponentResponse.d.ts +9 -0
  362. package/api/resources/components/types/UpdateComponentResponse.js +5 -0
  363. package/api/resources/components/types/index.d.ts +12 -0
  364. package/api/resources/components/types/index.js +28 -0
  365. package/api/resources/crm/client/Client.d.ts +115 -0
  366. package/api/resources/crm/client/Client.js +557 -0
  367. package/api/resources/crm/client/index.d.ts +1 -0
  368. package/api/resources/crm/client/index.js +17 -0
  369. package/api/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.d.ts +14 -0
  370. package/api/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.js +5 -0
  371. package/api/resources/crm/client/requests/CreateCrmDealRequestBody.d.ts +22 -0
  372. package/api/resources/crm/client/requests/CreateCrmDealRequestBody.js +5 -0
  373. package/api/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +23 -0
  374. package/api/resources/crm/client/requests/CreateCrmLineItemRequestBody.js +5 -0
  375. package/api/resources/crm/client/requests/CreateCrmProductRequestBody.d.ts +26 -0
  376. package/api/resources/crm/client/requests/CreateCrmProductRequestBody.js +5 -0
  377. package/api/resources/crm/client/requests/ListCrmProductsRequest.d.ts +19 -0
  378. package/api/resources/crm/client/requests/ListCrmProductsRequest.js +5 -0
  379. package/api/resources/crm/client/requests/index.d.ts +5 -0
  380. package/api/resources/crm/client/requests/index.js +2 -0
  381. package/api/resources/crm/index.d.ts +2 -0
  382. package/api/resources/crm/index.js +18 -0
  383. package/api/resources/crm/types/ListCrmProductsParams.d.ts +14 -0
  384. package/api/resources/crm/types/ListCrmProductsParams.js +5 -0
  385. package/api/resources/crm/types/ListCrmProductsResponse.d.ts +10 -0
  386. package/api/resources/crm/types/ListCrmProductsResponse.js +5 -0
  387. package/api/resources/crm/types/UpsertCrmDealResponse.d.ts +9 -0
  388. package/api/resources/crm/types/UpsertCrmDealResponse.js +5 -0
  389. package/api/resources/crm/types/UpsertCrmProductResponse.d.ts +9 -0
  390. package/api/resources/crm/types/UpsertCrmProductResponse.js +5 -0
  391. package/api/resources/crm/types/UpsertDealLineItemAssociationResponse.d.ts +9 -0
  392. package/api/resources/crm/types/UpsertDealLineItemAssociationResponse.js +5 -0
  393. package/api/resources/crm/types/UpsertLineItemResponse.d.ts +9 -0
  394. package/api/resources/crm/types/UpsertLineItemResponse.js +5 -0
  395. package/api/resources/crm/types/index.d.ts +6 -0
  396. package/api/resources/crm/types/index.js +22 -0
  397. package/api/resources/entitlements/client/Client.d.ts +305 -0
  398. package/api/resources/entitlements/client/Client.js +2103 -0
  399. package/api/resources/entitlements/client/index.d.ts +1 -0
  400. package/api/resources/entitlements/client/index.js +17 -0
  401. package/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +23 -0
  402. package/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.js +5 -0
  403. package/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.d.ts +21 -0
  404. package/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.js +5 -0
  405. package/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +21 -0
  406. package/api/resources/entitlements/client/requests/CountFeatureUsageRequest.js +5 -0
  407. package/api/resources/entitlements/client/requests/CountFeatureUsersRequest.d.ts +21 -0
  408. package/api/resources/entitlements/client/requests/CountFeatureUsersRequest.js +5 -0
  409. package/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +23 -0
  410. package/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.js +5 -0
  411. package/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +21 -0
  412. package/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +5 -0
  413. package/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +21 -0
  414. package/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +5 -0
  415. package/api/resources/entitlements/client/requests/GetFeatureUsageByCompanyRequest.d.ts +19 -0
  416. package/api/resources/entitlements/client/requests/GetFeatureUsageByCompanyRequest.js +5 -0
  417. package/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +23 -0
  418. package/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.js +5 -0
  419. package/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.d.ts +21 -0
  420. package/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.js +5 -0
  421. package/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +21 -0
  422. package/api/resources/entitlements/client/requests/ListFeatureUsageRequest.js +5 -0
  423. package/api/resources/entitlements/client/requests/ListFeatureUsersRequest.d.ts +21 -0
  424. package/api/resources/entitlements/client/requests/ListFeatureUsersRequest.js +5 -0
  425. package/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +23 -0
  426. package/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.js +5 -0
  427. package/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +17 -0
  428. package/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +5 -0
  429. package/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +17 -0
  430. package/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +5 -0
  431. package/api/resources/entitlements/client/requests/index.d.ts +15 -0
  432. package/api/resources/entitlements/client/requests/index.js +2 -0
  433. package/api/resources/entitlements/index.d.ts +2 -0
  434. package/api/resources/entitlements/index.js +18 -0
  435. package/api/resources/entitlements/types/CountCompanyOverridesParams.d.ts +18 -0
  436. package/api/resources/entitlements/types/CountCompanyOverridesParams.js +5 -0
  437. package/api/resources/entitlements/types/CountCompanyOverridesResponse.d.ts +9 -0
  438. package/api/resources/entitlements/types/CountCompanyOverridesResponse.js +5 -0
  439. package/api/resources/entitlements/types/CountFeatureCompaniesParams.d.ts +14 -0
  440. package/api/resources/entitlements/types/CountFeatureCompaniesParams.js +5 -0
  441. package/api/resources/entitlements/types/CountFeatureCompaniesResponse.d.ts +9 -0
  442. package/api/resources/entitlements/types/CountFeatureCompaniesResponse.js +5 -0
  443. package/api/resources/entitlements/types/CountFeatureUsageParams.d.ts +16 -0
  444. package/api/resources/entitlements/types/CountFeatureUsageParams.js +5 -0
  445. package/api/resources/entitlements/types/CountFeatureUsageResponse.d.ts +9 -0
  446. package/api/resources/entitlements/types/CountFeatureUsageResponse.js +5 -0
  447. package/api/resources/entitlements/types/CountFeatureUsersParams.d.ts +14 -0
  448. package/api/resources/entitlements/types/CountFeatureUsersParams.js +5 -0
  449. package/api/resources/entitlements/types/CountFeatureUsersResponse.d.ts +9 -0
  450. package/api/resources/entitlements/types/CountFeatureUsersResponse.js +5 -0
  451. package/api/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +18 -0
  452. package/api/resources/entitlements/types/CountPlanEntitlementsParams.js +5 -0
  453. package/api/resources/entitlements/types/CountPlanEntitlementsResponse.d.ts +9 -0
  454. package/api/resources/entitlements/types/CountPlanEntitlementsResponse.js +5 -0
  455. package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +9 -0
  456. package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.js +11 -0
  457. package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +10 -0
  458. package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js +12 -0
  459. package/api/resources/entitlements/types/CreateCompanyOverrideResponse.d.ts +9 -0
  460. package/api/resources/entitlements/types/CreateCompanyOverrideResponse.js +5 -0
  461. package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +9 -0
  462. package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.js +11 -0
  463. package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +10 -0
  464. package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js +12 -0
  465. package/api/resources/entitlements/types/CreatePlanEntitlementResponse.d.ts +9 -0
  466. package/api/resources/entitlements/types/CreatePlanEntitlementResponse.js +5 -0
  467. package/api/resources/entitlements/types/DeleteCompanyOverrideResponse.d.ts +9 -0
  468. package/api/resources/entitlements/types/DeleteCompanyOverrideResponse.js +5 -0
  469. package/api/resources/entitlements/types/DeletePlanEntitlementResponse.d.ts +9 -0
  470. package/api/resources/entitlements/types/DeletePlanEntitlementResponse.js +5 -0
  471. package/api/resources/entitlements/types/GetCompanyOverrideResponse.d.ts +9 -0
  472. package/api/resources/entitlements/types/GetCompanyOverrideResponse.js +5 -0
  473. package/api/resources/entitlements/types/GetFeatureUsageByCompanyParams.d.ts +9 -0
  474. package/api/resources/entitlements/types/GetFeatureUsageByCompanyParams.js +5 -0
  475. package/api/resources/entitlements/types/GetFeatureUsageByCompanyResponse.d.ts +9 -0
  476. package/api/resources/entitlements/types/GetFeatureUsageByCompanyResponse.js +5 -0
  477. package/api/resources/entitlements/types/GetPlanEntitlementResponse.d.ts +9 -0
  478. package/api/resources/entitlements/types/GetPlanEntitlementResponse.js +5 -0
  479. package/api/resources/entitlements/types/ListCompanyOverridesParams.d.ts +18 -0
  480. package/api/resources/entitlements/types/ListCompanyOverridesParams.js +5 -0
  481. package/api/resources/entitlements/types/ListCompanyOverridesResponse.d.ts +10 -0
  482. package/api/resources/entitlements/types/ListCompanyOverridesResponse.js +5 -0
  483. package/api/resources/entitlements/types/ListFeatureCompaniesParams.d.ts +14 -0
  484. package/api/resources/entitlements/types/ListFeatureCompaniesParams.js +5 -0
  485. package/api/resources/entitlements/types/ListFeatureCompaniesResponse.d.ts +10 -0
  486. package/api/resources/entitlements/types/ListFeatureCompaniesResponse.js +5 -0
  487. package/api/resources/entitlements/types/ListFeatureUsageParams.d.ts +16 -0
  488. package/api/resources/entitlements/types/ListFeatureUsageParams.js +5 -0
  489. package/api/resources/entitlements/types/ListFeatureUsageResponse.d.ts +10 -0
  490. package/api/resources/entitlements/types/ListFeatureUsageResponse.js +5 -0
  491. package/api/resources/entitlements/types/ListFeatureUsersParams.d.ts +14 -0
  492. package/api/resources/entitlements/types/ListFeatureUsersParams.js +5 -0
  493. package/api/resources/entitlements/types/ListFeatureUsersResponse.d.ts +10 -0
  494. package/api/resources/entitlements/types/ListFeatureUsersResponse.js +5 -0
  495. package/api/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +18 -0
  496. package/api/resources/entitlements/types/ListPlanEntitlementsParams.js +5 -0
  497. package/api/resources/entitlements/types/ListPlanEntitlementsResponse.d.ts +10 -0
  498. package/api/resources/entitlements/types/ListPlanEntitlementsResponse.js +5 -0
  499. package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +9 -0
  500. package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.js +11 -0
  501. package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +10 -0
  502. package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js +12 -0
  503. package/api/resources/entitlements/types/UpdateCompanyOverrideResponse.d.ts +9 -0
  504. package/api/resources/entitlements/types/UpdateCompanyOverrideResponse.js +5 -0
  505. package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +9 -0
  506. package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.js +11 -0
  507. package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +10 -0
  508. package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js +12 -0
  509. package/api/resources/entitlements/types/UpdatePlanEntitlementResponse.d.ts +9 -0
  510. package/api/resources/entitlements/types/UpdatePlanEntitlementResponse.js +5 -0
  511. package/api/resources/entitlements/types/index.d.ts +38 -0
  512. package/api/resources/entitlements/types/index.js +54 -0
  513. package/api/resources/events/client/Client.d.ts +137 -0
  514. package/api/resources/events/client/Client.js +878 -0
  515. package/api/resources/events/client/index.d.ts +1 -0
  516. package/api/resources/events/client/index.js +17 -0
  517. package/api/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +15 -0
  518. package/api/resources/events/client/requests/CreateEventBatchRequestBody.js +5 -0
  519. package/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +19 -0
  520. package/api/resources/events/client/requests/GetEventSummariesRequest.js +5 -0
  521. package/api/resources/events/client/requests/ListEventsRequest.d.ts +22 -0
  522. package/api/resources/events/client/requests/ListEventsRequest.js +5 -0
  523. package/api/resources/events/client/requests/ListMetricCountsRequest.d.ts +25 -0
  524. package/api/resources/events/client/requests/ListMetricCountsRequest.js +5 -0
  525. package/api/resources/events/client/requests/index.d.ts +4 -0
  526. package/api/resources/events/client/requests/index.js +2 -0
  527. package/api/resources/events/index.d.ts +2 -0
  528. package/api/resources/events/index.js +18 -0
  529. package/api/resources/events/types/CreateEventBatchResponse.d.ts +9 -0
  530. package/api/resources/events/types/CreateEventBatchResponse.js +5 -0
  531. package/api/resources/events/types/CreateEventResponse.d.ts +9 -0
  532. package/api/resources/events/types/CreateEventResponse.js +5 -0
  533. package/api/resources/events/types/GetEventResponse.d.ts +9 -0
  534. package/api/resources/events/types/GetEventResponse.js +5 -0
  535. package/api/resources/events/types/GetEventSummariesParams.d.ts +14 -0
  536. package/api/resources/events/types/GetEventSummariesParams.js +5 -0
  537. package/api/resources/events/types/GetEventSummariesResponse.d.ts +10 -0
  538. package/api/resources/events/types/GetEventSummariesResponse.js +5 -0
  539. package/api/resources/events/types/GetEventSummaryBySubtypeResponse.d.ts +9 -0
  540. package/api/resources/events/types/GetEventSummaryBySubtypeResponse.js +5 -0
  541. package/api/resources/events/types/GetSegmentIntegrationStatusResponse.d.ts +9 -0
  542. package/api/resources/events/types/GetSegmentIntegrationStatusResponse.js +5 -0
  543. package/api/resources/events/types/ListEventsParams.d.ts +17 -0
  544. package/api/resources/events/types/ListEventsParams.js +5 -0
  545. package/api/resources/events/types/ListEventsResponse.d.ts +10 -0
  546. package/api/resources/events/types/ListEventsResponse.js +5 -0
  547. package/api/resources/events/types/ListMetricCountsParams.d.ts +20 -0
  548. package/api/resources/events/types/ListMetricCountsParams.js +5 -0
  549. package/api/resources/events/types/ListMetricCountsResponse.d.ts +10 -0
  550. package/api/resources/events/types/ListMetricCountsResponse.js +5 -0
  551. package/api/resources/events/types/index.d.ts +11 -0
  552. package/api/resources/events/types/index.js +27 -0
  553. package/api/resources/features/client/Client.d.ts +368 -0
  554. package/api/resources/features/client/Client.js +1995 -0
  555. package/api/resources/features/client/index.d.ts +1 -0
  556. package/api/resources/features/client/index.js +17 -0
  557. package/api/resources/features/client/requests/CountFeaturesRequest.d.ts +27 -0
  558. package/api/resources/features/client/requests/CountFeaturesRequest.js +5 -0
  559. package/api/resources/features/client/requests/CountFlagsRequest.d.ts +20 -0
  560. package/api/resources/features/client/requests/CountFlagsRequest.js +5 -0
  561. package/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +23 -0
  562. package/api/resources/features/client/requests/CreateFeatureRequestBody.js +5 -0
  563. package/api/resources/features/client/requests/ListFeaturesRequest.d.ts +27 -0
  564. package/api/resources/features/client/requests/ListFeaturesRequest.js +5 -0
  565. package/api/resources/features/client/requests/ListFlagsRequest.d.ts +20 -0
  566. package/api/resources/features/client/requests/ListFlagsRequest.js +5 -0
  567. package/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +19 -0
  568. package/api/resources/features/client/requests/UpdateFeatureRequestBody.js +5 -0
  569. package/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +29 -0
  570. package/api/resources/features/client/requests/UpdateFlagRulesRequestBody.js +5 -0
  571. package/api/resources/features/client/requests/index.d.ts +7 -0
  572. package/api/resources/features/client/requests/index.js +2 -0
  573. package/api/resources/features/index.d.ts +2 -0
  574. package/api/resources/features/index.js +18 -0
  575. package/api/resources/features/types/CheckFlagResponse.d.ts +9 -0
  576. package/api/resources/features/types/CheckFlagResponse.js +5 -0
  577. package/api/resources/features/types/CheckFlagsResponse.d.ts +9 -0
  578. package/api/resources/features/types/CheckFlagsResponse.js +5 -0
  579. package/api/resources/features/types/CountAudienceCompaniesResponse.d.ts +9 -0
  580. package/api/resources/features/types/CountAudienceCompaniesResponse.js +5 -0
  581. package/api/resources/features/types/CountAudienceUsersResponse.d.ts +9 -0
  582. package/api/resources/features/types/CountAudienceUsersResponse.js +5 -0
  583. package/api/resources/features/types/CountFeaturesParams.d.ts +18 -0
  584. package/api/resources/features/types/CountFeaturesParams.js +5 -0
  585. package/api/resources/features/types/CountFeaturesResponse.d.ts +9 -0
  586. package/api/resources/features/types/CountFeaturesResponse.js +5 -0
  587. package/api/resources/features/types/CountFlagsParams.d.ts +15 -0
  588. package/api/resources/features/types/CountFlagsParams.js +5 -0
  589. package/api/resources/features/types/CountFlagsResponse.d.ts +9 -0
  590. package/api/resources/features/types/CountFlagsResponse.js +5 -0
  591. package/api/resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts +9 -0
  592. package/api/resources/features/types/CreateFeatureRequestBodyFeatureType.js +11 -0
  593. package/api/resources/features/types/CreateFeatureResponse.d.ts +9 -0
  594. package/api/resources/features/types/CreateFeatureResponse.js +5 -0
  595. package/api/resources/features/types/CreateFlagResponse.d.ts +9 -0
  596. package/api/resources/features/types/CreateFlagResponse.js +5 -0
  597. package/api/resources/features/types/DeleteFeatureResponse.d.ts +9 -0
  598. package/api/resources/features/types/DeleteFeatureResponse.js +5 -0
  599. package/api/resources/features/types/DeleteFlagResponse.d.ts +9 -0
  600. package/api/resources/features/types/DeleteFlagResponse.js +5 -0
  601. package/api/resources/features/types/GetFeatureResponse.d.ts +9 -0
  602. package/api/resources/features/types/GetFeatureResponse.js +5 -0
  603. package/api/resources/features/types/GetFlagResponse.d.ts +9 -0
  604. package/api/resources/features/types/GetFlagResponse.js +5 -0
  605. package/api/resources/features/types/ListAudienceCompaniesResponse.d.ts +10 -0
  606. package/api/resources/features/types/ListAudienceCompaniesResponse.js +5 -0
  607. package/api/resources/features/types/ListAudienceUsersResponse.d.ts +10 -0
  608. package/api/resources/features/types/ListAudienceUsersResponse.js +5 -0
  609. package/api/resources/features/types/ListFeaturesParams.d.ts +18 -0
  610. package/api/resources/features/types/ListFeaturesParams.js +5 -0
  611. package/api/resources/features/types/ListFeaturesResponse.d.ts +10 -0
  612. package/api/resources/features/types/ListFeaturesResponse.js +5 -0
  613. package/api/resources/features/types/ListFlagsParams.d.ts +15 -0
  614. package/api/resources/features/types/ListFlagsParams.js +5 -0
  615. package/api/resources/features/types/ListFlagsResponse.d.ts +10 -0
  616. package/api/resources/features/types/ListFlagsResponse.js +5 -0
  617. package/api/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +9 -0
  618. package/api/resources/features/types/UpdateFeatureRequestBodyFeatureType.js +11 -0
  619. package/api/resources/features/types/UpdateFeatureResponse.d.ts +9 -0
  620. package/api/resources/features/types/UpdateFeatureResponse.js +5 -0
  621. package/api/resources/features/types/UpdateFlagResponse.d.ts +9 -0
  622. package/api/resources/features/types/UpdateFlagResponse.js +5 -0
  623. package/api/resources/features/types/UpdateFlagRulesResponse.d.ts +9 -0
  624. package/api/resources/features/types/UpdateFlagRulesResponse.js +5 -0
  625. package/api/resources/features/types/index.d.ts +25 -0
  626. package/api/resources/features/types/index.js +41 -0
  627. package/api/resources/index.d.ts +33 -0
  628. package/api/resources/index.js +62 -0
  629. package/api/resources/plans/client/Client.d.ts +186 -0
  630. package/api/resources/plans/client/Client.js +1067 -0
  631. package/api/resources/plans/client/index.d.ts +1 -0
  632. package/api/resources/plans/client/index.js +17 -0
  633. package/api/resources/plans/client/requests/CountPlansRequest.d.ts +24 -0
  634. package/api/resources/plans/client/requests/CountPlansRequest.js +5 -0
  635. package/api/resources/plans/client/requests/CreatePlanRequestBody.d.ts +19 -0
  636. package/api/resources/plans/client/requests/CreatePlanRequestBody.js +5 -0
  637. package/api/resources/plans/client/requests/ListPlansRequest.d.ts +24 -0
  638. package/api/resources/plans/client/requests/ListPlansRequest.js +5 -0
  639. package/api/resources/plans/client/requests/UpdateAudienceRequestBody.d.ts +25 -0
  640. package/api/resources/plans/client/requests/UpdateAudienceRequestBody.js +5 -0
  641. package/api/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +16 -0
  642. package/api/resources/plans/client/requests/UpdatePlanRequestBody.js +5 -0
  643. package/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +14 -0
  644. package/api/resources/plans/client/requests/UpsertBillingProductRequestBody.js +5 -0
  645. package/api/resources/plans/client/requests/index.d.ts +6 -0
  646. package/api/resources/plans/client/requests/index.js +2 -0
  647. package/api/resources/plans/index.d.ts +2 -0
  648. package/api/resources/plans/index.js +18 -0
  649. package/api/resources/plans/types/CountPlansParams.d.ts +17 -0
  650. package/api/resources/plans/types/CountPlansParams.js +5 -0
  651. package/api/resources/plans/types/CountPlansResponse.d.ts +9 -0
  652. package/api/resources/plans/types/CountPlansResponse.js +5 -0
  653. package/api/resources/plans/types/CreatePlanRequestBodyPlanType.d.ts +8 -0
  654. package/api/resources/plans/types/CreatePlanRequestBodyPlanType.js +10 -0
  655. package/api/resources/plans/types/CreatePlanResponse.d.ts +9 -0
  656. package/api/resources/plans/types/CreatePlanResponse.js +5 -0
  657. package/api/resources/plans/types/DeleteAudienceResponse.d.ts +9 -0
  658. package/api/resources/plans/types/DeleteAudienceResponse.js +5 -0
  659. package/api/resources/plans/types/DeletePlanResponse.d.ts +9 -0
  660. package/api/resources/plans/types/DeletePlanResponse.js +5 -0
  661. package/api/resources/plans/types/GetAudienceResponse.d.ts +9 -0
  662. package/api/resources/plans/types/GetAudienceResponse.js +5 -0
  663. package/api/resources/plans/types/GetPlanResponse.d.ts +9 -0
  664. package/api/resources/plans/types/GetPlanResponse.js +5 -0
  665. package/api/resources/plans/types/ListPlansParams.d.ts +17 -0
  666. package/api/resources/plans/types/ListPlansParams.js +5 -0
  667. package/api/resources/plans/types/ListPlansResponse.d.ts +10 -0
  668. package/api/resources/plans/types/ListPlansResponse.js +5 -0
  669. package/api/resources/plans/types/UpdateAudienceResponse.d.ts +9 -0
  670. package/api/resources/plans/types/UpdateAudienceResponse.js +5 -0
  671. package/api/resources/plans/types/UpdatePlanResponse.d.ts +9 -0
  672. package/api/resources/plans/types/UpdatePlanResponse.js +5 -0
  673. package/api/resources/plans/types/UpsertBillingProductPlanResponse.d.ts +9 -0
  674. package/api/resources/plans/types/UpsertBillingProductPlanResponse.js +5 -0
  675. package/api/resources/plans/types/index.d.ts +13 -0
  676. package/api/resources/plans/types/index.js +29 -0
  677. package/api/resources/webhooks/client/Client.d.ts +151 -0
  678. package/api/resources/webhooks/client/Client.js +955 -0
  679. package/api/resources/webhooks/client/index.d.ts +1 -0
  680. package/api/resources/webhooks/client/index.js +17 -0
  681. package/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +20 -0
  682. package/api/resources/webhooks/client/requests/CountWebhookEventsRequest.js +5 -0
  683. package/api/resources/webhooks/client/requests/CountWebhooksRequest.d.ts +18 -0
  684. package/api/resources/webhooks/client/requests/CountWebhooksRequest.js +5 -0
  685. package/api/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +17 -0
  686. package/api/resources/webhooks/client/requests/CreateWebhookRequestBody.js +5 -0
  687. package/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +20 -0
  688. package/api/resources/webhooks/client/requests/ListWebhookEventsRequest.js +5 -0
  689. package/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +18 -0
  690. package/api/resources/webhooks/client/requests/ListWebhooksRequest.js +5 -0
  691. package/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +14 -0
  692. package/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.js +5 -0
  693. package/api/resources/webhooks/client/requests/index.d.ts +6 -0
  694. package/api/resources/webhooks/client/requests/index.js +2 -0
  695. package/api/resources/webhooks/index.d.ts +2 -0
  696. package/api/resources/webhooks/index.js +18 -0
  697. package/api/resources/webhooks/types/CountWebhookEventsParams.d.ts +15 -0
  698. package/api/resources/webhooks/types/CountWebhookEventsParams.js +5 -0
  699. package/api/resources/webhooks/types/CountWebhookEventsResponse.d.ts +9 -0
  700. package/api/resources/webhooks/types/CountWebhookEventsResponse.js +5 -0
  701. package/api/resources/webhooks/types/CountWebhooksParams.d.ts +13 -0
  702. package/api/resources/webhooks/types/CountWebhooksParams.js +5 -0
  703. package/api/resources/webhooks/types/CountWebhooksResponse.d.ts +9 -0
  704. package/api/resources/webhooks/types/CountWebhooksResponse.js +5 -0
  705. package/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +29 -0
  706. package/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +31 -0
  707. package/api/resources/webhooks/types/CreateWebhookResponse.d.ts +9 -0
  708. package/api/resources/webhooks/types/CreateWebhookResponse.js +5 -0
  709. package/api/resources/webhooks/types/DeleteWebhookResponse.d.ts +9 -0
  710. package/api/resources/webhooks/types/DeleteWebhookResponse.js +5 -0
  711. package/api/resources/webhooks/types/GetWebhookEventResponse.d.ts +9 -0
  712. package/api/resources/webhooks/types/GetWebhookEventResponse.js +5 -0
  713. package/api/resources/webhooks/types/GetWebhookResponse.d.ts +9 -0
  714. package/api/resources/webhooks/types/GetWebhookResponse.js +5 -0
  715. package/api/resources/webhooks/types/ListWebhookEventsParams.d.ts +15 -0
  716. package/api/resources/webhooks/types/ListWebhookEventsParams.js +5 -0
  717. package/api/resources/webhooks/types/ListWebhookEventsResponse.d.ts +10 -0
  718. package/api/resources/webhooks/types/ListWebhookEventsResponse.js +5 -0
  719. package/api/resources/webhooks/types/ListWebhooksParams.d.ts +13 -0
  720. package/api/resources/webhooks/types/ListWebhooksParams.js +5 -0
  721. package/api/resources/webhooks/types/ListWebhooksResponse.d.ts +10 -0
  722. package/api/resources/webhooks/types/ListWebhooksResponse.js +5 -0
  723. package/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +29 -0
  724. package/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +31 -0
  725. package/api/resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts +8 -0
  726. package/api/resources/webhooks/types/UpdateWebhookRequestBodyStatus.js +10 -0
  727. package/api/resources/webhooks/types/UpdateWebhookResponse.d.ts +9 -0
  728. package/api/resources/webhooks/types/UpdateWebhookResponse.js +5 -0
  729. package/api/resources/webhooks/types/index.d.ts +16 -0
  730. package/api/resources/webhooks/types/index.js +32 -0
  731. package/api/types/ApiError.d.ts +7 -0
  732. package/api/types/ApiError.js +5 -0
  733. package/api/types/ApiKeyCreateResponseData.d.ts +17 -0
  734. package/api/types/ApiKeyCreateResponseData.js +5 -0
  735. package/api/types/ApiKeyRequestListResponseData.d.ts +21 -0
  736. package/api/types/ApiKeyRequestListResponseData.js +5 -0
  737. package/api/types/ApiKeyRequestResponseData.d.ts +27 -0
  738. package/api/types/ApiKeyRequestResponseData.js +5 -0
  739. package/api/types/ApiKeyResponseData.d.ts +16 -0
  740. package/api/types/ApiKeyResponseData.js +5 -0
  741. package/api/types/AudienceRequestBody.d.ts +13 -0
  742. package/api/types/AudienceRequestBody.js +5 -0
  743. package/api/types/BillingCustomerResponseData.d.ts +16 -0
  744. package/api/types/BillingCustomerResponseData.js +5 -0
  745. package/api/types/BillingCustomerSubscription.d.ts +7 -0
  746. package/api/types/BillingCustomerSubscription.js +5 -0
  747. package/api/types/BillingCustomerWithSubscriptionsResponseData.d.ts +15 -0
  748. package/api/types/BillingCustomerWithSubscriptionsResponseData.js +5 -0
  749. package/api/types/BillingPriceResponseData.d.ts +9 -0
  750. package/api/types/BillingPriceResponseData.js +5 -0
  751. package/api/types/BillingProductDetailResponseData.d.ts +17 -0
  752. package/api/types/BillingProductDetailResponseData.js +5 -0
  753. package/api/types/BillingProductPlanResponseData.d.ts +14 -0
  754. package/api/types/BillingProductPlanResponseData.js +5 -0
  755. package/api/types/BillingProductPricing.d.ts +7 -0
  756. package/api/types/BillingProductPricing.js +5 -0
  757. package/api/types/BillingProductResponseData.d.ts +15 -0
  758. package/api/types/BillingProductResponseData.js +5 -0
  759. package/api/types/BillingSubscriptionResponseData.d.ts +12 -0
  760. package/api/types/BillingSubscriptionResponseData.js +5 -0
  761. package/api/types/CheckFlagOutputWithFlagKey.d.ts +12 -0
  762. package/api/types/CheckFlagOutputWithFlagKey.js +5 -0
  763. package/api/types/CheckFlagRequestBody.d.ts +7 -0
  764. package/api/types/CheckFlagRequestBody.js +5 -0
  765. package/api/types/CheckFlagResponseData.d.ts +14 -0
  766. package/api/types/CheckFlagResponseData.js +5 -0
  767. package/api/types/CheckFlagsResponseData.d.ts +10 -0
  768. package/api/types/CheckFlagsResponseData.js +5 -0
  769. package/api/types/CompanyCrmDealsResponseData.d.ts +11 -0
  770. package/api/types/CompanyCrmDealsResponseData.js +5 -0
  771. package/api/types/CompanyDetailResponseData.d.ts +21 -0
  772. package/api/types/CompanyDetailResponseData.js +5 -0
  773. package/api/types/CompanyMembershipDetailResponseData.d.ts +12 -0
  774. package/api/types/CompanyMembershipDetailResponseData.js +5 -0
  775. package/api/types/CompanyMembershipResponseData.d.ts +10 -0
  776. package/api/types/CompanyMembershipResponseData.js +5 -0
  777. package/api/types/CompanyOverrideResponseData.d.ts +24 -0
  778. package/api/types/CompanyOverrideResponseData.js +5 -0
  779. package/api/types/CompanyPlanResponseData.d.ts +11 -0
  780. package/api/types/CompanyPlanResponseData.js +5 -0
  781. package/api/types/CompanyResponseData.d.ts +12 -0
  782. package/api/types/CompanyResponseData.js +5 -0
  783. package/api/types/CompanySubscriptionResponseData.d.ts +11 -0
  784. package/api/types/CompanySubscriptionResponseData.js +5 -0
  785. package/api/types/ComponentHydrateResponseData.d.ts +12 -0
  786. package/api/types/ComponentHydrateResponseData.js +5 -0
  787. package/api/types/ComponentResponseData.d.ts +12 -0
  788. package/api/types/ComponentResponseData.js +5 -0
  789. package/api/types/CountResponse.d.ts +9 -0
  790. package/api/types/CountResponse.js +5 -0
  791. package/api/types/CreateEventRequestBody.d.ts +11 -0
  792. package/api/types/CreateEventRequestBody.js +5 -0
  793. package/api/types/CreateEventRequestBodyEventType.d.ts +12 -0
  794. package/api/types/CreateEventRequestBodyEventType.js +11 -0
  795. package/api/types/CreateFlagRequestBody.d.ts +12 -0
  796. package/api/types/CreateFlagRequestBody.js +5 -0
  797. package/api/types/CreateOrUpdateConditionGroupRequestBody.d.ts +10 -0
  798. package/api/types/CreateOrUpdateConditionGroupRequestBody.js +5 -0
  799. package/api/types/CreateOrUpdateConditionRequestBody.d.ts +23 -0
  800. package/api/types/CreateOrUpdateConditionRequestBody.js +5 -0
  801. package/api/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +13 -0
  802. package/api/types/CreateOrUpdateConditionRequestBodyConditionType.js +15 -0
  803. package/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +12 -0
  804. package/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.js +11 -0
  805. package/api/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +12 -0
  806. package/api/types/CreateOrUpdateConditionRequestBodyOperator.js +14 -0
  807. package/api/types/CreateOrUpdateFlagRequestBody.d.ts +13 -0
  808. package/api/types/CreateOrUpdateFlagRequestBody.js +5 -0
  809. package/api/types/CreateOrUpdateRuleRequestBody.d.ts +13 -0
  810. package/api/types/CreateOrUpdateRuleRequestBody.js +5 -0
  811. package/api/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +12 -0
  812. package/api/types/CreateOrUpdateRuleRequestBodyRuleType.js +14 -0
  813. package/api/types/CreateReqCommon.d.ts +12 -0
  814. package/api/types/CreateReqCommon.js +5 -0
  815. package/api/types/CreateReqCommonMetricPeriod.d.ts +9 -0
  816. package/api/types/CreateReqCommonMetricPeriod.js +11 -0
  817. package/api/types/CreateReqCommonValueType.d.ts +10 -0
  818. package/api/types/CreateReqCommonValueType.js +12 -0
  819. package/api/types/CrmDealLineItem.d.ts +18 -0
  820. package/api/types/CrmDealLineItem.js +5 -0
  821. package/api/types/CrmDealResponseData.d.ts +19 -0
  822. package/api/types/CrmDealResponseData.js +5 -0
  823. package/api/types/CrmLineItemResponseData.d.ts +14 -0
  824. package/api/types/CrmLineItemResponseData.js +5 -0
  825. package/api/types/CrmProductResponseData.d.ts +18 -0
  826. package/api/types/CrmProductResponseData.js +5 -0
  827. package/api/types/Decimal.d.ts +4 -0
  828. package/api/types/Decimal.js +5 -0
  829. package/api/types/DeleteResponse.d.ts +7 -0
  830. package/api/types/DeleteResponse.js +5 -0
  831. package/api/types/EntityKeyDefinitionResponseData.d.ts +10 -0
  832. package/api/types/EntityKeyDefinitionResponseData.js +5 -0
  833. package/api/types/EntityKeyDetailResponseData.d.ts +16 -0
  834. package/api/types/EntityKeyDetailResponseData.js +5 -0
  835. package/api/types/EntityKeyResponseData.d.ts +14 -0
  836. package/api/types/EntityKeyResponseData.js +5 -0
  837. package/api/types/EntityTraitDefinitionResponseData.d.ts +12 -0
  838. package/api/types/EntityTraitDefinitionResponseData.js +5 -0
  839. package/api/types/EntityTraitDetailResponseData.d.ts +13 -0
  840. package/api/types/EntityTraitDetailResponseData.js +5 -0
  841. package/api/types/EntityTraitResponseData.d.ts +11 -0
  842. package/api/types/EntityTraitResponseData.js +5 -0
  843. package/api/types/EntityTraitValue.d.ts +7 -0
  844. package/api/types/EntityTraitValue.js +5 -0
  845. package/api/types/EnvironmentDetailResponseData.d.ts +15 -0
  846. package/api/types/EnvironmentDetailResponseData.js +5 -0
  847. package/api/types/EnvironmentResponseData.d.ts +13 -0
  848. package/api/types/EnvironmentResponseData.js +5 -0
  849. package/api/types/EventBody.d.ts +5 -0
  850. package/api/types/EventBody.js +5 -0
  851. package/api/types/EventBodyFlagCheck.d.ts +25 -0
  852. package/api/types/EventBodyFlagCheck.js +5 -0
  853. package/api/types/EventBodyIdentify.d.ts +14 -0
  854. package/api/types/EventBodyIdentify.js +5 -0
  855. package/api/types/EventBodyIdentifyCompany.d.ts +14 -0
  856. package/api/types/EventBodyIdentifyCompany.js +5 -0
  857. package/api/types/EventBodyTrack.d.ts +13 -0
  858. package/api/types/EventBodyTrack.js +5 -0
  859. package/api/types/EventDetailResponseData.d.ts +27 -0
  860. package/api/types/EventDetailResponseData.js +5 -0
  861. package/api/types/EventResponseData.d.ts +23 -0
  862. package/api/types/EventResponseData.js +5 -0
  863. package/api/types/EventSummaryResponseData.d.ts +11 -0
  864. package/api/types/EventSummaryResponseData.js +5 -0
  865. package/api/types/FeatureCompanyResponseData.d.ts +21 -0
  866. package/api/types/FeatureCompanyResponseData.js +5 -0
  867. package/api/types/FeatureCompanyResponseDataAllocationType.d.ts +13 -0
  868. package/api/types/FeatureCompanyResponseDataAllocationType.js +12 -0
  869. package/api/types/FeatureCompanyUserResponseData.d.ts +22 -0
  870. package/api/types/FeatureCompanyUserResponseData.js +5 -0
  871. package/api/types/FeatureCompanyUserResponseDataAllocationType.d.ts +13 -0
  872. package/api/types/FeatureCompanyUserResponseDataAllocationType.js +12 -0
  873. package/api/types/FeatureDetailResponseData.d.ts +21 -0
  874. package/api/types/FeatureDetailResponseData.js +5 -0
  875. package/api/types/FeatureResponseData.d.ts +16 -0
  876. package/api/types/FeatureResponseData.js +5 -0
  877. package/api/types/FeatureUsageDetailResponseData.d.ts +7 -0
  878. package/api/types/FeatureUsageDetailResponseData.js +5 -0
  879. package/api/types/FeatureUsageResponseData.d.ts +20 -0
  880. package/api/types/FeatureUsageResponseData.js +5 -0
  881. package/api/types/FeatureUsageResponseDataAllocationType.d.ts +13 -0
  882. package/api/types/FeatureUsageResponseDataAllocationType.js +12 -0
  883. package/api/types/FlagDetailResponseData.d.ts +19 -0
  884. package/api/types/FlagDetailResponseData.js +5 -0
  885. package/api/types/FlagResponseData.d.ts +15 -0
  886. package/api/types/FlagResponseData.js +5 -0
  887. package/api/types/IssueTemporaryAccessTokenResponseData.d.ts +16 -0
  888. package/api/types/IssueTemporaryAccessTokenResponseData.js +5 -0
  889. package/api/types/KeysRequestBody.d.ts +6 -0
  890. package/api/types/KeysRequestBody.js +5 -0
  891. package/api/types/MetricCountsHourlyResponseData.d.ts +12 -0
  892. package/api/types/MetricCountsHourlyResponseData.js +5 -0
  893. package/api/types/PaginationFilter.d.ts +9 -0
  894. package/api/types/PaginationFilter.js +5 -0
  895. package/api/types/PlanAudienceDetailResponseData.d.ts +21 -0
  896. package/api/types/PlanAudienceDetailResponseData.js +5 -0
  897. package/api/types/PlanAudienceResponseData.d.ts +15 -0
  898. package/api/types/PlanAudienceResponseData.js +5 -0
  899. package/api/types/PlanDetailResponseData.d.ts +20 -0
  900. package/api/types/PlanDetailResponseData.js +5 -0
  901. package/api/types/PlanEntitlementResponseData.d.ts +24 -0
  902. package/api/types/PlanEntitlementResponseData.js +5 -0
  903. package/api/types/PlanResponseData.d.ts +13 -0
  904. package/api/types/PlanResponseData.js +5 -0
  905. package/api/types/PreviewObject.d.ts +9 -0
  906. package/api/types/PreviewObject.js +5 -0
  907. package/api/types/RawEventBatchResponseData.d.ts +10 -0
  908. package/api/types/RawEventBatchResponseData.js +5 -0
  909. package/api/types/RawEventResponseData.d.ts +10 -0
  910. package/api/types/RawEventResponseData.js +5 -0
  911. package/api/types/RuleConditionDetailResponseData.d.ts +27 -0
  912. package/api/types/RuleConditionDetailResponseData.js +5 -0
  913. package/api/types/RuleConditionGroupDetailResponseData.d.ts +14 -0
  914. package/api/types/RuleConditionGroupDetailResponseData.js +5 -0
  915. package/api/types/RuleConditionGroupResponseData.d.ts +12 -0
  916. package/api/types/RuleConditionGroupResponseData.js +5 -0
  917. package/api/types/RuleConditionResourceResponseData.d.ts +7 -0
  918. package/api/types/RuleConditionResourceResponseData.js +5 -0
  919. package/api/types/RuleConditionResponseData.d.ts +23 -0
  920. package/api/types/RuleConditionResponseData.js +5 -0
  921. package/api/types/RuleDetailResponseData.d.ts +18 -0
  922. package/api/types/RuleDetailResponseData.js +5 -0
  923. package/api/types/RuleResponseData.d.ts +15 -0
  924. package/api/types/RuleResponseData.js +5 -0
  925. package/api/types/RulesDetailResponseData.d.ts +11 -0
  926. package/api/types/RulesDetailResponseData.js +5 -0
  927. package/api/types/SegmentStatusResp.d.ts +11 -0
  928. package/api/types/SegmentStatusResp.js +5 -0
  929. package/api/types/TemporaryAccessTokenResponseData.d.ts +12 -0
  930. package/api/types/TemporaryAccessTokenResponseData.js +5 -0
  931. package/api/types/UpdateReqCommon.d.ts +11 -0
  932. package/api/types/UpdateReqCommon.js +5 -0
  933. package/api/types/UpdateReqCommonMetricPeriod.d.ts +9 -0
  934. package/api/types/UpdateReqCommonMetricPeriod.js +11 -0
  935. package/api/types/UpdateReqCommonValueType.d.ts +10 -0
  936. package/api/types/UpdateReqCommonValueType.js +12 -0
  937. package/api/types/UpdateRuleRequestBody.d.ts +11 -0
  938. package/api/types/UpdateRuleRequestBody.js +5 -0
  939. package/api/types/UpsertCompanyRequestBody.d.ts +13 -0
  940. package/api/types/UpsertCompanyRequestBody.js +5 -0
  941. package/api/types/UpsertTraitRequestBody.d.ts +15 -0
  942. package/api/types/UpsertTraitRequestBody.js +5 -0
  943. package/api/types/UpsertUserRequestBody.d.ts +17 -0
  944. package/api/types/UpsertUserRequestBody.js +5 -0
  945. package/api/types/UpsertUserSubRequestBody.d.ts +15 -0
  946. package/api/types/UpsertUserSubRequestBody.js +5 -0
  947. package/api/types/UserDetailResponseData.d.ts +17 -0
  948. package/api/types/UserDetailResponseData.js +5 -0
  949. package/api/types/UserResponseData.d.ts +11 -0
  950. package/api/types/UserResponseData.js +5 -0
  951. package/api/types/WebhookEventDetailResponseData.d.ts +16 -0
  952. package/api/types/WebhookEventDetailResponseData.js +5 -0
  953. package/api/types/WebhookEventResponseData.d.ts +14 -0
  954. package/api/types/WebhookEventResponseData.js +5 -0
  955. package/api/types/WebhookResponseData.d.ts +12 -0
  956. package/api/types/WebhookResponseData.js +5 -0
  957. package/api/types/index.d.ts +113 -0
  958. package/api/types/index.js +129 -0
  959. package/cache.d.ts +22 -0
  960. package/cache.js +102 -0
  961. package/cache.test.d.ts +1 -0
  962. package/cache.test.js +87 -0
  963. package/core/fetcher/APIResponse.d.ts +10 -0
  964. package/core/fetcher/APIResponse.js +2 -0
  965. package/core/fetcher/Fetcher.d.ts +39 -0
  966. package/core/fetcher/Fetcher.js +99 -0
  967. package/core/fetcher/Supplier.d.ts +4 -0
  968. package/core/fetcher/Supplier.js +22 -0
  969. package/core/fetcher/createRequestUrl.d.ts +1 -0
  970. package/core/fetcher/createRequestUrl.js +13 -0
  971. package/core/fetcher/custom.d.ts +3 -0
  972. package/core/fetcher/custom.js +115 -0
  973. package/core/fetcher/getFetchFn.d.ts +4 -0
  974. package/core/fetcher/getFetchFn.js +59 -0
  975. package/core/fetcher/getHeader.d.ts +1 -0
  976. package/core/fetcher/getHeader.js +12 -0
  977. package/core/fetcher/getRequestBody.d.ts +7 -0
  978. package/core/fetcher/getRequestBody.js +23 -0
  979. package/core/fetcher/getResponseBody.d.ts +1 -0
  980. package/core/fetcher/getResponseBody.js +52 -0
  981. package/core/fetcher/index.d.ts +5 -0
  982. package/core/fetcher/index.js +9 -0
  983. package/core/fetcher/makeRequest.d.ts +1 -0
  984. package/core/fetcher/makeRequest.js +42 -0
  985. package/core/fetcher/requestWithRetries.d.ts +1 -0
  986. package/core/fetcher/requestWithRetries.js +32 -0
  987. package/core/fetcher/signals.d.ts +12 -0
  988. package/core/fetcher/signals.js +37 -0
  989. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
  990. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +226 -0
  991. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +21 -0
  992. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +108 -0
  993. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +30 -0
  994. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +208 -0
  995. package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +17 -0
  996. package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +50 -0
  997. package/core/index.d.ts +3 -0
  998. package/core/index.js +32 -0
  999. package/core/runtime/index.d.ts +1 -0
  1000. package/core/runtime/index.js +5 -0
  1001. package/core/runtime/runtime.d.ts +9 -0
  1002. package/core/runtime/runtime.js +93 -0
  1003. package/core/schemas/Schema.d.ts +84 -0
  1004. package/core/schemas/Schema.js +21 -0
  1005. package/core/schemas/builders/date/date.d.ts +2 -0
  1006. package/core/schemas/builders/date/date.js +63 -0
  1007. package/core/schemas/builders/date/index.d.ts +1 -0
  1008. package/core/schemas/builders/date/index.js +5 -0
  1009. package/core/schemas/builders/enum/enum.d.ts +2 -0
  1010. package/core/schemas/builders/enum/enum.js +39 -0
  1011. package/core/schemas/builders/enum/index.d.ts +1 -0
  1012. package/core/schemas/builders/enum/index.js +5 -0
  1013. package/core/schemas/builders/index.d.ts +13 -0
  1014. package/core/schemas/builders/index.js +29 -0
  1015. package/core/schemas/builders/lazy/index.d.ts +3 -0
  1016. package/core/schemas/builders/lazy/index.js +7 -0
  1017. package/core/schemas/builders/lazy/lazy.d.ts +5 -0
  1018. package/core/schemas/builders/lazy/lazy.js +25 -0
  1019. package/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
  1020. package/core/schemas/builders/lazy/lazyObject.js +12 -0
  1021. package/core/schemas/builders/list/index.d.ts +1 -0
  1022. package/core/schemas/builders/list/index.js +5 -0
  1023. package/core/schemas/builders/list/list.d.ts +2 -0
  1024. package/core/schemas/builders/list/list.js +55 -0
  1025. package/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
  1026. package/core/schemas/builders/literals/booleanLiteral.js +29 -0
  1027. package/core/schemas/builders/literals/index.d.ts +2 -0
  1028. package/core/schemas/builders/literals/index.js +7 -0
  1029. package/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
  1030. package/core/schemas/builders/literals/stringLiteral.js +29 -0
  1031. package/core/schemas/builders/object/index.d.ts +6 -0
  1032. package/core/schemas/builders/object/index.js +11 -0
  1033. package/core/schemas/builders/object/object.d.ts +3 -0
  1034. package/core/schemas/builders/object/object.js +233 -0
  1035. package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
  1036. package/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
  1037. package/core/schemas/builders/object/property.d.ts +8 -0
  1038. package/core/schemas/builders/object/property.js +16 -0
  1039. package/core/schemas/builders/object/types.d.ts +26 -0
  1040. package/core/schemas/builders/object/types.js +2 -0
  1041. package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
  1042. package/core/schemas/builders/object-like/getObjectLikeUtils.js +54 -0
  1043. package/core/schemas/builders/object-like/index.d.ts +2 -0
  1044. package/core/schemas/builders/object-like/index.js +6 -0
  1045. package/core/schemas/builders/object-like/types.d.ts +7 -0
  1046. package/core/schemas/builders/object-like/types.js +2 -0
  1047. package/core/schemas/builders/primitives/any.d.ts +1 -0
  1048. package/core/schemas/builders/primitives/any.js +6 -0
  1049. package/core/schemas/builders/primitives/boolean.d.ts +1 -0
  1050. package/core/schemas/builders/primitives/boolean.js +25 -0
  1051. package/core/schemas/builders/primitives/index.d.ts +5 -0
  1052. package/core/schemas/builders/primitives/index.js +13 -0
  1053. package/core/schemas/builders/primitives/number.d.ts +1 -0
  1054. package/core/schemas/builders/primitives/number.js +25 -0
  1055. package/core/schemas/builders/primitives/string.d.ts +1 -0
  1056. package/core/schemas/builders/primitives/string.js +25 -0
  1057. package/core/schemas/builders/primitives/unknown.d.ts +1 -0
  1058. package/core/schemas/builders/primitives/unknown.js +6 -0
  1059. package/core/schemas/builders/record/index.d.ts +2 -0
  1060. package/core/schemas/builders/record/index.js +5 -0
  1061. package/core/schemas/builders/record/record.d.ts +3 -0
  1062. package/core/schemas/builders/record/record.js +95 -0
  1063. package/core/schemas/builders/record/types.d.ts +4 -0
  1064. package/core/schemas/builders/record/types.js +2 -0
  1065. package/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
  1066. package/core/schemas/builders/schema-utils/JsonError.js +12 -0
  1067. package/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
  1068. package/core/schemas/builders/schema-utils/ParseError.js +12 -0
  1069. package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
  1070. package/core/schemas/builders/schema-utils/getSchemaUtils.js +82 -0
  1071. package/core/schemas/builders/schema-utils/index.d.ts +4 -0
  1072. package/core/schemas/builders/schema-utils/index.js +11 -0
  1073. package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
  1074. package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
  1075. package/core/schemas/builders/set/index.d.ts +1 -0
  1076. package/core/schemas/builders/set/index.js +5 -0
  1077. package/core/schemas/builders/set/set.d.ts +2 -0
  1078. package/core/schemas/builders/set/set.js +44 -0
  1079. package/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
  1080. package/core/schemas/builders/undiscriminated-union/index.js +5 -0
  1081. package/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
  1082. package/core/schemas/builders/undiscriminated-union/types.js +2 -0
  1083. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
  1084. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +40 -0
  1085. package/core/schemas/builders/union/discriminant.d.ts +5 -0
  1086. package/core/schemas/builders/union/discriminant.js +10 -0
  1087. package/core/schemas/builders/union/index.d.ts +4 -0
  1088. package/core/schemas/builders/union/index.js +7 -0
  1089. package/core/schemas/builders/union/types.d.ts +13 -0
  1090. package/core/schemas/builders/union/types.js +2 -0
  1091. package/core/schemas/builders/union/union.d.ts +4 -0
  1092. package/core/schemas/builders/union/union.js +130 -0
  1093. package/core/schemas/index.d.ts +2 -0
  1094. package/core/schemas/index.js +17 -0
  1095. package/core/schemas/utils/MaybePromise.d.ts +1 -0
  1096. package/core/schemas/utils/MaybePromise.js +2 -0
  1097. package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
  1098. package/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
  1099. package/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
  1100. package/core/schemas/utils/createIdentitySchemaCreator.js +16 -0
  1101. package/core/schemas/utils/entries.d.ts +1 -0
  1102. package/core/schemas/utils/entries.js +7 -0
  1103. package/core/schemas/utils/filterObject.d.ts +1 -0
  1104. package/core/schemas/utils/filterObject.js +14 -0
  1105. package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
  1106. package/core/schemas/utils/getErrorMessageForIncorrectType.js +24 -0
  1107. package/core/schemas/utils/isPlainObject.d.ts +1 -0
  1108. package/core/schemas/utils/isPlainObject.js +18 -0
  1109. package/core/schemas/utils/keys.d.ts +1 -0
  1110. package/core/schemas/utils/keys.js +7 -0
  1111. package/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
  1112. package/core/schemas/utils/maybeSkipValidation.js +28 -0
  1113. package/core/schemas/utils/partition.d.ts +1 -0
  1114. package/core/schemas/utils/partition.js +16 -0
  1115. package/dist/Client.d.ts +57 -0
  1116. package/dist/Client.js +67 -0
  1117. package/dist/api/errors/BadRequestError.d.ts +8 -0
  1118. package/dist/api/errors/BadRequestError.js +41 -0
  1119. package/dist/api/errors/ForbiddenError.d.ts +8 -0
  1120. package/dist/api/errors/ForbiddenError.js +41 -0
  1121. package/dist/api/errors/InternalServerError.d.ts +8 -0
  1122. package/dist/api/errors/InternalServerError.js +41 -0
  1123. package/dist/api/errors/NotFoundError.d.ts +8 -0
  1124. package/dist/api/errors/NotFoundError.js +41 -0
  1125. package/dist/api/errors/UnauthorizedError.d.ts +8 -0
  1126. package/dist/api/errors/UnauthorizedError.js +41 -0
  1127. package/dist/api/errors/index.d.ts +5 -0
  1128. package/dist/api/errors/index.js +21 -0
  1129. package/dist/api/index.d.ts +3 -0
  1130. package/dist/api/index.js +19 -0
  1131. package/dist/api/resources/accesstokens/client/Client.d.ts +46 -0
  1132. package/dist/api/resources/accesstokens/client/Client.js +157 -0
  1133. package/dist/api/resources/accesstokens/client/index.d.ts +1 -0
  1134. package/dist/api/resources/accesstokens/client/index.js +17 -0
  1135. package/dist/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +16 -0
  1136. package/dist/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.js +5 -0
  1137. package/dist/api/resources/accesstokens/client/requests/index.d.ts +1 -0
  1138. package/dist/api/resources/accesstokens/client/requests/index.js +2 -0
  1139. package/dist/api/resources/accesstokens/index.d.ts +2 -0
  1140. package/dist/api/resources/accesstokens/index.js +18 -0
  1141. package/dist/api/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.d.ts +9 -0
  1142. package/dist/api/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.js +5 -0
  1143. package/dist/api/resources/accesstokens/types/index.d.ts +1 -0
  1144. package/dist/api/resources/accesstokens/types/index.js +17 -0
  1145. package/dist/api/resources/accounts/client/Client.d.ts +223 -0
  1146. package/dist/api/resources/accounts/client/Client.js +1431 -0
  1147. package/dist/api/resources/accounts/client/index.d.ts +1 -0
  1148. package/dist/api/resources/accounts/client/index.js +17 -0
  1149. package/dist/api/resources/accounts/client/requests/CountApiKeysRequest.d.ts +21 -0
  1150. package/dist/api/resources/accounts/client/requests/CountApiKeysRequest.js +5 -0
  1151. package/dist/api/resources/accounts/client/requests/CountApiRequestsRequest.d.ts +20 -0
  1152. package/dist/api/resources/accounts/client/requests/CountApiRequestsRequest.js +5 -0
  1153. package/dist/api/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +14 -0
  1154. package/dist/api/resources/accounts/client/requests/CreateApiKeyRequestBody.js +5 -0
  1155. package/dist/api/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +15 -0
  1156. package/dist/api/resources/accounts/client/requests/CreateEnvironmentRequestBody.js +5 -0
  1157. package/dist/api/resources/accounts/client/requests/ListApiKeysRequest.d.ts +21 -0
  1158. package/dist/api/resources/accounts/client/requests/ListApiKeysRequest.js +5 -0
  1159. package/dist/api/resources/accounts/client/requests/ListApiRequestsRequest.d.ts +20 -0
  1160. package/dist/api/resources/accounts/client/requests/ListApiRequestsRequest.js +5 -0
  1161. package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +18 -0
  1162. package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.js +5 -0
  1163. package/dist/api/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +11 -0
  1164. package/dist/api/resources/accounts/client/requests/UpdateApiKeyRequestBody.js +5 -0
  1165. package/dist/api/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +12 -0
  1166. package/dist/api/resources/accounts/client/requests/UpdateEnvironmentRequestBody.js +5 -0
  1167. package/dist/api/resources/accounts/client/requests/index.d.ts +9 -0
  1168. package/dist/api/resources/accounts/client/requests/index.js +2 -0
  1169. package/dist/api/resources/accounts/index.d.ts +2 -0
  1170. package/dist/api/resources/accounts/index.js +18 -0
  1171. package/dist/api/resources/accounts/types/CountApiKeysParams.d.ts +14 -0
  1172. package/dist/api/resources/accounts/types/CountApiKeysParams.js +5 -0
  1173. package/dist/api/resources/accounts/types/CountApiKeysResponse.d.ts +9 -0
  1174. package/dist/api/resources/accounts/types/CountApiKeysResponse.js +5 -0
  1175. package/dist/api/resources/accounts/types/CountApiRequestsParams.d.ts +15 -0
  1176. package/dist/api/resources/accounts/types/CountApiRequestsParams.js +5 -0
  1177. package/dist/api/resources/accounts/types/CountApiRequestsResponse.d.ts +9 -0
  1178. package/dist/api/resources/accounts/types/CountApiRequestsResponse.js +5 -0
  1179. package/dist/api/resources/accounts/types/CreateApiKeyResponse.d.ts +9 -0
  1180. package/dist/api/resources/accounts/types/CreateApiKeyResponse.js +5 -0
  1181. package/dist/api/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts +9 -0
  1182. package/dist/api/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.js +11 -0
  1183. package/dist/api/resources/accounts/types/CreateEnvironmentResponse.d.ts +9 -0
  1184. package/dist/api/resources/accounts/types/CreateEnvironmentResponse.js +5 -0
  1185. package/dist/api/resources/accounts/types/DeleteApiKeyResponse.d.ts +9 -0
  1186. package/dist/api/resources/accounts/types/DeleteApiKeyResponse.js +5 -0
  1187. package/dist/api/resources/accounts/types/DeleteEnvironmentResponse.d.ts +9 -0
  1188. package/dist/api/resources/accounts/types/DeleteEnvironmentResponse.js +5 -0
  1189. package/dist/api/resources/accounts/types/GetApiKeyResponse.d.ts +9 -0
  1190. package/dist/api/resources/accounts/types/GetApiKeyResponse.js +5 -0
  1191. package/dist/api/resources/accounts/types/GetApiRequestResponse.d.ts +9 -0
  1192. package/dist/api/resources/accounts/types/GetApiRequestResponse.js +5 -0
  1193. package/dist/api/resources/accounts/types/GetEnvironmentResponse.d.ts +9 -0
  1194. package/dist/api/resources/accounts/types/GetEnvironmentResponse.js +5 -0
  1195. package/dist/api/resources/accounts/types/ListApiKeysParams.d.ts +14 -0
  1196. package/dist/api/resources/accounts/types/ListApiKeysParams.js +5 -0
  1197. package/dist/api/resources/accounts/types/ListApiKeysResponse.d.ts +10 -0
  1198. package/dist/api/resources/accounts/types/ListApiKeysResponse.js +5 -0
  1199. package/dist/api/resources/accounts/types/ListApiRequestsParams.d.ts +15 -0
  1200. package/dist/api/resources/accounts/types/ListApiRequestsParams.js +5 -0
  1201. package/dist/api/resources/accounts/types/ListApiRequestsResponse.d.ts +10 -0
  1202. package/dist/api/resources/accounts/types/ListApiRequestsResponse.js +5 -0
  1203. package/dist/api/resources/accounts/types/ListEnvironmentsParams.d.ts +13 -0
  1204. package/dist/api/resources/accounts/types/ListEnvironmentsParams.js +5 -0
  1205. package/dist/api/resources/accounts/types/ListEnvironmentsResponse.d.ts +10 -0
  1206. package/dist/api/resources/accounts/types/ListEnvironmentsResponse.js +5 -0
  1207. package/dist/api/resources/accounts/types/UpdateApiKeyResponse.d.ts +9 -0
  1208. package/dist/api/resources/accounts/types/UpdateApiKeyResponse.js +5 -0
  1209. package/dist/api/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +9 -0
  1210. package/dist/api/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.js +11 -0
  1211. package/dist/api/resources/accounts/types/UpdateEnvironmentResponse.d.ts +9 -0
  1212. package/dist/api/resources/accounts/types/UpdateEnvironmentResponse.js +5 -0
  1213. package/dist/api/resources/accounts/types/index.d.ts +21 -0
  1214. package/dist/api/resources/accounts/types/index.js +37 -0
  1215. package/dist/api/resources/billing/client/Client.d.ts +160 -0
  1216. package/dist/api/resources/billing/client/Client.js +897 -0
  1217. package/dist/api/resources/billing/client/index.d.ts +1 -0
  1218. package/dist/api/resources/billing/client/index.js +17 -0
  1219. package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +20 -0
  1220. package/dist/api/resources/billing/client/requests/CountCustomersRequest.js +5 -0
  1221. package/dist/api/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +23 -0
  1222. package/dist/api/resources/billing/client/requests/CreateBillingCustomerRequestBody.js +5 -0
  1223. package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +18 -0
  1224. package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.js +5 -0
  1225. package/dist/api/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +20 -0
  1226. package/dist/api/resources/billing/client/requests/CreateBillingProductRequestBody.js +5 -0
  1227. package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.d.ts +27 -0
  1228. package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.js +5 -0
  1229. package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +20 -0
  1230. package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.js +5 -0
  1231. package/dist/api/resources/billing/client/requests/ListCustomersRequest.d.ts +20 -0
  1232. package/dist/api/resources/billing/client/requests/ListCustomersRequest.js +5 -0
  1233. package/dist/api/resources/billing/client/requests/ListProductPricesRequest.d.ts +20 -0
  1234. package/dist/api/resources/billing/client/requests/ListProductPricesRequest.js +5 -0
  1235. package/dist/api/resources/billing/client/requests/index.d.ts +8 -0
  1236. package/dist/api/resources/billing/client/requests/index.js +2 -0
  1237. package/dist/api/resources/billing/index.d.ts +2 -0
  1238. package/dist/api/resources/billing/index.js +18 -0
  1239. package/dist/api/resources/billing/types/CountCustomersParams.d.ts +15 -0
  1240. package/dist/api/resources/billing/types/CountCustomersParams.js +5 -0
  1241. package/dist/api/resources/billing/types/CountCustomersResponse.d.ts +9 -0
  1242. package/dist/api/resources/billing/types/CountCustomersResponse.js +5 -0
  1243. package/dist/api/resources/billing/types/ListBillingProductsParams.d.ts +15 -0
  1244. package/dist/api/resources/billing/types/ListBillingProductsParams.js +5 -0
  1245. package/dist/api/resources/billing/types/ListBillingProductsResponse.d.ts +10 -0
  1246. package/dist/api/resources/billing/types/ListBillingProductsResponse.js +5 -0
  1247. package/dist/api/resources/billing/types/ListCustomersParams.d.ts +15 -0
  1248. package/dist/api/resources/billing/types/ListCustomersParams.js +5 -0
  1249. package/dist/api/resources/billing/types/ListCustomersResponse.d.ts +10 -0
  1250. package/dist/api/resources/billing/types/ListCustomersResponse.js +5 -0
  1251. package/dist/api/resources/billing/types/ListProductPricesParams.d.ts +15 -0
  1252. package/dist/api/resources/billing/types/ListProductPricesParams.js +5 -0
  1253. package/dist/api/resources/billing/types/ListProductPricesResponse.d.ts +10 -0
  1254. package/dist/api/resources/billing/types/ListProductPricesResponse.js +5 -0
  1255. package/dist/api/resources/billing/types/UpsertBillingCustomerResponse.d.ts +9 -0
  1256. package/dist/api/resources/billing/types/UpsertBillingCustomerResponse.js +5 -0
  1257. package/dist/api/resources/billing/types/UpsertBillingPriceResponse.d.ts +9 -0
  1258. package/dist/api/resources/billing/types/UpsertBillingPriceResponse.js +5 -0
  1259. package/dist/api/resources/billing/types/UpsertBillingProductResponse.d.ts +9 -0
  1260. package/dist/api/resources/billing/types/UpsertBillingProductResponse.js +5 -0
  1261. package/dist/api/resources/billing/types/UpsertBillingSubscriptionResponse.d.ts +9 -0
  1262. package/dist/api/resources/billing/types/UpsertBillingSubscriptionResponse.js +5 -0
  1263. package/dist/api/resources/billing/types/index.d.ts +12 -0
  1264. package/dist/api/resources/billing/types/index.js +28 -0
  1265. package/dist/api/resources/companies/client/Client.d.ts +514 -0
  1266. package/dist/api/resources/companies/client/Client.js +3308 -0
  1267. package/dist/api/resources/companies/client/index.d.ts +1 -0
  1268. package/dist/api/resources/companies/client/index.js +17 -0
  1269. package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +27 -0
  1270. package/dist/api/resources/companies/client/requests/CountCompaniesRequest.js +5 -0
  1271. package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +21 -0
  1272. package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.js +5 -0
  1273. package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +22 -0
  1274. package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.js +5 -0
  1275. package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +24 -0
  1276. package/dist/api/resources/companies/client/requests/CountUsersRequest.js +5 -0
  1277. package/dist/api/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +18 -0
  1278. package/dist/api/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.js +5 -0
  1279. package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +20 -0
  1280. package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.js +5 -0
  1281. package/dist/api/resources/companies/client/requests/GetActiveDealsRequest.d.ts +22 -0
  1282. package/dist/api/resources/companies/client/requests/GetActiveDealsRequest.js +5 -0
  1283. package/dist/api/resources/companies/client/requests/GetEntityTraitValuesRequest.d.ts +21 -0
  1284. package/dist/api/resources/companies/client/requests/GetEntityTraitValuesRequest.js +5 -0
  1285. package/dist/api/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.d.ts +14 -0
  1286. package/dist/api/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.js +5 -0
  1287. package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +27 -0
  1288. package/dist/api/resources/companies/client/requests/ListCompaniesRequest.js +5 -0
  1289. package/dist/api/resources/companies/client/requests/ListCompanyMembershipsRequest.d.ts +19 -0
  1290. package/dist/api/resources/companies/client/requests/ListCompanyMembershipsRequest.js +5 -0
  1291. package/dist/api/resources/companies/client/requests/ListCompanyPlansRequest.d.ts +19 -0
  1292. package/dist/api/resources/companies/client/requests/ListCompanyPlansRequest.js +5 -0
  1293. package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +21 -0
  1294. package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.js +5 -0
  1295. package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +22 -0
  1296. package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.js +5 -0
  1297. package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +24 -0
  1298. package/dist/api/resources/companies/client/requests/ListUsersRequest.js +5 -0
  1299. package/dist/api/resources/companies/client/requests/LookupCompanyRequest.d.ts +19 -0
  1300. package/dist/api/resources/companies/client/requests/LookupCompanyRequest.js +5 -0
  1301. package/dist/api/resources/companies/client/requests/LookupUserRequest.d.ts +19 -0
  1302. package/dist/api/resources/companies/client/requests/LookupUserRequest.js +5 -0
  1303. package/dist/api/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +14 -0
  1304. package/dist/api/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.js +5 -0
  1305. package/dist/api/resources/companies/client/requests/index.d.ts +18 -0
  1306. package/dist/api/resources/companies/client/requests/index.js +2 -0
  1307. package/dist/api/resources/companies/index.d.ts +2 -0
  1308. package/dist/api/resources/companies/index.js +18 -0
  1309. package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +18 -0
  1310. package/dist/api/resources/companies/types/CountCompaniesParams.js +5 -0
  1311. package/dist/api/resources/companies/types/CountCompaniesResponse.d.ts +9 -0
  1312. package/dist/api/resources/companies/types/CountCompaniesResponse.js +5 -0
  1313. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +16 -0
  1314. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsParams.js +5 -0
  1315. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +8 -0
  1316. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.js +10 -0
  1317. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponse.d.ts +9 -0
  1318. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponse.js +5 -0
  1319. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +8 -0
  1320. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.js +10 -0
  1321. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +17 -0
  1322. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsParams.js +5 -0
  1323. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +8 -0
  1324. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.js +10 -0
  1325. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +12 -0
  1326. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.js +14 -0
  1327. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponse.d.ts +9 -0
  1328. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponse.js +5 -0
  1329. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +8 -0
  1330. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.js +10 -0
  1331. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +12 -0
  1332. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.js +14 -0
  1333. package/dist/api/resources/companies/types/CountUsersParams.d.ts +17 -0
  1334. package/dist/api/resources/companies/types/CountUsersParams.js +5 -0
  1335. package/dist/api/resources/companies/types/CountUsersResponse.d.ts +9 -0
  1336. package/dist/api/resources/companies/types/CountUsersResponse.js +5 -0
  1337. package/dist/api/resources/companies/types/CreateCompanyResponse.d.ts +9 -0
  1338. package/dist/api/resources/companies/types/CreateCompanyResponse.js +5 -0
  1339. package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +8 -0
  1340. package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.js +10 -0
  1341. package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +12 -0
  1342. package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.js +14 -0
  1343. package/dist/api/resources/companies/types/CreateUserResponse.d.ts +9 -0
  1344. package/dist/api/resources/companies/types/CreateUserResponse.js +5 -0
  1345. package/dist/api/resources/companies/types/DeleteCompanyByKeysResponse.d.ts +9 -0
  1346. package/dist/api/resources/companies/types/DeleteCompanyByKeysResponse.js +5 -0
  1347. package/dist/api/resources/companies/types/DeleteCompanyMembershipResponse.d.ts +9 -0
  1348. package/dist/api/resources/companies/types/DeleteCompanyMembershipResponse.js +5 -0
  1349. package/dist/api/resources/companies/types/DeleteCompanyResponse.d.ts +9 -0
  1350. package/dist/api/resources/companies/types/DeleteCompanyResponse.js +5 -0
  1351. package/dist/api/resources/companies/types/DeleteUserByKeysResponse.d.ts +9 -0
  1352. package/dist/api/resources/companies/types/DeleteUserByKeysResponse.js +5 -0
  1353. package/dist/api/resources/companies/types/DeleteUserResponse.d.ts +9 -0
  1354. package/dist/api/resources/companies/types/DeleteUserResponse.js +5 -0
  1355. package/dist/api/resources/companies/types/GetActiveCompanySubscriptionParams.d.ts +13 -0
  1356. package/dist/api/resources/companies/types/GetActiveCompanySubscriptionParams.js +5 -0
  1357. package/dist/api/resources/companies/types/GetActiveCompanySubscriptionResponse.d.ts +10 -0
  1358. package/dist/api/resources/companies/types/GetActiveCompanySubscriptionResponse.js +5 -0
  1359. package/dist/api/resources/companies/types/GetActiveDealsParams.d.ts +14 -0
  1360. package/dist/api/resources/companies/types/GetActiveDealsParams.js +5 -0
  1361. package/dist/api/resources/companies/types/GetActiveDealsResponse.d.ts +10 -0
  1362. package/dist/api/resources/companies/types/GetActiveDealsResponse.js +5 -0
  1363. package/dist/api/resources/companies/types/GetCompanyResponse.d.ts +9 -0
  1364. package/dist/api/resources/companies/types/GetCompanyResponse.js +5 -0
  1365. package/dist/api/resources/companies/types/GetEntityTraitDefinitionResponse.d.ts +9 -0
  1366. package/dist/api/resources/companies/types/GetEntityTraitDefinitionResponse.js +5 -0
  1367. package/dist/api/resources/companies/types/GetEntityTraitValuesParams.d.ts +14 -0
  1368. package/dist/api/resources/companies/types/GetEntityTraitValuesParams.js +5 -0
  1369. package/dist/api/resources/companies/types/GetEntityTraitValuesResponse.d.ts +10 -0
  1370. package/dist/api/resources/companies/types/GetEntityTraitValuesResponse.js +5 -0
  1371. package/dist/api/resources/companies/types/GetOrCreateCompanyMembershipResponse.d.ts +9 -0
  1372. package/dist/api/resources/companies/types/GetOrCreateCompanyMembershipResponse.js +5 -0
  1373. package/dist/api/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.d.ts +9 -0
  1374. package/dist/api/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.js +5 -0
  1375. package/dist/api/resources/companies/types/GetUserResponse.d.ts +9 -0
  1376. package/dist/api/resources/companies/types/GetUserResponse.js +5 -0
  1377. package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +18 -0
  1378. package/dist/api/resources/companies/types/ListCompaniesParams.js +5 -0
  1379. package/dist/api/resources/companies/types/ListCompaniesResponse.d.ts +10 -0
  1380. package/dist/api/resources/companies/types/ListCompaniesResponse.js +5 -0
  1381. package/dist/api/resources/companies/types/ListCompanyMembershipsParams.d.ts +14 -0
  1382. package/dist/api/resources/companies/types/ListCompanyMembershipsParams.js +5 -0
  1383. package/dist/api/resources/companies/types/ListCompanyMembershipsResponse.d.ts +10 -0
  1384. package/dist/api/resources/companies/types/ListCompanyMembershipsResponse.js +5 -0
  1385. package/dist/api/resources/companies/types/ListCompanyPlansParams.d.ts +14 -0
  1386. package/dist/api/resources/companies/types/ListCompanyPlansParams.js +5 -0
  1387. package/dist/api/resources/companies/types/ListCompanyPlansResponse.d.ts +10 -0
  1388. package/dist/api/resources/companies/types/ListCompanyPlansResponse.js +5 -0
  1389. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +16 -0
  1390. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsParams.js +5 -0
  1391. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +8 -0
  1392. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.js +10 -0
  1393. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponse.d.ts +10 -0
  1394. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponse.js +5 -0
  1395. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +8 -0
  1396. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.js +10 -0
  1397. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +17 -0
  1398. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsParams.js +5 -0
  1399. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +8 -0
  1400. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.js +10 -0
  1401. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts +12 -0
  1402. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.js +14 -0
  1403. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponse.d.ts +10 -0
  1404. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponse.js +5 -0
  1405. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +8 -0
  1406. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.js +10 -0
  1407. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +12 -0
  1408. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.js +14 -0
  1409. package/dist/api/resources/companies/types/ListUsersParams.d.ts +17 -0
  1410. package/dist/api/resources/companies/types/ListUsersParams.js +5 -0
  1411. package/dist/api/resources/companies/types/ListUsersResponse.d.ts +10 -0
  1412. package/dist/api/resources/companies/types/ListUsersResponse.js +5 -0
  1413. package/dist/api/resources/companies/types/LookupCompanyParams.d.ts +9 -0
  1414. package/dist/api/resources/companies/types/LookupCompanyParams.js +5 -0
  1415. package/dist/api/resources/companies/types/LookupCompanyResponse.d.ts +9 -0
  1416. package/dist/api/resources/companies/types/LookupCompanyResponse.js +5 -0
  1417. package/dist/api/resources/companies/types/LookupUserParams.d.ts +9 -0
  1418. package/dist/api/resources/companies/types/LookupUserParams.js +5 -0
  1419. package/dist/api/resources/companies/types/LookupUserResponse.d.ts +9 -0
  1420. package/dist/api/resources/companies/types/LookupUserResponse.js +5 -0
  1421. package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +12 -0
  1422. package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.js +14 -0
  1423. package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionResponse.d.ts +9 -0
  1424. package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionResponse.js +5 -0
  1425. package/dist/api/resources/companies/types/UpsertCompanyResponse.d.ts +9 -0
  1426. package/dist/api/resources/companies/types/UpsertCompanyResponse.js +5 -0
  1427. package/dist/api/resources/companies/types/UpsertCompanyTraitResponse.d.ts +9 -0
  1428. package/dist/api/resources/companies/types/UpsertCompanyTraitResponse.js +5 -0
  1429. package/dist/api/resources/companies/types/UpsertUserResponse.d.ts +9 -0
  1430. package/dist/api/resources/companies/types/UpsertUserResponse.js +5 -0
  1431. package/dist/api/resources/companies/types/UpsertUserTraitResponse.d.ts +9 -0
  1432. package/dist/api/resources/companies/types/UpsertUserTraitResponse.js +5 -0
  1433. package/dist/api/resources/companies/types/index.d.ts +62 -0
  1434. package/dist/api/resources/companies/types/index.js +78 -0
  1435. package/dist/api/resources/components/client/Client.d.ts +125 -0
  1436. package/dist/api/resources/components/client/Client.js +729 -0
  1437. package/dist/api/resources/components/client/index.d.ts +1 -0
  1438. package/dist/api/resources/components/client/index.js +17 -0
  1439. package/dist/api/resources/components/client/requests/CountComponentsRequest.d.ts +18 -0
  1440. package/dist/api/resources/components/client/requests/CountComponentsRequest.js +5 -0
  1441. package/dist/api/resources/components/client/requests/CreateComponentRequestBody.d.ts +17 -0
  1442. package/dist/api/resources/components/client/requests/CreateComponentRequestBody.js +5 -0
  1443. package/dist/api/resources/components/client/requests/ListComponentsRequest.d.ts +18 -0
  1444. package/dist/api/resources/components/client/requests/ListComponentsRequest.js +5 -0
  1445. package/dist/api/resources/components/client/requests/UpdateComponentRequestBody.d.ts +14 -0
  1446. package/dist/api/resources/components/client/requests/UpdateComponentRequestBody.js +5 -0
  1447. package/dist/api/resources/components/client/requests/index.d.ts +4 -0
  1448. package/dist/api/resources/components/client/requests/index.js +2 -0
  1449. package/dist/api/resources/components/index.d.ts +2 -0
  1450. package/dist/api/resources/components/index.js +18 -0
  1451. package/dist/api/resources/components/types/CountComponentsParams.d.ts +13 -0
  1452. package/dist/api/resources/components/types/CountComponentsParams.js +5 -0
  1453. package/dist/api/resources/components/types/CountComponentsResponse.d.ts +9 -0
  1454. package/dist/api/resources/components/types/CountComponentsResponse.js +5 -0
  1455. package/dist/api/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +8 -0
  1456. package/dist/api/resources/components/types/CreateComponentRequestBodyEntityType.js +10 -0
  1457. package/dist/api/resources/components/types/CreateComponentResponse.d.ts +9 -0
  1458. package/dist/api/resources/components/types/CreateComponentResponse.js +5 -0
  1459. package/dist/api/resources/components/types/DeleteComponentResponse.d.ts +9 -0
  1460. package/dist/api/resources/components/types/DeleteComponentResponse.js +5 -0
  1461. package/dist/api/resources/components/types/GetComponentResponse.d.ts +9 -0
  1462. package/dist/api/resources/components/types/GetComponentResponse.js +5 -0
  1463. package/dist/api/resources/components/types/HydrateComponentResponse.d.ts +9 -0
  1464. package/dist/api/resources/components/types/HydrateComponentResponse.js +5 -0
  1465. package/dist/api/resources/components/types/ListComponentsParams.d.ts +13 -0
  1466. package/dist/api/resources/components/types/ListComponentsParams.js +5 -0
  1467. package/dist/api/resources/components/types/ListComponentsResponse.d.ts +10 -0
  1468. package/dist/api/resources/components/types/ListComponentsResponse.js +5 -0
  1469. package/dist/api/resources/components/types/UpdateComponentRequestBodyEntityType.d.ts +8 -0
  1470. package/dist/api/resources/components/types/UpdateComponentRequestBodyEntityType.js +10 -0
  1471. package/dist/api/resources/components/types/UpdateComponentRequestBodyState.d.ts +8 -0
  1472. package/dist/api/resources/components/types/UpdateComponentRequestBodyState.js +10 -0
  1473. package/dist/api/resources/components/types/UpdateComponentResponse.d.ts +9 -0
  1474. package/dist/api/resources/components/types/UpdateComponentResponse.js +5 -0
  1475. package/dist/api/resources/components/types/index.d.ts +12 -0
  1476. package/dist/api/resources/components/types/index.js +28 -0
  1477. package/dist/api/resources/crm/client/Client.d.ts +115 -0
  1478. package/dist/api/resources/crm/client/Client.js +557 -0
  1479. package/dist/api/resources/crm/client/index.d.ts +1 -0
  1480. package/dist/api/resources/crm/client/index.js +17 -0
  1481. package/dist/api/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.d.ts +14 -0
  1482. package/dist/api/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.js +5 -0
  1483. package/dist/api/resources/crm/client/requests/CreateCrmDealRequestBody.d.ts +22 -0
  1484. package/dist/api/resources/crm/client/requests/CreateCrmDealRequestBody.js +5 -0
  1485. package/dist/api/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +23 -0
  1486. package/dist/api/resources/crm/client/requests/CreateCrmLineItemRequestBody.js +5 -0
  1487. package/dist/api/resources/crm/client/requests/CreateCrmProductRequestBody.d.ts +26 -0
  1488. package/dist/api/resources/crm/client/requests/CreateCrmProductRequestBody.js +5 -0
  1489. package/dist/api/resources/crm/client/requests/ListCrmProductsRequest.d.ts +19 -0
  1490. package/dist/api/resources/crm/client/requests/ListCrmProductsRequest.js +5 -0
  1491. package/dist/api/resources/crm/client/requests/index.d.ts +5 -0
  1492. package/dist/api/resources/crm/client/requests/index.js +2 -0
  1493. package/dist/api/resources/crm/index.d.ts +2 -0
  1494. package/dist/api/resources/crm/index.js +18 -0
  1495. package/dist/api/resources/crm/types/ListCrmProductsParams.d.ts +14 -0
  1496. package/dist/api/resources/crm/types/ListCrmProductsParams.js +5 -0
  1497. package/dist/api/resources/crm/types/ListCrmProductsResponse.d.ts +10 -0
  1498. package/dist/api/resources/crm/types/ListCrmProductsResponse.js +5 -0
  1499. package/dist/api/resources/crm/types/UpsertCrmDealResponse.d.ts +9 -0
  1500. package/dist/api/resources/crm/types/UpsertCrmDealResponse.js +5 -0
  1501. package/dist/api/resources/crm/types/UpsertCrmProductResponse.d.ts +9 -0
  1502. package/dist/api/resources/crm/types/UpsertCrmProductResponse.js +5 -0
  1503. package/dist/api/resources/crm/types/UpsertDealLineItemAssociationResponse.d.ts +9 -0
  1504. package/dist/api/resources/crm/types/UpsertDealLineItemAssociationResponse.js +5 -0
  1505. package/dist/api/resources/crm/types/UpsertLineItemResponse.d.ts +9 -0
  1506. package/dist/api/resources/crm/types/UpsertLineItemResponse.js +5 -0
  1507. package/dist/api/resources/crm/types/index.d.ts +6 -0
  1508. package/dist/api/resources/crm/types/index.js +22 -0
  1509. package/dist/api/resources/entitlements/client/Client.d.ts +305 -0
  1510. package/dist/api/resources/entitlements/client/Client.js +2103 -0
  1511. package/dist/api/resources/entitlements/client/index.d.ts +1 -0
  1512. package/dist/api/resources/entitlements/client/index.js +17 -0
  1513. package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +23 -0
  1514. package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.js +5 -0
  1515. package/dist/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.d.ts +21 -0
  1516. package/dist/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.js +5 -0
  1517. package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +21 -0
  1518. package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.js +5 -0
  1519. package/dist/api/resources/entitlements/client/requests/CountFeatureUsersRequest.d.ts +21 -0
  1520. package/dist/api/resources/entitlements/client/requests/CountFeatureUsersRequest.js +5 -0
  1521. package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +23 -0
  1522. package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.js +5 -0
  1523. package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +21 -0
  1524. package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +5 -0
  1525. package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +21 -0
  1526. package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +5 -0
  1527. package/dist/api/resources/entitlements/client/requests/GetFeatureUsageByCompanyRequest.d.ts +19 -0
  1528. package/dist/api/resources/entitlements/client/requests/GetFeatureUsageByCompanyRequest.js +5 -0
  1529. package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +23 -0
  1530. package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.js +5 -0
  1531. package/dist/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.d.ts +21 -0
  1532. package/dist/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.js +5 -0
  1533. package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +21 -0
  1534. package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.js +5 -0
  1535. package/dist/api/resources/entitlements/client/requests/ListFeatureUsersRequest.d.ts +21 -0
  1536. package/dist/api/resources/entitlements/client/requests/ListFeatureUsersRequest.js +5 -0
  1537. package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +23 -0
  1538. package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.js +5 -0
  1539. package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +17 -0
  1540. package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +5 -0
  1541. package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +17 -0
  1542. package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +5 -0
  1543. package/dist/api/resources/entitlements/client/requests/index.d.ts +15 -0
  1544. package/dist/api/resources/entitlements/client/requests/index.js +2 -0
  1545. package/dist/api/resources/entitlements/index.d.ts +2 -0
  1546. package/dist/api/resources/entitlements/index.js +18 -0
  1547. package/dist/api/resources/entitlements/types/CountCompanyOverridesParams.d.ts +18 -0
  1548. package/dist/api/resources/entitlements/types/CountCompanyOverridesParams.js +5 -0
  1549. package/dist/api/resources/entitlements/types/CountCompanyOverridesResponse.d.ts +9 -0
  1550. package/dist/api/resources/entitlements/types/CountCompanyOverridesResponse.js +5 -0
  1551. package/dist/api/resources/entitlements/types/CountFeatureCompaniesParams.d.ts +14 -0
  1552. package/dist/api/resources/entitlements/types/CountFeatureCompaniesParams.js +5 -0
  1553. package/dist/api/resources/entitlements/types/CountFeatureCompaniesResponse.d.ts +9 -0
  1554. package/dist/api/resources/entitlements/types/CountFeatureCompaniesResponse.js +5 -0
  1555. package/dist/api/resources/entitlements/types/CountFeatureUsageParams.d.ts +16 -0
  1556. package/dist/api/resources/entitlements/types/CountFeatureUsageParams.js +5 -0
  1557. package/dist/api/resources/entitlements/types/CountFeatureUsageResponse.d.ts +9 -0
  1558. package/dist/api/resources/entitlements/types/CountFeatureUsageResponse.js +5 -0
  1559. package/dist/api/resources/entitlements/types/CountFeatureUsersParams.d.ts +14 -0
  1560. package/dist/api/resources/entitlements/types/CountFeatureUsersParams.js +5 -0
  1561. package/dist/api/resources/entitlements/types/CountFeatureUsersResponse.d.ts +9 -0
  1562. package/dist/api/resources/entitlements/types/CountFeatureUsersResponse.js +5 -0
  1563. package/dist/api/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +18 -0
  1564. package/dist/api/resources/entitlements/types/CountPlanEntitlementsParams.js +5 -0
  1565. package/dist/api/resources/entitlements/types/CountPlanEntitlementsResponse.d.ts +9 -0
  1566. package/dist/api/resources/entitlements/types/CountPlanEntitlementsResponse.js +5 -0
  1567. package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +9 -0
  1568. package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.js +11 -0
  1569. package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +10 -0
  1570. package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js +12 -0
  1571. package/dist/api/resources/entitlements/types/CreateCompanyOverrideResponse.d.ts +9 -0
  1572. package/dist/api/resources/entitlements/types/CreateCompanyOverrideResponse.js +5 -0
  1573. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +9 -0
  1574. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.js +11 -0
  1575. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +10 -0
  1576. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js +12 -0
  1577. package/dist/api/resources/entitlements/types/CreatePlanEntitlementResponse.d.ts +9 -0
  1578. package/dist/api/resources/entitlements/types/CreatePlanEntitlementResponse.js +5 -0
  1579. package/dist/api/resources/entitlements/types/DeleteCompanyOverrideResponse.d.ts +9 -0
  1580. package/dist/api/resources/entitlements/types/DeleteCompanyOverrideResponse.js +5 -0
  1581. package/dist/api/resources/entitlements/types/DeletePlanEntitlementResponse.d.ts +9 -0
  1582. package/dist/api/resources/entitlements/types/DeletePlanEntitlementResponse.js +5 -0
  1583. package/dist/api/resources/entitlements/types/GetCompanyOverrideResponse.d.ts +9 -0
  1584. package/dist/api/resources/entitlements/types/GetCompanyOverrideResponse.js +5 -0
  1585. package/dist/api/resources/entitlements/types/GetFeatureUsageByCompanyParams.d.ts +9 -0
  1586. package/dist/api/resources/entitlements/types/GetFeatureUsageByCompanyParams.js +5 -0
  1587. package/dist/api/resources/entitlements/types/GetFeatureUsageByCompanyResponse.d.ts +9 -0
  1588. package/dist/api/resources/entitlements/types/GetFeatureUsageByCompanyResponse.js +5 -0
  1589. package/dist/api/resources/entitlements/types/GetPlanEntitlementResponse.d.ts +9 -0
  1590. package/dist/api/resources/entitlements/types/GetPlanEntitlementResponse.js +5 -0
  1591. package/dist/api/resources/entitlements/types/ListCompanyOverridesParams.d.ts +18 -0
  1592. package/dist/api/resources/entitlements/types/ListCompanyOverridesParams.js +5 -0
  1593. package/dist/api/resources/entitlements/types/ListCompanyOverridesResponse.d.ts +10 -0
  1594. package/dist/api/resources/entitlements/types/ListCompanyOverridesResponse.js +5 -0
  1595. package/dist/api/resources/entitlements/types/ListFeatureCompaniesParams.d.ts +14 -0
  1596. package/dist/api/resources/entitlements/types/ListFeatureCompaniesParams.js +5 -0
  1597. package/dist/api/resources/entitlements/types/ListFeatureCompaniesResponse.d.ts +10 -0
  1598. package/dist/api/resources/entitlements/types/ListFeatureCompaniesResponse.js +5 -0
  1599. package/dist/api/resources/entitlements/types/ListFeatureUsageParams.d.ts +16 -0
  1600. package/dist/api/resources/entitlements/types/ListFeatureUsageParams.js +5 -0
  1601. package/dist/api/resources/entitlements/types/ListFeatureUsageResponse.d.ts +10 -0
  1602. package/dist/api/resources/entitlements/types/ListFeatureUsageResponse.js +5 -0
  1603. package/dist/api/resources/entitlements/types/ListFeatureUsersParams.d.ts +14 -0
  1604. package/dist/api/resources/entitlements/types/ListFeatureUsersParams.js +5 -0
  1605. package/dist/api/resources/entitlements/types/ListFeatureUsersResponse.d.ts +10 -0
  1606. package/dist/api/resources/entitlements/types/ListFeatureUsersResponse.js +5 -0
  1607. package/dist/api/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +18 -0
  1608. package/dist/api/resources/entitlements/types/ListPlanEntitlementsParams.js +5 -0
  1609. package/dist/api/resources/entitlements/types/ListPlanEntitlementsResponse.d.ts +10 -0
  1610. package/dist/api/resources/entitlements/types/ListPlanEntitlementsResponse.js +5 -0
  1611. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +9 -0
  1612. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.js +11 -0
  1613. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +10 -0
  1614. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js +12 -0
  1615. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideResponse.d.ts +9 -0
  1616. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideResponse.js +5 -0
  1617. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +9 -0
  1618. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.js +11 -0
  1619. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +10 -0
  1620. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js +12 -0
  1621. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementResponse.d.ts +9 -0
  1622. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementResponse.js +5 -0
  1623. package/dist/api/resources/entitlements/types/index.d.ts +38 -0
  1624. package/dist/api/resources/entitlements/types/index.js +54 -0
  1625. package/dist/api/resources/events/client/Client.d.ts +137 -0
  1626. package/dist/api/resources/events/client/Client.js +878 -0
  1627. package/dist/api/resources/events/client/index.d.ts +1 -0
  1628. package/dist/api/resources/events/client/index.js +17 -0
  1629. package/dist/api/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +15 -0
  1630. package/dist/api/resources/events/client/requests/CreateEventBatchRequestBody.js +5 -0
  1631. package/dist/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +19 -0
  1632. package/dist/api/resources/events/client/requests/GetEventSummariesRequest.js +5 -0
  1633. package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +22 -0
  1634. package/dist/api/resources/events/client/requests/ListEventsRequest.js +5 -0
  1635. package/dist/api/resources/events/client/requests/ListMetricCountsRequest.d.ts +25 -0
  1636. package/dist/api/resources/events/client/requests/ListMetricCountsRequest.js +5 -0
  1637. package/dist/api/resources/events/client/requests/index.d.ts +4 -0
  1638. package/dist/api/resources/events/client/requests/index.js +2 -0
  1639. package/dist/api/resources/events/index.d.ts +2 -0
  1640. package/dist/api/resources/events/index.js +18 -0
  1641. package/dist/api/resources/events/types/CreateEventBatchResponse.d.ts +9 -0
  1642. package/dist/api/resources/events/types/CreateEventBatchResponse.js +5 -0
  1643. package/dist/api/resources/events/types/CreateEventResponse.d.ts +9 -0
  1644. package/dist/api/resources/events/types/CreateEventResponse.js +5 -0
  1645. package/dist/api/resources/events/types/GetEventResponse.d.ts +9 -0
  1646. package/dist/api/resources/events/types/GetEventResponse.js +5 -0
  1647. package/dist/api/resources/events/types/GetEventSummariesParams.d.ts +14 -0
  1648. package/dist/api/resources/events/types/GetEventSummariesParams.js +5 -0
  1649. package/dist/api/resources/events/types/GetEventSummariesResponse.d.ts +10 -0
  1650. package/dist/api/resources/events/types/GetEventSummariesResponse.js +5 -0
  1651. package/dist/api/resources/events/types/GetEventSummaryBySubtypeResponse.d.ts +9 -0
  1652. package/dist/api/resources/events/types/GetEventSummaryBySubtypeResponse.js +5 -0
  1653. package/dist/api/resources/events/types/GetSegmentIntegrationStatusResponse.d.ts +9 -0
  1654. package/dist/api/resources/events/types/GetSegmentIntegrationStatusResponse.js +5 -0
  1655. package/dist/api/resources/events/types/ListEventsParams.d.ts +17 -0
  1656. package/dist/api/resources/events/types/ListEventsParams.js +5 -0
  1657. package/dist/api/resources/events/types/ListEventsResponse.d.ts +10 -0
  1658. package/dist/api/resources/events/types/ListEventsResponse.js +5 -0
  1659. package/dist/api/resources/events/types/ListMetricCountsParams.d.ts +20 -0
  1660. package/dist/api/resources/events/types/ListMetricCountsParams.js +5 -0
  1661. package/dist/api/resources/events/types/ListMetricCountsResponse.d.ts +10 -0
  1662. package/dist/api/resources/events/types/ListMetricCountsResponse.js +5 -0
  1663. package/dist/api/resources/events/types/index.d.ts +11 -0
  1664. package/dist/api/resources/events/types/index.js +27 -0
  1665. package/dist/api/resources/features/client/Client.d.ts +368 -0
  1666. package/dist/api/resources/features/client/Client.js +1995 -0
  1667. package/dist/api/resources/features/client/index.d.ts +1 -0
  1668. package/dist/api/resources/features/client/index.js +17 -0
  1669. package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +27 -0
  1670. package/dist/api/resources/features/client/requests/CountFeaturesRequest.js +5 -0
  1671. package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +20 -0
  1672. package/dist/api/resources/features/client/requests/CountFlagsRequest.js +5 -0
  1673. package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +23 -0
  1674. package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.js +5 -0
  1675. package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +27 -0
  1676. package/dist/api/resources/features/client/requests/ListFeaturesRequest.js +5 -0
  1677. package/dist/api/resources/features/client/requests/ListFlagsRequest.d.ts +20 -0
  1678. package/dist/api/resources/features/client/requests/ListFlagsRequest.js +5 -0
  1679. package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +19 -0
  1680. package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.js +5 -0
  1681. package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +29 -0
  1682. package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.js +5 -0
  1683. package/dist/api/resources/features/client/requests/index.d.ts +7 -0
  1684. package/dist/api/resources/features/client/requests/index.js +2 -0
  1685. package/dist/api/resources/features/index.d.ts +2 -0
  1686. package/dist/api/resources/features/index.js +18 -0
  1687. package/dist/api/resources/features/types/CheckFlagResponse.d.ts +9 -0
  1688. package/dist/api/resources/features/types/CheckFlagResponse.js +5 -0
  1689. package/dist/api/resources/features/types/CheckFlagsResponse.d.ts +9 -0
  1690. package/dist/api/resources/features/types/CheckFlagsResponse.js +5 -0
  1691. package/dist/api/resources/features/types/CountAudienceCompaniesResponse.d.ts +9 -0
  1692. package/dist/api/resources/features/types/CountAudienceCompaniesResponse.js +5 -0
  1693. package/dist/api/resources/features/types/CountAudienceUsersResponse.d.ts +9 -0
  1694. package/dist/api/resources/features/types/CountAudienceUsersResponse.js +5 -0
  1695. package/dist/api/resources/features/types/CountFeaturesParams.d.ts +18 -0
  1696. package/dist/api/resources/features/types/CountFeaturesParams.js +5 -0
  1697. package/dist/api/resources/features/types/CountFeaturesResponse.d.ts +9 -0
  1698. package/dist/api/resources/features/types/CountFeaturesResponse.js +5 -0
  1699. package/dist/api/resources/features/types/CountFlagsParams.d.ts +15 -0
  1700. package/dist/api/resources/features/types/CountFlagsParams.js +5 -0
  1701. package/dist/api/resources/features/types/CountFlagsResponse.d.ts +9 -0
  1702. package/dist/api/resources/features/types/CountFlagsResponse.js +5 -0
  1703. package/dist/api/resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts +9 -0
  1704. package/dist/api/resources/features/types/CreateFeatureRequestBodyFeatureType.js +11 -0
  1705. package/dist/api/resources/features/types/CreateFeatureResponse.d.ts +9 -0
  1706. package/dist/api/resources/features/types/CreateFeatureResponse.js +5 -0
  1707. package/dist/api/resources/features/types/CreateFlagResponse.d.ts +9 -0
  1708. package/dist/api/resources/features/types/CreateFlagResponse.js +5 -0
  1709. package/dist/api/resources/features/types/DeleteFeatureResponse.d.ts +9 -0
  1710. package/dist/api/resources/features/types/DeleteFeatureResponse.js +5 -0
  1711. package/dist/api/resources/features/types/DeleteFlagResponse.d.ts +9 -0
  1712. package/dist/api/resources/features/types/DeleteFlagResponse.js +5 -0
  1713. package/dist/api/resources/features/types/GetFeatureResponse.d.ts +9 -0
  1714. package/dist/api/resources/features/types/GetFeatureResponse.js +5 -0
  1715. package/dist/api/resources/features/types/GetFlagResponse.d.ts +9 -0
  1716. package/dist/api/resources/features/types/GetFlagResponse.js +5 -0
  1717. package/dist/api/resources/features/types/ListAudienceCompaniesResponse.d.ts +10 -0
  1718. package/dist/api/resources/features/types/ListAudienceCompaniesResponse.js +5 -0
  1719. package/dist/api/resources/features/types/ListAudienceUsersResponse.d.ts +10 -0
  1720. package/dist/api/resources/features/types/ListAudienceUsersResponse.js +5 -0
  1721. package/dist/api/resources/features/types/ListFeaturesParams.d.ts +18 -0
  1722. package/dist/api/resources/features/types/ListFeaturesParams.js +5 -0
  1723. package/dist/api/resources/features/types/ListFeaturesResponse.d.ts +10 -0
  1724. package/dist/api/resources/features/types/ListFeaturesResponse.js +5 -0
  1725. package/dist/api/resources/features/types/ListFlagsParams.d.ts +15 -0
  1726. package/dist/api/resources/features/types/ListFlagsParams.js +5 -0
  1727. package/dist/api/resources/features/types/ListFlagsResponse.d.ts +10 -0
  1728. package/dist/api/resources/features/types/ListFlagsResponse.js +5 -0
  1729. package/dist/api/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +9 -0
  1730. package/dist/api/resources/features/types/UpdateFeatureRequestBodyFeatureType.js +11 -0
  1731. package/dist/api/resources/features/types/UpdateFeatureResponse.d.ts +9 -0
  1732. package/dist/api/resources/features/types/UpdateFeatureResponse.js +5 -0
  1733. package/dist/api/resources/features/types/UpdateFlagResponse.d.ts +9 -0
  1734. package/dist/api/resources/features/types/UpdateFlagResponse.js +5 -0
  1735. package/dist/api/resources/features/types/UpdateFlagRulesResponse.d.ts +9 -0
  1736. package/dist/api/resources/features/types/UpdateFlagRulesResponse.js +5 -0
  1737. package/dist/api/resources/features/types/index.d.ts +25 -0
  1738. package/dist/api/resources/features/types/index.js +41 -0
  1739. package/dist/api/resources/index.d.ts +33 -0
  1740. package/dist/api/resources/index.js +62 -0
  1741. package/dist/api/resources/plans/client/Client.d.ts +186 -0
  1742. package/dist/api/resources/plans/client/Client.js +1067 -0
  1743. package/dist/api/resources/plans/client/index.d.ts +1 -0
  1744. package/dist/api/resources/plans/client/index.js +17 -0
  1745. package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +24 -0
  1746. package/dist/api/resources/plans/client/requests/CountPlansRequest.js +5 -0
  1747. package/dist/api/resources/plans/client/requests/CreatePlanRequestBody.d.ts +19 -0
  1748. package/dist/api/resources/plans/client/requests/CreatePlanRequestBody.js +5 -0
  1749. package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +24 -0
  1750. package/dist/api/resources/plans/client/requests/ListPlansRequest.js +5 -0
  1751. package/dist/api/resources/plans/client/requests/UpdateAudienceRequestBody.d.ts +25 -0
  1752. package/dist/api/resources/plans/client/requests/UpdateAudienceRequestBody.js +5 -0
  1753. package/dist/api/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +16 -0
  1754. package/dist/api/resources/plans/client/requests/UpdatePlanRequestBody.js +5 -0
  1755. package/dist/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +14 -0
  1756. package/dist/api/resources/plans/client/requests/UpsertBillingProductRequestBody.js +5 -0
  1757. package/dist/api/resources/plans/client/requests/index.d.ts +6 -0
  1758. package/dist/api/resources/plans/client/requests/index.js +2 -0
  1759. package/dist/api/resources/plans/index.d.ts +2 -0
  1760. package/dist/api/resources/plans/index.js +18 -0
  1761. package/dist/api/resources/plans/types/CountPlansParams.d.ts +17 -0
  1762. package/dist/api/resources/plans/types/CountPlansParams.js +5 -0
  1763. package/dist/api/resources/plans/types/CountPlansResponse.d.ts +9 -0
  1764. package/dist/api/resources/plans/types/CountPlansResponse.js +5 -0
  1765. package/dist/api/resources/plans/types/CreatePlanRequestBodyPlanType.d.ts +8 -0
  1766. package/dist/api/resources/plans/types/CreatePlanRequestBodyPlanType.js +10 -0
  1767. package/dist/api/resources/plans/types/CreatePlanResponse.d.ts +9 -0
  1768. package/dist/api/resources/plans/types/CreatePlanResponse.js +5 -0
  1769. package/dist/api/resources/plans/types/DeleteAudienceResponse.d.ts +9 -0
  1770. package/dist/api/resources/plans/types/DeleteAudienceResponse.js +5 -0
  1771. package/dist/api/resources/plans/types/DeletePlanResponse.d.ts +9 -0
  1772. package/dist/api/resources/plans/types/DeletePlanResponse.js +5 -0
  1773. package/dist/api/resources/plans/types/GetAudienceResponse.d.ts +9 -0
  1774. package/dist/api/resources/plans/types/GetAudienceResponse.js +5 -0
  1775. package/dist/api/resources/plans/types/GetPlanResponse.d.ts +9 -0
  1776. package/dist/api/resources/plans/types/GetPlanResponse.js +5 -0
  1777. package/dist/api/resources/plans/types/ListPlansParams.d.ts +17 -0
  1778. package/dist/api/resources/plans/types/ListPlansParams.js +5 -0
  1779. package/dist/api/resources/plans/types/ListPlansResponse.d.ts +10 -0
  1780. package/dist/api/resources/plans/types/ListPlansResponse.js +5 -0
  1781. package/dist/api/resources/plans/types/UpdateAudienceResponse.d.ts +9 -0
  1782. package/dist/api/resources/plans/types/UpdateAudienceResponse.js +5 -0
  1783. package/dist/api/resources/plans/types/UpdatePlanResponse.d.ts +9 -0
  1784. package/dist/api/resources/plans/types/UpdatePlanResponse.js +5 -0
  1785. package/dist/api/resources/plans/types/UpsertBillingProductPlanResponse.d.ts +9 -0
  1786. package/dist/api/resources/plans/types/UpsertBillingProductPlanResponse.js +5 -0
  1787. package/dist/api/resources/plans/types/index.d.ts +13 -0
  1788. package/dist/api/resources/plans/types/index.js +29 -0
  1789. package/dist/api/resources/webhooks/client/Client.d.ts +151 -0
  1790. package/dist/api/resources/webhooks/client/Client.js +955 -0
  1791. package/dist/api/resources/webhooks/client/index.d.ts +1 -0
  1792. package/dist/api/resources/webhooks/client/index.js +17 -0
  1793. package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +20 -0
  1794. package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.js +5 -0
  1795. package/dist/api/resources/webhooks/client/requests/CountWebhooksRequest.d.ts +18 -0
  1796. package/dist/api/resources/webhooks/client/requests/CountWebhooksRequest.js +5 -0
  1797. package/dist/api/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +17 -0
  1798. package/dist/api/resources/webhooks/client/requests/CreateWebhookRequestBody.js +5 -0
  1799. package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +20 -0
  1800. package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.js +5 -0
  1801. package/dist/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +18 -0
  1802. package/dist/api/resources/webhooks/client/requests/ListWebhooksRequest.js +5 -0
  1803. package/dist/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +14 -0
  1804. package/dist/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.js +5 -0
  1805. package/dist/api/resources/webhooks/client/requests/index.d.ts +6 -0
  1806. package/dist/api/resources/webhooks/client/requests/index.js +2 -0
  1807. package/dist/api/resources/webhooks/index.d.ts +2 -0
  1808. package/dist/api/resources/webhooks/index.js +18 -0
  1809. package/dist/api/resources/webhooks/types/CountWebhookEventsParams.d.ts +15 -0
  1810. package/dist/api/resources/webhooks/types/CountWebhookEventsParams.js +5 -0
  1811. package/dist/api/resources/webhooks/types/CountWebhookEventsResponse.d.ts +9 -0
  1812. package/dist/api/resources/webhooks/types/CountWebhookEventsResponse.js +5 -0
  1813. package/dist/api/resources/webhooks/types/CountWebhooksParams.d.ts +13 -0
  1814. package/dist/api/resources/webhooks/types/CountWebhooksParams.js +5 -0
  1815. package/dist/api/resources/webhooks/types/CountWebhooksResponse.d.ts +9 -0
  1816. package/dist/api/resources/webhooks/types/CountWebhooksResponse.js +5 -0
  1817. package/dist/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +29 -0
  1818. package/dist/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +31 -0
  1819. package/dist/api/resources/webhooks/types/CreateWebhookResponse.d.ts +9 -0
  1820. package/dist/api/resources/webhooks/types/CreateWebhookResponse.js +5 -0
  1821. package/dist/api/resources/webhooks/types/DeleteWebhookResponse.d.ts +9 -0
  1822. package/dist/api/resources/webhooks/types/DeleteWebhookResponse.js +5 -0
  1823. package/dist/api/resources/webhooks/types/GetWebhookEventResponse.d.ts +9 -0
  1824. package/dist/api/resources/webhooks/types/GetWebhookEventResponse.js +5 -0
  1825. package/dist/api/resources/webhooks/types/GetWebhookResponse.d.ts +9 -0
  1826. package/dist/api/resources/webhooks/types/GetWebhookResponse.js +5 -0
  1827. package/dist/api/resources/webhooks/types/ListWebhookEventsParams.d.ts +15 -0
  1828. package/dist/api/resources/webhooks/types/ListWebhookEventsParams.js +5 -0
  1829. package/dist/api/resources/webhooks/types/ListWebhookEventsResponse.d.ts +10 -0
  1830. package/dist/api/resources/webhooks/types/ListWebhookEventsResponse.js +5 -0
  1831. package/dist/api/resources/webhooks/types/ListWebhooksParams.d.ts +13 -0
  1832. package/dist/api/resources/webhooks/types/ListWebhooksParams.js +5 -0
  1833. package/dist/api/resources/webhooks/types/ListWebhooksResponse.d.ts +10 -0
  1834. package/dist/api/resources/webhooks/types/ListWebhooksResponse.js +5 -0
  1835. package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +29 -0
  1836. package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +31 -0
  1837. package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts +8 -0
  1838. package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyStatus.js +10 -0
  1839. package/dist/api/resources/webhooks/types/UpdateWebhookResponse.d.ts +9 -0
  1840. package/dist/api/resources/webhooks/types/UpdateWebhookResponse.js +5 -0
  1841. package/dist/api/resources/webhooks/types/index.d.ts +16 -0
  1842. package/dist/api/resources/webhooks/types/index.js +32 -0
  1843. package/dist/api/types/ApiError.d.ts +7 -0
  1844. package/dist/api/types/ApiError.js +5 -0
  1845. package/dist/api/types/ApiKeyCreateResponseData.d.ts +17 -0
  1846. package/dist/api/types/ApiKeyCreateResponseData.js +5 -0
  1847. package/dist/api/types/ApiKeyRequestListResponseData.d.ts +21 -0
  1848. package/dist/api/types/ApiKeyRequestListResponseData.js +5 -0
  1849. package/dist/api/types/ApiKeyRequestResponseData.d.ts +27 -0
  1850. package/dist/api/types/ApiKeyRequestResponseData.js +5 -0
  1851. package/dist/api/types/ApiKeyResponseData.d.ts +16 -0
  1852. package/dist/api/types/ApiKeyResponseData.js +5 -0
  1853. package/dist/api/types/AudienceRequestBody.d.ts +13 -0
  1854. package/dist/api/types/AudienceRequestBody.js +5 -0
  1855. package/dist/api/types/BillingCustomerResponseData.d.ts +16 -0
  1856. package/dist/api/types/BillingCustomerResponseData.js +5 -0
  1857. package/dist/api/types/BillingCustomerSubscription.d.ts +7 -0
  1858. package/dist/api/types/BillingCustomerSubscription.js +5 -0
  1859. package/dist/api/types/BillingCustomerWithSubscriptionsResponseData.d.ts +15 -0
  1860. package/dist/api/types/BillingCustomerWithSubscriptionsResponseData.js +5 -0
  1861. package/dist/api/types/BillingPriceResponseData.d.ts +9 -0
  1862. package/dist/api/types/BillingPriceResponseData.js +5 -0
  1863. package/dist/api/types/BillingProductDetailResponseData.d.ts +17 -0
  1864. package/dist/api/types/BillingProductDetailResponseData.js +5 -0
  1865. package/dist/api/types/BillingProductPlanResponseData.d.ts +14 -0
  1866. package/dist/api/types/BillingProductPlanResponseData.js +5 -0
  1867. package/dist/api/types/BillingProductPricing.d.ts +7 -0
  1868. package/dist/api/types/BillingProductPricing.js +5 -0
  1869. package/dist/api/types/BillingProductResponseData.d.ts +15 -0
  1870. package/dist/api/types/BillingProductResponseData.js +5 -0
  1871. package/dist/api/types/BillingSubscriptionResponseData.d.ts +12 -0
  1872. package/dist/api/types/BillingSubscriptionResponseData.js +5 -0
  1873. package/dist/api/types/CheckFlagOutputWithFlagKey.d.ts +12 -0
  1874. package/dist/api/types/CheckFlagOutputWithFlagKey.js +5 -0
  1875. package/dist/api/types/CheckFlagRequestBody.d.ts +7 -0
  1876. package/dist/api/types/CheckFlagRequestBody.js +5 -0
  1877. package/dist/api/types/CheckFlagResponseData.d.ts +14 -0
  1878. package/dist/api/types/CheckFlagResponseData.js +5 -0
  1879. package/dist/api/types/CheckFlagsResponseData.d.ts +10 -0
  1880. package/dist/api/types/CheckFlagsResponseData.js +5 -0
  1881. package/dist/api/types/CompanyCrmDealsResponseData.d.ts +11 -0
  1882. package/dist/api/types/CompanyCrmDealsResponseData.js +5 -0
  1883. package/dist/api/types/CompanyDetailResponseData.d.ts +21 -0
  1884. package/dist/api/types/CompanyDetailResponseData.js +5 -0
  1885. package/dist/api/types/CompanyMembershipDetailResponseData.d.ts +12 -0
  1886. package/dist/api/types/CompanyMembershipDetailResponseData.js +5 -0
  1887. package/dist/api/types/CompanyMembershipResponseData.d.ts +10 -0
  1888. package/dist/api/types/CompanyMembershipResponseData.js +5 -0
  1889. package/dist/api/types/CompanyOverrideResponseData.d.ts +24 -0
  1890. package/dist/api/types/CompanyOverrideResponseData.js +5 -0
  1891. package/dist/api/types/CompanyPlanResponseData.d.ts +11 -0
  1892. package/dist/api/types/CompanyPlanResponseData.js +5 -0
  1893. package/dist/api/types/CompanyResponseData.d.ts +12 -0
  1894. package/dist/api/types/CompanyResponseData.js +5 -0
  1895. package/dist/api/types/CompanySubscriptionResponseData.d.ts +11 -0
  1896. package/dist/api/types/CompanySubscriptionResponseData.js +5 -0
  1897. package/dist/api/types/ComponentHydrateResponseData.d.ts +12 -0
  1898. package/dist/api/types/ComponentHydrateResponseData.js +5 -0
  1899. package/dist/api/types/ComponentResponseData.d.ts +12 -0
  1900. package/dist/api/types/ComponentResponseData.js +5 -0
  1901. package/dist/api/types/CountResponse.d.ts +9 -0
  1902. package/dist/api/types/CountResponse.js +5 -0
  1903. package/dist/api/types/CreateEventRequestBody.d.ts +11 -0
  1904. package/dist/api/types/CreateEventRequestBody.js +5 -0
  1905. package/dist/api/types/CreateEventRequestBodyEventType.d.ts +12 -0
  1906. package/dist/api/types/CreateEventRequestBodyEventType.js +11 -0
  1907. package/dist/api/types/CreateFlagRequestBody.d.ts +12 -0
  1908. package/dist/api/types/CreateFlagRequestBody.js +5 -0
  1909. package/dist/api/types/CreateOrUpdateConditionGroupRequestBody.d.ts +10 -0
  1910. package/dist/api/types/CreateOrUpdateConditionGroupRequestBody.js +5 -0
  1911. package/dist/api/types/CreateOrUpdateConditionRequestBody.d.ts +23 -0
  1912. package/dist/api/types/CreateOrUpdateConditionRequestBody.js +5 -0
  1913. package/dist/api/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +13 -0
  1914. package/dist/api/types/CreateOrUpdateConditionRequestBodyConditionType.js +15 -0
  1915. package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +12 -0
  1916. package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.js +11 -0
  1917. package/dist/api/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +12 -0
  1918. package/dist/api/types/CreateOrUpdateConditionRequestBodyOperator.js +14 -0
  1919. package/dist/api/types/CreateOrUpdateFlagRequestBody.d.ts +13 -0
  1920. package/dist/api/types/CreateOrUpdateFlagRequestBody.js +5 -0
  1921. package/dist/api/types/CreateOrUpdateRuleRequestBody.d.ts +13 -0
  1922. package/dist/api/types/CreateOrUpdateRuleRequestBody.js +5 -0
  1923. package/dist/api/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +12 -0
  1924. package/dist/api/types/CreateOrUpdateRuleRequestBodyRuleType.js +14 -0
  1925. package/dist/api/types/CreateReqCommon.d.ts +12 -0
  1926. package/dist/api/types/CreateReqCommon.js +5 -0
  1927. package/dist/api/types/CreateReqCommonMetricPeriod.d.ts +9 -0
  1928. package/dist/api/types/CreateReqCommonMetricPeriod.js +11 -0
  1929. package/dist/api/types/CreateReqCommonValueType.d.ts +10 -0
  1930. package/dist/api/types/CreateReqCommonValueType.js +12 -0
  1931. package/dist/api/types/CrmDealLineItem.d.ts +18 -0
  1932. package/dist/api/types/CrmDealLineItem.js +5 -0
  1933. package/dist/api/types/CrmDealResponseData.d.ts +19 -0
  1934. package/dist/api/types/CrmDealResponseData.js +5 -0
  1935. package/dist/api/types/CrmLineItemResponseData.d.ts +14 -0
  1936. package/dist/api/types/CrmLineItemResponseData.js +5 -0
  1937. package/dist/api/types/CrmProductResponseData.d.ts +18 -0
  1938. package/dist/api/types/CrmProductResponseData.js +5 -0
  1939. package/dist/api/types/Decimal.d.ts +4 -0
  1940. package/dist/api/types/Decimal.js +5 -0
  1941. package/dist/api/types/DeleteResponse.d.ts +7 -0
  1942. package/dist/api/types/DeleteResponse.js +5 -0
  1943. package/dist/api/types/EntityKeyDefinitionResponseData.d.ts +10 -0
  1944. package/dist/api/types/EntityKeyDefinitionResponseData.js +5 -0
  1945. package/dist/api/types/EntityKeyDetailResponseData.d.ts +16 -0
  1946. package/dist/api/types/EntityKeyDetailResponseData.js +5 -0
  1947. package/dist/api/types/EntityKeyResponseData.d.ts +14 -0
  1948. package/dist/api/types/EntityKeyResponseData.js +5 -0
  1949. package/dist/api/types/EntityTraitDefinitionResponseData.d.ts +12 -0
  1950. package/dist/api/types/EntityTraitDefinitionResponseData.js +5 -0
  1951. package/dist/api/types/EntityTraitDetailResponseData.d.ts +13 -0
  1952. package/dist/api/types/EntityTraitDetailResponseData.js +5 -0
  1953. package/dist/api/types/EntityTraitResponseData.d.ts +11 -0
  1954. package/dist/api/types/EntityTraitResponseData.js +5 -0
  1955. package/dist/api/types/EntityTraitValue.d.ts +7 -0
  1956. package/dist/api/types/EntityTraitValue.js +5 -0
  1957. package/dist/api/types/EnvironmentDetailResponseData.d.ts +15 -0
  1958. package/dist/api/types/EnvironmentDetailResponseData.js +5 -0
  1959. package/dist/api/types/EnvironmentResponseData.d.ts +13 -0
  1960. package/dist/api/types/EnvironmentResponseData.js +5 -0
  1961. package/dist/api/types/EventBody.d.ts +5 -0
  1962. package/dist/api/types/EventBody.js +5 -0
  1963. package/dist/api/types/EventBodyFlagCheck.d.ts +25 -0
  1964. package/dist/api/types/EventBodyFlagCheck.js +5 -0
  1965. package/dist/api/types/EventBodyIdentify.d.ts +14 -0
  1966. package/dist/api/types/EventBodyIdentify.js +5 -0
  1967. package/dist/api/types/EventBodyIdentifyCompany.d.ts +14 -0
  1968. package/dist/api/types/EventBodyIdentifyCompany.js +5 -0
  1969. package/dist/api/types/EventBodyTrack.d.ts +13 -0
  1970. package/dist/api/types/EventBodyTrack.js +5 -0
  1971. package/dist/api/types/EventDetailResponseData.d.ts +27 -0
  1972. package/dist/api/types/EventDetailResponseData.js +5 -0
  1973. package/dist/api/types/EventResponseData.d.ts +23 -0
  1974. package/dist/api/types/EventResponseData.js +5 -0
  1975. package/dist/api/types/EventSummaryResponseData.d.ts +11 -0
  1976. package/dist/api/types/EventSummaryResponseData.js +5 -0
  1977. package/dist/api/types/FeatureCompanyResponseData.d.ts +21 -0
  1978. package/dist/api/types/FeatureCompanyResponseData.js +5 -0
  1979. package/dist/api/types/FeatureCompanyResponseDataAllocationType.d.ts +13 -0
  1980. package/dist/api/types/FeatureCompanyResponseDataAllocationType.js +12 -0
  1981. package/dist/api/types/FeatureCompanyUserResponseData.d.ts +22 -0
  1982. package/dist/api/types/FeatureCompanyUserResponseData.js +5 -0
  1983. package/dist/api/types/FeatureCompanyUserResponseDataAllocationType.d.ts +13 -0
  1984. package/dist/api/types/FeatureCompanyUserResponseDataAllocationType.js +12 -0
  1985. package/dist/api/types/FeatureDetailResponseData.d.ts +21 -0
  1986. package/dist/api/types/FeatureDetailResponseData.js +5 -0
  1987. package/dist/api/types/FeatureResponseData.d.ts +16 -0
  1988. package/dist/api/types/FeatureResponseData.js +5 -0
  1989. package/dist/api/types/FeatureUsageDetailResponseData.d.ts +7 -0
  1990. package/dist/api/types/FeatureUsageDetailResponseData.js +5 -0
  1991. package/dist/api/types/FeatureUsageResponseData.d.ts +20 -0
  1992. package/dist/api/types/FeatureUsageResponseData.js +5 -0
  1993. package/dist/api/types/FeatureUsageResponseDataAllocationType.d.ts +13 -0
  1994. package/dist/api/types/FeatureUsageResponseDataAllocationType.js +12 -0
  1995. package/dist/api/types/FlagDetailResponseData.d.ts +19 -0
  1996. package/dist/api/types/FlagDetailResponseData.js +5 -0
  1997. package/dist/api/types/FlagResponseData.d.ts +15 -0
  1998. package/dist/api/types/FlagResponseData.js +5 -0
  1999. package/dist/api/types/IssueTemporaryAccessTokenResponseData.d.ts +16 -0
  2000. package/dist/api/types/IssueTemporaryAccessTokenResponseData.js +5 -0
  2001. package/dist/api/types/KeysRequestBody.d.ts +6 -0
  2002. package/dist/api/types/KeysRequestBody.js +5 -0
  2003. package/dist/api/types/MetricCountsHourlyResponseData.d.ts +12 -0
  2004. package/dist/api/types/MetricCountsHourlyResponseData.js +5 -0
  2005. package/dist/api/types/PaginationFilter.d.ts +9 -0
  2006. package/dist/api/types/PaginationFilter.js +5 -0
  2007. package/dist/api/types/PlanAudienceDetailResponseData.d.ts +21 -0
  2008. package/dist/api/types/PlanAudienceDetailResponseData.js +5 -0
  2009. package/dist/api/types/PlanAudienceResponseData.d.ts +15 -0
  2010. package/dist/api/types/PlanAudienceResponseData.js +5 -0
  2011. package/dist/api/types/PlanDetailResponseData.d.ts +20 -0
  2012. package/dist/api/types/PlanDetailResponseData.js +5 -0
  2013. package/dist/api/types/PlanEntitlementResponseData.d.ts +24 -0
  2014. package/dist/api/types/PlanEntitlementResponseData.js +5 -0
  2015. package/dist/api/types/PlanResponseData.d.ts +13 -0
  2016. package/dist/api/types/PlanResponseData.js +5 -0
  2017. package/dist/api/types/PreviewObject.d.ts +9 -0
  2018. package/dist/api/types/PreviewObject.js +5 -0
  2019. package/dist/api/types/RawEventBatchResponseData.d.ts +10 -0
  2020. package/dist/api/types/RawEventBatchResponseData.js +5 -0
  2021. package/dist/api/types/RawEventResponseData.d.ts +10 -0
  2022. package/dist/api/types/RawEventResponseData.js +5 -0
  2023. package/dist/api/types/RuleConditionDetailResponseData.d.ts +27 -0
  2024. package/dist/api/types/RuleConditionDetailResponseData.js +5 -0
  2025. package/dist/api/types/RuleConditionGroupDetailResponseData.d.ts +14 -0
  2026. package/dist/api/types/RuleConditionGroupDetailResponseData.js +5 -0
  2027. package/dist/api/types/RuleConditionGroupResponseData.d.ts +12 -0
  2028. package/dist/api/types/RuleConditionGroupResponseData.js +5 -0
  2029. package/dist/api/types/RuleConditionResourceResponseData.d.ts +7 -0
  2030. package/dist/api/types/RuleConditionResourceResponseData.js +5 -0
  2031. package/dist/api/types/RuleConditionResponseData.d.ts +23 -0
  2032. package/dist/api/types/RuleConditionResponseData.js +5 -0
  2033. package/dist/api/types/RuleDetailResponseData.d.ts +18 -0
  2034. package/dist/api/types/RuleDetailResponseData.js +5 -0
  2035. package/dist/api/types/RuleResponseData.d.ts +15 -0
  2036. package/dist/api/types/RuleResponseData.js +5 -0
  2037. package/dist/api/types/RulesDetailResponseData.d.ts +11 -0
  2038. package/dist/api/types/RulesDetailResponseData.js +5 -0
  2039. package/dist/api/types/SegmentStatusResp.d.ts +11 -0
  2040. package/dist/api/types/SegmentStatusResp.js +5 -0
  2041. package/dist/api/types/TemporaryAccessTokenResponseData.d.ts +12 -0
  2042. package/dist/api/types/TemporaryAccessTokenResponseData.js +5 -0
  2043. package/dist/api/types/UpdateReqCommon.d.ts +11 -0
  2044. package/dist/api/types/UpdateReqCommon.js +5 -0
  2045. package/dist/api/types/UpdateReqCommonMetricPeriod.d.ts +9 -0
  2046. package/dist/api/types/UpdateReqCommonMetricPeriod.js +11 -0
  2047. package/dist/api/types/UpdateReqCommonValueType.d.ts +10 -0
  2048. package/dist/api/types/UpdateReqCommonValueType.js +12 -0
  2049. package/dist/api/types/UpdateRuleRequestBody.d.ts +11 -0
  2050. package/dist/api/types/UpdateRuleRequestBody.js +5 -0
  2051. package/dist/api/types/UpsertCompanyRequestBody.d.ts +13 -0
  2052. package/dist/api/types/UpsertCompanyRequestBody.js +5 -0
  2053. package/dist/api/types/UpsertTraitRequestBody.d.ts +15 -0
  2054. package/dist/api/types/UpsertTraitRequestBody.js +5 -0
  2055. package/dist/api/types/UpsertUserRequestBody.d.ts +17 -0
  2056. package/dist/api/types/UpsertUserRequestBody.js +5 -0
  2057. package/dist/api/types/UpsertUserSubRequestBody.d.ts +15 -0
  2058. package/dist/api/types/UpsertUserSubRequestBody.js +5 -0
  2059. package/dist/api/types/UserDetailResponseData.d.ts +17 -0
  2060. package/dist/api/types/UserDetailResponseData.js +5 -0
  2061. package/dist/api/types/UserResponseData.d.ts +11 -0
  2062. package/dist/api/types/UserResponseData.js +5 -0
  2063. package/dist/api/types/WebhookEventDetailResponseData.d.ts +16 -0
  2064. package/dist/api/types/WebhookEventDetailResponseData.js +5 -0
  2065. package/dist/api/types/WebhookEventResponseData.d.ts +14 -0
  2066. package/dist/api/types/WebhookEventResponseData.js +5 -0
  2067. package/dist/api/types/WebhookResponseData.d.ts +12 -0
  2068. package/dist/api/types/WebhookResponseData.js +5 -0
  2069. package/dist/api/types/index.d.ts +113 -0
  2070. package/dist/api/types/index.js +129 -0
  2071. package/dist/cache.d.ts +22 -0
  2072. package/dist/cache.js +102 -0
  2073. package/dist/cache.test.d.ts +1 -0
  2074. package/dist/cache.test.js +87 -0
  2075. package/dist/core/fetcher/APIResponse.d.ts +10 -0
  2076. package/dist/core/fetcher/APIResponse.js +2 -0
  2077. package/dist/core/fetcher/Fetcher.d.ts +39 -0
  2078. package/dist/core/fetcher/Fetcher.js +99 -0
  2079. package/dist/core/fetcher/Supplier.d.ts +4 -0
  2080. package/dist/core/fetcher/Supplier.js +22 -0
  2081. package/dist/core/fetcher/createRequestUrl.d.ts +1 -0
  2082. package/dist/core/fetcher/createRequestUrl.js +13 -0
  2083. package/dist/core/fetcher/custom.d.ts +3 -0
  2084. package/dist/core/fetcher/custom.js +115 -0
  2085. package/dist/core/fetcher/getFetchFn.d.ts +4 -0
  2086. package/dist/core/fetcher/getFetchFn.js +59 -0
  2087. package/dist/core/fetcher/getHeader.d.ts +1 -0
  2088. package/dist/core/fetcher/getHeader.js +12 -0
  2089. package/dist/core/fetcher/getRequestBody.d.ts +7 -0
  2090. package/dist/core/fetcher/getRequestBody.js +23 -0
  2091. package/dist/core/fetcher/getResponseBody.d.ts +1 -0
  2092. package/dist/core/fetcher/getResponseBody.js +52 -0
  2093. package/dist/core/fetcher/index.d.ts +5 -0
  2094. package/dist/core/fetcher/index.js +9 -0
  2095. package/dist/core/fetcher/makeRequest.d.ts +1 -0
  2096. package/dist/core/fetcher/makeRequest.js +42 -0
  2097. package/dist/core/fetcher/requestWithRetries.d.ts +1 -0
  2098. package/dist/core/fetcher/requestWithRetries.js +32 -0
  2099. package/dist/core/fetcher/signals.d.ts +12 -0
  2100. package/dist/core/fetcher/signals.js +37 -0
  2101. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
  2102. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +226 -0
  2103. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +21 -0
  2104. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +108 -0
  2105. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +30 -0
  2106. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +208 -0
  2107. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +17 -0
  2108. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +50 -0
  2109. package/dist/core/index.d.ts +3 -0
  2110. package/dist/core/index.js +32 -0
  2111. package/dist/core/runtime/index.d.ts +1 -0
  2112. package/dist/core/runtime/index.js +5 -0
  2113. package/dist/core/runtime/runtime.d.ts +9 -0
  2114. package/dist/core/runtime/runtime.js +93 -0
  2115. package/dist/core/schemas/Schema.d.ts +84 -0
  2116. package/dist/core/schemas/Schema.js +21 -0
  2117. package/dist/core/schemas/builders/date/date.d.ts +2 -0
  2118. package/dist/core/schemas/builders/date/date.js +63 -0
  2119. package/dist/core/schemas/builders/date/index.d.ts +1 -0
  2120. package/dist/core/schemas/builders/date/index.js +5 -0
  2121. package/dist/core/schemas/builders/enum/enum.d.ts +2 -0
  2122. package/dist/core/schemas/builders/enum/enum.js +39 -0
  2123. package/dist/core/schemas/builders/enum/index.d.ts +1 -0
  2124. package/dist/core/schemas/builders/enum/index.js +5 -0
  2125. package/dist/core/schemas/builders/index.d.ts +13 -0
  2126. package/dist/core/schemas/builders/index.js +29 -0
  2127. package/dist/core/schemas/builders/lazy/index.d.ts +3 -0
  2128. package/dist/core/schemas/builders/lazy/index.js +7 -0
  2129. package/dist/core/schemas/builders/lazy/lazy.d.ts +5 -0
  2130. package/dist/core/schemas/builders/lazy/lazy.js +25 -0
  2131. package/dist/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
  2132. package/dist/core/schemas/builders/lazy/lazyObject.js +12 -0
  2133. package/dist/core/schemas/builders/list/index.d.ts +1 -0
  2134. package/dist/core/schemas/builders/list/index.js +5 -0
  2135. package/dist/core/schemas/builders/list/list.d.ts +2 -0
  2136. package/dist/core/schemas/builders/list/list.js +55 -0
  2137. package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
  2138. package/dist/core/schemas/builders/literals/booleanLiteral.js +29 -0
  2139. package/dist/core/schemas/builders/literals/index.d.ts +2 -0
  2140. package/dist/core/schemas/builders/literals/index.js +7 -0
  2141. package/dist/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
  2142. package/dist/core/schemas/builders/literals/stringLiteral.js +29 -0
  2143. package/dist/core/schemas/builders/object/index.d.ts +6 -0
  2144. package/dist/core/schemas/builders/object/index.js +11 -0
  2145. package/dist/core/schemas/builders/object/object.d.ts +3 -0
  2146. package/dist/core/schemas/builders/object/object.js +233 -0
  2147. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
  2148. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
  2149. package/dist/core/schemas/builders/object/property.d.ts +8 -0
  2150. package/dist/core/schemas/builders/object/property.js +16 -0
  2151. package/dist/core/schemas/builders/object/types.d.ts +26 -0
  2152. package/dist/core/schemas/builders/object/types.js +2 -0
  2153. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
  2154. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +54 -0
  2155. package/dist/core/schemas/builders/object-like/index.d.ts +2 -0
  2156. package/dist/core/schemas/builders/object-like/index.js +6 -0
  2157. package/dist/core/schemas/builders/object-like/types.d.ts +7 -0
  2158. package/dist/core/schemas/builders/object-like/types.js +2 -0
  2159. package/dist/core/schemas/builders/primitives/any.d.ts +1 -0
  2160. package/dist/core/schemas/builders/primitives/any.js +6 -0
  2161. package/dist/core/schemas/builders/primitives/boolean.d.ts +1 -0
  2162. package/dist/core/schemas/builders/primitives/boolean.js +25 -0
  2163. package/dist/core/schemas/builders/primitives/index.d.ts +5 -0
  2164. package/dist/core/schemas/builders/primitives/index.js +13 -0
  2165. package/dist/core/schemas/builders/primitives/number.d.ts +1 -0
  2166. package/dist/core/schemas/builders/primitives/number.js +25 -0
  2167. package/dist/core/schemas/builders/primitives/string.d.ts +1 -0
  2168. package/dist/core/schemas/builders/primitives/string.js +25 -0
  2169. package/dist/core/schemas/builders/primitives/unknown.d.ts +1 -0
  2170. package/dist/core/schemas/builders/primitives/unknown.js +6 -0
  2171. package/dist/core/schemas/builders/record/index.d.ts +2 -0
  2172. package/dist/core/schemas/builders/record/index.js +5 -0
  2173. package/dist/core/schemas/builders/record/record.d.ts +3 -0
  2174. package/dist/core/schemas/builders/record/record.js +95 -0
  2175. package/dist/core/schemas/builders/record/types.d.ts +4 -0
  2176. package/dist/core/schemas/builders/record/types.js +2 -0
  2177. package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
  2178. package/dist/core/schemas/builders/schema-utils/JsonError.js +12 -0
  2179. package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
  2180. package/dist/core/schemas/builders/schema-utils/ParseError.js +12 -0
  2181. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
  2182. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +82 -0
  2183. package/dist/core/schemas/builders/schema-utils/index.d.ts +4 -0
  2184. package/dist/core/schemas/builders/schema-utils/index.js +11 -0
  2185. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
  2186. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
  2187. package/dist/core/schemas/builders/set/index.d.ts +1 -0
  2188. package/dist/core/schemas/builders/set/index.js +5 -0
  2189. package/dist/core/schemas/builders/set/set.d.ts +2 -0
  2190. package/dist/core/schemas/builders/set/set.js +44 -0
  2191. package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
  2192. package/dist/core/schemas/builders/undiscriminated-union/index.js +5 -0
  2193. package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
  2194. package/dist/core/schemas/builders/undiscriminated-union/types.js +2 -0
  2195. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
  2196. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +40 -0
  2197. package/dist/core/schemas/builders/union/discriminant.d.ts +5 -0
  2198. package/dist/core/schemas/builders/union/discriminant.js +10 -0
  2199. package/dist/core/schemas/builders/union/index.d.ts +4 -0
  2200. package/dist/core/schemas/builders/union/index.js +7 -0
  2201. package/dist/core/schemas/builders/union/types.d.ts +13 -0
  2202. package/dist/core/schemas/builders/union/types.js +2 -0
  2203. package/dist/core/schemas/builders/union/union.d.ts +4 -0
  2204. package/dist/core/schemas/builders/union/union.js +130 -0
  2205. package/dist/core/schemas/index.d.ts +2 -0
  2206. package/dist/core/schemas/index.js +17 -0
  2207. package/dist/core/schemas/utils/MaybePromise.d.ts +1 -0
  2208. package/dist/core/schemas/utils/MaybePromise.js +2 -0
  2209. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
  2210. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
  2211. package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
  2212. package/dist/core/schemas/utils/createIdentitySchemaCreator.js +16 -0
  2213. package/dist/core/schemas/utils/entries.d.ts +1 -0
  2214. package/dist/core/schemas/utils/entries.js +7 -0
  2215. package/dist/core/schemas/utils/filterObject.d.ts +1 -0
  2216. package/dist/core/schemas/utils/filterObject.js +14 -0
  2217. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
  2218. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +24 -0
  2219. package/dist/core/schemas/utils/isPlainObject.d.ts +1 -0
  2220. package/dist/core/schemas/utils/isPlainObject.js +18 -0
  2221. package/dist/core/schemas/utils/keys.d.ts +1 -0
  2222. package/dist/core/schemas/utils/keys.js +7 -0
  2223. package/dist/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
  2224. package/dist/core/schemas/utils/maybeSkipValidation.js +28 -0
  2225. package/dist/core/schemas/utils/partition.d.ts +1 -0
  2226. package/dist/core/schemas/utils/partition.js +16 -0
  2227. package/dist/environments.d.ts +7 -0
  2228. package/dist/environments.js +9 -0
  2229. package/dist/errors/SchematicError.d.ts +12 -0
  2230. package/dist/errors/SchematicError.js +32 -0
  2231. package/dist/errors/SchematicTimeoutError.d.ts +6 -0
  2232. package/dist/errors/SchematicTimeoutError.js +13 -0
  2233. package/dist/errors/index.d.ts +2 -0
  2234. package/dist/errors/index.js +7 -0
  2235. package/dist/events.d.ts +23 -0
  2236. package/dist/events.js +70 -0
  2237. package/dist/events.test.d.ts +1 -0
  2238. package/dist/events.test.js +148 -0
  2239. package/dist/index.d.ts +5 -0
  2240. package/dist/index.js +36 -0
  2241. package/dist/logger.d.ts +13 -0
  2242. package/dist/logger.js +19 -0
  2243. package/dist/serialization/index.d.ts +2 -0
  2244. package/dist/serialization/index.js +18 -0
  2245. package/dist/serialization/resources/accesstokens/client/index.d.ts +1 -0
  2246. package/dist/serialization/resources/accesstokens/client/index.js +17 -0
  2247. package/dist/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +13 -0
  2248. package/dist/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.js +34 -0
  2249. package/dist/serialization/resources/accesstokens/client/requests/index.d.ts +1 -0
  2250. package/dist/serialization/resources/accesstokens/client/requests/index.js +5 -0
  2251. package/dist/serialization/resources/accesstokens/index.d.ts +2 -0
  2252. package/dist/serialization/resources/accesstokens/index.js +18 -0
  2253. package/dist/serialization/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.d.ts +14 -0
  2254. package/dist/serialization/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.js +35 -0
  2255. package/dist/serialization/resources/accesstokens/types/index.d.ts +1 -0
  2256. package/dist/serialization/resources/accesstokens/types/index.js +17 -0
  2257. package/dist/serialization/resources/accounts/client/index.d.ts +1 -0
  2258. package/dist/serialization/resources/accounts/client/index.js +17 -0
  2259. package/dist/serialization/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +14 -0
  2260. package/dist/serialization/resources/accounts/client/requests/CreateApiKeyRequestBody.js +35 -0
  2261. package/dist/serialization/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +14 -0
  2262. package/dist/serialization/resources/accounts/client/requests/CreateEnvironmentRequestBody.js +35 -0
  2263. package/dist/serialization/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +13 -0
  2264. package/dist/serialization/resources/accounts/client/requests/UpdateApiKeyRequestBody.js +34 -0
  2265. package/dist/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +14 -0
  2266. package/dist/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.js +35 -0
  2267. package/dist/serialization/resources/accounts/client/requests/index.d.ts +4 -0
  2268. package/dist/serialization/resources/accounts/client/requests/index.js +11 -0
  2269. package/dist/serialization/resources/accounts/index.d.ts +2 -0
  2270. package/dist/serialization/resources/accounts/index.js +18 -0
  2271. package/dist/serialization/resources/accounts/types/CountApiKeysParams.d.ts +15 -0
  2272. package/dist/serialization/resources/accounts/types/CountApiKeysParams.js +36 -0
  2273. package/dist/serialization/resources/accounts/types/CountApiKeysResponse.d.ts +15 -0
  2274. package/dist/serialization/resources/accounts/types/CountApiKeysResponse.js +36 -0
  2275. package/dist/serialization/resources/accounts/types/CountApiRequestsParams.d.ts +16 -0
  2276. package/dist/serialization/resources/accounts/types/CountApiRequestsParams.js +37 -0
  2277. package/dist/serialization/resources/accounts/types/CountApiRequestsResponse.d.ts +15 -0
  2278. package/dist/serialization/resources/accounts/types/CountApiRequestsResponse.js +36 -0
  2279. package/dist/serialization/resources/accounts/types/CreateApiKeyResponse.d.ts +14 -0
  2280. package/dist/serialization/resources/accounts/types/CreateApiKeyResponse.js +35 -0
  2281. package/dist/serialization/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts +10 -0
  2282. package/dist/serialization/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.js +31 -0
  2283. package/dist/serialization/resources/accounts/types/CreateEnvironmentResponse.d.ts +14 -0
  2284. package/dist/serialization/resources/accounts/types/CreateEnvironmentResponse.js +35 -0
  2285. package/dist/serialization/resources/accounts/types/DeleteApiKeyResponse.d.ts +14 -0
  2286. package/dist/serialization/resources/accounts/types/DeleteApiKeyResponse.js +35 -0
  2287. package/dist/serialization/resources/accounts/types/DeleteEnvironmentResponse.d.ts +14 -0
  2288. package/dist/serialization/resources/accounts/types/DeleteEnvironmentResponse.js +35 -0
  2289. package/dist/serialization/resources/accounts/types/GetApiKeyResponse.d.ts +14 -0
  2290. package/dist/serialization/resources/accounts/types/GetApiKeyResponse.js +35 -0
  2291. package/dist/serialization/resources/accounts/types/GetApiRequestResponse.d.ts +14 -0
  2292. package/dist/serialization/resources/accounts/types/GetApiRequestResponse.js +35 -0
  2293. package/dist/serialization/resources/accounts/types/GetEnvironmentResponse.d.ts +14 -0
  2294. package/dist/serialization/resources/accounts/types/GetEnvironmentResponse.js +35 -0
  2295. package/dist/serialization/resources/accounts/types/ListApiKeysParams.d.ts +15 -0
  2296. package/dist/serialization/resources/accounts/types/ListApiKeysParams.js +36 -0
  2297. package/dist/serialization/resources/accounts/types/ListApiKeysResponse.d.ts +15 -0
  2298. package/dist/serialization/resources/accounts/types/ListApiKeysResponse.js +36 -0
  2299. package/dist/serialization/resources/accounts/types/ListApiRequestsParams.d.ts +16 -0
  2300. package/dist/serialization/resources/accounts/types/ListApiRequestsParams.js +37 -0
  2301. package/dist/serialization/resources/accounts/types/ListApiRequestsResponse.d.ts +15 -0
  2302. package/dist/serialization/resources/accounts/types/ListApiRequestsResponse.js +36 -0
  2303. package/dist/serialization/resources/accounts/types/ListEnvironmentsParams.d.ts +14 -0
  2304. package/dist/serialization/resources/accounts/types/ListEnvironmentsParams.js +35 -0
  2305. package/dist/serialization/resources/accounts/types/ListEnvironmentsResponse.d.ts +15 -0
  2306. package/dist/serialization/resources/accounts/types/ListEnvironmentsResponse.js +36 -0
  2307. package/dist/serialization/resources/accounts/types/UpdateApiKeyResponse.d.ts +14 -0
  2308. package/dist/serialization/resources/accounts/types/UpdateApiKeyResponse.js +35 -0
  2309. package/dist/serialization/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +10 -0
  2310. package/dist/serialization/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.js +31 -0
  2311. package/dist/serialization/resources/accounts/types/UpdateEnvironmentResponse.d.ts +14 -0
  2312. package/dist/serialization/resources/accounts/types/UpdateEnvironmentResponse.js +35 -0
  2313. package/dist/serialization/resources/accounts/types/index.d.ts +21 -0
  2314. package/dist/serialization/resources/accounts/types/index.js +37 -0
  2315. package/dist/serialization/resources/billing/client/index.d.ts +1 -0
  2316. package/dist/serialization/resources/billing/client/index.js +17 -0
  2317. package/dist/serialization/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +17 -0
  2318. package/dist/serialization/resources/billing/client/requests/CreateBillingCustomerRequestBody.js +38 -0
  2319. package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +15 -0
  2320. package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.js +36 -0
  2321. package/dist/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +16 -0
  2322. package/dist/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.js +37 -0
  2323. package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.d.ts +20 -0
  2324. package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.js +41 -0
  2325. package/dist/serialization/resources/billing/client/requests/index.d.ts +4 -0
  2326. package/dist/serialization/resources/billing/client/requests/index.js +11 -0
  2327. package/dist/serialization/resources/billing/index.d.ts +2 -0
  2328. package/dist/serialization/resources/billing/index.js +18 -0
  2329. package/dist/serialization/resources/billing/types/CountCustomersParams.d.ts +16 -0
  2330. package/dist/serialization/resources/billing/types/CountCustomersParams.js +37 -0
  2331. package/dist/serialization/resources/billing/types/CountCustomersResponse.d.ts +15 -0
  2332. package/dist/serialization/resources/billing/types/CountCustomersResponse.js +36 -0
  2333. package/dist/serialization/resources/billing/types/ListBillingProductsParams.d.ts +16 -0
  2334. package/dist/serialization/resources/billing/types/ListBillingProductsParams.js +37 -0
  2335. package/dist/serialization/resources/billing/types/ListBillingProductsResponse.d.ts +15 -0
  2336. package/dist/serialization/resources/billing/types/ListBillingProductsResponse.js +36 -0
  2337. package/dist/serialization/resources/billing/types/ListCustomersParams.d.ts +16 -0
  2338. package/dist/serialization/resources/billing/types/ListCustomersParams.js +37 -0
  2339. package/dist/serialization/resources/billing/types/ListCustomersResponse.d.ts +15 -0
  2340. package/dist/serialization/resources/billing/types/ListCustomersResponse.js +36 -0
  2341. package/dist/serialization/resources/billing/types/ListProductPricesParams.d.ts +16 -0
  2342. package/dist/serialization/resources/billing/types/ListProductPricesParams.js +37 -0
  2343. package/dist/serialization/resources/billing/types/ListProductPricesResponse.d.ts +15 -0
  2344. package/dist/serialization/resources/billing/types/ListProductPricesResponse.js +36 -0
  2345. package/dist/serialization/resources/billing/types/UpsertBillingCustomerResponse.d.ts +14 -0
  2346. package/dist/serialization/resources/billing/types/UpsertBillingCustomerResponse.js +35 -0
  2347. package/dist/serialization/resources/billing/types/UpsertBillingPriceResponse.d.ts +14 -0
  2348. package/dist/serialization/resources/billing/types/UpsertBillingPriceResponse.js +35 -0
  2349. package/dist/serialization/resources/billing/types/UpsertBillingProductResponse.d.ts +14 -0
  2350. package/dist/serialization/resources/billing/types/UpsertBillingProductResponse.js +35 -0
  2351. package/dist/serialization/resources/billing/types/UpsertBillingSubscriptionResponse.d.ts +14 -0
  2352. package/dist/serialization/resources/billing/types/UpsertBillingSubscriptionResponse.js +35 -0
  2353. package/dist/serialization/resources/billing/types/index.d.ts +12 -0
  2354. package/dist/serialization/resources/billing/types/index.js +28 -0
  2355. package/dist/serialization/resources/companies/client/index.d.ts +1 -0
  2356. package/dist/serialization/resources/companies/client/index.js +17 -0
  2357. package/dist/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +17 -0
  2358. package/dist/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.js +38 -0
  2359. package/dist/serialization/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.d.ts +13 -0
  2360. package/dist/serialization/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.js +34 -0
  2361. package/dist/serialization/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +14 -0
  2362. package/dist/serialization/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.js +35 -0
  2363. package/dist/serialization/resources/companies/client/requests/index.d.ts +3 -0
  2364. package/dist/serialization/resources/companies/client/requests/index.js +9 -0
  2365. package/dist/serialization/resources/companies/index.d.ts +2 -0
  2366. package/dist/serialization/resources/companies/index.js +18 -0
  2367. package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +17 -0
  2368. package/dist/serialization/resources/companies/types/CountCompaniesParams.js +38 -0
  2369. package/dist/serialization/resources/companies/types/CountCompaniesResponse.d.ts +15 -0
  2370. package/dist/serialization/resources/companies/types/CountCompaniesResponse.js +36 -0
  2371. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +17 -0
  2372. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsParams.js +38 -0
  2373. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +10 -0
  2374. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.js +31 -0
  2375. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponse.d.ts +15 -0
  2376. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponse.js +36 -0
  2377. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +10 -0
  2378. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.js +31 -0
  2379. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +19 -0
  2380. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.js +40 -0
  2381. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +10 -0
  2382. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.js +31 -0
  2383. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +10 -0
  2384. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.js +31 -0
  2385. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponse.d.ts +15 -0
  2386. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponse.js +36 -0
  2387. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +10 -0
  2388. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.js +31 -0
  2389. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +10 -0
  2390. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.js +31 -0
  2391. package/dist/serialization/resources/companies/types/CountUsersParams.d.ts +17 -0
  2392. package/dist/serialization/resources/companies/types/CountUsersParams.js +38 -0
  2393. package/dist/serialization/resources/companies/types/CountUsersResponse.d.ts +15 -0
  2394. package/dist/serialization/resources/companies/types/CountUsersResponse.js +36 -0
  2395. package/dist/serialization/resources/companies/types/CreateCompanyResponse.d.ts +14 -0
  2396. package/dist/serialization/resources/companies/types/CreateCompanyResponse.js +35 -0
  2397. package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +10 -0
  2398. package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.js +31 -0
  2399. package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +10 -0
  2400. package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.js +31 -0
  2401. package/dist/serialization/resources/companies/types/CreateUserResponse.d.ts +14 -0
  2402. package/dist/serialization/resources/companies/types/CreateUserResponse.js +35 -0
  2403. package/dist/serialization/resources/companies/types/DeleteCompanyByKeysResponse.d.ts +14 -0
  2404. package/dist/serialization/resources/companies/types/DeleteCompanyByKeysResponse.js +35 -0
  2405. package/dist/serialization/resources/companies/types/DeleteCompanyMembershipResponse.d.ts +14 -0
  2406. package/dist/serialization/resources/companies/types/DeleteCompanyMembershipResponse.js +35 -0
  2407. package/dist/serialization/resources/companies/types/DeleteCompanyResponse.d.ts +14 -0
  2408. package/dist/serialization/resources/companies/types/DeleteCompanyResponse.js +35 -0
  2409. package/dist/serialization/resources/companies/types/DeleteUserByKeysResponse.d.ts +14 -0
  2410. package/dist/serialization/resources/companies/types/DeleteUserByKeysResponse.js +35 -0
  2411. package/dist/serialization/resources/companies/types/DeleteUserResponse.d.ts +14 -0
  2412. package/dist/serialization/resources/companies/types/DeleteUserResponse.js +35 -0
  2413. package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionParams.d.ts +14 -0
  2414. package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionParams.js +35 -0
  2415. package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionResponse.d.ts +15 -0
  2416. package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionResponse.js +36 -0
  2417. package/dist/serialization/resources/companies/types/GetActiveDealsParams.d.ts +15 -0
  2418. package/dist/serialization/resources/companies/types/GetActiveDealsParams.js +36 -0
  2419. package/dist/serialization/resources/companies/types/GetActiveDealsResponse.d.ts +15 -0
  2420. package/dist/serialization/resources/companies/types/GetActiveDealsResponse.js +36 -0
  2421. package/dist/serialization/resources/companies/types/GetCompanyResponse.d.ts +14 -0
  2422. package/dist/serialization/resources/companies/types/GetCompanyResponse.js +35 -0
  2423. package/dist/serialization/resources/companies/types/GetEntityTraitDefinitionResponse.d.ts +14 -0
  2424. package/dist/serialization/resources/companies/types/GetEntityTraitDefinitionResponse.js +35 -0
  2425. package/dist/serialization/resources/companies/types/GetEntityTraitValuesParams.d.ts +15 -0
  2426. package/dist/serialization/resources/companies/types/GetEntityTraitValuesParams.js +36 -0
  2427. package/dist/serialization/resources/companies/types/GetEntityTraitValuesResponse.d.ts +15 -0
  2428. package/dist/serialization/resources/companies/types/GetEntityTraitValuesResponse.js +36 -0
  2429. package/dist/serialization/resources/companies/types/GetOrCreateCompanyMembershipResponse.d.ts +14 -0
  2430. package/dist/serialization/resources/companies/types/GetOrCreateCompanyMembershipResponse.js +35 -0
  2431. package/dist/serialization/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.d.ts +14 -0
  2432. package/dist/serialization/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.js +35 -0
  2433. package/dist/serialization/resources/companies/types/GetUserResponse.d.ts +14 -0
  2434. package/dist/serialization/resources/companies/types/GetUserResponse.js +35 -0
  2435. package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +17 -0
  2436. package/dist/serialization/resources/companies/types/ListCompaniesParams.js +38 -0
  2437. package/dist/serialization/resources/companies/types/ListCompaniesResponse.d.ts +15 -0
  2438. package/dist/serialization/resources/companies/types/ListCompaniesResponse.js +36 -0
  2439. package/dist/serialization/resources/companies/types/ListCompanyMembershipsParams.d.ts +15 -0
  2440. package/dist/serialization/resources/companies/types/ListCompanyMembershipsParams.js +36 -0
  2441. package/dist/serialization/resources/companies/types/ListCompanyMembershipsResponse.d.ts +15 -0
  2442. package/dist/serialization/resources/companies/types/ListCompanyMembershipsResponse.js +36 -0
  2443. package/dist/serialization/resources/companies/types/ListCompanyPlansParams.d.ts +15 -0
  2444. package/dist/serialization/resources/companies/types/ListCompanyPlansParams.js +36 -0
  2445. package/dist/serialization/resources/companies/types/ListCompanyPlansResponse.d.ts +15 -0
  2446. package/dist/serialization/resources/companies/types/ListCompanyPlansResponse.js +36 -0
  2447. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +17 -0
  2448. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsParams.js +38 -0
  2449. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +10 -0
  2450. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.js +31 -0
  2451. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponse.d.ts +15 -0
  2452. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponse.js +36 -0
  2453. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +10 -0
  2454. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.js +31 -0
  2455. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +19 -0
  2456. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.js +40 -0
  2457. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +10 -0
  2458. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.js +31 -0
  2459. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts +10 -0
  2460. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.js +31 -0
  2461. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponse.d.ts +15 -0
  2462. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponse.js +36 -0
  2463. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +10 -0
  2464. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.js +31 -0
  2465. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +10 -0
  2466. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.js +31 -0
  2467. package/dist/serialization/resources/companies/types/ListUsersParams.d.ts +17 -0
  2468. package/dist/serialization/resources/companies/types/ListUsersParams.js +38 -0
  2469. package/dist/serialization/resources/companies/types/ListUsersResponse.d.ts +15 -0
  2470. package/dist/serialization/resources/companies/types/ListUsersResponse.js +36 -0
  2471. package/dist/serialization/resources/companies/types/LookupCompanyParams.d.ts +12 -0
  2472. package/dist/serialization/resources/companies/types/LookupCompanyParams.js +33 -0
  2473. package/dist/serialization/resources/companies/types/LookupCompanyResponse.d.ts +15 -0
  2474. package/dist/serialization/resources/companies/types/LookupCompanyResponse.js +36 -0
  2475. package/dist/serialization/resources/companies/types/LookupUserParams.d.ts +12 -0
  2476. package/dist/serialization/resources/companies/types/LookupUserParams.js +33 -0
  2477. package/dist/serialization/resources/companies/types/LookupUserResponse.d.ts +15 -0
  2478. package/dist/serialization/resources/companies/types/LookupUserResponse.js +36 -0
  2479. package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +10 -0
  2480. package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.js +31 -0
  2481. package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionResponse.d.ts +14 -0
  2482. package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionResponse.js +35 -0
  2483. package/dist/serialization/resources/companies/types/UpsertCompanyResponse.d.ts +14 -0
  2484. package/dist/serialization/resources/companies/types/UpsertCompanyResponse.js +35 -0
  2485. package/dist/serialization/resources/companies/types/UpsertCompanyTraitResponse.d.ts +14 -0
  2486. package/dist/serialization/resources/companies/types/UpsertCompanyTraitResponse.js +35 -0
  2487. package/dist/serialization/resources/companies/types/UpsertUserResponse.d.ts +14 -0
  2488. package/dist/serialization/resources/companies/types/UpsertUserResponse.js +35 -0
  2489. package/dist/serialization/resources/companies/types/UpsertUserTraitResponse.d.ts +14 -0
  2490. package/dist/serialization/resources/companies/types/UpsertUserTraitResponse.js +35 -0
  2491. package/dist/serialization/resources/companies/types/index.d.ts +62 -0
  2492. package/dist/serialization/resources/companies/types/index.js +78 -0
  2493. package/dist/serialization/resources/components/client/index.d.ts +1 -0
  2494. package/dist/serialization/resources/components/client/index.js +17 -0
  2495. package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.d.ts +15 -0
  2496. package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.js +36 -0
  2497. package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.d.ts +17 -0
  2498. package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.js +38 -0
  2499. package/dist/serialization/resources/components/client/requests/index.d.ts +2 -0
  2500. package/dist/serialization/resources/components/client/requests/index.js +7 -0
  2501. package/dist/serialization/resources/components/index.d.ts +2 -0
  2502. package/dist/serialization/resources/components/index.js +18 -0
  2503. package/dist/serialization/resources/components/types/CountComponentsParams.d.ts +14 -0
  2504. package/dist/serialization/resources/components/types/CountComponentsParams.js +35 -0
  2505. package/dist/serialization/resources/components/types/CountComponentsResponse.d.ts +15 -0
  2506. package/dist/serialization/resources/components/types/CountComponentsResponse.js +36 -0
  2507. package/dist/serialization/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +10 -0
  2508. package/dist/serialization/resources/components/types/CreateComponentRequestBodyEntityType.js +31 -0
  2509. package/dist/serialization/resources/components/types/CreateComponentResponse.d.ts +14 -0
  2510. package/dist/serialization/resources/components/types/CreateComponentResponse.js +35 -0
  2511. package/dist/serialization/resources/components/types/DeleteComponentResponse.d.ts +14 -0
  2512. package/dist/serialization/resources/components/types/DeleteComponentResponse.js +35 -0
  2513. package/dist/serialization/resources/components/types/GetComponentResponse.d.ts +14 -0
  2514. package/dist/serialization/resources/components/types/GetComponentResponse.js +35 -0
  2515. package/dist/serialization/resources/components/types/HydrateComponentResponse.d.ts +14 -0
  2516. package/dist/serialization/resources/components/types/HydrateComponentResponse.js +35 -0
  2517. package/dist/serialization/resources/components/types/ListComponentsParams.d.ts +14 -0
  2518. package/dist/serialization/resources/components/types/ListComponentsParams.js +35 -0
  2519. package/dist/serialization/resources/components/types/ListComponentsResponse.d.ts +15 -0
  2520. package/dist/serialization/resources/components/types/ListComponentsResponse.js +36 -0
  2521. package/dist/serialization/resources/components/types/UpdateComponentRequestBodyEntityType.d.ts +10 -0
  2522. package/dist/serialization/resources/components/types/UpdateComponentRequestBodyEntityType.js +31 -0
  2523. package/dist/serialization/resources/components/types/UpdateComponentRequestBodyState.d.ts +10 -0
  2524. package/dist/serialization/resources/components/types/UpdateComponentRequestBodyState.js +31 -0
  2525. package/dist/serialization/resources/components/types/UpdateComponentResponse.d.ts +14 -0
  2526. package/dist/serialization/resources/components/types/UpdateComponentResponse.js +35 -0
  2527. package/dist/serialization/resources/components/types/index.d.ts +12 -0
  2528. package/dist/serialization/resources/components/types/index.js +28 -0
  2529. package/dist/serialization/resources/crm/client/index.d.ts +1 -0
  2530. package/dist/serialization/resources/crm/client/index.js +17 -0
  2531. package/dist/serialization/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.d.ts +13 -0
  2532. package/dist/serialization/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.js +34 -0
  2533. package/dist/serialization/resources/crm/client/requests/CreateCrmDealRequestBody.d.ts +20 -0
  2534. package/dist/serialization/resources/crm/client/requests/CreateCrmDealRequestBody.js +41 -0
  2535. package/dist/serialization/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +19 -0
  2536. package/dist/serialization/resources/crm/client/requests/CreateCrmLineItemRequestBody.js +40 -0
  2537. package/dist/serialization/resources/crm/client/requests/CreateCrmProductRequestBody.d.ts +19 -0
  2538. package/dist/serialization/resources/crm/client/requests/CreateCrmProductRequestBody.js +40 -0
  2539. package/dist/serialization/resources/crm/client/requests/index.d.ts +4 -0
  2540. package/dist/serialization/resources/crm/client/requests/index.js +11 -0
  2541. package/dist/serialization/resources/crm/index.d.ts +2 -0
  2542. package/dist/serialization/resources/crm/index.js +18 -0
  2543. package/dist/serialization/resources/crm/types/ListCrmProductsParams.d.ts +15 -0
  2544. package/dist/serialization/resources/crm/types/ListCrmProductsParams.js +36 -0
  2545. package/dist/serialization/resources/crm/types/ListCrmProductsResponse.d.ts +15 -0
  2546. package/dist/serialization/resources/crm/types/ListCrmProductsResponse.js +36 -0
  2547. package/dist/serialization/resources/crm/types/UpsertCrmDealResponse.d.ts +14 -0
  2548. package/dist/serialization/resources/crm/types/UpsertCrmDealResponse.js +35 -0
  2549. package/dist/serialization/resources/crm/types/UpsertCrmProductResponse.d.ts +14 -0
  2550. package/dist/serialization/resources/crm/types/UpsertCrmProductResponse.js +35 -0
  2551. package/dist/serialization/resources/crm/types/UpsertDealLineItemAssociationResponse.d.ts +14 -0
  2552. package/dist/serialization/resources/crm/types/UpsertDealLineItemAssociationResponse.js +35 -0
  2553. package/dist/serialization/resources/crm/types/UpsertLineItemResponse.d.ts +14 -0
  2554. package/dist/serialization/resources/crm/types/UpsertLineItemResponse.js +35 -0
  2555. package/dist/serialization/resources/crm/types/index.d.ts +6 -0
  2556. package/dist/serialization/resources/crm/types/index.js +22 -0
  2557. package/dist/serialization/resources/entitlements/client/index.d.ts +1 -0
  2558. package/dist/serialization/resources/entitlements/client/index.js +17 -0
  2559. package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +20 -0
  2560. package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +41 -0
  2561. package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +20 -0
  2562. package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +41 -0
  2563. package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +18 -0
  2564. package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +39 -0
  2565. package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +18 -0
  2566. package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +39 -0
  2567. package/dist/serialization/resources/entitlements/client/requests/index.d.ts +4 -0
  2568. package/dist/serialization/resources/entitlements/client/requests/index.js +11 -0
  2569. package/dist/serialization/resources/entitlements/index.d.ts +2 -0
  2570. package/dist/serialization/resources/entitlements/index.js +18 -0
  2571. package/dist/serialization/resources/entitlements/types/CountCompanyOverridesParams.d.ts +19 -0
  2572. package/dist/serialization/resources/entitlements/types/CountCompanyOverridesParams.js +40 -0
  2573. package/dist/serialization/resources/entitlements/types/CountCompanyOverridesResponse.d.ts +15 -0
  2574. package/dist/serialization/resources/entitlements/types/CountCompanyOverridesResponse.js +36 -0
  2575. package/dist/serialization/resources/entitlements/types/CountFeatureCompaniesParams.d.ts +15 -0
  2576. package/dist/serialization/resources/entitlements/types/CountFeatureCompaniesParams.js +36 -0
  2577. package/dist/serialization/resources/entitlements/types/CountFeatureCompaniesResponse.d.ts +15 -0
  2578. package/dist/serialization/resources/entitlements/types/CountFeatureCompaniesResponse.js +36 -0
  2579. package/dist/serialization/resources/entitlements/types/CountFeatureUsageParams.d.ts +17 -0
  2580. package/dist/serialization/resources/entitlements/types/CountFeatureUsageParams.js +38 -0
  2581. package/dist/serialization/resources/entitlements/types/CountFeatureUsageResponse.d.ts +15 -0
  2582. package/dist/serialization/resources/entitlements/types/CountFeatureUsageResponse.js +36 -0
  2583. package/dist/serialization/resources/entitlements/types/CountFeatureUsersParams.d.ts +15 -0
  2584. package/dist/serialization/resources/entitlements/types/CountFeatureUsersParams.js +36 -0
  2585. package/dist/serialization/resources/entitlements/types/CountFeatureUsersResponse.d.ts +15 -0
  2586. package/dist/serialization/resources/entitlements/types/CountFeatureUsersResponse.js +36 -0
  2587. package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +19 -0
  2588. package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsParams.js +40 -0
  2589. package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsResponse.d.ts +15 -0
  2590. package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsResponse.js +36 -0
  2591. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +10 -0
  2592. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.js +31 -0
  2593. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +10 -0
  2594. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js +31 -0
  2595. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideResponse.d.ts +14 -0
  2596. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideResponse.js +35 -0
  2597. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +10 -0
  2598. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.js +31 -0
  2599. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +10 -0
  2600. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js +31 -0
  2601. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementResponse.d.ts +14 -0
  2602. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementResponse.js +35 -0
  2603. package/dist/serialization/resources/entitlements/types/DeleteCompanyOverrideResponse.d.ts +14 -0
  2604. package/dist/serialization/resources/entitlements/types/DeleteCompanyOverrideResponse.js +35 -0
  2605. package/dist/serialization/resources/entitlements/types/DeletePlanEntitlementResponse.d.ts +14 -0
  2606. package/dist/serialization/resources/entitlements/types/DeletePlanEntitlementResponse.js +35 -0
  2607. package/dist/serialization/resources/entitlements/types/GetCompanyOverrideResponse.d.ts +14 -0
  2608. package/dist/serialization/resources/entitlements/types/GetCompanyOverrideResponse.js +35 -0
  2609. package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyParams.d.ts +12 -0
  2610. package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyParams.js +33 -0
  2611. package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyResponse.d.ts +15 -0
  2612. package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyResponse.js +36 -0
  2613. package/dist/serialization/resources/entitlements/types/GetPlanEntitlementResponse.d.ts +14 -0
  2614. package/dist/serialization/resources/entitlements/types/GetPlanEntitlementResponse.js +35 -0
  2615. package/dist/serialization/resources/entitlements/types/ListCompanyOverridesParams.d.ts +19 -0
  2616. package/dist/serialization/resources/entitlements/types/ListCompanyOverridesParams.js +40 -0
  2617. package/dist/serialization/resources/entitlements/types/ListCompanyOverridesResponse.d.ts +15 -0
  2618. package/dist/serialization/resources/entitlements/types/ListCompanyOverridesResponse.js +36 -0
  2619. package/dist/serialization/resources/entitlements/types/ListFeatureCompaniesParams.d.ts +15 -0
  2620. package/dist/serialization/resources/entitlements/types/ListFeatureCompaniesParams.js +36 -0
  2621. package/dist/serialization/resources/entitlements/types/ListFeatureCompaniesResponse.d.ts +15 -0
  2622. package/dist/serialization/resources/entitlements/types/ListFeatureCompaniesResponse.js +36 -0
  2623. package/dist/serialization/resources/entitlements/types/ListFeatureUsageParams.d.ts +17 -0
  2624. package/dist/serialization/resources/entitlements/types/ListFeatureUsageParams.js +38 -0
  2625. package/dist/serialization/resources/entitlements/types/ListFeatureUsageResponse.d.ts +15 -0
  2626. package/dist/serialization/resources/entitlements/types/ListFeatureUsageResponse.js +36 -0
  2627. package/dist/serialization/resources/entitlements/types/ListFeatureUsersParams.d.ts +15 -0
  2628. package/dist/serialization/resources/entitlements/types/ListFeatureUsersParams.js +36 -0
  2629. package/dist/serialization/resources/entitlements/types/ListFeatureUsersResponse.d.ts +15 -0
  2630. package/dist/serialization/resources/entitlements/types/ListFeatureUsersResponse.js +36 -0
  2631. package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +19 -0
  2632. package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsParams.js +40 -0
  2633. package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsResponse.d.ts +15 -0
  2634. package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsResponse.js +36 -0
  2635. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +10 -0
  2636. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.js +31 -0
  2637. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +10 -0
  2638. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js +31 -0
  2639. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideResponse.d.ts +14 -0
  2640. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideResponse.js +35 -0
  2641. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +10 -0
  2642. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.js +31 -0
  2643. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +10 -0
  2644. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js +31 -0
  2645. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementResponse.d.ts +14 -0
  2646. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementResponse.js +35 -0
  2647. package/dist/serialization/resources/entitlements/types/index.d.ts +38 -0
  2648. package/dist/serialization/resources/entitlements/types/index.js +54 -0
  2649. package/dist/serialization/resources/events/client/index.d.ts +1 -0
  2650. package/dist/serialization/resources/events/client/index.js +17 -0
  2651. package/dist/serialization/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +13 -0
  2652. package/dist/serialization/resources/events/client/requests/CreateEventBatchRequestBody.js +34 -0
  2653. package/dist/serialization/resources/events/client/requests/index.d.ts +1 -0
  2654. package/dist/serialization/resources/events/client/requests/index.js +5 -0
  2655. package/dist/serialization/resources/events/index.d.ts +2 -0
  2656. package/dist/serialization/resources/events/index.js +18 -0
  2657. package/dist/serialization/resources/events/types/CreateEventBatchResponse.d.ts +14 -0
  2658. package/dist/serialization/resources/events/types/CreateEventBatchResponse.js +35 -0
  2659. package/dist/serialization/resources/events/types/CreateEventResponse.d.ts +14 -0
  2660. package/dist/serialization/resources/events/types/CreateEventResponse.js +35 -0
  2661. package/dist/serialization/resources/events/types/GetEventResponse.d.ts +14 -0
  2662. package/dist/serialization/resources/events/types/GetEventResponse.js +35 -0
  2663. package/dist/serialization/resources/events/types/GetEventSummariesParams.d.ts +15 -0
  2664. package/dist/serialization/resources/events/types/GetEventSummariesParams.js +36 -0
  2665. package/dist/serialization/resources/events/types/GetEventSummariesResponse.d.ts +15 -0
  2666. package/dist/serialization/resources/events/types/GetEventSummariesResponse.js +36 -0
  2667. package/dist/serialization/resources/events/types/GetEventSummaryBySubtypeResponse.d.ts +14 -0
  2668. package/dist/serialization/resources/events/types/GetEventSummaryBySubtypeResponse.js +35 -0
  2669. package/dist/serialization/resources/events/types/GetSegmentIntegrationStatusResponse.d.ts +14 -0
  2670. package/dist/serialization/resources/events/types/GetSegmentIntegrationStatusResponse.js +35 -0
  2671. package/dist/serialization/resources/events/types/ListEventsParams.d.ts +18 -0
  2672. package/dist/serialization/resources/events/types/ListEventsParams.js +39 -0
  2673. package/dist/serialization/resources/events/types/ListEventsResponse.d.ts +15 -0
  2674. package/dist/serialization/resources/events/types/ListEventsResponse.js +36 -0
  2675. package/dist/serialization/resources/events/types/ListMetricCountsParams.d.ts +21 -0
  2676. package/dist/serialization/resources/events/types/ListMetricCountsParams.js +42 -0
  2677. package/dist/serialization/resources/events/types/ListMetricCountsResponse.d.ts +15 -0
  2678. package/dist/serialization/resources/events/types/ListMetricCountsResponse.js +36 -0
  2679. package/dist/serialization/resources/events/types/index.d.ts +11 -0
  2680. package/dist/serialization/resources/events/types/index.js +27 -0
  2681. package/dist/serialization/resources/features/client/index.d.ts +1 -0
  2682. package/dist/serialization/resources/features/client/index.js +17 -0
  2683. package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +22 -0
  2684. package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.js +43 -0
  2685. package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +22 -0
  2686. package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.js +43 -0
  2687. package/dist/serialization/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +13 -0
  2688. package/dist/serialization/resources/features/client/requests/UpdateFlagRulesRequestBody.js +34 -0
  2689. package/dist/serialization/resources/features/client/requests/index.d.ts +3 -0
  2690. package/dist/serialization/resources/features/client/requests/index.js +9 -0
  2691. package/dist/serialization/resources/features/index.d.ts +2 -0
  2692. package/dist/serialization/resources/features/index.js +18 -0
  2693. package/dist/serialization/resources/features/types/CheckFlagResponse.d.ts +14 -0
  2694. package/dist/serialization/resources/features/types/CheckFlagResponse.js +35 -0
  2695. package/dist/serialization/resources/features/types/CheckFlagsResponse.d.ts +14 -0
  2696. package/dist/serialization/resources/features/types/CheckFlagsResponse.js +35 -0
  2697. package/dist/serialization/resources/features/types/CountAudienceCompaniesResponse.d.ts +14 -0
  2698. package/dist/serialization/resources/features/types/CountAudienceCompaniesResponse.js +35 -0
  2699. package/dist/serialization/resources/features/types/CountAudienceUsersResponse.d.ts +14 -0
  2700. package/dist/serialization/resources/features/types/CountAudienceUsersResponse.js +35 -0
  2701. package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +17 -0
  2702. package/dist/serialization/resources/features/types/CountFeaturesParams.js +38 -0
  2703. package/dist/serialization/resources/features/types/CountFeaturesResponse.d.ts +15 -0
  2704. package/dist/serialization/resources/features/types/CountFeaturesResponse.js +36 -0
  2705. package/dist/serialization/resources/features/types/CountFlagsParams.d.ts +16 -0
  2706. package/dist/serialization/resources/features/types/CountFlagsParams.js +37 -0
  2707. package/dist/serialization/resources/features/types/CountFlagsResponse.d.ts +15 -0
  2708. package/dist/serialization/resources/features/types/CountFlagsResponse.js +36 -0
  2709. package/dist/serialization/resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts +10 -0
  2710. package/dist/serialization/resources/features/types/CreateFeatureRequestBodyFeatureType.js +31 -0
  2711. package/dist/serialization/resources/features/types/CreateFeatureResponse.d.ts +14 -0
  2712. package/dist/serialization/resources/features/types/CreateFeatureResponse.js +35 -0
  2713. package/dist/serialization/resources/features/types/CreateFlagResponse.d.ts +14 -0
  2714. package/dist/serialization/resources/features/types/CreateFlagResponse.js +35 -0
  2715. package/dist/serialization/resources/features/types/DeleteFeatureResponse.d.ts +14 -0
  2716. package/dist/serialization/resources/features/types/DeleteFeatureResponse.js +35 -0
  2717. package/dist/serialization/resources/features/types/DeleteFlagResponse.d.ts +14 -0
  2718. package/dist/serialization/resources/features/types/DeleteFlagResponse.js +35 -0
  2719. package/dist/serialization/resources/features/types/GetFeatureResponse.d.ts +14 -0
  2720. package/dist/serialization/resources/features/types/GetFeatureResponse.js +35 -0
  2721. package/dist/serialization/resources/features/types/GetFlagResponse.d.ts +14 -0
  2722. package/dist/serialization/resources/features/types/GetFlagResponse.js +35 -0
  2723. package/dist/serialization/resources/features/types/ListAudienceCompaniesResponse.d.ts +14 -0
  2724. package/dist/serialization/resources/features/types/ListAudienceCompaniesResponse.js +35 -0
  2725. package/dist/serialization/resources/features/types/ListAudienceUsersResponse.d.ts +14 -0
  2726. package/dist/serialization/resources/features/types/ListAudienceUsersResponse.js +35 -0
  2727. package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +17 -0
  2728. package/dist/serialization/resources/features/types/ListFeaturesParams.js +38 -0
  2729. package/dist/serialization/resources/features/types/ListFeaturesResponse.d.ts +15 -0
  2730. package/dist/serialization/resources/features/types/ListFeaturesResponse.js +36 -0
  2731. package/dist/serialization/resources/features/types/ListFlagsParams.d.ts +16 -0
  2732. package/dist/serialization/resources/features/types/ListFlagsParams.js +37 -0
  2733. package/dist/serialization/resources/features/types/ListFlagsResponse.d.ts +15 -0
  2734. package/dist/serialization/resources/features/types/ListFlagsResponse.js +36 -0
  2735. package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +10 -0
  2736. package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyFeatureType.js +31 -0
  2737. package/dist/serialization/resources/features/types/UpdateFeatureResponse.d.ts +14 -0
  2738. package/dist/serialization/resources/features/types/UpdateFeatureResponse.js +35 -0
  2739. package/dist/serialization/resources/features/types/UpdateFlagResponse.d.ts +14 -0
  2740. package/dist/serialization/resources/features/types/UpdateFlagResponse.js +35 -0
  2741. package/dist/serialization/resources/features/types/UpdateFlagRulesResponse.d.ts +14 -0
  2742. package/dist/serialization/resources/features/types/UpdateFlagRulesResponse.js +35 -0
  2743. package/dist/serialization/resources/features/types/index.d.ts +25 -0
  2744. package/dist/serialization/resources/features/types/index.js +41 -0
  2745. package/dist/serialization/resources/index.d.ts +33 -0
  2746. package/dist/serialization/resources/index.js +62 -0
  2747. package/dist/serialization/resources/plans/client/index.d.ts +1 -0
  2748. package/dist/serialization/resources/plans/client/index.js +17 -0
  2749. package/dist/serialization/resources/plans/client/requests/CreatePlanRequestBody.d.ts +17 -0
  2750. package/dist/serialization/resources/plans/client/requests/CreatePlanRequestBody.js +38 -0
  2751. package/dist/serialization/resources/plans/client/requests/UpdateAudienceRequestBody.d.ts +15 -0
  2752. package/dist/serialization/resources/plans/client/requests/UpdateAudienceRequestBody.js +36 -0
  2753. package/dist/serialization/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +15 -0
  2754. package/dist/serialization/resources/plans/client/requests/UpdatePlanRequestBody.js +36 -0
  2755. package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +14 -0
  2756. package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.js +35 -0
  2757. package/dist/serialization/resources/plans/client/requests/index.d.ts +4 -0
  2758. package/dist/serialization/resources/plans/client/requests/index.js +11 -0
  2759. package/dist/serialization/resources/plans/index.d.ts +2 -0
  2760. package/dist/serialization/resources/plans/index.js +18 -0
  2761. package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +17 -0
  2762. package/dist/serialization/resources/plans/types/CountPlansParams.js +38 -0
  2763. package/dist/serialization/resources/plans/types/CountPlansResponse.d.ts +15 -0
  2764. package/dist/serialization/resources/plans/types/CountPlansResponse.js +36 -0
  2765. package/dist/serialization/resources/plans/types/CreatePlanRequestBodyPlanType.d.ts +10 -0
  2766. package/dist/serialization/resources/plans/types/CreatePlanRequestBodyPlanType.js +31 -0
  2767. package/dist/serialization/resources/plans/types/CreatePlanResponse.d.ts +14 -0
  2768. package/dist/serialization/resources/plans/types/CreatePlanResponse.js +35 -0
  2769. package/dist/serialization/resources/plans/types/DeleteAudienceResponse.d.ts +14 -0
  2770. package/dist/serialization/resources/plans/types/DeleteAudienceResponse.js +35 -0
  2771. package/dist/serialization/resources/plans/types/DeletePlanResponse.d.ts +14 -0
  2772. package/dist/serialization/resources/plans/types/DeletePlanResponse.js +35 -0
  2773. package/dist/serialization/resources/plans/types/GetAudienceResponse.d.ts +14 -0
  2774. package/dist/serialization/resources/plans/types/GetAudienceResponse.js +35 -0
  2775. package/dist/serialization/resources/plans/types/GetPlanResponse.d.ts +14 -0
  2776. package/dist/serialization/resources/plans/types/GetPlanResponse.js +35 -0
  2777. package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +17 -0
  2778. package/dist/serialization/resources/plans/types/ListPlansParams.js +38 -0
  2779. package/dist/serialization/resources/plans/types/ListPlansResponse.d.ts +15 -0
  2780. package/dist/serialization/resources/plans/types/ListPlansResponse.js +36 -0
  2781. package/dist/serialization/resources/plans/types/UpdateAudienceResponse.d.ts +14 -0
  2782. package/dist/serialization/resources/plans/types/UpdateAudienceResponse.js +35 -0
  2783. package/dist/serialization/resources/plans/types/UpdatePlanResponse.d.ts +14 -0
  2784. package/dist/serialization/resources/plans/types/UpdatePlanResponse.js +35 -0
  2785. package/dist/serialization/resources/plans/types/UpsertBillingProductPlanResponse.d.ts +14 -0
  2786. package/dist/serialization/resources/plans/types/UpsertBillingProductPlanResponse.js +35 -0
  2787. package/dist/serialization/resources/plans/types/index.d.ts +13 -0
  2788. package/dist/serialization/resources/plans/types/index.js +29 -0
  2789. package/dist/serialization/resources/webhooks/client/index.d.ts +1 -0
  2790. package/dist/serialization/resources/webhooks/client/index.js +17 -0
  2791. package/dist/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +15 -0
  2792. package/dist/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.js +36 -0
  2793. package/dist/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +17 -0
  2794. package/dist/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.js +38 -0
  2795. package/dist/serialization/resources/webhooks/client/requests/index.d.ts +2 -0
  2796. package/dist/serialization/resources/webhooks/client/requests/index.js +7 -0
  2797. package/dist/serialization/resources/webhooks/index.d.ts +2 -0
  2798. package/dist/serialization/resources/webhooks/index.js +18 -0
  2799. package/dist/serialization/resources/webhooks/types/CountWebhookEventsParams.d.ts +16 -0
  2800. package/dist/serialization/resources/webhooks/types/CountWebhookEventsParams.js +37 -0
  2801. package/dist/serialization/resources/webhooks/types/CountWebhookEventsResponse.d.ts +15 -0
  2802. package/dist/serialization/resources/webhooks/types/CountWebhookEventsResponse.js +36 -0
  2803. package/dist/serialization/resources/webhooks/types/CountWebhooksParams.d.ts +14 -0
  2804. package/dist/serialization/resources/webhooks/types/CountWebhooksParams.js +35 -0
  2805. package/dist/serialization/resources/webhooks/types/CountWebhooksResponse.d.ts +15 -0
  2806. package/dist/serialization/resources/webhooks/types/CountWebhooksResponse.js +36 -0
  2807. package/dist/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +10 -0
  2808. package/dist/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +55 -0
  2809. package/dist/serialization/resources/webhooks/types/CreateWebhookResponse.d.ts +14 -0
  2810. package/dist/serialization/resources/webhooks/types/CreateWebhookResponse.js +35 -0
  2811. package/dist/serialization/resources/webhooks/types/DeleteWebhookResponse.d.ts +14 -0
  2812. package/dist/serialization/resources/webhooks/types/DeleteWebhookResponse.js +35 -0
  2813. package/dist/serialization/resources/webhooks/types/GetWebhookEventResponse.d.ts +14 -0
  2814. package/dist/serialization/resources/webhooks/types/GetWebhookEventResponse.js +35 -0
  2815. package/dist/serialization/resources/webhooks/types/GetWebhookResponse.d.ts +14 -0
  2816. package/dist/serialization/resources/webhooks/types/GetWebhookResponse.js +35 -0
  2817. package/dist/serialization/resources/webhooks/types/ListWebhookEventsParams.d.ts +16 -0
  2818. package/dist/serialization/resources/webhooks/types/ListWebhookEventsParams.js +37 -0
  2819. package/dist/serialization/resources/webhooks/types/ListWebhookEventsResponse.d.ts +15 -0
  2820. package/dist/serialization/resources/webhooks/types/ListWebhookEventsResponse.js +36 -0
  2821. package/dist/serialization/resources/webhooks/types/ListWebhooksParams.d.ts +14 -0
  2822. package/dist/serialization/resources/webhooks/types/ListWebhooksParams.js +35 -0
  2823. package/dist/serialization/resources/webhooks/types/ListWebhooksResponse.d.ts +15 -0
  2824. package/dist/serialization/resources/webhooks/types/ListWebhooksResponse.js +36 -0
  2825. package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +10 -0
  2826. package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +55 -0
  2827. package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts +10 -0
  2828. package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyStatus.js +31 -0
  2829. package/dist/serialization/resources/webhooks/types/UpdateWebhookResponse.d.ts +14 -0
  2830. package/dist/serialization/resources/webhooks/types/UpdateWebhookResponse.js +35 -0
  2831. package/dist/serialization/resources/webhooks/types/index.d.ts +16 -0
  2832. package/dist/serialization/resources/webhooks/types/index.js +32 -0
  2833. package/dist/serialization/types/ApiError.d.ts +12 -0
  2834. package/dist/serialization/types/ApiError.js +33 -0
  2835. package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +20 -0
  2836. package/dist/serialization/types/ApiKeyCreateResponseData.js +41 -0
  2837. package/dist/serialization/types/ApiKeyRequestListResponseData.d.ts +27 -0
  2838. package/dist/serialization/types/ApiKeyRequestListResponseData.js +48 -0
  2839. package/dist/serialization/types/ApiKeyRequestResponseData.d.ts +30 -0
  2840. package/dist/serialization/types/ApiKeyRequestResponseData.js +51 -0
  2841. package/dist/serialization/types/ApiKeyResponseData.d.ts +19 -0
  2842. package/dist/serialization/types/ApiKeyResponseData.js +40 -0
  2843. package/dist/serialization/types/AudienceRequestBody.d.ts +18 -0
  2844. package/dist/serialization/types/AudienceRequestBody.js +39 -0
  2845. package/dist/serialization/types/BillingCustomerResponseData.d.ts +19 -0
  2846. package/dist/serialization/types/BillingCustomerResponseData.js +40 -0
  2847. package/dist/serialization/types/BillingCustomerSubscription.d.ts +13 -0
  2848. package/dist/serialization/types/BillingCustomerSubscription.js +34 -0
  2849. package/dist/serialization/types/BillingCustomerWithSubscriptionsResponseData.d.ts +21 -0
  2850. package/dist/serialization/types/BillingCustomerWithSubscriptionsResponseData.js +42 -0
  2851. package/dist/serialization/types/BillingPriceResponseData.d.ts +15 -0
  2852. package/dist/serialization/types/BillingPriceResponseData.js +36 -0
  2853. package/dist/serialization/types/BillingProductDetailResponseData.d.ts +23 -0
  2854. package/dist/serialization/types/BillingProductDetailResponseData.js +44 -0
  2855. package/dist/serialization/types/BillingProductPlanResponseData.d.ts +17 -0
  2856. package/dist/serialization/types/BillingProductPlanResponseData.js +38 -0
  2857. package/dist/serialization/types/BillingProductPricing.d.ts +13 -0
  2858. package/dist/serialization/types/BillingProductPricing.js +34 -0
  2859. package/dist/serialization/types/BillingProductResponseData.d.ts +21 -0
  2860. package/dist/serialization/types/BillingProductResponseData.js +42 -0
  2861. package/dist/serialization/types/BillingSubscriptionResponseData.d.ts +15 -0
  2862. package/dist/serialization/types/BillingSubscriptionResponseData.js +36 -0
  2863. package/dist/serialization/types/CheckFlagOutputWithFlagKey.d.ts +18 -0
  2864. package/dist/serialization/types/CheckFlagOutputWithFlagKey.js +39 -0
  2865. package/dist/serialization/types/CheckFlagRequestBody.d.ts +13 -0
  2866. package/dist/serialization/types/CheckFlagRequestBody.js +34 -0
  2867. package/dist/serialization/types/CheckFlagResponseData.d.ts +17 -0
  2868. package/dist/serialization/types/CheckFlagResponseData.js +38 -0
  2869. package/dist/serialization/types/CheckFlagsResponseData.d.ts +13 -0
  2870. package/dist/serialization/types/CheckFlagsResponseData.js +34 -0
  2871. package/dist/serialization/types/CompanyCrmDealsResponseData.d.ts +17 -0
  2872. package/dist/serialization/types/CompanyCrmDealsResponseData.js +38 -0
  2873. package/dist/serialization/types/CompanyDetailResponseData.d.ts +28 -0
  2874. package/dist/serialization/types/CompanyDetailResponseData.js +49 -0
  2875. package/dist/serialization/types/CompanyMembershipDetailResponseData.d.ts +18 -0
  2876. package/dist/serialization/types/CompanyMembershipDetailResponseData.js +39 -0
  2877. package/dist/serialization/types/CompanyMembershipResponseData.d.ts +16 -0
  2878. package/dist/serialization/types/CompanyMembershipResponseData.js +37 -0
  2879. package/dist/serialization/types/CompanyOverrideResponseData.d.ts +29 -0
  2880. package/dist/serialization/types/CompanyOverrideResponseData.js +50 -0
  2881. package/dist/serialization/types/CompanyPlanResponseData.d.ts +17 -0
  2882. package/dist/serialization/types/CompanyPlanResponseData.js +38 -0
  2883. package/dist/serialization/types/CompanyResponseData.d.ts +18 -0
  2884. package/dist/serialization/types/CompanyResponseData.js +39 -0
  2885. package/dist/serialization/types/CompanySubscriptionResponseData.d.ts +17 -0
  2886. package/dist/serialization/types/CompanySubscriptionResponseData.js +38 -0
  2887. package/dist/serialization/types/ComponentHydrateResponseData.d.ts +17 -0
  2888. package/dist/serialization/types/ComponentHydrateResponseData.js +38 -0
  2889. package/dist/serialization/types/ComponentResponseData.d.ts +18 -0
  2890. package/dist/serialization/types/ComponentResponseData.js +39 -0
  2891. package/dist/serialization/types/CountResponse.d.ts +12 -0
  2892. package/dist/serialization/types/CountResponse.js +33 -0
  2893. package/dist/serialization/types/CreateEventRequestBody.d.ts +16 -0
  2894. package/dist/serialization/types/CreateEventRequestBody.js +37 -0
  2895. package/dist/serialization/types/CreateEventRequestBodyEventType.d.ts +10 -0
  2896. package/dist/serialization/types/CreateEventRequestBodyEventType.js +31 -0
  2897. package/dist/serialization/types/CreateFlagRequestBody.d.ts +18 -0
  2898. package/dist/serialization/types/CreateFlagRequestBody.js +39 -0
  2899. package/dist/serialization/types/CreateOrUpdateConditionGroupRequestBody.d.ts +16 -0
  2900. package/dist/serialization/types/CreateOrUpdateConditionGroupRequestBody.js +37 -0
  2901. package/dist/serialization/types/CreateOrUpdateConditionRequestBody.d.ts +24 -0
  2902. package/dist/serialization/types/CreateOrUpdateConditionRequestBody.js +45 -0
  2903. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +10 -0
  2904. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.js +31 -0
  2905. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +10 -0
  2906. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.js +31 -0
  2907. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +10 -0
  2908. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyOperator.js +31 -0
  2909. package/dist/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +19 -0
  2910. package/dist/serialization/types/CreateOrUpdateFlagRequestBody.js +40 -0
  2911. package/dist/serialization/types/CreateOrUpdateRuleRequestBody.d.ts +21 -0
  2912. package/dist/serialization/types/CreateOrUpdateRuleRequestBody.js +42 -0
  2913. package/dist/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +10 -0
  2914. package/dist/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.js +38 -0
  2915. package/dist/serialization/types/CreateReqCommon.d.ts +19 -0
  2916. package/dist/serialization/types/CreateReqCommon.js +40 -0
  2917. package/dist/serialization/types/CreateReqCommonMetricPeriod.d.ts +10 -0
  2918. package/dist/serialization/types/CreateReqCommonMetricPeriod.js +31 -0
  2919. package/dist/serialization/types/CreateReqCommonValueType.d.ts +10 -0
  2920. package/dist/serialization/types/CreateReqCommonValueType.js +31 -0
  2921. package/dist/serialization/types/CrmDealLineItem.d.ts +24 -0
  2922. package/dist/serialization/types/CrmDealLineItem.js +45 -0
  2923. package/dist/serialization/types/CrmDealResponseData.d.ts +22 -0
  2924. package/dist/serialization/types/CrmDealResponseData.js +43 -0
  2925. package/dist/serialization/types/CrmLineItemResponseData.d.ts +17 -0
  2926. package/dist/serialization/types/CrmLineItemResponseData.js +38 -0
  2927. package/dist/serialization/types/CrmProductResponseData.d.ts +21 -0
  2928. package/dist/serialization/types/CrmProductResponseData.js +42 -0
  2929. package/dist/serialization/types/Decimal.d.ts +10 -0
  2930. package/dist/serialization/types/Decimal.js +31 -0
  2931. package/dist/serialization/types/DeleteResponse.d.ts +12 -0
  2932. package/dist/serialization/types/DeleteResponse.js +33 -0
  2933. package/dist/serialization/types/EntityKeyDefinitionResponseData.d.ts +16 -0
  2934. package/dist/serialization/types/EntityKeyDefinitionResponseData.js +37 -0
  2935. package/dist/serialization/types/EntityKeyDetailResponseData.d.ts +22 -0
  2936. package/dist/serialization/types/EntityKeyDetailResponseData.js +43 -0
  2937. package/dist/serialization/types/EntityKeyResponseData.d.ts +20 -0
  2938. package/dist/serialization/types/EntityKeyResponseData.js +41 -0
  2939. package/dist/serialization/types/EntityTraitDefinitionResponseData.d.ts +18 -0
  2940. package/dist/serialization/types/EntityTraitDefinitionResponseData.js +39 -0
  2941. package/dist/serialization/types/EntityTraitDetailResponseData.d.ts +19 -0
  2942. package/dist/serialization/types/EntityTraitDetailResponseData.js +40 -0
  2943. package/dist/serialization/types/EntityTraitResponseData.d.ts +17 -0
  2944. package/dist/serialization/types/EntityTraitResponseData.js +38 -0
  2945. package/dist/serialization/types/EntityTraitValue.d.ts +13 -0
  2946. package/dist/serialization/types/EntityTraitValue.js +34 -0
  2947. package/dist/serialization/types/EnvironmentDetailResponseData.d.ts +18 -0
  2948. package/dist/serialization/types/EnvironmentDetailResponseData.js +39 -0
  2949. package/dist/serialization/types/EnvironmentResponseData.d.ts +16 -0
  2950. package/dist/serialization/types/EnvironmentResponseData.js +37 -0
  2951. package/dist/serialization/types/EventBody.d.ts +13 -0
  2952. package/dist/serialization/types/EventBody.js +34 -0
  2953. package/dist/serialization/types/EventBodyFlagCheck.d.ts +21 -0
  2954. package/dist/serialization/types/EventBodyFlagCheck.js +42 -0
  2955. package/dist/serialization/types/EventBodyIdentify.d.ts +16 -0
  2956. package/dist/serialization/types/EventBodyIdentify.js +37 -0
  2957. package/dist/serialization/types/EventBodyIdentifyCompany.d.ts +14 -0
  2958. package/dist/serialization/types/EventBodyIdentifyCompany.js +35 -0
  2959. package/dist/serialization/types/EventBodyTrack.d.ts +15 -0
  2960. package/dist/serialization/types/EventBodyTrack.js +36 -0
  2961. package/dist/serialization/types/EventDetailResponseData.d.ts +33 -0
  2962. package/dist/serialization/types/EventDetailResponseData.js +54 -0
  2963. package/dist/serialization/types/EventResponseData.d.ts +29 -0
  2964. package/dist/serialization/types/EventResponseData.js +50 -0
  2965. package/dist/serialization/types/EventSummaryResponseData.d.ts +17 -0
  2966. package/dist/serialization/types/EventSummaryResponseData.js +38 -0
  2967. package/dist/serialization/types/FeatureCompanyResponseData.d.ts +25 -0
  2968. package/dist/serialization/types/FeatureCompanyResponseData.js +46 -0
  2969. package/dist/serialization/types/FeatureCompanyResponseDataAllocationType.d.ts +10 -0
  2970. package/dist/serialization/types/FeatureCompanyResponseDataAllocationType.js +31 -0
  2971. package/dist/serialization/types/FeatureCompanyUserResponseData.d.ts +27 -0
  2972. package/dist/serialization/types/FeatureCompanyUserResponseData.js +48 -0
  2973. package/dist/serialization/types/FeatureCompanyUserResponseDataAllocationType.d.ts +10 -0
  2974. package/dist/serialization/types/FeatureCompanyUserResponseDataAllocationType.js +31 -0
  2975. package/dist/serialization/types/FeatureDetailResponseData.d.ts +30 -0
  2976. package/dist/serialization/types/FeatureDetailResponseData.js +51 -0
  2977. package/dist/serialization/types/FeatureResponseData.d.ts +22 -0
  2978. package/dist/serialization/types/FeatureResponseData.js +43 -0
  2979. package/dist/serialization/types/FeatureUsageDetailResponseData.d.ts +13 -0
  2980. package/dist/serialization/types/FeatureUsageDetailResponseData.js +34 -0
  2981. package/dist/serialization/types/FeatureUsageResponseData.d.ts +23 -0
  2982. package/dist/serialization/types/FeatureUsageResponseData.js +44 -0
  2983. package/dist/serialization/types/FeatureUsageResponseDataAllocationType.d.ts +10 -0
  2984. package/dist/serialization/types/FeatureUsageResponseDataAllocationType.js +31 -0
  2985. package/dist/serialization/types/FlagDetailResponseData.d.ts +26 -0
  2986. package/dist/serialization/types/FlagDetailResponseData.js +47 -0
  2987. package/dist/serialization/types/FlagResponseData.d.ts +21 -0
  2988. package/dist/serialization/types/FlagResponseData.js +42 -0
  2989. package/dist/serialization/types/IssueTemporaryAccessTokenResponseData.d.ts +19 -0
  2990. package/dist/serialization/types/IssueTemporaryAccessTokenResponseData.js +40 -0
  2991. package/dist/serialization/types/KeysRequestBody.d.ts +12 -0
  2992. package/dist/serialization/types/KeysRequestBody.js +33 -0
  2993. package/dist/serialization/types/MetricCountsHourlyResponseData.d.ts +18 -0
  2994. package/dist/serialization/types/MetricCountsHourlyResponseData.js +39 -0
  2995. package/dist/serialization/types/PaginationFilter.d.ts +13 -0
  2996. package/dist/serialization/types/PaginationFilter.js +34 -0
  2997. package/dist/serialization/types/PlanAudienceDetailResponseData.d.ts +25 -0
  2998. package/dist/serialization/types/PlanAudienceDetailResponseData.js +46 -0
  2999. package/dist/serialization/types/PlanAudienceResponseData.d.ts +21 -0
  3000. package/dist/serialization/types/PlanAudienceResponseData.js +42 -0
  3001. package/dist/serialization/types/PlanDetailResponseData.d.ts +24 -0
  3002. package/dist/serialization/types/PlanDetailResponseData.js +45 -0
  3003. package/dist/serialization/types/PlanEntitlementResponseData.d.ts +29 -0
  3004. package/dist/serialization/types/PlanEntitlementResponseData.js +50 -0
  3005. package/dist/serialization/types/PlanResponseData.d.ts +19 -0
  3006. package/dist/serialization/types/PlanResponseData.js +40 -0
  3007. package/dist/serialization/types/PreviewObject.d.ts +15 -0
  3008. package/dist/serialization/types/PreviewObject.js +36 -0
  3009. package/dist/serialization/types/RawEventBatchResponseData.d.ts +13 -0
  3010. package/dist/serialization/types/RawEventBatchResponseData.js +34 -0
  3011. package/dist/serialization/types/RawEventResponseData.d.ts +16 -0
  3012. package/dist/serialization/types/RawEventResponseData.js +37 -0
  3013. package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +34 -0
  3014. package/dist/serialization/types/RuleConditionDetailResponseData.js +55 -0
  3015. package/dist/serialization/types/RuleConditionGroupDetailResponseData.d.ts +20 -0
  3016. package/dist/serialization/types/RuleConditionGroupDetailResponseData.js +41 -0
  3017. package/dist/serialization/types/RuleConditionGroupResponseData.d.ts +18 -0
  3018. package/dist/serialization/types/RuleConditionGroupResponseData.js +39 -0
  3019. package/dist/serialization/types/RuleConditionResourceResponseData.d.ts +13 -0
  3020. package/dist/serialization/types/RuleConditionResourceResponseData.js +34 -0
  3021. package/dist/serialization/types/RuleConditionResponseData.d.ts +29 -0
  3022. package/dist/serialization/types/RuleConditionResponseData.js +50 -0
  3023. package/dist/serialization/types/RuleDetailResponseData.d.ts +25 -0
  3024. package/dist/serialization/types/RuleDetailResponseData.js +46 -0
  3025. package/dist/serialization/types/RuleResponseData.d.ts +21 -0
  3026. package/dist/serialization/types/RuleResponseData.js +42 -0
  3027. package/dist/serialization/types/RulesDetailResponseData.d.ts +15 -0
  3028. package/dist/serialization/types/RulesDetailResponseData.js +36 -0
  3029. package/dist/serialization/types/SegmentStatusResp.d.ts +14 -0
  3030. package/dist/serialization/types/SegmentStatusResp.js +35 -0
  3031. package/dist/serialization/types/TemporaryAccessTokenResponseData.d.ts +18 -0
  3032. package/dist/serialization/types/TemporaryAccessTokenResponseData.js +39 -0
  3033. package/dist/serialization/types/UpdateReqCommon.d.ts +18 -0
  3034. package/dist/serialization/types/UpdateReqCommon.js +39 -0
  3035. package/dist/serialization/types/UpdateReqCommonMetricPeriod.d.ts +10 -0
  3036. package/dist/serialization/types/UpdateReqCommonMetricPeriod.js +31 -0
  3037. package/dist/serialization/types/UpdateReqCommonValueType.d.ts +10 -0
  3038. package/dist/serialization/types/UpdateReqCommonValueType.js +31 -0
  3039. package/dist/serialization/types/UpdateRuleRequestBody.d.ts +18 -0
  3040. package/dist/serialization/types/UpdateRuleRequestBody.js +39 -0
  3041. package/dist/serialization/types/UpsertCompanyRequestBody.d.ts +17 -0
  3042. package/dist/serialization/types/UpsertCompanyRequestBody.js +38 -0
  3043. package/dist/serialization/types/UpsertTraitRequestBody.d.ts +16 -0
  3044. package/dist/serialization/types/UpsertTraitRequestBody.js +37 -0
  3045. package/dist/serialization/types/UpsertUserRequestBody.d.ts +19 -0
  3046. package/dist/serialization/types/UpsertUserRequestBody.js +40 -0
  3047. package/dist/serialization/types/UpsertUserSubRequestBody.d.ts +18 -0
  3048. package/dist/serialization/types/UpsertUserSubRequestBody.js +39 -0
  3049. package/dist/serialization/types/UserDetailResponseData.d.ts +24 -0
  3050. package/dist/serialization/types/UserDetailResponseData.js +45 -0
  3051. package/dist/serialization/types/UserResponseData.d.ts +17 -0
  3052. package/dist/serialization/types/UserResponseData.js +38 -0
  3053. package/dist/serialization/types/WebhookEventDetailResponseData.d.ts +22 -0
  3054. package/dist/serialization/types/WebhookEventDetailResponseData.js +43 -0
  3055. package/dist/serialization/types/WebhookEventResponseData.d.ts +20 -0
  3056. package/dist/serialization/types/WebhookEventResponseData.js +41 -0
  3057. package/dist/serialization/types/WebhookResponseData.d.ts +18 -0
  3058. package/dist/serialization/types/WebhookResponseData.js +39 -0
  3059. package/dist/serialization/types/index.d.ts +113 -0
  3060. package/dist/serialization/types/index.js +129 -0
  3061. package/dist/version.d.ts +1 -0
  3062. package/dist/version.js +4 -0
  3063. package/dist/wrapper.d.ts +38 -0
  3064. package/dist/wrapper.js +140 -0
  3065. package/environments.d.ts +7 -0
  3066. package/environments.js +9 -0
  3067. package/errors/SchematicError.d.ts +12 -0
  3068. package/errors/SchematicError.js +32 -0
  3069. package/errors/SchematicTimeoutError.d.ts +6 -0
  3070. package/errors/SchematicTimeoutError.js +13 -0
  3071. package/errors/index.d.ts +2 -0
  3072. package/errors/index.js +7 -0
  3073. package/events.d.ts +23 -0
  3074. package/events.js +70 -0
  3075. package/events.test.d.ts +1 -0
  3076. package/events.test.js +148 -0
  3077. package/generate-version.js +6 -0
  3078. package/index.d.ts +5 -0
  3079. package/index.js +36 -0
  3080. package/jest.config.js +5 -0
  3081. package/logger.d.ts +13 -0
  3082. package/logger.js +19 -0
  3083. package/package.json +39 -65
  3084. package/reference.md +6785 -0
  3085. package/serialization/index.d.ts +2 -0
  3086. package/serialization/index.js +18 -0
  3087. package/serialization/resources/accesstokens/client/index.d.ts +1 -0
  3088. package/serialization/resources/accesstokens/client/index.js +17 -0
  3089. package/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +13 -0
  3090. package/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.js +34 -0
  3091. package/serialization/resources/accesstokens/client/requests/index.d.ts +1 -0
  3092. package/serialization/resources/accesstokens/client/requests/index.js +5 -0
  3093. package/serialization/resources/accesstokens/index.d.ts +2 -0
  3094. package/serialization/resources/accesstokens/index.js +18 -0
  3095. package/serialization/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.d.ts +14 -0
  3096. package/serialization/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.js +35 -0
  3097. package/serialization/resources/accesstokens/types/index.d.ts +1 -0
  3098. package/serialization/resources/accesstokens/types/index.js +17 -0
  3099. package/serialization/resources/accounts/client/index.d.ts +1 -0
  3100. package/serialization/resources/accounts/client/index.js +17 -0
  3101. package/serialization/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +14 -0
  3102. package/serialization/resources/accounts/client/requests/CreateApiKeyRequestBody.js +35 -0
  3103. package/serialization/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +14 -0
  3104. package/serialization/resources/accounts/client/requests/CreateEnvironmentRequestBody.js +35 -0
  3105. package/serialization/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +13 -0
  3106. package/serialization/resources/accounts/client/requests/UpdateApiKeyRequestBody.js +34 -0
  3107. package/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +14 -0
  3108. package/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.js +35 -0
  3109. package/serialization/resources/accounts/client/requests/index.d.ts +4 -0
  3110. package/serialization/resources/accounts/client/requests/index.js +11 -0
  3111. package/serialization/resources/accounts/index.d.ts +2 -0
  3112. package/serialization/resources/accounts/index.js +18 -0
  3113. package/serialization/resources/accounts/types/CountApiKeysParams.d.ts +15 -0
  3114. package/serialization/resources/accounts/types/CountApiKeysParams.js +36 -0
  3115. package/serialization/resources/accounts/types/CountApiKeysResponse.d.ts +15 -0
  3116. package/serialization/resources/accounts/types/CountApiKeysResponse.js +36 -0
  3117. package/serialization/resources/accounts/types/CountApiRequestsParams.d.ts +16 -0
  3118. package/serialization/resources/accounts/types/CountApiRequestsParams.js +37 -0
  3119. package/serialization/resources/accounts/types/CountApiRequestsResponse.d.ts +15 -0
  3120. package/serialization/resources/accounts/types/CountApiRequestsResponse.js +36 -0
  3121. package/serialization/resources/accounts/types/CreateApiKeyResponse.d.ts +14 -0
  3122. package/serialization/resources/accounts/types/CreateApiKeyResponse.js +35 -0
  3123. package/serialization/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts +10 -0
  3124. package/serialization/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.js +31 -0
  3125. package/serialization/resources/accounts/types/CreateEnvironmentResponse.d.ts +14 -0
  3126. package/serialization/resources/accounts/types/CreateEnvironmentResponse.js +35 -0
  3127. package/serialization/resources/accounts/types/DeleteApiKeyResponse.d.ts +14 -0
  3128. package/serialization/resources/accounts/types/DeleteApiKeyResponse.js +35 -0
  3129. package/serialization/resources/accounts/types/DeleteEnvironmentResponse.d.ts +14 -0
  3130. package/serialization/resources/accounts/types/DeleteEnvironmentResponse.js +35 -0
  3131. package/serialization/resources/accounts/types/GetApiKeyResponse.d.ts +14 -0
  3132. package/serialization/resources/accounts/types/GetApiKeyResponse.js +35 -0
  3133. package/serialization/resources/accounts/types/GetApiRequestResponse.d.ts +14 -0
  3134. package/serialization/resources/accounts/types/GetApiRequestResponse.js +35 -0
  3135. package/serialization/resources/accounts/types/GetEnvironmentResponse.d.ts +14 -0
  3136. package/serialization/resources/accounts/types/GetEnvironmentResponse.js +35 -0
  3137. package/serialization/resources/accounts/types/ListApiKeysParams.d.ts +15 -0
  3138. package/serialization/resources/accounts/types/ListApiKeysParams.js +36 -0
  3139. package/serialization/resources/accounts/types/ListApiKeysResponse.d.ts +15 -0
  3140. package/serialization/resources/accounts/types/ListApiKeysResponse.js +36 -0
  3141. package/serialization/resources/accounts/types/ListApiRequestsParams.d.ts +16 -0
  3142. package/serialization/resources/accounts/types/ListApiRequestsParams.js +37 -0
  3143. package/serialization/resources/accounts/types/ListApiRequestsResponse.d.ts +15 -0
  3144. package/serialization/resources/accounts/types/ListApiRequestsResponse.js +36 -0
  3145. package/serialization/resources/accounts/types/ListEnvironmentsParams.d.ts +14 -0
  3146. package/serialization/resources/accounts/types/ListEnvironmentsParams.js +35 -0
  3147. package/serialization/resources/accounts/types/ListEnvironmentsResponse.d.ts +15 -0
  3148. package/serialization/resources/accounts/types/ListEnvironmentsResponse.js +36 -0
  3149. package/serialization/resources/accounts/types/UpdateApiKeyResponse.d.ts +14 -0
  3150. package/serialization/resources/accounts/types/UpdateApiKeyResponse.js +35 -0
  3151. package/serialization/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +10 -0
  3152. package/serialization/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.js +31 -0
  3153. package/serialization/resources/accounts/types/UpdateEnvironmentResponse.d.ts +14 -0
  3154. package/serialization/resources/accounts/types/UpdateEnvironmentResponse.js +35 -0
  3155. package/serialization/resources/accounts/types/index.d.ts +21 -0
  3156. package/serialization/resources/accounts/types/index.js +37 -0
  3157. package/serialization/resources/billing/client/index.d.ts +1 -0
  3158. package/serialization/resources/billing/client/index.js +17 -0
  3159. package/serialization/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +17 -0
  3160. package/serialization/resources/billing/client/requests/CreateBillingCustomerRequestBody.js +38 -0
  3161. package/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +15 -0
  3162. package/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.js +36 -0
  3163. package/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +16 -0
  3164. package/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.js +37 -0
  3165. package/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.d.ts +20 -0
  3166. package/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.js +41 -0
  3167. package/serialization/resources/billing/client/requests/index.d.ts +4 -0
  3168. package/serialization/resources/billing/client/requests/index.js +11 -0
  3169. package/serialization/resources/billing/index.d.ts +2 -0
  3170. package/serialization/resources/billing/index.js +18 -0
  3171. package/serialization/resources/billing/types/CountCustomersParams.d.ts +16 -0
  3172. package/serialization/resources/billing/types/CountCustomersParams.js +37 -0
  3173. package/serialization/resources/billing/types/CountCustomersResponse.d.ts +15 -0
  3174. package/serialization/resources/billing/types/CountCustomersResponse.js +36 -0
  3175. package/serialization/resources/billing/types/ListBillingProductsParams.d.ts +16 -0
  3176. package/serialization/resources/billing/types/ListBillingProductsParams.js +37 -0
  3177. package/serialization/resources/billing/types/ListBillingProductsResponse.d.ts +15 -0
  3178. package/serialization/resources/billing/types/ListBillingProductsResponse.js +36 -0
  3179. package/serialization/resources/billing/types/ListCustomersParams.d.ts +16 -0
  3180. package/serialization/resources/billing/types/ListCustomersParams.js +37 -0
  3181. package/serialization/resources/billing/types/ListCustomersResponse.d.ts +15 -0
  3182. package/serialization/resources/billing/types/ListCustomersResponse.js +36 -0
  3183. package/serialization/resources/billing/types/ListProductPricesParams.d.ts +16 -0
  3184. package/serialization/resources/billing/types/ListProductPricesParams.js +37 -0
  3185. package/serialization/resources/billing/types/ListProductPricesResponse.d.ts +15 -0
  3186. package/serialization/resources/billing/types/ListProductPricesResponse.js +36 -0
  3187. package/serialization/resources/billing/types/UpsertBillingCustomerResponse.d.ts +14 -0
  3188. package/serialization/resources/billing/types/UpsertBillingCustomerResponse.js +35 -0
  3189. package/serialization/resources/billing/types/UpsertBillingPriceResponse.d.ts +14 -0
  3190. package/serialization/resources/billing/types/UpsertBillingPriceResponse.js +35 -0
  3191. package/serialization/resources/billing/types/UpsertBillingProductResponse.d.ts +14 -0
  3192. package/serialization/resources/billing/types/UpsertBillingProductResponse.js +35 -0
  3193. package/serialization/resources/billing/types/UpsertBillingSubscriptionResponse.d.ts +14 -0
  3194. package/serialization/resources/billing/types/UpsertBillingSubscriptionResponse.js +35 -0
  3195. package/serialization/resources/billing/types/index.d.ts +12 -0
  3196. package/serialization/resources/billing/types/index.js +28 -0
  3197. package/serialization/resources/companies/client/index.d.ts +1 -0
  3198. package/serialization/resources/companies/client/index.js +17 -0
  3199. package/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +17 -0
  3200. package/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.js +38 -0
  3201. package/serialization/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.d.ts +13 -0
  3202. package/serialization/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.js +34 -0
  3203. package/serialization/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +14 -0
  3204. package/serialization/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.js +35 -0
  3205. package/serialization/resources/companies/client/requests/index.d.ts +3 -0
  3206. package/serialization/resources/companies/client/requests/index.js +9 -0
  3207. package/serialization/resources/companies/index.d.ts +2 -0
  3208. package/serialization/resources/companies/index.js +18 -0
  3209. package/serialization/resources/companies/types/CountCompaniesParams.d.ts +17 -0
  3210. package/serialization/resources/companies/types/CountCompaniesParams.js +38 -0
  3211. package/serialization/resources/companies/types/CountCompaniesResponse.d.ts +15 -0
  3212. package/serialization/resources/companies/types/CountCompaniesResponse.js +36 -0
  3213. package/serialization/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +17 -0
  3214. package/serialization/resources/companies/types/CountEntityKeyDefinitionsParams.js +38 -0
  3215. package/serialization/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +10 -0
  3216. package/serialization/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.js +31 -0
  3217. package/serialization/resources/companies/types/CountEntityKeyDefinitionsResponse.d.ts +15 -0
  3218. package/serialization/resources/companies/types/CountEntityKeyDefinitionsResponse.js +36 -0
  3219. package/serialization/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +10 -0
  3220. package/serialization/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.js +31 -0
  3221. package/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +19 -0
  3222. package/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.js +40 -0
  3223. package/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +10 -0
  3224. package/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.js +31 -0
  3225. package/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +10 -0
  3226. package/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.js +31 -0
  3227. package/serialization/resources/companies/types/CountEntityTraitDefinitionsResponse.d.ts +15 -0
  3228. package/serialization/resources/companies/types/CountEntityTraitDefinitionsResponse.js +36 -0
  3229. package/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +10 -0
  3230. package/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.js +31 -0
  3231. package/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +10 -0
  3232. package/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.js +31 -0
  3233. package/serialization/resources/companies/types/CountUsersParams.d.ts +17 -0
  3234. package/serialization/resources/companies/types/CountUsersParams.js +38 -0
  3235. package/serialization/resources/companies/types/CountUsersResponse.d.ts +15 -0
  3236. package/serialization/resources/companies/types/CountUsersResponse.js +36 -0
  3237. package/serialization/resources/companies/types/CreateCompanyResponse.d.ts +14 -0
  3238. package/serialization/resources/companies/types/CreateCompanyResponse.js +35 -0
  3239. package/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +10 -0
  3240. package/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.js +31 -0
  3241. package/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +10 -0
  3242. package/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.js +31 -0
  3243. package/serialization/resources/companies/types/CreateUserResponse.d.ts +14 -0
  3244. package/serialization/resources/companies/types/CreateUserResponse.js +35 -0
  3245. package/serialization/resources/companies/types/DeleteCompanyByKeysResponse.d.ts +14 -0
  3246. package/serialization/resources/companies/types/DeleteCompanyByKeysResponse.js +35 -0
  3247. package/serialization/resources/companies/types/DeleteCompanyMembershipResponse.d.ts +14 -0
  3248. package/serialization/resources/companies/types/DeleteCompanyMembershipResponse.js +35 -0
  3249. package/serialization/resources/companies/types/DeleteCompanyResponse.d.ts +14 -0
  3250. package/serialization/resources/companies/types/DeleteCompanyResponse.js +35 -0
  3251. package/serialization/resources/companies/types/DeleteUserByKeysResponse.d.ts +14 -0
  3252. package/serialization/resources/companies/types/DeleteUserByKeysResponse.js +35 -0
  3253. package/serialization/resources/companies/types/DeleteUserResponse.d.ts +14 -0
  3254. package/serialization/resources/companies/types/DeleteUserResponse.js +35 -0
  3255. package/serialization/resources/companies/types/GetActiveCompanySubscriptionParams.d.ts +14 -0
  3256. package/serialization/resources/companies/types/GetActiveCompanySubscriptionParams.js +35 -0
  3257. package/serialization/resources/companies/types/GetActiveCompanySubscriptionResponse.d.ts +15 -0
  3258. package/serialization/resources/companies/types/GetActiveCompanySubscriptionResponse.js +36 -0
  3259. package/serialization/resources/companies/types/GetActiveDealsParams.d.ts +15 -0
  3260. package/serialization/resources/companies/types/GetActiveDealsParams.js +36 -0
  3261. package/serialization/resources/companies/types/GetActiveDealsResponse.d.ts +15 -0
  3262. package/serialization/resources/companies/types/GetActiveDealsResponse.js +36 -0
  3263. package/serialization/resources/companies/types/GetCompanyResponse.d.ts +14 -0
  3264. package/serialization/resources/companies/types/GetCompanyResponse.js +35 -0
  3265. package/serialization/resources/companies/types/GetEntityTraitDefinitionResponse.d.ts +14 -0
  3266. package/serialization/resources/companies/types/GetEntityTraitDefinitionResponse.js +35 -0
  3267. package/serialization/resources/companies/types/GetEntityTraitValuesParams.d.ts +15 -0
  3268. package/serialization/resources/companies/types/GetEntityTraitValuesParams.js +36 -0
  3269. package/serialization/resources/companies/types/GetEntityTraitValuesResponse.d.ts +15 -0
  3270. package/serialization/resources/companies/types/GetEntityTraitValuesResponse.js +36 -0
  3271. package/serialization/resources/companies/types/GetOrCreateCompanyMembershipResponse.d.ts +14 -0
  3272. package/serialization/resources/companies/types/GetOrCreateCompanyMembershipResponse.js +35 -0
  3273. package/serialization/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.d.ts +14 -0
  3274. package/serialization/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.js +35 -0
  3275. package/serialization/resources/companies/types/GetUserResponse.d.ts +14 -0
  3276. package/serialization/resources/companies/types/GetUserResponse.js +35 -0
  3277. package/serialization/resources/companies/types/ListCompaniesParams.d.ts +17 -0
  3278. package/serialization/resources/companies/types/ListCompaniesParams.js +38 -0
  3279. package/serialization/resources/companies/types/ListCompaniesResponse.d.ts +15 -0
  3280. package/serialization/resources/companies/types/ListCompaniesResponse.js +36 -0
  3281. package/serialization/resources/companies/types/ListCompanyMembershipsParams.d.ts +15 -0
  3282. package/serialization/resources/companies/types/ListCompanyMembershipsParams.js +36 -0
  3283. package/serialization/resources/companies/types/ListCompanyMembershipsResponse.d.ts +15 -0
  3284. package/serialization/resources/companies/types/ListCompanyMembershipsResponse.js +36 -0
  3285. package/serialization/resources/companies/types/ListCompanyPlansParams.d.ts +15 -0
  3286. package/serialization/resources/companies/types/ListCompanyPlansParams.js +36 -0
  3287. package/serialization/resources/companies/types/ListCompanyPlansResponse.d.ts +15 -0
  3288. package/serialization/resources/companies/types/ListCompanyPlansResponse.js +36 -0
  3289. package/serialization/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +17 -0
  3290. package/serialization/resources/companies/types/ListEntityKeyDefinitionsParams.js +38 -0
  3291. package/serialization/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +10 -0
  3292. package/serialization/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.js +31 -0
  3293. package/serialization/resources/companies/types/ListEntityKeyDefinitionsResponse.d.ts +15 -0
  3294. package/serialization/resources/companies/types/ListEntityKeyDefinitionsResponse.js +36 -0
  3295. package/serialization/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +10 -0
  3296. package/serialization/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.js +31 -0
  3297. package/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +19 -0
  3298. package/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.js +40 -0
  3299. package/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +10 -0
  3300. package/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.js +31 -0
  3301. package/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts +10 -0
  3302. package/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.js +31 -0
  3303. package/serialization/resources/companies/types/ListEntityTraitDefinitionsResponse.d.ts +15 -0
  3304. package/serialization/resources/companies/types/ListEntityTraitDefinitionsResponse.js +36 -0
  3305. package/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +10 -0
  3306. package/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.js +31 -0
  3307. package/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +10 -0
  3308. package/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.js +31 -0
  3309. package/serialization/resources/companies/types/ListUsersParams.d.ts +17 -0
  3310. package/serialization/resources/companies/types/ListUsersParams.js +38 -0
  3311. package/serialization/resources/companies/types/ListUsersResponse.d.ts +15 -0
  3312. package/serialization/resources/companies/types/ListUsersResponse.js +36 -0
  3313. package/serialization/resources/companies/types/LookupCompanyParams.d.ts +12 -0
  3314. package/serialization/resources/companies/types/LookupCompanyParams.js +33 -0
  3315. package/serialization/resources/companies/types/LookupCompanyResponse.d.ts +15 -0
  3316. package/serialization/resources/companies/types/LookupCompanyResponse.js +36 -0
  3317. package/serialization/resources/companies/types/LookupUserParams.d.ts +12 -0
  3318. package/serialization/resources/companies/types/LookupUserParams.js +33 -0
  3319. package/serialization/resources/companies/types/LookupUserResponse.d.ts +15 -0
  3320. package/serialization/resources/companies/types/LookupUserResponse.js +36 -0
  3321. package/serialization/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +10 -0
  3322. package/serialization/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.js +31 -0
  3323. package/serialization/resources/companies/types/UpdateEntityTraitDefinitionResponse.d.ts +14 -0
  3324. package/serialization/resources/companies/types/UpdateEntityTraitDefinitionResponse.js +35 -0
  3325. package/serialization/resources/companies/types/UpsertCompanyResponse.d.ts +14 -0
  3326. package/serialization/resources/companies/types/UpsertCompanyResponse.js +35 -0
  3327. package/serialization/resources/companies/types/UpsertCompanyTraitResponse.d.ts +14 -0
  3328. package/serialization/resources/companies/types/UpsertCompanyTraitResponse.js +35 -0
  3329. package/serialization/resources/companies/types/UpsertUserResponse.d.ts +14 -0
  3330. package/serialization/resources/companies/types/UpsertUserResponse.js +35 -0
  3331. package/serialization/resources/companies/types/UpsertUserTraitResponse.d.ts +14 -0
  3332. package/serialization/resources/companies/types/UpsertUserTraitResponse.js +35 -0
  3333. package/serialization/resources/companies/types/index.d.ts +62 -0
  3334. package/serialization/resources/companies/types/index.js +78 -0
  3335. package/serialization/resources/components/client/index.d.ts +1 -0
  3336. package/serialization/resources/components/client/index.js +17 -0
  3337. package/serialization/resources/components/client/requests/CreateComponentRequestBody.d.ts +15 -0
  3338. package/serialization/resources/components/client/requests/CreateComponentRequestBody.js +36 -0
  3339. package/serialization/resources/components/client/requests/UpdateComponentRequestBody.d.ts +17 -0
  3340. package/serialization/resources/components/client/requests/UpdateComponentRequestBody.js +38 -0
  3341. package/serialization/resources/components/client/requests/index.d.ts +2 -0
  3342. package/serialization/resources/components/client/requests/index.js +7 -0
  3343. package/serialization/resources/components/index.d.ts +2 -0
  3344. package/serialization/resources/components/index.js +18 -0
  3345. package/serialization/resources/components/types/CountComponentsParams.d.ts +14 -0
  3346. package/serialization/resources/components/types/CountComponentsParams.js +35 -0
  3347. package/serialization/resources/components/types/CountComponentsResponse.d.ts +15 -0
  3348. package/serialization/resources/components/types/CountComponentsResponse.js +36 -0
  3349. package/serialization/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +10 -0
  3350. package/serialization/resources/components/types/CreateComponentRequestBodyEntityType.js +31 -0
  3351. package/serialization/resources/components/types/CreateComponentResponse.d.ts +14 -0
  3352. package/serialization/resources/components/types/CreateComponentResponse.js +35 -0
  3353. package/serialization/resources/components/types/DeleteComponentResponse.d.ts +14 -0
  3354. package/serialization/resources/components/types/DeleteComponentResponse.js +35 -0
  3355. package/serialization/resources/components/types/GetComponentResponse.d.ts +14 -0
  3356. package/serialization/resources/components/types/GetComponentResponse.js +35 -0
  3357. package/serialization/resources/components/types/HydrateComponentResponse.d.ts +14 -0
  3358. package/serialization/resources/components/types/HydrateComponentResponse.js +35 -0
  3359. package/serialization/resources/components/types/ListComponentsParams.d.ts +14 -0
  3360. package/serialization/resources/components/types/ListComponentsParams.js +35 -0
  3361. package/serialization/resources/components/types/ListComponentsResponse.d.ts +15 -0
  3362. package/serialization/resources/components/types/ListComponentsResponse.js +36 -0
  3363. package/serialization/resources/components/types/UpdateComponentRequestBodyEntityType.d.ts +10 -0
  3364. package/serialization/resources/components/types/UpdateComponentRequestBodyEntityType.js +31 -0
  3365. package/serialization/resources/components/types/UpdateComponentRequestBodyState.d.ts +10 -0
  3366. package/serialization/resources/components/types/UpdateComponentRequestBodyState.js +31 -0
  3367. package/serialization/resources/components/types/UpdateComponentResponse.d.ts +14 -0
  3368. package/serialization/resources/components/types/UpdateComponentResponse.js +35 -0
  3369. package/serialization/resources/components/types/index.d.ts +12 -0
  3370. package/serialization/resources/components/types/index.js +28 -0
  3371. package/serialization/resources/crm/client/index.d.ts +1 -0
  3372. package/serialization/resources/crm/client/index.js +17 -0
  3373. package/serialization/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.d.ts +13 -0
  3374. package/serialization/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.js +34 -0
  3375. package/serialization/resources/crm/client/requests/CreateCrmDealRequestBody.d.ts +20 -0
  3376. package/serialization/resources/crm/client/requests/CreateCrmDealRequestBody.js +41 -0
  3377. package/serialization/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +19 -0
  3378. package/serialization/resources/crm/client/requests/CreateCrmLineItemRequestBody.js +40 -0
  3379. package/serialization/resources/crm/client/requests/CreateCrmProductRequestBody.d.ts +19 -0
  3380. package/serialization/resources/crm/client/requests/CreateCrmProductRequestBody.js +40 -0
  3381. package/serialization/resources/crm/client/requests/index.d.ts +4 -0
  3382. package/serialization/resources/crm/client/requests/index.js +11 -0
  3383. package/serialization/resources/crm/index.d.ts +2 -0
  3384. package/serialization/resources/crm/index.js +18 -0
  3385. package/serialization/resources/crm/types/ListCrmProductsParams.d.ts +15 -0
  3386. package/serialization/resources/crm/types/ListCrmProductsParams.js +36 -0
  3387. package/serialization/resources/crm/types/ListCrmProductsResponse.d.ts +15 -0
  3388. package/serialization/resources/crm/types/ListCrmProductsResponse.js +36 -0
  3389. package/serialization/resources/crm/types/UpsertCrmDealResponse.d.ts +14 -0
  3390. package/serialization/resources/crm/types/UpsertCrmDealResponse.js +35 -0
  3391. package/serialization/resources/crm/types/UpsertCrmProductResponse.d.ts +14 -0
  3392. package/serialization/resources/crm/types/UpsertCrmProductResponse.js +35 -0
  3393. package/serialization/resources/crm/types/UpsertDealLineItemAssociationResponse.d.ts +14 -0
  3394. package/serialization/resources/crm/types/UpsertDealLineItemAssociationResponse.js +35 -0
  3395. package/serialization/resources/crm/types/UpsertLineItemResponse.d.ts +14 -0
  3396. package/serialization/resources/crm/types/UpsertLineItemResponse.js +35 -0
  3397. package/serialization/resources/crm/types/index.d.ts +6 -0
  3398. package/serialization/resources/crm/types/index.js +22 -0
  3399. package/serialization/resources/entitlements/client/index.d.ts +1 -0
  3400. package/serialization/resources/entitlements/client/index.js +17 -0
  3401. package/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +20 -0
  3402. package/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +41 -0
  3403. package/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +20 -0
  3404. package/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +41 -0
  3405. package/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +18 -0
  3406. package/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +39 -0
  3407. package/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +18 -0
  3408. package/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +39 -0
  3409. package/serialization/resources/entitlements/client/requests/index.d.ts +4 -0
  3410. package/serialization/resources/entitlements/client/requests/index.js +11 -0
  3411. package/serialization/resources/entitlements/index.d.ts +2 -0
  3412. package/serialization/resources/entitlements/index.js +18 -0
  3413. package/serialization/resources/entitlements/types/CountCompanyOverridesParams.d.ts +19 -0
  3414. package/serialization/resources/entitlements/types/CountCompanyOverridesParams.js +40 -0
  3415. package/serialization/resources/entitlements/types/CountCompanyOverridesResponse.d.ts +15 -0
  3416. package/serialization/resources/entitlements/types/CountCompanyOverridesResponse.js +36 -0
  3417. package/serialization/resources/entitlements/types/CountFeatureCompaniesParams.d.ts +15 -0
  3418. package/serialization/resources/entitlements/types/CountFeatureCompaniesParams.js +36 -0
  3419. package/serialization/resources/entitlements/types/CountFeatureCompaniesResponse.d.ts +15 -0
  3420. package/serialization/resources/entitlements/types/CountFeatureCompaniesResponse.js +36 -0
  3421. package/serialization/resources/entitlements/types/CountFeatureUsageParams.d.ts +17 -0
  3422. package/serialization/resources/entitlements/types/CountFeatureUsageParams.js +38 -0
  3423. package/serialization/resources/entitlements/types/CountFeatureUsageResponse.d.ts +15 -0
  3424. package/serialization/resources/entitlements/types/CountFeatureUsageResponse.js +36 -0
  3425. package/serialization/resources/entitlements/types/CountFeatureUsersParams.d.ts +15 -0
  3426. package/serialization/resources/entitlements/types/CountFeatureUsersParams.js +36 -0
  3427. package/serialization/resources/entitlements/types/CountFeatureUsersResponse.d.ts +15 -0
  3428. package/serialization/resources/entitlements/types/CountFeatureUsersResponse.js +36 -0
  3429. package/serialization/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +19 -0
  3430. package/serialization/resources/entitlements/types/CountPlanEntitlementsParams.js +40 -0
  3431. package/serialization/resources/entitlements/types/CountPlanEntitlementsResponse.d.ts +15 -0
  3432. package/serialization/resources/entitlements/types/CountPlanEntitlementsResponse.js +36 -0
  3433. package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +10 -0
  3434. package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.js +31 -0
  3435. package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +10 -0
  3436. package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js +31 -0
  3437. package/serialization/resources/entitlements/types/CreateCompanyOverrideResponse.d.ts +14 -0
  3438. package/serialization/resources/entitlements/types/CreateCompanyOverrideResponse.js +35 -0
  3439. package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +10 -0
  3440. package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.js +31 -0
  3441. package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +10 -0
  3442. package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js +31 -0
  3443. package/serialization/resources/entitlements/types/CreatePlanEntitlementResponse.d.ts +14 -0
  3444. package/serialization/resources/entitlements/types/CreatePlanEntitlementResponse.js +35 -0
  3445. package/serialization/resources/entitlements/types/DeleteCompanyOverrideResponse.d.ts +14 -0
  3446. package/serialization/resources/entitlements/types/DeleteCompanyOverrideResponse.js +35 -0
  3447. package/serialization/resources/entitlements/types/DeletePlanEntitlementResponse.d.ts +14 -0
  3448. package/serialization/resources/entitlements/types/DeletePlanEntitlementResponse.js +35 -0
  3449. package/serialization/resources/entitlements/types/GetCompanyOverrideResponse.d.ts +14 -0
  3450. package/serialization/resources/entitlements/types/GetCompanyOverrideResponse.js +35 -0
  3451. package/serialization/resources/entitlements/types/GetFeatureUsageByCompanyParams.d.ts +12 -0
  3452. package/serialization/resources/entitlements/types/GetFeatureUsageByCompanyParams.js +33 -0
  3453. package/serialization/resources/entitlements/types/GetFeatureUsageByCompanyResponse.d.ts +15 -0
  3454. package/serialization/resources/entitlements/types/GetFeatureUsageByCompanyResponse.js +36 -0
  3455. package/serialization/resources/entitlements/types/GetPlanEntitlementResponse.d.ts +14 -0
  3456. package/serialization/resources/entitlements/types/GetPlanEntitlementResponse.js +35 -0
  3457. package/serialization/resources/entitlements/types/ListCompanyOverridesParams.d.ts +19 -0
  3458. package/serialization/resources/entitlements/types/ListCompanyOverridesParams.js +40 -0
  3459. package/serialization/resources/entitlements/types/ListCompanyOverridesResponse.d.ts +15 -0
  3460. package/serialization/resources/entitlements/types/ListCompanyOverridesResponse.js +36 -0
  3461. package/serialization/resources/entitlements/types/ListFeatureCompaniesParams.d.ts +15 -0
  3462. package/serialization/resources/entitlements/types/ListFeatureCompaniesParams.js +36 -0
  3463. package/serialization/resources/entitlements/types/ListFeatureCompaniesResponse.d.ts +15 -0
  3464. package/serialization/resources/entitlements/types/ListFeatureCompaniesResponse.js +36 -0
  3465. package/serialization/resources/entitlements/types/ListFeatureUsageParams.d.ts +17 -0
  3466. package/serialization/resources/entitlements/types/ListFeatureUsageParams.js +38 -0
  3467. package/serialization/resources/entitlements/types/ListFeatureUsageResponse.d.ts +15 -0
  3468. package/serialization/resources/entitlements/types/ListFeatureUsageResponse.js +36 -0
  3469. package/serialization/resources/entitlements/types/ListFeatureUsersParams.d.ts +15 -0
  3470. package/serialization/resources/entitlements/types/ListFeatureUsersParams.js +36 -0
  3471. package/serialization/resources/entitlements/types/ListFeatureUsersResponse.d.ts +15 -0
  3472. package/serialization/resources/entitlements/types/ListFeatureUsersResponse.js +36 -0
  3473. package/serialization/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +19 -0
  3474. package/serialization/resources/entitlements/types/ListPlanEntitlementsParams.js +40 -0
  3475. package/serialization/resources/entitlements/types/ListPlanEntitlementsResponse.d.ts +15 -0
  3476. package/serialization/resources/entitlements/types/ListPlanEntitlementsResponse.js +36 -0
  3477. package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +10 -0
  3478. package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.js +31 -0
  3479. package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +10 -0
  3480. package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js +31 -0
  3481. package/serialization/resources/entitlements/types/UpdateCompanyOverrideResponse.d.ts +14 -0
  3482. package/serialization/resources/entitlements/types/UpdateCompanyOverrideResponse.js +35 -0
  3483. package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +10 -0
  3484. package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.js +31 -0
  3485. package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +10 -0
  3486. package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js +31 -0
  3487. package/serialization/resources/entitlements/types/UpdatePlanEntitlementResponse.d.ts +14 -0
  3488. package/serialization/resources/entitlements/types/UpdatePlanEntitlementResponse.js +35 -0
  3489. package/serialization/resources/entitlements/types/index.d.ts +38 -0
  3490. package/serialization/resources/entitlements/types/index.js +54 -0
  3491. package/serialization/resources/events/client/index.d.ts +1 -0
  3492. package/serialization/resources/events/client/index.js +17 -0
  3493. package/serialization/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +13 -0
  3494. package/serialization/resources/events/client/requests/CreateEventBatchRequestBody.js +34 -0
  3495. package/serialization/resources/events/client/requests/index.d.ts +1 -0
  3496. package/serialization/resources/events/client/requests/index.js +5 -0
  3497. package/serialization/resources/events/index.d.ts +2 -0
  3498. package/serialization/resources/events/index.js +18 -0
  3499. package/serialization/resources/events/types/CreateEventBatchResponse.d.ts +14 -0
  3500. package/serialization/resources/events/types/CreateEventBatchResponse.js +35 -0
  3501. package/serialization/resources/events/types/CreateEventResponse.d.ts +14 -0
  3502. package/serialization/resources/events/types/CreateEventResponse.js +35 -0
  3503. package/serialization/resources/events/types/GetEventResponse.d.ts +14 -0
  3504. package/serialization/resources/events/types/GetEventResponse.js +35 -0
  3505. package/serialization/resources/events/types/GetEventSummariesParams.d.ts +15 -0
  3506. package/serialization/resources/events/types/GetEventSummariesParams.js +36 -0
  3507. package/serialization/resources/events/types/GetEventSummariesResponse.d.ts +15 -0
  3508. package/serialization/resources/events/types/GetEventSummariesResponse.js +36 -0
  3509. package/serialization/resources/events/types/GetEventSummaryBySubtypeResponse.d.ts +14 -0
  3510. package/serialization/resources/events/types/GetEventSummaryBySubtypeResponse.js +35 -0
  3511. package/serialization/resources/events/types/GetSegmentIntegrationStatusResponse.d.ts +14 -0
  3512. package/serialization/resources/events/types/GetSegmentIntegrationStatusResponse.js +35 -0
  3513. package/serialization/resources/events/types/ListEventsParams.d.ts +18 -0
  3514. package/serialization/resources/events/types/ListEventsParams.js +39 -0
  3515. package/serialization/resources/events/types/ListEventsResponse.d.ts +15 -0
  3516. package/serialization/resources/events/types/ListEventsResponse.js +36 -0
  3517. package/serialization/resources/events/types/ListMetricCountsParams.d.ts +21 -0
  3518. package/serialization/resources/events/types/ListMetricCountsParams.js +42 -0
  3519. package/serialization/resources/events/types/ListMetricCountsResponse.d.ts +15 -0
  3520. package/serialization/resources/events/types/ListMetricCountsResponse.js +36 -0
  3521. package/serialization/resources/events/types/index.d.ts +11 -0
  3522. package/serialization/resources/events/types/index.js +27 -0
  3523. package/serialization/resources/features/client/index.d.ts +1 -0
  3524. package/serialization/resources/features/client/index.js +17 -0
  3525. package/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +22 -0
  3526. package/serialization/resources/features/client/requests/CreateFeatureRequestBody.js +43 -0
  3527. package/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +22 -0
  3528. package/serialization/resources/features/client/requests/UpdateFeatureRequestBody.js +43 -0
  3529. package/serialization/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +13 -0
  3530. package/serialization/resources/features/client/requests/UpdateFlagRulesRequestBody.js +34 -0
  3531. package/serialization/resources/features/client/requests/index.d.ts +3 -0
  3532. package/serialization/resources/features/client/requests/index.js +9 -0
  3533. package/serialization/resources/features/index.d.ts +2 -0
  3534. package/serialization/resources/features/index.js +18 -0
  3535. package/serialization/resources/features/types/CheckFlagResponse.d.ts +14 -0
  3536. package/serialization/resources/features/types/CheckFlagResponse.js +35 -0
  3537. package/serialization/resources/features/types/CheckFlagsResponse.d.ts +14 -0
  3538. package/serialization/resources/features/types/CheckFlagsResponse.js +35 -0
  3539. package/serialization/resources/features/types/CountAudienceCompaniesResponse.d.ts +14 -0
  3540. package/serialization/resources/features/types/CountAudienceCompaniesResponse.js +35 -0
  3541. package/serialization/resources/features/types/CountAudienceUsersResponse.d.ts +14 -0
  3542. package/serialization/resources/features/types/CountAudienceUsersResponse.js +35 -0
  3543. package/serialization/resources/features/types/CountFeaturesParams.d.ts +17 -0
  3544. package/serialization/resources/features/types/CountFeaturesParams.js +38 -0
  3545. package/serialization/resources/features/types/CountFeaturesResponse.d.ts +15 -0
  3546. package/serialization/resources/features/types/CountFeaturesResponse.js +36 -0
  3547. package/serialization/resources/features/types/CountFlagsParams.d.ts +16 -0
  3548. package/serialization/resources/features/types/CountFlagsParams.js +37 -0
  3549. package/serialization/resources/features/types/CountFlagsResponse.d.ts +15 -0
  3550. package/serialization/resources/features/types/CountFlagsResponse.js +36 -0
  3551. package/serialization/resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts +10 -0
  3552. package/serialization/resources/features/types/CreateFeatureRequestBodyFeatureType.js +31 -0
  3553. package/serialization/resources/features/types/CreateFeatureResponse.d.ts +14 -0
  3554. package/serialization/resources/features/types/CreateFeatureResponse.js +35 -0
  3555. package/serialization/resources/features/types/CreateFlagResponse.d.ts +14 -0
  3556. package/serialization/resources/features/types/CreateFlagResponse.js +35 -0
  3557. package/serialization/resources/features/types/DeleteFeatureResponse.d.ts +14 -0
  3558. package/serialization/resources/features/types/DeleteFeatureResponse.js +35 -0
  3559. package/serialization/resources/features/types/DeleteFlagResponse.d.ts +14 -0
  3560. package/serialization/resources/features/types/DeleteFlagResponse.js +35 -0
  3561. package/serialization/resources/features/types/GetFeatureResponse.d.ts +14 -0
  3562. package/serialization/resources/features/types/GetFeatureResponse.js +35 -0
  3563. package/serialization/resources/features/types/GetFlagResponse.d.ts +14 -0
  3564. package/serialization/resources/features/types/GetFlagResponse.js +35 -0
  3565. package/serialization/resources/features/types/ListAudienceCompaniesResponse.d.ts +14 -0
  3566. package/serialization/resources/features/types/ListAudienceCompaniesResponse.js +35 -0
  3567. package/serialization/resources/features/types/ListAudienceUsersResponse.d.ts +14 -0
  3568. package/serialization/resources/features/types/ListAudienceUsersResponse.js +35 -0
  3569. package/serialization/resources/features/types/ListFeaturesParams.d.ts +17 -0
  3570. package/serialization/resources/features/types/ListFeaturesParams.js +38 -0
  3571. package/serialization/resources/features/types/ListFeaturesResponse.d.ts +15 -0
  3572. package/serialization/resources/features/types/ListFeaturesResponse.js +36 -0
  3573. package/serialization/resources/features/types/ListFlagsParams.d.ts +16 -0
  3574. package/serialization/resources/features/types/ListFlagsParams.js +37 -0
  3575. package/serialization/resources/features/types/ListFlagsResponse.d.ts +15 -0
  3576. package/serialization/resources/features/types/ListFlagsResponse.js +36 -0
  3577. package/serialization/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +10 -0
  3578. package/serialization/resources/features/types/UpdateFeatureRequestBodyFeatureType.js +31 -0
  3579. package/serialization/resources/features/types/UpdateFeatureResponse.d.ts +14 -0
  3580. package/serialization/resources/features/types/UpdateFeatureResponse.js +35 -0
  3581. package/serialization/resources/features/types/UpdateFlagResponse.d.ts +14 -0
  3582. package/serialization/resources/features/types/UpdateFlagResponse.js +35 -0
  3583. package/serialization/resources/features/types/UpdateFlagRulesResponse.d.ts +14 -0
  3584. package/serialization/resources/features/types/UpdateFlagRulesResponse.js +35 -0
  3585. package/serialization/resources/features/types/index.d.ts +25 -0
  3586. package/serialization/resources/features/types/index.js +41 -0
  3587. package/serialization/resources/index.d.ts +33 -0
  3588. package/serialization/resources/index.js +62 -0
  3589. package/serialization/resources/plans/client/index.d.ts +1 -0
  3590. package/serialization/resources/plans/client/index.js +17 -0
  3591. package/serialization/resources/plans/client/requests/CreatePlanRequestBody.d.ts +17 -0
  3592. package/serialization/resources/plans/client/requests/CreatePlanRequestBody.js +38 -0
  3593. package/serialization/resources/plans/client/requests/UpdateAudienceRequestBody.d.ts +15 -0
  3594. package/serialization/resources/plans/client/requests/UpdateAudienceRequestBody.js +36 -0
  3595. package/serialization/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +15 -0
  3596. package/serialization/resources/plans/client/requests/UpdatePlanRequestBody.js +36 -0
  3597. package/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +14 -0
  3598. package/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.js +35 -0
  3599. package/serialization/resources/plans/client/requests/index.d.ts +4 -0
  3600. package/serialization/resources/plans/client/requests/index.js +11 -0
  3601. package/serialization/resources/plans/index.d.ts +2 -0
  3602. package/serialization/resources/plans/index.js +18 -0
  3603. package/serialization/resources/plans/types/CountPlansParams.d.ts +17 -0
  3604. package/serialization/resources/plans/types/CountPlansParams.js +38 -0
  3605. package/serialization/resources/plans/types/CountPlansResponse.d.ts +15 -0
  3606. package/serialization/resources/plans/types/CountPlansResponse.js +36 -0
  3607. package/serialization/resources/plans/types/CreatePlanRequestBodyPlanType.d.ts +10 -0
  3608. package/serialization/resources/plans/types/CreatePlanRequestBodyPlanType.js +31 -0
  3609. package/serialization/resources/plans/types/CreatePlanResponse.d.ts +14 -0
  3610. package/serialization/resources/plans/types/CreatePlanResponse.js +35 -0
  3611. package/serialization/resources/plans/types/DeleteAudienceResponse.d.ts +14 -0
  3612. package/serialization/resources/plans/types/DeleteAudienceResponse.js +35 -0
  3613. package/serialization/resources/plans/types/DeletePlanResponse.d.ts +14 -0
  3614. package/serialization/resources/plans/types/DeletePlanResponse.js +35 -0
  3615. package/serialization/resources/plans/types/GetAudienceResponse.d.ts +14 -0
  3616. package/serialization/resources/plans/types/GetAudienceResponse.js +35 -0
  3617. package/serialization/resources/plans/types/GetPlanResponse.d.ts +14 -0
  3618. package/serialization/resources/plans/types/GetPlanResponse.js +35 -0
  3619. package/serialization/resources/plans/types/ListPlansParams.d.ts +17 -0
  3620. package/serialization/resources/plans/types/ListPlansParams.js +38 -0
  3621. package/serialization/resources/plans/types/ListPlansResponse.d.ts +15 -0
  3622. package/serialization/resources/plans/types/ListPlansResponse.js +36 -0
  3623. package/serialization/resources/plans/types/UpdateAudienceResponse.d.ts +14 -0
  3624. package/serialization/resources/plans/types/UpdateAudienceResponse.js +35 -0
  3625. package/serialization/resources/plans/types/UpdatePlanResponse.d.ts +14 -0
  3626. package/serialization/resources/plans/types/UpdatePlanResponse.js +35 -0
  3627. package/serialization/resources/plans/types/UpsertBillingProductPlanResponse.d.ts +14 -0
  3628. package/serialization/resources/plans/types/UpsertBillingProductPlanResponse.js +35 -0
  3629. package/serialization/resources/plans/types/index.d.ts +13 -0
  3630. package/serialization/resources/plans/types/index.js +29 -0
  3631. package/serialization/resources/webhooks/client/index.d.ts +1 -0
  3632. package/serialization/resources/webhooks/client/index.js +17 -0
  3633. package/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +15 -0
  3634. package/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.js +36 -0
  3635. package/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +17 -0
  3636. package/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.js +38 -0
  3637. package/serialization/resources/webhooks/client/requests/index.d.ts +2 -0
  3638. package/serialization/resources/webhooks/client/requests/index.js +7 -0
  3639. package/serialization/resources/webhooks/index.d.ts +2 -0
  3640. package/serialization/resources/webhooks/index.js +18 -0
  3641. package/serialization/resources/webhooks/types/CountWebhookEventsParams.d.ts +16 -0
  3642. package/serialization/resources/webhooks/types/CountWebhookEventsParams.js +37 -0
  3643. package/serialization/resources/webhooks/types/CountWebhookEventsResponse.d.ts +15 -0
  3644. package/serialization/resources/webhooks/types/CountWebhookEventsResponse.js +36 -0
  3645. package/serialization/resources/webhooks/types/CountWebhooksParams.d.ts +14 -0
  3646. package/serialization/resources/webhooks/types/CountWebhooksParams.js +35 -0
  3647. package/serialization/resources/webhooks/types/CountWebhooksResponse.d.ts +15 -0
  3648. package/serialization/resources/webhooks/types/CountWebhooksResponse.js +36 -0
  3649. package/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +10 -0
  3650. package/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +55 -0
  3651. package/serialization/resources/webhooks/types/CreateWebhookResponse.d.ts +14 -0
  3652. package/serialization/resources/webhooks/types/CreateWebhookResponse.js +35 -0
  3653. package/serialization/resources/webhooks/types/DeleteWebhookResponse.d.ts +14 -0
  3654. package/serialization/resources/webhooks/types/DeleteWebhookResponse.js +35 -0
  3655. package/serialization/resources/webhooks/types/GetWebhookEventResponse.d.ts +14 -0
  3656. package/serialization/resources/webhooks/types/GetWebhookEventResponse.js +35 -0
  3657. package/serialization/resources/webhooks/types/GetWebhookResponse.d.ts +14 -0
  3658. package/serialization/resources/webhooks/types/GetWebhookResponse.js +35 -0
  3659. package/serialization/resources/webhooks/types/ListWebhookEventsParams.d.ts +16 -0
  3660. package/serialization/resources/webhooks/types/ListWebhookEventsParams.js +37 -0
  3661. package/serialization/resources/webhooks/types/ListWebhookEventsResponse.d.ts +15 -0
  3662. package/serialization/resources/webhooks/types/ListWebhookEventsResponse.js +36 -0
  3663. package/serialization/resources/webhooks/types/ListWebhooksParams.d.ts +14 -0
  3664. package/serialization/resources/webhooks/types/ListWebhooksParams.js +35 -0
  3665. package/serialization/resources/webhooks/types/ListWebhooksResponse.d.ts +15 -0
  3666. package/serialization/resources/webhooks/types/ListWebhooksResponse.js +36 -0
  3667. package/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +10 -0
  3668. package/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +55 -0
  3669. package/serialization/resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts +10 -0
  3670. package/serialization/resources/webhooks/types/UpdateWebhookRequestBodyStatus.js +31 -0
  3671. package/serialization/resources/webhooks/types/UpdateWebhookResponse.d.ts +14 -0
  3672. package/serialization/resources/webhooks/types/UpdateWebhookResponse.js +35 -0
  3673. package/serialization/resources/webhooks/types/index.d.ts +16 -0
  3674. package/serialization/resources/webhooks/types/index.js +32 -0
  3675. package/serialization/types/ApiError.d.ts +12 -0
  3676. package/serialization/types/ApiError.js +33 -0
  3677. package/serialization/types/ApiKeyCreateResponseData.d.ts +20 -0
  3678. package/serialization/types/ApiKeyCreateResponseData.js +41 -0
  3679. package/serialization/types/ApiKeyRequestListResponseData.d.ts +27 -0
  3680. package/serialization/types/ApiKeyRequestListResponseData.js +48 -0
  3681. package/serialization/types/ApiKeyRequestResponseData.d.ts +30 -0
  3682. package/serialization/types/ApiKeyRequestResponseData.js +51 -0
  3683. package/serialization/types/ApiKeyResponseData.d.ts +19 -0
  3684. package/serialization/types/ApiKeyResponseData.js +40 -0
  3685. package/serialization/types/AudienceRequestBody.d.ts +18 -0
  3686. package/serialization/types/AudienceRequestBody.js +39 -0
  3687. package/serialization/types/BillingCustomerResponseData.d.ts +19 -0
  3688. package/serialization/types/BillingCustomerResponseData.js +40 -0
  3689. package/serialization/types/BillingCustomerSubscription.d.ts +13 -0
  3690. package/serialization/types/BillingCustomerSubscription.js +34 -0
  3691. package/serialization/types/BillingCustomerWithSubscriptionsResponseData.d.ts +21 -0
  3692. package/serialization/types/BillingCustomerWithSubscriptionsResponseData.js +42 -0
  3693. package/serialization/types/BillingPriceResponseData.d.ts +15 -0
  3694. package/serialization/types/BillingPriceResponseData.js +36 -0
  3695. package/serialization/types/BillingProductDetailResponseData.d.ts +23 -0
  3696. package/serialization/types/BillingProductDetailResponseData.js +44 -0
  3697. package/serialization/types/BillingProductPlanResponseData.d.ts +17 -0
  3698. package/serialization/types/BillingProductPlanResponseData.js +38 -0
  3699. package/serialization/types/BillingProductPricing.d.ts +13 -0
  3700. package/serialization/types/BillingProductPricing.js +34 -0
  3701. package/serialization/types/BillingProductResponseData.d.ts +21 -0
  3702. package/serialization/types/BillingProductResponseData.js +42 -0
  3703. package/serialization/types/BillingSubscriptionResponseData.d.ts +15 -0
  3704. package/serialization/types/BillingSubscriptionResponseData.js +36 -0
  3705. package/serialization/types/CheckFlagOutputWithFlagKey.d.ts +18 -0
  3706. package/serialization/types/CheckFlagOutputWithFlagKey.js +39 -0
  3707. package/serialization/types/CheckFlagRequestBody.d.ts +13 -0
  3708. package/serialization/types/CheckFlagRequestBody.js +34 -0
  3709. package/serialization/types/CheckFlagResponseData.d.ts +17 -0
  3710. package/serialization/types/CheckFlagResponseData.js +38 -0
  3711. package/serialization/types/CheckFlagsResponseData.d.ts +13 -0
  3712. package/serialization/types/CheckFlagsResponseData.js +34 -0
  3713. package/serialization/types/CompanyCrmDealsResponseData.d.ts +17 -0
  3714. package/serialization/types/CompanyCrmDealsResponseData.js +38 -0
  3715. package/serialization/types/CompanyDetailResponseData.d.ts +28 -0
  3716. package/serialization/types/CompanyDetailResponseData.js +49 -0
  3717. package/serialization/types/CompanyMembershipDetailResponseData.d.ts +18 -0
  3718. package/serialization/types/CompanyMembershipDetailResponseData.js +39 -0
  3719. package/serialization/types/CompanyMembershipResponseData.d.ts +16 -0
  3720. package/serialization/types/CompanyMembershipResponseData.js +37 -0
  3721. package/serialization/types/CompanyOverrideResponseData.d.ts +29 -0
  3722. package/serialization/types/CompanyOverrideResponseData.js +50 -0
  3723. package/serialization/types/CompanyPlanResponseData.d.ts +17 -0
  3724. package/serialization/types/CompanyPlanResponseData.js +38 -0
  3725. package/serialization/types/CompanyResponseData.d.ts +18 -0
  3726. package/serialization/types/CompanyResponseData.js +39 -0
  3727. package/serialization/types/CompanySubscriptionResponseData.d.ts +17 -0
  3728. package/serialization/types/CompanySubscriptionResponseData.js +38 -0
  3729. package/serialization/types/ComponentHydrateResponseData.d.ts +17 -0
  3730. package/serialization/types/ComponentHydrateResponseData.js +38 -0
  3731. package/serialization/types/ComponentResponseData.d.ts +18 -0
  3732. package/serialization/types/ComponentResponseData.js +39 -0
  3733. package/serialization/types/CountResponse.d.ts +12 -0
  3734. package/serialization/types/CountResponse.js +33 -0
  3735. package/serialization/types/CreateEventRequestBody.d.ts +16 -0
  3736. package/serialization/types/CreateEventRequestBody.js +37 -0
  3737. package/serialization/types/CreateEventRequestBodyEventType.d.ts +10 -0
  3738. package/serialization/types/CreateEventRequestBodyEventType.js +31 -0
  3739. package/serialization/types/CreateFlagRequestBody.d.ts +18 -0
  3740. package/serialization/types/CreateFlagRequestBody.js +39 -0
  3741. package/serialization/types/CreateOrUpdateConditionGroupRequestBody.d.ts +16 -0
  3742. package/serialization/types/CreateOrUpdateConditionGroupRequestBody.js +37 -0
  3743. package/serialization/types/CreateOrUpdateConditionRequestBody.d.ts +24 -0
  3744. package/serialization/types/CreateOrUpdateConditionRequestBody.js +45 -0
  3745. package/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +10 -0
  3746. package/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.js +31 -0
  3747. package/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +10 -0
  3748. package/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.js +31 -0
  3749. package/serialization/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +10 -0
  3750. package/serialization/types/CreateOrUpdateConditionRequestBodyOperator.js +31 -0
  3751. package/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +19 -0
  3752. package/serialization/types/CreateOrUpdateFlagRequestBody.js +40 -0
  3753. package/serialization/types/CreateOrUpdateRuleRequestBody.d.ts +21 -0
  3754. package/serialization/types/CreateOrUpdateRuleRequestBody.js +42 -0
  3755. package/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +10 -0
  3756. package/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.js +38 -0
  3757. package/serialization/types/CreateReqCommon.d.ts +19 -0
  3758. package/serialization/types/CreateReqCommon.js +40 -0
  3759. package/serialization/types/CreateReqCommonMetricPeriod.d.ts +10 -0
  3760. package/serialization/types/CreateReqCommonMetricPeriod.js +31 -0
  3761. package/serialization/types/CreateReqCommonValueType.d.ts +10 -0
  3762. package/serialization/types/CreateReqCommonValueType.js +31 -0
  3763. package/serialization/types/CrmDealLineItem.d.ts +24 -0
  3764. package/serialization/types/CrmDealLineItem.js +45 -0
  3765. package/serialization/types/CrmDealResponseData.d.ts +22 -0
  3766. package/serialization/types/CrmDealResponseData.js +43 -0
  3767. package/serialization/types/CrmLineItemResponseData.d.ts +17 -0
  3768. package/serialization/types/CrmLineItemResponseData.js +38 -0
  3769. package/serialization/types/CrmProductResponseData.d.ts +21 -0
  3770. package/serialization/types/CrmProductResponseData.js +42 -0
  3771. package/serialization/types/Decimal.d.ts +10 -0
  3772. package/serialization/types/Decimal.js +31 -0
  3773. package/serialization/types/DeleteResponse.d.ts +12 -0
  3774. package/serialization/types/DeleteResponse.js +33 -0
  3775. package/serialization/types/EntityKeyDefinitionResponseData.d.ts +16 -0
  3776. package/serialization/types/EntityKeyDefinitionResponseData.js +37 -0
  3777. package/serialization/types/EntityKeyDetailResponseData.d.ts +22 -0
  3778. package/serialization/types/EntityKeyDetailResponseData.js +43 -0
  3779. package/serialization/types/EntityKeyResponseData.d.ts +20 -0
  3780. package/serialization/types/EntityKeyResponseData.js +41 -0
  3781. package/serialization/types/EntityTraitDefinitionResponseData.d.ts +18 -0
  3782. package/serialization/types/EntityTraitDefinitionResponseData.js +39 -0
  3783. package/serialization/types/EntityTraitDetailResponseData.d.ts +19 -0
  3784. package/serialization/types/EntityTraitDetailResponseData.js +40 -0
  3785. package/serialization/types/EntityTraitResponseData.d.ts +17 -0
  3786. package/serialization/types/EntityTraitResponseData.js +38 -0
  3787. package/serialization/types/EntityTraitValue.d.ts +13 -0
  3788. package/serialization/types/EntityTraitValue.js +34 -0
  3789. package/serialization/types/EnvironmentDetailResponseData.d.ts +18 -0
  3790. package/serialization/types/EnvironmentDetailResponseData.js +39 -0
  3791. package/serialization/types/EnvironmentResponseData.d.ts +16 -0
  3792. package/serialization/types/EnvironmentResponseData.js +37 -0
  3793. package/serialization/types/EventBody.d.ts +13 -0
  3794. package/serialization/types/EventBody.js +34 -0
  3795. package/serialization/types/EventBodyFlagCheck.d.ts +21 -0
  3796. package/serialization/types/EventBodyFlagCheck.js +42 -0
  3797. package/serialization/types/EventBodyIdentify.d.ts +16 -0
  3798. package/serialization/types/EventBodyIdentify.js +37 -0
  3799. package/serialization/types/EventBodyIdentifyCompany.d.ts +14 -0
  3800. package/serialization/types/EventBodyIdentifyCompany.js +35 -0
  3801. package/serialization/types/EventBodyTrack.d.ts +15 -0
  3802. package/serialization/types/EventBodyTrack.js +36 -0
  3803. package/serialization/types/EventDetailResponseData.d.ts +33 -0
  3804. package/serialization/types/EventDetailResponseData.js +54 -0
  3805. package/serialization/types/EventResponseData.d.ts +29 -0
  3806. package/serialization/types/EventResponseData.js +50 -0
  3807. package/serialization/types/EventSummaryResponseData.d.ts +17 -0
  3808. package/serialization/types/EventSummaryResponseData.js +38 -0
  3809. package/serialization/types/FeatureCompanyResponseData.d.ts +25 -0
  3810. package/serialization/types/FeatureCompanyResponseData.js +46 -0
  3811. package/serialization/types/FeatureCompanyResponseDataAllocationType.d.ts +10 -0
  3812. package/serialization/types/FeatureCompanyResponseDataAllocationType.js +31 -0
  3813. package/serialization/types/FeatureCompanyUserResponseData.d.ts +27 -0
  3814. package/serialization/types/FeatureCompanyUserResponseData.js +48 -0
  3815. package/serialization/types/FeatureCompanyUserResponseDataAllocationType.d.ts +10 -0
  3816. package/serialization/types/FeatureCompanyUserResponseDataAllocationType.js +31 -0
  3817. package/serialization/types/FeatureDetailResponseData.d.ts +30 -0
  3818. package/serialization/types/FeatureDetailResponseData.js +51 -0
  3819. package/serialization/types/FeatureResponseData.d.ts +22 -0
  3820. package/serialization/types/FeatureResponseData.js +43 -0
  3821. package/serialization/types/FeatureUsageDetailResponseData.d.ts +13 -0
  3822. package/serialization/types/FeatureUsageDetailResponseData.js +34 -0
  3823. package/serialization/types/FeatureUsageResponseData.d.ts +23 -0
  3824. package/serialization/types/FeatureUsageResponseData.js +44 -0
  3825. package/serialization/types/FeatureUsageResponseDataAllocationType.d.ts +10 -0
  3826. package/serialization/types/FeatureUsageResponseDataAllocationType.js +31 -0
  3827. package/serialization/types/FlagDetailResponseData.d.ts +26 -0
  3828. package/serialization/types/FlagDetailResponseData.js +47 -0
  3829. package/serialization/types/FlagResponseData.d.ts +21 -0
  3830. package/serialization/types/FlagResponseData.js +42 -0
  3831. package/serialization/types/IssueTemporaryAccessTokenResponseData.d.ts +19 -0
  3832. package/serialization/types/IssueTemporaryAccessTokenResponseData.js +40 -0
  3833. package/serialization/types/KeysRequestBody.d.ts +12 -0
  3834. package/serialization/types/KeysRequestBody.js +33 -0
  3835. package/serialization/types/MetricCountsHourlyResponseData.d.ts +18 -0
  3836. package/serialization/types/MetricCountsHourlyResponseData.js +39 -0
  3837. package/serialization/types/PaginationFilter.d.ts +13 -0
  3838. package/serialization/types/PaginationFilter.js +34 -0
  3839. package/serialization/types/PlanAudienceDetailResponseData.d.ts +25 -0
  3840. package/serialization/types/PlanAudienceDetailResponseData.js +46 -0
  3841. package/serialization/types/PlanAudienceResponseData.d.ts +21 -0
  3842. package/serialization/types/PlanAudienceResponseData.js +42 -0
  3843. package/serialization/types/PlanDetailResponseData.d.ts +24 -0
  3844. package/serialization/types/PlanDetailResponseData.js +45 -0
  3845. package/serialization/types/PlanEntitlementResponseData.d.ts +29 -0
  3846. package/serialization/types/PlanEntitlementResponseData.js +50 -0
  3847. package/serialization/types/PlanResponseData.d.ts +19 -0
  3848. package/serialization/types/PlanResponseData.js +40 -0
  3849. package/serialization/types/PreviewObject.d.ts +15 -0
  3850. package/serialization/types/PreviewObject.js +36 -0
  3851. package/serialization/types/RawEventBatchResponseData.d.ts +13 -0
  3852. package/serialization/types/RawEventBatchResponseData.js +34 -0
  3853. package/serialization/types/RawEventResponseData.d.ts +16 -0
  3854. package/serialization/types/RawEventResponseData.js +37 -0
  3855. package/serialization/types/RuleConditionDetailResponseData.d.ts +34 -0
  3856. package/serialization/types/RuleConditionDetailResponseData.js +55 -0
  3857. package/serialization/types/RuleConditionGroupDetailResponseData.d.ts +20 -0
  3858. package/serialization/types/RuleConditionGroupDetailResponseData.js +41 -0
  3859. package/serialization/types/RuleConditionGroupResponseData.d.ts +18 -0
  3860. package/serialization/types/RuleConditionGroupResponseData.js +39 -0
  3861. package/serialization/types/RuleConditionResourceResponseData.d.ts +13 -0
  3862. package/serialization/types/RuleConditionResourceResponseData.js +34 -0
  3863. package/serialization/types/RuleConditionResponseData.d.ts +29 -0
  3864. package/serialization/types/RuleConditionResponseData.js +50 -0
  3865. package/serialization/types/RuleDetailResponseData.d.ts +25 -0
  3866. package/serialization/types/RuleDetailResponseData.js +46 -0
  3867. package/serialization/types/RuleResponseData.d.ts +21 -0
  3868. package/serialization/types/RuleResponseData.js +42 -0
  3869. package/serialization/types/RulesDetailResponseData.d.ts +15 -0
  3870. package/serialization/types/RulesDetailResponseData.js +36 -0
  3871. package/serialization/types/SegmentStatusResp.d.ts +14 -0
  3872. package/serialization/types/SegmentStatusResp.js +35 -0
  3873. package/serialization/types/TemporaryAccessTokenResponseData.d.ts +18 -0
  3874. package/serialization/types/TemporaryAccessTokenResponseData.js +39 -0
  3875. package/serialization/types/UpdateReqCommon.d.ts +18 -0
  3876. package/serialization/types/UpdateReqCommon.js +39 -0
  3877. package/serialization/types/UpdateReqCommonMetricPeriod.d.ts +10 -0
  3878. package/serialization/types/UpdateReqCommonMetricPeriod.js +31 -0
  3879. package/serialization/types/UpdateReqCommonValueType.d.ts +10 -0
  3880. package/serialization/types/UpdateReqCommonValueType.js +31 -0
  3881. package/serialization/types/UpdateRuleRequestBody.d.ts +18 -0
  3882. package/serialization/types/UpdateRuleRequestBody.js +39 -0
  3883. package/serialization/types/UpsertCompanyRequestBody.d.ts +17 -0
  3884. package/serialization/types/UpsertCompanyRequestBody.js +38 -0
  3885. package/serialization/types/UpsertTraitRequestBody.d.ts +16 -0
  3886. package/serialization/types/UpsertTraitRequestBody.js +37 -0
  3887. package/serialization/types/UpsertUserRequestBody.d.ts +19 -0
  3888. package/serialization/types/UpsertUserRequestBody.js +40 -0
  3889. package/serialization/types/UpsertUserSubRequestBody.d.ts +18 -0
  3890. package/serialization/types/UpsertUserSubRequestBody.js +39 -0
  3891. package/serialization/types/UserDetailResponseData.d.ts +24 -0
  3892. package/serialization/types/UserDetailResponseData.js +45 -0
  3893. package/serialization/types/UserResponseData.d.ts +17 -0
  3894. package/serialization/types/UserResponseData.js +38 -0
  3895. package/serialization/types/WebhookEventDetailResponseData.d.ts +22 -0
  3896. package/serialization/types/WebhookEventDetailResponseData.js +43 -0
  3897. package/serialization/types/WebhookEventResponseData.d.ts +20 -0
  3898. package/serialization/types/WebhookEventResponseData.js +41 -0
  3899. package/serialization/types/WebhookResponseData.d.ts +18 -0
  3900. package/serialization/types/WebhookResponseData.js +39 -0
  3901. package/serialization/types/index.d.ts +113 -0
  3902. package/serialization/types/index.js +129 -0
  3903. package/version.d.ts +1 -0
  3904. package/version.js +4 -0
  3905. package/wrapper.d.ts +38 -0
  3906. package/wrapper.js +140 -0
  3907. package/dist/schematic.cjs.js +0 -37257
  3908. package/dist/schematic.d.ts +0 -20502
  3909. package/dist/schematic.esm.js +0 -35920
@@ -0,0 +1,2103 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ var __importDefault = (this && this.__importDefault) || function (mod) {
38
+ return (mod && mod.__esModule) ? mod : { "default": mod };
39
+ };
40
+ Object.defineProperty(exports, "__esModule", { value: true });
41
+ exports.Entitlements = void 0;
42
+ const environments = __importStar(require("../../../../environments"));
43
+ const core = __importStar(require("../../../../core"));
44
+ const Schematic = __importStar(require("../../../index"));
45
+ const url_join_1 = __importDefault(require("url-join"));
46
+ const serializers = __importStar(require("../../../../serialization/index"));
47
+ const errors = __importStar(require("../../../../errors/index"));
48
+ class Entitlements {
49
+ constructor(_options) {
50
+ this._options = _options;
51
+ }
52
+ /**
53
+ * @param {Schematic.ListCompanyOverridesRequest} request
54
+ * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
55
+ *
56
+ * @throws {@link Schematic.BadRequestError}
57
+ * @throws {@link Schematic.UnauthorizedError}
58
+ * @throws {@link Schematic.ForbiddenError}
59
+ * @throws {@link Schematic.InternalServerError}
60
+ *
61
+ * @example
62
+ * await client.entitlements.listCompanyOverrides()
63
+ */
64
+ listCompanyOverrides(request = {}, requestOptions) {
65
+ var _a, _b;
66
+ return __awaiter(this, void 0, void 0, function* () {
67
+ const { companyId, companyIds, featureId, featureIds, ids, q, limit, offset } = request;
68
+ const _queryParams = {};
69
+ if (companyId != null) {
70
+ _queryParams["company_id"] = companyId;
71
+ }
72
+ if (companyIds != null) {
73
+ if (Array.isArray(companyIds)) {
74
+ _queryParams["company_ids"] = companyIds.map((item) => item);
75
+ }
76
+ else {
77
+ _queryParams["company_ids"] = companyIds;
78
+ }
79
+ }
80
+ if (featureId != null) {
81
+ _queryParams["feature_id"] = featureId;
82
+ }
83
+ if (featureIds != null) {
84
+ if (Array.isArray(featureIds)) {
85
+ _queryParams["feature_ids"] = featureIds.map((item) => item);
86
+ }
87
+ else {
88
+ _queryParams["feature_ids"] = featureIds;
89
+ }
90
+ }
91
+ if (ids != null) {
92
+ if (Array.isArray(ids)) {
93
+ _queryParams["ids"] = ids.map((item) => item);
94
+ }
95
+ else {
96
+ _queryParams["ids"] = ids;
97
+ }
98
+ }
99
+ if (q != null) {
100
+ _queryParams["q"] = q;
101
+ }
102
+ if (limit != null) {
103
+ _queryParams["limit"] = limit.toString();
104
+ }
105
+ if (offset != null) {
106
+ _queryParams["offset"] = offset.toString();
107
+ }
108
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
109
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "company-overrides"),
110
+ method: "GET",
111
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
112
+ contentType: "application/json",
113
+ queryParameters: _queryParams,
114
+ requestType: "json",
115
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
116
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
117
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
118
+ });
119
+ if (_response.ok) {
120
+ return serializers.ListCompanyOverridesResponse.parseOrThrow(_response.body, {
121
+ unrecognizedObjectKeys: "passthrough",
122
+ allowUnrecognizedUnionMembers: true,
123
+ allowUnrecognizedEnumValues: true,
124
+ skipValidation: true,
125
+ breadcrumbsPrefix: ["response"],
126
+ });
127
+ }
128
+ if (_response.error.reason === "status-code") {
129
+ switch (_response.error.statusCode) {
130
+ case 400:
131
+ throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
132
+ unrecognizedObjectKeys: "passthrough",
133
+ allowUnrecognizedUnionMembers: true,
134
+ allowUnrecognizedEnumValues: true,
135
+ skipValidation: true,
136
+ breadcrumbsPrefix: ["response"],
137
+ }));
138
+ case 401:
139
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
140
+ unrecognizedObjectKeys: "passthrough",
141
+ allowUnrecognizedUnionMembers: true,
142
+ allowUnrecognizedEnumValues: true,
143
+ skipValidation: true,
144
+ breadcrumbsPrefix: ["response"],
145
+ }));
146
+ case 403:
147
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
148
+ unrecognizedObjectKeys: "passthrough",
149
+ allowUnrecognizedUnionMembers: true,
150
+ allowUnrecognizedEnumValues: true,
151
+ skipValidation: true,
152
+ breadcrumbsPrefix: ["response"],
153
+ }));
154
+ case 500:
155
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
156
+ unrecognizedObjectKeys: "passthrough",
157
+ allowUnrecognizedUnionMembers: true,
158
+ allowUnrecognizedEnumValues: true,
159
+ skipValidation: true,
160
+ breadcrumbsPrefix: ["response"],
161
+ }));
162
+ default:
163
+ throw new errors.SchematicError({
164
+ statusCode: _response.error.statusCode,
165
+ body: _response.error.body,
166
+ });
167
+ }
168
+ }
169
+ switch (_response.error.reason) {
170
+ case "non-json":
171
+ throw new errors.SchematicError({
172
+ statusCode: _response.error.statusCode,
173
+ body: _response.error.rawBody,
174
+ });
175
+ case "timeout":
176
+ throw new errors.SchematicTimeoutError();
177
+ case "unknown":
178
+ throw new errors.SchematicError({
179
+ message: _response.error.errorMessage,
180
+ });
181
+ }
182
+ });
183
+ }
184
+ /**
185
+ * @param {Schematic.CreateCompanyOverrideRequestBody} request
186
+ * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
187
+ *
188
+ * @throws {@link Schematic.BadRequestError}
189
+ * @throws {@link Schematic.UnauthorizedError}
190
+ * @throws {@link Schematic.ForbiddenError}
191
+ * @throws {@link Schematic.InternalServerError}
192
+ *
193
+ * @example
194
+ * await client.entitlements.createCompanyOverride({
195
+ * companyId: "company_id",
196
+ * featureId: "feature_id",
197
+ * valueType: Schematic.CreateCompanyOverrideRequestBodyValueType.Boolean
198
+ * })
199
+ */
200
+ createCompanyOverride(request, requestOptions) {
201
+ var _a, _b;
202
+ return __awaiter(this, void 0, void 0, function* () {
203
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
204
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "company-overrides"),
205
+ method: "POST",
206
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
207
+ contentType: "application/json",
208
+ requestType: "json",
209
+ body: serializers.CreateCompanyOverrideRequestBody.jsonOrThrow(request, {
210
+ unrecognizedObjectKeys: "strip",
211
+ }),
212
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
213
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
214
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
215
+ });
216
+ if (_response.ok) {
217
+ return serializers.CreateCompanyOverrideResponse.parseOrThrow(_response.body, {
218
+ unrecognizedObjectKeys: "passthrough",
219
+ allowUnrecognizedUnionMembers: true,
220
+ allowUnrecognizedEnumValues: true,
221
+ skipValidation: true,
222
+ breadcrumbsPrefix: ["response"],
223
+ });
224
+ }
225
+ if (_response.error.reason === "status-code") {
226
+ switch (_response.error.statusCode) {
227
+ case 400:
228
+ throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
229
+ unrecognizedObjectKeys: "passthrough",
230
+ allowUnrecognizedUnionMembers: true,
231
+ allowUnrecognizedEnumValues: true,
232
+ skipValidation: true,
233
+ breadcrumbsPrefix: ["response"],
234
+ }));
235
+ case 401:
236
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
237
+ unrecognizedObjectKeys: "passthrough",
238
+ allowUnrecognizedUnionMembers: true,
239
+ allowUnrecognizedEnumValues: true,
240
+ skipValidation: true,
241
+ breadcrumbsPrefix: ["response"],
242
+ }));
243
+ case 403:
244
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
245
+ unrecognizedObjectKeys: "passthrough",
246
+ allowUnrecognizedUnionMembers: true,
247
+ allowUnrecognizedEnumValues: true,
248
+ skipValidation: true,
249
+ breadcrumbsPrefix: ["response"],
250
+ }));
251
+ case 500:
252
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
253
+ unrecognizedObjectKeys: "passthrough",
254
+ allowUnrecognizedUnionMembers: true,
255
+ allowUnrecognizedEnumValues: true,
256
+ skipValidation: true,
257
+ breadcrumbsPrefix: ["response"],
258
+ }));
259
+ default:
260
+ throw new errors.SchematicError({
261
+ statusCode: _response.error.statusCode,
262
+ body: _response.error.body,
263
+ });
264
+ }
265
+ }
266
+ switch (_response.error.reason) {
267
+ case "non-json":
268
+ throw new errors.SchematicError({
269
+ statusCode: _response.error.statusCode,
270
+ body: _response.error.rawBody,
271
+ });
272
+ case "timeout":
273
+ throw new errors.SchematicTimeoutError();
274
+ case "unknown":
275
+ throw new errors.SchematicError({
276
+ message: _response.error.errorMessage,
277
+ });
278
+ }
279
+ });
280
+ }
281
+ /**
282
+ * @param {string} companyOverrideId - company_override_id
283
+ * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
284
+ *
285
+ * @throws {@link Schematic.UnauthorizedError}
286
+ * @throws {@link Schematic.ForbiddenError}
287
+ * @throws {@link Schematic.NotFoundError}
288
+ * @throws {@link Schematic.InternalServerError}
289
+ *
290
+ * @example
291
+ * await client.entitlements.getCompanyOverride("company_override_id")
292
+ */
293
+ getCompanyOverride(companyOverrideId, requestOptions) {
294
+ var _a, _b;
295
+ return __awaiter(this, void 0, void 0, function* () {
296
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
297
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, `company-overrides/${encodeURIComponent(companyOverrideId)}`),
298
+ method: "GET",
299
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
300
+ contentType: "application/json",
301
+ requestType: "json",
302
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
303
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
304
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
305
+ });
306
+ if (_response.ok) {
307
+ return serializers.GetCompanyOverrideResponse.parseOrThrow(_response.body, {
308
+ unrecognizedObjectKeys: "passthrough",
309
+ allowUnrecognizedUnionMembers: true,
310
+ allowUnrecognizedEnumValues: true,
311
+ skipValidation: true,
312
+ breadcrumbsPrefix: ["response"],
313
+ });
314
+ }
315
+ if (_response.error.reason === "status-code") {
316
+ switch (_response.error.statusCode) {
317
+ case 401:
318
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
319
+ unrecognizedObjectKeys: "passthrough",
320
+ allowUnrecognizedUnionMembers: true,
321
+ allowUnrecognizedEnumValues: true,
322
+ skipValidation: true,
323
+ breadcrumbsPrefix: ["response"],
324
+ }));
325
+ case 403:
326
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
327
+ unrecognizedObjectKeys: "passthrough",
328
+ allowUnrecognizedUnionMembers: true,
329
+ allowUnrecognizedEnumValues: true,
330
+ skipValidation: true,
331
+ breadcrumbsPrefix: ["response"],
332
+ }));
333
+ case 404:
334
+ throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
335
+ unrecognizedObjectKeys: "passthrough",
336
+ allowUnrecognizedUnionMembers: true,
337
+ allowUnrecognizedEnumValues: true,
338
+ skipValidation: true,
339
+ breadcrumbsPrefix: ["response"],
340
+ }));
341
+ case 500:
342
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
343
+ unrecognizedObjectKeys: "passthrough",
344
+ allowUnrecognizedUnionMembers: true,
345
+ allowUnrecognizedEnumValues: true,
346
+ skipValidation: true,
347
+ breadcrumbsPrefix: ["response"],
348
+ }));
349
+ default:
350
+ throw new errors.SchematicError({
351
+ statusCode: _response.error.statusCode,
352
+ body: _response.error.body,
353
+ });
354
+ }
355
+ }
356
+ switch (_response.error.reason) {
357
+ case "non-json":
358
+ throw new errors.SchematicError({
359
+ statusCode: _response.error.statusCode,
360
+ body: _response.error.rawBody,
361
+ });
362
+ case "timeout":
363
+ throw new errors.SchematicTimeoutError();
364
+ case "unknown":
365
+ throw new errors.SchematicError({
366
+ message: _response.error.errorMessage,
367
+ });
368
+ }
369
+ });
370
+ }
371
+ /**
372
+ * @param {string} companyOverrideId - company_override_id
373
+ * @param {Schematic.UpdateCompanyOverrideRequestBody} request
374
+ * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
375
+ *
376
+ * @throws {@link Schematic.BadRequestError}
377
+ * @throws {@link Schematic.UnauthorizedError}
378
+ * @throws {@link Schematic.ForbiddenError}
379
+ * @throws {@link Schematic.NotFoundError}
380
+ * @throws {@link Schematic.InternalServerError}
381
+ *
382
+ * @example
383
+ * await client.entitlements.updateCompanyOverride("company_override_id", {
384
+ * valueType: Schematic.UpdateCompanyOverrideRequestBodyValueType.Boolean
385
+ * })
386
+ */
387
+ updateCompanyOverride(companyOverrideId, request, requestOptions) {
388
+ var _a, _b;
389
+ return __awaiter(this, void 0, void 0, function* () {
390
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
391
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, `company-overrides/${encodeURIComponent(companyOverrideId)}`),
392
+ method: "PUT",
393
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
394
+ contentType: "application/json",
395
+ requestType: "json",
396
+ body: serializers.UpdateCompanyOverrideRequestBody.jsonOrThrow(request, {
397
+ unrecognizedObjectKeys: "strip",
398
+ }),
399
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
400
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
401
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
402
+ });
403
+ if (_response.ok) {
404
+ return serializers.UpdateCompanyOverrideResponse.parseOrThrow(_response.body, {
405
+ unrecognizedObjectKeys: "passthrough",
406
+ allowUnrecognizedUnionMembers: true,
407
+ allowUnrecognizedEnumValues: true,
408
+ skipValidation: true,
409
+ breadcrumbsPrefix: ["response"],
410
+ });
411
+ }
412
+ if (_response.error.reason === "status-code") {
413
+ switch (_response.error.statusCode) {
414
+ case 400:
415
+ throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
416
+ unrecognizedObjectKeys: "passthrough",
417
+ allowUnrecognizedUnionMembers: true,
418
+ allowUnrecognizedEnumValues: true,
419
+ skipValidation: true,
420
+ breadcrumbsPrefix: ["response"],
421
+ }));
422
+ case 401:
423
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
424
+ unrecognizedObjectKeys: "passthrough",
425
+ allowUnrecognizedUnionMembers: true,
426
+ allowUnrecognizedEnumValues: true,
427
+ skipValidation: true,
428
+ breadcrumbsPrefix: ["response"],
429
+ }));
430
+ case 403:
431
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
432
+ unrecognizedObjectKeys: "passthrough",
433
+ allowUnrecognizedUnionMembers: true,
434
+ allowUnrecognizedEnumValues: true,
435
+ skipValidation: true,
436
+ breadcrumbsPrefix: ["response"],
437
+ }));
438
+ case 404:
439
+ throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
440
+ unrecognizedObjectKeys: "passthrough",
441
+ allowUnrecognizedUnionMembers: true,
442
+ allowUnrecognizedEnumValues: true,
443
+ skipValidation: true,
444
+ breadcrumbsPrefix: ["response"],
445
+ }));
446
+ case 500:
447
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
448
+ unrecognizedObjectKeys: "passthrough",
449
+ allowUnrecognizedUnionMembers: true,
450
+ allowUnrecognizedEnumValues: true,
451
+ skipValidation: true,
452
+ breadcrumbsPrefix: ["response"],
453
+ }));
454
+ default:
455
+ throw new errors.SchematicError({
456
+ statusCode: _response.error.statusCode,
457
+ body: _response.error.body,
458
+ });
459
+ }
460
+ }
461
+ switch (_response.error.reason) {
462
+ case "non-json":
463
+ throw new errors.SchematicError({
464
+ statusCode: _response.error.statusCode,
465
+ body: _response.error.rawBody,
466
+ });
467
+ case "timeout":
468
+ throw new errors.SchematicTimeoutError();
469
+ case "unknown":
470
+ throw new errors.SchematicError({
471
+ message: _response.error.errorMessage,
472
+ });
473
+ }
474
+ });
475
+ }
476
+ /**
477
+ * @param {string} companyOverrideId - company_override_id
478
+ * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
479
+ *
480
+ * @throws {@link Schematic.BadRequestError}
481
+ * @throws {@link Schematic.UnauthorizedError}
482
+ * @throws {@link Schematic.ForbiddenError}
483
+ * @throws {@link Schematic.InternalServerError}
484
+ *
485
+ * @example
486
+ * await client.entitlements.deleteCompanyOverride("company_override_id")
487
+ */
488
+ deleteCompanyOverride(companyOverrideId, requestOptions) {
489
+ var _a, _b;
490
+ return __awaiter(this, void 0, void 0, function* () {
491
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
492
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, `company-overrides/${encodeURIComponent(companyOverrideId)}`),
493
+ method: "DELETE",
494
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
495
+ contentType: "application/json",
496
+ requestType: "json",
497
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
498
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
499
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
500
+ });
501
+ if (_response.ok) {
502
+ return serializers.DeleteCompanyOverrideResponse.parseOrThrow(_response.body, {
503
+ unrecognizedObjectKeys: "passthrough",
504
+ allowUnrecognizedUnionMembers: true,
505
+ allowUnrecognizedEnumValues: true,
506
+ skipValidation: true,
507
+ breadcrumbsPrefix: ["response"],
508
+ });
509
+ }
510
+ if (_response.error.reason === "status-code") {
511
+ switch (_response.error.statusCode) {
512
+ case 400:
513
+ throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
514
+ unrecognizedObjectKeys: "passthrough",
515
+ allowUnrecognizedUnionMembers: true,
516
+ allowUnrecognizedEnumValues: true,
517
+ skipValidation: true,
518
+ breadcrumbsPrefix: ["response"],
519
+ }));
520
+ case 401:
521
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
522
+ unrecognizedObjectKeys: "passthrough",
523
+ allowUnrecognizedUnionMembers: true,
524
+ allowUnrecognizedEnumValues: true,
525
+ skipValidation: true,
526
+ breadcrumbsPrefix: ["response"],
527
+ }));
528
+ case 403:
529
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
530
+ unrecognizedObjectKeys: "passthrough",
531
+ allowUnrecognizedUnionMembers: true,
532
+ allowUnrecognizedEnumValues: true,
533
+ skipValidation: true,
534
+ breadcrumbsPrefix: ["response"],
535
+ }));
536
+ case 500:
537
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
538
+ unrecognizedObjectKeys: "passthrough",
539
+ allowUnrecognizedUnionMembers: true,
540
+ allowUnrecognizedEnumValues: true,
541
+ skipValidation: true,
542
+ breadcrumbsPrefix: ["response"],
543
+ }));
544
+ default:
545
+ throw new errors.SchematicError({
546
+ statusCode: _response.error.statusCode,
547
+ body: _response.error.body,
548
+ });
549
+ }
550
+ }
551
+ switch (_response.error.reason) {
552
+ case "non-json":
553
+ throw new errors.SchematicError({
554
+ statusCode: _response.error.statusCode,
555
+ body: _response.error.rawBody,
556
+ });
557
+ case "timeout":
558
+ throw new errors.SchematicTimeoutError();
559
+ case "unknown":
560
+ throw new errors.SchematicError({
561
+ message: _response.error.errorMessage,
562
+ });
563
+ }
564
+ });
565
+ }
566
+ /**
567
+ * @param {Schematic.CountCompanyOverridesRequest} request
568
+ * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
569
+ *
570
+ * @throws {@link Schematic.BadRequestError}
571
+ * @throws {@link Schematic.UnauthorizedError}
572
+ * @throws {@link Schematic.ForbiddenError}
573
+ * @throws {@link Schematic.InternalServerError}
574
+ *
575
+ * @example
576
+ * await client.entitlements.countCompanyOverrides()
577
+ */
578
+ countCompanyOverrides(request = {}, requestOptions) {
579
+ var _a, _b;
580
+ return __awaiter(this, void 0, void 0, function* () {
581
+ const { companyId, companyIds, featureId, featureIds, ids, q, limit, offset } = request;
582
+ const _queryParams = {};
583
+ if (companyId != null) {
584
+ _queryParams["company_id"] = companyId;
585
+ }
586
+ if (companyIds != null) {
587
+ if (Array.isArray(companyIds)) {
588
+ _queryParams["company_ids"] = companyIds.map((item) => item);
589
+ }
590
+ else {
591
+ _queryParams["company_ids"] = companyIds;
592
+ }
593
+ }
594
+ if (featureId != null) {
595
+ _queryParams["feature_id"] = featureId;
596
+ }
597
+ if (featureIds != null) {
598
+ if (Array.isArray(featureIds)) {
599
+ _queryParams["feature_ids"] = featureIds.map((item) => item);
600
+ }
601
+ else {
602
+ _queryParams["feature_ids"] = featureIds;
603
+ }
604
+ }
605
+ if (ids != null) {
606
+ if (Array.isArray(ids)) {
607
+ _queryParams["ids"] = ids.map((item) => item);
608
+ }
609
+ else {
610
+ _queryParams["ids"] = ids;
611
+ }
612
+ }
613
+ if (q != null) {
614
+ _queryParams["q"] = q;
615
+ }
616
+ if (limit != null) {
617
+ _queryParams["limit"] = limit.toString();
618
+ }
619
+ if (offset != null) {
620
+ _queryParams["offset"] = offset.toString();
621
+ }
622
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
623
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "company-overrides/count"),
624
+ method: "GET",
625
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
626
+ contentType: "application/json",
627
+ queryParameters: _queryParams,
628
+ requestType: "json",
629
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
630
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
631
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
632
+ });
633
+ if (_response.ok) {
634
+ return serializers.CountCompanyOverridesResponse.parseOrThrow(_response.body, {
635
+ unrecognizedObjectKeys: "passthrough",
636
+ allowUnrecognizedUnionMembers: true,
637
+ allowUnrecognizedEnumValues: true,
638
+ skipValidation: true,
639
+ breadcrumbsPrefix: ["response"],
640
+ });
641
+ }
642
+ if (_response.error.reason === "status-code") {
643
+ switch (_response.error.statusCode) {
644
+ case 400:
645
+ throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
646
+ unrecognizedObjectKeys: "passthrough",
647
+ allowUnrecognizedUnionMembers: true,
648
+ allowUnrecognizedEnumValues: true,
649
+ skipValidation: true,
650
+ breadcrumbsPrefix: ["response"],
651
+ }));
652
+ case 401:
653
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
654
+ unrecognizedObjectKeys: "passthrough",
655
+ allowUnrecognizedUnionMembers: true,
656
+ allowUnrecognizedEnumValues: true,
657
+ skipValidation: true,
658
+ breadcrumbsPrefix: ["response"],
659
+ }));
660
+ case 403:
661
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
662
+ unrecognizedObjectKeys: "passthrough",
663
+ allowUnrecognizedUnionMembers: true,
664
+ allowUnrecognizedEnumValues: true,
665
+ skipValidation: true,
666
+ breadcrumbsPrefix: ["response"],
667
+ }));
668
+ case 500:
669
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
670
+ unrecognizedObjectKeys: "passthrough",
671
+ allowUnrecognizedUnionMembers: true,
672
+ allowUnrecognizedEnumValues: true,
673
+ skipValidation: true,
674
+ breadcrumbsPrefix: ["response"],
675
+ }));
676
+ default:
677
+ throw new errors.SchematicError({
678
+ statusCode: _response.error.statusCode,
679
+ body: _response.error.body,
680
+ });
681
+ }
682
+ }
683
+ switch (_response.error.reason) {
684
+ case "non-json":
685
+ throw new errors.SchematicError({
686
+ statusCode: _response.error.statusCode,
687
+ body: _response.error.rawBody,
688
+ });
689
+ case "timeout":
690
+ throw new errors.SchematicTimeoutError();
691
+ case "unknown":
692
+ throw new errors.SchematicError({
693
+ message: _response.error.errorMessage,
694
+ });
695
+ }
696
+ });
697
+ }
698
+ /**
699
+ * @param {Schematic.ListFeatureCompaniesRequest} request
700
+ * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
701
+ *
702
+ * @throws {@link Schematic.BadRequestError}
703
+ * @throws {@link Schematic.UnauthorizedError}
704
+ * @throws {@link Schematic.ForbiddenError}
705
+ * @throws {@link Schematic.InternalServerError}
706
+ *
707
+ * @example
708
+ * await client.entitlements.listFeatureCompanies({
709
+ * featureId: "feature_id"
710
+ * })
711
+ */
712
+ listFeatureCompanies(request, requestOptions) {
713
+ var _a, _b;
714
+ return __awaiter(this, void 0, void 0, function* () {
715
+ const { featureId, q, limit, offset } = request;
716
+ const _queryParams = {};
717
+ _queryParams["feature_id"] = featureId;
718
+ if (q != null) {
719
+ _queryParams["q"] = q;
720
+ }
721
+ if (limit != null) {
722
+ _queryParams["limit"] = limit.toString();
723
+ }
724
+ if (offset != null) {
725
+ _queryParams["offset"] = offset.toString();
726
+ }
727
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
728
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "feature-companies"),
729
+ method: "GET",
730
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
731
+ contentType: "application/json",
732
+ queryParameters: _queryParams,
733
+ requestType: "json",
734
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
735
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
736
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
737
+ });
738
+ if (_response.ok) {
739
+ return serializers.ListFeatureCompaniesResponse.parseOrThrow(_response.body, {
740
+ unrecognizedObjectKeys: "passthrough",
741
+ allowUnrecognizedUnionMembers: true,
742
+ allowUnrecognizedEnumValues: true,
743
+ skipValidation: true,
744
+ breadcrumbsPrefix: ["response"],
745
+ });
746
+ }
747
+ if (_response.error.reason === "status-code") {
748
+ switch (_response.error.statusCode) {
749
+ case 400:
750
+ throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
751
+ unrecognizedObjectKeys: "passthrough",
752
+ allowUnrecognizedUnionMembers: true,
753
+ allowUnrecognizedEnumValues: true,
754
+ skipValidation: true,
755
+ breadcrumbsPrefix: ["response"],
756
+ }));
757
+ case 401:
758
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
759
+ unrecognizedObjectKeys: "passthrough",
760
+ allowUnrecognizedUnionMembers: true,
761
+ allowUnrecognizedEnumValues: true,
762
+ skipValidation: true,
763
+ breadcrumbsPrefix: ["response"],
764
+ }));
765
+ case 403:
766
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
767
+ unrecognizedObjectKeys: "passthrough",
768
+ allowUnrecognizedUnionMembers: true,
769
+ allowUnrecognizedEnumValues: true,
770
+ skipValidation: true,
771
+ breadcrumbsPrefix: ["response"],
772
+ }));
773
+ case 500:
774
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
775
+ unrecognizedObjectKeys: "passthrough",
776
+ allowUnrecognizedUnionMembers: true,
777
+ allowUnrecognizedEnumValues: true,
778
+ skipValidation: true,
779
+ breadcrumbsPrefix: ["response"],
780
+ }));
781
+ default:
782
+ throw new errors.SchematicError({
783
+ statusCode: _response.error.statusCode,
784
+ body: _response.error.body,
785
+ });
786
+ }
787
+ }
788
+ switch (_response.error.reason) {
789
+ case "non-json":
790
+ throw new errors.SchematicError({
791
+ statusCode: _response.error.statusCode,
792
+ body: _response.error.rawBody,
793
+ });
794
+ case "timeout":
795
+ throw new errors.SchematicTimeoutError();
796
+ case "unknown":
797
+ throw new errors.SchematicError({
798
+ message: _response.error.errorMessage,
799
+ });
800
+ }
801
+ });
802
+ }
803
+ /**
804
+ * @param {Schematic.CountFeatureCompaniesRequest} request
805
+ * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
806
+ *
807
+ * @throws {@link Schematic.BadRequestError}
808
+ * @throws {@link Schematic.UnauthorizedError}
809
+ * @throws {@link Schematic.ForbiddenError}
810
+ * @throws {@link Schematic.InternalServerError}
811
+ *
812
+ * @example
813
+ * await client.entitlements.countFeatureCompanies({
814
+ * featureId: "feature_id"
815
+ * })
816
+ */
817
+ countFeatureCompanies(request, requestOptions) {
818
+ var _a, _b;
819
+ return __awaiter(this, void 0, void 0, function* () {
820
+ const { featureId, q, limit, offset } = request;
821
+ const _queryParams = {};
822
+ _queryParams["feature_id"] = featureId;
823
+ if (q != null) {
824
+ _queryParams["q"] = q;
825
+ }
826
+ if (limit != null) {
827
+ _queryParams["limit"] = limit.toString();
828
+ }
829
+ if (offset != null) {
830
+ _queryParams["offset"] = offset.toString();
831
+ }
832
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
833
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "feature-companies/count"),
834
+ method: "GET",
835
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
836
+ contentType: "application/json",
837
+ queryParameters: _queryParams,
838
+ requestType: "json",
839
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
840
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
841
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
842
+ });
843
+ if (_response.ok) {
844
+ return serializers.CountFeatureCompaniesResponse.parseOrThrow(_response.body, {
845
+ unrecognizedObjectKeys: "passthrough",
846
+ allowUnrecognizedUnionMembers: true,
847
+ allowUnrecognizedEnumValues: true,
848
+ skipValidation: true,
849
+ breadcrumbsPrefix: ["response"],
850
+ });
851
+ }
852
+ if (_response.error.reason === "status-code") {
853
+ switch (_response.error.statusCode) {
854
+ case 400:
855
+ throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
856
+ unrecognizedObjectKeys: "passthrough",
857
+ allowUnrecognizedUnionMembers: true,
858
+ allowUnrecognizedEnumValues: true,
859
+ skipValidation: true,
860
+ breadcrumbsPrefix: ["response"],
861
+ }));
862
+ case 401:
863
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
864
+ unrecognizedObjectKeys: "passthrough",
865
+ allowUnrecognizedUnionMembers: true,
866
+ allowUnrecognizedEnumValues: true,
867
+ skipValidation: true,
868
+ breadcrumbsPrefix: ["response"],
869
+ }));
870
+ case 403:
871
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
872
+ unrecognizedObjectKeys: "passthrough",
873
+ allowUnrecognizedUnionMembers: true,
874
+ allowUnrecognizedEnumValues: true,
875
+ skipValidation: true,
876
+ breadcrumbsPrefix: ["response"],
877
+ }));
878
+ case 500:
879
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
880
+ unrecognizedObjectKeys: "passthrough",
881
+ allowUnrecognizedUnionMembers: true,
882
+ allowUnrecognizedEnumValues: true,
883
+ skipValidation: true,
884
+ breadcrumbsPrefix: ["response"],
885
+ }));
886
+ default:
887
+ throw new errors.SchematicError({
888
+ statusCode: _response.error.statusCode,
889
+ body: _response.error.body,
890
+ });
891
+ }
892
+ }
893
+ switch (_response.error.reason) {
894
+ case "non-json":
895
+ throw new errors.SchematicError({
896
+ statusCode: _response.error.statusCode,
897
+ body: _response.error.rawBody,
898
+ });
899
+ case "timeout":
900
+ throw new errors.SchematicTimeoutError();
901
+ case "unknown":
902
+ throw new errors.SchematicError({
903
+ message: _response.error.errorMessage,
904
+ });
905
+ }
906
+ });
907
+ }
908
+ /**
909
+ * @param {Schematic.ListFeatureUsageRequest} request
910
+ * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
911
+ *
912
+ * @throws {@link Schematic.BadRequestError}
913
+ * @throws {@link Schematic.UnauthorizedError}
914
+ * @throws {@link Schematic.ForbiddenError}
915
+ * @throws {@link Schematic.InternalServerError}
916
+ *
917
+ * @example
918
+ * await client.entitlements.listFeatureUsage()
919
+ */
920
+ listFeatureUsage(request = {}, requestOptions) {
921
+ var _a, _b;
922
+ return __awaiter(this, void 0, void 0, function* () {
923
+ const { companyId, companyKeys, featureIds, q, limit, offset } = request;
924
+ const _queryParams = {};
925
+ if (companyId != null) {
926
+ _queryParams["company_id"] = companyId;
927
+ }
928
+ if (companyKeys != null) {
929
+ _queryParams["company_keys"] = JSON.stringify(companyKeys);
930
+ }
931
+ if (featureIds != null) {
932
+ if (Array.isArray(featureIds)) {
933
+ _queryParams["feature_ids"] = featureIds.map((item) => item);
934
+ }
935
+ else {
936
+ _queryParams["feature_ids"] = featureIds;
937
+ }
938
+ }
939
+ if (q != null) {
940
+ _queryParams["q"] = q;
941
+ }
942
+ if (limit != null) {
943
+ _queryParams["limit"] = limit.toString();
944
+ }
945
+ if (offset != null) {
946
+ _queryParams["offset"] = offset.toString();
947
+ }
948
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
949
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "feature-usage"),
950
+ method: "GET",
951
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
952
+ contentType: "application/json",
953
+ queryParameters: _queryParams,
954
+ requestType: "json",
955
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
956
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
957
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
958
+ });
959
+ if (_response.ok) {
960
+ return serializers.ListFeatureUsageResponse.parseOrThrow(_response.body, {
961
+ unrecognizedObjectKeys: "passthrough",
962
+ allowUnrecognizedUnionMembers: true,
963
+ allowUnrecognizedEnumValues: true,
964
+ skipValidation: true,
965
+ breadcrumbsPrefix: ["response"],
966
+ });
967
+ }
968
+ if (_response.error.reason === "status-code") {
969
+ switch (_response.error.statusCode) {
970
+ case 400:
971
+ throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
972
+ unrecognizedObjectKeys: "passthrough",
973
+ allowUnrecognizedUnionMembers: true,
974
+ allowUnrecognizedEnumValues: true,
975
+ skipValidation: true,
976
+ breadcrumbsPrefix: ["response"],
977
+ }));
978
+ case 401:
979
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
980
+ unrecognizedObjectKeys: "passthrough",
981
+ allowUnrecognizedUnionMembers: true,
982
+ allowUnrecognizedEnumValues: true,
983
+ skipValidation: true,
984
+ breadcrumbsPrefix: ["response"],
985
+ }));
986
+ case 403:
987
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
988
+ unrecognizedObjectKeys: "passthrough",
989
+ allowUnrecognizedUnionMembers: true,
990
+ allowUnrecognizedEnumValues: true,
991
+ skipValidation: true,
992
+ breadcrumbsPrefix: ["response"],
993
+ }));
994
+ case 500:
995
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
996
+ unrecognizedObjectKeys: "passthrough",
997
+ allowUnrecognizedUnionMembers: true,
998
+ allowUnrecognizedEnumValues: true,
999
+ skipValidation: true,
1000
+ breadcrumbsPrefix: ["response"],
1001
+ }));
1002
+ default:
1003
+ throw new errors.SchematicError({
1004
+ statusCode: _response.error.statusCode,
1005
+ body: _response.error.body,
1006
+ });
1007
+ }
1008
+ }
1009
+ switch (_response.error.reason) {
1010
+ case "non-json":
1011
+ throw new errors.SchematicError({
1012
+ statusCode: _response.error.statusCode,
1013
+ body: _response.error.rawBody,
1014
+ });
1015
+ case "timeout":
1016
+ throw new errors.SchematicTimeoutError();
1017
+ case "unknown":
1018
+ throw new errors.SchematicError({
1019
+ message: _response.error.errorMessage,
1020
+ });
1021
+ }
1022
+ });
1023
+ }
1024
+ /**
1025
+ * @param {Schematic.CountFeatureUsageRequest} request
1026
+ * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
1027
+ *
1028
+ * @throws {@link Schematic.BadRequestError}
1029
+ * @throws {@link Schematic.UnauthorizedError}
1030
+ * @throws {@link Schematic.ForbiddenError}
1031
+ * @throws {@link Schematic.InternalServerError}
1032
+ *
1033
+ * @example
1034
+ * await client.entitlements.countFeatureUsage()
1035
+ */
1036
+ countFeatureUsage(request = {}, requestOptions) {
1037
+ var _a, _b;
1038
+ return __awaiter(this, void 0, void 0, function* () {
1039
+ const { companyId, companyKeys, featureIds, q, limit, offset } = request;
1040
+ const _queryParams = {};
1041
+ if (companyId != null) {
1042
+ _queryParams["company_id"] = companyId;
1043
+ }
1044
+ if (companyKeys != null) {
1045
+ _queryParams["company_keys"] = JSON.stringify(companyKeys);
1046
+ }
1047
+ if (featureIds != null) {
1048
+ if (Array.isArray(featureIds)) {
1049
+ _queryParams["feature_ids"] = featureIds.map((item) => item);
1050
+ }
1051
+ else {
1052
+ _queryParams["feature_ids"] = featureIds;
1053
+ }
1054
+ }
1055
+ if (q != null) {
1056
+ _queryParams["q"] = q;
1057
+ }
1058
+ if (limit != null) {
1059
+ _queryParams["limit"] = limit.toString();
1060
+ }
1061
+ if (offset != null) {
1062
+ _queryParams["offset"] = offset.toString();
1063
+ }
1064
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1065
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "feature-usage/count"),
1066
+ method: "GET",
1067
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1068
+ contentType: "application/json",
1069
+ queryParameters: _queryParams,
1070
+ requestType: "json",
1071
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1072
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1073
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1074
+ });
1075
+ if (_response.ok) {
1076
+ return serializers.CountFeatureUsageResponse.parseOrThrow(_response.body, {
1077
+ unrecognizedObjectKeys: "passthrough",
1078
+ allowUnrecognizedUnionMembers: true,
1079
+ allowUnrecognizedEnumValues: true,
1080
+ skipValidation: true,
1081
+ breadcrumbsPrefix: ["response"],
1082
+ });
1083
+ }
1084
+ if (_response.error.reason === "status-code") {
1085
+ switch (_response.error.statusCode) {
1086
+ case 400:
1087
+ throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
1088
+ unrecognizedObjectKeys: "passthrough",
1089
+ allowUnrecognizedUnionMembers: true,
1090
+ allowUnrecognizedEnumValues: true,
1091
+ skipValidation: true,
1092
+ breadcrumbsPrefix: ["response"],
1093
+ }));
1094
+ case 401:
1095
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
1096
+ unrecognizedObjectKeys: "passthrough",
1097
+ allowUnrecognizedUnionMembers: true,
1098
+ allowUnrecognizedEnumValues: true,
1099
+ skipValidation: true,
1100
+ breadcrumbsPrefix: ["response"],
1101
+ }));
1102
+ case 403:
1103
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
1104
+ unrecognizedObjectKeys: "passthrough",
1105
+ allowUnrecognizedUnionMembers: true,
1106
+ allowUnrecognizedEnumValues: true,
1107
+ skipValidation: true,
1108
+ breadcrumbsPrefix: ["response"],
1109
+ }));
1110
+ case 500:
1111
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
1112
+ unrecognizedObjectKeys: "passthrough",
1113
+ allowUnrecognizedUnionMembers: true,
1114
+ allowUnrecognizedEnumValues: true,
1115
+ skipValidation: true,
1116
+ breadcrumbsPrefix: ["response"],
1117
+ }));
1118
+ default:
1119
+ throw new errors.SchematicError({
1120
+ statusCode: _response.error.statusCode,
1121
+ body: _response.error.body,
1122
+ });
1123
+ }
1124
+ }
1125
+ switch (_response.error.reason) {
1126
+ case "non-json":
1127
+ throw new errors.SchematicError({
1128
+ statusCode: _response.error.statusCode,
1129
+ body: _response.error.rawBody,
1130
+ });
1131
+ case "timeout":
1132
+ throw new errors.SchematicTimeoutError();
1133
+ case "unknown":
1134
+ throw new errors.SchematicError({
1135
+ message: _response.error.errorMessage,
1136
+ });
1137
+ }
1138
+ });
1139
+ }
1140
+ /**
1141
+ * @param {Schematic.ListFeatureUsersRequest} request
1142
+ * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
1143
+ *
1144
+ * @throws {@link Schematic.BadRequestError}
1145
+ * @throws {@link Schematic.UnauthorizedError}
1146
+ * @throws {@link Schematic.ForbiddenError}
1147
+ * @throws {@link Schematic.InternalServerError}
1148
+ *
1149
+ * @example
1150
+ * await client.entitlements.listFeatureUsers({
1151
+ * featureId: "feature_id"
1152
+ * })
1153
+ */
1154
+ listFeatureUsers(request, requestOptions) {
1155
+ var _a, _b;
1156
+ return __awaiter(this, void 0, void 0, function* () {
1157
+ const { featureId, q, limit, offset } = request;
1158
+ const _queryParams = {};
1159
+ _queryParams["feature_id"] = featureId;
1160
+ if (q != null) {
1161
+ _queryParams["q"] = q;
1162
+ }
1163
+ if (limit != null) {
1164
+ _queryParams["limit"] = limit.toString();
1165
+ }
1166
+ if (offset != null) {
1167
+ _queryParams["offset"] = offset.toString();
1168
+ }
1169
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1170
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "feature-users"),
1171
+ method: "GET",
1172
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1173
+ contentType: "application/json",
1174
+ queryParameters: _queryParams,
1175
+ requestType: "json",
1176
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1177
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1178
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1179
+ });
1180
+ if (_response.ok) {
1181
+ return serializers.ListFeatureUsersResponse.parseOrThrow(_response.body, {
1182
+ unrecognizedObjectKeys: "passthrough",
1183
+ allowUnrecognizedUnionMembers: true,
1184
+ allowUnrecognizedEnumValues: true,
1185
+ skipValidation: true,
1186
+ breadcrumbsPrefix: ["response"],
1187
+ });
1188
+ }
1189
+ if (_response.error.reason === "status-code") {
1190
+ switch (_response.error.statusCode) {
1191
+ case 400:
1192
+ throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
1193
+ unrecognizedObjectKeys: "passthrough",
1194
+ allowUnrecognizedUnionMembers: true,
1195
+ allowUnrecognizedEnumValues: true,
1196
+ skipValidation: true,
1197
+ breadcrumbsPrefix: ["response"],
1198
+ }));
1199
+ case 401:
1200
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
1201
+ unrecognizedObjectKeys: "passthrough",
1202
+ allowUnrecognizedUnionMembers: true,
1203
+ allowUnrecognizedEnumValues: true,
1204
+ skipValidation: true,
1205
+ breadcrumbsPrefix: ["response"],
1206
+ }));
1207
+ case 403:
1208
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
1209
+ unrecognizedObjectKeys: "passthrough",
1210
+ allowUnrecognizedUnionMembers: true,
1211
+ allowUnrecognizedEnumValues: true,
1212
+ skipValidation: true,
1213
+ breadcrumbsPrefix: ["response"],
1214
+ }));
1215
+ case 500:
1216
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
1217
+ unrecognizedObjectKeys: "passthrough",
1218
+ allowUnrecognizedUnionMembers: true,
1219
+ allowUnrecognizedEnumValues: true,
1220
+ skipValidation: true,
1221
+ breadcrumbsPrefix: ["response"],
1222
+ }));
1223
+ default:
1224
+ throw new errors.SchematicError({
1225
+ statusCode: _response.error.statusCode,
1226
+ body: _response.error.body,
1227
+ });
1228
+ }
1229
+ }
1230
+ switch (_response.error.reason) {
1231
+ case "non-json":
1232
+ throw new errors.SchematicError({
1233
+ statusCode: _response.error.statusCode,
1234
+ body: _response.error.rawBody,
1235
+ });
1236
+ case "timeout":
1237
+ throw new errors.SchematicTimeoutError();
1238
+ case "unknown":
1239
+ throw new errors.SchematicError({
1240
+ message: _response.error.errorMessage,
1241
+ });
1242
+ }
1243
+ });
1244
+ }
1245
+ /**
1246
+ * @param {Schematic.CountFeatureUsersRequest} request
1247
+ * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
1248
+ *
1249
+ * @throws {@link Schematic.BadRequestError}
1250
+ * @throws {@link Schematic.UnauthorizedError}
1251
+ * @throws {@link Schematic.ForbiddenError}
1252
+ * @throws {@link Schematic.InternalServerError}
1253
+ *
1254
+ * @example
1255
+ * await client.entitlements.countFeatureUsers({
1256
+ * featureId: "feature_id"
1257
+ * })
1258
+ */
1259
+ countFeatureUsers(request, requestOptions) {
1260
+ var _a, _b;
1261
+ return __awaiter(this, void 0, void 0, function* () {
1262
+ const { featureId, q, limit, offset } = request;
1263
+ const _queryParams = {};
1264
+ _queryParams["feature_id"] = featureId;
1265
+ if (q != null) {
1266
+ _queryParams["q"] = q;
1267
+ }
1268
+ if (limit != null) {
1269
+ _queryParams["limit"] = limit.toString();
1270
+ }
1271
+ if (offset != null) {
1272
+ _queryParams["offset"] = offset.toString();
1273
+ }
1274
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1275
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "feature-users/count"),
1276
+ method: "GET",
1277
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1278
+ contentType: "application/json",
1279
+ queryParameters: _queryParams,
1280
+ requestType: "json",
1281
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1282
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1283
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1284
+ });
1285
+ if (_response.ok) {
1286
+ return serializers.CountFeatureUsersResponse.parseOrThrow(_response.body, {
1287
+ unrecognizedObjectKeys: "passthrough",
1288
+ allowUnrecognizedUnionMembers: true,
1289
+ allowUnrecognizedEnumValues: true,
1290
+ skipValidation: true,
1291
+ breadcrumbsPrefix: ["response"],
1292
+ });
1293
+ }
1294
+ if (_response.error.reason === "status-code") {
1295
+ switch (_response.error.statusCode) {
1296
+ case 400:
1297
+ throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
1298
+ unrecognizedObjectKeys: "passthrough",
1299
+ allowUnrecognizedUnionMembers: true,
1300
+ allowUnrecognizedEnumValues: true,
1301
+ skipValidation: true,
1302
+ breadcrumbsPrefix: ["response"],
1303
+ }));
1304
+ case 401:
1305
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
1306
+ unrecognizedObjectKeys: "passthrough",
1307
+ allowUnrecognizedUnionMembers: true,
1308
+ allowUnrecognizedEnumValues: true,
1309
+ skipValidation: true,
1310
+ breadcrumbsPrefix: ["response"],
1311
+ }));
1312
+ case 403:
1313
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
1314
+ unrecognizedObjectKeys: "passthrough",
1315
+ allowUnrecognizedUnionMembers: true,
1316
+ allowUnrecognizedEnumValues: true,
1317
+ skipValidation: true,
1318
+ breadcrumbsPrefix: ["response"],
1319
+ }));
1320
+ case 500:
1321
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
1322
+ unrecognizedObjectKeys: "passthrough",
1323
+ allowUnrecognizedUnionMembers: true,
1324
+ allowUnrecognizedEnumValues: true,
1325
+ skipValidation: true,
1326
+ breadcrumbsPrefix: ["response"],
1327
+ }));
1328
+ default:
1329
+ throw new errors.SchematicError({
1330
+ statusCode: _response.error.statusCode,
1331
+ body: _response.error.body,
1332
+ });
1333
+ }
1334
+ }
1335
+ switch (_response.error.reason) {
1336
+ case "non-json":
1337
+ throw new errors.SchematicError({
1338
+ statusCode: _response.error.statusCode,
1339
+ body: _response.error.rawBody,
1340
+ });
1341
+ case "timeout":
1342
+ throw new errors.SchematicTimeoutError();
1343
+ case "unknown":
1344
+ throw new errors.SchematicError({
1345
+ message: _response.error.errorMessage,
1346
+ });
1347
+ }
1348
+ });
1349
+ }
1350
+ /**
1351
+ * @param {Schematic.ListPlanEntitlementsRequest} request
1352
+ * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
1353
+ *
1354
+ * @throws {@link Schematic.BadRequestError}
1355
+ * @throws {@link Schematic.UnauthorizedError}
1356
+ * @throws {@link Schematic.ForbiddenError}
1357
+ * @throws {@link Schematic.InternalServerError}
1358
+ *
1359
+ * @example
1360
+ * await client.entitlements.listPlanEntitlements()
1361
+ */
1362
+ listPlanEntitlements(request = {}, requestOptions) {
1363
+ var _a, _b;
1364
+ return __awaiter(this, void 0, void 0, function* () {
1365
+ const { featureId, featureIds, ids, planId, planIds, q, limit, offset } = request;
1366
+ const _queryParams = {};
1367
+ if (featureId != null) {
1368
+ _queryParams["feature_id"] = featureId;
1369
+ }
1370
+ if (featureIds != null) {
1371
+ if (Array.isArray(featureIds)) {
1372
+ _queryParams["feature_ids"] = featureIds.map((item) => item);
1373
+ }
1374
+ else {
1375
+ _queryParams["feature_ids"] = featureIds;
1376
+ }
1377
+ }
1378
+ if (ids != null) {
1379
+ if (Array.isArray(ids)) {
1380
+ _queryParams["ids"] = ids.map((item) => item);
1381
+ }
1382
+ else {
1383
+ _queryParams["ids"] = ids;
1384
+ }
1385
+ }
1386
+ if (planId != null) {
1387
+ _queryParams["plan_id"] = planId;
1388
+ }
1389
+ if (planIds != null) {
1390
+ if (Array.isArray(planIds)) {
1391
+ _queryParams["plan_ids"] = planIds.map((item) => item);
1392
+ }
1393
+ else {
1394
+ _queryParams["plan_ids"] = planIds;
1395
+ }
1396
+ }
1397
+ if (q != null) {
1398
+ _queryParams["q"] = q;
1399
+ }
1400
+ if (limit != null) {
1401
+ _queryParams["limit"] = limit.toString();
1402
+ }
1403
+ if (offset != null) {
1404
+ _queryParams["offset"] = offset.toString();
1405
+ }
1406
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1407
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "plan-entitlements"),
1408
+ method: "GET",
1409
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1410
+ contentType: "application/json",
1411
+ queryParameters: _queryParams,
1412
+ requestType: "json",
1413
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1414
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1415
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1416
+ });
1417
+ if (_response.ok) {
1418
+ return serializers.ListPlanEntitlementsResponse.parseOrThrow(_response.body, {
1419
+ unrecognizedObjectKeys: "passthrough",
1420
+ allowUnrecognizedUnionMembers: true,
1421
+ allowUnrecognizedEnumValues: true,
1422
+ skipValidation: true,
1423
+ breadcrumbsPrefix: ["response"],
1424
+ });
1425
+ }
1426
+ if (_response.error.reason === "status-code") {
1427
+ switch (_response.error.statusCode) {
1428
+ case 400:
1429
+ throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
1430
+ unrecognizedObjectKeys: "passthrough",
1431
+ allowUnrecognizedUnionMembers: true,
1432
+ allowUnrecognizedEnumValues: true,
1433
+ skipValidation: true,
1434
+ breadcrumbsPrefix: ["response"],
1435
+ }));
1436
+ case 401:
1437
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
1438
+ unrecognizedObjectKeys: "passthrough",
1439
+ allowUnrecognizedUnionMembers: true,
1440
+ allowUnrecognizedEnumValues: true,
1441
+ skipValidation: true,
1442
+ breadcrumbsPrefix: ["response"],
1443
+ }));
1444
+ case 403:
1445
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
1446
+ unrecognizedObjectKeys: "passthrough",
1447
+ allowUnrecognizedUnionMembers: true,
1448
+ allowUnrecognizedEnumValues: true,
1449
+ skipValidation: true,
1450
+ breadcrumbsPrefix: ["response"],
1451
+ }));
1452
+ case 500:
1453
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
1454
+ unrecognizedObjectKeys: "passthrough",
1455
+ allowUnrecognizedUnionMembers: true,
1456
+ allowUnrecognizedEnumValues: true,
1457
+ skipValidation: true,
1458
+ breadcrumbsPrefix: ["response"],
1459
+ }));
1460
+ default:
1461
+ throw new errors.SchematicError({
1462
+ statusCode: _response.error.statusCode,
1463
+ body: _response.error.body,
1464
+ });
1465
+ }
1466
+ }
1467
+ switch (_response.error.reason) {
1468
+ case "non-json":
1469
+ throw new errors.SchematicError({
1470
+ statusCode: _response.error.statusCode,
1471
+ body: _response.error.rawBody,
1472
+ });
1473
+ case "timeout":
1474
+ throw new errors.SchematicTimeoutError();
1475
+ case "unknown":
1476
+ throw new errors.SchematicError({
1477
+ message: _response.error.errorMessage,
1478
+ });
1479
+ }
1480
+ });
1481
+ }
1482
+ /**
1483
+ * @param {Schematic.CreatePlanEntitlementRequestBody} request
1484
+ * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
1485
+ *
1486
+ * @throws {@link Schematic.BadRequestError}
1487
+ * @throws {@link Schematic.UnauthorizedError}
1488
+ * @throws {@link Schematic.ForbiddenError}
1489
+ * @throws {@link Schematic.InternalServerError}
1490
+ *
1491
+ * @example
1492
+ * await client.entitlements.createPlanEntitlement({
1493
+ * featureId: "feature_id",
1494
+ * planId: "plan_id",
1495
+ * valueType: Schematic.CreatePlanEntitlementRequestBodyValueType.Boolean
1496
+ * })
1497
+ */
1498
+ createPlanEntitlement(request, requestOptions) {
1499
+ var _a, _b;
1500
+ return __awaiter(this, void 0, void 0, function* () {
1501
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1502
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "plan-entitlements"),
1503
+ method: "POST",
1504
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1505
+ contentType: "application/json",
1506
+ requestType: "json",
1507
+ body: serializers.CreatePlanEntitlementRequestBody.jsonOrThrow(request, {
1508
+ unrecognizedObjectKeys: "strip",
1509
+ }),
1510
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1511
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1512
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1513
+ });
1514
+ if (_response.ok) {
1515
+ return serializers.CreatePlanEntitlementResponse.parseOrThrow(_response.body, {
1516
+ unrecognizedObjectKeys: "passthrough",
1517
+ allowUnrecognizedUnionMembers: true,
1518
+ allowUnrecognizedEnumValues: true,
1519
+ skipValidation: true,
1520
+ breadcrumbsPrefix: ["response"],
1521
+ });
1522
+ }
1523
+ if (_response.error.reason === "status-code") {
1524
+ switch (_response.error.statusCode) {
1525
+ case 400:
1526
+ throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
1527
+ unrecognizedObjectKeys: "passthrough",
1528
+ allowUnrecognizedUnionMembers: true,
1529
+ allowUnrecognizedEnumValues: true,
1530
+ skipValidation: true,
1531
+ breadcrumbsPrefix: ["response"],
1532
+ }));
1533
+ case 401:
1534
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
1535
+ unrecognizedObjectKeys: "passthrough",
1536
+ allowUnrecognizedUnionMembers: true,
1537
+ allowUnrecognizedEnumValues: true,
1538
+ skipValidation: true,
1539
+ breadcrumbsPrefix: ["response"],
1540
+ }));
1541
+ case 403:
1542
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
1543
+ unrecognizedObjectKeys: "passthrough",
1544
+ allowUnrecognizedUnionMembers: true,
1545
+ allowUnrecognizedEnumValues: true,
1546
+ skipValidation: true,
1547
+ breadcrumbsPrefix: ["response"],
1548
+ }));
1549
+ case 500:
1550
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
1551
+ unrecognizedObjectKeys: "passthrough",
1552
+ allowUnrecognizedUnionMembers: true,
1553
+ allowUnrecognizedEnumValues: true,
1554
+ skipValidation: true,
1555
+ breadcrumbsPrefix: ["response"],
1556
+ }));
1557
+ default:
1558
+ throw new errors.SchematicError({
1559
+ statusCode: _response.error.statusCode,
1560
+ body: _response.error.body,
1561
+ });
1562
+ }
1563
+ }
1564
+ switch (_response.error.reason) {
1565
+ case "non-json":
1566
+ throw new errors.SchematicError({
1567
+ statusCode: _response.error.statusCode,
1568
+ body: _response.error.rawBody,
1569
+ });
1570
+ case "timeout":
1571
+ throw new errors.SchematicTimeoutError();
1572
+ case "unknown":
1573
+ throw new errors.SchematicError({
1574
+ message: _response.error.errorMessage,
1575
+ });
1576
+ }
1577
+ });
1578
+ }
1579
+ /**
1580
+ * @param {string} planEntitlementId - plan_entitlement_id
1581
+ * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
1582
+ *
1583
+ * @throws {@link Schematic.UnauthorizedError}
1584
+ * @throws {@link Schematic.ForbiddenError}
1585
+ * @throws {@link Schematic.NotFoundError}
1586
+ * @throws {@link Schematic.InternalServerError}
1587
+ *
1588
+ * @example
1589
+ * await client.entitlements.getPlanEntitlement("plan_entitlement_id")
1590
+ */
1591
+ getPlanEntitlement(planEntitlementId, requestOptions) {
1592
+ var _a, _b;
1593
+ return __awaiter(this, void 0, void 0, function* () {
1594
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1595
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, `plan-entitlements/${encodeURIComponent(planEntitlementId)}`),
1596
+ method: "GET",
1597
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1598
+ contentType: "application/json",
1599
+ requestType: "json",
1600
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1601
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1602
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1603
+ });
1604
+ if (_response.ok) {
1605
+ return serializers.GetPlanEntitlementResponse.parseOrThrow(_response.body, {
1606
+ unrecognizedObjectKeys: "passthrough",
1607
+ allowUnrecognizedUnionMembers: true,
1608
+ allowUnrecognizedEnumValues: true,
1609
+ skipValidation: true,
1610
+ breadcrumbsPrefix: ["response"],
1611
+ });
1612
+ }
1613
+ if (_response.error.reason === "status-code") {
1614
+ switch (_response.error.statusCode) {
1615
+ case 401:
1616
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
1617
+ unrecognizedObjectKeys: "passthrough",
1618
+ allowUnrecognizedUnionMembers: true,
1619
+ allowUnrecognizedEnumValues: true,
1620
+ skipValidation: true,
1621
+ breadcrumbsPrefix: ["response"],
1622
+ }));
1623
+ case 403:
1624
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
1625
+ unrecognizedObjectKeys: "passthrough",
1626
+ allowUnrecognizedUnionMembers: true,
1627
+ allowUnrecognizedEnumValues: true,
1628
+ skipValidation: true,
1629
+ breadcrumbsPrefix: ["response"],
1630
+ }));
1631
+ case 404:
1632
+ throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
1633
+ unrecognizedObjectKeys: "passthrough",
1634
+ allowUnrecognizedUnionMembers: true,
1635
+ allowUnrecognizedEnumValues: true,
1636
+ skipValidation: true,
1637
+ breadcrumbsPrefix: ["response"],
1638
+ }));
1639
+ case 500:
1640
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
1641
+ unrecognizedObjectKeys: "passthrough",
1642
+ allowUnrecognizedUnionMembers: true,
1643
+ allowUnrecognizedEnumValues: true,
1644
+ skipValidation: true,
1645
+ breadcrumbsPrefix: ["response"],
1646
+ }));
1647
+ default:
1648
+ throw new errors.SchematicError({
1649
+ statusCode: _response.error.statusCode,
1650
+ body: _response.error.body,
1651
+ });
1652
+ }
1653
+ }
1654
+ switch (_response.error.reason) {
1655
+ case "non-json":
1656
+ throw new errors.SchematicError({
1657
+ statusCode: _response.error.statusCode,
1658
+ body: _response.error.rawBody,
1659
+ });
1660
+ case "timeout":
1661
+ throw new errors.SchematicTimeoutError();
1662
+ case "unknown":
1663
+ throw new errors.SchematicError({
1664
+ message: _response.error.errorMessage,
1665
+ });
1666
+ }
1667
+ });
1668
+ }
1669
+ /**
1670
+ * @param {string} planEntitlementId - plan_entitlement_id
1671
+ * @param {Schematic.UpdatePlanEntitlementRequestBody} request
1672
+ * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
1673
+ *
1674
+ * @throws {@link Schematic.BadRequestError}
1675
+ * @throws {@link Schematic.UnauthorizedError}
1676
+ * @throws {@link Schematic.ForbiddenError}
1677
+ * @throws {@link Schematic.NotFoundError}
1678
+ * @throws {@link Schematic.InternalServerError}
1679
+ *
1680
+ * @example
1681
+ * await client.entitlements.updatePlanEntitlement("plan_entitlement_id", {
1682
+ * valueType: Schematic.UpdatePlanEntitlementRequestBodyValueType.Boolean
1683
+ * })
1684
+ */
1685
+ updatePlanEntitlement(planEntitlementId, request, requestOptions) {
1686
+ var _a, _b;
1687
+ return __awaiter(this, void 0, void 0, function* () {
1688
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1689
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, `plan-entitlements/${encodeURIComponent(planEntitlementId)}`),
1690
+ method: "PUT",
1691
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1692
+ contentType: "application/json",
1693
+ requestType: "json",
1694
+ body: serializers.UpdatePlanEntitlementRequestBody.jsonOrThrow(request, {
1695
+ unrecognizedObjectKeys: "strip",
1696
+ }),
1697
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1698
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1699
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1700
+ });
1701
+ if (_response.ok) {
1702
+ return serializers.UpdatePlanEntitlementResponse.parseOrThrow(_response.body, {
1703
+ unrecognizedObjectKeys: "passthrough",
1704
+ allowUnrecognizedUnionMembers: true,
1705
+ allowUnrecognizedEnumValues: true,
1706
+ skipValidation: true,
1707
+ breadcrumbsPrefix: ["response"],
1708
+ });
1709
+ }
1710
+ if (_response.error.reason === "status-code") {
1711
+ switch (_response.error.statusCode) {
1712
+ case 400:
1713
+ throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
1714
+ unrecognizedObjectKeys: "passthrough",
1715
+ allowUnrecognizedUnionMembers: true,
1716
+ allowUnrecognizedEnumValues: true,
1717
+ skipValidation: true,
1718
+ breadcrumbsPrefix: ["response"],
1719
+ }));
1720
+ case 401:
1721
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
1722
+ unrecognizedObjectKeys: "passthrough",
1723
+ allowUnrecognizedUnionMembers: true,
1724
+ allowUnrecognizedEnumValues: true,
1725
+ skipValidation: true,
1726
+ breadcrumbsPrefix: ["response"],
1727
+ }));
1728
+ case 403:
1729
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
1730
+ unrecognizedObjectKeys: "passthrough",
1731
+ allowUnrecognizedUnionMembers: true,
1732
+ allowUnrecognizedEnumValues: true,
1733
+ skipValidation: true,
1734
+ breadcrumbsPrefix: ["response"],
1735
+ }));
1736
+ case 404:
1737
+ throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
1738
+ unrecognizedObjectKeys: "passthrough",
1739
+ allowUnrecognizedUnionMembers: true,
1740
+ allowUnrecognizedEnumValues: true,
1741
+ skipValidation: true,
1742
+ breadcrumbsPrefix: ["response"],
1743
+ }));
1744
+ case 500:
1745
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
1746
+ unrecognizedObjectKeys: "passthrough",
1747
+ allowUnrecognizedUnionMembers: true,
1748
+ allowUnrecognizedEnumValues: true,
1749
+ skipValidation: true,
1750
+ breadcrumbsPrefix: ["response"],
1751
+ }));
1752
+ default:
1753
+ throw new errors.SchematicError({
1754
+ statusCode: _response.error.statusCode,
1755
+ body: _response.error.body,
1756
+ });
1757
+ }
1758
+ }
1759
+ switch (_response.error.reason) {
1760
+ case "non-json":
1761
+ throw new errors.SchematicError({
1762
+ statusCode: _response.error.statusCode,
1763
+ body: _response.error.rawBody,
1764
+ });
1765
+ case "timeout":
1766
+ throw new errors.SchematicTimeoutError();
1767
+ case "unknown":
1768
+ throw new errors.SchematicError({
1769
+ message: _response.error.errorMessage,
1770
+ });
1771
+ }
1772
+ });
1773
+ }
1774
+ /**
1775
+ * @param {string} planEntitlementId - plan_entitlement_id
1776
+ * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
1777
+ *
1778
+ * @throws {@link Schematic.BadRequestError}
1779
+ * @throws {@link Schematic.UnauthorizedError}
1780
+ * @throws {@link Schematic.ForbiddenError}
1781
+ * @throws {@link Schematic.InternalServerError}
1782
+ *
1783
+ * @example
1784
+ * await client.entitlements.deletePlanEntitlement("plan_entitlement_id")
1785
+ */
1786
+ deletePlanEntitlement(planEntitlementId, requestOptions) {
1787
+ var _a, _b;
1788
+ return __awaiter(this, void 0, void 0, function* () {
1789
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1790
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, `plan-entitlements/${encodeURIComponent(planEntitlementId)}`),
1791
+ method: "DELETE",
1792
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1793
+ contentType: "application/json",
1794
+ requestType: "json",
1795
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1796
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1797
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1798
+ });
1799
+ if (_response.ok) {
1800
+ return serializers.DeletePlanEntitlementResponse.parseOrThrow(_response.body, {
1801
+ unrecognizedObjectKeys: "passthrough",
1802
+ allowUnrecognizedUnionMembers: true,
1803
+ allowUnrecognizedEnumValues: true,
1804
+ skipValidation: true,
1805
+ breadcrumbsPrefix: ["response"],
1806
+ });
1807
+ }
1808
+ if (_response.error.reason === "status-code") {
1809
+ switch (_response.error.statusCode) {
1810
+ case 400:
1811
+ throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
1812
+ unrecognizedObjectKeys: "passthrough",
1813
+ allowUnrecognizedUnionMembers: true,
1814
+ allowUnrecognizedEnumValues: true,
1815
+ skipValidation: true,
1816
+ breadcrumbsPrefix: ["response"],
1817
+ }));
1818
+ case 401:
1819
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
1820
+ unrecognizedObjectKeys: "passthrough",
1821
+ allowUnrecognizedUnionMembers: true,
1822
+ allowUnrecognizedEnumValues: true,
1823
+ skipValidation: true,
1824
+ breadcrumbsPrefix: ["response"],
1825
+ }));
1826
+ case 403:
1827
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
1828
+ unrecognizedObjectKeys: "passthrough",
1829
+ allowUnrecognizedUnionMembers: true,
1830
+ allowUnrecognizedEnumValues: true,
1831
+ skipValidation: true,
1832
+ breadcrumbsPrefix: ["response"],
1833
+ }));
1834
+ case 500:
1835
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
1836
+ unrecognizedObjectKeys: "passthrough",
1837
+ allowUnrecognizedUnionMembers: true,
1838
+ allowUnrecognizedEnumValues: true,
1839
+ skipValidation: true,
1840
+ breadcrumbsPrefix: ["response"],
1841
+ }));
1842
+ default:
1843
+ throw new errors.SchematicError({
1844
+ statusCode: _response.error.statusCode,
1845
+ body: _response.error.body,
1846
+ });
1847
+ }
1848
+ }
1849
+ switch (_response.error.reason) {
1850
+ case "non-json":
1851
+ throw new errors.SchematicError({
1852
+ statusCode: _response.error.statusCode,
1853
+ body: _response.error.rawBody,
1854
+ });
1855
+ case "timeout":
1856
+ throw new errors.SchematicTimeoutError();
1857
+ case "unknown":
1858
+ throw new errors.SchematicError({
1859
+ message: _response.error.errorMessage,
1860
+ });
1861
+ }
1862
+ });
1863
+ }
1864
+ /**
1865
+ * @param {Schematic.CountPlanEntitlementsRequest} request
1866
+ * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
1867
+ *
1868
+ * @throws {@link Schematic.BadRequestError}
1869
+ * @throws {@link Schematic.UnauthorizedError}
1870
+ * @throws {@link Schematic.ForbiddenError}
1871
+ * @throws {@link Schematic.InternalServerError}
1872
+ *
1873
+ * @example
1874
+ * await client.entitlements.countPlanEntitlements()
1875
+ */
1876
+ countPlanEntitlements(request = {}, requestOptions) {
1877
+ var _a, _b;
1878
+ return __awaiter(this, void 0, void 0, function* () {
1879
+ const { featureId, featureIds, ids, planId, planIds, q, limit, offset } = request;
1880
+ const _queryParams = {};
1881
+ if (featureId != null) {
1882
+ _queryParams["feature_id"] = featureId;
1883
+ }
1884
+ if (featureIds != null) {
1885
+ if (Array.isArray(featureIds)) {
1886
+ _queryParams["feature_ids"] = featureIds.map((item) => item);
1887
+ }
1888
+ else {
1889
+ _queryParams["feature_ids"] = featureIds;
1890
+ }
1891
+ }
1892
+ if (ids != null) {
1893
+ if (Array.isArray(ids)) {
1894
+ _queryParams["ids"] = ids.map((item) => item);
1895
+ }
1896
+ else {
1897
+ _queryParams["ids"] = ids;
1898
+ }
1899
+ }
1900
+ if (planId != null) {
1901
+ _queryParams["plan_id"] = planId;
1902
+ }
1903
+ if (planIds != null) {
1904
+ if (Array.isArray(planIds)) {
1905
+ _queryParams["plan_ids"] = planIds.map((item) => item);
1906
+ }
1907
+ else {
1908
+ _queryParams["plan_ids"] = planIds;
1909
+ }
1910
+ }
1911
+ if (q != null) {
1912
+ _queryParams["q"] = q;
1913
+ }
1914
+ if (limit != null) {
1915
+ _queryParams["limit"] = limit.toString();
1916
+ }
1917
+ if (offset != null) {
1918
+ _queryParams["offset"] = offset.toString();
1919
+ }
1920
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1921
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "plan-entitlements/count"),
1922
+ method: "GET",
1923
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1924
+ contentType: "application/json",
1925
+ queryParameters: _queryParams,
1926
+ requestType: "json",
1927
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1928
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1929
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1930
+ });
1931
+ if (_response.ok) {
1932
+ return serializers.CountPlanEntitlementsResponse.parseOrThrow(_response.body, {
1933
+ unrecognizedObjectKeys: "passthrough",
1934
+ allowUnrecognizedUnionMembers: true,
1935
+ allowUnrecognizedEnumValues: true,
1936
+ skipValidation: true,
1937
+ breadcrumbsPrefix: ["response"],
1938
+ });
1939
+ }
1940
+ if (_response.error.reason === "status-code") {
1941
+ switch (_response.error.statusCode) {
1942
+ case 400:
1943
+ throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
1944
+ unrecognizedObjectKeys: "passthrough",
1945
+ allowUnrecognizedUnionMembers: true,
1946
+ allowUnrecognizedEnumValues: true,
1947
+ skipValidation: true,
1948
+ breadcrumbsPrefix: ["response"],
1949
+ }));
1950
+ case 401:
1951
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
1952
+ unrecognizedObjectKeys: "passthrough",
1953
+ allowUnrecognizedUnionMembers: true,
1954
+ allowUnrecognizedEnumValues: true,
1955
+ skipValidation: true,
1956
+ breadcrumbsPrefix: ["response"],
1957
+ }));
1958
+ case 403:
1959
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
1960
+ unrecognizedObjectKeys: "passthrough",
1961
+ allowUnrecognizedUnionMembers: true,
1962
+ allowUnrecognizedEnumValues: true,
1963
+ skipValidation: true,
1964
+ breadcrumbsPrefix: ["response"],
1965
+ }));
1966
+ case 500:
1967
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
1968
+ unrecognizedObjectKeys: "passthrough",
1969
+ allowUnrecognizedUnionMembers: true,
1970
+ allowUnrecognizedEnumValues: true,
1971
+ skipValidation: true,
1972
+ breadcrumbsPrefix: ["response"],
1973
+ }));
1974
+ default:
1975
+ throw new errors.SchematicError({
1976
+ statusCode: _response.error.statusCode,
1977
+ body: _response.error.body,
1978
+ });
1979
+ }
1980
+ }
1981
+ switch (_response.error.reason) {
1982
+ case "non-json":
1983
+ throw new errors.SchematicError({
1984
+ statusCode: _response.error.statusCode,
1985
+ body: _response.error.rawBody,
1986
+ });
1987
+ case "timeout":
1988
+ throw new errors.SchematicTimeoutError();
1989
+ case "unknown":
1990
+ throw new errors.SchematicError({
1991
+ message: _response.error.errorMessage,
1992
+ });
1993
+ }
1994
+ });
1995
+ }
1996
+ /**
1997
+ * @param {Schematic.GetFeatureUsageByCompanyRequest} request
1998
+ * @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
1999
+ *
2000
+ * @throws {@link Schematic.UnauthorizedError}
2001
+ * @throws {@link Schematic.ForbiddenError}
2002
+ * @throws {@link Schematic.NotFoundError}
2003
+ * @throws {@link Schematic.InternalServerError}
2004
+ *
2005
+ * @example
2006
+ * await client.entitlements.getFeatureUsageByCompany({
2007
+ * keys: {
2008
+ * "string": {
2009
+ * "key": "value"
2010
+ * }
2011
+ * }
2012
+ * })
2013
+ */
2014
+ getFeatureUsageByCompany(request, requestOptions) {
2015
+ var _a, _b;
2016
+ return __awaiter(this, void 0, void 0, function* () {
2017
+ const { keys } = request;
2018
+ const _queryParams = {};
2019
+ _queryParams["keys"] = JSON.stringify(keys);
2020
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2021
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "usage-by-company"),
2022
+ method: "GET",
2023
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2024
+ contentType: "application/json",
2025
+ queryParameters: _queryParams,
2026
+ requestType: "json",
2027
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
2028
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
2029
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
2030
+ });
2031
+ if (_response.ok) {
2032
+ return serializers.GetFeatureUsageByCompanyResponse.parseOrThrow(_response.body, {
2033
+ unrecognizedObjectKeys: "passthrough",
2034
+ allowUnrecognizedUnionMembers: true,
2035
+ allowUnrecognizedEnumValues: true,
2036
+ skipValidation: true,
2037
+ breadcrumbsPrefix: ["response"],
2038
+ });
2039
+ }
2040
+ if (_response.error.reason === "status-code") {
2041
+ switch (_response.error.statusCode) {
2042
+ case 401:
2043
+ throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
2044
+ unrecognizedObjectKeys: "passthrough",
2045
+ allowUnrecognizedUnionMembers: true,
2046
+ allowUnrecognizedEnumValues: true,
2047
+ skipValidation: true,
2048
+ breadcrumbsPrefix: ["response"],
2049
+ }));
2050
+ case 403:
2051
+ throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
2052
+ unrecognizedObjectKeys: "passthrough",
2053
+ allowUnrecognizedUnionMembers: true,
2054
+ allowUnrecognizedEnumValues: true,
2055
+ skipValidation: true,
2056
+ breadcrumbsPrefix: ["response"],
2057
+ }));
2058
+ case 404:
2059
+ throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
2060
+ unrecognizedObjectKeys: "passthrough",
2061
+ allowUnrecognizedUnionMembers: true,
2062
+ allowUnrecognizedEnumValues: true,
2063
+ skipValidation: true,
2064
+ breadcrumbsPrefix: ["response"],
2065
+ }));
2066
+ case 500:
2067
+ throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
2068
+ unrecognizedObjectKeys: "passthrough",
2069
+ allowUnrecognizedUnionMembers: true,
2070
+ allowUnrecognizedEnumValues: true,
2071
+ skipValidation: true,
2072
+ breadcrumbsPrefix: ["response"],
2073
+ }));
2074
+ default:
2075
+ throw new errors.SchematicError({
2076
+ statusCode: _response.error.statusCode,
2077
+ body: _response.error.body,
2078
+ });
2079
+ }
2080
+ }
2081
+ switch (_response.error.reason) {
2082
+ case "non-json":
2083
+ throw new errors.SchematicError({
2084
+ statusCode: _response.error.statusCode,
2085
+ body: _response.error.rawBody,
2086
+ });
2087
+ case "timeout":
2088
+ throw new errors.SchematicTimeoutError();
2089
+ case "unknown":
2090
+ throw new errors.SchematicError({
2091
+ message: _response.error.errorMessage,
2092
+ });
2093
+ }
2094
+ });
2095
+ }
2096
+ _getCustomAuthorizationHeaders() {
2097
+ return __awaiter(this, void 0, void 0, function* () {
2098
+ const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
2099
+ return { "X-Schematic-Api-Key": apiKeyValue };
2100
+ });
2101
+ }
2102
+ }
2103
+ exports.Entitlements = Entitlements;