@schematichq/schematic-typescript-node 1.1.13 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4380) hide show
  1. package/dist/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +2 -2
  2. package/dist/api/resources/billing/client/Client.d.ts +2 -1
  3. package/dist/api/resources/billing/client/requests/ListInvoicesRequest.d.ts +3 -2
  4. package/dist/api/resources/companies/client/Client.d.ts +97 -0
  5. package/dist/api/resources/{plans → companies}/client/requests/CountPlanTraitsRequest.d.ts +1 -0
  6. package/{api/resources/plans → dist/api/resources/companies}/client/requests/ListPlanTraitsRequest.d.ts +1 -0
  7. package/dist/api/resources/companies/client/requests/index.d.ts +4 -0
  8. package/dist/api/resources/{plans → companies}/types/CountPlanTraitsParams.d.ts +1 -0
  9. package/{api/resources/plans → dist/api/resources/companies}/types/ListPlanTraitsParams.d.ts +1 -0
  10. package/dist/api/resources/companies/types/index.d.ts +8 -0
  11. package/dist/api/resources/credits/client/Client.d.ts +42 -6
  12. package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +1 -0
  13. package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +19 -0
  14. package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +2 -0
  15. package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +1 -0
  16. package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +20 -0
  17. package/dist/api/resources/credits/client/requests/index.d.ts +2 -0
  18. package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +1 -0
  19. package/{api/resources/credits/types/ZeroOutGrantResponse.d.ts → dist/api/resources/credits/types/GrantBillingCreditsToCompanyResponse.d.ts} +1 -1
  20. package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +1 -0
  21. package/{api/resources/accounts/types/DeleteEnvironmentResponse.d.ts → dist/api/resources/credits/types/SoftDeleteBillingCreditResponse.d.ts} +1 -1
  22. package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts +8 -0
  23. package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyStatus.d.ts +8 -0
  24. package/{api/resources/credits/types/CreateCreditBundleResponse.d.ts → dist/api/resources/credits/types/UpdateCreditBundleDetailsResponse.d.ts} +1 -1
  25. package/dist/api/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +2 -1
  26. package/dist/api/resources/credits/types/index.d.ts +5 -1
  27. package/dist/api/resources/entitlements/client/Client.d.ts +0 -4
  28. package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -0
  29. package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +6 -4
  30. package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -0
  31. package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +6 -4
  32. package/dist/api/resources/plangroups/client/Client.d.ts +16 -2
  33. package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +12 -1
  34. package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +12 -1
  35. package/dist/api/resources/plans/client/Client.d.ts +0 -97
  36. package/dist/api/resources/plans/client/requests/index.d.ts +0 -4
  37. package/dist/api/resources/plans/types/index.d.ts +0 -8
  38. package/dist/api/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +1 -0
  39. package/dist/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +1 -0
  40. package/dist/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +3 -1
  41. package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +3 -1
  42. package/dist/api/types/BillingCreditBundleResponseData.d.ts +10 -3
  43. package/dist/api/types/BillingCreditBundleView.d.ts +25 -0
  44. package/dist/api/types/BillingCreditGrantResponseData.d.ts +5 -3
  45. package/dist/api/types/BillingCreditResponseData.d.ts +1 -2
  46. package/dist/api/types/CompanyDetailResponseData.d.ts +1 -0
  47. package/dist/api/types/CompanyOverrideResponseData.d.ts +0 -3
  48. package/dist/api/types/CompanyPlanDetailResponseData.d.ts +1 -0
  49. package/dist/api/types/CompanyViewWithFeatureUsageResponseData.d.ts +1 -0
  50. package/dist/api/types/ComponentHydrateResponseData.d.ts +3 -0
  51. package/dist/api/types/ComponentPreviewResponseData.d.ts +3 -0
  52. package/dist/api/types/CreateEntitlementReqCommon.d.ts +1 -0
  53. package/dist/api/types/CreateOrUpdateConditionRequestBody.d.ts +4 -0
  54. package/{api/types/BillingCreditGrantResponseData.d.ts → dist/api/types/CreditCompanyGrantView.d.ts} +11 -4
  55. package/{api/types/QuickstartResp.d.ts → dist/api/types/CreditTriggerConfig.d.ts} +2 -2
  56. package/dist/api/types/EventSummaryResponseData.d.ts +2 -2
  57. package/dist/api/types/FeatureUsageResponseData.d.ts +2 -0
  58. package/{api/types/BillingPlanCreditGrantResponseData.d.ts → dist/api/types/PlanCreditGrantView.d.ts} +6 -1
  59. package/{api/types/UpdateCreditBundleRequestBody.d.ts → dist/api/types/PlanGroupBundleOrder.d.ts} +1 -2
  60. package/dist/api/types/PlanGroupDetailResponseData.d.ts +3 -0
  61. package/dist/api/types/PlanGroupResponseData.d.ts +2 -0
  62. package/dist/api/types/PlanTraitResponseData.d.ts +1 -0
  63. package/dist/api/types/StripeEmbedInfo.d.ts +3 -1
  64. package/dist/api/types/UpdateEntitlementReqCommon.d.ts +1 -0
  65. package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +6 -3
  66. package/dist/api/types/WebhookResponseData.d.ts +1 -0
  67. package/dist/api/types/index.d.ts +5 -0
  68. package/dist/index.js +3 -54
  69. package/dist/serialization/resources/companies/client/requests/index.d.ts +2 -0
  70. package/{serialization/resources/plans → dist/serialization/resources/companies}/types/CountPlanTraitsParams.d.ts +1 -0
  71. package/dist/serialization/resources/{plans → companies}/types/ListPlanTraitsParams.d.ts +1 -0
  72. package/dist/serialization/resources/companies/types/index.d.ts +8 -0
  73. package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +16 -0
  74. package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +1 -0
  75. package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +20 -0
  76. package/dist/serialization/resources/credits/client/requests/index.d.ts +2 -0
  77. package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +1 -0
  78. package/{serialization/resources/credits/types/ZeroOutGrantResponse.d.ts → dist/serialization/resources/credits/types/GrantBillingCreditsToCompanyResponse.d.ts} +2 -2
  79. package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +1 -0
  80. package/{serialization/resources/accounts/types/DeleteApiKeyResponse.d.ts → dist/serialization/resources/credits/types/SoftDeleteBillingCreditResponse.d.ts} +2 -2
  81. package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts +10 -0
  82. package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyStatus.d.ts +10 -0
  83. package/{serialization/resources/credits/types/CreateCreditBundleResponse.d.ts → dist/serialization/resources/credits/types/UpdateCreditBundleDetailsResponse.d.ts} +2 -2
  84. package/dist/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +1 -1
  85. package/dist/serialization/resources/credits/types/index.d.ts +5 -1
  86. package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -0
  87. package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +6 -3
  88. package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -0
  89. package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +6 -3
  90. package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +4 -0
  91. package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +4 -0
  92. package/dist/serialization/resources/plans/client/requests/index.d.ts +0 -2
  93. package/dist/serialization/resources/plans/types/index.d.ts +0 -8
  94. package/dist/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +2 -0
  95. package/dist/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +2 -0
  96. package/dist/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +1 -1
  97. package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +1 -1
  98. package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +10 -3
  99. package/dist/serialization/types/BillingCreditBundleView.d.ts +31 -0
  100. package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +5 -3
  101. package/dist/serialization/types/BillingCreditResponseData.d.ts +1 -2
  102. package/dist/serialization/types/CompanyDetailResponseData.d.ts +1 -0
  103. package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +2 -0
  104. package/dist/serialization/types/CompanyViewWithFeatureUsageResponseData.d.ts +1 -0
  105. package/dist/serialization/types/ComponentHydrateResponseData.d.ts +5 -0
  106. package/dist/serialization/types/ComponentPreviewResponseData.d.ts +5 -0
  107. package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +1 -0
  108. package/dist/serialization/types/CreateOrUpdateConditionRequestBody.d.ts +2 -0
  109. package/{serialization/types/BillingCreditGrantResponseData.d.ts → dist/serialization/types/CreditCompanyGrantView.d.ts} +12 -5
  110. package/{serialization/types/ApiError.d.ts → dist/serialization/types/CreditTriggerConfig.d.ts} +3 -3
  111. package/dist/serialization/types/EventSummaryResponseData.d.ts +2 -2
  112. package/dist/serialization/types/FeatureUsageResponseData.d.ts +4 -0
  113. package/{serialization/types/BillingPlanCreditGrantResponseData.d.ts → dist/serialization/types/PlanCreditGrantView.d.ts} +7 -2
  114. package/{serialization/types/DeleteResponse.d.ts → dist/serialization/types/PlanGroupBundleOrder.d.ts} +3 -3
  115. package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +4 -0
  116. package/dist/serialization/types/PlanGroupResponseData.d.ts +2 -0
  117. package/dist/serialization/types/PlanTraitResponseData.d.ts +1 -0
  118. package/dist/serialization/types/StripeEmbedInfo.d.ts +3 -1
  119. package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +1 -0
  120. package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +6 -4
  121. package/dist/serialization/types/WebhookResponseData.d.ts +2 -0
  122. package/dist/serialization/types/index.d.ts +5 -0
  123. package/package.json +16 -8
  124. package/Client.d.ts +0 -73
  125. package/Client.js +0 -87
  126. package/api/errors/BadRequestError.d.ts +0 -9
  127. package/api/errors/BadRequestError.js +0 -52
  128. package/api/errors/ForbiddenError.d.ts +0 -9
  129. package/api/errors/ForbiddenError.js +0 -52
  130. package/api/errors/InternalServerError.d.ts +0 -9
  131. package/api/errors/InternalServerError.js +0 -52
  132. package/api/errors/NotFoundError.d.ts +0 -9
  133. package/api/errors/NotFoundError.js +0 -52
  134. package/api/errors/UnauthorizedError.d.ts +0 -9
  135. package/api/errors/UnauthorizedError.js +0 -52
  136. package/api/errors/index.d.ts +0 -5
  137. package/api/errors/index.js +0 -21
  138. package/api/index.d.ts +0 -3
  139. package/api/index.js +0 -19
  140. package/api/resources/accesstokens/client/Client.d.ts +0 -51
  141. package/api/resources/accesstokens/client/Client.js +0 -184
  142. package/api/resources/accesstokens/client/index.d.ts +0 -1
  143. package/api/resources/accesstokens/client/index.js +0 -17
  144. package/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +0 -16
  145. package/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.js +0 -5
  146. package/api/resources/accesstokens/client/requests/index.d.ts +0 -1
  147. package/api/resources/accesstokens/client/requests/index.js +0 -2
  148. package/api/resources/accesstokens/index.d.ts +0 -2
  149. package/api/resources/accesstokens/index.js +0 -18
  150. package/api/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.d.ts +0 -9
  151. package/api/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.js +0 -5
  152. package/api/resources/accesstokens/types/index.d.ts +0 -1
  153. package/api/resources/accesstokens/types/index.js +0 -17
  154. package/api/resources/accounts/client/Client.d.ts +0 -264
  155. package/api/resources/accounts/client/Client.js +0 -1755
  156. package/api/resources/accounts/client/index.d.ts +0 -1
  157. package/api/resources/accounts/client/index.js +0 -17
  158. package/api/resources/accounts/client/requests/CountApiKeysRequest.d.ts +0 -21
  159. package/api/resources/accounts/client/requests/CountApiKeysRequest.js +0 -5
  160. package/api/resources/accounts/client/requests/CountApiRequestsRequest.d.ts +0 -20
  161. package/api/resources/accounts/client/requests/CountApiRequestsRequest.js +0 -5
  162. package/api/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +0 -14
  163. package/api/resources/accounts/client/requests/CreateApiKeyRequestBody.js +0 -5
  164. package/api/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +0 -15
  165. package/api/resources/accounts/client/requests/CreateEnvironmentRequestBody.js +0 -5
  166. package/api/resources/accounts/client/requests/ListApiKeysRequest.d.ts +0 -21
  167. package/api/resources/accounts/client/requests/ListApiKeysRequest.js +0 -5
  168. package/api/resources/accounts/client/requests/ListApiRequestsRequest.d.ts +0 -20
  169. package/api/resources/accounts/client/requests/ListApiRequestsRequest.js +0 -5
  170. package/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +0 -18
  171. package/api/resources/accounts/client/requests/ListEnvironmentsRequest.js +0 -5
  172. package/api/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +0 -11
  173. package/api/resources/accounts/client/requests/UpdateApiKeyRequestBody.js +0 -5
  174. package/api/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +0 -12
  175. package/api/resources/accounts/client/requests/UpdateEnvironmentRequestBody.js +0 -5
  176. package/api/resources/accounts/client/requests/index.d.ts +0 -9
  177. package/api/resources/accounts/client/requests/index.js +0 -2
  178. package/api/resources/accounts/index.d.ts +0 -2
  179. package/api/resources/accounts/index.js +0 -18
  180. package/api/resources/accounts/types/CountApiKeysParams.d.ts +0 -14
  181. package/api/resources/accounts/types/CountApiKeysParams.js +0 -5
  182. package/api/resources/accounts/types/CountApiKeysResponse.d.ts +0 -9
  183. package/api/resources/accounts/types/CountApiKeysResponse.js +0 -5
  184. package/api/resources/accounts/types/CountApiRequestsParams.d.ts +0 -15
  185. package/api/resources/accounts/types/CountApiRequestsParams.js +0 -5
  186. package/api/resources/accounts/types/CountApiRequestsResponse.d.ts +0 -9
  187. package/api/resources/accounts/types/CountApiRequestsResponse.js +0 -5
  188. package/api/resources/accounts/types/CreateApiKeyResponse.d.ts +0 -9
  189. package/api/resources/accounts/types/CreateApiKeyResponse.js +0 -5
  190. package/api/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts +0 -9
  191. package/api/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.js +0 -11
  192. package/api/resources/accounts/types/CreateEnvironmentResponse.d.ts +0 -9
  193. package/api/resources/accounts/types/CreateEnvironmentResponse.js +0 -5
  194. package/api/resources/accounts/types/DeleteApiKeyResponse.d.ts +0 -9
  195. package/api/resources/accounts/types/DeleteApiKeyResponse.js +0 -5
  196. package/api/resources/accounts/types/DeleteEnvironmentResponse.js +0 -5
  197. package/api/resources/accounts/types/GetApiKeyResponse.d.ts +0 -9
  198. package/api/resources/accounts/types/GetApiKeyResponse.js +0 -5
  199. package/api/resources/accounts/types/GetApiRequestResponse.d.ts +0 -9
  200. package/api/resources/accounts/types/GetApiRequestResponse.js +0 -5
  201. package/api/resources/accounts/types/GetEnvironmentResponse.d.ts +0 -9
  202. package/api/resources/accounts/types/GetEnvironmentResponse.js +0 -5
  203. package/api/resources/accounts/types/ListApiKeysParams.d.ts +0 -14
  204. package/api/resources/accounts/types/ListApiKeysParams.js +0 -5
  205. package/api/resources/accounts/types/ListApiKeysResponse.d.ts +0 -10
  206. package/api/resources/accounts/types/ListApiKeysResponse.js +0 -5
  207. package/api/resources/accounts/types/ListApiRequestsParams.d.ts +0 -15
  208. package/api/resources/accounts/types/ListApiRequestsParams.js +0 -5
  209. package/api/resources/accounts/types/ListApiRequestsResponse.d.ts +0 -10
  210. package/api/resources/accounts/types/ListApiRequestsResponse.js +0 -5
  211. package/api/resources/accounts/types/ListEnvironmentsParams.d.ts +0 -13
  212. package/api/resources/accounts/types/ListEnvironmentsParams.js +0 -5
  213. package/api/resources/accounts/types/ListEnvironmentsResponse.d.ts +0 -10
  214. package/api/resources/accounts/types/ListEnvironmentsResponse.js +0 -5
  215. package/api/resources/accounts/types/QuickstartResponse.d.ts +0 -9
  216. package/api/resources/accounts/types/QuickstartResponse.js +0 -5
  217. package/api/resources/accounts/types/UpdateApiKeyResponse.d.ts +0 -9
  218. package/api/resources/accounts/types/UpdateApiKeyResponse.js +0 -5
  219. package/api/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +0 -9
  220. package/api/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.js +0 -11
  221. package/api/resources/accounts/types/UpdateEnvironmentResponse.d.ts +0 -9
  222. package/api/resources/accounts/types/UpdateEnvironmentResponse.js +0 -5
  223. package/api/resources/accounts/types/index.d.ts +0 -22
  224. package/api/resources/accounts/types/index.js +0 -38
  225. package/api/resources/billing/client/Client.d.ts +0 -409
  226. package/api/resources/billing/client/Client.js +0 -2585
  227. package/api/resources/billing/client/index.d.ts +0 -1
  228. package/api/resources/billing/client/index.js +0 -17
  229. package/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +0 -42
  230. package/api/resources/billing/client/requests/CountBillingProductsRequest.js +0 -5
  231. package/api/resources/billing/client/requests/CountCustomersRequest.d.ts +0 -21
  232. package/api/resources/billing/client/requests/CountCustomersRequest.js +0 -5
  233. package/api/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +0 -24
  234. package/api/resources/billing/client/requests/CreateBillingCustomerRequestBody.js +0 -5
  235. package/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +0 -37
  236. package/api/resources/billing/client/requests/CreateBillingPriceRequestBody.js +0 -5
  237. package/api/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +0 -17
  238. package/api/resources/billing/client/requests/CreateBillingProductRequestBody.js +0 -5
  239. package/api/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.d.ts +0 -49
  240. package/api/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.js +0 -5
  241. package/api/resources/billing/client/requests/CreateCouponRequestBody.d.ts +0 -27
  242. package/api/resources/billing/client/requests/CreateCouponRequestBody.js +0 -5
  243. package/api/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +0 -29
  244. package/api/resources/billing/client/requests/CreateInvoiceRequestBody.js +0 -5
  245. package/api/resources/billing/client/requests/CreateMeterRequestBody.d.ts +0 -18
  246. package/api/resources/billing/client/requests/CreateMeterRequestBody.js +0 -5
  247. package/api/resources/billing/client/requests/CreatePaymentMethodRequestBody.d.ts +0 -25
  248. package/api/resources/billing/client/requests/CreatePaymentMethodRequestBody.js +0 -5
  249. package/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +0 -42
  250. package/api/resources/billing/client/requests/ListBillingProductsRequest.js +0 -5
  251. package/api/resources/billing/client/requests/ListCouponsRequest.d.ts +0 -19
  252. package/api/resources/billing/client/requests/ListCouponsRequest.js +0 -5
  253. package/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +0 -21
  254. package/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.js +0 -5
  255. package/api/resources/billing/client/requests/ListInvoicesRequest.d.ts +0 -22
  256. package/api/resources/billing/client/requests/ListInvoicesRequest.js +0 -5
  257. package/api/resources/billing/client/requests/ListMetersRequest.d.ts +0 -18
  258. package/api/resources/billing/client/requests/ListMetersRequest.js +0 -5
  259. package/api/resources/billing/client/requests/ListPaymentMethodsRequest.d.ts +0 -21
  260. package/api/resources/billing/client/requests/ListPaymentMethodsRequest.js +0 -5
  261. package/api/resources/billing/client/requests/ListProductPricesRequest.d.ts +0 -42
  262. package/api/resources/billing/client/requests/ListProductPricesRequest.js +0 -5
  263. package/api/resources/billing/client/requests/SearchBillingPricesRequest.d.ts +0 -24
  264. package/api/resources/billing/client/requests/SearchBillingPricesRequest.js +0 -5
  265. package/api/resources/billing/client/requests/index.d.ts +0 -18
  266. package/api/resources/billing/client/requests/index.js +0 -2
  267. package/api/resources/billing/index.d.ts +0 -2
  268. package/api/resources/billing/index.js +0 -18
  269. package/api/resources/billing/types/CountBillingProductsParams.d.ts +0 -27
  270. package/api/resources/billing/types/CountBillingProductsParams.js +0 -5
  271. package/api/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +0 -8
  272. package/api/resources/billing/types/CountBillingProductsRequestPriceUsageType.js +0 -10
  273. package/api/resources/billing/types/CountBillingProductsResponse.d.ts +0 -9
  274. package/api/resources/billing/types/CountBillingProductsResponse.js +0 -5
  275. package/api/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +0 -8
  276. package/api/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.js +0 -10
  277. package/api/resources/billing/types/CountCustomersParams.d.ts +0 -16
  278. package/api/resources/billing/types/CountCustomersParams.js +0 -5
  279. package/api/resources/billing/types/CountCustomersResponse.d.ts +0 -9
  280. package/api/resources/billing/types/CountCustomersResponse.js +0 -5
  281. package/api/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +0 -8
  282. package/api/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.js +0 -10
  283. package/api/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +0 -8
  284. package/api/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.js +0 -10
  285. package/api/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +0 -8
  286. package/api/resources/billing/types/CreateBillingPriceRequestBodyUsageType.js +0 -10
  287. package/api/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.d.ts +0 -8
  288. package/api/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.js +0 -10
  289. package/api/resources/billing/types/DeleteBillingProductResponse.d.ts +0 -9
  290. package/api/resources/billing/types/DeleteBillingProductResponse.js +0 -5
  291. package/api/resources/billing/types/DeleteProductPriceResponse.d.ts +0 -9
  292. package/api/resources/billing/types/DeleteProductPriceResponse.js +0 -5
  293. package/api/resources/billing/types/ListBillingProductsParams.d.ts +0 -27
  294. package/api/resources/billing/types/ListBillingProductsParams.js +0 -5
  295. package/api/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +0 -8
  296. package/api/resources/billing/types/ListBillingProductsRequestPriceUsageType.js +0 -10
  297. package/api/resources/billing/types/ListBillingProductsResponse.d.ts +0 -10
  298. package/api/resources/billing/types/ListBillingProductsResponse.js +0 -5
  299. package/api/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +0 -8
  300. package/api/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.js +0 -10
  301. package/api/resources/billing/types/ListCouponsParams.d.ts +0 -14
  302. package/api/resources/billing/types/ListCouponsParams.js +0 -5
  303. package/api/resources/billing/types/ListCouponsResponse.d.ts +0 -10
  304. package/api/resources/billing/types/ListCouponsResponse.js +0 -5
  305. package/api/resources/billing/types/ListCustomersWithSubscriptionsParams.d.ts +0 -16
  306. package/api/resources/billing/types/ListCustomersWithSubscriptionsParams.js +0 -5
  307. package/api/resources/billing/types/ListCustomersWithSubscriptionsResponse.d.ts +0 -10
  308. package/api/resources/billing/types/ListCustomersWithSubscriptionsResponse.js +0 -5
  309. package/api/resources/billing/types/ListInvoicesParams.d.ts +0 -15
  310. package/api/resources/billing/types/ListInvoicesParams.js +0 -5
  311. package/api/resources/billing/types/ListInvoicesResponse.d.ts +0 -10
  312. package/api/resources/billing/types/ListInvoicesResponse.js +0 -5
  313. package/api/resources/billing/types/ListMetersParams.d.ts +0 -13
  314. package/api/resources/billing/types/ListMetersParams.js +0 -5
  315. package/api/resources/billing/types/ListMetersResponse.d.ts +0 -10
  316. package/api/resources/billing/types/ListMetersResponse.js +0 -5
  317. package/api/resources/billing/types/ListPaymentMethodsParams.d.ts +0 -14
  318. package/api/resources/billing/types/ListPaymentMethodsParams.js +0 -5
  319. package/api/resources/billing/types/ListPaymentMethodsResponse.d.ts +0 -10
  320. package/api/resources/billing/types/ListPaymentMethodsResponse.js +0 -5
  321. package/api/resources/billing/types/ListProductPricesParams.d.ts +0 -27
  322. package/api/resources/billing/types/ListProductPricesParams.js +0 -5
  323. package/api/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +0 -8
  324. package/api/resources/billing/types/ListProductPricesRequestPriceUsageType.js +0 -10
  325. package/api/resources/billing/types/ListProductPricesResponse.d.ts +0 -10
  326. package/api/resources/billing/types/ListProductPricesResponse.js +0 -5
  327. package/api/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +0 -8
  328. package/api/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.js +0 -10
  329. package/api/resources/billing/types/SearchBillingPricesParams.d.ts +0 -19
  330. package/api/resources/billing/types/SearchBillingPricesParams.js +0 -5
  331. package/api/resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts +0 -8
  332. package/api/resources/billing/types/SearchBillingPricesRequestTiersMode.js +0 -10
  333. package/api/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +0 -8
  334. package/api/resources/billing/types/SearchBillingPricesRequestUsageType.js +0 -10
  335. package/api/resources/billing/types/SearchBillingPricesResponse.d.ts +0 -10
  336. package/api/resources/billing/types/SearchBillingPricesResponse.js +0 -5
  337. package/api/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +0 -8
  338. package/api/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.js +0 -10
  339. package/api/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +0 -8
  340. package/api/resources/billing/types/SearchBillingPricesResponseParamsUsageType.js +0 -10
  341. package/api/resources/billing/types/UpsertBillingCouponResponse.d.ts +0 -9
  342. package/api/resources/billing/types/UpsertBillingCouponResponse.js +0 -5
  343. package/api/resources/billing/types/UpsertBillingCustomerResponse.d.ts +0 -9
  344. package/api/resources/billing/types/UpsertBillingCustomerResponse.js +0 -5
  345. package/api/resources/billing/types/UpsertBillingMeterResponse.d.ts +0 -9
  346. package/api/resources/billing/types/UpsertBillingMeterResponse.js +0 -5
  347. package/api/resources/billing/types/UpsertBillingPriceResponse.d.ts +0 -9
  348. package/api/resources/billing/types/UpsertBillingPriceResponse.js +0 -5
  349. package/api/resources/billing/types/UpsertBillingProductResponse.d.ts +0 -9
  350. package/api/resources/billing/types/UpsertBillingProductResponse.js +0 -5
  351. package/api/resources/billing/types/UpsertBillingSubscriptionResponse.d.ts +0 -9
  352. package/api/resources/billing/types/UpsertBillingSubscriptionResponse.js +0 -5
  353. package/api/resources/billing/types/UpsertInvoiceResponse.d.ts +0 -9
  354. package/api/resources/billing/types/UpsertInvoiceResponse.js +0 -5
  355. package/api/resources/billing/types/UpsertPaymentMethodResponse.d.ts +0 -9
  356. package/api/resources/billing/types/UpsertPaymentMethodResponse.js +0 -5
  357. package/api/resources/billing/types/index.d.ts +0 -44
  358. package/api/resources/billing/types/index.js +0 -60
  359. package/api/resources/checkout/client/Client.d.ts +0 -129
  360. package/api/resources/checkout/client/Client.js +0 -546
  361. package/api/resources/checkout/client/index.d.ts +0 -1
  362. package/api/resources/checkout/client/index.js +0 -17
  363. package/api/resources/checkout/client/requests/CheckoutDataRequestBody.d.ts +0 -13
  364. package/api/resources/checkout/client/requests/CheckoutDataRequestBody.js +0 -5
  365. package/api/resources/checkout/client/requests/UpdateTrialEndRequestBody.d.ts +0 -10
  366. package/api/resources/checkout/client/requests/UpdateTrialEndRequestBody.js +0 -5
  367. package/api/resources/checkout/client/requests/index.d.ts +0 -2
  368. package/api/resources/checkout/client/requests/index.js +0 -2
  369. package/api/resources/checkout/index.d.ts +0 -2
  370. package/api/resources/checkout/index.js +0 -18
  371. package/api/resources/checkout/types/CheckoutInternalResponse.d.ts +0 -9
  372. package/api/resources/checkout/types/CheckoutInternalResponse.js +0 -5
  373. package/api/resources/checkout/types/GetCheckoutDataResponse.d.ts +0 -9
  374. package/api/resources/checkout/types/GetCheckoutDataResponse.js +0 -5
  375. package/api/resources/checkout/types/PreviewCheckoutInternalResponse.d.ts +0 -9
  376. package/api/resources/checkout/types/PreviewCheckoutInternalResponse.js +0 -5
  377. package/api/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.d.ts +0 -9
  378. package/api/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.js +0 -5
  379. package/api/resources/checkout/types/index.d.ts +0 -4
  380. package/api/resources/checkout/types/index.js +0 -20
  381. package/api/resources/companies/client/Client.d.ts +0 -579
  382. package/api/resources/companies/client/Client.js +0 -4102
  383. package/api/resources/companies/client/index.d.ts +0 -1
  384. package/api/resources/companies/client/index.js +0 -17
  385. package/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +0 -66
  386. package/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.js +0 -5
  387. package/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +0 -41
  388. package/api/resources/companies/client/requests/CountCompaniesRequest.js +0 -5
  389. package/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +0 -21
  390. package/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.js +0 -5
  391. package/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +0 -22
  392. package/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.js +0 -5
  393. package/api/resources/companies/client/requests/CountUsersRequest.d.ts +0 -33
  394. package/api/resources/companies/client/requests/CountUsersRequest.js +0 -5
  395. package/api/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +0 -18
  396. package/api/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.js +0 -5
  397. package/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +0 -19
  398. package/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.js +0 -5
  399. package/api/resources/companies/client/requests/GetActiveDealsRequest.d.ts +0 -22
  400. package/api/resources/companies/client/requests/GetActiveDealsRequest.js +0 -5
  401. package/api/resources/companies/client/requests/GetEntityTraitValuesRequest.d.ts +0 -21
  402. package/api/resources/companies/client/requests/GetEntityTraitValuesRequest.js +0 -5
  403. package/api/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.d.ts +0 -14
  404. package/api/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.js +0 -5
  405. package/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts +0 -66
  406. package/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.js +0 -5
  407. package/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +0 -41
  408. package/api/resources/companies/client/requests/ListCompaniesRequest.js +0 -5
  409. package/api/resources/companies/client/requests/ListCompanyMembershipsRequest.d.ts +0 -19
  410. package/api/resources/companies/client/requests/ListCompanyMembershipsRequest.js +0 -5
  411. package/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +0 -21
  412. package/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.js +0 -5
  413. package/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +0 -22
  414. package/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.js +0 -5
  415. package/api/resources/companies/client/requests/ListUsersRequest.d.ts +0 -33
  416. package/api/resources/companies/client/requests/ListUsersRequest.js +0 -5
  417. package/api/resources/companies/client/requests/LookupCompanyRequest.d.ts +0 -17
  418. package/api/resources/companies/client/requests/LookupCompanyRequest.js +0 -5
  419. package/api/resources/companies/client/requests/LookupUserRequest.d.ts +0 -17
  420. package/api/resources/companies/client/requests/LookupUserRequest.js +0 -5
  421. package/api/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +0 -14
  422. package/api/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.js +0 -5
  423. package/api/resources/companies/client/requests/index.d.ts +0 -19
  424. package/api/resources/companies/client/requests/index.js +0 -2
  425. package/api/resources/companies/index.d.ts +0 -2
  426. package/api/resources/companies/index.js +0 -18
  427. package/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +0 -37
  428. package/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.js +0 -5
  429. package/api/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -11
  430. package/api/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.js +0 -10
  431. package/api/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +0 -9
  432. package/api/resources/companies/types/CountCompaniesForAdvancedFilterResponse.js +0 -5
  433. package/api/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -11
  434. package/api/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +0 -10
  435. package/api/resources/companies/types/CountCompaniesParams.d.ts +0 -24
  436. package/api/resources/companies/types/CountCompaniesParams.js +0 -5
  437. package/api/resources/companies/types/CountCompaniesResponse.d.ts +0 -9
  438. package/api/resources/companies/types/CountCompaniesResponse.js +0 -5
  439. package/api/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +0 -16
  440. package/api/resources/companies/types/CountEntityKeyDefinitionsParams.js +0 -5
  441. package/api/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +0 -8
  442. package/api/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.js +0 -10
  443. package/api/resources/companies/types/CountEntityKeyDefinitionsResponse.d.ts +0 -9
  444. package/api/resources/companies/types/CountEntityKeyDefinitionsResponse.js +0 -5
  445. package/api/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -8
  446. package/api/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.js +0 -10
  447. package/api/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +0 -17
  448. package/api/resources/companies/types/CountEntityTraitDefinitionsParams.js +0 -5
  449. package/api/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +0 -8
  450. package/api/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.js +0 -10
  451. package/api/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +0 -12
  452. package/api/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.js +0 -14
  453. package/api/resources/companies/types/CountEntityTraitDefinitionsResponse.d.ts +0 -9
  454. package/api/resources/companies/types/CountEntityTraitDefinitionsResponse.js +0 -5
  455. package/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -8
  456. package/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.js +0 -10
  457. package/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -12
  458. package/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.js +0 -14
  459. package/api/resources/companies/types/CountUsersParams.d.ts +0 -20
  460. package/api/resources/companies/types/CountUsersParams.js +0 -5
  461. package/api/resources/companies/types/CountUsersResponse.d.ts +0 -9
  462. package/api/resources/companies/types/CountUsersResponse.js +0 -5
  463. package/api/resources/companies/types/CreateCompanyResponse.d.ts +0 -9
  464. package/api/resources/companies/types/CreateCompanyResponse.js +0 -5
  465. package/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +0 -8
  466. package/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.js +0 -10
  467. package/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -12
  468. package/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.js +0 -14
  469. package/api/resources/companies/types/CreateUserResponse.d.ts +0 -9
  470. package/api/resources/companies/types/CreateUserResponse.js +0 -5
  471. package/api/resources/companies/types/DeleteCompanyByKeysResponse.d.ts +0 -9
  472. package/api/resources/companies/types/DeleteCompanyByKeysResponse.js +0 -5
  473. package/api/resources/companies/types/DeleteCompanyMembershipResponse.d.ts +0 -9
  474. package/api/resources/companies/types/DeleteCompanyMembershipResponse.js +0 -5
  475. package/api/resources/companies/types/DeleteCompanyResponse.d.ts +0 -9
  476. package/api/resources/companies/types/DeleteCompanyResponse.js +0 -5
  477. package/api/resources/companies/types/DeleteUserByKeysResponse.d.ts +0 -9
  478. package/api/resources/companies/types/DeleteUserByKeysResponse.js +0 -5
  479. package/api/resources/companies/types/DeleteUserResponse.d.ts +0 -9
  480. package/api/resources/companies/types/DeleteUserResponse.js +0 -5
  481. package/api/resources/companies/types/GetActiveCompanySubscriptionParams.d.ts +0 -14
  482. package/api/resources/companies/types/GetActiveCompanySubscriptionParams.js +0 -5
  483. package/api/resources/companies/types/GetActiveCompanySubscriptionResponse.d.ts +0 -10
  484. package/api/resources/companies/types/GetActiveCompanySubscriptionResponse.js +0 -5
  485. package/api/resources/companies/types/GetActiveDealsParams.d.ts +0 -14
  486. package/api/resources/companies/types/GetActiveDealsParams.js +0 -5
  487. package/api/resources/companies/types/GetActiveDealsResponse.d.ts +0 -10
  488. package/api/resources/companies/types/GetActiveDealsResponse.js +0 -5
  489. package/api/resources/companies/types/GetCompanyResponse.d.ts +0 -9
  490. package/api/resources/companies/types/GetCompanyResponse.js +0 -5
  491. package/api/resources/companies/types/GetEntityTraitDefinitionResponse.d.ts +0 -9
  492. package/api/resources/companies/types/GetEntityTraitDefinitionResponse.js +0 -5
  493. package/api/resources/companies/types/GetEntityTraitValuesParams.d.ts +0 -14
  494. package/api/resources/companies/types/GetEntityTraitValuesParams.js +0 -5
  495. package/api/resources/companies/types/GetEntityTraitValuesResponse.d.ts +0 -10
  496. package/api/resources/companies/types/GetEntityTraitValuesResponse.js +0 -5
  497. package/api/resources/companies/types/GetOrCreateCompanyMembershipResponse.d.ts +0 -9
  498. package/api/resources/companies/types/GetOrCreateCompanyMembershipResponse.js +0 -5
  499. package/api/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.d.ts +0 -9
  500. package/api/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.js +0 -5
  501. package/api/resources/companies/types/GetUserResponse.d.ts +0 -9
  502. package/api/resources/companies/types/GetUserResponse.js +0 -5
  503. package/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +0 -37
  504. package/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.js +0 -5
  505. package/api/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -11
  506. package/api/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.js +0 -10
  507. package/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +0 -10
  508. package/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.js +0 -5
  509. package/api/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -11
  510. package/api/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +0 -10
  511. package/api/resources/companies/types/ListCompaniesParams.d.ts +0 -24
  512. package/api/resources/companies/types/ListCompaniesParams.js +0 -5
  513. package/api/resources/companies/types/ListCompaniesResponse.d.ts +0 -10
  514. package/api/resources/companies/types/ListCompaniesResponse.js +0 -5
  515. package/api/resources/companies/types/ListCompanyMembershipsParams.d.ts +0 -14
  516. package/api/resources/companies/types/ListCompanyMembershipsParams.js +0 -5
  517. package/api/resources/companies/types/ListCompanyMembershipsResponse.d.ts +0 -10
  518. package/api/resources/companies/types/ListCompanyMembershipsResponse.js +0 -5
  519. package/api/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +0 -16
  520. package/api/resources/companies/types/ListEntityKeyDefinitionsParams.js +0 -5
  521. package/api/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +0 -8
  522. package/api/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.js +0 -10
  523. package/api/resources/companies/types/ListEntityKeyDefinitionsResponse.d.ts +0 -10
  524. package/api/resources/companies/types/ListEntityKeyDefinitionsResponse.js +0 -5
  525. package/api/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -8
  526. package/api/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.js +0 -10
  527. package/api/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +0 -17
  528. package/api/resources/companies/types/ListEntityTraitDefinitionsParams.js +0 -5
  529. package/api/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +0 -8
  530. package/api/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.js +0 -10
  531. package/api/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts +0 -12
  532. package/api/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.js +0 -14
  533. package/api/resources/companies/types/ListEntityTraitDefinitionsResponse.d.ts +0 -10
  534. package/api/resources/companies/types/ListEntityTraitDefinitionsResponse.js +0 -5
  535. package/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -8
  536. package/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.js +0 -10
  537. package/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -12
  538. package/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.js +0 -14
  539. package/api/resources/companies/types/ListUsersParams.d.ts +0 -20
  540. package/api/resources/companies/types/ListUsersParams.js +0 -5
  541. package/api/resources/companies/types/ListUsersResponse.d.ts +0 -10
  542. package/api/resources/companies/types/ListUsersResponse.js +0 -5
  543. package/api/resources/companies/types/LookupCompanyParams.d.ts +0 -9
  544. package/api/resources/companies/types/LookupCompanyParams.js +0 -5
  545. package/api/resources/companies/types/LookupCompanyResponse.d.ts +0 -9
  546. package/api/resources/companies/types/LookupCompanyResponse.js +0 -5
  547. package/api/resources/companies/types/LookupUserParams.d.ts +0 -9
  548. package/api/resources/companies/types/LookupUserParams.js +0 -5
  549. package/api/resources/companies/types/LookupUserResponse.d.ts +0 -9
  550. package/api/resources/companies/types/LookupUserResponse.js +0 -5
  551. package/api/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -12
  552. package/api/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.js +0 -14
  553. package/api/resources/companies/types/UpdateEntityTraitDefinitionResponse.d.ts +0 -9
  554. package/api/resources/companies/types/UpdateEntityTraitDefinitionResponse.js +0 -5
  555. package/api/resources/companies/types/UpsertCompanyResponse.d.ts +0 -9
  556. package/api/resources/companies/types/UpsertCompanyResponse.js +0 -5
  557. package/api/resources/companies/types/UpsertCompanyTraitResponse.d.ts +0 -9
  558. package/api/resources/companies/types/UpsertCompanyTraitResponse.js +0 -5
  559. package/api/resources/companies/types/UpsertUserResponse.d.ts +0 -9
  560. package/api/resources/companies/types/UpsertUserResponse.js +0 -5
  561. package/api/resources/companies/types/UpsertUserTraitResponse.d.ts +0 -9
  562. package/api/resources/companies/types/UpsertUserTraitResponse.js +0 -5
  563. package/api/resources/companies/types/index.d.ts +0 -68
  564. package/api/resources/companies/types/index.js +0 -84
  565. package/api/resources/components/client/Client.d.ts +0 -139
  566. package/api/resources/components/client/Client.js +0 -846
  567. package/api/resources/components/client/index.d.ts +0 -1
  568. package/api/resources/components/client/index.js +0 -17
  569. package/api/resources/components/client/requests/CountComponentsRequest.d.ts +0 -18
  570. package/api/resources/components/client/requests/CountComponentsRequest.js +0 -5
  571. package/api/resources/components/client/requests/CreateComponentRequestBody.d.ts +0 -16
  572. package/api/resources/components/client/requests/CreateComponentRequestBody.js +0 -5
  573. package/api/resources/components/client/requests/ListComponentsRequest.d.ts +0 -18
  574. package/api/resources/components/client/requests/ListComponentsRequest.js +0 -5
  575. package/api/resources/components/client/requests/PreviewComponentDataRequest.d.ts +0 -11
  576. package/api/resources/components/client/requests/PreviewComponentDataRequest.js +0 -5
  577. package/api/resources/components/client/requests/UpdateComponentRequestBody.d.ts +0 -14
  578. package/api/resources/components/client/requests/UpdateComponentRequestBody.js +0 -5
  579. package/api/resources/components/client/requests/index.d.ts +0 -5
  580. package/api/resources/components/client/requests/index.js +0 -2
  581. package/api/resources/components/index.d.ts +0 -2
  582. package/api/resources/components/index.js +0 -18
  583. package/api/resources/components/types/CountComponentsParams.d.ts +0 -13
  584. package/api/resources/components/types/CountComponentsParams.js +0 -5
  585. package/api/resources/components/types/CountComponentsResponse.d.ts +0 -9
  586. package/api/resources/components/types/CountComponentsResponse.js +0 -5
  587. package/api/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +0 -8
  588. package/api/resources/components/types/CreateComponentRequestBodyEntityType.js +0 -10
  589. package/api/resources/components/types/CreateComponentResponse.d.ts +0 -9
  590. package/api/resources/components/types/CreateComponentResponse.js +0 -5
  591. package/api/resources/components/types/DeleteComponentResponse.d.ts +0 -9
  592. package/api/resources/components/types/DeleteComponentResponse.js +0 -5
  593. package/api/resources/components/types/GetComponentResponse.d.ts +0 -9
  594. package/api/resources/components/types/GetComponentResponse.js +0 -5
  595. package/api/resources/components/types/ListComponentsParams.d.ts +0 -13
  596. package/api/resources/components/types/ListComponentsParams.js +0 -5
  597. package/api/resources/components/types/ListComponentsResponse.d.ts +0 -10
  598. package/api/resources/components/types/ListComponentsResponse.js +0 -5
  599. package/api/resources/components/types/PreviewComponentDataParams.d.ts +0 -10
  600. package/api/resources/components/types/PreviewComponentDataParams.js +0 -5
  601. package/api/resources/components/types/PreviewComponentDataResponse.d.ts +0 -9
  602. package/api/resources/components/types/PreviewComponentDataResponse.js +0 -5
  603. package/api/resources/components/types/UpdateComponentRequestBodyEntityType.d.ts +0 -8
  604. package/api/resources/components/types/UpdateComponentRequestBodyEntityType.js +0 -10
  605. package/api/resources/components/types/UpdateComponentRequestBodyState.d.ts +0 -8
  606. package/api/resources/components/types/UpdateComponentRequestBodyState.js +0 -10
  607. package/api/resources/components/types/UpdateComponentResponse.d.ts +0 -9
  608. package/api/resources/components/types/UpdateComponentResponse.js +0 -5
  609. package/api/resources/components/types/index.d.ts +0 -13
  610. package/api/resources/components/types/index.js +0 -29
  611. package/api/resources/credits/client/Client.d.ts +0 -338
  612. package/api/resources/credits/client/Client.js +0 -2338
  613. package/api/resources/credits/client/index.d.ts +0 -1
  614. package/api/resources/credits/client/index.js +0 -17
  615. package/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +0 -19
  616. package/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.js +0 -5
  617. package/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +0 -19
  618. package/api/resources/credits/client/requests/CountBillingCreditsRequest.js +0 -5
  619. package/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +0 -20
  620. package/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.js +0 -5
  621. package/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +0 -22
  622. package/api/resources/credits/client/requests/CountCreditBundlesRequest.js +0 -5
  623. package/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +0 -26
  624. package/api/resources/credits/client/requests/CreateBillingCreditRequestBody.js +0 -5
  625. package/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +0 -21
  626. package/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.js +0 -5
  627. package/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +0 -24
  628. package/api/resources/credits/client/requests/CreateCreditBundleRequestBody.js +0 -5
  629. package/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +0 -19
  630. package/api/resources/credits/client/requests/ListBillingCreditsRequest.js +0 -5
  631. package/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +0 -20
  632. package/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.js +0 -5
  633. package/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +0 -21
  634. package/api/resources/credits/client/requests/ListCompanyGrantsRequest.js +0 -5
  635. package/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +0 -22
  636. package/api/resources/credits/client/requests/ListCreditBundlesRequest.js +0 -5
  637. package/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +0 -19
  638. package/api/resources/credits/client/requests/ListGrantsForCreditRequest.js +0 -5
  639. package/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +0 -24
  640. package/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.js +0 -5
  641. package/api/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +0 -11
  642. package/api/resources/credits/client/requests/ZeroOutGrantRequestBody.js +0 -5
  643. package/api/resources/credits/client/requests/index.d.ts +0 -14
  644. package/api/resources/credits/client/requests/index.js +0 -2
  645. package/api/resources/credits/index.d.ts +0 -2
  646. package/api/resources/credits/index.js +0 -18
  647. package/api/resources/credits/types/CountBillingCreditsGrantsParams.d.ts +0 -14
  648. package/api/resources/credits/types/CountBillingCreditsGrantsParams.js +0 -5
  649. package/api/resources/credits/types/CountBillingCreditsGrantsResponse.d.ts +0 -9
  650. package/api/resources/credits/types/CountBillingCreditsGrantsResponse.js +0 -5
  651. package/api/resources/credits/types/CountBillingCreditsParams.d.ts +0 -14
  652. package/api/resources/credits/types/CountBillingCreditsParams.js +0 -5
  653. package/api/resources/credits/types/CountBillingCreditsResponse.d.ts +0 -9
  654. package/api/resources/credits/types/CountBillingCreditsResponse.js +0 -5
  655. package/api/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +0 -15
  656. package/api/resources/credits/types/CountBillingPlanCreditGrantsParams.js +0 -5
  657. package/api/resources/credits/types/CountBillingPlanCreditGrantsResponse.d.ts +0 -9
  658. package/api/resources/credits/types/CountBillingPlanCreditGrantsResponse.js +0 -5
  659. package/api/resources/credits/types/CountCreditBundlesParams.d.ts +0 -17
  660. package/api/resources/credits/types/CountCreditBundlesParams.js +0 -5
  661. package/api/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +0 -8
  662. package/api/resources/credits/types/CountCreditBundlesRequestStatus.js +0 -10
  663. package/api/resources/credits/types/CountCreditBundlesResponse.d.ts +0 -9
  664. package/api/resources/credits/types/CountCreditBundlesResponse.js +0 -5
  665. package/api/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +0 -8
  666. package/api/resources/credits/types/CountCreditBundlesResponseParamsStatus.js +0 -10
  667. package/api/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
  668. package/api/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.js +0 -12
  669. package/api/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -9
  670. package/api/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.js +0 -11
  671. package/api/resources/credits/types/CreateBillingCreditResponse.d.ts +0 -9
  672. package/api/resources/credits/types/CreateBillingCreditResponse.js +0 -5
  673. package/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
  674. package/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.js +0 -12
  675. package/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -8
  676. package/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.js +0 -10
  677. package/api/resources/credits/types/CreateBillingPlanCreditGrantResponse.d.ts +0 -9
  678. package/api/resources/credits/types/CreateBillingPlanCreditGrantResponse.js +0 -5
  679. package/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +0 -8
  680. package/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.js +0 -10
  681. package/api/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +0 -8
  682. package/api/resources/credits/types/CreateCreditBundleRequestBodyStatus.js +0 -10
  683. package/api/resources/credits/types/CreateCreditBundleResponse.js +0 -5
  684. package/api/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +0 -9
  685. package/api/resources/credits/types/DeleteBillingPlanCreditGrantResponse.js +0 -5
  686. package/api/resources/credits/types/DeleteCreditBundleResponse.d.ts +0 -9
  687. package/api/resources/credits/types/DeleteCreditBundleResponse.js +0 -5
  688. package/api/resources/credits/types/GetCreditBundleResponse.d.ts +0 -9
  689. package/api/resources/credits/types/GetCreditBundleResponse.js +0 -5
  690. package/api/resources/credits/types/GetSingleBillingCreditResponse.d.ts +0 -9
  691. package/api/resources/credits/types/GetSingleBillingCreditResponse.js +0 -5
  692. package/api/resources/credits/types/ListBillingCreditsParams.d.ts +0 -14
  693. package/api/resources/credits/types/ListBillingCreditsParams.js +0 -5
  694. package/api/resources/credits/types/ListBillingCreditsResponse.d.ts +0 -10
  695. package/api/resources/credits/types/ListBillingCreditsResponse.js +0 -5
  696. package/api/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +0 -15
  697. package/api/resources/credits/types/ListBillingPlanCreditGrantsParams.js +0 -5
  698. package/api/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +0 -10
  699. package/api/resources/credits/types/ListBillingPlanCreditGrantsResponse.js +0 -5
  700. package/api/resources/credits/types/ListCompanyGrantsParams.d.ts +0 -16
  701. package/api/resources/credits/types/ListCompanyGrantsParams.js +0 -5
  702. package/api/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +0 -8
  703. package/api/resources/credits/types/ListCompanyGrantsRequestDir.js +0 -10
  704. package/api/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +0 -10
  705. package/api/resources/credits/types/ListCompanyGrantsRequestOrder.js +0 -12
  706. package/api/resources/credits/types/ListCompanyGrantsResponse.d.ts +0 -10
  707. package/api/resources/credits/types/ListCompanyGrantsResponse.js +0 -5
  708. package/api/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +0 -8
  709. package/api/resources/credits/types/ListCompanyGrantsResponseParamsDir.js +0 -10
  710. package/api/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +0 -10
  711. package/api/resources/credits/types/ListCompanyGrantsResponseParamsOrder.js +0 -12
  712. package/api/resources/credits/types/ListCreditBundlesParams.d.ts +0 -17
  713. package/api/resources/credits/types/ListCreditBundlesParams.js +0 -5
  714. package/api/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +0 -8
  715. package/api/resources/credits/types/ListCreditBundlesRequestStatus.js +0 -10
  716. package/api/resources/credits/types/ListCreditBundlesResponse.d.ts +0 -10
  717. package/api/resources/credits/types/ListCreditBundlesResponse.js +0 -5
  718. package/api/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +0 -8
  719. package/api/resources/credits/types/ListCreditBundlesResponseParamsStatus.js +0 -10
  720. package/api/resources/credits/types/ListGrantsForCreditParams.d.ts +0 -14
  721. package/api/resources/credits/types/ListGrantsForCreditParams.js +0 -5
  722. package/api/resources/credits/types/ListGrantsForCreditResponse.d.ts +0 -10
  723. package/api/resources/credits/types/ListGrantsForCreditResponse.js +0 -5
  724. package/api/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
  725. package/api/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.js +0 -12
  726. package/api/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -9
  727. package/api/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.js +0 -11
  728. package/api/resources/credits/types/UpdateBillingCreditResponse.d.ts +0 -9
  729. package/api/resources/credits/types/UpdateBillingCreditResponse.js +0 -5
  730. package/api/resources/credits/types/UpdateCreditBundleResponse.d.ts +0 -9
  731. package/api/resources/credits/types/UpdateCreditBundleResponse.js +0 -5
  732. package/api/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +0 -8
  733. package/api/resources/credits/types/ZeroOutGrantRequestBodyReason.js +0 -10
  734. package/api/resources/credits/types/ZeroOutGrantResponse.js +0 -5
  735. package/api/resources/credits/types/index.d.ts +0 -45
  736. package/api/resources/credits/types/index.js +0 -61
  737. package/api/resources/crm/client/Client.d.ts +0 -129
  738. package/api/resources/crm/client/Client.js +0 -657
  739. package/api/resources/crm/client/index.d.ts +0 -1
  740. package/api/resources/crm/client/index.js +0 -17
  741. package/api/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.d.ts +0 -14
  742. package/api/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.js +0 -5
  743. package/api/resources/crm/client/requests/CreateCrmDealRequestBody.d.ts +0 -22
  744. package/api/resources/crm/client/requests/CreateCrmDealRequestBody.js +0 -5
  745. package/api/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +0 -23
  746. package/api/resources/crm/client/requests/CreateCrmLineItemRequestBody.js +0 -5
  747. package/api/resources/crm/client/requests/CreateCrmProductRequestBody.d.ts +0 -26
  748. package/api/resources/crm/client/requests/CreateCrmProductRequestBody.js +0 -5
  749. package/api/resources/crm/client/requests/ListCrmProductsRequest.d.ts +0 -19
  750. package/api/resources/crm/client/requests/ListCrmProductsRequest.js +0 -5
  751. package/api/resources/crm/client/requests/index.d.ts +0 -5
  752. package/api/resources/crm/client/requests/index.js +0 -2
  753. package/api/resources/crm/index.d.ts +0 -2
  754. package/api/resources/crm/index.js +0 -18
  755. package/api/resources/crm/types/ListCrmProductsParams.d.ts +0 -14
  756. package/api/resources/crm/types/ListCrmProductsParams.js +0 -5
  757. package/api/resources/crm/types/ListCrmProductsResponse.d.ts +0 -10
  758. package/api/resources/crm/types/ListCrmProductsResponse.js +0 -5
  759. package/api/resources/crm/types/UpsertCrmDealResponse.d.ts +0 -9
  760. package/api/resources/crm/types/UpsertCrmDealResponse.js +0 -5
  761. package/api/resources/crm/types/UpsertCrmProductResponse.d.ts +0 -9
  762. package/api/resources/crm/types/UpsertCrmProductResponse.js +0 -5
  763. package/api/resources/crm/types/UpsertDealLineItemAssociationResponse.d.ts +0 -9
  764. package/api/resources/crm/types/UpsertDealLineItemAssociationResponse.js +0 -5
  765. package/api/resources/crm/types/UpsertLineItemResponse.d.ts +0 -9
  766. package/api/resources/crm/types/UpsertLineItemResponse.js +0 -5
  767. package/api/resources/crm/types/index.d.ts +0 -6
  768. package/api/resources/crm/types/index.js +0 -22
  769. package/api/resources/dataexports/client/Client.d.ts +0 -58
  770. package/api/resources/dataexports/client/Client.js +0 -265
  771. package/api/resources/dataexports/client/index.d.ts +0 -1
  772. package/api/resources/dataexports/client/index.js +0 -17
  773. package/api/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +0 -12
  774. package/api/resources/dataexports/client/requests/CreateDataExportRequestBody.js +0 -5
  775. package/api/resources/dataexports/client/requests/index.d.ts +0 -1
  776. package/api/resources/dataexports/client/requests/index.js +0 -2
  777. package/api/resources/dataexports/index.d.ts +0 -2
  778. package/api/resources/dataexports/index.js +0 -18
  779. package/api/resources/dataexports/types/CreateDataExportResponse.d.ts +0 -9
  780. package/api/resources/dataexports/types/CreateDataExportResponse.js +0 -5
  781. package/api/resources/dataexports/types/index.d.ts +0 -1
  782. package/api/resources/dataexports/types/index.js +0 -17
  783. package/api/resources/entitlements/client/Client.d.ts +0 -344
  784. package/api/resources/entitlements/client/Client.js +0 -2431
  785. package/api/resources/entitlements/client/index.d.ts +0 -1
  786. package/api/resources/entitlements/client/index.js +0 -17
  787. package/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +0 -45
  788. package/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.js +0 -5
  789. package/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.d.ts +0 -21
  790. package/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.js +0 -5
  791. package/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +0 -22
  792. package/api/resources/entitlements/client/requests/CountFeatureUsageRequest.js +0 -5
  793. package/api/resources/entitlements/client/requests/CountFeatureUsersRequest.d.ts +0 -21
  794. package/api/resources/entitlements/client/requests/CountFeatureUsersRequest.js +0 -5
  795. package/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +0 -45
  796. package/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.js +0 -5
  797. package/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +0 -24
  798. package/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +0 -5
  799. package/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +0 -38
  800. package/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +0 -5
  801. package/api/resources/entitlements/client/requests/GetFeatureUsageByCompanyRequest.d.ts +0 -17
  802. package/api/resources/entitlements/client/requests/GetFeatureUsageByCompanyRequest.js +0 -5
  803. package/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +0 -45
  804. package/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.js +0 -5
  805. package/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.d.ts +0 -21
  806. package/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.js +0 -5
  807. package/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +0 -22
  808. package/api/resources/entitlements/client/requests/ListFeatureUsageRequest.js +0 -5
  809. package/api/resources/entitlements/client/requests/ListFeatureUsersRequest.d.ts +0 -21
  810. package/api/resources/entitlements/client/requests/ListFeatureUsersRequest.js +0 -5
  811. package/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +0 -45
  812. package/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.js +0 -5
  813. package/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +0 -20
  814. package/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +0 -5
  815. package/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +0 -34
  816. package/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +0 -5
  817. package/api/resources/entitlements/client/requests/index.d.ts +0 -15
  818. package/api/resources/entitlements/client/requests/index.js +0 -2
  819. package/api/resources/entitlements/index.d.ts +0 -2
  820. package/api/resources/entitlements/index.js +0 -18
  821. package/api/resources/entitlements/types/CountCompanyOverridesParams.d.ts +0 -26
  822. package/api/resources/entitlements/types/CountCompanyOverridesParams.js +0 -5
  823. package/api/resources/entitlements/types/CountCompanyOverridesResponse.d.ts +0 -9
  824. package/api/resources/entitlements/types/CountCompanyOverridesResponse.js +0 -5
  825. package/api/resources/entitlements/types/CountFeatureCompaniesParams.d.ts +0 -14
  826. package/api/resources/entitlements/types/CountFeatureCompaniesParams.js +0 -5
  827. package/api/resources/entitlements/types/CountFeatureCompaniesResponse.d.ts +0 -9
  828. package/api/resources/entitlements/types/CountFeatureCompaniesResponse.js +0 -5
  829. package/api/resources/entitlements/types/CountFeatureUsageParams.d.ts +0 -17
  830. package/api/resources/entitlements/types/CountFeatureUsageParams.js +0 -5
  831. package/api/resources/entitlements/types/CountFeatureUsageResponse.d.ts +0 -9
  832. package/api/resources/entitlements/types/CountFeatureUsageResponse.js +0 -5
  833. package/api/resources/entitlements/types/CountFeatureUsersParams.d.ts +0 -14
  834. package/api/resources/entitlements/types/CountFeatureUsersParams.js +0 -5
  835. package/api/resources/entitlements/types/CountFeatureUsersResponse.d.ts +0 -9
  836. package/api/resources/entitlements/types/CountFeatureUsersResponse.js +0 -5
  837. package/api/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +0 -26
  838. package/api/resources/entitlements/types/CountPlanEntitlementsParams.js +0 -5
  839. package/api/resources/entitlements/types/CountPlanEntitlementsResponse.d.ts +0 -9
  840. package/api/resources/entitlements/types/CountPlanEntitlementsResponse.js +0 -5
  841. package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -10
  842. package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.js +0 -12
  843. package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -8
  844. package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +0 -10
  845. package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +0 -11
  846. package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js +0 -13
  847. package/api/resources/entitlements/types/CreateCompanyOverrideResponse.d.ts +0 -9
  848. package/api/resources/entitlements/types/CreateCompanyOverrideResponse.js +0 -5
  849. package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -10
  850. package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.js +0 -12
  851. package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -8
  852. package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +0 -10
  853. package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -11
  854. package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.js +0 -13
  855. package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +0 -11
  856. package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js +0 -13
  857. package/api/resources/entitlements/types/CreatePlanEntitlementResponse.d.ts +0 -9
  858. package/api/resources/entitlements/types/CreatePlanEntitlementResponse.js +0 -5
  859. package/api/resources/entitlements/types/DeleteCompanyOverrideResponse.d.ts +0 -9
  860. package/api/resources/entitlements/types/DeleteCompanyOverrideResponse.js +0 -5
  861. package/api/resources/entitlements/types/DeletePlanEntitlementResponse.d.ts +0 -9
  862. package/api/resources/entitlements/types/DeletePlanEntitlementResponse.js +0 -5
  863. package/api/resources/entitlements/types/GetCompanyOverrideResponse.d.ts +0 -9
  864. package/api/resources/entitlements/types/GetCompanyOverrideResponse.js +0 -5
  865. package/api/resources/entitlements/types/GetFeatureUsageByCompanyParams.d.ts +0 -9
  866. package/api/resources/entitlements/types/GetFeatureUsageByCompanyParams.js +0 -5
  867. package/api/resources/entitlements/types/GetFeatureUsageByCompanyResponse.d.ts +0 -9
  868. package/api/resources/entitlements/types/GetFeatureUsageByCompanyResponse.js +0 -5
  869. package/api/resources/entitlements/types/GetPlanEntitlementResponse.d.ts +0 -9
  870. package/api/resources/entitlements/types/GetPlanEntitlementResponse.js +0 -5
  871. package/api/resources/entitlements/types/ListCompanyOverridesParams.d.ts +0 -26
  872. package/api/resources/entitlements/types/ListCompanyOverridesParams.js +0 -5
  873. package/api/resources/entitlements/types/ListCompanyOverridesResponse.d.ts +0 -10
  874. package/api/resources/entitlements/types/ListCompanyOverridesResponse.js +0 -5
  875. package/api/resources/entitlements/types/ListFeatureCompaniesParams.d.ts +0 -14
  876. package/api/resources/entitlements/types/ListFeatureCompaniesParams.js +0 -5
  877. package/api/resources/entitlements/types/ListFeatureCompaniesResponse.d.ts +0 -10
  878. package/api/resources/entitlements/types/ListFeatureCompaniesResponse.js +0 -5
  879. package/api/resources/entitlements/types/ListFeatureUsageParams.d.ts +0 -17
  880. package/api/resources/entitlements/types/ListFeatureUsageParams.js +0 -5
  881. package/api/resources/entitlements/types/ListFeatureUsageResponse.d.ts +0 -10
  882. package/api/resources/entitlements/types/ListFeatureUsageResponse.js +0 -5
  883. package/api/resources/entitlements/types/ListFeatureUsersParams.d.ts +0 -14
  884. package/api/resources/entitlements/types/ListFeatureUsersParams.js +0 -5
  885. package/api/resources/entitlements/types/ListFeatureUsersResponse.d.ts +0 -10
  886. package/api/resources/entitlements/types/ListFeatureUsersResponse.js +0 -5
  887. package/api/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +0 -26
  888. package/api/resources/entitlements/types/ListPlanEntitlementsParams.js +0 -5
  889. package/api/resources/entitlements/types/ListPlanEntitlementsResponse.d.ts +0 -10
  890. package/api/resources/entitlements/types/ListPlanEntitlementsResponse.js +0 -5
  891. package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -10
  892. package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.js +0 -12
  893. package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -8
  894. package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +0 -10
  895. package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +0 -11
  896. package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js +0 -13
  897. package/api/resources/entitlements/types/UpdateCompanyOverrideResponse.d.ts +0 -9
  898. package/api/resources/entitlements/types/UpdateCompanyOverrideResponse.js +0 -5
  899. package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -10
  900. package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.js +0 -12
  901. package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -8
  902. package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +0 -10
  903. package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -11
  904. package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.js +0 -13
  905. package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +0 -11
  906. package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js +0 -13
  907. package/api/resources/entitlements/types/UpdatePlanEntitlementResponse.d.ts +0 -9
  908. package/api/resources/entitlements/types/UpdatePlanEntitlementResponse.js +0 -5
  909. package/api/resources/entitlements/types/index.d.ts +0 -44
  910. package/api/resources/entitlements/types/index.js +0 -60
  911. package/api/resources/events/client/Client.d.ts +0 -125
  912. package/api/resources/events/client/Client.js +0 -757
  913. package/api/resources/events/client/index.d.ts +0 -1
  914. package/api/resources/events/client/index.js +0 -17
  915. package/api/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +0 -15
  916. package/api/resources/events/client/requests/CreateEventBatchRequestBody.js +0 -5
  917. package/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +0 -19
  918. package/api/resources/events/client/requests/GetEventSummariesRequest.js +0 -5
  919. package/api/resources/events/client/requests/ListEventsRequest.d.ts +0 -23
  920. package/api/resources/events/client/requests/ListEventsRequest.js +0 -5
  921. package/api/resources/events/client/requests/index.d.ts +0 -3
  922. package/api/resources/events/client/requests/index.js +0 -2
  923. package/api/resources/events/index.d.ts +0 -2
  924. package/api/resources/events/index.js +0 -18
  925. package/api/resources/events/types/CreateEventBatchResponse.d.ts +0 -9
  926. package/api/resources/events/types/CreateEventBatchResponse.js +0 -5
  927. package/api/resources/events/types/CreateEventResponse.d.ts +0 -9
  928. package/api/resources/events/types/CreateEventResponse.js +0 -5
  929. package/api/resources/events/types/GetEventResponse.d.ts +0 -9
  930. package/api/resources/events/types/GetEventResponse.js +0 -5
  931. package/api/resources/events/types/GetEventSummariesParams.d.ts +0 -14
  932. package/api/resources/events/types/GetEventSummariesParams.js +0 -5
  933. package/api/resources/events/types/GetEventSummariesResponse.d.ts +0 -10
  934. package/api/resources/events/types/GetEventSummariesResponse.js +0 -5
  935. package/api/resources/events/types/GetSegmentIntegrationStatusResponse.d.ts +0 -9
  936. package/api/resources/events/types/GetSegmentIntegrationStatusResponse.js +0 -5
  937. package/api/resources/events/types/ListEventsParams.d.ts +0 -18
  938. package/api/resources/events/types/ListEventsParams.js +0 -5
  939. package/api/resources/events/types/ListEventsRequestEventTypesItem.d.ts +0 -9
  940. package/api/resources/events/types/ListEventsRequestEventTypesItem.js +0 -11
  941. package/api/resources/events/types/ListEventsResponse.d.ts +0 -10
  942. package/api/resources/events/types/ListEventsResponse.js +0 -5
  943. package/api/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +0 -9
  944. package/api/resources/events/types/ListEventsResponseParamsEventTypesItem.js +0 -11
  945. package/api/resources/events/types/index.d.ts +0 -10
  946. package/api/resources/events/types/index.js +0 -26
  947. package/api/resources/features/client/Client.d.ts +0 -405
  948. package/api/resources/features/client/Client.js +0 -2324
  949. package/api/resources/features/client/index.d.ts +0 -1
  950. package/api/resources/features/client/index.js +0 -17
  951. package/api/resources/features/client/requests/CountFeaturesRequest.d.ts +0 -35
  952. package/api/resources/features/client/requests/CountFeaturesRequest.js +0 -5
  953. package/api/resources/features/client/requests/CountFlagsRequest.d.ts +0 -20
  954. package/api/resources/features/client/requests/CountFlagsRequest.js +0 -5
  955. package/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +0 -25
  956. package/api/resources/features/client/requests/CreateFeatureRequestBody.js +0 -5
  957. package/api/resources/features/client/requests/ListFeaturesRequest.d.ts +0 -35
  958. package/api/resources/features/client/requests/ListFeaturesRequest.js +0 -5
  959. package/api/resources/features/client/requests/ListFlagsRequest.d.ts +0 -20
  960. package/api/resources/features/client/requests/ListFlagsRequest.js +0 -5
  961. package/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +0 -21
  962. package/api/resources/features/client/requests/UpdateFeatureRequestBody.js +0 -5
  963. package/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +0 -29
  964. package/api/resources/features/client/requests/UpdateFlagRulesRequestBody.js +0 -5
  965. package/api/resources/features/client/requests/index.d.ts +0 -7
  966. package/api/resources/features/client/requests/index.js +0 -2
  967. package/api/resources/features/index.d.ts +0 -2
  968. package/api/resources/features/index.js +0 -18
  969. package/api/resources/features/types/CheckFlagResponse.d.ts +0 -9
  970. package/api/resources/features/types/CheckFlagResponse.js +0 -5
  971. package/api/resources/features/types/CheckFlagsResponse.d.ts +0 -9
  972. package/api/resources/features/types/CheckFlagsResponse.js +0 -5
  973. package/api/resources/features/types/CountAudienceCompaniesResponse.d.ts +0 -9
  974. package/api/resources/features/types/CountAudienceCompaniesResponse.js +0 -5
  975. package/api/resources/features/types/CountAudienceUsersResponse.d.ts +0 -9
  976. package/api/resources/features/types/CountAudienceUsersResponse.js +0 -5
  977. package/api/resources/features/types/CountFeaturesParams.d.ts +0 -22
  978. package/api/resources/features/types/CountFeaturesParams.js +0 -5
  979. package/api/resources/features/types/CountFeaturesResponse.d.ts +0 -9
  980. package/api/resources/features/types/CountFeaturesResponse.js +0 -5
  981. package/api/resources/features/types/CountFlagsParams.d.ts +0 -15
  982. package/api/resources/features/types/CountFlagsParams.js +0 -5
  983. package/api/resources/features/types/CountFlagsResponse.d.ts +0 -9
  984. package/api/resources/features/types/CountFlagsResponse.js +0 -5
  985. package/api/resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts +0 -9
  986. package/api/resources/features/types/CreateFeatureRequestBodyFeatureType.js +0 -11
  987. package/api/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts +0 -15
  988. package/api/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.js +0 -17
  989. package/api/resources/features/types/CreateFeatureResponse.d.ts +0 -9
  990. package/api/resources/features/types/CreateFeatureResponse.js +0 -5
  991. package/api/resources/features/types/CreateFlagResponse.d.ts +0 -9
  992. package/api/resources/features/types/CreateFlagResponse.js +0 -5
  993. package/api/resources/features/types/DeleteFeatureResponse.d.ts +0 -9
  994. package/api/resources/features/types/DeleteFeatureResponse.js +0 -5
  995. package/api/resources/features/types/DeleteFlagResponse.d.ts +0 -9
  996. package/api/resources/features/types/DeleteFlagResponse.js +0 -5
  997. package/api/resources/features/types/GetFeatureResponse.d.ts +0 -9
  998. package/api/resources/features/types/GetFeatureResponse.js +0 -5
  999. package/api/resources/features/types/GetFlagResponse.d.ts +0 -9
  1000. package/api/resources/features/types/GetFlagResponse.js +0 -5
  1001. package/api/resources/features/types/ListAudienceCompaniesResponse.d.ts +0 -10
  1002. package/api/resources/features/types/ListAudienceCompaniesResponse.js +0 -5
  1003. package/api/resources/features/types/ListAudienceUsersResponse.d.ts +0 -10
  1004. package/api/resources/features/types/ListAudienceUsersResponse.js +0 -5
  1005. package/api/resources/features/types/ListFeaturesParams.d.ts +0 -22
  1006. package/api/resources/features/types/ListFeaturesParams.js +0 -5
  1007. package/api/resources/features/types/ListFeaturesResponse.d.ts +0 -10
  1008. package/api/resources/features/types/ListFeaturesResponse.js +0 -5
  1009. package/api/resources/features/types/ListFlagsParams.d.ts +0 -15
  1010. package/api/resources/features/types/ListFlagsParams.js +0 -5
  1011. package/api/resources/features/types/ListFlagsResponse.d.ts +0 -10
  1012. package/api/resources/features/types/ListFlagsResponse.js +0 -5
  1013. package/api/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +0 -9
  1014. package/api/resources/features/types/UpdateFeatureRequestBodyFeatureType.js +0 -11
  1015. package/api/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +0 -15
  1016. package/api/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.js +0 -17
  1017. package/api/resources/features/types/UpdateFeatureResponse.d.ts +0 -9
  1018. package/api/resources/features/types/UpdateFeatureResponse.js +0 -5
  1019. package/api/resources/features/types/UpdateFlagResponse.d.ts +0 -9
  1020. package/api/resources/features/types/UpdateFlagResponse.js +0 -5
  1021. package/api/resources/features/types/UpdateFlagRulesResponse.d.ts +0 -9
  1022. package/api/resources/features/types/UpdateFlagRulesResponse.js +0 -5
  1023. package/api/resources/features/types/index.d.ts +0 -27
  1024. package/api/resources/features/types/index.js +0 -43
  1025. package/api/resources/index.d.ts +0 -45
  1026. package/api/resources/index.js +0 -84
  1027. package/api/resources/plangroups/client/Client.d.ts +0 -86
  1028. package/api/resources/plangroups/client/Client.js +0 -396
  1029. package/api/resources/plangroups/client/index.d.ts +0 -1
  1030. package/api/resources/plangroups/client/index.js +0 -17
  1031. package/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +0 -23
  1032. package/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.js +0 -5
  1033. package/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +0 -23
  1034. package/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.js +0 -5
  1035. package/api/resources/plangroups/client/requests/index.d.ts +0 -2
  1036. package/api/resources/plangroups/client/requests/index.js +0 -2
  1037. package/api/resources/plangroups/index.d.ts +0 -2
  1038. package/api/resources/plangroups/index.js +0 -18
  1039. package/api/resources/plangroups/types/CreatePlanGroupResponse.d.ts +0 -9
  1040. package/api/resources/plangroups/types/CreatePlanGroupResponse.js +0 -5
  1041. package/api/resources/plangroups/types/GetPlanGroupResponse.d.ts +0 -9
  1042. package/api/resources/plangroups/types/GetPlanGroupResponse.js +0 -5
  1043. package/api/resources/plangroups/types/UpdatePlanGroupResponse.d.ts +0 -9
  1044. package/api/resources/plangroups/types/UpdatePlanGroupResponse.js +0 -5
  1045. package/api/resources/plangroups/types/index.d.ts +0 -3
  1046. package/api/resources/plangroups/types/index.js +0 -19
  1047. package/api/resources/plans/client/Client.d.ts +0 -320
  1048. package/api/resources/plans/client/Client.js +0 -2047
  1049. package/api/resources/plans/client/index.d.ts +0 -1
  1050. package/api/resources/plans/client/index.js +0 -17
  1051. package/api/resources/plans/client/requests/CountPlanTraitsRequest.d.ts +0 -20
  1052. package/api/resources/plans/client/requests/CountPlanTraitsRequest.js +0 -5
  1053. package/api/resources/plans/client/requests/CountPlansRequest.d.ts +0 -41
  1054. package/api/resources/plans/client/requests/CountPlansRequest.js +0 -5
  1055. package/api/resources/plans/client/requests/CreatePlanRequestBody.d.ts +0 -18
  1056. package/api/resources/plans/client/requests/CreatePlanRequestBody.js +0 -5
  1057. package/api/resources/plans/client/requests/CreatePlanTraitRequestBody.js +0 -5
  1058. package/api/resources/plans/client/requests/ListPlanTraitsRequest.js +0 -5
  1059. package/api/resources/plans/client/requests/ListPlansRequest.d.ts +0 -41
  1060. package/api/resources/plans/client/requests/ListPlansRequest.js +0 -5
  1061. package/api/resources/plans/client/requests/UpdateAudienceRequestBody.d.ts +0 -25
  1062. package/api/resources/plans/client/requests/UpdateAudienceRequestBody.js +0 -5
  1063. package/api/resources/plans/client/requests/UpdateCompanyPlansRequestBody.d.ts +0 -13
  1064. package/api/resources/plans/client/requests/UpdateCompanyPlansRequestBody.js +0 -5
  1065. package/api/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +0 -14
  1066. package/api/resources/plans/client/requests/UpdatePlanRequestBody.js +0 -5
  1067. package/api/resources/plans/client/requests/UpdatePlanTraitRequestBody.js +0 -5
  1068. package/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +0 -24
  1069. package/api/resources/plans/client/requests/UpsertBillingProductRequestBody.js +0 -5
  1070. package/api/resources/plans/client/requests/index.d.ts +0 -11
  1071. package/api/resources/plans/client/requests/index.js +0 -2
  1072. package/api/resources/plans/index.d.ts +0 -2
  1073. package/api/resources/plans/index.js +0 -18
  1074. package/api/resources/plans/types/CountPlanTraitsParams.d.ts +0 -15
  1075. package/api/resources/plans/types/CountPlanTraitsParams.js +0 -5
  1076. package/api/resources/plans/types/CountPlanTraitsResponse.js +0 -5
  1077. package/api/resources/plans/types/CountPlansParams.d.ts +0 -26
  1078. package/api/resources/plans/types/CountPlansParams.js +0 -5
  1079. package/api/resources/plans/types/CountPlansRequestPlanType.d.ts +0 -11
  1080. package/api/resources/plans/types/CountPlansRequestPlanType.js +0 -10
  1081. package/api/resources/plans/types/CountPlansResponse.d.ts +0 -9
  1082. package/api/resources/plans/types/CountPlansResponse.js +0 -5
  1083. package/api/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +0 -11
  1084. package/api/resources/plans/types/CountPlansResponseParamsPlanType.js +0 -10
  1085. package/api/resources/plans/types/CreatePlanRequestBodyPlanType.d.ts +0 -8
  1086. package/api/resources/plans/types/CreatePlanRequestBodyPlanType.js +0 -10
  1087. package/api/resources/plans/types/CreatePlanResponse.d.ts +0 -9
  1088. package/api/resources/plans/types/CreatePlanResponse.js +0 -5
  1089. package/api/resources/plans/types/CreatePlanTraitResponse.js +0 -5
  1090. package/api/resources/plans/types/DeleteAudienceResponse.d.ts +0 -9
  1091. package/api/resources/plans/types/DeleteAudienceResponse.js +0 -5
  1092. package/api/resources/plans/types/DeletePlanResponse.d.ts +0 -9
  1093. package/api/resources/plans/types/DeletePlanResponse.js +0 -5
  1094. package/api/resources/plans/types/DeletePlanTraitResponse.js +0 -5
  1095. package/api/resources/plans/types/GetAudienceResponse.d.ts +0 -9
  1096. package/api/resources/plans/types/GetAudienceResponse.js +0 -5
  1097. package/api/resources/plans/types/GetPlanResponse.d.ts +0 -9
  1098. package/api/resources/plans/types/GetPlanResponse.js +0 -5
  1099. package/api/resources/plans/types/GetPlanTraitResponse.js +0 -5
  1100. package/api/resources/plans/types/ListPlanTraitsParams.js +0 -5
  1101. package/api/resources/plans/types/ListPlanTraitsResponse.js +0 -5
  1102. package/api/resources/plans/types/ListPlansParams.d.ts +0 -26
  1103. package/api/resources/plans/types/ListPlansParams.js +0 -5
  1104. package/api/resources/plans/types/ListPlansRequestPlanType.d.ts +0 -11
  1105. package/api/resources/plans/types/ListPlansRequestPlanType.js +0 -10
  1106. package/api/resources/plans/types/ListPlansResponse.d.ts +0 -10
  1107. package/api/resources/plans/types/ListPlansResponse.js +0 -5
  1108. package/api/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +0 -11
  1109. package/api/resources/plans/types/ListPlansResponseParamsPlanType.js +0 -10
  1110. package/api/resources/plans/types/UpdateAudienceResponse.d.ts +0 -9
  1111. package/api/resources/plans/types/UpdateAudienceResponse.js +0 -5
  1112. package/api/resources/plans/types/UpdateCompanyPlansResponse.d.ts +0 -9
  1113. package/api/resources/plans/types/UpdateCompanyPlansResponse.js +0 -5
  1114. package/api/resources/plans/types/UpdatePlanResponse.d.ts +0 -9
  1115. package/api/resources/plans/types/UpdatePlanResponse.js +0 -5
  1116. package/api/resources/plans/types/UpdatePlanTraitResponse.js +0 -5
  1117. package/api/resources/plans/types/UpsertBillingProductPlanResponse.d.ts +0 -9
  1118. package/api/resources/plans/types/UpsertBillingProductPlanResponse.js +0 -5
  1119. package/api/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +0 -9
  1120. package/api/resources/plans/types/UpsertBillingProductRequestBodyChargeType.js +0 -11
  1121. package/api/resources/plans/types/index.d.ts +0 -27
  1122. package/api/resources/plans/types/index.js +0 -43
  1123. package/api/resources/webhooks/client/Client.d.ts +0 -170
  1124. package/api/resources/webhooks/client/Client.js +0 -1100
  1125. package/api/resources/webhooks/client/index.d.ts +0 -1
  1126. package/api/resources/webhooks/client/index.js +0 -17
  1127. package/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +0 -20
  1128. package/api/resources/webhooks/client/requests/CountWebhookEventsRequest.js +0 -5
  1129. package/api/resources/webhooks/client/requests/CountWebhooksRequest.d.ts +0 -18
  1130. package/api/resources/webhooks/client/requests/CountWebhooksRequest.js +0 -5
  1131. package/api/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +0 -18
  1132. package/api/resources/webhooks/client/requests/CreateWebhookRequestBody.js +0 -5
  1133. package/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +0 -20
  1134. package/api/resources/webhooks/client/requests/ListWebhookEventsRequest.js +0 -5
  1135. package/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +0 -18
  1136. package/api/resources/webhooks/client/requests/ListWebhooksRequest.js +0 -5
  1137. package/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +0 -15
  1138. package/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.js +0 -5
  1139. package/api/resources/webhooks/client/requests/index.d.ts +0 -6
  1140. package/api/resources/webhooks/client/requests/index.js +0 -2
  1141. package/api/resources/webhooks/index.d.ts +0 -2
  1142. package/api/resources/webhooks/index.js +0 -18
  1143. package/api/resources/webhooks/types/CountWebhookEventsParams.d.ts +0 -15
  1144. package/api/resources/webhooks/types/CountWebhookEventsParams.js +0 -5
  1145. package/api/resources/webhooks/types/CountWebhookEventsResponse.d.ts +0 -9
  1146. package/api/resources/webhooks/types/CountWebhookEventsResponse.js +0 -5
  1147. package/api/resources/webhooks/types/CountWebhooksParams.d.ts +0 -13
  1148. package/api/resources/webhooks/types/CountWebhooksParams.js +0 -5
  1149. package/api/resources/webhooks/types/CountWebhooksResponse.d.ts +0 -9
  1150. package/api/resources/webhooks/types/CountWebhooksResponse.js +0 -5
  1151. package/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +0 -34
  1152. package/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +0 -36
  1153. package/api/resources/webhooks/types/CreateWebhookResponse.d.ts +0 -9
  1154. package/api/resources/webhooks/types/CreateWebhookResponse.js +0 -5
  1155. package/api/resources/webhooks/types/DeleteWebhookResponse.d.ts +0 -9
  1156. package/api/resources/webhooks/types/DeleteWebhookResponse.js +0 -5
  1157. package/api/resources/webhooks/types/GetWebhookEventResponse.d.ts +0 -9
  1158. package/api/resources/webhooks/types/GetWebhookEventResponse.js +0 -5
  1159. package/api/resources/webhooks/types/GetWebhookResponse.d.ts +0 -9
  1160. package/api/resources/webhooks/types/GetWebhookResponse.js +0 -5
  1161. package/api/resources/webhooks/types/ListWebhookEventsParams.d.ts +0 -15
  1162. package/api/resources/webhooks/types/ListWebhookEventsParams.js +0 -5
  1163. package/api/resources/webhooks/types/ListWebhookEventsResponse.d.ts +0 -10
  1164. package/api/resources/webhooks/types/ListWebhookEventsResponse.js +0 -5
  1165. package/api/resources/webhooks/types/ListWebhooksParams.d.ts +0 -13
  1166. package/api/resources/webhooks/types/ListWebhooksParams.js +0 -5
  1167. package/api/resources/webhooks/types/ListWebhooksResponse.d.ts +0 -10
  1168. package/api/resources/webhooks/types/ListWebhooksResponse.js +0 -5
  1169. package/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +0 -34
  1170. package/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +0 -36
  1171. package/api/resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts +0 -8
  1172. package/api/resources/webhooks/types/UpdateWebhookRequestBodyStatus.js +0 -10
  1173. package/api/resources/webhooks/types/UpdateWebhookResponse.d.ts +0 -9
  1174. package/api/resources/webhooks/types/UpdateWebhookResponse.js +0 -5
  1175. package/api/resources/webhooks/types/index.d.ts +0 -16
  1176. package/api/resources/webhooks/types/index.js +0 -32
  1177. package/api/types/ApiError.d.ts +0 -7
  1178. package/api/types/ApiError.js +0 -5
  1179. package/api/types/ApiKeyCreateResponseData.d.ts +0 -17
  1180. package/api/types/ApiKeyCreateResponseData.js +0 -5
  1181. package/api/types/ApiKeyRequestListResponseData.d.ts +0 -21
  1182. package/api/types/ApiKeyRequestListResponseData.js +0 -5
  1183. package/api/types/ApiKeyRequestResponseData.d.ts +0 -27
  1184. package/api/types/ApiKeyRequestResponseData.js +0 -5
  1185. package/api/types/ApiKeyResponseData.d.ts +0 -16
  1186. package/api/types/ApiKeyResponseData.js +0 -5
  1187. package/api/types/AudienceRequestBody.d.ts +0 -13
  1188. package/api/types/AudienceRequestBody.js +0 -5
  1189. package/api/types/BillingCouponResponseData.d.ts +0 -21
  1190. package/api/types/BillingCouponResponseData.js +0 -5
  1191. package/api/types/BillingCreditBundleResponseData.d.ts +0 -18
  1192. package/api/types/BillingCreditBundleResponseData.js +0 -5
  1193. package/api/types/BillingCreditGrantResponseData.js +0 -5
  1194. package/api/types/BillingCreditResponseData.d.ts +0 -21
  1195. package/api/types/BillingCreditResponseData.js +0 -5
  1196. package/api/types/BillingCustomerResponseData.d.ts +0 -16
  1197. package/api/types/BillingCustomerResponseData.js +0 -5
  1198. package/api/types/BillingCustomerSubscription.d.ts +0 -11
  1199. package/api/types/BillingCustomerSubscription.js +0 -5
  1200. package/api/types/BillingCustomerWithSubscriptionsResponseData.d.ts +0 -15
  1201. package/api/types/BillingCustomerWithSubscriptionsResponseData.js +0 -5
  1202. package/api/types/BillingMeterResponseData.d.ts +0 -10
  1203. package/api/types/BillingMeterResponseData.js +0 -5
  1204. package/api/types/BillingPlanCreditGrantResponseData.js +0 -5
  1205. package/api/types/BillingPriceResponseData.d.ts +0 -12
  1206. package/api/types/BillingPriceResponseData.js +0 -5
  1207. package/api/types/BillingPriceView.d.ts +0 -27
  1208. package/api/types/BillingPriceView.js +0 -5
  1209. package/api/types/BillingProductDetailResponseData.d.ts +0 -20
  1210. package/api/types/BillingProductDetailResponseData.js +0 -5
  1211. package/api/types/BillingProductForSubscriptionResponseData.d.ts +0 -25
  1212. package/api/types/BillingProductForSubscriptionResponseData.js +0 -5
  1213. package/api/types/BillingProductPlanResponseData.d.ts +0 -19
  1214. package/api/types/BillingProductPlanResponseData.js +0 -5
  1215. package/api/types/BillingProductPriceResponseData.d.ts +0 -20
  1216. package/api/types/BillingProductPriceResponseData.js +0 -5
  1217. package/api/types/BillingProductPriceTierResponseData.d.ts +0 -9
  1218. package/api/types/BillingProductPriceTierResponseData.js +0 -5
  1219. package/api/types/BillingProductPricing.d.ts +0 -16
  1220. package/api/types/BillingProductPricing.js +0 -5
  1221. package/api/types/BillingProductPricingUsageType.d.ts +0 -8
  1222. package/api/types/BillingProductPricingUsageType.js +0 -10
  1223. package/api/types/BillingProductResponseData.d.ts +0 -17
  1224. package/api/types/BillingProductResponseData.js +0 -5
  1225. package/api/types/BillingSubscriptionDiscount.d.ts +0 -12
  1226. package/api/types/BillingSubscriptionDiscount.js +0 -5
  1227. package/api/types/BillingSubscriptionDiscountView.d.ts +0 -19
  1228. package/api/types/BillingSubscriptionDiscountView.js +0 -5
  1229. package/api/types/BillingSubscriptionResponseData.d.ts +0 -23
  1230. package/api/types/BillingSubscriptionResponseData.js +0 -5
  1231. package/api/types/BillingSubscriptionView.d.ts +0 -31
  1232. package/api/types/BillingSubscriptionView.js +0 -5
  1233. package/api/types/ChangeSubscriptionInternalRequestBody.d.ts +0 -16
  1234. package/api/types/ChangeSubscriptionInternalRequestBody.js +0 -5
  1235. package/api/types/ChangeSubscriptionRequestBody.d.ts +0 -15
  1236. package/api/types/ChangeSubscriptionRequestBody.js +0 -5
  1237. package/api/types/CheckFlagRequestBody.d.ts +0 -7
  1238. package/api/types/CheckFlagRequestBody.js +0 -5
  1239. package/api/types/CheckFlagResponseData.d.ts +0 -36
  1240. package/api/types/CheckFlagResponseData.js +0 -5
  1241. package/api/types/CheckFlagsResponseData.d.ts +0 -10
  1242. package/api/types/CheckFlagsResponseData.js +0 -5
  1243. package/api/types/CheckoutDataResponseData.d.ts +0 -19
  1244. package/api/types/CheckoutDataResponseData.js +0 -5
  1245. package/api/types/CompanyCrmDealsResponseData.d.ts +0 -11
  1246. package/api/types/CompanyCrmDealsResponseData.js +0 -5
  1247. package/api/types/CompanyDetailResponseData.d.ts +0 -26
  1248. package/api/types/CompanyDetailResponseData.js +0 -5
  1249. package/api/types/CompanyEventPeriodMetricsResponseData.d.ts +0 -16
  1250. package/api/types/CompanyEventPeriodMetricsResponseData.js +0 -5
  1251. package/api/types/CompanyMembershipDetailResponseData.d.ts +0 -12
  1252. package/api/types/CompanyMembershipDetailResponseData.js +0 -5
  1253. package/api/types/CompanyMembershipResponseData.d.ts +0 -10
  1254. package/api/types/CompanyMembershipResponseData.js +0 -5
  1255. package/api/types/CompanyOverrideResponseData.d.ts +0 -28
  1256. package/api/types/CompanyOverrideResponseData.js +0 -5
  1257. package/api/types/CompanyPlanDetailResponseData.d.ts +0 -34
  1258. package/api/types/CompanyPlanDetailResponseData.js +0 -5
  1259. package/api/types/CompanyPlanWithBillingSubView.d.ts +0 -14
  1260. package/api/types/CompanyPlanWithBillingSubView.js +0 -5
  1261. package/api/types/CompanyResponseData.d.ts +0 -12
  1262. package/api/types/CompanyResponseData.js +0 -5
  1263. package/api/types/CompanySubscriptionResponseData.d.ts +0 -20
  1264. package/api/types/CompanySubscriptionResponseData.js +0 -5
  1265. package/api/types/CompanyViewWithFeatureUsageResponseData.d.ts +0 -27
  1266. package/api/types/CompanyViewWithFeatureUsageResponseData.js +0 -5
  1267. package/api/types/CompatiblePlans.d.ts +0 -7
  1268. package/api/types/CompatiblePlans.js +0 -5
  1269. package/api/types/CompatiblePlansResponseData.d.ts +0 -7
  1270. package/api/types/CompatiblePlansResponseData.js +0 -5
  1271. package/api/types/ComponentCapabilities.d.ts +0 -7
  1272. package/api/types/ComponentCapabilities.js +0 -5
  1273. package/api/types/ComponentHydrateResponseData.d.ts +0 -19
  1274. package/api/types/ComponentHydrateResponseData.js +0 -5
  1275. package/api/types/ComponentPreviewResponseData.d.ts +0 -23
  1276. package/api/types/ComponentPreviewResponseData.js +0 -5
  1277. package/api/types/ComponentResponseData.d.ts +0 -15
  1278. package/api/types/ComponentResponseData.js +0 -5
  1279. package/api/types/CountResponse.d.ts +0 -9
  1280. package/api/types/CountResponse.js +0 -5
  1281. package/api/types/CouponRequestBody.d.ts +0 -13
  1282. package/api/types/CouponRequestBody.js +0 -5
  1283. package/api/types/CreateBillingPriceTierRequestBody.d.ts +0 -10
  1284. package/api/types/CreateBillingPriceTierRequestBody.js +0 -5
  1285. package/api/types/CreateEntitlementReqCommon.d.ts +0 -14
  1286. package/api/types/CreateEntitlementReqCommon.js +0 -5
  1287. package/api/types/CreateEntitlementReqCommonMetricPeriod.d.ts +0 -10
  1288. package/api/types/CreateEntitlementReqCommonMetricPeriod.js +0 -12
  1289. package/api/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -8
  1290. package/api/types/CreateEntitlementReqCommonMetricPeriodMonthReset.js +0 -10
  1291. package/api/types/CreateEntitlementReqCommonValueType.d.ts +0 -11
  1292. package/api/types/CreateEntitlementReqCommonValueType.js +0 -13
  1293. package/api/types/CreateEventRequestBody.d.ts +0 -11
  1294. package/api/types/CreateEventRequestBody.js +0 -5
  1295. package/api/types/CreateEventRequestBodyEventType.d.ts +0 -12
  1296. package/api/types/CreateEventRequestBodyEventType.js +0 -11
  1297. package/api/types/CreateFlagRequestBody.d.ts +0 -12
  1298. package/api/types/CreateFlagRequestBody.js +0 -5
  1299. package/api/types/CreateOrUpdateConditionGroupRequestBody.d.ts +0 -10
  1300. package/api/types/CreateOrUpdateConditionGroupRequestBody.js +0 -5
  1301. package/api/types/CreateOrUpdateConditionRequestBody.d.ts +0 -25
  1302. package/api/types/CreateOrUpdateConditionRequestBody.js +0 -5
  1303. package/api/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +0 -14
  1304. package/api/types/CreateOrUpdateConditionRequestBodyConditionType.js +0 -16
  1305. package/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +0 -13
  1306. package/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.js +0 -12
  1307. package/api/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +0 -11
  1308. package/api/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.js +0 -10
  1309. package/api/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +0 -14
  1310. package/api/types/CreateOrUpdateConditionRequestBodyOperator.js +0 -16
  1311. package/api/types/CreateOrUpdateFlagRequestBody.d.ts +0 -13
  1312. package/api/types/CreateOrUpdateFlagRequestBody.js +0 -5
  1313. package/api/types/CreateOrUpdateRuleRequestBody.d.ts +0 -13
  1314. package/api/types/CreateOrUpdateRuleRequestBody.js +0 -5
  1315. package/api/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +0 -12
  1316. package/api/types/CreateOrUpdateRuleRequestBodyRuleType.js +0 -14
  1317. package/api/types/CreatePriceTierRequestBody.d.ts +0 -9
  1318. package/api/types/CreatePriceTierRequestBody.js +0 -5
  1319. package/api/types/CreditBundlePurchaseResponseData.d.ts +0 -9
  1320. package/api/types/CreditBundlePurchaseResponseData.js +0 -5
  1321. package/api/types/CrmDealLineItem.d.ts +0 -18
  1322. package/api/types/CrmDealLineItem.js +0 -5
  1323. package/api/types/CrmDealResponseData.d.ts +0 -19
  1324. package/api/types/CrmDealResponseData.js +0 -5
  1325. package/api/types/CrmLineItemResponseData.d.ts +0 -14
  1326. package/api/types/CrmLineItemResponseData.js +0 -5
  1327. package/api/types/CrmProductResponseData.d.ts +0 -18
  1328. package/api/types/CrmProductResponseData.js +0 -5
  1329. package/api/types/CustomPlanConfig.d.ts +0 -8
  1330. package/api/types/CustomPlanConfig.js +0 -5
  1331. package/api/types/CustomPlanViewConfigResponseData.d.ts +0 -8
  1332. package/api/types/CustomPlanViewConfigResponseData.js +0 -5
  1333. package/api/types/DataExportResponseData.d.ts +0 -17
  1334. package/api/types/DataExportResponseData.js +0 -5
  1335. package/api/types/Decimal.d.ts +0 -4
  1336. package/api/types/Decimal.js +0 -5
  1337. package/api/types/DeleteResponse.d.ts +0 -7
  1338. package/api/types/DeleteResponse.js +0 -5
  1339. package/api/types/EntitlementTriggerConfig.d.ts +0 -6
  1340. package/api/types/EntitlementTriggerConfig.js +0 -5
  1341. package/api/types/EntitlementsInPlan.d.ts +0 -7
  1342. package/api/types/EntitlementsInPlan.js +0 -5
  1343. package/api/types/EntityKeyDefinitionResponseData.d.ts +0 -10
  1344. package/api/types/EntityKeyDefinitionResponseData.js +0 -5
  1345. package/api/types/EntityKeyDetailResponseData.d.ts +0 -16
  1346. package/api/types/EntityKeyDetailResponseData.js +0 -5
  1347. package/api/types/EntityKeyResponseData.d.ts +0 -14
  1348. package/api/types/EntityKeyResponseData.js +0 -5
  1349. package/api/types/EntityTraitDefinitionResponseData.d.ts +0 -12
  1350. package/api/types/EntityTraitDefinitionResponseData.js +0 -5
  1351. package/api/types/EntityTraitDetailResponseData.d.ts +0 -13
  1352. package/api/types/EntityTraitDetailResponseData.js +0 -5
  1353. package/api/types/EntityTraitResponseData.d.ts +0 -11
  1354. package/api/types/EntityTraitResponseData.js +0 -5
  1355. package/api/types/EntityTraitValue.d.ts +0 -7
  1356. package/api/types/EntityTraitValue.js +0 -5
  1357. package/api/types/EnvironmentDetailResponseData.d.ts +0 -15
  1358. package/api/types/EnvironmentDetailResponseData.js +0 -5
  1359. package/api/types/EnvironmentResponseData.d.ts +0 -13
  1360. package/api/types/EnvironmentResponseData.js +0 -5
  1361. package/api/types/EventBody.d.ts +0 -5
  1362. package/api/types/EventBody.js +0 -5
  1363. package/api/types/EventBodyFlagCheck.d.ts +0 -25
  1364. package/api/types/EventBodyFlagCheck.js +0 -5
  1365. package/api/types/EventBodyIdentify.d.ts +0 -14
  1366. package/api/types/EventBodyIdentify.js +0 -5
  1367. package/api/types/EventBodyIdentifyCompany.d.ts +0 -14
  1368. package/api/types/EventBodyIdentifyCompany.js +0 -5
  1369. package/api/types/EventBodyTrack.d.ts +0 -15
  1370. package/api/types/EventBodyTrack.js +0 -5
  1371. package/api/types/EventDetailResponseData.d.ts +0 -28
  1372. package/api/types/EventDetailResponseData.js +0 -5
  1373. package/api/types/EventResponseData.d.ts +0 -24
  1374. package/api/types/EventResponseData.js +0 -5
  1375. package/api/types/EventSummaryResponseData.d.ts +0 -11
  1376. package/api/types/EventSummaryResponseData.js +0 -5
  1377. package/api/types/FeatureCompanyResponseData.d.ts +0 -26
  1378. package/api/types/FeatureCompanyResponseData.js +0 -5
  1379. package/api/types/FeatureCompanyResponseDataAllocationType.d.ts +0 -13
  1380. package/api/types/FeatureCompanyResponseDataAllocationType.js +0 -12
  1381. package/api/types/FeatureCompanyUserResponseData.d.ts +0 -26
  1382. package/api/types/FeatureCompanyUserResponseData.js +0 -5
  1383. package/api/types/FeatureCompanyUserResponseDataAllocationType.d.ts +0 -13
  1384. package/api/types/FeatureCompanyUserResponseDataAllocationType.js +0 -12
  1385. package/api/types/FeatureDetailResponseData.d.ts +0 -23
  1386. package/api/types/FeatureDetailResponseData.js +0 -5
  1387. package/api/types/FeatureResponseData.d.ts +0 -18
  1388. package/api/types/FeatureResponseData.js +0 -5
  1389. package/api/types/FeatureUsageDataResponseData.d.ts +0 -14
  1390. package/api/types/FeatureUsageDataResponseData.js +0 -5
  1391. package/api/types/FeatureUsageDetailResponseData.d.ts +0 -7
  1392. package/api/types/FeatureUsageDetailResponseData.js +0 -5
  1393. package/api/types/FeatureUsageResponseData.d.ts +0 -30
  1394. package/api/types/FeatureUsageResponseData.js +0 -5
  1395. package/api/types/FeatureUsageResponseDataAllocationType.d.ts +0 -13
  1396. package/api/types/FeatureUsageResponseDataAllocationType.js +0 -12
  1397. package/api/types/FlagDetailResponseData.d.ts +0 -19
  1398. package/api/types/FlagDetailResponseData.js +0 -5
  1399. package/api/types/FlagResponseData.d.ts +0 -15
  1400. package/api/types/FlagResponseData.js +0 -5
  1401. package/api/types/GenericPreviewObject.d.ts +0 -9
  1402. package/api/types/GenericPreviewObject.js +0 -5
  1403. package/api/types/InvoiceRequestBody.d.ts +0 -16
  1404. package/api/types/InvoiceRequestBody.js +0 -5
  1405. package/api/types/InvoiceResponseData.d.ts +0 -22
  1406. package/api/types/InvoiceResponseData.js +0 -5
  1407. package/api/types/IssueTemporaryAccessTokenResponseData.d.ts +0 -16
  1408. package/api/types/IssueTemporaryAccessTokenResponseData.js +0 -5
  1409. package/api/types/KeysRequestBody.d.ts +0 -6
  1410. package/api/types/KeysRequestBody.js +0 -5
  1411. package/api/types/MeterRequestBody.d.ts +0 -8
  1412. package/api/types/MeterRequestBody.js +0 -5
  1413. package/api/types/OrderedPlansInGroup.d.ts +0 -8
  1414. package/api/types/OrderedPlansInGroup.js +0 -5
  1415. package/api/types/PaginationFilter.d.ts +0 -9
  1416. package/api/types/PaginationFilter.js +0 -5
  1417. package/api/types/PaymentMethodRequestBody.d.ts +0 -16
  1418. package/api/types/PaymentMethodRequestBody.js +0 -5
  1419. package/api/types/PaymentMethodResponseData.d.ts +0 -22
  1420. package/api/types/PaymentMethodResponseData.js +0 -5
  1421. package/api/types/PlanAudienceDetailResponseData.d.ts +0 -21
  1422. package/api/types/PlanAudienceDetailResponseData.js +0 -5
  1423. package/api/types/PlanAudienceResponseData.d.ts +0 -15
  1424. package/api/types/PlanAudienceResponseData.js +0 -5
  1425. package/api/types/PlanDetailResponseData.d.ts +0 -26
  1426. package/api/types/PlanDetailResponseData.js +0 -5
  1427. package/api/types/PlanEntitlementResponseData.d.ts +0 -30
  1428. package/api/types/PlanEntitlementResponseData.js +0 -5
  1429. package/api/types/PlanEntitlementsOrder.d.ts +0 -7
  1430. package/api/types/PlanEntitlementsOrder.js +0 -5
  1431. package/api/types/PlanGroupDetailResponseData.d.ts +0 -19
  1432. package/api/types/PlanGroupDetailResponseData.js +0 -5
  1433. package/api/types/PlanGroupPlanDetailResponseData.d.ts +0 -30
  1434. package/api/types/PlanGroupPlanDetailResponseData.js +0 -5
  1435. package/api/types/PlanGroupPlanEntitlementsOrder.d.ts +0 -8
  1436. package/api/types/PlanGroupPlanEntitlementsOrder.js +0 -5
  1437. package/api/types/PlanGroupResponseData.d.ts +0 -16
  1438. package/api/types/PlanGroupResponseData.js +0 -5
  1439. package/api/types/PlanResponseData.d.ts +0 -13
  1440. package/api/types/PlanResponseData.js +0 -5
  1441. package/api/types/PlanTraitResponseData.d.ts +0 -16
  1442. package/api/types/PlanTraitResponseData.js +0 -5
  1443. package/api/types/PreviewObject.d.ts +0 -9
  1444. package/api/types/PreviewObject.js +0 -5
  1445. package/api/types/PreviewObjectResponseData.d.ts +0 -9
  1446. package/api/types/PreviewObjectResponseData.js +0 -5
  1447. package/api/types/PreviewSubscriptionChangeResponseData.d.ts +0 -20
  1448. package/api/types/PreviewSubscriptionChangeResponseData.js +0 -5
  1449. package/api/types/PreviewSubscriptionFinanceResponseData.d.ts +0 -15
  1450. package/api/types/PreviewSubscriptionFinanceResponseData.js +0 -5
  1451. package/api/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +0 -10
  1452. package/api/types/PreviewSubscriptionUpcomingInvoiceLineItems.js +0 -5
  1453. package/api/types/QuickstartResp.js +0 -5
  1454. package/api/types/RawEventBatchResponseData.d.ts +0 -10
  1455. package/api/types/RawEventBatchResponseData.js +0 -5
  1456. package/api/types/RawEventResponseData.d.ts +0 -10
  1457. package/api/types/RawEventResponseData.js +0 -5
  1458. package/api/types/RuleConditionDetailResponseData.d.ts +0 -28
  1459. package/api/types/RuleConditionDetailResponseData.js +0 -5
  1460. package/api/types/RuleConditionGroupDetailResponseData.d.ts +0 -14
  1461. package/api/types/RuleConditionGroupDetailResponseData.js +0 -5
  1462. package/api/types/RuleConditionGroupResponseData.d.ts +0 -12
  1463. package/api/types/RuleConditionGroupResponseData.js +0 -5
  1464. package/api/types/RuleConditionResponseData.d.ts +0 -24
  1465. package/api/types/RuleConditionResponseData.js +0 -5
  1466. package/api/types/RuleDetailResponseData.d.ts +0 -18
  1467. package/api/types/RuleDetailResponseData.js +0 -5
  1468. package/api/types/RuleResponseData.d.ts +0 -15
  1469. package/api/types/RuleResponseData.js +0 -5
  1470. package/api/types/RulesDetailResponseData.d.ts +0 -11
  1471. package/api/types/RulesDetailResponseData.js +0 -5
  1472. package/api/types/SegmentStatusResp.d.ts +0 -11
  1473. package/api/types/SegmentStatusResp.js +0 -5
  1474. package/api/types/StripeEmbedInfo.d.ts +0 -7
  1475. package/api/types/StripeEmbedInfo.js +0 -5
  1476. package/api/types/TemporaryAccessTokenResponseData.d.ts +0 -12
  1477. package/api/types/TemporaryAccessTokenResponseData.js +0 -5
  1478. package/api/types/UpdateAddOnRequestBody.d.ts +0 -7
  1479. package/api/types/UpdateAddOnRequestBody.js +0 -5
  1480. package/api/types/UpdateCreditBundleRequestBody.js +0 -5
  1481. package/api/types/UpdateEntitlementReqCommon.d.ts +0 -13
  1482. package/api/types/UpdateEntitlementReqCommon.js +0 -5
  1483. package/api/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +0 -10
  1484. package/api/types/UpdateEntitlementReqCommonMetricPeriod.js +0 -12
  1485. package/api/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -8
  1486. package/api/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.js +0 -10
  1487. package/api/types/UpdateEntitlementReqCommonValueType.d.ts +0 -11
  1488. package/api/types/UpdateEntitlementReqCommonValueType.js +0 -13
  1489. package/api/types/UpdatePayInAdvanceRequestBody.d.ts +0 -7
  1490. package/api/types/UpdatePayInAdvanceRequestBody.js +0 -5
  1491. package/api/types/UpdateRuleRequestBody.d.ts +0 -11
  1492. package/api/types/UpdateRuleRequestBody.js +0 -5
  1493. package/api/types/UpsertCompanyRequestBody.d.ts +0 -14
  1494. package/api/types/UpsertCompanyRequestBody.js +0 -5
  1495. package/api/types/UpsertTraitRequestBody.d.ts +0 -15
  1496. package/api/types/UpsertTraitRequestBody.js +0 -5
  1497. package/api/types/UpsertUserRequestBody.d.ts +0 -22
  1498. package/api/types/UpsertUserRequestBody.js +0 -5
  1499. package/api/types/UpsertUserSubRequestBody.d.ts +0 -18
  1500. package/api/types/UpsertUserSubRequestBody.js +0 -5
  1501. package/api/types/UsageBasedEntitlementRequestBody.d.ts +0 -19
  1502. package/api/types/UsageBasedEntitlementRequestBody.js +0 -5
  1503. package/api/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +0 -11
  1504. package/api/types/UsageBasedEntitlementRequestBodyPriceBehavior.js +0 -13
  1505. package/api/types/UsageBasedEntitlementResponseData.d.ts +0 -17
  1506. package/api/types/UsageBasedEntitlementResponseData.js +0 -5
  1507. package/api/types/UserDetailResponseData.d.ts +0 -17
  1508. package/api/types/UserDetailResponseData.js +0 -5
  1509. package/api/types/UserResponseData.d.ts +0 -11
  1510. package/api/types/UserResponseData.js +0 -5
  1511. package/api/types/WebhookEventDetailResponseData.d.ts +0 -16
  1512. package/api/types/WebhookEventDetailResponseData.js +0 -5
  1513. package/api/types/WebhookEventResponseData.d.ts +0 -14
  1514. package/api/types/WebhookEventResponseData.js +0 -5
  1515. package/api/types/WebhookResponseData.d.ts +0 -15
  1516. package/api/types/WebhookResponseData.js +0 -5
  1517. package/api/types/index.d.ts +0 -172
  1518. package/api/types/index.js +0 -188
  1519. package/cache.d.ts +0 -22
  1520. package/cache.js +0 -102
  1521. package/cache.test.d.ts +0 -1
  1522. package/cache.test.js +0 -87
  1523. package/core/fetcher/APIResponse.d.ts +0 -20
  1524. package/core/fetcher/APIResponse.js +0 -2
  1525. package/core/fetcher/Fetcher.d.ts +0 -39
  1526. package/core/fetcher/Fetcher.js +0 -107
  1527. package/core/fetcher/Headers.d.ts +0 -2
  1528. package/core/fetcher/Headers.js +0 -84
  1529. package/core/fetcher/HttpResponsePromise.d.ts +0 -58
  1530. package/core/fetcher/HttpResponsePromise.js +0 -103
  1531. package/core/fetcher/RawResponse.d.ts +0 -29
  1532. package/core/fetcher/RawResponse.js +0 -44
  1533. package/core/fetcher/Supplier.d.ts +0 -4
  1534. package/core/fetcher/Supplier.js +0 -22
  1535. package/core/fetcher/createRequestUrl.d.ts +0 -1
  1536. package/core/fetcher/createRequestUrl.js +0 -12
  1537. package/core/fetcher/custom.d.ts +0 -3
  1538. package/core/fetcher/custom.js +0 -132
  1539. package/core/fetcher/getFetchFn.d.ts +0 -4
  1540. package/core/fetcher/getFetchFn.js +0 -68
  1541. package/core/fetcher/getHeader.d.ts +0 -1
  1542. package/core/fetcher/getHeader.js +0 -11
  1543. package/core/fetcher/getRequestBody.d.ts +0 -7
  1544. package/core/fetcher/getRequestBody.js +0 -23
  1545. package/core/fetcher/getResponseBody.d.ts +0 -1
  1546. package/core/fetcher/getResponseBody.js +0 -54
  1547. package/core/fetcher/index.d.ts +0 -8
  1548. package/core/fetcher/index.js +0 -15
  1549. package/core/fetcher/makeRequest.d.ts +0 -1
  1550. package/core/fetcher/makeRequest.js +0 -42
  1551. package/core/fetcher/requestWithRetries.d.ts +0 -1
  1552. package/core/fetcher/requestWithRetries.js +0 -40
  1553. package/core/fetcher/signals.d.ts +0 -11
  1554. package/core/fetcher/signals.js +0 -36
  1555. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
  1556. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
  1557. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
  1558. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
  1559. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
  1560. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
  1561. package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
  1562. package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  1563. package/core/index.d.ts +0 -3
  1564. package/core/index.js +0 -42
  1565. package/core/json.d.ts +0 -15
  1566. package/core/json.js +0 -24
  1567. package/core/runtime/index.d.ts +0 -1
  1568. package/core/runtime/index.js +0 -5
  1569. package/core/runtime/runtime.d.ts +0 -9
  1570. package/core/runtime/runtime.js +0 -103
  1571. package/core/schemas/Schema.d.ts +0 -87
  1572. package/core/schemas/Schema.js +0 -24
  1573. package/core/schemas/builders/bigint/bigint.d.ts +0 -2
  1574. package/core/schemas/builders/bigint/bigint.js +0 -53
  1575. package/core/schemas/builders/bigint/index.d.ts +0 -1
  1576. package/core/schemas/builders/bigint/index.js +0 -5
  1577. package/core/schemas/builders/date/date.d.ts +0 -2
  1578. package/core/schemas/builders/date/date.js +0 -62
  1579. package/core/schemas/builders/date/index.d.ts +0 -1
  1580. package/core/schemas/builders/date/index.js +0 -5
  1581. package/core/schemas/builders/enum/enum.d.ts +0 -2
  1582. package/core/schemas/builders/enum/enum.js +0 -38
  1583. package/core/schemas/builders/enum/index.d.ts +0 -1
  1584. package/core/schemas/builders/enum/index.js +0 -5
  1585. package/core/schemas/builders/index.d.ts +0 -14
  1586. package/core/schemas/builders/index.js +0 -30
  1587. package/core/schemas/builders/lazy/index.d.ts +0 -3
  1588. package/core/schemas/builders/lazy/index.js +0 -7
  1589. package/core/schemas/builders/lazy/lazy.d.ts +0 -5
  1590. package/core/schemas/builders/lazy/lazy.js +0 -24
  1591. package/core/schemas/builders/lazy/lazyObject.d.ts +0 -3
  1592. package/core/schemas/builders/lazy/lazyObject.js +0 -11
  1593. package/core/schemas/builders/list/index.d.ts +0 -1
  1594. package/core/schemas/builders/list/index.js +0 -5
  1595. package/core/schemas/builders/list/list.d.ts +0 -2
  1596. package/core/schemas/builders/list/list.js +0 -54
  1597. package/core/schemas/builders/literals/booleanLiteral.d.ts +0 -2
  1598. package/core/schemas/builders/literals/booleanLiteral.js +0 -28
  1599. package/core/schemas/builders/literals/index.d.ts +0 -2
  1600. package/core/schemas/builders/literals/index.js +0 -7
  1601. package/core/schemas/builders/literals/stringLiteral.d.ts +0 -2
  1602. package/core/schemas/builders/literals/stringLiteral.js +0 -28
  1603. package/core/schemas/builders/object/index.d.ts +0 -6
  1604. package/core/schemas/builders/object/index.js +0 -11
  1605. package/core/schemas/builders/object/object.d.ts +0 -3
  1606. package/core/schemas/builders/object/object.js +0 -261
  1607. package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +0 -6
  1608. package/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -7
  1609. package/core/schemas/builders/object/property.d.ts +0 -8
  1610. package/core/schemas/builders/object/property.js +0 -15
  1611. package/core/schemas/builders/object/types.d.ts +0 -31
  1612. package/core/schemas/builders/object/types.js +0 -2
  1613. package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +0 -9
  1614. package/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -53
  1615. package/core/schemas/builders/object-like/index.d.ts +0 -2
  1616. package/core/schemas/builders/object-like/index.js +0 -6
  1617. package/core/schemas/builders/object-like/types.d.ts +0 -7
  1618. package/core/schemas/builders/object-like/types.js +0 -2
  1619. package/core/schemas/builders/primitives/any.d.ts +0 -1
  1620. package/core/schemas/builders/primitives/any.js +0 -6
  1621. package/core/schemas/builders/primitives/boolean.d.ts +0 -1
  1622. package/core/schemas/builders/primitives/boolean.js +0 -25
  1623. package/core/schemas/builders/primitives/index.d.ts +0 -5
  1624. package/core/schemas/builders/primitives/index.js +0 -13
  1625. package/core/schemas/builders/primitives/number.d.ts +0 -1
  1626. package/core/schemas/builders/primitives/number.js +0 -25
  1627. package/core/schemas/builders/primitives/string.d.ts +0 -1
  1628. package/core/schemas/builders/primitives/string.js +0 -25
  1629. package/core/schemas/builders/primitives/unknown.d.ts +0 -1
  1630. package/core/schemas/builders/primitives/unknown.js +0 -6
  1631. package/core/schemas/builders/record/index.d.ts +0 -2
  1632. package/core/schemas/builders/record/index.js +0 -5
  1633. package/core/schemas/builders/record/record.d.ts +0 -3
  1634. package/core/schemas/builders/record/record.js +0 -93
  1635. package/core/schemas/builders/record/types.d.ts +0 -4
  1636. package/core/schemas/builders/record/types.js +0 -2
  1637. package/core/schemas/builders/schema-utils/JsonError.d.ts +0 -5
  1638. package/core/schemas/builders/schema-utils/JsonError.js +0 -12
  1639. package/core/schemas/builders/schema-utils/ParseError.d.ts +0 -5
  1640. package/core/schemas/builders/schema-utils/ParseError.js +0 -12
  1641. package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +0 -21
  1642. package/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -145
  1643. package/core/schemas/builders/schema-utils/index.d.ts +0 -4
  1644. package/core/schemas/builders/schema-utils/index.js +0 -11
  1645. package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +0 -2
  1646. package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -9
  1647. package/core/schemas/builders/set/index.d.ts +0 -1
  1648. package/core/schemas/builders/set/index.js +0 -5
  1649. package/core/schemas/builders/set/set.d.ts +0 -2
  1650. package/core/schemas/builders/set/set.js +0 -43
  1651. package/core/schemas/builders/undiscriminated-union/index.d.ts +0 -2
  1652. package/core/schemas/builders/undiscriminated-union/index.js +0 -5
  1653. package/core/schemas/builders/undiscriminated-union/types.d.ts +0 -4
  1654. package/core/schemas/builders/undiscriminated-union/types.js +0 -2
  1655. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +0 -3
  1656. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -39
  1657. package/core/schemas/builders/union/discriminant.d.ts +0 -5
  1658. package/core/schemas/builders/union/discriminant.js +0 -9
  1659. package/core/schemas/builders/union/index.d.ts +0 -4
  1660. package/core/schemas/builders/union/index.js +0 -7
  1661. package/core/schemas/builders/union/types.d.ts +0 -13
  1662. package/core/schemas/builders/union/types.js +0 -2
  1663. package/core/schemas/builders/union/union.d.ts +0 -4
  1664. package/core/schemas/builders/union/union.js +0 -129
  1665. package/core/schemas/index.d.ts +0 -2
  1666. package/core/schemas/index.js +0 -17
  1667. package/core/schemas/utils/MaybePromise.d.ts +0 -1
  1668. package/core/schemas/utils/MaybePromise.js +0 -2
  1669. package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +0 -7
  1670. package/core/schemas/utils/addQuestionMarksToNullableProperties.js +0 -2
  1671. package/core/schemas/utils/createIdentitySchemaCreator.d.ts +0 -2
  1672. package/core/schemas/utils/createIdentitySchemaCreator.js +0 -15
  1673. package/core/schemas/utils/entries.d.ts +0 -1
  1674. package/core/schemas/utils/entries.js +0 -6
  1675. package/core/schemas/utils/filterObject.d.ts +0 -1
  1676. package/core/schemas/utils/filterObject.js +0 -13
  1677. package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +0 -1
  1678. package/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -27
  1679. package/core/schemas/utils/isPlainObject.d.ts +0 -1
  1680. package/core/schemas/utils/isPlainObject.js +0 -17
  1681. package/core/schemas/utils/keys.d.ts +0 -1
  1682. package/core/schemas/utils/keys.js +0 -6
  1683. package/core/schemas/utils/maybeSkipValidation.d.ts +0 -2
  1684. package/core/schemas/utils/maybeSkipValidation.js +0 -27
  1685. package/core/schemas/utils/partition.d.ts +0 -1
  1686. package/core/schemas/utils/partition.js +0 -15
  1687. package/dist/Client.js +0 -87
  1688. package/dist/api/errors/BadRequestError.js +0 -52
  1689. package/dist/api/errors/ForbiddenError.js +0 -52
  1690. package/dist/api/errors/InternalServerError.js +0 -52
  1691. package/dist/api/errors/NotFoundError.js +0 -52
  1692. package/dist/api/errors/UnauthorizedError.js +0 -52
  1693. package/dist/api/errors/index.js +0 -21
  1694. package/dist/api/index.js +0 -19
  1695. package/dist/api/resources/accesstokens/client/Client.js +0 -184
  1696. package/dist/api/resources/accesstokens/client/index.js +0 -17
  1697. package/dist/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.js +0 -5
  1698. package/dist/api/resources/accesstokens/client/requests/index.js +0 -2
  1699. package/dist/api/resources/accesstokens/index.js +0 -18
  1700. package/dist/api/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.js +0 -5
  1701. package/dist/api/resources/accesstokens/types/index.js +0 -17
  1702. package/dist/api/resources/accounts/client/Client.js +0 -1755
  1703. package/dist/api/resources/accounts/client/index.js +0 -17
  1704. package/dist/api/resources/accounts/client/requests/CountApiKeysRequest.js +0 -5
  1705. package/dist/api/resources/accounts/client/requests/CountApiRequestsRequest.js +0 -5
  1706. package/dist/api/resources/accounts/client/requests/CreateApiKeyRequestBody.js +0 -5
  1707. package/dist/api/resources/accounts/client/requests/CreateEnvironmentRequestBody.js +0 -5
  1708. package/dist/api/resources/accounts/client/requests/ListApiKeysRequest.js +0 -5
  1709. package/dist/api/resources/accounts/client/requests/ListApiRequestsRequest.js +0 -5
  1710. package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.js +0 -5
  1711. package/dist/api/resources/accounts/client/requests/UpdateApiKeyRequestBody.js +0 -5
  1712. package/dist/api/resources/accounts/client/requests/UpdateEnvironmentRequestBody.js +0 -5
  1713. package/dist/api/resources/accounts/client/requests/index.js +0 -2
  1714. package/dist/api/resources/accounts/index.js +0 -18
  1715. package/dist/api/resources/accounts/types/CountApiKeysParams.js +0 -5
  1716. package/dist/api/resources/accounts/types/CountApiKeysResponse.js +0 -5
  1717. package/dist/api/resources/accounts/types/CountApiRequestsParams.js +0 -5
  1718. package/dist/api/resources/accounts/types/CountApiRequestsResponse.js +0 -5
  1719. package/dist/api/resources/accounts/types/CreateApiKeyResponse.js +0 -5
  1720. package/dist/api/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.js +0 -11
  1721. package/dist/api/resources/accounts/types/CreateEnvironmentResponse.js +0 -5
  1722. package/dist/api/resources/accounts/types/DeleteApiKeyResponse.js +0 -5
  1723. package/dist/api/resources/accounts/types/DeleteEnvironmentResponse.js +0 -5
  1724. package/dist/api/resources/accounts/types/GetApiKeyResponse.js +0 -5
  1725. package/dist/api/resources/accounts/types/GetApiRequestResponse.js +0 -5
  1726. package/dist/api/resources/accounts/types/GetEnvironmentResponse.js +0 -5
  1727. package/dist/api/resources/accounts/types/ListApiKeysParams.js +0 -5
  1728. package/dist/api/resources/accounts/types/ListApiKeysResponse.js +0 -5
  1729. package/dist/api/resources/accounts/types/ListApiRequestsParams.js +0 -5
  1730. package/dist/api/resources/accounts/types/ListApiRequestsResponse.js +0 -5
  1731. package/dist/api/resources/accounts/types/ListEnvironmentsParams.js +0 -5
  1732. package/dist/api/resources/accounts/types/ListEnvironmentsResponse.js +0 -5
  1733. package/dist/api/resources/accounts/types/QuickstartResponse.js +0 -5
  1734. package/dist/api/resources/accounts/types/UpdateApiKeyResponse.js +0 -5
  1735. package/dist/api/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.js +0 -11
  1736. package/dist/api/resources/accounts/types/UpdateEnvironmentResponse.js +0 -5
  1737. package/dist/api/resources/accounts/types/index.js +0 -38
  1738. package/dist/api/resources/billing/client/Client.js +0 -2585
  1739. package/dist/api/resources/billing/client/index.js +0 -17
  1740. package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.js +0 -5
  1741. package/dist/api/resources/billing/client/requests/CountCustomersRequest.js +0 -5
  1742. package/dist/api/resources/billing/client/requests/CreateBillingCustomerRequestBody.js +0 -5
  1743. package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.js +0 -5
  1744. package/dist/api/resources/billing/client/requests/CreateBillingProductRequestBody.js +0 -5
  1745. package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.js +0 -5
  1746. package/dist/api/resources/billing/client/requests/CreateCouponRequestBody.js +0 -5
  1747. package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.js +0 -5
  1748. package/dist/api/resources/billing/client/requests/CreateMeterRequestBody.js +0 -5
  1749. package/dist/api/resources/billing/client/requests/CreatePaymentMethodRequestBody.js +0 -5
  1750. package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.js +0 -5
  1751. package/dist/api/resources/billing/client/requests/ListCouponsRequest.js +0 -5
  1752. package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.js +0 -5
  1753. package/dist/api/resources/billing/client/requests/ListInvoicesRequest.js +0 -5
  1754. package/dist/api/resources/billing/client/requests/ListMetersRequest.js +0 -5
  1755. package/dist/api/resources/billing/client/requests/ListPaymentMethodsRequest.js +0 -5
  1756. package/dist/api/resources/billing/client/requests/ListProductPricesRequest.js +0 -5
  1757. package/dist/api/resources/billing/client/requests/SearchBillingPricesRequest.js +0 -5
  1758. package/dist/api/resources/billing/client/requests/index.js +0 -2
  1759. package/dist/api/resources/billing/index.js +0 -18
  1760. package/dist/api/resources/billing/types/CountBillingProductsParams.js +0 -5
  1761. package/dist/api/resources/billing/types/CountBillingProductsRequestPriceUsageType.js +0 -10
  1762. package/dist/api/resources/billing/types/CountBillingProductsResponse.js +0 -5
  1763. package/dist/api/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.js +0 -10
  1764. package/dist/api/resources/billing/types/CountCustomersParams.js +0 -5
  1765. package/dist/api/resources/billing/types/CountCustomersResponse.js +0 -5
  1766. package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.js +0 -10
  1767. package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.js +0 -10
  1768. package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyUsageType.js +0 -10
  1769. package/dist/api/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.js +0 -10
  1770. package/dist/api/resources/billing/types/DeleteBillingProductResponse.js +0 -5
  1771. package/dist/api/resources/billing/types/DeleteProductPriceResponse.js +0 -5
  1772. package/dist/api/resources/billing/types/ListBillingProductsParams.js +0 -5
  1773. package/dist/api/resources/billing/types/ListBillingProductsRequestPriceUsageType.js +0 -10
  1774. package/dist/api/resources/billing/types/ListBillingProductsResponse.js +0 -5
  1775. package/dist/api/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.js +0 -10
  1776. package/dist/api/resources/billing/types/ListCouponsParams.js +0 -5
  1777. package/dist/api/resources/billing/types/ListCouponsResponse.js +0 -5
  1778. package/dist/api/resources/billing/types/ListCustomersWithSubscriptionsParams.js +0 -5
  1779. package/dist/api/resources/billing/types/ListCustomersWithSubscriptionsResponse.js +0 -5
  1780. package/dist/api/resources/billing/types/ListInvoicesParams.js +0 -5
  1781. package/dist/api/resources/billing/types/ListInvoicesResponse.js +0 -5
  1782. package/dist/api/resources/billing/types/ListMetersParams.js +0 -5
  1783. package/dist/api/resources/billing/types/ListMetersResponse.js +0 -5
  1784. package/dist/api/resources/billing/types/ListPaymentMethodsParams.js +0 -5
  1785. package/dist/api/resources/billing/types/ListPaymentMethodsResponse.js +0 -5
  1786. package/dist/api/resources/billing/types/ListProductPricesParams.js +0 -5
  1787. package/dist/api/resources/billing/types/ListProductPricesRequestPriceUsageType.js +0 -10
  1788. package/dist/api/resources/billing/types/ListProductPricesResponse.js +0 -5
  1789. package/dist/api/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.js +0 -10
  1790. package/dist/api/resources/billing/types/SearchBillingPricesParams.js +0 -5
  1791. package/dist/api/resources/billing/types/SearchBillingPricesRequestTiersMode.js +0 -10
  1792. package/dist/api/resources/billing/types/SearchBillingPricesRequestUsageType.js +0 -10
  1793. package/dist/api/resources/billing/types/SearchBillingPricesResponse.js +0 -5
  1794. package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.js +0 -10
  1795. package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsUsageType.js +0 -10
  1796. package/dist/api/resources/billing/types/UpsertBillingCouponResponse.js +0 -5
  1797. package/dist/api/resources/billing/types/UpsertBillingCustomerResponse.js +0 -5
  1798. package/dist/api/resources/billing/types/UpsertBillingMeterResponse.js +0 -5
  1799. package/dist/api/resources/billing/types/UpsertBillingPriceResponse.js +0 -5
  1800. package/dist/api/resources/billing/types/UpsertBillingProductResponse.js +0 -5
  1801. package/dist/api/resources/billing/types/UpsertBillingSubscriptionResponse.js +0 -5
  1802. package/dist/api/resources/billing/types/UpsertInvoiceResponse.js +0 -5
  1803. package/dist/api/resources/billing/types/UpsertPaymentMethodResponse.js +0 -5
  1804. package/dist/api/resources/billing/types/index.js +0 -60
  1805. package/dist/api/resources/checkout/client/Client.js +0 -546
  1806. package/dist/api/resources/checkout/client/index.js +0 -17
  1807. package/dist/api/resources/checkout/client/requests/CheckoutDataRequestBody.js +0 -5
  1808. package/dist/api/resources/checkout/client/requests/UpdateTrialEndRequestBody.js +0 -5
  1809. package/dist/api/resources/checkout/client/requests/index.js +0 -2
  1810. package/dist/api/resources/checkout/index.js +0 -18
  1811. package/dist/api/resources/checkout/types/CheckoutInternalResponse.js +0 -5
  1812. package/dist/api/resources/checkout/types/GetCheckoutDataResponse.js +0 -5
  1813. package/dist/api/resources/checkout/types/PreviewCheckoutInternalResponse.js +0 -5
  1814. package/dist/api/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.js +0 -5
  1815. package/dist/api/resources/checkout/types/index.js +0 -20
  1816. package/dist/api/resources/companies/client/Client.js +0 -4102
  1817. package/dist/api/resources/companies/client/index.js +0 -17
  1818. package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.js +0 -5
  1819. package/dist/api/resources/companies/client/requests/CountCompaniesRequest.js +0 -5
  1820. package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.js +0 -5
  1821. package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.js +0 -5
  1822. package/dist/api/resources/companies/client/requests/CountUsersRequest.js +0 -5
  1823. package/dist/api/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.js +0 -5
  1824. package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.js +0 -5
  1825. package/dist/api/resources/companies/client/requests/GetActiveDealsRequest.js +0 -5
  1826. package/dist/api/resources/companies/client/requests/GetEntityTraitValuesRequest.js +0 -5
  1827. package/dist/api/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.js +0 -5
  1828. package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.js +0 -5
  1829. package/dist/api/resources/companies/client/requests/ListCompaniesRequest.js +0 -5
  1830. package/dist/api/resources/companies/client/requests/ListCompanyMembershipsRequest.js +0 -5
  1831. package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.js +0 -5
  1832. package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.js +0 -5
  1833. package/dist/api/resources/companies/client/requests/ListUsersRequest.js +0 -5
  1834. package/dist/api/resources/companies/client/requests/LookupCompanyRequest.js +0 -5
  1835. package/dist/api/resources/companies/client/requests/LookupUserRequest.js +0 -5
  1836. package/dist/api/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.js +0 -5
  1837. package/dist/api/resources/companies/client/requests/index.js +0 -2
  1838. package/dist/api/resources/companies/index.js +0 -18
  1839. package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.js +0 -5
  1840. package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.js +0 -10
  1841. package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponse.js +0 -5
  1842. package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +0 -10
  1843. package/dist/api/resources/companies/types/CountCompaniesParams.js +0 -5
  1844. package/dist/api/resources/companies/types/CountCompaniesResponse.js +0 -5
  1845. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsParams.js +0 -5
  1846. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.js +0 -10
  1847. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponse.js +0 -5
  1848. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.js +0 -10
  1849. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsParams.js +0 -5
  1850. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.js +0 -10
  1851. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.js +0 -14
  1852. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponse.js +0 -5
  1853. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.js +0 -10
  1854. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.js +0 -14
  1855. package/dist/api/resources/companies/types/CountUsersParams.js +0 -5
  1856. package/dist/api/resources/companies/types/CountUsersResponse.js +0 -5
  1857. package/dist/api/resources/companies/types/CreateCompanyResponse.js +0 -5
  1858. package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.js +0 -10
  1859. package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.js +0 -14
  1860. package/dist/api/resources/companies/types/CreateUserResponse.js +0 -5
  1861. package/dist/api/resources/companies/types/DeleteCompanyByKeysResponse.js +0 -5
  1862. package/dist/api/resources/companies/types/DeleteCompanyMembershipResponse.js +0 -5
  1863. package/dist/api/resources/companies/types/DeleteCompanyResponse.js +0 -5
  1864. package/dist/api/resources/companies/types/DeleteUserByKeysResponse.js +0 -5
  1865. package/dist/api/resources/companies/types/DeleteUserResponse.js +0 -5
  1866. package/dist/api/resources/companies/types/GetActiveCompanySubscriptionParams.js +0 -5
  1867. package/dist/api/resources/companies/types/GetActiveCompanySubscriptionResponse.js +0 -5
  1868. package/dist/api/resources/companies/types/GetActiveDealsParams.js +0 -5
  1869. package/dist/api/resources/companies/types/GetActiveDealsResponse.js +0 -5
  1870. package/dist/api/resources/companies/types/GetCompanyResponse.js +0 -5
  1871. package/dist/api/resources/companies/types/GetEntityTraitDefinitionResponse.js +0 -5
  1872. package/dist/api/resources/companies/types/GetEntityTraitValuesParams.js +0 -5
  1873. package/dist/api/resources/companies/types/GetEntityTraitValuesResponse.js +0 -5
  1874. package/dist/api/resources/companies/types/GetOrCreateCompanyMembershipResponse.js +0 -5
  1875. package/dist/api/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.js +0 -5
  1876. package/dist/api/resources/companies/types/GetUserResponse.js +0 -5
  1877. package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.js +0 -5
  1878. package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.js +0 -10
  1879. package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.js +0 -5
  1880. package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +0 -10
  1881. package/dist/api/resources/companies/types/ListCompaniesParams.js +0 -5
  1882. package/dist/api/resources/companies/types/ListCompaniesResponse.js +0 -5
  1883. package/dist/api/resources/companies/types/ListCompanyMembershipsParams.js +0 -5
  1884. package/dist/api/resources/companies/types/ListCompanyMembershipsResponse.js +0 -5
  1885. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsParams.js +0 -5
  1886. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.js +0 -10
  1887. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponse.js +0 -5
  1888. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.js +0 -10
  1889. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsParams.js +0 -5
  1890. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.js +0 -10
  1891. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.js +0 -14
  1892. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponse.js +0 -5
  1893. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.js +0 -10
  1894. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.js +0 -14
  1895. package/dist/api/resources/companies/types/ListUsersParams.js +0 -5
  1896. package/dist/api/resources/companies/types/ListUsersResponse.js +0 -5
  1897. package/dist/api/resources/companies/types/LookupCompanyParams.js +0 -5
  1898. package/dist/api/resources/companies/types/LookupCompanyResponse.js +0 -5
  1899. package/dist/api/resources/companies/types/LookupUserParams.js +0 -5
  1900. package/dist/api/resources/companies/types/LookupUserResponse.js +0 -5
  1901. package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.js +0 -14
  1902. package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionResponse.js +0 -5
  1903. package/dist/api/resources/companies/types/UpsertCompanyResponse.js +0 -5
  1904. package/dist/api/resources/companies/types/UpsertCompanyTraitResponse.js +0 -5
  1905. package/dist/api/resources/companies/types/UpsertUserResponse.js +0 -5
  1906. package/dist/api/resources/companies/types/UpsertUserTraitResponse.js +0 -5
  1907. package/dist/api/resources/companies/types/index.js +0 -84
  1908. package/dist/api/resources/components/client/Client.js +0 -846
  1909. package/dist/api/resources/components/client/index.js +0 -17
  1910. package/dist/api/resources/components/client/requests/CountComponentsRequest.js +0 -5
  1911. package/dist/api/resources/components/client/requests/CreateComponentRequestBody.js +0 -5
  1912. package/dist/api/resources/components/client/requests/ListComponentsRequest.js +0 -5
  1913. package/dist/api/resources/components/client/requests/PreviewComponentDataRequest.js +0 -5
  1914. package/dist/api/resources/components/client/requests/UpdateComponentRequestBody.js +0 -5
  1915. package/dist/api/resources/components/client/requests/index.js +0 -2
  1916. package/dist/api/resources/components/index.js +0 -18
  1917. package/dist/api/resources/components/types/CountComponentsParams.js +0 -5
  1918. package/dist/api/resources/components/types/CountComponentsResponse.js +0 -5
  1919. package/dist/api/resources/components/types/CreateComponentRequestBodyEntityType.js +0 -10
  1920. package/dist/api/resources/components/types/CreateComponentResponse.js +0 -5
  1921. package/dist/api/resources/components/types/DeleteComponentResponse.js +0 -5
  1922. package/dist/api/resources/components/types/GetComponentResponse.js +0 -5
  1923. package/dist/api/resources/components/types/ListComponentsParams.js +0 -5
  1924. package/dist/api/resources/components/types/ListComponentsResponse.js +0 -5
  1925. package/dist/api/resources/components/types/PreviewComponentDataParams.js +0 -5
  1926. package/dist/api/resources/components/types/PreviewComponentDataResponse.js +0 -5
  1927. package/dist/api/resources/components/types/UpdateComponentRequestBodyEntityType.js +0 -10
  1928. package/dist/api/resources/components/types/UpdateComponentRequestBodyState.js +0 -10
  1929. package/dist/api/resources/components/types/UpdateComponentResponse.js +0 -5
  1930. package/dist/api/resources/components/types/index.js +0 -29
  1931. package/dist/api/resources/credits/client/Client.js +0 -2338
  1932. package/dist/api/resources/credits/client/index.js +0 -17
  1933. package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.js +0 -5
  1934. package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.js +0 -5
  1935. package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.js +0 -5
  1936. package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.js +0 -5
  1937. package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.js +0 -5
  1938. package/dist/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.js +0 -5
  1939. package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.js +0 -5
  1940. package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.js +0 -5
  1941. package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.js +0 -5
  1942. package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.js +0 -5
  1943. package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.js +0 -5
  1944. package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.js +0 -5
  1945. package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.js +0 -5
  1946. package/dist/api/resources/credits/client/requests/ZeroOutGrantRequestBody.js +0 -5
  1947. package/dist/api/resources/credits/client/requests/index.js +0 -2
  1948. package/dist/api/resources/credits/index.js +0 -18
  1949. package/dist/api/resources/credits/types/CountBillingCreditsGrantsParams.js +0 -5
  1950. package/dist/api/resources/credits/types/CountBillingCreditsGrantsResponse.js +0 -5
  1951. package/dist/api/resources/credits/types/CountBillingCreditsParams.js +0 -5
  1952. package/dist/api/resources/credits/types/CountBillingCreditsResponse.js +0 -5
  1953. package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsParams.js +0 -5
  1954. package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsResponse.js +0 -5
  1955. package/dist/api/resources/credits/types/CountCreditBundlesParams.js +0 -5
  1956. package/dist/api/resources/credits/types/CountCreditBundlesRequestStatus.js +0 -10
  1957. package/dist/api/resources/credits/types/CountCreditBundlesResponse.js +0 -5
  1958. package/dist/api/resources/credits/types/CountCreditBundlesResponseParamsStatus.js +0 -10
  1959. package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.js +0 -12
  1960. package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.js +0 -11
  1961. package/dist/api/resources/credits/types/CreateBillingCreditResponse.js +0 -5
  1962. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.js +0 -12
  1963. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.js +0 -10
  1964. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantResponse.js +0 -5
  1965. package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.js +0 -10
  1966. package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyStatus.js +0 -10
  1967. package/dist/api/resources/credits/types/CreateCreditBundleResponse.js +0 -5
  1968. package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantResponse.js +0 -5
  1969. package/dist/api/resources/credits/types/DeleteCreditBundleResponse.js +0 -5
  1970. package/dist/api/resources/credits/types/GetCreditBundleResponse.js +0 -5
  1971. package/dist/api/resources/credits/types/GetSingleBillingCreditResponse.js +0 -5
  1972. package/dist/api/resources/credits/types/ListBillingCreditsParams.js +0 -5
  1973. package/dist/api/resources/credits/types/ListBillingCreditsResponse.js +0 -5
  1974. package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsParams.js +0 -5
  1975. package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsResponse.js +0 -5
  1976. package/dist/api/resources/credits/types/ListCompanyGrantsParams.js +0 -5
  1977. package/dist/api/resources/credits/types/ListCompanyGrantsRequestDir.js +0 -10
  1978. package/dist/api/resources/credits/types/ListCompanyGrantsRequestOrder.js +0 -12
  1979. package/dist/api/resources/credits/types/ListCompanyGrantsResponse.js +0 -5
  1980. package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsDir.js +0 -10
  1981. package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsOrder.js +0 -12
  1982. package/dist/api/resources/credits/types/ListCreditBundlesParams.js +0 -5
  1983. package/dist/api/resources/credits/types/ListCreditBundlesRequestStatus.js +0 -10
  1984. package/dist/api/resources/credits/types/ListCreditBundlesResponse.js +0 -5
  1985. package/dist/api/resources/credits/types/ListCreditBundlesResponseParamsStatus.js +0 -10
  1986. package/dist/api/resources/credits/types/ListGrantsForCreditParams.js +0 -5
  1987. package/dist/api/resources/credits/types/ListGrantsForCreditResponse.js +0 -5
  1988. package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.js +0 -12
  1989. package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.js +0 -11
  1990. package/dist/api/resources/credits/types/UpdateBillingCreditResponse.js +0 -5
  1991. package/dist/api/resources/credits/types/UpdateCreditBundleResponse.d.ts +0 -9
  1992. package/dist/api/resources/credits/types/UpdateCreditBundleResponse.js +0 -5
  1993. package/dist/api/resources/credits/types/ZeroOutGrantRequestBodyReason.js +0 -10
  1994. package/dist/api/resources/credits/types/ZeroOutGrantResponse.js +0 -5
  1995. package/dist/api/resources/credits/types/index.js +0 -61
  1996. package/dist/api/resources/crm/client/Client.js +0 -657
  1997. package/dist/api/resources/crm/client/index.js +0 -17
  1998. package/dist/api/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.js +0 -5
  1999. package/dist/api/resources/crm/client/requests/CreateCrmDealRequestBody.js +0 -5
  2000. package/dist/api/resources/crm/client/requests/CreateCrmLineItemRequestBody.js +0 -5
  2001. package/dist/api/resources/crm/client/requests/CreateCrmProductRequestBody.js +0 -5
  2002. package/dist/api/resources/crm/client/requests/ListCrmProductsRequest.js +0 -5
  2003. package/dist/api/resources/crm/client/requests/index.js +0 -2
  2004. package/dist/api/resources/crm/index.js +0 -18
  2005. package/dist/api/resources/crm/types/ListCrmProductsParams.js +0 -5
  2006. package/dist/api/resources/crm/types/ListCrmProductsResponse.js +0 -5
  2007. package/dist/api/resources/crm/types/UpsertCrmDealResponse.js +0 -5
  2008. package/dist/api/resources/crm/types/UpsertCrmProductResponse.js +0 -5
  2009. package/dist/api/resources/crm/types/UpsertDealLineItemAssociationResponse.js +0 -5
  2010. package/dist/api/resources/crm/types/UpsertLineItemResponse.js +0 -5
  2011. package/dist/api/resources/crm/types/index.js +0 -22
  2012. package/dist/api/resources/dataexports/client/Client.js +0 -265
  2013. package/dist/api/resources/dataexports/client/index.js +0 -17
  2014. package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.js +0 -5
  2015. package/dist/api/resources/dataexports/client/requests/index.js +0 -2
  2016. package/dist/api/resources/dataexports/index.js +0 -18
  2017. package/dist/api/resources/dataexports/types/CreateDataExportResponse.js +0 -5
  2018. package/dist/api/resources/dataexports/types/index.js +0 -17
  2019. package/dist/api/resources/entitlements/client/Client.js +0 -2431
  2020. package/dist/api/resources/entitlements/client/index.js +0 -17
  2021. package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.js +0 -5
  2022. package/dist/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.js +0 -5
  2023. package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.js +0 -5
  2024. package/dist/api/resources/entitlements/client/requests/CountFeatureUsersRequest.js +0 -5
  2025. package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.js +0 -5
  2026. package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +0 -5
  2027. package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +0 -5
  2028. package/dist/api/resources/entitlements/client/requests/GetFeatureUsageByCompanyRequest.js +0 -5
  2029. package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.js +0 -5
  2030. package/dist/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.js +0 -5
  2031. package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.js +0 -5
  2032. package/dist/api/resources/entitlements/client/requests/ListFeatureUsersRequest.js +0 -5
  2033. package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.js +0 -5
  2034. package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +0 -5
  2035. package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +0 -5
  2036. package/dist/api/resources/entitlements/client/requests/index.js +0 -2
  2037. package/dist/api/resources/entitlements/index.js +0 -18
  2038. package/dist/api/resources/entitlements/types/CountCompanyOverridesParams.js +0 -5
  2039. package/dist/api/resources/entitlements/types/CountCompanyOverridesResponse.js +0 -5
  2040. package/dist/api/resources/entitlements/types/CountFeatureCompaniesParams.js +0 -5
  2041. package/dist/api/resources/entitlements/types/CountFeatureCompaniesResponse.js +0 -5
  2042. package/dist/api/resources/entitlements/types/CountFeatureUsageParams.js +0 -5
  2043. package/dist/api/resources/entitlements/types/CountFeatureUsageResponse.js +0 -5
  2044. package/dist/api/resources/entitlements/types/CountFeatureUsersParams.js +0 -5
  2045. package/dist/api/resources/entitlements/types/CountFeatureUsersResponse.js +0 -5
  2046. package/dist/api/resources/entitlements/types/CountPlanEntitlementsParams.js +0 -5
  2047. package/dist/api/resources/entitlements/types/CountPlanEntitlementsResponse.js +0 -5
  2048. package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.js +0 -12
  2049. package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +0 -10
  2050. package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js +0 -13
  2051. package/dist/api/resources/entitlements/types/CreateCompanyOverrideResponse.js +0 -5
  2052. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.js +0 -12
  2053. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +0 -10
  2054. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.js +0 -13
  2055. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js +0 -13
  2056. package/dist/api/resources/entitlements/types/CreatePlanEntitlementResponse.js +0 -5
  2057. package/dist/api/resources/entitlements/types/DeleteCompanyOverrideResponse.js +0 -5
  2058. package/dist/api/resources/entitlements/types/DeletePlanEntitlementResponse.js +0 -5
  2059. package/dist/api/resources/entitlements/types/GetCompanyOverrideResponse.js +0 -5
  2060. package/dist/api/resources/entitlements/types/GetFeatureUsageByCompanyParams.js +0 -5
  2061. package/dist/api/resources/entitlements/types/GetFeatureUsageByCompanyResponse.js +0 -5
  2062. package/dist/api/resources/entitlements/types/GetPlanEntitlementResponse.js +0 -5
  2063. package/dist/api/resources/entitlements/types/ListCompanyOverridesParams.js +0 -5
  2064. package/dist/api/resources/entitlements/types/ListCompanyOverridesResponse.js +0 -5
  2065. package/dist/api/resources/entitlements/types/ListFeatureCompaniesParams.js +0 -5
  2066. package/dist/api/resources/entitlements/types/ListFeatureCompaniesResponse.js +0 -5
  2067. package/dist/api/resources/entitlements/types/ListFeatureUsageParams.js +0 -5
  2068. package/dist/api/resources/entitlements/types/ListFeatureUsageResponse.js +0 -5
  2069. package/dist/api/resources/entitlements/types/ListFeatureUsersParams.js +0 -5
  2070. package/dist/api/resources/entitlements/types/ListFeatureUsersResponse.js +0 -5
  2071. package/dist/api/resources/entitlements/types/ListPlanEntitlementsParams.js +0 -5
  2072. package/dist/api/resources/entitlements/types/ListPlanEntitlementsResponse.js +0 -5
  2073. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.js +0 -12
  2074. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +0 -10
  2075. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js +0 -13
  2076. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideResponse.js +0 -5
  2077. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.js +0 -12
  2078. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +0 -10
  2079. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.js +0 -13
  2080. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js +0 -13
  2081. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementResponse.js +0 -5
  2082. package/dist/api/resources/entitlements/types/index.js +0 -60
  2083. package/dist/api/resources/events/client/Client.js +0 -757
  2084. package/dist/api/resources/events/client/index.js +0 -17
  2085. package/dist/api/resources/events/client/requests/CreateEventBatchRequestBody.js +0 -5
  2086. package/dist/api/resources/events/client/requests/GetEventSummariesRequest.js +0 -5
  2087. package/dist/api/resources/events/client/requests/ListEventsRequest.js +0 -5
  2088. package/dist/api/resources/events/client/requests/index.js +0 -2
  2089. package/dist/api/resources/events/index.js +0 -18
  2090. package/dist/api/resources/events/types/CreateEventBatchResponse.js +0 -5
  2091. package/dist/api/resources/events/types/CreateEventResponse.js +0 -5
  2092. package/dist/api/resources/events/types/GetEventResponse.js +0 -5
  2093. package/dist/api/resources/events/types/GetEventSummariesParams.js +0 -5
  2094. package/dist/api/resources/events/types/GetEventSummariesResponse.js +0 -5
  2095. package/dist/api/resources/events/types/GetSegmentIntegrationStatusResponse.js +0 -5
  2096. package/dist/api/resources/events/types/ListEventsParams.js +0 -5
  2097. package/dist/api/resources/events/types/ListEventsRequestEventTypesItem.js +0 -11
  2098. package/dist/api/resources/events/types/ListEventsResponse.js +0 -5
  2099. package/dist/api/resources/events/types/ListEventsResponseParamsEventTypesItem.js +0 -11
  2100. package/dist/api/resources/events/types/index.js +0 -26
  2101. package/dist/api/resources/features/client/Client.js +0 -2324
  2102. package/dist/api/resources/features/client/index.js +0 -17
  2103. package/dist/api/resources/features/client/requests/CountFeaturesRequest.js +0 -5
  2104. package/dist/api/resources/features/client/requests/CountFlagsRequest.js +0 -5
  2105. package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.js +0 -5
  2106. package/dist/api/resources/features/client/requests/ListFeaturesRequest.js +0 -5
  2107. package/dist/api/resources/features/client/requests/ListFlagsRequest.js +0 -5
  2108. package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.js +0 -5
  2109. package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.js +0 -5
  2110. package/dist/api/resources/features/client/requests/index.js +0 -2
  2111. package/dist/api/resources/features/index.js +0 -18
  2112. package/dist/api/resources/features/types/CheckFlagResponse.js +0 -5
  2113. package/dist/api/resources/features/types/CheckFlagsResponse.js +0 -5
  2114. package/dist/api/resources/features/types/CountAudienceCompaniesResponse.js +0 -5
  2115. package/dist/api/resources/features/types/CountAudienceUsersResponse.js +0 -5
  2116. package/dist/api/resources/features/types/CountFeaturesParams.js +0 -5
  2117. package/dist/api/resources/features/types/CountFeaturesResponse.js +0 -5
  2118. package/dist/api/resources/features/types/CountFlagsParams.js +0 -5
  2119. package/dist/api/resources/features/types/CountFlagsResponse.js +0 -5
  2120. package/dist/api/resources/features/types/CreateFeatureRequestBodyFeatureType.js +0 -11
  2121. package/dist/api/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.js +0 -17
  2122. package/dist/api/resources/features/types/CreateFeatureResponse.js +0 -5
  2123. package/dist/api/resources/features/types/CreateFlagResponse.js +0 -5
  2124. package/dist/api/resources/features/types/DeleteFeatureResponse.js +0 -5
  2125. package/dist/api/resources/features/types/DeleteFlagResponse.js +0 -5
  2126. package/dist/api/resources/features/types/GetFeatureResponse.js +0 -5
  2127. package/dist/api/resources/features/types/GetFlagResponse.js +0 -5
  2128. package/dist/api/resources/features/types/ListAudienceCompaniesResponse.js +0 -5
  2129. package/dist/api/resources/features/types/ListAudienceUsersResponse.js +0 -5
  2130. package/dist/api/resources/features/types/ListFeaturesParams.js +0 -5
  2131. package/dist/api/resources/features/types/ListFeaturesResponse.js +0 -5
  2132. package/dist/api/resources/features/types/ListFlagsParams.js +0 -5
  2133. package/dist/api/resources/features/types/ListFlagsResponse.js +0 -5
  2134. package/dist/api/resources/features/types/UpdateFeatureRequestBodyFeatureType.js +0 -11
  2135. package/dist/api/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.js +0 -17
  2136. package/dist/api/resources/features/types/UpdateFeatureResponse.js +0 -5
  2137. package/dist/api/resources/features/types/UpdateFlagResponse.js +0 -5
  2138. package/dist/api/resources/features/types/UpdateFlagRulesResponse.js +0 -5
  2139. package/dist/api/resources/features/types/index.js +0 -43
  2140. package/dist/api/resources/index.js +0 -84
  2141. package/dist/api/resources/plangroups/client/Client.js +0 -396
  2142. package/dist/api/resources/plangroups/client/index.js +0 -17
  2143. package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.js +0 -5
  2144. package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.js +0 -5
  2145. package/dist/api/resources/plangroups/client/requests/index.js +0 -2
  2146. package/dist/api/resources/plangroups/index.js +0 -18
  2147. package/dist/api/resources/plangroups/types/CreatePlanGroupResponse.js +0 -5
  2148. package/dist/api/resources/plangroups/types/GetPlanGroupResponse.js +0 -5
  2149. package/dist/api/resources/plangroups/types/UpdatePlanGroupResponse.js +0 -5
  2150. package/dist/api/resources/plangroups/types/index.js +0 -19
  2151. package/dist/api/resources/plans/client/Client.js +0 -2047
  2152. package/dist/api/resources/plans/client/index.js +0 -17
  2153. package/dist/api/resources/plans/client/requests/CountPlanTraitsRequest.js +0 -5
  2154. package/dist/api/resources/plans/client/requests/CountPlansRequest.js +0 -5
  2155. package/dist/api/resources/plans/client/requests/CreatePlanRequestBody.js +0 -5
  2156. package/dist/api/resources/plans/client/requests/CreatePlanTraitRequestBody.d.ts +0 -16
  2157. package/dist/api/resources/plans/client/requests/CreatePlanTraitRequestBody.js +0 -5
  2158. package/dist/api/resources/plans/client/requests/ListPlanTraitsRequest.d.ts +0 -20
  2159. package/dist/api/resources/plans/client/requests/ListPlanTraitsRequest.js +0 -5
  2160. package/dist/api/resources/plans/client/requests/ListPlansRequest.js +0 -5
  2161. package/dist/api/resources/plans/client/requests/UpdateAudienceRequestBody.js +0 -5
  2162. package/dist/api/resources/plans/client/requests/UpdateCompanyPlansRequestBody.js +0 -5
  2163. package/dist/api/resources/plans/client/requests/UpdatePlanRequestBody.js +0 -5
  2164. package/dist/api/resources/plans/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -14
  2165. package/dist/api/resources/plans/client/requests/UpdatePlanTraitRequestBody.js +0 -5
  2166. package/dist/api/resources/plans/client/requests/UpsertBillingProductRequestBody.js +0 -5
  2167. package/dist/api/resources/plans/client/requests/index.js +0 -2
  2168. package/dist/api/resources/plans/index.js +0 -18
  2169. package/dist/api/resources/plans/types/CountPlanTraitsParams.js +0 -5
  2170. package/dist/api/resources/plans/types/CountPlanTraitsResponse.d.ts +0 -9
  2171. package/dist/api/resources/plans/types/CountPlanTraitsResponse.js +0 -5
  2172. package/dist/api/resources/plans/types/CountPlansParams.js +0 -5
  2173. package/dist/api/resources/plans/types/CountPlansRequestPlanType.js +0 -10
  2174. package/dist/api/resources/plans/types/CountPlansResponse.js +0 -5
  2175. package/dist/api/resources/plans/types/CountPlansResponseParamsPlanType.js +0 -10
  2176. package/dist/api/resources/plans/types/CreatePlanRequestBodyPlanType.js +0 -10
  2177. package/dist/api/resources/plans/types/CreatePlanResponse.js +0 -5
  2178. package/dist/api/resources/plans/types/CreatePlanTraitResponse.d.ts +0 -9
  2179. package/dist/api/resources/plans/types/CreatePlanTraitResponse.js +0 -5
  2180. package/dist/api/resources/plans/types/DeleteAudienceResponse.js +0 -5
  2181. package/dist/api/resources/plans/types/DeletePlanResponse.js +0 -5
  2182. package/dist/api/resources/plans/types/DeletePlanTraitResponse.d.ts +0 -9
  2183. package/dist/api/resources/plans/types/DeletePlanTraitResponse.js +0 -5
  2184. package/dist/api/resources/plans/types/GetAudienceResponse.js +0 -5
  2185. package/dist/api/resources/plans/types/GetPlanResponse.js +0 -5
  2186. package/dist/api/resources/plans/types/GetPlanTraitResponse.d.ts +0 -9
  2187. package/dist/api/resources/plans/types/GetPlanTraitResponse.js +0 -5
  2188. package/dist/api/resources/plans/types/ListPlanTraitsParams.d.ts +0 -15
  2189. package/dist/api/resources/plans/types/ListPlanTraitsParams.js +0 -5
  2190. package/dist/api/resources/plans/types/ListPlanTraitsResponse.d.ts +0 -10
  2191. package/dist/api/resources/plans/types/ListPlanTraitsResponse.js +0 -5
  2192. package/dist/api/resources/plans/types/ListPlansParams.js +0 -5
  2193. package/dist/api/resources/plans/types/ListPlansRequestPlanType.js +0 -10
  2194. package/dist/api/resources/plans/types/ListPlansResponse.js +0 -5
  2195. package/dist/api/resources/plans/types/ListPlansResponseParamsPlanType.js +0 -10
  2196. package/dist/api/resources/plans/types/UpdateAudienceResponse.js +0 -5
  2197. package/dist/api/resources/plans/types/UpdateCompanyPlansResponse.js +0 -5
  2198. package/dist/api/resources/plans/types/UpdatePlanResponse.js +0 -5
  2199. package/dist/api/resources/plans/types/UpdatePlanTraitResponse.d.ts +0 -9
  2200. package/dist/api/resources/plans/types/UpdatePlanTraitResponse.js +0 -5
  2201. package/dist/api/resources/plans/types/UpsertBillingProductPlanResponse.js +0 -5
  2202. package/dist/api/resources/plans/types/UpsertBillingProductRequestBodyChargeType.js +0 -11
  2203. package/dist/api/resources/plans/types/index.js +0 -43
  2204. package/dist/api/resources/webhooks/client/Client.js +0 -1100
  2205. package/dist/api/resources/webhooks/client/index.js +0 -17
  2206. package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.js +0 -5
  2207. package/dist/api/resources/webhooks/client/requests/CountWebhooksRequest.js +0 -5
  2208. package/dist/api/resources/webhooks/client/requests/CreateWebhookRequestBody.js +0 -5
  2209. package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.js +0 -5
  2210. package/dist/api/resources/webhooks/client/requests/ListWebhooksRequest.js +0 -5
  2211. package/dist/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.js +0 -5
  2212. package/dist/api/resources/webhooks/client/requests/index.js +0 -2
  2213. package/dist/api/resources/webhooks/index.js +0 -18
  2214. package/dist/api/resources/webhooks/types/CountWebhookEventsParams.js +0 -5
  2215. package/dist/api/resources/webhooks/types/CountWebhookEventsResponse.js +0 -5
  2216. package/dist/api/resources/webhooks/types/CountWebhooksParams.js +0 -5
  2217. package/dist/api/resources/webhooks/types/CountWebhooksResponse.js +0 -5
  2218. package/dist/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +0 -36
  2219. package/dist/api/resources/webhooks/types/CreateWebhookResponse.js +0 -5
  2220. package/dist/api/resources/webhooks/types/DeleteWebhookResponse.js +0 -5
  2221. package/dist/api/resources/webhooks/types/GetWebhookEventResponse.js +0 -5
  2222. package/dist/api/resources/webhooks/types/GetWebhookResponse.js +0 -5
  2223. package/dist/api/resources/webhooks/types/ListWebhookEventsParams.js +0 -5
  2224. package/dist/api/resources/webhooks/types/ListWebhookEventsResponse.js +0 -5
  2225. package/dist/api/resources/webhooks/types/ListWebhooksParams.js +0 -5
  2226. package/dist/api/resources/webhooks/types/ListWebhooksResponse.js +0 -5
  2227. package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +0 -36
  2228. package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyStatus.js +0 -10
  2229. package/dist/api/resources/webhooks/types/UpdateWebhookResponse.js +0 -5
  2230. package/dist/api/resources/webhooks/types/index.js +0 -32
  2231. package/dist/api/types/ApiError.js +0 -5
  2232. package/dist/api/types/ApiKeyCreateResponseData.js +0 -5
  2233. package/dist/api/types/ApiKeyRequestListResponseData.js +0 -5
  2234. package/dist/api/types/ApiKeyRequestResponseData.js +0 -5
  2235. package/dist/api/types/ApiKeyResponseData.js +0 -5
  2236. package/dist/api/types/AudienceRequestBody.js +0 -5
  2237. package/dist/api/types/BillingCouponResponseData.js +0 -5
  2238. package/dist/api/types/BillingCreditBundleResponseData.js +0 -5
  2239. package/dist/api/types/BillingCreditGrantResponseData.js +0 -5
  2240. package/dist/api/types/BillingCreditResponseData.js +0 -5
  2241. package/dist/api/types/BillingCustomerResponseData.js +0 -5
  2242. package/dist/api/types/BillingCustomerSubscription.js +0 -5
  2243. package/dist/api/types/BillingCustomerWithSubscriptionsResponseData.js +0 -5
  2244. package/dist/api/types/BillingMeterResponseData.js +0 -5
  2245. package/dist/api/types/BillingPlanCreditGrantResponseData.js +0 -5
  2246. package/dist/api/types/BillingPriceResponseData.js +0 -5
  2247. package/dist/api/types/BillingPriceView.js +0 -5
  2248. package/dist/api/types/BillingProductDetailResponseData.js +0 -5
  2249. package/dist/api/types/BillingProductForSubscriptionResponseData.js +0 -5
  2250. package/dist/api/types/BillingProductPlanResponseData.js +0 -5
  2251. package/dist/api/types/BillingProductPriceResponseData.js +0 -5
  2252. package/dist/api/types/BillingProductPriceTierResponseData.js +0 -5
  2253. package/dist/api/types/BillingProductPricing.js +0 -5
  2254. package/dist/api/types/BillingProductPricingUsageType.js +0 -10
  2255. package/dist/api/types/BillingProductResponseData.js +0 -5
  2256. package/dist/api/types/BillingSubscriptionDiscount.js +0 -5
  2257. package/dist/api/types/BillingSubscriptionDiscountView.js +0 -5
  2258. package/dist/api/types/BillingSubscriptionResponseData.js +0 -5
  2259. package/dist/api/types/BillingSubscriptionView.js +0 -5
  2260. package/dist/api/types/ChangeSubscriptionInternalRequestBody.js +0 -5
  2261. package/dist/api/types/ChangeSubscriptionRequestBody.js +0 -5
  2262. package/dist/api/types/CheckFlagRequestBody.js +0 -5
  2263. package/dist/api/types/CheckFlagResponseData.js +0 -5
  2264. package/dist/api/types/CheckFlagsResponseData.js +0 -5
  2265. package/dist/api/types/CheckoutDataResponseData.js +0 -5
  2266. package/dist/api/types/CompanyCrmDealsResponseData.js +0 -5
  2267. package/dist/api/types/CompanyDetailResponseData.js +0 -5
  2268. package/dist/api/types/CompanyEventPeriodMetricsResponseData.js +0 -5
  2269. package/dist/api/types/CompanyMembershipDetailResponseData.js +0 -5
  2270. package/dist/api/types/CompanyMembershipResponseData.js +0 -5
  2271. package/dist/api/types/CompanyOverrideResponseData.js +0 -5
  2272. package/dist/api/types/CompanyPlanDetailResponseData.js +0 -5
  2273. package/dist/api/types/CompanyPlanWithBillingSubView.js +0 -5
  2274. package/dist/api/types/CompanyResponseData.js +0 -5
  2275. package/dist/api/types/CompanySubscriptionResponseData.js +0 -5
  2276. package/dist/api/types/CompanyViewWithFeatureUsageResponseData.js +0 -5
  2277. package/dist/api/types/CompatiblePlans.js +0 -5
  2278. package/dist/api/types/CompatiblePlansResponseData.js +0 -5
  2279. package/dist/api/types/ComponentCapabilities.js +0 -5
  2280. package/dist/api/types/ComponentHydrateResponseData.js +0 -5
  2281. package/dist/api/types/ComponentPreviewResponseData.js +0 -5
  2282. package/dist/api/types/ComponentResponseData.js +0 -5
  2283. package/dist/api/types/CountResponse.js +0 -5
  2284. package/dist/api/types/CouponRequestBody.js +0 -5
  2285. package/dist/api/types/CreateBillingPriceTierRequestBody.js +0 -5
  2286. package/dist/api/types/CreateEntitlementReqCommon.js +0 -5
  2287. package/dist/api/types/CreateEntitlementReqCommonMetricPeriod.js +0 -12
  2288. package/dist/api/types/CreateEntitlementReqCommonMetricPeriodMonthReset.js +0 -10
  2289. package/dist/api/types/CreateEntitlementReqCommonValueType.js +0 -13
  2290. package/dist/api/types/CreateEventRequestBody.js +0 -5
  2291. package/dist/api/types/CreateEventRequestBodyEventType.js +0 -11
  2292. package/dist/api/types/CreateFlagRequestBody.js +0 -5
  2293. package/dist/api/types/CreateOrUpdateConditionGroupRequestBody.js +0 -5
  2294. package/dist/api/types/CreateOrUpdateConditionRequestBody.js +0 -5
  2295. package/dist/api/types/CreateOrUpdateConditionRequestBodyConditionType.js +0 -16
  2296. package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.js +0 -12
  2297. package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.js +0 -10
  2298. package/dist/api/types/CreateOrUpdateConditionRequestBodyOperator.js +0 -16
  2299. package/dist/api/types/CreateOrUpdateFlagRequestBody.js +0 -5
  2300. package/dist/api/types/CreateOrUpdateRuleRequestBody.js +0 -5
  2301. package/dist/api/types/CreateOrUpdateRuleRequestBodyRuleType.js +0 -14
  2302. package/dist/api/types/CreatePriceTierRequestBody.js +0 -5
  2303. package/dist/api/types/CreditBundlePurchaseResponseData.js +0 -5
  2304. package/dist/api/types/CrmDealLineItem.js +0 -5
  2305. package/dist/api/types/CrmDealResponseData.js +0 -5
  2306. package/dist/api/types/CrmLineItemResponseData.js +0 -5
  2307. package/dist/api/types/CrmProductResponseData.js +0 -5
  2308. package/dist/api/types/CustomPlanConfig.js +0 -5
  2309. package/dist/api/types/CustomPlanViewConfigResponseData.js +0 -5
  2310. package/dist/api/types/DataExportResponseData.js +0 -5
  2311. package/dist/api/types/Decimal.js +0 -5
  2312. package/dist/api/types/DeleteResponse.js +0 -5
  2313. package/dist/api/types/EntitlementTriggerConfig.js +0 -5
  2314. package/dist/api/types/EntitlementsInPlan.js +0 -5
  2315. package/dist/api/types/EntityKeyDefinitionResponseData.js +0 -5
  2316. package/dist/api/types/EntityKeyDetailResponseData.js +0 -5
  2317. package/dist/api/types/EntityKeyResponseData.js +0 -5
  2318. package/dist/api/types/EntityTraitDefinitionResponseData.js +0 -5
  2319. package/dist/api/types/EntityTraitDetailResponseData.js +0 -5
  2320. package/dist/api/types/EntityTraitResponseData.js +0 -5
  2321. package/dist/api/types/EntityTraitValue.js +0 -5
  2322. package/dist/api/types/EnvironmentDetailResponseData.js +0 -5
  2323. package/dist/api/types/EnvironmentResponseData.js +0 -5
  2324. package/dist/api/types/EventBody.js +0 -5
  2325. package/dist/api/types/EventBodyFlagCheck.js +0 -5
  2326. package/dist/api/types/EventBodyIdentify.js +0 -5
  2327. package/dist/api/types/EventBodyIdentifyCompany.js +0 -5
  2328. package/dist/api/types/EventBodyTrack.js +0 -5
  2329. package/dist/api/types/EventDetailResponseData.js +0 -5
  2330. package/dist/api/types/EventResponseData.js +0 -5
  2331. package/dist/api/types/EventSummaryResponseData.js +0 -5
  2332. package/dist/api/types/FeatureCompanyResponseData.js +0 -5
  2333. package/dist/api/types/FeatureCompanyResponseDataAllocationType.js +0 -12
  2334. package/dist/api/types/FeatureCompanyUserResponseData.js +0 -5
  2335. package/dist/api/types/FeatureCompanyUserResponseDataAllocationType.js +0 -12
  2336. package/dist/api/types/FeatureDetailResponseData.js +0 -5
  2337. package/dist/api/types/FeatureResponseData.js +0 -5
  2338. package/dist/api/types/FeatureUsageDataResponseData.js +0 -5
  2339. package/dist/api/types/FeatureUsageDetailResponseData.js +0 -5
  2340. package/dist/api/types/FeatureUsageResponseData.js +0 -5
  2341. package/dist/api/types/FeatureUsageResponseDataAllocationType.js +0 -12
  2342. package/dist/api/types/FlagDetailResponseData.js +0 -5
  2343. package/dist/api/types/FlagResponseData.js +0 -5
  2344. package/dist/api/types/GenericPreviewObject.js +0 -5
  2345. package/dist/api/types/InvoiceRequestBody.js +0 -5
  2346. package/dist/api/types/InvoiceResponseData.js +0 -5
  2347. package/dist/api/types/IssueTemporaryAccessTokenResponseData.js +0 -5
  2348. package/dist/api/types/KeysRequestBody.js +0 -5
  2349. package/dist/api/types/MeterRequestBody.js +0 -5
  2350. package/dist/api/types/OrderedPlansInGroup.js +0 -5
  2351. package/dist/api/types/PaginationFilter.js +0 -5
  2352. package/dist/api/types/PaymentMethodRequestBody.js +0 -5
  2353. package/dist/api/types/PaymentMethodResponseData.js +0 -5
  2354. package/dist/api/types/PlanAudienceDetailResponseData.js +0 -5
  2355. package/dist/api/types/PlanAudienceResponseData.js +0 -5
  2356. package/dist/api/types/PlanDetailResponseData.js +0 -5
  2357. package/dist/api/types/PlanEntitlementResponseData.js +0 -5
  2358. package/dist/api/types/PlanEntitlementsOrder.js +0 -5
  2359. package/dist/api/types/PlanGroupDetailResponseData.js +0 -5
  2360. package/dist/api/types/PlanGroupPlanDetailResponseData.js +0 -5
  2361. package/dist/api/types/PlanGroupPlanEntitlementsOrder.js +0 -5
  2362. package/dist/api/types/PlanGroupResponseData.js +0 -5
  2363. package/dist/api/types/PlanResponseData.js +0 -5
  2364. package/dist/api/types/PlanTraitResponseData.js +0 -5
  2365. package/dist/api/types/PreviewObject.js +0 -5
  2366. package/dist/api/types/PreviewObjectResponseData.js +0 -5
  2367. package/dist/api/types/PreviewSubscriptionChangeResponseData.js +0 -5
  2368. package/dist/api/types/PreviewSubscriptionFinanceResponseData.js +0 -5
  2369. package/dist/api/types/PreviewSubscriptionUpcomingInvoiceLineItems.js +0 -5
  2370. package/dist/api/types/QuickstartResp.js +0 -5
  2371. package/dist/api/types/RawEventBatchResponseData.js +0 -5
  2372. package/dist/api/types/RawEventResponseData.js +0 -5
  2373. package/dist/api/types/RuleConditionDetailResponseData.js +0 -5
  2374. package/dist/api/types/RuleConditionGroupDetailResponseData.js +0 -5
  2375. package/dist/api/types/RuleConditionGroupResponseData.js +0 -5
  2376. package/dist/api/types/RuleConditionResponseData.js +0 -5
  2377. package/dist/api/types/RuleDetailResponseData.js +0 -5
  2378. package/dist/api/types/RuleResponseData.js +0 -5
  2379. package/dist/api/types/RulesDetailResponseData.js +0 -5
  2380. package/dist/api/types/SegmentStatusResp.js +0 -5
  2381. package/dist/api/types/StripeEmbedInfo.js +0 -5
  2382. package/dist/api/types/TemporaryAccessTokenResponseData.js +0 -5
  2383. package/dist/api/types/UpdateAddOnRequestBody.js +0 -5
  2384. package/dist/api/types/UpdateCreditBundleRequestBody.js +0 -5
  2385. package/dist/api/types/UpdateEntitlementReqCommon.js +0 -5
  2386. package/dist/api/types/UpdateEntitlementReqCommonMetricPeriod.js +0 -12
  2387. package/dist/api/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.js +0 -10
  2388. package/dist/api/types/UpdateEntitlementReqCommonValueType.js +0 -13
  2389. package/dist/api/types/UpdatePayInAdvanceRequestBody.js +0 -5
  2390. package/dist/api/types/UpdateRuleRequestBody.js +0 -5
  2391. package/dist/api/types/UpsertCompanyRequestBody.js +0 -5
  2392. package/dist/api/types/UpsertTraitRequestBody.js +0 -5
  2393. package/dist/api/types/UpsertUserRequestBody.js +0 -5
  2394. package/dist/api/types/UpsertUserSubRequestBody.js +0 -5
  2395. package/dist/api/types/UsageBasedEntitlementRequestBody.js +0 -5
  2396. package/dist/api/types/UsageBasedEntitlementRequestBodyPriceBehavior.js +0 -13
  2397. package/dist/api/types/UsageBasedEntitlementResponseData.js +0 -5
  2398. package/dist/api/types/UserDetailResponseData.js +0 -5
  2399. package/dist/api/types/UserResponseData.js +0 -5
  2400. package/dist/api/types/WebhookEventDetailResponseData.js +0 -5
  2401. package/dist/api/types/WebhookEventResponseData.js +0 -5
  2402. package/dist/api/types/WebhookResponseData.js +0 -5
  2403. package/dist/api/types/index.js +0 -188
  2404. package/dist/cache.js +0 -102
  2405. package/dist/cache.test.d.ts +0 -1
  2406. package/dist/cache.test.js +0 -87
  2407. package/dist/core/fetcher/APIResponse.js +0 -2
  2408. package/dist/core/fetcher/Fetcher.js +0 -107
  2409. package/dist/core/fetcher/Headers.js +0 -84
  2410. package/dist/core/fetcher/HttpResponsePromise.js +0 -103
  2411. package/dist/core/fetcher/RawResponse.js +0 -44
  2412. package/dist/core/fetcher/Supplier.js +0 -22
  2413. package/dist/core/fetcher/createRequestUrl.js +0 -12
  2414. package/dist/core/fetcher/custom.js +0 -132
  2415. package/dist/core/fetcher/getFetchFn.js +0 -68
  2416. package/dist/core/fetcher/getHeader.js +0 -11
  2417. package/dist/core/fetcher/getRequestBody.js +0 -23
  2418. package/dist/core/fetcher/getResponseBody.js +0 -54
  2419. package/dist/core/fetcher/index.js +0 -15
  2420. package/dist/core/fetcher/makeRequest.js +0 -42
  2421. package/dist/core/fetcher/requestWithRetries.js +0 -40
  2422. package/dist/core/fetcher/signals.js +0 -36
  2423. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
  2424. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
  2425. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
  2426. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  2427. package/dist/core/index.js +0 -42
  2428. package/dist/core/json.js +0 -24
  2429. package/dist/core/runtime/index.js +0 -5
  2430. package/dist/core/runtime/runtime.js +0 -103
  2431. package/dist/core/schemas/Schema.js +0 -24
  2432. package/dist/core/schemas/builders/bigint/bigint.js +0 -53
  2433. package/dist/core/schemas/builders/bigint/index.js +0 -5
  2434. package/dist/core/schemas/builders/date/date.js +0 -62
  2435. package/dist/core/schemas/builders/date/index.js +0 -5
  2436. package/dist/core/schemas/builders/enum/enum.js +0 -38
  2437. package/dist/core/schemas/builders/enum/index.js +0 -5
  2438. package/dist/core/schemas/builders/index.js +0 -30
  2439. package/dist/core/schemas/builders/lazy/index.js +0 -7
  2440. package/dist/core/schemas/builders/lazy/lazy.js +0 -24
  2441. package/dist/core/schemas/builders/lazy/lazyObject.js +0 -11
  2442. package/dist/core/schemas/builders/list/index.js +0 -5
  2443. package/dist/core/schemas/builders/list/list.js +0 -54
  2444. package/dist/core/schemas/builders/literals/booleanLiteral.js +0 -28
  2445. package/dist/core/schemas/builders/literals/index.js +0 -7
  2446. package/dist/core/schemas/builders/literals/stringLiteral.js +0 -28
  2447. package/dist/core/schemas/builders/object/index.js +0 -11
  2448. package/dist/core/schemas/builders/object/object.js +0 -261
  2449. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -7
  2450. package/dist/core/schemas/builders/object/property.js +0 -15
  2451. package/dist/core/schemas/builders/object/types.js +0 -2
  2452. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -53
  2453. package/dist/core/schemas/builders/object-like/index.js +0 -6
  2454. package/dist/core/schemas/builders/object-like/types.js +0 -2
  2455. package/dist/core/schemas/builders/primitives/any.js +0 -6
  2456. package/dist/core/schemas/builders/primitives/boolean.js +0 -25
  2457. package/dist/core/schemas/builders/primitives/index.js +0 -13
  2458. package/dist/core/schemas/builders/primitives/number.js +0 -25
  2459. package/dist/core/schemas/builders/primitives/string.js +0 -25
  2460. package/dist/core/schemas/builders/primitives/unknown.js +0 -6
  2461. package/dist/core/schemas/builders/record/index.js +0 -5
  2462. package/dist/core/schemas/builders/record/record.js +0 -93
  2463. package/dist/core/schemas/builders/record/types.js +0 -2
  2464. package/dist/core/schemas/builders/schema-utils/JsonError.js +0 -12
  2465. package/dist/core/schemas/builders/schema-utils/ParseError.js +0 -12
  2466. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -145
  2467. package/dist/core/schemas/builders/schema-utils/index.js +0 -11
  2468. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -9
  2469. package/dist/core/schemas/builders/set/index.js +0 -5
  2470. package/dist/core/schemas/builders/set/set.js +0 -43
  2471. package/dist/core/schemas/builders/undiscriminated-union/index.js +0 -5
  2472. package/dist/core/schemas/builders/undiscriminated-union/types.js +0 -2
  2473. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -39
  2474. package/dist/core/schemas/builders/union/discriminant.js +0 -9
  2475. package/dist/core/schemas/builders/union/index.js +0 -7
  2476. package/dist/core/schemas/builders/union/types.js +0 -2
  2477. package/dist/core/schemas/builders/union/union.js +0 -129
  2478. package/dist/core/schemas/index.js +0 -17
  2479. package/dist/core/schemas/utils/MaybePromise.js +0 -2
  2480. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +0 -2
  2481. package/dist/core/schemas/utils/createIdentitySchemaCreator.js +0 -15
  2482. package/dist/core/schemas/utils/entries.js +0 -6
  2483. package/dist/core/schemas/utils/filterObject.js +0 -13
  2484. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -27
  2485. package/dist/core/schemas/utils/isPlainObject.js +0 -17
  2486. package/dist/core/schemas/utils/keys.js +0 -6
  2487. package/dist/core/schemas/utils/maybeSkipValidation.js +0 -27
  2488. package/dist/core/schemas/utils/partition.js +0 -15
  2489. package/dist/environments.js +0 -9
  2490. package/dist/errors/SchematicError.js +0 -30
  2491. package/dist/errors/SchematicTimeoutError.js +0 -13
  2492. package/dist/errors/index.js +0 -7
  2493. package/dist/events.js +0 -118
  2494. package/dist/events.test.d.ts +0 -1
  2495. package/dist/events.test.js +0 -195
  2496. package/dist/logger.js +0 -19
  2497. package/dist/serialization/index.js +0 -18
  2498. package/dist/serialization/resources/accesstokens/client/index.js +0 -17
  2499. package/dist/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.js +0 -44
  2500. package/dist/serialization/resources/accesstokens/client/requests/index.js +0 -5
  2501. package/dist/serialization/resources/accesstokens/index.js +0 -18
  2502. package/dist/serialization/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.js +0 -45
  2503. package/dist/serialization/resources/accesstokens/types/index.js +0 -17
  2504. package/dist/serialization/resources/accounts/client/index.js +0 -17
  2505. package/dist/serialization/resources/accounts/client/requests/CreateApiKeyRequestBody.js +0 -45
  2506. package/dist/serialization/resources/accounts/client/requests/CreateEnvironmentRequestBody.js +0 -45
  2507. package/dist/serialization/resources/accounts/client/requests/UpdateApiKeyRequestBody.js +0 -44
  2508. package/dist/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.js +0 -45
  2509. package/dist/serialization/resources/accounts/client/requests/index.js +0 -11
  2510. package/dist/serialization/resources/accounts/index.js +0 -18
  2511. package/dist/serialization/resources/accounts/types/CountApiKeysParams.js +0 -46
  2512. package/dist/serialization/resources/accounts/types/CountApiKeysResponse.js +0 -46
  2513. package/dist/serialization/resources/accounts/types/CountApiRequestsParams.js +0 -47
  2514. package/dist/serialization/resources/accounts/types/CountApiRequestsResponse.js +0 -46
  2515. package/dist/serialization/resources/accounts/types/CreateApiKeyResponse.js +0 -45
  2516. package/dist/serialization/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.js +0 -41
  2517. package/dist/serialization/resources/accounts/types/CreateEnvironmentResponse.js +0 -45
  2518. package/dist/serialization/resources/accounts/types/DeleteApiKeyResponse.js +0 -45
  2519. package/dist/serialization/resources/accounts/types/DeleteEnvironmentResponse.js +0 -45
  2520. package/dist/serialization/resources/accounts/types/GetApiKeyResponse.js +0 -45
  2521. package/dist/serialization/resources/accounts/types/GetApiRequestResponse.js +0 -45
  2522. package/dist/serialization/resources/accounts/types/GetEnvironmentResponse.js +0 -45
  2523. package/dist/serialization/resources/accounts/types/ListApiKeysParams.js +0 -46
  2524. package/dist/serialization/resources/accounts/types/ListApiKeysResponse.js +0 -46
  2525. package/dist/serialization/resources/accounts/types/ListApiRequestsParams.js +0 -47
  2526. package/dist/serialization/resources/accounts/types/ListApiRequestsResponse.js +0 -46
  2527. package/dist/serialization/resources/accounts/types/ListEnvironmentsParams.js +0 -45
  2528. package/dist/serialization/resources/accounts/types/ListEnvironmentsResponse.js +0 -46
  2529. package/dist/serialization/resources/accounts/types/QuickstartResponse.js +0 -45
  2530. package/dist/serialization/resources/accounts/types/UpdateApiKeyResponse.js +0 -45
  2531. package/dist/serialization/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.js +0 -41
  2532. package/dist/serialization/resources/accounts/types/UpdateEnvironmentResponse.js +0 -45
  2533. package/dist/serialization/resources/accounts/types/index.js +0 -38
  2534. package/dist/serialization/resources/billing/client/index.js +0 -17
  2535. package/dist/serialization/resources/billing/client/requests/CreateBillingCustomerRequestBody.js +0 -49
  2536. package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.js +0 -60
  2537. package/dist/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.js +0 -46
  2538. package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.js +0 -62
  2539. package/dist/serialization/resources/billing/client/requests/CreateCouponRequestBody.js +0 -51
  2540. package/dist/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.js +0 -54
  2541. package/dist/serialization/resources/billing/client/requests/CreateMeterRequestBody.js +0 -46
  2542. package/dist/serialization/resources/billing/client/requests/CreatePaymentMethodRequestBody.js +0 -54
  2543. package/dist/serialization/resources/billing/client/requests/index.js +0 -19
  2544. package/dist/serialization/resources/billing/index.js +0 -18
  2545. package/dist/serialization/resources/billing/types/CountBillingProductsParams.js +0 -54
  2546. package/dist/serialization/resources/billing/types/CountBillingProductsRequestPriceUsageType.js +0 -41
  2547. package/dist/serialization/resources/billing/types/CountBillingProductsResponse.js +0 -46
  2548. package/dist/serialization/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.js +0 -41
  2549. package/dist/serialization/resources/billing/types/CountCustomersParams.js +0 -48
  2550. package/dist/serialization/resources/billing/types/CountCustomersResponse.js +0 -46
  2551. package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.js +0 -41
  2552. package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.js +0 -41
  2553. package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyUsageType.js +0 -41
  2554. package/dist/serialization/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.js +0 -41
  2555. package/dist/serialization/resources/billing/types/DeleteBillingProductResponse.js +0 -45
  2556. package/dist/serialization/resources/billing/types/DeleteProductPriceResponse.js +0 -45
  2557. package/dist/serialization/resources/billing/types/ListBillingProductsParams.js +0 -54
  2558. package/dist/serialization/resources/billing/types/ListBillingProductsRequestPriceUsageType.js +0 -41
  2559. package/dist/serialization/resources/billing/types/ListBillingProductsResponse.js +0 -46
  2560. package/dist/serialization/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.js +0 -41
  2561. package/dist/serialization/resources/billing/types/ListCouponsParams.js +0 -46
  2562. package/dist/serialization/resources/billing/types/ListCouponsResponse.js +0 -46
  2563. package/dist/serialization/resources/billing/types/ListCustomersWithSubscriptionsParams.js +0 -48
  2564. package/dist/serialization/resources/billing/types/ListCustomersWithSubscriptionsResponse.js +0 -46
  2565. package/dist/serialization/resources/billing/types/ListInvoicesParams.js +0 -47
  2566. package/dist/serialization/resources/billing/types/ListInvoicesResponse.js +0 -46
  2567. package/dist/serialization/resources/billing/types/ListMetersParams.js +0 -45
  2568. package/dist/serialization/resources/billing/types/ListMetersResponse.js +0 -46
  2569. package/dist/serialization/resources/billing/types/ListPaymentMethodsParams.js +0 -46
  2570. package/dist/serialization/resources/billing/types/ListPaymentMethodsResponse.js +0 -46
  2571. package/dist/serialization/resources/billing/types/ListProductPricesParams.js +0 -54
  2572. package/dist/serialization/resources/billing/types/ListProductPricesRequestPriceUsageType.js +0 -41
  2573. package/dist/serialization/resources/billing/types/ListProductPricesResponse.js +0 -46
  2574. package/dist/serialization/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.js +0 -41
  2575. package/dist/serialization/resources/billing/types/SearchBillingPricesParams.js +0 -52
  2576. package/dist/serialization/resources/billing/types/SearchBillingPricesRequestTiersMode.js +0 -41
  2577. package/dist/serialization/resources/billing/types/SearchBillingPricesRequestUsageType.js +0 -41
  2578. package/dist/serialization/resources/billing/types/SearchBillingPricesResponse.js +0 -46
  2579. package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.js +0 -41
  2580. package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsUsageType.js +0 -41
  2581. package/dist/serialization/resources/billing/types/UpsertBillingCouponResponse.js +0 -45
  2582. package/dist/serialization/resources/billing/types/UpsertBillingCustomerResponse.js +0 -45
  2583. package/dist/serialization/resources/billing/types/UpsertBillingMeterResponse.js +0 -45
  2584. package/dist/serialization/resources/billing/types/UpsertBillingPriceResponse.js +0 -45
  2585. package/dist/serialization/resources/billing/types/UpsertBillingProductResponse.js +0 -45
  2586. package/dist/serialization/resources/billing/types/UpsertBillingSubscriptionResponse.js +0 -45
  2587. package/dist/serialization/resources/billing/types/UpsertInvoiceResponse.js +0 -45
  2588. package/dist/serialization/resources/billing/types/UpsertPaymentMethodResponse.js +0 -45
  2589. package/dist/serialization/resources/billing/types/index.js +0 -60
  2590. package/dist/serialization/resources/checkout/client/index.js +0 -17
  2591. package/dist/serialization/resources/checkout/client/requests/CheckoutDataRequestBody.js +0 -44
  2592. package/dist/serialization/resources/checkout/client/requests/UpdateTrialEndRequestBody.js +0 -43
  2593. package/dist/serialization/resources/checkout/client/requests/index.js +0 -7
  2594. package/dist/serialization/resources/checkout/index.js +0 -18
  2595. package/dist/serialization/resources/checkout/types/CheckoutInternalResponse.js +0 -45
  2596. package/dist/serialization/resources/checkout/types/GetCheckoutDataResponse.js +0 -45
  2597. package/dist/serialization/resources/checkout/types/PreviewCheckoutInternalResponse.js +0 -45
  2598. package/dist/serialization/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.js +0 -45
  2599. package/dist/serialization/resources/checkout/types/index.js +0 -20
  2600. package/dist/serialization/resources/companies/client/index.js +0 -17
  2601. package/dist/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.js +0 -48
  2602. package/dist/serialization/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.js +0 -44
  2603. package/dist/serialization/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.js +0 -45
  2604. package/dist/serialization/resources/companies/client/requests/index.js +0 -9
  2605. package/dist/serialization/resources/companies/index.js +0 -18
  2606. package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.js +0 -57
  2607. package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.js +0 -41
  2608. package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponse.js +0 -46
  2609. package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +0 -41
  2610. package/dist/serialization/resources/companies/types/CountCompaniesParams.js +0 -50
  2611. package/dist/serialization/resources/companies/types/CountCompaniesResponse.js +0 -46
  2612. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsParams.js +0 -48
  2613. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.js +0 -41
  2614. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponse.js +0 -46
  2615. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.js +0 -41
  2616. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.js +0 -50
  2617. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.js +0 -41
  2618. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.js +0 -41
  2619. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponse.js +0 -46
  2620. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.js +0 -41
  2621. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.js +0 -41
  2622. package/dist/serialization/resources/companies/types/CountUsersParams.js +0 -48
  2623. package/dist/serialization/resources/companies/types/CountUsersResponse.js +0 -46
  2624. package/dist/serialization/resources/companies/types/CreateCompanyResponse.js +0 -45
  2625. package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.js +0 -41
  2626. package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.js +0 -41
  2627. package/dist/serialization/resources/companies/types/CreateUserResponse.js +0 -45
  2628. package/dist/serialization/resources/companies/types/DeleteCompanyByKeysResponse.js +0 -45
  2629. package/dist/serialization/resources/companies/types/DeleteCompanyMembershipResponse.js +0 -45
  2630. package/dist/serialization/resources/companies/types/DeleteCompanyResponse.js +0 -45
  2631. package/dist/serialization/resources/companies/types/DeleteUserByKeysResponse.js +0 -45
  2632. package/dist/serialization/resources/companies/types/DeleteUserResponse.js +0 -45
  2633. package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionParams.js +0 -46
  2634. package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionResponse.js +0 -46
  2635. package/dist/serialization/resources/companies/types/GetActiveDealsParams.js +0 -46
  2636. package/dist/serialization/resources/companies/types/GetActiveDealsResponse.js +0 -46
  2637. package/dist/serialization/resources/companies/types/GetCompanyResponse.js +0 -45
  2638. package/dist/serialization/resources/companies/types/GetEntityTraitDefinitionResponse.js +0 -45
  2639. package/dist/serialization/resources/companies/types/GetEntityTraitValuesParams.js +0 -46
  2640. package/dist/serialization/resources/companies/types/GetEntityTraitValuesResponse.js +0 -46
  2641. package/dist/serialization/resources/companies/types/GetOrCreateCompanyMembershipResponse.js +0 -45
  2642. package/dist/serialization/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.js +0 -45
  2643. package/dist/serialization/resources/companies/types/GetUserResponse.js +0 -45
  2644. package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.js +0 -57
  2645. package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.js +0 -41
  2646. package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponse.js +0 -46
  2647. package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +0 -41
  2648. package/dist/serialization/resources/companies/types/ListCompaniesParams.js +0 -50
  2649. package/dist/serialization/resources/companies/types/ListCompaniesResponse.js +0 -46
  2650. package/dist/serialization/resources/companies/types/ListCompanyMembershipsParams.js +0 -46
  2651. package/dist/serialization/resources/companies/types/ListCompanyMembershipsResponse.js +0 -46
  2652. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsParams.js +0 -48
  2653. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.js +0 -41
  2654. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponse.js +0 -46
  2655. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.js +0 -41
  2656. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.js +0 -50
  2657. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.js +0 -41
  2658. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.js +0 -41
  2659. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponse.js +0 -46
  2660. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.js +0 -41
  2661. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.js +0 -41
  2662. package/dist/serialization/resources/companies/types/ListUsersParams.js +0 -48
  2663. package/dist/serialization/resources/companies/types/ListUsersResponse.js +0 -46
  2664. package/dist/serialization/resources/companies/types/LookupCompanyParams.js +0 -43
  2665. package/dist/serialization/resources/companies/types/LookupCompanyResponse.js +0 -46
  2666. package/dist/serialization/resources/companies/types/LookupUserParams.js +0 -43
  2667. package/dist/serialization/resources/companies/types/LookupUserResponse.js +0 -46
  2668. package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.js +0 -41
  2669. package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionResponse.js +0 -45
  2670. package/dist/serialization/resources/companies/types/UpsertCompanyResponse.js +0 -45
  2671. package/dist/serialization/resources/companies/types/UpsertCompanyTraitResponse.js +0 -45
  2672. package/dist/serialization/resources/companies/types/UpsertUserResponse.js +0 -45
  2673. package/dist/serialization/resources/companies/types/UpsertUserTraitResponse.js +0 -45
  2674. package/dist/serialization/resources/companies/types/index.js +0 -84
  2675. package/dist/serialization/resources/components/client/index.js +0 -17
  2676. package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.js +0 -46
  2677. package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.js +0 -48
  2678. package/dist/serialization/resources/components/client/requests/index.js +0 -7
  2679. package/dist/serialization/resources/components/index.js +0 -18
  2680. package/dist/serialization/resources/components/types/CountComponentsParams.js +0 -45
  2681. package/dist/serialization/resources/components/types/CountComponentsResponse.js +0 -46
  2682. package/dist/serialization/resources/components/types/CreateComponentRequestBodyEntityType.js +0 -41
  2683. package/dist/serialization/resources/components/types/CreateComponentResponse.js +0 -45
  2684. package/dist/serialization/resources/components/types/DeleteComponentResponse.js +0 -45
  2685. package/dist/serialization/resources/components/types/GetComponentResponse.js +0 -45
  2686. package/dist/serialization/resources/components/types/ListComponentsParams.js +0 -45
  2687. package/dist/serialization/resources/components/types/ListComponentsResponse.js +0 -46
  2688. package/dist/serialization/resources/components/types/PreviewComponentDataParams.js +0 -44
  2689. package/dist/serialization/resources/components/types/PreviewComponentDataResponse.js +0 -46
  2690. package/dist/serialization/resources/components/types/UpdateComponentRequestBodyEntityType.js +0 -41
  2691. package/dist/serialization/resources/components/types/UpdateComponentRequestBodyState.js +0 -41
  2692. package/dist/serialization/resources/components/types/UpdateComponentResponse.js +0 -45
  2693. package/dist/serialization/resources/components/types/index.js +0 -29
  2694. package/dist/serialization/resources/credits/client/index.js +0 -17
  2695. package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.js +0 -56
  2696. package/dist/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.js +0 -49
  2697. package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.js +0 -54
  2698. package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.js +0 -55
  2699. package/dist/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.js +0 -44
  2700. package/dist/serialization/resources/credits/client/requests/index.js +0 -13
  2701. package/dist/serialization/resources/credits/index.js +0 -18
  2702. package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsParams.js +0 -46
  2703. package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsResponse.js +0 -46
  2704. package/dist/serialization/resources/credits/types/CountBillingCreditsParams.js +0 -46
  2705. package/dist/serialization/resources/credits/types/CountBillingCreditsResponse.js +0 -46
  2706. package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.js +0 -47
  2707. package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsResponse.js +0 -46
  2708. package/dist/serialization/resources/credits/types/CountCreditBundlesParams.js +0 -49
  2709. package/dist/serialization/resources/credits/types/CountCreditBundlesRequestStatus.js +0 -41
  2710. package/dist/serialization/resources/credits/types/CountCreditBundlesResponse.js +0 -46
  2711. package/dist/serialization/resources/credits/types/CountCreditBundlesResponseParamsStatus.js +0 -41
  2712. package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.js +0 -46
  2713. package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.js +0 -41
  2714. package/dist/serialization/resources/credits/types/CreateBillingCreditResponse.js +0 -45
  2715. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.js +0 -41
  2716. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.js +0 -41
  2717. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantResponse.js +0 -45
  2718. package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.js +0 -41
  2719. package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyStatus.js +0 -41
  2720. package/dist/serialization/resources/credits/types/CreateCreditBundleResponse.js +0 -45
  2721. package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantResponse.js +0 -45
  2722. package/dist/serialization/resources/credits/types/DeleteCreditBundleResponse.js +0 -45
  2723. package/dist/serialization/resources/credits/types/GetCreditBundleResponse.js +0 -45
  2724. package/dist/serialization/resources/credits/types/GetSingleBillingCreditResponse.js +0 -45
  2725. package/dist/serialization/resources/credits/types/ListBillingCreditsParams.js +0 -46
  2726. package/dist/serialization/resources/credits/types/ListBillingCreditsResponse.js +0 -46
  2727. package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.js +0 -47
  2728. package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsResponse.js +0 -46
  2729. package/dist/serialization/resources/credits/types/ListCompanyGrantsParams.js +0 -49
  2730. package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestDir.js +0 -41
  2731. package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestOrder.js +0 -41
  2732. package/dist/serialization/resources/credits/types/ListCompanyGrantsResponse.js +0 -46
  2733. package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsDir.js +0 -41
  2734. package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsOrder.js +0 -41
  2735. package/dist/serialization/resources/credits/types/ListCreditBundlesParams.js +0 -49
  2736. package/dist/serialization/resources/credits/types/ListCreditBundlesRequestStatus.js +0 -41
  2737. package/dist/serialization/resources/credits/types/ListCreditBundlesResponse.js +0 -46
  2738. package/dist/serialization/resources/credits/types/ListCreditBundlesResponseParamsStatus.js +0 -41
  2739. package/dist/serialization/resources/credits/types/ListGrantsForCreditParams.js +0 -46
  2740. package/dist/serialization/resources/credits/types/ListGrantsForCreditResponse.js +0 -46
  2741. package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.js +0 -46
  2742. package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.js +0 -41
  2743. package/dist/serialization/resources/credits/types/UpdateBillingCreditResponse.js +0 -45
  2744. package/dist/serialization/resources/credits/types/UpdateCreditBundleResponse.d.ts +0 -14
  2745. package/dist/serialization/resources/credits/types/UpdateCreditBundleResponse.js +0 -45
  2746. package/dist/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.js +0 -41
  2747. package/dist/serialization/resources/credits/types/ZeroOutGrantResponse.js +0 -45
  2748. package/dist/serialization/resources/credits/types/index.js +0 -61
  2749. package/dist/serialization/resources/crm/client/index.js +0 -17
  2750. package/dist/serialization/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.js +0 -44
  2751. package/dist/serialization/resources/crm/client/requests/CreateCrmDealRequestBody.js +0 -51
  2752. package/dist/serialization/resources/crm/client/requests/CreateCrmLineItemRequestBody.js +0 -50
  2753. package/dist/serialization/resources/crm/client/requests/CreateCrmProductRequestBody.js +0 -50
  2754. package/dist/serialization/resources/crm/client/requests/index.js +0 -11
  2755. package/dist/serialization/resources/crm/index.js +0 -18
  2756. package/dist/serialization/resources/crm/types/ListCrmProductsParams.js +0 -46
  2757. package/dist/serialization/resources/crm/types/ListCrmProductsResponse.js +0 -46
  2758. package/dist/serialization/resources/crm/types/UpsertCrmDealResponse.js +0 -45
  2759. package/dist/serialization/resources/crm/types/UpsertCrmProductResponse.js +0 -45
  2760. package/dist/serialization/resources/crm/types/UpsertDealLineItemAssociationResponse.js +0 -45
  2761. package/dist/serialization/resources/crm/types/UpsertLineItemResponse.js +0 -45
  2762. package/dist/serialization/resources/crm/types/index.js +0 -22
  2763. package/dist/serialization/resources/dataexports/client/index.js +0 -17
  2764. package/dist/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.js +0 -43
  2765. package/dist/serialization/resources/dataexports/client/requests/index.js +0 -5
  2766. package/dist/serialization/resources/dataexports/index.js +0 -18
  2767. package/dist/serialization/resources/dataexports/types/CreateDataExportResponse.js +0 -45
  2768. package/dist/serialization/resources/dataexports/types/index.js +0 -17
  2769. package/dist/serialization/resources/entitlements/client/index.js +0 -17
  2770. package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +0 -55
  2771. package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +0 -69
  2772. package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +0 -53
  2773. package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +0 -67
  2774. package/dist/serialization/resources/entitlements/client/requests/index.js +0 -11
  2775. package/dist/serialization/resources/entitlements/index.js +0 -18
  2776. package/dist/serialization/resources/entitlements/types/CountCompanyOverridesParams.js +0 -51
  2777. package/dist/serialization/resources/entitlements/types/CountCompanyOverridesResponse.js +0 -46
  2778. package/dist/serialization/resources/entitlements/types/CountFeatureCompaniesParams.js +0 -46
  2779. package/dist/serialization/resources/entitlements/types/CountFeatureCompaniesResponse.js +0 -46
  2780. package/dist/serialization/resources/entitlements/types/CountFeatureUsageParams.js +0 -49
  2781. package/dist/serialization/resources/entitlements/types/CountFeatureUsageResponse.js +0 -46
  2782. package/dist/serialization/resources/entitlements/types/CountFeatureUsersParams.js +0 -46
  2783. package/dist/serialization/resources/entitlements/types/CountFeatureUsersResponse.js +0 -46
  2784. package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsParams.js +0 -51
  2785. package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsResponse.js +0 -46
  2786. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.js +0 -41
  2787. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +0 -41
  2788. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js +0 -41
  2789. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideResponse.js +0 -45
  2790. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.js +0 -41
  2791. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +0 -41
  2792. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.js +0 -41
  2793. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js +0 -41
  2794. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementResponse.js +0 -45
  2795. package/dist/serialization/resources/entitlements/types/DeleteCompanyOverrideResponse.js +0 -45
  2796. package/dist/serialization/resources/entitlements/types/DeletePlanEntitlementResponse.js +0 -45
  2797. package/dist/serialization/resources/entitlements/types/GetCompanyOverrideResponse.js +0 -45
  2798. package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyParams.js +0 -43
  2799. package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyResponse.js +0 -46
  2800. package/dist/serialization/resources/entitlements/types/GetPlanEntitlementResponse.js +0 -45
  2801. package/dist/serialization/resources/entitlements/types/ListCompanyOverridesParams.js +0 -51
  2802. package/dist/serialization/resources/entitlements/types/ListCompanyOverridesResponse.js +0 -46
  2803. package/dist/serialization/resources/entitlements/types/ListFeatureCompaniesParams.js +0 -46
  2804. package/dist/serialization/resources/entitlements/types/ListFeatureCompaniesResponse.js +0 -46
  2805. package/dist/serialization/resources/entitlements/types/ListFeatureUsageParams.js +0 -49
  2806. package/dist/serialization/resources/entitlements/types/ListFeatureUsageResponse.js +0 -46
  2807. package/dist/serialization/resources/entitlements/types/ListFeatureUsersParams.js +0 -46
  2808. package/dist/serialization/resources/entitlements/types/ListFeatureUsersResponse.js +0 -46
  2809. package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsParams.js +0 -51
  2810. package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsResponse.js +0 -46
  2811. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.js +0 -41
  2812. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +0 -41
  2813. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js +0 -41
  2814. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideResponse.js +0 -45
  2815. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.js +0 -41
  2816. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +0 -41
  2817. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.js +0 -41
  2818. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js +0 -41
  2819. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementResponse.js +0 -45
  2820. package/dist/serialization/resources/entitlements/types/index.js +0 -60
  2821. package/dist/serialization/resources/events/client/index.js +0 -17
  2822. package/dist/serialization/resources/events/client/requests/CreateEventBatchRequestBody.js +0 -44
  2823. package/dist/serialization/resources/events/client/requests/index.js +0 -5
  2824. package/dist/serialization/resources/events/index.js +0 -18
  2825. package/dist/serialization/resources/events/types/CreateEventBatchResponse.js +0 -45
  2826. package/dist/serialization/resources/events/types/CreateEventResponse.js +0 -45
  2827. package/dist/serialization/resources/events/types/GetEventResponse.js +0 -45
  2828. package/dist/serialization/resources/events/types/GetEventSummariesParams.js +0 -46
  2829. package/dist/serialization/resources/events/types/GetEventSummariesResponse.js +0 -46
  2830. package/dist/serialization/resources/events/types/GetSegmentIntegrationStatusResponse.js +0 -45
  2831. package/dist/serialization/resources/events/types/ListEventsParams.js +0 -50
  2832. package/dist/serialization/resources/events/types/ListEventsRequestEventTypesItem.js +0 -41
  2833. package/dist/serialization/resources/events/types/ListEventsResponse.js +0 -46
  2834. package/dist/serialization/resources/events/types/ListEventsResponseParamsEventTypesItem.js +0 -41
  2835. package/dist/serialization/resources/events/types/index.js +0 -26
  2836. package/dist/serialization/resources/features/client/index.js +0 -17
  2837. package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.js +0 -56
  2838. package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.js +0 -56
  2839. package/dist/serialization/resources/features/client/requests/UpdateFlagRulesRequestBody.js +0 -44
  2840. package/dist/serialization/resources/features/client/requests/index.js +0 -9
  2841. package/dist/serialization/resources/features/index.js +0 -18
  2842. package/dist/serialization/resources/features/types/CheckFlagResponse.js +0 -45
  2843. package/dist/serialization/resources/features/types/CheckFlagsResponse.js +0 -45
  2844. package/dist/serialization/resources/features/types/CountAudienceCompaniesResponse.js +0 -45
  2845. package/dist/serialization/resources/features/types/CountAudienceUsersResponse.js +0 -45
  2846. package/dist/serialization/resources/features/types/CountFeaturesParams.js +0 -50
  2847. package/dist/serialization/resources/features/types/CountFeaturesResponse.js +0 -46
  2848. package/dist/serialization/resources/features/types/CountFlagsParams.js +0 -47
  2849. package/dist/serialization/resources/features/types/CountFlagsResponse.js +0 -46
  2850. package/dist/serialization/resources/features/types/CreateFeatureRequestBodyFeatureType.js +0 -41
  2851. package/dist/serialization/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.js +0 -51
  2852. package/dist/serialization/resources/features/types/CreateFeatureResponse.js +0 -45
  2853. package/dist/serialization/resources/features/types/CreateFlagResponse.js +0 -45
  2854. package/dist/serialization/resources/features/types/DeleteFeatureResponse.js +0 -45
  2855. package/dist/serialization/resources/features/types/DeleteFlagResponse.js +0 -45
  2856. package/dist/serialization/resources/features/types/GetFeatureResponse.js +0 -45
  2857. package/dist/serialization/resources/features/types/GetFlagResponse.js +0 -45
  2858. package/dist/serialization/resources/features/types/ListAudienceCompaniesResponse.js +0 -45
  2859. package/dist/serialization/resources/features/types/ListAudienceUsersResponse.js +0 -45
  2860. package/dist/serialization/resources/features/types/ListFeaturesParams.js +0 -50
  2861. package/dist/serialization/resources/features/types/ListFeaturesResponse.js +0 -46
  2862. package/dist/serialization/resources/features/types/ListFlagsParams.js +0 -47
  2863. package/dist/serialization/resources/features/types/ListFlagsResponse.js +0 -46
  2864. package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyFeatureType.js +0 -41
  2865. package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.js +0 -51
  2866. package/dist/serialization/resources/features/types/UpdateFeatureResponse.js +0 -45
  2867. package/dist/serialization/resources/features/types/UpdateFlagResponse.js +0 -45
  2868. package/dist/serialization/resources/features/types/UpdateFlagRulesResponse.js +0 -45
  2869. package/dist/serialization/resources/features/types/index.js +0 -43
  2870. package/dist/serialization/resources/index.js +0 -84
  2871. package/dist/serialization/resources/plangroups/client/index.js +0 -17
  2872. package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.js +0 -53
  2873. package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.js +0 -53
  2874. package/dist/serialization/resources/plangroups/client/requests/index.js +0 -7
  2875. package/dist/serialization/resources/plangroups/index.js +0 -18
  2876. package/dist/serialization/resources/plangroups/types/CreatePlanGroupResponse.js +0 -45
  2877. package/dist/serialization/resources/plangroups/types/GetPlanGroupResponse.js +0 -45
  2878. package/dist/serialization/resources/plangroups/types/UpdatePlanGroupResponse.js +0 -45
  2879. package/dist/serialization/resources/plangroups/types/index.js +0 -19
  2880. package/dist/serialization/resources/plans/client/index.js +0 -17
  2881. package/dist/serialization/resources/plans/client/requests/CreatePlanRequestBody.js +0 -47
  2882. package/dist/serialization/resources/plans/client/requests/CreatePlanTraitRequestBody.js +0 -45
  2883. package/dist/serialization/resources/plans/client/requests/UpdateAudienceRequestBody.js +0 -46
  2884. package/dist/serialization/resources/plans/client/requests/UpdateCompanyPlansRequestBody.js +0 -44
  2885. package/dist/serialization/resources/plans/client/requests/UpdatePlanRequestBody.js +0 -45
  2886. package/dist/serialization/resources/plans/client/requests/UpdatePlanTraitRequestBody.js +0 -44
  2887. package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.js +0 -54
  2888. package/dist/serialization/resources/plans/client/requests/index.js +0 -17
  2889. package/dist/serialization/resources/plans/index.js +0 -18
  2890. package/dist/serialization/resources/plans/types/CountPlanTraitsParams.d.ts +0 -16
  2891. package/dist/serialization/resources/plans/types/CountPlanTraitsParams.js +0 -47
  2892. package/dist/serialization/resources/plans/types/CountPlanTraitsResponse.js +0 -46
  2893. package/dist/serialization/resources/plans/types/CountPlansParams.js +0 -53
  2894. package/dist/serialization/resources/plans/types/CountPlansRequestPlanType.js +0 -41
  2895. package/dist/serialization/resources/plans/types/CountPlansResponse.js +0 -46
  2896. package/dist/serialization/resources/plans/types/CountPlansResponseParamsPlanType.js +0 -41
  2897. package/dist/serialization/resources/plans/types/CreatePlanRequestBodyPlanType.js +0 -41
  2898. package/dist/serialization/resources/plans/types/CreatePlanResponse.js +0 -45
  2899. package/dist/serialization/resources/plans/types/CreatePlanTraitResponse.js +0 -45
  2900. package/dist/serialization/resources/plans/types/DeleteAudienceResponse.js +0 -45
  2901. package/dist/serialization/resources/plans/types/DeletePlanResponse.js +0 -45
  2902. package/dist/serialization/resources/plans/types/DeletePlanTraitResponse.js +0 -45
  2903. package/dist/serialization/resources/plans/types/GetAudienceResponse.js +0 -45
  2904. package/dist/serialization/resources/plans/types/GetPlanResponse.js +0 -45
  2905. package/dist/serialization/resources/plans/types/GetPlanTraitResponse.js +0 -45
  2906. package/dist/serialization/resources/plans/types/ListPlanTraitsParams.js +0 -47
  2907. package/dist/serialization/resources/plans/types/ListPlanTraitsResponse.js +0 -46
  2908. package/dist/serialization/resources/plans/types/ListPlansParams.js +0 -53
  2909. package/dist/serialization/resources/plans/types/ListPlansRequestPlanType.js +0 -41
  2910. package/dist/serialization/resources/plans/types/ListPlansResponse.js +0 -46
  2911. package/dist/serialization/resources/plans/types/ListPlansResponseParamsPlanType.js +0 -41
  2912. package/dist/serialization/resources/plans/types/UpdateAudienceResponse.js +0 -45
  2913. package/dist/serialization/resources/plans/types/UpdateCompanyPlansResponse.js +0 -45
  2914. package/dist/serialization/resources/plans/types/UpdatePlanResponse.js +0 -45
  2915. package/dist/serialization/resources/plans/types/UpdatePlanTraitResponse.js +0 -45
  2916. package/dist/serialization/resources/plans/types/UpsertBillingProductPlanResponse.js +0 -45
  2917. package/dist/serialization/resources/plans/types/UpsertBillingProductRequestBodyChargeType.js +0 -41
  2918. package/dist/serialization/resources/plans/types/index.js +0 -43
  2919. package/dist/serialization/resources/webhooks/client/index.js +0 -17
  2920. package/dist/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.js +0 -48
  2921. package/dist/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.js +0 -50
  2922. package/dist/serialization/resources/webhooks/client/requests/index.js +0 -7
  2923. package/dist/serialization/resources/webhooks/index.js +0 -18
  2924. package/dist/serialization/resources/webhooks/types/CountWebhookEventsParams.js +0 -47
  2925. package/dist/serialization/resources/webhooks/types/CountWebhookEventsResponse.js +0 -46
  2926. package/dist/serialization/resources/webhooks/types/CountWebhooksParams.js +0 -45
  2927. package/dist/serialization/resources/webhooks/types/CountWebhooksResponse.js +0 -46
  2928. package/dist/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +0 -70
  2929. package/dist/serialization/resources/webhooks/types/CreateWebhookResponse.js +0 -45
  2930. package/dist/serialization/resources/webhooks/types/DeleteWebhookResponse.js +0 -45
  2931. package/dist/serialization/resources/webhooks/types/GetWebhookEventResponse.js +0 -45
  2932. package/dist/serialization/resources/webhooks/types/GetWebhookResponse.js +0 -45
  2933. package/dist/serialization/resources/webhooks/types/ListWebhookEventsParams.js +0 -47
  2934. package/dist/serialization/resources/webhooks/types/ListWebhookEventsResponse.js +0 -46
  2935. package/dist/serialization/resources/webhooks/types/ListWebhooksParams.js +0 -45
  2936. package/dist/serialization/resources/webhooks/types/ListWebhooksResponse.js +0 -46
  2937. package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +0 -70
  2938. package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyStatus.js +0 -41
  2939. package/dist/serialization/resources/webhooks/types/UpdateWebhookResponse.js +0 -45
  2940. package/dist/serialization/resources/webhooks/types/index.js +0 -32
  2941. package/dist/serialization/types/ApiError.js +0 -43
  2942. package/dist/serialization/types/ApiKeyCreateResponseData.js +0 -51
  2943. package/dist/serialization/types/ApiKeyRequestListResponseData.js +0 -58
  2944. package/dist/serialization/types/ApiKeyRequestResponseData.js +0 -61
  2945. package/dist/serialization/types/ApiKeyResponseData.js +0 -50
  2946. package/dist/serialization/types/AudienceRequestBody.js +0 -49
  2947. package/dist/serialization/types/BillingCouponResponseData.js +0 -58
  2948. package/dist/serialization/types/BillingCreditBundleResponseData.js +0 -55
  2949. package/dist/serialization/types/BillingCreditGrantResponseData.js +0 -60
  2950. package/dist/serialization/types/BillingCreditResponseData.js +0 -59
  2951. package/dist/serialization/types/BillingCustomerResponseData.js +0 -50
  2952. package/dist/serialization/types/BillingCustomerSubscription.js +0 -48
  2953. package/dist/serialization/types/BillingCustomerWithSubscriptionsResponseData.js +0 -52
  2954. package/dist/serialization/types/BillingMeterResponseData.js +0 -47
  2955. package/dist/serialization/types/BillingPlanCreditGrantResponseData.js +0 -51
  2956. package/dist/serialization/types/BillingPriceResponseData.js +0 -49
  2957. package/dist/serialization/types/BillingPriceView.js +0 -64
  2958. package/dist/serialization/types/BillingProductDetailResponseData.js +0 -57
  2959. package/dist/serialization/types/BillingProductForSubscriptionResponseData.js +0 -62
  2960. package/dist/serialization/types/BillingProductPlanResponseData.js +0 -53
  2961. package/dist/serialization/types/BillingProductPriceResponseData.js +0 -57
  2962. package/dist/serialization/types/BillingProductPriceTierResponseData.js +0 -46
  2963. package/dist/serialization/types/BillingProductPricing.js +0 -53
  2964. package/dist/serialization/types/BillingProductPricingUsageType.js +0 -41
  2965. package/dist/serialization/types/BillingProductResponseData.js +0 -54
  2966. package/dist/serialization/types/BillingSubscriptionDiscount.js +0 -49
  2967. package/dist/serialization/types/BillingSubscriptionDiscountView.js +0 -56
  2968. package/dist/serialization/types/BillingSubscriptionResponseData.js +0 -60
  2969. package/dist/serialization/types/BillingSubscriptionView.js +0 -68
  2970. package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.js +0 -55
  2971. package/dist/serialization/types/ChangeSubscriptionRequestBody.js +0 -54
  2972. package/dist/serialization/types/CheckFlagRequestBody.js +0 -44
  2973. package/dist/serialization/types/CheckFlagResponseData.js +0 -56
  2974. package/dist/serialization/types/CheckFlagsResponseData.js +0 -44
  2975. package/dist/serialization/types/CheckoutDataResponseData.js +0 -59
  2976. package/dist/serialization/types/CompanyCrmDealsResponseData.js +0 -48
  2977. package/dist/serialization/types/CompanyDetailResponseData.js +0 -68
  2978. package/dist/serialization/types/CompanyEventPeriodMetricsResponseData.js +0 -53
  2979. package/dist/serialization/types/CompanyMembershipDetailResponseData.js +0 -49
  2980. package/dist/serialization/types/CompanyMembershipResponseData.js +0 -47
  2981. package/dist/serialization/types/CompanyOverrideResponseData.js +0 -64
  2982. package/dist/serialization/types/CompanyPlanDetailResponseData.js +0 -75
  2983. package/dist/serialization/types/CompanyPlanWithBillingSubView.js +0 -51
  2984. package/dist/serialization/types/CompanyResponseData.js +0 -49
  2985. package/dist/serialization/types/CompanySubscriptionResponseData.js +0 -60
  2986. package/dist/serialization/types/CompanyViewWithFeatureUsageResponseData.js +0 -70
  2987. package/dist/serialization/types/CompatiblePlans.js +0 -44
  2988. package/dist/serialization/types/CompatiblePlansResponseData.js +0 -44
  2989. package/dist/serialization/types/ComponentCapabilities.js +0 -44
  2990. package/dist/serialization/types/ComponentHydrateResponseData.js +0 -66
  2991. package/dist/serialization/types/ComponentPreviewResponseData.js +0 -67
  2992. package/dist/serialization/types/ComponentResponseData.js +0 -49
  2993. package/dist/serialization/types/CountResponse.js +0 -43
  2994. package/dist/serialization/types/CouponRequestBody.js +0 -50
  2995. package/dist/serialization/types/CreateBillingPriceTierRequestBody.js +0 -47
  2996. package/dist/serialization/types/CreateEntitlementReqCommon.js +0 -53
  2997. package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriod.js +0 -41
  2998. package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriodMonthReset.js +0 -41
  2999. package/dist/serialization/types/CreateEntitlementReqCommonValueType.js +0 -41
  3000. package/dist/serialization/types/CreateEventRequestBody.js +0 -47
  3001. package/dist/serialization/types/CreateEventRequestBodyEventType.js +0 -41
  3002. package/dist/serialization/types/CreateFlagRequestBody.js +0 -49
  3003. package/dist/serialization/types/CreateOrUpdateConditionGroupRequestBody.js +0 -47
  3004. package/dist/serialization/types/CreateOrUpdateConditionRequestBody.js +0 -57
  3005. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.js +0 -50
  3006. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.js +0 -41
  3007. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.js +0 -41
  3008. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyOperator.js +0 -41
  3009. package/dist/serialization/types/CreateOrUpdateFlagRequestBody.js +0 -50
  3010. package/dist/serialization/types/CreateOrUpdateRuleRequestBody.js +0 -52
  3011. package/dist/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.js +0 -48
  3012. package/dist/serialization/types/CreatePriceTierRequestBody.js +0 -46
  3013. package/dist/serialization/types/CreditBundlePurchaseResponseData.js +0 -46
  3014. package/dist/serialization/types/CrmDealLineItem.js +0 -55
  3015. package/dist/serialization/types/CrmDealResponseData.js +0 -53
  3016. package/dist/serialization/types/CrmLineItemResponseData.js +0 -48
  3017. package/dist/serialization/types/CrmProductResponseData.js +0 -52
  3018. package/dist/serialization/types/CustomPlanConfig.js +0 -45
  3019. package/dist/serialization/types/CustomPlanViewConfigResponseData.js +0 -45
  3020. package/dist/serialization/types/DataExportResponseData.js +0 -51
  3021. package/dist/serialization/types/Decimal.js +0 -41
  3022. package/dist/serialization/types/DeleteResponse.js +0 -43
  3023. package/dist/serialization/types/EntitlementTriggerConfig.js +0 -43
  3024. package/dist/serialization/types/EntitlementsInPlan.js +0 -44
  3025. package/dist/serialization/types/EntityKeyDefinitionResponseData.js +0 -47
  3026. package/dist/serialization/types/EntityKeyDetailResponseData.js +0 -53
  3027. package/dist/serialization/types/EntityKeyResponseData.js +0 -51
  3028. package/dist/serialization/types/EntityTraitDefinitionResponseData.js +0 -49
  3029. package/dist/serialization/types/EntityTraitDetailResponseData.js +0 -50
  3030. package/dist/serialization/types/EntityTraitResponseData.js +0 -48
  3031. package/dist/serialization/types/EntityTraitValue.js +0 -44
  3032. package/dist/serialization/types/EnvironmentDetailResponseData.js +0 -49
  3033. package/dist/serialization/types/EnvironmentResponseData.js +0 -47
  3034. package/dist/serialization/types/EventBody.js +0 -44
  3035. package/dist/serialization/types/EventBodyFlagCheck.js +0 -52
  3036. package/dist/serialization/types/EventBodyIdentify.js +0 -47
  3037. package/dist/serialization/types/EventBodyIdentifyCompany.js +0 -45
  3038. package/dist/serialization/types/EventBodyTrack.js +0 -47
  3039. package/dist/serialization/types/EventDetailResponseData.js +0 -65
  3040. package/dist/serialization/types/EventResponseData.js +0 -61
  3041. package/dist/serialization/types/EventSummaryResponseData.js +0 -48
  3042. package/dist/serialization/types/FeatureCompanyResponseData.js +0 -59
  3043. package/dist/serialization/types/FeatureCompanyResponseDataAllocationType.js +0 -41
  3044. package/dist/serialization/types/FeatureCompanyUserResponseData.js +0 -60
  3045. package/dist/serialization/types/FeatureCompanyUserResponseDataAllocationType.js +0 -41
  3046. package/dist/serialization/types/FeatureDetailResponseData.js +0 -63
  3047. package/dist/serialization/types/FeatureResponseData.js +0 -55
  3048. package/dist/serialization/types/FeatureUsageDataResponseData.js +0 -51
  3049. package/dist/serialization/types/FeatureUsageDetailResponseData.js +0 -44
  3050. package/dist/serialization/types/FeatureUsageResponseData.js +0 -62
  3051. package/dist/serialization/types/FeatureUsageResponseDataAllocationType.js +0 -41
  3052. package/dist/serialization/types/FlagDetailResponseData.js +0 -57
  3053. package/dist/serialization/types/FlagResponseData.js +0 -52
  3054. package/dist/serialization/types/GenericPreviewObject.js +0 -46
  3055. package/dist/serialization/types/InvoiceRequestBody.js +0 -53
  3056. package/dist/serialization/types/InvoiceResponseData.js +0 -59
  3057. package/dist/serialization/types/IssueTemporaryAccessTokenResponseData.js +0 -50
  3058. package/dist/serialization/types/KeysRequestBody.js +0 -43
  3059. package/dist/serialization/types/MeterRequestBody.js +0 -45
  3060. package/dist/serialization/types/OrderedPlansInGroup.js +0 -45
  3061. package/dist/serialization/types/PaginationFilter.js +0 -44
  3062. package/dist/serialization/types/PaymentMethodRequestBody.js +0 -53
  3063. package/dist/serialization/types/PaymentMethodResponseData.js +0 -59
  3064. package/dist/serialization/types/PlanAudienceDetailResponseData.js +0 -56
  3065. package/dist/serialization/types/PlanAudienceResponseData.js +0 -52
  3066. package/dist/serialization/types/PlanDetailResponseData.js +0 -65
  3067. package/dist/serialization/types/PlanEntitlementResponseData.js +0 -72
  3068. package/dist/serialization/types/PlanEntitlementsOrder.js +0 -44
  3069. package/dist/serialization/types/PlanGroupDetailResponseData.js +0 -55
  3070. package/dist/serialization/types/PlanGroupPlanDetailResponseData.js +0 -71
  3071. package/dist/serialization/types/PlanGroupPlanEntitlementsOrder.js +0 -45
  3072. package/dist/serialization/types/PlanGroupResponseData.js +0 -51
  3073. package/dist/serialization/types/PlanResponseData.js +0 -50
  3074. package/dist/serialization/types/PlanTraitResponseData.js +0 -50
  3075. package/dist/serialization/types/PreviewObject.js +0 -46
  3076. package/dist/serialization/types/PreviewObjectResponseData.js +0 -46
  3077. package/dist/serialization/types/PreviewSubscriptionChangeResponseData.js +0 -55
  3078. package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.js +0 -52
  3079. package/dist/serialization/types/PreviewSubscriptionUpcomingInvoiceLineItems.js +0 -47
  3080. package/dist/serialization/types/QuickstartResp.js +0 -43
  3081. package/dist/serialization/types/RawEventBatchResponseData.js +0 -44
  3082. package/dist/serialization/types/RawEventResponseData.js +0 -47
  3083. package/dist/serialization/types/RuleConditionDetailResponseData.js +0 -66
  3084. package/dist/serialization/types/RuleConditionGroupDetailResponseData.js +0 -51
  3085. package/dist/serialization/types/RuleConditionGroupResponseData.js +0 -49
  3086. package/dist/serialization/types/RuleConditionResponseData.js +0 -61
  3087. package/dist/serialization/types/RuleDetailResponseData.js +0 -56
  3088. package/dist/serialization/types/RuleResponseData.js +0 -52
  3089. package/dist/serialization/types/RulesDetailResponseData.js +0 -46
  3090. package/dist/serialization/types/SegmentStatusResp.js +0 -45
  3091. package/dist/serialization/types/StripeEmbedInfo.js +0 -44
  3092. package/dist/serialization/types/TemporaryAccessTokenResponseData.js +0 -49
  3093. package/dist/serialization/types/UpdateAddOnRequestBody.js +0 -44
  3094. package/dist/serialization/types/UpdateCreditBundleRequestBody.js +0 -44
  3095. package/dist/serialization/types/UpdateEntitlementReqCommon.js +0 -52
  3096. package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriod.js +0 -41
  3097. package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.js +0 -41
  3098. package/dist/serialization/types/UpdateEntitlementReqCommonValueType.js +0 -41
  3099. package/dist/serialization/types/UpdatePayInAdvanceRequestBody.js +0 -44
  3100. package/dist/serialization/types/UpdateRuleRequestBody.js +0 -49
  3101. package/dist/serialization/types/UpsertCompanyRequestBody.js +0 -48
  3102. package/dist/serialization/types/UpsertTraitRequestBody.js +0 -47
  3103. package/dist/serialization/types/UpsertUserRequestBody.js +0 -54
  3104. package/dist/serialization/types/UpsertUserSubRequestBody.js +0 -50
  3105. package/dist/serialization/types/UsageBasedEntitlementRequestBody.js +0 -57
  3106. package/dist/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.js +0 -41
  3107. package/dist/serialization/types/UsageBasedEntitlementResponseData.js +0 -54
  3108. package/dist/serialization/types/UserDetailResponseData.js +0 -55
  3109. package/dist/serialization/types/UserResponseData.js +0 -48
  3110. package/dist/serialization/types/WebhookEventDetailResponseData.js +0 -53
  3111. package/dist/serialization/types/WebhookEventResponseData.js +0 -51
  3112. package/dist/serialization/types/WebhookResponseData.js +0 -52
  3113. package/dist/serialization/types/index.js +0 -188
  3114. package/dist/webhooks.js +0 -170
  3115. package/dist/wrapper.js +0 -178
  3116. package/environments.d.ts +0 -7
  3117. package/environments.js +0 -9
  3118. package/errors/SchematicError.d.ts +0 -15
  3119. package/errors/SchematicError.js +0 -30
  3120. package/errors/SchematicTimeoutError.d.ts +0 -6
  3121. package/errors/SchematicTimeoutError.js +0 -13
  3122. package/errors/index.d.ts +0 -2
  3123. package/errors/index.js +0 -7
  3124. package/events.d.ts +0 -30
  3125. package/events.js +0 -118
  3126. package/events.test.d.ts +0 -1
  3127. package/events.test.js +0 -195
  3128. package/index.d.ts +0 -6
  3129. package/index.js +0 -54
  3130. package/jest.config.mjs +0 -8
  3131. package/logger.d.ts +0 -13
  3132. package/logger.js +0 -19
  3133. package/reference.md +0 -9175
  3134. package/scripts/rename-to-esm-files.js +0 -115
  3135. package/scripts/webhook-test-server/README.md +0 -24
  3136. package/scripts/webhook-test-server/package-lock.json +0 -196
  3137. package/scripts/webhook-test-server/package.json +0 -13
  3138. package/scripts/webhook-test-server/webhook-test-server.ts +0 -100
  3139. package/serialization/index.d.ts +0 -2
  3140. package/serialization/index.js +0 -18
  3141. package/serialization/resources/accesstokens/client/index.d.ts +0 -1
  3142. package/serialization/resources/accesstokens/client/index.js +0 -17
  3143. package/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +0 -13
  3144. package/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.js +0 -44
  3145. package/serialization/resources/accesstokens/client/requests/index.d.ts +0 -1
  3146. package/serialization/resources/accesstokens/client/requests/index.js +0 -5
  3147. package/serialization/resources/accesstokens/index.d.ts +0 -2
  3148. package/serialization/resources/accesstokens/index.js +0 -18
  3149. package/serialization/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.d.ts +0 -14
  3150. package/serialization/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.js +0 -45
  3151. package/serialization/resources/accesstokens/types/index.d.ts +0 -1
  3152. package/serialization/resources/accesstokens/types/index.js +0 -17
  3153. package/serialization/resources/accounts/client/index.d.ts +0 -1
  3154. package/serialization/resources/accounts/client/index.js +0 -17
  3155. package/serialization/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +0 -14
  3156. package/serialization/resources/accounts/client/requests/CreateApiKeyRequestBody.js +0 -45
  3157. package/serialization/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +0 -14
  3158. package/serialization/resources/accounts/client/requests/CreateEnvironmentRequestBody.js +0 -45
  3159. package/serialization/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +0 -13
  3160. package/serialization/resources/accounts/client/requests/UpdateApiKeyRequestBody.js +0 -44
  3161. package/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +0 -14
  3162. package/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.js +0 -45
  3163. package/serialization/resources/accounts/client/requests/index.d.ts +0 -4
  3164. package/serialization/resources/accounts/client/requests/index.js +0 -11
  3165. package/serialization/resources/accounts/index.d.ts +0 -2
  3166. package/serialization/resources/accounts/index.js +0 -18
  3167. package/serialization/resources/accounts/types/CountApiKeysParams.d.ts +0 -15
  3168. package/serialization/resources/accounts/types/CountApiKeysParams.js +0 -46
  3169. package/serialization/resources/accounts/types/CountApiKeysResponse.d.ts +0 -15
  3170. package/serialization/resources/accounts/types/CountApiKeysResponse.js +0 -46
  3171. package/serialization/resources/accounts/types/CountApiRequestsParams.d.ts +0 -16
  3172. package/serialization/resources/accounts/types/CountApiRequestsParams.js +0 -47
  3173. package/serialization/resources/accounts/types/CountApiRequestsResponse.d.ts +0 -15
  3174. package/serialization/resources/accounts/types/CountApiRequestsResponse.js +0 -46
  3175. package/serialization/resources/accounts/types/CreateApiKeyResponse.d.ts +0 -14
  3176. package/serialization/resources/accounts/types/CreateApiKeyResponse.js +0 -45
  3177. package/serialization/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts +0 -10
  3178. package/serialization/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.js +0 -41
  3179. package/serialization/resources/accounts/types/CreateEnvironmentResponse.d.ts +0 -14
  3180. package/serialization/resources/accounts/types/CreateEnvironmentResponse.js +0 -45
  3181. package/serialization/resources/accounts/types/DeleteApiKeyResponse.js +0 -45
  3182. package/serialization/resources/accounts/types/DeleteEnvironmentResponse.d.ts +0 -14
  3183. package/serialization/resources/accounts/types/DeleteEnvironmentResponse.js +0 -45
  3184. package/serialization/resources/accounts/types/GetApiKeyResponse.d.ts +0 -14
  3185. package/serialization/resources/accounts/types/GetApiKeyResponse.js +0 -45
  3186. package/serialization/resources/accounts/types/GetApiRequestResponse.d.ts +0 -14
  3187. package/serialization/resources/accounts/types/GetApiRequestResponse.js +0 -45
  3188. package/serialization/resources/accounts/types/GetEnvironmentResponse.d.ts +0 -14
  3189. package/serialization/resources/accounts/types/GetEnvironmentResponse.js +0 -45
  3190. package/serialization/resources/accounts/types/ListApiKeysParams.d.ts +0 -15
  3191. package/serialization/resources/accounts/types/ListApiKeysParams.js +0 -46
  3192. package/serialization/resources/accounts/types/ListApiKeysResponse.d.ts +0 -15
  3193. package/serialization/resources/accounts/types/ListApiKeysResponse.js +0 -46
  3194. package/serialization/resources/accounts/types/ListApiRequestsParams.d.ts +0 -16
  3195. package/serialization/resources/accounts/types/ListApiRequestsParams.js +0 -47
  3196. package/serialization/resources/accounts/types/ListApiRequestsResponse.d.ts +0 -15
  3197. package/serialization/resources/accounts/types/ListApiRequestsResponse.js +0 -46
  3198. package/serialization/resources/accounts/types/ListEnvironmentsParams.d.ts +0 -14
  3199. package/serialization/resources/accounts/types/ListEnvironmentsParams.js +0 -45
  3200. package/serialization/resources/accounts/types/ListEnvironmentsResponse.d.ts +0 -15
  3201. package/serialization/resources/accounts/types/ListEnvironmentsResponse.js +0 -46
  3202. package/serialization/resources/accounts/types/QuickstartResponse.d.ts +0 -14
  3203. package/serialization/resources/accounts/types/QuickstartResponse.js +0 -45
  3204. package/serialization/resources/accounts/types/UpdateApiKeyResponse.d.ts +0 -14
  3205. package/serialization/resources/accounts/types/UpdateApiKeyResponse.js +0 -45
  3206. package/serialization/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +0 -10
  3207. package/serialization/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.js +0 -41
  3208. package/serialization/resources/accounts/types/UpdateEnvironmentResponse.d.ts +0 -14
  3209. package/serialization/resources/accounts/types/UpdateEnvironmentResponse.js +0 -45
  3210. package/serialization/resources/accounts/types/index.d.ts +0 -22
  3211. package/serialization/resources/accounts/types/index.js +0 -38
  3212. package/serialization/resources/billing/client/index.d.ts +0 -1
  3213. package/serialization/resources/billing/client/index.js +0 -17
  3214. package/serialization/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +0 -18
  3215. package/serialization/resources/billing/client/requests/CreateBillingCustomerRequestBody.js +0 -49
  3216. package/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +0 -29
  3217. package/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.js +0 -60
  3218. package/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +0 -15
  3219. package/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.js +0 -46
  3220. package/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.d.ts +0 -31
  3221. package/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.js +0 -62
  3222. package/serialization/resources/billing/client/requests/CreateCouponRequestBody.d.ts +0 -20
  3223. package/serialization/resources/billing/client/requests/CreateCouponRequestBody.js +0 -51
  3224. package/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +0 -23
  3225. package/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.js +0 -54
  3226. package/serialization/resources/billing/client/requests/CreateMeterRequestBody.d.ts +0 -15
  3227. package/serialization/resources/billing/client/requests/CreateMeterRequestBody.js +0 -46
  3228. package/serialization/resources/billing/client/requests/CreatePaymentMethodRequestBody.d.ts +0 -23
  3229. package/serialization/resources/billing/client/requests/CreatePaymentMethodRequestBody.js +0 -54
  3230. package/serialization/resources/billing/client/requests/index.d.ts +0 -8
  3231. package/serialization/resources/billing/client/requests/index.js +0 -19
  3232. package/serialization/resources/billing/index.d.ts +0 -2
  3233. package/serialization/resources/billing/index.js +0 -18
  3234. package/serialization/resources/billing/types/CountBillingProductsParams.d.ts +0 -23
  3235. package/serialization/resources/billing/types/CountBillingProductsParams.js +0 -54
  3236. package/serialization/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +0 -10
  3237. package/serialization/resources/billing/types/CountBillingProductsRequestPriceUsageType.js +0 -41
  3238. package/serialization/resources/billing/types/CountBillingProductsResponse.d.ts +0 -15
  3239. package/serialization/resources/billing/types/CountBillingProductsResponse.js +0 -46
  3240. package/serialization/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +0 -10
  3241. package/serialization/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.js +0 -41
  3242. package/serialization/resources/billing/types/CountCustomersParams.d.ts +0 -17
  3243. package/serialization/resources/billing/types/CountCustomersParams.js +0 -48
  3244. package/serialization/resources/billing/types/CountCustomersResponse.d.ts +0 -15
  3245. package/serialization/resources/billing/types/CountCustomersResponse.js +0 -46
  3246. package/serialization/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +0 -10
  3247. package/serialization/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.js +0 -41
  3248. package/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +0 -10
  3249. package/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.js +0 -41
  3250. package/serialization/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +0 -10
  3251. package/serialization/resources/billing/types/CreateBillingPriceRequestBodyUsageType.js +0 -41
  3252. package/serialization/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.d.ts +0 -10
  3253. package/serialization/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.js +0 -41
  3254. package/serialization/resources/billing/types/DeleteBillingProductResponse.d.ts +0 -14
  3255. package/serialization/resources/billing/types/DeleteBillingProductResponse.js +0 -45
  3256. package/serialization/resources/billing/types/DeleteProductPriceResponse.d.ts +0 -14
  3257. package/serialization/resources/billing/types/DeleteProductPriceResponse.js +0 -45
  3258. package/serialization/resources/billing/types/ListBillingProductsParams.d.ts +0 -23
  3259. package/serialization/resources/billing/types/ListBillingProductsParams.js +0 -54
  3260. package/serialization/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +0 -10
  3261. package/serialization/resources/billing/types/ListBillingProductsRequestPriceUsageType.js +0 -41
  3262. package/serialization/resources/billing/types/ListBillingProductsResponse.d.ts +0 -15
  3263. package/serialization/resources/billing/types/ListBillingProductsResponse.js +0 -46
  3264. package/serialization/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +0 -10
  3265. package/serialization/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.js +0 -41
  3266. package/serialization/resources/billing/types/ListCouponsParams.d.ts +0 -15
  3267. package/serialization/resources/billing/types/ListCouponsParams.js +0 -46
  3268. package/serialization/resources/billing/types/ListCouponsResponse.d.ts +0 -15
  3269. package/serialization/resources/billing/types/ListCouponsResponse.js +0 -46
  3270. package/serialization/resources/billing/types/ListCustomersWithSubscriptionsParams.d.ts +0 -17
  3271. package/serialization/resources/billing/types/ListCustomersWithSubscriptionsParams.js +0 -48
  3272. package/serialization/resources/billing/types/ListCustomersWithSubscriptionsResponse.d.ts +0 -15
  3273. package/serialization/resources/billing/types/ListCustomersWithSubscriptionsResponse.js +0 -46
  3274. package/serialization/resources/billing/types/ListInvoicesParams.d.ts +0 -16
  3275. package/serialization/resources/billing/types/ListInvoicesParams.js +0 -47
  3276. package/serialization/resources/billing/types/ListInvoicesResponse.d.ts +0 -15
  3277. package/serialization/resources/billing/types/ListInvoicesResponse.js +0 -46
  3278. package/serialization/resources/billing/types/ListMetersParams.d.ts +0 -14
  3279. package/serialization/resources/billing/types/ListMetersParams.js +0 -45
  3280. package/serialization/resources/billing/types/ListMetersResponse.d.ts +0 -15
  3281. package/serialization/resources/billing/types/ListMetersResponse.js +0 -46
  3282. package/serialization/resources/billing/types/ListPaymentMethodsParams.d.ts +0 -15
  3283. package/serialization/resources/billing/types/ListPaymentMethodsParams.js +0 -46
  3284. package/serialization/resources/billing/types/ListPaymentMethodsResponse.d.ts +0 -15
  3285. package/serialization/resources/billing/types/ListPaymentMethodsResponse.js +0 -46
  3286. package/serialization/resources/billing/types/ListProductPricesParams.d.ts +0 -23
  3287. package/serialization/resources/billing/types/ListProductPricesParams.js +0 -54
  3288. package/serialization/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +0 -10
  3289. package/serialization/resources/billing/types/ListProductPricesRequestPriceUsageType.js +0 -41
  3290. package/serialization/resources/billing/types/ListProductPricesResponse.d.ts +0 -15
  3291. package/serialization/resources/billing/types/ListProductPricesResponse.js +0 -46
  3292. package/serialization/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +0 -10
  3293. package/serialization/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.js +0 -41
  3294. package/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +0 -21
  3295. package/serialization/resources/billing/types/SearchBillingPricesParams.js +0 -52
  3296. package/serialization/resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts +0 -10
  3297. package/serialization/resources/billing/types/SearchBillingPricesRequestTiersMode.js +0 -41
  3298. package/serialization/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +0 -10
  3299. package/serialization/resources/billing/types/SearchBillingPricesRequestUsageType.js +0 -41
  3300. package/serialization/resources/billing/types/SearchBillingPricesResponse.d.ts +0 -15
  3301. package/serialization/resources/billing/types/SearchBillingPricesResponse.js +0 -46
  3302. package/serialization/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +0 -10
  3303. package/serialization/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.js +0 -41
  3304. package/serialization/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +0 -10
  3305. package/serialization/resources/billing/types/SearchBillingPricesResponseParamsUsageType.js +0 -41
  3306. package/serialization/resources/billing/types/UpsertBillingCouponResponse.d.ts +0 -14
  3307. package/serialization/resources/billing/types/UpsertBillingCouponResponse.js +0 -45
  3308. package/serialization/resources/billing/types/UpsertBillingCustomerResponse.d.ts +0 -14
  3309. package/serialization/resources/billing/types/UpsertBillingCustomerResponse.js +0 -45
  3310. package/serialization/resources/billing/types/UpsertBillingMeterResponse.d.ts +0 -14
  3311. package/serialization/resources/billing/types/UpsertBillingMeterResponse.js +0 -45
  3312. package/serialization/resources/billing/types/UpsertBillingPriceResponse.d.ts +0 -14
  3313. package/serialization/resources/billing/types/UpsertBillingPriceResponse.js +0 -45
  3314. package/serialization/resources/billing/types/UpsertBillingProductResponse.d.ts +0 -14
  3315. package/serialization/resources/billing/types/UpsertBillingProductResponse.js +0 -45
  3316. package/serialization/resources/billing/types/UpsertBillingSubscriptionResponse.d.ts +0 -14
  3317. package/serialization/resources/billing/types/UpsertBillingSubscriptionResponse.js +0 -45
  3318. package/serialization/resources/billing/types/UpsertInvoiceResponse.d.ts +0 -14
  3319. package/serialization/resources/billing/types/UpsertInvoiceResponse.js +0 -45
  3320. package/serialization/resources/billing/types/UpsertPaymentMethodResponse.d.ts +0 -14
  3321. package/serialization/resources/billing/types/UpsertPaymentMethodResponse.js +0 -45
  3322. package/serialization/resources/billing/types/index.d.ts +0 -44
  3323. package/serialization/resources/billing/types/index.js +0 -60
  3324. package/serialization/resources/checkout/client/index.d.ts +0 -1
  3325. package/serialization/resources/checkout/client/index.js +0 -17
  3326. package/serialization/resources/checkout/client/requests/CheckoutDataRequestBody.d.ts +0 -13
  3327. package/serialization/resources/checkout/client/requests/CheckoutDataRequestBody.js +0 -44
  3328. package/serialization/resources/checkout/client/requests/UpdateTrialEndRequestBody.d.ts +0 -12
  3329. package/serialization/resources/checkout/client/requests/UpdateTrialEndRequestBody.js +0 -43
  3330. package/serialization/resources/checkout/client/requests/index.d.ts +0 -2
  3331. package/serialization/resources/checkout/client/requests/index.js +0 -7
  3332. package/serialization/resources/checkout/index.d.ts +0 -2
  3333. package/serialization/resources/checkout/index.js +0 -18
  3334. package/serialization/resources/checkout/types/CheckoutInternalResponse.d.ts +0 -14
  3335. package/serialization/resources/checkout/types/CheckoutInternalResponse.js +0 -45
  3336. package/serialization/resources/checkout/types/GetCheckoutDataResponse.d.ts +0 -14
  3337. package/serialization/resources/checkout/types/GetCheckoutDataResponse.js +0 -45
  3338. package/serialization/resources/checkout/types/PreviewCheckoutInternalResponse.d.ts +0 -14
  3339. package/serialization/resources/checkout/types/PreviewCheckoutInternalResponse.js +0 -45
  3340. package/serialization/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.d.ts +0 -14
  3341. package/serialization/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.js +0 -45
  3342. package/serialization/resources/checkout/types/index.d.ts +0 -4
  3343. package/serialization/resources/checkout/types/index.js +0 -20
  3344. package/serialization/resources/companies/client/index.d.ts +0 -1
  3345. package/serialization/resources/companies/client/index.js +0 -17
  3346. package/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +0 -17
  3347. package/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.js +0 -48
  3348. package/serialization/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.d.ts +0 -13
  3349. package/serialization/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.js +0 -44
  3350. package/serialization/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +0 -14
  3351. package/serialization/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.js +0 -45
  3352. package/serialization/resources/companies/client/requests/index.d.ts +0 -3
  3353. package/serialization/resources/companies/client/requests/index.js +0 -9
  3354. package/serialization/resources/companies/index.d.ts +0 -2
  3355. package/serialization/resources/companies/index.js +0 -18
  3356. package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +0 -26
  3357. package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.js +0 -57
  3358. package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -10
  3359. package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.js +0 -41
  3360. package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +0 -15
  3361. package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponse.js +0 -46
  3362. package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -10
  3363. package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +0 -41
  3364. package/serialization/resources/companies/types/CountCompaniesParams.d.ts +0 -19
  3365. package/serialization/resources/companies/types/CountCompaniesParams.js +0 -50
  3366. package/serialization/resources/companies/types/CountCompaniesResponse.d.ts +0 -15
  3367. package/serialization/resources/companies/types/CountCompaniesResponse.js +0 -46
  3368. package/serialization/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +0 -17
  3369. package/serialization/resources/companies/types/CountEntityKeyDefinitionsParams.js +0 -48
  3370. package/serialization/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +0 -10
  3371. package/serialization/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.js +0 -41
  3372. package/serialization/resources/companies/types/CountEntityKeyDefinitionsResponse.d.ts +0 -15
  3373. package/serialization/resources/companies/types/CountEntityKeyDefinitionsResponse.js +0 -46
  3374. package/serialization/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -10
  3375. package/serialization/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.js +0 -41
  3376. package/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +0 -19
  3377. package/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.js +0 -50
  3378. package/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +0 -10
  3379. package/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.js +0 -41
  3380. package/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +0 -10
  3381. package/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.js +0 -41
  3382. package/serialization/resources/companies/types/CountEntityTraitDefinitionsResponse.d.ts +0 -15
  3383. package/serialization/resources/companies/types/CountEntityTraitDefinitionsResponse.js +0 -46
  3384. package/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -10
  3385. package/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.js +0 -41
  3386. package/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -10
  3387. package/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.js +0 -41
  3388. package/serialization/resources/companies/types/CountUsersParams.d.ts +0 -17
  3389. package/serialization/resources/companies/types/CountUsersParams.js +0 -48
  3390. package/serialization/resources/companies/types/CountUsersResponse.d.ts +0 -15
  3391. package/serialization/resources/companies/types/CountUsersResponse.js +0 -46
  3392. package/serialization/resources/companies/types/CreateCompanyResponse.d.ts +0 -14
  3393. package/serialization/resources/companies/types/CreateCompanyResponse.js +0 -45
  3394. package/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +0 -10
  3395. package/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.js +0 -41
  3396. package/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -10
  3397. package/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.js +0 -41
  3398. package/serialization/resources/companies/types/CreateUserResponse.d.ts +0 -14
  3399. package/serialization/resources/companies/types/CreateUserResponse.js +0 -45
  3400. package/serialization/resources/companies/types/DeleteCompanyByKeysResponse.d.ts +0 -14
  3401. package/serialization/resources/companies/types/DeleteCompanyByKeysResponse.js +0 -45
  3402. package/serialization/resources/companies/types/DeleteCompanyMembershipResponse.d.ts +0 -14
  3403. package/serialization/resources/companies/types/DeleteCompanyMembershipResponse.js +0 -45
  3404. package/serialization/resources/companies/types/DeleteCompanyResponse.d.ts +0 -14
  3405. package/serialization/resources/companies/types/DeleteCompanyResponse.js +0 -45
  3406. package/serialization/resources/companies/types/DeleteUserByKeysResponse.d.ts +0 -14
  3407. package/serialization/resources/companies/types/DeleteUserByKeysResponse.js +0 -45
  3408. package/serialization/resources/companies/types/DeleteUserResponse.d.ts +0 -14
  3409. package/serialization/resources/companies/types/DeleteUserResponse.js +0 -45
  3410. package/serialization/resources/companies/types/GetActiveCompanySubscriptionParams.d.ts +0 -15
  3411. package/serialization/resources/companies/types/GetActiveCompanySubscriptionParams.js +0 -46
  3412. package/serialization/resources/companies/types/GetActiveCompanySubscriptionResponse.d.ts +0 -15
  3413. package/serialization/resources/companies/types/GetActiveCompanySubscriptionResponse.js +0 -46
  3414. package/serialization/resources/companies/types/GetActiveDealsParams.d.ts +0 -15
  3415. package/serialization/resources/companies/types/GetActiveDealsParams.js +0 -46
  3416. package/serialization/resources/companies/types/GetActiveDealsResponse.d.ts +0 -15
  3417. package/serialization/resources/companies/types/GetActiveDealsResponse.js +0 -46
  3418. package/serialization/resources/companies/types/GetCompanyResponse.d.ts +0 -14
  3419. package/serialization/resources/companies/types/GetCompanyResponse.js +0 -45
  3420. package/serialization/resources/companies/types/GetEntityTraitDefinitionResponse.d.ts +0 -14
  3421. package/serialization/resources/companies/types/GetEntityTraitDefinitionResponse.js +0 -45
  3422. package/serialization/resources/companies/types/GetEntityTraitValuesParams.d.ts +0 -15
  3423. package/serialization/resources/companies/types/GetEntityTraitValuesParams.js +0 -46
  3424. package/serialization/resources/companies/types/GetEntityTraitValuesResponse.d.ts +0 -15
  3425. package/serialization/resources/companies/types/GetEntityTraitValuesResponse.js +0 -46
  3426. package/serialization/resources/companies/types/GetOrCreateCompanyMembershipResponse.d.ts +0 -14
  3427. package/serialization/resources/companies/types/GetOrCreateCompanyMembershipResponse.js +0 -45
  3428. package/serialization/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.d.ts +0 -14
  3429. package/serialization/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.js +0 -45
  3430. package/serialization/resources/companies/types/GetUserResponse.d.ts +0 -14
  3431. package/serialization/resources/companies/types/GetUserResponse.js +0 -45
  3432. package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +0 -26
  3433. package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.js +0 -57
  3434. package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -10
  3435. package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.js +0 -41
  3436. package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +0 -15
  3437. package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponse.js +0 -46
  3438. package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -10
  3439. package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +0 -41
  3440. package/serialization/resources/companies/types/ListCompaniesParams.d.ts +0 -19
  3441. package/serialization/resources/companies/types/ListCompaniesParams.js +0 -50
  3442. package/serialization/resources/companies/types/ListCompaniesResponse.d.ts +0 -15
  3443. package/serialization/resources/companies/types/ListCompaniesResponse.js +0 -46
  3444. package/serialization/resources/companies/types/ListCompanyMembershipsParams.d.ts +0 -15
  3445. package/serialization/resources/companies/types/ListCompanyMembershipsParams.js +0 -46
  3446. package/serialization/resources/companies/types/ListCompanyMembershipsResponse.d.ts +0 -15
  3447. package/serialization/resources/companies/types/ListCompanyMembershipsResponse.js +0 -46
  3448. package/serialization/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +0 -17
  3449. package/serialization/resources/companies/types/ListEntityKeyDefinitionsParams.js +0 -48
  3450. package/serialization/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +0 -10
  3451. package/serialization/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.js +0 -41
  3452. package/serialization/resources/companies/types/ListEntityKeyDefinitionsResponse.d.ts +0 -15
  3453. package/serialization/resources/companies/types/ListEntityKeyDefinitionsResponse.js +0 -46
  3454. package/serialization/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -10
  3455. package/serialization/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.js +0 -41
  3456. package/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +0 -19
  3457. package/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.js +0 -50
  3458. package/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +0 -10
  3459. package/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.js +0 -41
  3460. package/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts +0 -10
  3461. package/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.js +0 -41
  3462. package/serialization/resources/companies/types/ListEntityTraitDefinitionsResponse.d.ts +0 -15
  3463. package/serialization/resources/companies/types/ListEntityTraitDefinitionsResponse.js +0 -46
  3464. package/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -10
  3465. package/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.js +0 -41
  3466. package/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -10
  3467. package/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.js +0 -41
  3468. package/serialization/resources/companies/types/ListUsersParams.d.ts +0 -17
  3469. package/serialization/resources/companies/types/ListUsersParams.js +0 -48
  3470. package/serialization/resources/companies/types/ListUsersResponse.d.ts +0 -15
  3471. package/serialization/resources/companies/types/ListUsersResponse.js +0 -46
  3472. package/serialization/resources/companies/types/LookupCompanyParams.d.ts +0 -12
  3473. package/serialization/resources/companies/types/LookupCompanyParams.js +0 -43
  3474. package/serialization/resources/companies/types/LookupCompanyResponse.d.ts +0 -15
  3475. package/serialization/resources/companies/types/LookupCompanyResponse.js +0 -46
  3476. package/serialization/resources/companies/types/LookupUserParams.d.ts +0 -12
  3477. package/serialization/resources/companies/types/LookupUserParams.js +0 -43
  3478. package/serialization/resources/companies/types/LookupUserResponse.d.ts +0 -15
  3479. package/serialization/resources/companies/types/LookupUserResponse.js +0 -46
  3480. package/serialization/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -10
  3481. package/serialization/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.js +0 -41
  3482. package/serialization/resources/companies/types/UpdateEntityTraitDefinitionResponse.d.ts +0 -14
  3483. package/serialization/resources/companies/types/UpdateEntityTraitDefinitionResponse.js +0 -45
  3484. package/serialization/resources/companies/types/UpsertCompanyResponse.d.ts +0 -14
  3485. package/serialization/resources/companies/types/UpsertCompanyResponse.js +0 -45
  3486. package/serialization/resources/companies/types/UpsertCompanyTraitResponse.d.ts +0 -14
  3487. package/serialization/resources/companies/types/UpsertCompanyTraitResponse.js +0 -45
  3488. package/serialization/resources/companies/types/UpsertUserResponse.d.ts +0 -14
  3489. package/serialization/resources/companies/types/UpsertUserResponse.js +0 -45
  3490. package/serialization/resources/companies/types/UpsertUserTraitResponse.d.ts +0 -14
  3491. package/serialization/resources/companies/types/UpsertUserTraitResponse.js +0 -45
  3492. package/serialization/resources/companies/types/index.d.ts +0 -68
  3493. package/serialization/resources/companies/types/index.js +0 -84
  3494. package/serialization/resources/components/client/index.d.ts +0 -1
  3495. package/serialization/resources/components/client/index.js +0 -17
  3496. package/serialization/resources/components/client/requests/CreateComponentRequestBody.d.ts +0 -15
  3497. package/serialization/resources/components/client/requests/CreateComponentRequestBody.js +0 -46
  3498. package/serialization/resources/components/client/requests/UpdateComponentRequestBody.d.ts +0 -17
  3499. package/serialization/resources/components/client/requests/UpdateComponentRequestBody.js +0 -48
  3500. package/serialization/resources/components/client/requests/index.d.ts +0 -2
  3501. package/serialization/resources/components/client/requests/index.js +0 -7
  3502. package/serialization/resources/components/index.d.ts +0 -2
  3503. package/serialization/resources/components/index.js +0 -18
  3504. package/serialization/resources/components/types/CountComponentsParams.d.ts +0 -14
  3505. package/serialization/resources/components/types/CountComponentsParams.js +0 -45
  3506. package/serialization/resources/components/types/CountComponentsResponse.d.ts +0 -15
  3507. package/serialization/resources/components/types/CountComponentsResponse.js +0 -46
  3508. package/serialization/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +0 -10
  3509. package/serialization/resources/components/types/CreateComponentRequestBodyEntityType.js +0 -41
  3510. package/serialization/resources/components/types/CreateComponentResponse.d.ts +0 -14
  3511. package/serialization/resources/components/types/CreateComponentResponse.js +0 -45
  3512. package/serialization/resources/components/types/DeleteComponentResponse.d.ts +0 -14
  3513. package/serialization/resources/components/types/DeleteComponentResponse.js +0 -45
  3514. package/serialization/resources/components/types/GetComponentResponse.d.ts +0 -14
  3515. package/serialization/resources/components/types/GetComponentResponse.js +0 -45
  3516. package/serialization/resources/components/types/ListComponentsParams.d.ts +0 -14
  3517. package/serialization/resources/components/types/ListComponentsParams.js +0 -45
  3518. package/serialization/resources/components/types/ListComponentsResponse.d.ts +0 -15
  3519. package/serialization/resources/components/types/ListComponentsResponse.js +0 -46
  3520. package/serialization/resources/components/types/PreviewComponentDataParams.d.ts +0 -13
  3521. package/serialization/resources/components/types/PreviewComponentDataParams.js +0 -44
  3522. package/serialization/resources/components/types/PreviewComponentDataResponse.d.ts +0 -15
  3523. package/serialization/resources/components/types/PreviewComponentDataResponse.js +0 -46
  3524. package/serialization/resources/components/types/UpdateComponentRequestBodyEntityType.d.ts +0 -10
  3525. package/serialization/resources/components/types/UpdateComponentRequestBodyEntityType.js +0 -41
  3526. package/serialization/resources/components/types/UpdateComponentRequestBodyState.d.ts +0 -10
  3527. package/serialization/resources/components/types/UpdateComponentRequestBodyState.js +0 -41
  3528. package/serialization/resources/components/types/UpdateComponentResponse.d.ts +0 -14
  3529. package/serialization/resources/components/types/UpdateComponentResponse.js +0 -45
  3530. package/serialization/resources/components/types/index.d.ts +0 -13
  3531. package/serialization/resources/components/types/index.js +0 -29
  3532. package/serialization/resources/credits/client/index.d.ts +0 -1
  3533. package/serialization/resources/credits/client/index.js +0 -17
  3534. package/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +0 -25
  3535. package/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.js +0 -56
  3536. package/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +0 -18
  3537. package/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.js +0 -49
  3538. package/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +0 -23
  3539. package/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.js +0 -54
  3540. package/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +0 -24
  3541. package/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.js +0 -55
  3542. package/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +0 -13
  3543. package/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.js +0 -44
  3544. package/serialization/resources/credits/client/requests/index.d.ts +0 -5
  3545. package/serialization/resources/credits/client/requests/index.js +0 -13
  3546. package/serialization/resources/credits/index.d.ts +0 -2
  3547. package/serialization/resources/credits/index.js +0 -18
  3548. package/serialization/resources/credits/types/CountBillingCreditsGrantsParams.d.ts +0 -15
  3549. package/serialization/resources/credits/types/CountBillingCreditsGrantsParams.js +0 -46
  3550. package/serialization/resources/credits/types/CountBillingCreditsGrantsResponse.d.ts +0 -15
  3551. package/serialization/resources/credits/types/CountBillingCreditsGrantsResponse.js +0 -46
  3552. package/serialization/resources/credits/types/CountBillingCreditsParams.d.ts +0 -15
  3553. package/serialization/resources/credits/types/CountBillingCreditsParams.js +0 -46
  3554. package/serialization/resources/credits/types/CountBillingCreditsResponse.d.ts +0 -15
  3555. package/serialization/resources/credits/types/CountBillingCreditsResponse.js +0 -46
  3556. package/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +0 -16
  3557. package/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.js +0 -47
  3558. package/serialization/resources/credits/types/CountBillingPlanCreditGrantsResponse.d.ts +0 -15
  3559. package/serialization/resources/credits/types/CountBillingPlanCreditGrantsResponse.js +0 -46
  3560. package/serialization/resources/credits/types/CountCreditBundlesParams.d.ts +0 -18
  3561. package/serialization/resources/credits/types/CountCreditBundlesParams.js +0 -49
  3562. package/serialization/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +0 -10
  3563. package/serialization/resources/credits/types/CountCreditBundlesRequestStatus.js +0 -41
  3564. package/serialization/resources/credits/types/CountCreditBundlesResponse.d.ts +0 -15
  3565. package/serialization/resources/credits/types/CountCreditBundlesResponse.js +0 -46
  3566. package/serialization/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +0 -10
  3567. package/serialization/resources/credits/types/CountCreditBundlesResponseParamsStatus.js +0 -41
  3568. package/serialization/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
  3569. package/serialization/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.js +0 -46
  3570. package/serialization/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -10
  3571. package/serialization/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.js +0 -41
  3572. package/serialization/resources/credits/types/CreateBillingCreditResponse.d.ts +0 -14
  3573. package/serialization/resources/credits/types/CreateBillingCreditResponse.js +0 -45
  3574. package/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
  3575. package/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.js +0 -41
  3576. package/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -10
  3577. package/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.js +0 -41
  3578. package/serialization/resources/credits/types/CreateBillingPlanCreditGrantResponse.d.ts +0 -14
  3579. package/serialization/resources/credits/types/CreateBillingPlanCreditGrantResponse.js +0 -45
  3580. package/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +0 -10
  3581. package/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.js +0 -41
  3582. package/serialization/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +0 -10
  3583. package/serialization/resources/credits/types/CreateCreditBundleRequestBodyStatus.js +0 -41
  3584. package/serialization/resources/credits/types/CreateCreditBundleResponse.js +0 -45
  3585. package/serialization/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +0 -14
  3586. package/serialization/resources/credits/types/DeleteBillingPlanCreditGrantResponse.js +0 -45
  3587. package/serialization/resources/credits/types/DeleteCreditBundleResponse.d.ts +0 -14
  3588. package/serialization/resources/credits/types/DeleteCreditBundleResponse.js +0 -45
  3589. package/serialization/resources/credits/types/GetCreditBundleResponse.d.ts +0 -14
  3590. package/serialization/resources/credits/types/GetCreditBundleResponse.js +0 -45
  3591. package/serialization/resources/credits/types/GetSingleBillingCreditResponse.d.ts +0 -14
  3592. package/serialization/resources/credits/types/GetSingleBillingCreditResponse.js +0 -45
  3593. package/serialization/resources/credits/types/ListBillingCreditsParams.d.ts +0 -15
  3594. package/serialization/resources/credits/types/ListBillingCreditsParams.js +0 -46
  3595. package/serialization/resources/credits/types/ListBillingCreditsResponse.d.ts +0 -15
  3596. package/serialization/resources/credits/types/ListBillingCreditsResponse.js +0 -46
  3597. package/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +0 -16
  3598. package/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.js +0 -47
  3599. package/serialization/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +0 -15
  3600. package/serialization/resources/credits/types/ListBillingPlanCreditGrantsResponse.js +0 -46
  3601. package/serialization/resources/credits/types/ListCompanyGrantsParams.d.ts +0 -18
  3602. package/serialization/resources/credits/types/ListCompanyGrantsParams.js +0 -49
  3603. package/serialization/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +0 -10
  3604. package/serialization/resources/credits/types/ListCompanyGrantsRequestDir.js +0 -41
  3605. package/serialization/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +0 -10
  3606. package/serialization/resources/credits/types/ListCompanyGrantsRequestOrder.js +0 -41
  3607. package/serialization/resources/credits/types/ListCompanyGrantsResponse.d.ts +0 -15
  3608. package/serialization/resources/credits/types/ListCompanyGrantsResponse.js +0 -46
  3609. package/serialization/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +0 -10
  3610. package/serialization/resources/credits/types/ListCompanyGrantsResponseParamsDir.js +0 -41
  3611. package/serialization/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +0 -10
  3612. package/serialization/resources/credits/types/ListCompanyGrantsResponseParamsOrder.js +0 -41
  3613. package/serialization/resources/credits/types/ListCreditBundlesParams.d.ts +0 -18
  3614. package/serialization/resources/credits/types/ListCreditBundlesParams.js +0 -49
  3615. package/serialization/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +0 -10
  3616. package/serialization/resources/credits/types/ListCreditBundlesRequestStatus.js +0 -41
  3617. package/serialization/resources/credits/types/ListCreditBundlesResponse.d.ts +0 -15
  3618. package/serialization/resources/credits/types/ListCreditBundlesResponse.js +0 -46
  3619. package/serialization/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +0 -10
  3620. package/serialization/resources/credits/types/ListCreditBundlesResponseParamsStatus.js +0 -41
  3621. package/serialization/resources/credits/types/ListGrantsForCreditParams.d.ts +0 -15
  3622. package/serialization/resources/credits/types/ListGrantsForCreditParams.js +0 -46
  3623. package/serialization/resources/credits/types/ListGrantsForCreditResponse.d.ts +0 -15
  3624. package/serialization/resources/credits/types/ListGrantsForCreditResponse.js +0 -46
  3625. package/serialization/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
  3626. package/serialization/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.js +0 -46
  3627. package/serialization/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -10
  3628. package/serialization/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.js +0 -41
  3629. package/serialization/resources/credits/types/UpdateBillingCreditResponse.d.ts +0 -14
  3630. package/serialization/resources/credits/types/UpdateBillingCreditResponse.js +0 -45
  3631. package/serialization/resources/credits/types/UpdateCreditBundleResponse.d.ts +0 -14
  3632. package/serialization/resources/credits/types/UpdateCreditBundleResponse.js +0 -45
  3633. package/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +0 -10
  3634. package/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.js +0 -41
  3635. package/serialization/resources/credits/types/ZeroOutGrantResponse.js +0 -45
  3636. package/serialization/resources/credits/types/index.d.ts +0 -45
  3637. package/serialization/resources/credits/types/index.js +0 -61
  3638. package/serialization/resources/crm/client/index.d.ts +0 -1
  3639. package/serialization/resources/crm/client/index.js +0 -17
  3640. package/serialization/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.d.ts +0 -13
  3641. package/serialization/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.js +0 -44
  3642. package/serialization/resources/crm/client/requests/CreateCrmDealRequestBody.d.ts +0 -20
  3643. package/serialization/resources/crm/client/requests/CreateCrmDealRequestBody.js +0 -51
  3644. package/serialization/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +0 -19
  3645. package/serialization/resources/crm/client/requests/CreateCrmLineItemRequestBody.js +0 -50
  3646. package/serialization/resources/crm/client/requests/CreateCrmProductRequestBody.d.ts +0 -19
  3647. package/serialization/resources/crm/client/requests/CreateCrmProductRequestBody.js +0 -50
  3648. package/serialization/resources/crm/client/requests/index.d.ts +0 -4
  3649. package/serialization/resources/crm/client/requests/index.js +0 -11
  3650. package/serialization/resources/crm/index.d.ts +0 -2
  3651. package/serialization/resources/crm/index.js +0 -18
  3652. package/serialization/resources/crm/types/ListCrmProductsParams.d.ts +0 -15
  3653. package/serialization/resources/crm/types/ListCrmProductsParams.js +0 -46
  3654. package/serialization/resources/crm/types/ListCrmProductsResponse.d.ts +0 -15
  3655. package/serialization/resources/crm/types/ListCrmProductsResponse.js +0 -46
  3656. package/serialization/resources/crm/types/UpsertCrmDealResponse.d.ts +0 -14
  3657. package/serialization/resources/crm/types/UpsertCrmDealResponse.js +0 -45
  3658. package/serialization/resources/crm/types/UpsertCrmProductResponse.d.ts +0 -14
  3659. package/serialization/resources/crm/types/UpsertCrmProductResponse.js +0 -45
  3660. package/serialization/resources/crm/types/UpsertDealLineItemAssociationResponse.d.ts +0 -14
  3661. package/serialization/resources/crm/types/UpsertDealLineItemAssociationResponse.js +0 -45
  3662. package/serialization/resources/crm/types/UpsertLineItemResponse.d.ts +0 -14
  3663. package/serialization/resources/crm/types/UpsertLineItemResponse.js +0 -45
  3664. package/serialization/resources/crm/types/index.d.ts +0 -6
  3665. package/serialization/resources/crm/types/index.js +0 -22
  3666. package/serialization/resources/dataexports/client/index.d.ts +0 -1
  3667. package/serialization/resources/dataexports/client/index.js +0 -17
  3668. package/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +0 -12
  3669. package/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.js +0 -43
  3670. package/serialization/resources/dataexports/client/requests/index.d.ts +0 -1
  3671. package/serialization/resources/dataexports/client/requests/index.js +0 -5
  3672. package/serialization/resources/dataexports/index.d.ts +0 -2
  3673. package/serialization/resources/dataexports/index.js +0 -18
  3674. package/serialization/resources/dataexports/types/CreateDataExportResponse.d.ts +0 -14
  3675. package/serialization/resources/dataexports/types/CreateDataExportResponse.js +0 -45
  3676. package/serialization/resources/dataexports/types/index.d.ts +0 -1
  3677. package/serialization/resources/dataexports/types/index.js +0 -17
  3678. package/serialization/resources/entitlements/client/index.d.ts +0 -1
  3679. package/serialization/resources/entitlements/client/index.js +0 -17
  3680. package/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +0 -24
  3681. package/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +0 -55
  3682. package/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +0 -38
  3683. package/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +0 -69
  3684. package/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +0 -22
  3685. package/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +0 -53
  3686. package/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +0 -36
  3687. package/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +0 -67
  3688. package/serialization/resources/entitlements/client/requests/index.d.ts +0 -4
  3689. package/serialization/resources/entitlements/client/requests/index.js +0 -11
  3690. package/serialization/resources/entitlements/index.d.ts +0 -2
  3691. package/serialization/resources/entitlements/index.js +0 -18
  3692. package/serialization/resources/entitlements/types/CountCompanyOverridesParams.d.ts +0 -20
  3693. package/serialization/resources/entitlements/types/CountCompanyOverridesParams.js +0 -51
  3694. package/serialization/resources/entitlements/types/CountCompanyOverridesResponse.d.ts +0 -15
  3695. package/serialization/resources/entitlements/types/CountCompanyOverridesResponse.js +0 -46
  3696. package/serialization/resources/entitlements/types/CountFeatureCompaniesParams.d.ts +0 -15
  3697. package/serialization/resources/entitlements/types/CountFeatureCompaniesParams.js +0 -46
  3698. package/serialization/resources/entitlements/types/CountFeatureCompaniesResponse.d.ts +0 -15
  3699. package/serialization/resources/entitlements/types/CountFeatureCompaniesResponse.js +0 -46
  3700. package/serialization/resources/entitlements/types/CountFeatureUsageParams.d.ts +0 -18
  3701. package/serialization/resources/entitlements/types/CountFeatureUsageParams.js +0 -49
  3702. package/serialization/resources/entitlements/types/CountFeatureUsageResponse.d.ts +0 -15
  3703. package/serialization/resources/entitlements/types/CountFeatureUsageResponse.js +0 -46
  3704. package/serialization/resources/entitlements/types/CountFeatureUsersParams.d.ts +0 -15
  3705. package/serialization/resources/entitlements/types/CountFeatureUsersParams.js +0 -46
  3706. package/serialization/resources/entitlements/types/CountFeatureUsersResponse.d.ts +0 -15
  3707. package/serialization/resources/entitlements/types/CountFeatureUsersResponse.js +0 -46
  3708. package/serialization/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +0 -20
  3709. package/serialization/resources/entitlements/types/CountPlanEntitlementsParams.js +0 -51
  3710. package/serialization/resources/entitlements/types/CountPlanEntitlementsResponse.d.ts +0 -15
  3711. package/serialization/resources/entitlements/types/CountPlanEntitlementsResponse.js +0 -46
  3712. package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -10
  3713. package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.js +0 -41
  3714. package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -10
  3715. package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +0 -41
  3716. package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +0 -10
  3717. package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js +0 -41
  3718. package/serialization/resources/entitlements/types/CreateCompanyOverrideResponse.d.ts +0 -14
  3719. package/serialization/resources/entitlements/types/CreateCompanyOverrideResponse.js +0 -45
  3720. package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -10
  3721. package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.js +0 -41
  3722. package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -10
  3723. package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +0 -41
  3724. package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -10
  3725. package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.js +0 -41
  3726. package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +0 -10
  3727. package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js +0 -41
  3728. package/serialization/resources/entitlements/types/CreatePlanEntitlementResponse.d.ts +0 -14
  3729. package/serialization/resources/entitlements/types/CreatePlanEntitlementResponse.js +0 -45
  3730. package/serialization/resources/entitlements/types/DeleteCompanyOverrideResponse.d.ts +0 -14
  3731. package/serialization/resources/entitlements/types/DeleteCompanyOverrideResponse.js +0 -45
  3732. package/serialization/resources/entitlements/types/DeletePlanEntitlementResponse.d.ts +0 -14
  3733. package/serialization/resources/entitlements/types/DeletePlanEntitlementResponse.js +0 -45
  3734. package/serialization/resources/entitlements/types/GetCompanyOverrideResponse.d.ts +0 -14
  3735. package/serialization/resources/entitlements/types/GetCompanyOverrideResponse.js +0 -45
  3736. package/serialization/resources/entitlements/types/GetFeatureUsageByCompanyParams.d.ts +0 -12
  3737. package/serialization/resources/entitlements/types/GetFeatureUsageByCompanyParams.js +0 -43
  3738. package/serialization/resources/entitlements/types/GetFeatureUsageByCompanyResponse.d.ts +0 -15
  3739. package/serialization/resources/entitlements/types/GetFeatureUsageByCompanyResponse.js +0 -46
  3740. package/serialization/resources/entitlements/types/GetPlanEntitlementResponse.d.ts +0 -14
  3741. package/serialization/resources/entitlements/types/GetPlanEntitlementResponse.js +0 -45
  3742. package/serialization/resources/entitlements/types/ListCompanyOverridesParams.d.ts +0 -20
  3743. package/serialization/resources/entitlements/types/ListCompanyOverridesParams.js +0 -51
  3744. package/serialization/resources/entitlements/types/ListCompanyOverridesResponse.d.ts +0 -15
  3745. package/serialization/resources/entitlements/types/ListCompanyOverridesResponse.js +0 -46
  3746. package/serialization/resources/entitlements/types/ListFeatureCompaniesParams.d.ts +0 -15
  3747. package/serialization/resources/entitlements/types/ListFeatureCompaniesParams.js +0 -46
  3748. package/serialization/resources/entitlements/types/ListFeatureCompaniesResponse.d.ts +0 -15
  3749. package/serialization/resources/entitlements/types/ListFeatureCompaniesResponse.js +0 -46
  3750. package/serialization/resources/entitlements/types/ListFeatureUsageParams.d.ts +0 -18
  3751. package/serialization/resources/entitlements/types/ListFeatureUsageParams.js +0 -49
  3752. package/serialization/resources/entitlements/types/ListFeatureUsageResponse.d.ts +0 -15
  3753. package/serialization/resources/entitlements/types/ListFeatureUsageResponse.js +0 -46
  3754. package/serialization/resources/entitlements/types/ListFeatureUsersParams.d.ts +0 -15
  3755. package/serialization/resources/entitlements/types/ListFeatureUsersParams.js +0 -46
  3756. package/serialization/resources/entitlements/types/ListFeatureUsersResponse.d.ts +0 -15
  3757. package/serialization/resources/entitlements/types/ListFeatureUsersResponse.js +0 -46
  3758. package/serialization/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +0 -20
  3759. package/serialization/resources/entitlements/types/ListPlanEntitlementsParams.js +0 -51
  3760. package/serialization/resources/entitlements/types/ListPlanEntitlementsResponse.d.ts +0 -15
  3761. package/serialization/resources/entitlements/types/ListPlanEntitlementsResponse.js +0 -46
  3762. package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -10
  3763. package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.js +0 -41
  3764. package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -10
  3765. package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +0 -41
  3766. package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +0 -10
  3767. package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js +0 -41
  3768. package/serialization/resources/entitlements/types/UpdateCompanyOverrideResponse.d.ts +0 -14
  3769. package/serialization/resources/entitlements/types/UpdateCompanyOverrideResponse.js +0 -45
  3770. package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -10
  3771. package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.js +0 -41
  3772. package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -10
  3773. package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +0 -41
  3774. package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -10
  3775. package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.js +0 -41
  3776. package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +0 -10
  3777. package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js +0 -41
  3778. package/serialization/resources/entitlements/types/UpdatePlanEntitlementResponse.d.ts +0 -14
  3779. package/serialization/resources/entitlements/types/UpdatePlanEntitlementResponse.js +0 -45
  3780. package/serialization/resources/entitlements/types/index.d.ts +0 -44
  3781. package/serialization/resources/entitlements/types/index.js +0 -60
  3782. package/serialization/resources/events/client/index.d.ts +0 -1
  3783. package/serialization/resources/events/client/index.js +0 -17
  3784. package/serialization/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +0 -13
  3785. package/serialization/resources/events/client/requests/CreateEventBatchRequestBody.js +0 -44
  3786. package/serialization/resources/events/client/requests/index.d.ts +0 -1
  3787. package/serialization/resources/events/client/requests/index.js +0 -5
  3788. package/serialization/resources/events/index.d.ts +0 -2
  3789. package/serialization/resources/events/index.js +0 -18
  3790. package/serialization/resources/events/types/CreateEventBatchResponse.d.ts +0 -14
  3791. package/serialization/resources/events/types/CreateEventBatchResponse.js +0 -45
  3792. package/serialization/resources/events/types/CreateEventResponse.d.ts +0 -14
  3793. package/serialization/resources/events/types/CreateEventResponse.js +0 -45
  3794. package/serialization/resources/events/types/GetEventResponse.d.ts +0 -14
  3795. package/serialization/resources/events/types/GetEventResponse.js +0 -45
  3796. package/serialization/resources/events/types/GetEventSummariesParams.d.ts +0 -15
  3797. package/serialization/resources/events/types/GetEventSummariesParams.js +0 -46
  3798. package/serialization/resources/events/types/GetEventSummariesResponse.d.ts +0 -15
  3799. package/serialization/resources/events/types/GetEventSummariesResponse.js +0 -46
  3800. package/serialization/resources/events/types/GetSegmentIntegrationStatusResponse.d.ts +0 -14
  3801. package/serialization/resources/events/types/GetSegmentIntegrationStatusResponse.js +0 -45
  3802. package/serialization/resources/events/types/ListEventsParams.d.ts +0 -19
  3803. package/serialization/resources/events/types/ListEventsParams.js +0 -50
  3804. package/serialization/resources/events/types/ListEventsRequestEventTypesItem.d.ts +0 -10
  3805. package/serialization/resources/events/types/ListEventsRequestEventTypesItem.js +0 -41
  3806. package/serialization/resources/events/types/ListEventsResponse.d.ts +0 -15
  3807. package/serialization/resources/events/types/ListEventsResponse.js +0 -46
  3808. package/serialization/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +0 -10
  3809. package/serialization/resources/events/types/ListEventsResponseParamsEventTypesItem.js +0 -41
  3810. package/serialization/resources/events/types/index.d.ts +0 -10
  3811. package/serialization/resources/events/types/index.js +0 -26
  3812. package/serialization/resources/features/client/index.d.ts +0 -1
  3813. package/serialization/resources/features/client/index.js +0 -17
  3814. package/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +0 -25
  3815. package/serialization/resources/features/client/requests/CreateFeatureRequestBody.js +0 -56
  3816. package/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +0 -25
  3817. package/serialization/resources/features/client/requests/UpdateFeatureRequestBody.js +0 -56
  3818. package/serialization/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +0 -13
  3819. package/serialization/resources/features/client/requests/UpdateFlagRulesRequestBody.js +0 -44
  3820. package/serialization/resources/features/client/requests/index.d.ts +0 -3
  3821. package/serialization/resources/features/client/requests/index.js +0 -9
  3822. package/serialization/resources/features/index.d.ts +0 -2
  3823. package/serialization/resources/features/index.js +0 -18
  3824. package/serialization/resources/features/types/CheckFlagResponse.d.ts +0 -14
  3825. package/serialization/resources/features/types/CheckFlagResponse.js +0 -45
  3826. package/serialization/resources/features/types/CheckFlagsResponse.d.ts +0 -14
  3827. package/serialization/resources/features/types/CheckFlagsResponse.js +0 -45
  3828. package/serialization/resources/features/types/CountAudienceCompaniesResponse.d.ts +0 -14
  3829. package/serialization/resources/features/types/CountAudienceCompaniesResponse.js +0 -45
  3830. package/serialization/resources/features/types/CountAudienceUsersResponse.d.ts +0 -14
  3831. package/serialization/resources/features/types/CountAudienceUsersResponse.js +0 -45
  3832. package/serialization/resources/features/types/CountFeaturesParams.d.ts +0 -19
  3833. package/serialization/resources/features/types/CountFeaturesParams.js +0 -50
  3834. package/serialization/resources/features/types/CountFeaturesResponse.d.ts +0 -15
  3835. package/serialization/resources/features/types/CountFeaturesResponse.js +0 -46
  3836. package/serialization/resources/features/types/CountFlagsParams.d.ts +0 -16
  3837. package/serialization/resources/features/types/CountFlagsParams.js +0 -47
  3838. package/serialization/resources/features/types/CountFlagsResponse.d.ts +0 -15
  3839. package/serialization/resources/features/types/CountFlagsResponse.js +0 -46
  3840. package/serialization/resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts +0 -10
  3841. package/serialization/resources/features/types/CreateFeatureRequestBodyFeatureType.js +0 -41
  3842. package/serialization/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts +0 -10
  3843. package/serialization/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.js +0 -51
  3844. package/serialization/resources/features/types/CreateFeatureResponse.d.ts +0 -14
  3845. package/serialization/resources/features/types/CreateFeatureResponse.js +0 -45
  3846. package/serialization/resources/features/types/CreateFlagResponse.d.ts +0 -14
  3847. package/serialization/resources/features/types/CreateFlagResponse.js +0 -45
  3848. package/serialization/resources/features/types/DeleteFeatureResponse.d.ts +0 -14
  3849. package/serialization/resources/features/types/DeleteFeatureResponse.js +0 -45
  3850. package/serialization/resources/features/types/DeleteFlagResponse.d.ts +0 -14
  3851. package/serialization/resources/features/types/DeleteFlagResponse.js +0 -45
  3852. package/serialization/resources/features/types/GetFeatureResponse.d.ts +0 -14
  3853. package/serialization/resources/features/types/GetFeatureResponse.js +0 -45
  3854. package/serialization/resources/features/types/GetFlagResponse.d.ts +0 -14
  3855. package/serialization/resources/features/types/GetFlagResponse.js +0 -45
  3856. package/serialization/resources/features/types/ListAudienceCompaniesResponse.d.ts +0 -14
  3857. package/serialization/resources/features/types/ListAudienceCompaniesResponse.js +0 -45
  3858. package/serialization/resources/features/types/ListAudienceUsersResponse.d.ts +0 -14
  3859. package/serialization/resources/features/types/ListAudienceUsersResponse.js +0 -45
  3860. package/serialization/resources/features/types/ListFeaturesParams.d.ts +0 -19
  3861. package/serialization/resources/features/types/ListFeaturesParams.js +0 -50
  3862. package/serialization/resources/features/types/ListFeaturesResponse.d.ts +0 -15
  3863. package/serialization/resources/features/types/ListFeaturesResponse.js +0 -46
  3864. package/serialization/resources/features/types/ListFlagsParams.d.ts +0 -16
  3865. package/serialization/resources/features/types/ListFlagsParams.js +0 -47
  3866. package/serialization/resources/features/types/ListFlagsResponse.d.ts +0 -15
  3867. package/serialization/resources/features/types/ListFlagsResponse.js +0 -46
  3868. package/serialization/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +0 -10
  3869. package/serialization/resources/features/types/UpdateFeatureRequestBodyFeatureType.js +0 -41
  3870. package/serialization/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +0 -10
  3871. package/serialization/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.js +0 -51
  3872. package/serialization/resources/features/types/UpdateFeatureResponse.d.ts +0 -14
  3873. package/serialization/resources/features/types/UpdateFeatureResponse.js +0 -45
  3874. package/serialization/resources/features/types/UpdateFlagResponse.d.ts +0 -14
  3875. package/serialization/resources/features/types/UpdateFlagResponse.js +0 -45
  3876. package/serialization/resources/features/types/UpdateFlagRulesResponse.d.ts +0 -14
  3877. package/serialization/resources/features/types/UpdateFlagRulesResponse.js +0 -45
  3878. package/serialization/resources/features/types/index.d.ts +0 -27
  3879. package/serialization/resources/features/types/index.js +0 -43
  3880. package/serialization/resources/index.d.ts +0 -45
  3881. package/serialization/resources/index.js +0 -84
  3882. package/serialization/resources/plangroups/client/index.d.ts +0 -1
  3883. package/serialization/resources/plangroups/client/index.js +0 -17
  3884. package/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +0 -22
  3885. package/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.js +0 -53
  3886. package/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +0 -22
  3887. package/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.js +0 -53
  3888. package/serialization/resources/plangroups/client/requests/index.d.ts +0 -2
  3889. package/serialization/resources/plangroups/client/requests/index.js +0 -7
  3890. package/serialization/resources/plangroups/index.d.ts +0 -2
  3891. package/serialization/resources/plangroups/index.js +0 -18
  3892. package/serialization/resources/plangroups/types/CreatePlanGroupResponse.d.ts +0 -14
  3893. package/serialization/resources/plangroups/types/CreatePlanGroupResponse.js +0 -45
  3894. package/serialization/resources/plangroups/types/GetPlanGroupResponse.d.ts +0 -14
  3895. package/serialization/resources/plangroups/types/GetPlanGroupResponse.js +0 -45
  3896. package/serialization/resources/plangroups/types/UpdatePlanGroupResponse.d.ts +0 -14
  3897. package/serialization/resources/plangroups/types/UpdatePlanGroupResponse.js +0 -45
  3898. package/serialization/resources/plangroups/types/index.d.ts +0 -3
  3899. package/serialization/resources/plangroups/types/index.js +0 -19
  3900. package/serialization/resources/plans/client/index.d.ts +0 -1
  3901. package/serialization/resources/plans/client/index.js +0 -17
  3902. package/serialization/resources/plans/client/requests/CreatePlanRequestBody.d.ts +0 -16
  3903. package/serialization/resources/plans/client/requests/CreatePlanRequestBody.js +0 -47
  3904. package/serialization/resources/plans/client/requests/CreatePlanTraitRequestBody.d.ts +0 -14
  3905. package/serialization/resources/plans/client/requests/CreatePlanTraitRequestBody.js +0 -45
  3906. package/serialization/resources/plans/client/requests/UpdateAudienceRequestBody.d.ts +0 -15
  3907. package/serialization/resources/plans/client/requests/UpdateAudienceRequestBody.js +0 -46
  3908. package/serialization/resources/plans/client/requests/UpdateCompanyPlansRequestBody.d.ts +0 -13
  3909. package/serialization/resources/plans/client/requests/UpdateCompanyPlansRequestBody.js +0 -44
  3910. package/serialization/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +0 -14
  3911. package/serialization/resources/plans/client/requests/UpdatePlanRequestBody.js +0 -45
  3912. package/serialization/resources/plans/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -13
  3913. package/serialization/resources/plans/client/requests/UpdatePlanTraitRequestBody.js +0 -44
  3914. package/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +0 -23
  3915. package/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.js +0 -54
  3916. package/serialization/resources/plans/client/requests/index.d.ts +0 -7
  3917. package/serialization/resources/plans/client/requests/index.js +0 -17
  3918. package/serialization/resources/plans/index.d.ts +0 -2
  3919. package/serialization/resources/plans/index.js +0 -18
  3920. package/serialization/resources/plans/types/CountPlanTraitsParams.js +0 -47
  3921. package/serialization/resources/plans/types/CountPlanTraitsResponse.d.ts +0 -15
  3922. package/serialization/resources/plans/types/CountPlanTraitsResponse.js +0 -46
  3923. package/serialization/resources/plans/types/CountPlansParams.d.ts +0 -22
  3924. package/serialization/resources/plans/types/CountPlansParams.js +0 -53
  3925. package/serialization/resources/plans/types/CountPlansRequestPlanType.d.ts +0 -10
  3926. package/serialization/resources/plans/types/CountPlansRequestPlanType.js +0 -41
  3927. package/serialization/resources/plans/types/CountPlansResponse.d.ts +0 -15
  3928. package/serialization/resources/plans/types/CountPlansResponse.js +0 -46
  3929. package/serialization/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +0 -10
  3930. package/serialization/resources/plans/types/CountPlansResponseParamsPlanType.js +0 -41
  3931. package/serialization/resources/plans/types/CreatePlanRequestBodyPlanType.d.ts +0 -10
  3932. package/serialization/resources/plans/types/CreatePlanRequestBodyPlanType.js +0 -41
  3933. package/serialization/resources/plans/types/CreatePlanResponse.d.ts +0 -14
  3934. package/serialization/resources/plans/types/CreatePlanResponse.js +0 -45
  3935. package/serialization/resources/plans/types/CreatePlanTraitResponse.d.ts +0 -14
  3936. package/serialization/resources/plans/types/CreatePlanTraitResponse.js +0 -45
  3937. package/serialization/resources/plans/types/DeleteAudienceResponse.d.ts +0 -14
  3938. package/serialization/resources/plans/types/DeleteAudienceResponse.js +0 -45
  3939. package/serialization/resources/plans/types/DeletePlanResponse.d.ts +0 -14
  3940. package/serialization/resources/plans/types/DeletePlanResponse.js +0 -45
  3941. package/serialization/resources/plans/types/DeletePlanTraitResponse.d.ts +0 -14
  3942. package/serialization/resources/plans/types/DeletePlanTraitResponse.js +0 -45
  3943. package/serialization/resources/plans/types/GetAudienceResponse.d.ts +0 -14
  3944. package/serialization/resources/plans/types/GetAudienceResponse.js +0 -45
  3945. package/serialization/resources/plans/types/GetPlanResponse.d.ts +0 -14
  3946. package/serialization/resources/plans/types/GetPlanResponse.js +0 -45
  3947. package/serialization/resources/plans/types/GetPlanTraitResponse.d.ts +0 -14
  3948. package/serialization/resources/plans/types/GetPlanTraitResponse.js +0 -45
  3949. package/serialization/resources/plans/types/ListPlanTraitsParams.d.ts +0 -16
  3950. package/serialization/resources/plans/types/ListPlanTraitsParams.js +0 -47
  3951. package/serialization/resources/plans/types/ListPlanTraitsResponse.d.ts +0 -15
  3952. package/serialization/resources/plans/types/ListPlanTraitsResponse.js +0 -46
  3953. package/serialization/resources/plans/types/ListPlansParams.d.ts +0 -22
  3954. package/serialization/resources/plans/types/ListPlansParams.js +0 -53
  3955. package/serialization/resources/plans/types/ListPlansRequestPlanType.d.ts +0 -10
  3956. package/serialization/resources/plans/types/ListPlansRequestPlanType.js +0 -41
  3957. package/serialization/resources/plans/types/ListPlansResponse.d.ts +0 -15
  3958. package/serialization/resources/plans/types/ListPlansResponse.js +0 -46
  3959. package/serialization/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +0 -10
  3960. package/serialization/resources/plans/types/ListPlansResponseParamsPlanType.js +0 -41
  3961. package/serialization/resources/plans/types/UpdateAudienceResponse.d.ts +0 -14
  3962. package/serialization/resources/plans/types/UpdateAudienceResponse.js +0 -45
  3963. package/serialization/resources/plans/types/UpdateCompanyPlansResponse.d.ts +0 -14
  3964. package/serialization/resources/plans/types/UpdateCompanyPlansResponse.js +0 -45
  3965. package/serialization/resources/plans/types/UpdatePlanResponse.d.ts +0 -14
  3966. package/serialization/resources/plans/types/UpdatePlanResponse.js +0 -45
  3967. package/serialization/resources/plans/types/UpdatePlanTraitResponse.d.ts +0 -14
  3968. package/serialization/resources/plans/types/UpdatePlanTraitResponse.js +0 -45
  3969. package/serialization/resources/plans/types/UpsertBillingProductPlanResponse.d.ts +0 -14
  3970. package/serialization/resources/plans/types/UpsertBillingProductPlanResponse.js +0 -45
  3971. package/serialization/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +0 -10
  3972. package/serialization/resources/plans/types/UpsertBillingProductRequestBodyChargeType.js +0 -41
  3973. package/serialization/resources/plans/types/index.d.ts +0 -27
  3974. package/serialization/resources/plans/types/index.js +0 -43
  3975. package/serialization/resources/webhooks/client/index.d.ts +0 -1
  3976. package/serialization/resources/webhooks/client/index.js +0 -17
  3977. package/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +0 -17
  3978. package/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.js +0 -48
  3979. package/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +0 -19
  3980. package/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.js +0 -50
  3981. package/serialization/resources/webhooks/client/requests/index.d.ts +0 -2
  3982. package/serialization/resources/webhooks/client/requests/index.js +0 -7
  3983. package/serialization/resources/webhooks/index.d.ts +0 -2
  3984. package/serialization/resources/webhooks/index.js +0 -18
  3985. package/serialization/resources/webhooks/types/CountWebhookEventsParams.d.ts +0 -16
  3986. package/serialization/resources/webhooks/types/CountWebhookEventsParams.js +0 -47
  3987. package/serialization/resources/webhooks/types/CountWebhookEventsResponse.d.ts +0 -15
  3988. package/serialization/resources/webhooks/types/CountWebhookEventsResponse.js +0 -46
  3989. package/serialization/resources/webhooks/types/CountWebhooksParams.d.ts +0 -14
  3990. package/serialization/resources/webhooks/types/CountWebhooksParams.js +0 -45
  3991. package/serialization/resources/webhooks/types/CountWebhooksResponse.d.ts +0 -15
  3992. package/serialization/resources/webhooks/types/CountWebhooksResponse.js +0 -46
  3993. package/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +0 -10
  3994. package/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +0 -70
  3995. package/serialization/resources/webhooks/types/CreateWebhookResponse.d.ts +0 -14
  3996. package/serialization/resources/webhooks/types/CreateWebhookResponse.js +0 -45
  3997. package/serialization/resources/webhooks/types/DeleteWebhookResponse.d.ts +0 -14
  3998. package/serialization/resources/webhooks/types/DeleteWebhookResponse.js +0 -45
  3999. package/serialization/resources/webhooks/types/GetWebhookEventResponse.d.ts +0 -14
  4000. package/serialization/resources/webhooks/types/GetWebhookEventResponse.js +0 -45
  4001. package/serialization/resources/webhooks/types/GetWebhookResponse.d.ts +0 -14
  4002. package/serialization/resources/webhooks/types/GetWebhookResponse.js +0 -45
  4003. package/serialization/resources/webhooks/types/ListWebhookEventsParams.d.ts +0 -16
  4004. package/serialization/resources/webhooks/types/ListWebhookEventsParams.js +0 -47
  4005. package/serialization/resources/webhooks/types/ListWebhookEventsResponse.d.ts +0 -15
  4006. package/serialization/resources/webhooks/types/ListWebhookEventsResponse.js +0 -46
  4007. package/serialization/resources/webhooks/types/ListWebhooksParams.d.ts +0 -14
  4008. package/serialization/resources/webhooks/types/ListWebhooksParams.js +0 -45
  4009. package/serialization/resources/webhooks/types/ListWebhooksResponse.d.ts +0 -15
  4010. package/serialization/resources/webhooks/types/ListWebhooksResponse.js +0 -46
  4011. package/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +0 -10
  4012. package/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +0 -70
  4013. package/serialization/resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts +0 -10
  4014. package/serialization/resources/webhooks/types/UpdateWebhookRequestBodyStatus.js +0 -41
  4015. package/serialization/resources/webhooks/types/UpdateWebhookResponse.d.ts +0 -14
  4016. package/serialization/resources/webhooks/types/UpdateWebhookResponse.js +0 -45
  4017. package/serialization/resources/webhooks/types/index.d.ts +0 -16
  4018. package/serialization/resources/webhooks/types/index.js +0 -32
  4019. package/serialization/types/ApiError.js +0 -43
  4020. package/serialization/types/ApiKeyCreateResponseData.d.ts +0 -20
  4021. package/serialization/types/ApiKeyCreateResponseData.js +0 -51
  4022. package/serialization/types/ApiKeyRequestListResponseData.d.ts +0 -27
  4023. package/serialization/types/ApiKeyRequestListResponseData.js +0 -58
  4024. package/serialization/types/ApiKeyRequestResponseData.d.ts +0 -30
  4025. package/serialization/types/ApiKeyRequestResponseData.js +0 -61
  4026. package/serialization/types/ApiKeyResponseData.d.ts +0 -19
  4027. package/serialization/types/ApiKeyResponseData.js +0 -50
  4028. package/serialization/types/AudienceRequestBody.d.ts +0 -18
  4029. package/serialization/types/AudienceRequestBody.js +0 -49
  4030. package/serialization/types/BillingCouponResponseData.d.ts +0 -27
  4031. package/serialization/types/BillingCouponResponseData.js +0 -58
  4032. package/serialization/types/BillingCreditBundleResponseData.d.ts +0 -24
  4033. package/serialization/types/BillingCreditBundleResponseData.js +0 -55
  4034. package/serialization/types/BillingCreditGrantResponseData.js +0 -60
  4035. package/serialization/types/BillingCreditResponseData.d.ts +0 -28
  4036. package/serialization/types/BillingCreditResponseData.js +0 -59
  4037. package/serialization/types/BillingCustomerResponseData.d.ts +0 -19
  4038. package/serialization/types/BillingCustomerResponseData.js +0 -50
  4039. package/serialization/types/BillingCustomerSubscription.d.ts +0 -17
  4040. package/serialization/types/BillingCustomerSubscription.js +0 -48
  4041. package/serialization/types/BillingCustomerWithSubscriptionsResponseData.d.ts +0 -21
  4042. package/serialization/types/BillingCustomerWithSubscriptionsResponseData.js +0 -52
  4043. package/serialization/types/BillingMeterResponseData.d.ts +0 -16
  4044. package/serialization/types/BillingMeterResponseData.js +0 -47
  4045. package/serialization/types/BillingPlanCreditGrantResponseData.js +0 -51
  4046. package/serialization/types/BillingPriceResponseData.d.ts +0 -18
  4047. package/serialization/types/BillingPriceResponseData.js +0 -49
  4048. package/serialization/types/BillingPriceView.d.ts +0 -33
  4049. package/serialization/types/BillingPriceView.js +0 -64
  4050. package/serialization/types/BillingProductDetailResponseData.d.ts +0 -26
  4051. package/serialization/types/BillingProductDetailResponseData.js +0 -57
  4052. package/serialization/types/BillingProductForSubscriptionResponseData.d.ts +0 -31
  4053. package/serialization/types/BillingProductForSubscriptionResponseData.js +0 -62
  4054. package/serialization/types/BillingProductPlanResponseData.d.ts +0 -22
  4055. package/serialization/types/BillingProductPlanResponseData.js +0 -53
  4056. package/serialization/types/BillingProductPriceResponseData.d.ts +0 -26
  4057. package/serialization/types/BillingProductPriceResponseData.js +0 -57
  4058. package/serialization/types/BillingProductPriceTierResponseData.d.ts +0 -15
  4059. package/serialization/types/BillingProductPriceTierResponseData.js +0 -46
  4060. package/serialization/types/BillingProductPricing.d.ts +0 -22
  4061. package/serialization/types/BillingProductPricing.js +0 -53
  4062. package/serialization/types/BillingProductPricingUsageType.d.ts +0 -10
  4063. package/serialization/types/BillingProductPricingUsageType.js +0 -41
  4064. package/serialization/types/BillingProductResponseData.d.ts +0 -23
  4065. package/serialization/types/BillingProductResponseData.js +0 -54
  4066. package/serialization/types/BillingSubscriptionDiscount.d.ts +0 -18
  4067. package/serialization/types/BillingSubscriptionDiscount.js +0 -49
  4068. package/serialization/types/BillingSubscriptionDiscountView.d.ts +0 -25
  4069. package/serialization/types/BillingSubscriptionDiscountView.js +0 -56
  4070. package/serialization/types/BillingSubscriptionResponseData.d.ts +0 -29
  4071. package/serialization/types/BillingSubscriptionResponseData.js +0 -60
  4072. package/serialization/types/BillingSubscriptionView.d.ts +0 -37
  4073. package/serialization/types/BillingSubscriptionView.js +0 -68
  4074. package/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +0 -24
  4075. package/serialization/types/ChangeSubscriptionInternalRequestBody.js +0 -55
  4076. package/serialization/types/ChangeSubscriptionRequestBody.d.ts +0 -23
  4077. package/serialization/types/ChangeSubscriptionRequestBody.js +0 -54
  4078. package/serialization/types/CheckFlagRequestBody.d.ts +0 -13
  4079. package/serialization/types/CheckFlagRequestBody.js +0 -44
  4080. package/serialization/types/CheckFlagResponseData.d.ts +0 -25
  4081. package/serialization/types/CheckFlagResponseData.js +0 -56
  4082. package/serialization/types/CheckFlagsResponseData.d.ts +0 -13
  4083. package/serialization/types/CheckFlagsResponseData.js +0 -44
  4084. package/serialization/types/CheckoutDataResponseData.d.ts +0 -28
  4085. package/serialization/types/CheckoutDataResponseData.js +0 -59
  4086. package/serialization/types/CompanyCrmDealsResponseData.d.ts +0 -17
  4087. package/serialization/types/CompanyCrmDealsResponseData.js +0 -48
  4088. package/serialization/types/CompanyDetailResponseData.d.ts +0 -37
  4089. package/serialization/types/CompanyDetailResponseData.js +0 -68
  4090. package/serialization/types/CompanyEventPeriodMetricsResponseData.d.ts +0 -22
  4091. package/serialization/types/CompanyEventPeriodMetricsResponseData.js +0 -53
  4092. package/serialization/types/CompanyMembershipDetailResponseData.d.ts +0 -18
  4093. package/serialization/types/CompanyMembershipDetailResponseData.js +0 -49
  4094. package/serialization/types/CompanyMembershipResponseData.d.ts +0 -16
  4095. package/serialization/types/CompanyMembershipResponseData.js +0 -47
  4096. package/serialization/types/CompanyOverrideResponseData.d.ts +0 -33
  4097. package/serialization/types/CompanyOverrideResponseData.js +0 -64
  4098. package/serialization/types/CompanyPlanDetailResponseData.d.ts +0 -44
  4099. package/serialization/types/CompanyPlanDetailResponseData.js +0 -75
  4100. package/serialization/types/CompanyPlanWithBillingSubView.d.ts +0 -20
  4101. package/serialization/types/CompanyPlanWithBillingSubView.js +0 -51
  4102. package/serialization/types/CompanyResponseData.d.ts +0 -18
  4103. package/serialization/types/CompanyResponseData.js +0 -49
  4104. package/serialization/types/CompanySubscriptionResponseData.d.ts +0 -29
  4105. package/serialization/types/CompanySubscriptionResponseData.js +0 -60
  4106. package/serialization/types/CompanyViewWithFeatureUsageResponseData.d.ts +0 -39
  4107. package/serialization/types/CompanyViewWithFeatureUsageResponseData.js +0 -70
  4108. package/serialization/types/CompatiblePlans.d.ts +0 -13
  4109. package/serialization/types/CompatiblePlans.js +0 -44
  4110. package/serialization/types/CompatiblePlansResponseData.d.ts +0 -13
  4111. package/serialization/types/CompatiblePlansResponseData.js +0 -44
  4112. package/serialization/types/ComponentCapabilities.d.ts +0 -13
  4113. package/serialization/types/ComponentCapabilities.js +0 -44
  4114. package/serialization/types/ComponentHydrateResponseData.d.ts +0 -35
  4115. package/serialization/types/ComponentHydrateResponseData.js +0 -66
  4116. package/serialization/types/ComponentPreviewResponseData.d.ts +0 -36
  4117. package/serialization/types/ComponentPreviewResponseData.js +0 -67
  4118. package/serialization/types/ComponentResponseData.d.ts +0 -18
  4119. package/serialization/types/ComponentResponseData.js +0 -49
  4120. package/serialization/types/CountResponse.d.ts +0 -12
  4121. package/serialization/types/CountResponse.js +0 -43
  4122. package/serialization/types/CouponRequestBody.d.ts +0 -19
  4123. package/serialization/types/CouponRequestBody.js +0 -50
  4124. package/serialization/types/CreateBillingPriceTierRequestBody.d.ts +0 -16
  4125. package/serialization/types/CreateBillingPriceTierRequestBody.js +0 -47
  4126. package/serialization/types/CreateEntitlementReqCommon.d.ts +0 -22
  4127. package/serialization/types/CreateEntitlementReqCommon.js +0 -53
  4128. package/serialization/types/CreateEntitlementReqCommonMetricPeriod.d.ts +0 -10
  4129. package/serialization/types/CreateEntitlementReqCommonMetricPeriod.js +0 -41
  4130. package/serialization/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -10
  4131. package/serialization/types/CreateEntitlementReqCommonMetricPeriodMonthReset.js +0 -41
  4132. package/serialization/types/CreateEntitlementReqCommonValueType.d.ts +0 -10
  4133. package/serialization/types/CreateEntitlementReqCommonValueType.js +0 -41
  4134. package/serialization/types/CreateEventRequestBody.d.ts +0 -16
  4135. package/serialization/types/CreateEventRequestBody.js +0 -47
  4136. package/serialization/types/CreateEventRequestBodyEventType.d.ts +0 -10
  4137. package/serialization/types/CreateEventRequestBodyEventType.js +0 -41
  4138. package/serialization/types/CreateFlagRequestBody.d.ts +0 -18
  4139. package/serialization/types/CreateFlagRequestBody.js +0 -49
  4140. package/serialization/types/CreateOrUpdateConditionGroupRequestBody.d.ts +0 -16
  4141. package/serialization/types/CreateOrUpdateConditionGroupRequestBody.js +0 -47
  4142. package/serialization/types/CreateOrUpdateConditionRequestBody.d.ts +0 -26
  4143. package/serialization/types/CreateOrUpdateConditionRequestBody.js +0 -57
  4144. package/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +0 -10
  4145. package/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.js +0 -50
  4146. package/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +0 -10
  4147. package/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.js +0 -41
  4148. package/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +0 -10
  4149. package/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.js +0 -41
  4150. package/serialization/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +0 -10
  4151. package/serialization/types/CreateOrUpdateConditionRequestBodyOperator.js +0 -41
  4152. package/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +0 -19
  4153. package/serialization/types/CreateOrUpdateFlagRequestBody.js +0 -50
  4154. package/serialization/types/CreateOrUpdateRuleRequestBody.d.ts +0 -21
  4155. package/serialization/types/CreateOrUpdateRuleRequestBody.js +0 -52
  4156. package/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +0 -10
  4157. package/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.js +0 -48
  4158. package/serialization/types/CreatePriceTierRequestBody.d.ts +0 -15
  4159. package/serialization/types/CreatePriceTierRequestBody.js +0 -46
  4160. package/serialization/types/CreditBundlePurchaseResponseData.d.ts +0 -15
  4161. package/serialization/types/CreditBundlePurchaseResponseData.js +0 -46
  4162. package/serialization/types/CrmDealLineItem.d.ts +0 -24
  4163. package/serialization/types/CrmDealLineItem.js +0 -55
  4164. package/serialization/types/CrmDealResponseData.d.ts +0 -22
  4165. package/serialization/types/CrmDealResponseData.js +0 -53
  4166. package/serialization/types/CrmLineItemResponseData.d.ts +0 -17
  4167. package/serialization/types/CrmLineItemResponseData.js +0 -48
  4168. package/serialization/types/CrmProductResponseData.d.ts +0 -21
  4169. package/serialization/types/CrmProductResponseData.js +0 -52
  4170. package/serialization/types/CustomPlanConfig.d.ts +0 -14
  4171. package/serialization/types/CustomPlanConfig.js +0 -45
  4172. package/serialization/types/CustomPlanViewConfigResponseData.d.ts +0 -14
  4173. package/serialization/types/CustomPlanViewConfigResponseData.js +0 -45
  4174. package/serialization/types/DataExportResponseData.d.ts +0 -20
  4175. package/serialization/types/DataExportResponseData.js +0 -51
  4176. package/serialization/types/Decimal.d.ts +0 -10
  4177. package/serialization/types/Decimal.js +0 -41
  4178. package/serialization/types/DeleteResponse.js +0 -43
  4179. package/serialization/types/EntitlementTriggerConfig.d.ts +0 -12
  4180. package/serialization/types/EntitlementTriggerConfig.js +0 -43
  4181. package/serialization/types/EntitlementsInPlan.d.ts +0 -13
  4182. package/serialization/types/EntitlementsInPlan.js +0 -44
  4183. package/serialization/types/EntityKeyDefinitionResponseData.d.ts +0 -16
  4184. package/serialization/types/EntityKeyDefinitionResponseData.js +0 -47
  4185. package/serialization/types/EntityKeyDetailResponseData.d.ts +0 -22
  4186. package/serialization/types/EntityKeyDetailResponseData.js +0 -53
  4187. package/serialization/types/EntityKeyResponseData.d.ts +0 -20
  4188. package/serialization/types/EntityKeyResponseData.js +0 -51
  4189. package/serialization/types/EntityTraitDefinitionResponseData.d.ts +0 -18
  4190. package/serialization/types/EntityTraitDefinitionResponseData.js +0 -49
  4191. package/serialization/types/EntityTraitDetailResponseData.d.ts +0 -19
  4192. package/serialization/types/EntityTraitDetailResponseData.js +0 -50
  4193. package/serialization/types/EntityTraitResponseData.d.ts +0 -17
  4194. package/serialization/types/EntityTraitResponseData.js +0 -48
  4195. package/serialization/types/EntityTraitValue.d.ts +0 -13
  4196. package/serialization/types/EntityTraitValue.js +0 -44
  4197. package/serialization/types/EnvironmentDetailResponseData.d.ts +0 -18
  4198. package/serialization/types/EnvironmentDetailResponseData.js +0 -49
  4199. package/serialization/types/EnvironmentResponseData.d.ts +0 -16
  4200. package/serialization/types/EnvironmentResponseData.js +0 -47
  4201. package/serialization/types/EventBody.d.ts +0 -13
  4202. package/serialization/types/EventBody.js +0 -44
  4203. package/serialization/types/EventBodyFlagCheck.d.ts +0 -21
  4204. package/serialization/types/EventBodyFlagCheck.js +0 -52
  4205. package/serialization/types/EventBodyIdentify.d.ts +0 -16
  4206. package/serialization/types/EventBodyIdentify.js +0 -47
  4207. package/serialization/types/EventBodyIdentifyCompany.d.ts +0 -14
  4208. package/serialization/types/EventBodyIdentifyCompany.js +0 -45
  4209. package/serialization/types/EventBodyTrack.d.ts +0 -16
  4210. package/serialization/types/EventBodyTrack.js +0 -47
  4211. package/serialization/types/EventDetailResponseData.d.ts +0 -34
  4212. package/serialization/types/EventDetailResponseData.js +0 -65
  4213. package/serialization/types/EventResponseData.d.ts +0 -30
  4214. package/serialization/types/EventResponseData.js +0 -61
  4215. package/serialization/types/EventSummaryResponseData.d.ts +0 -17
  4216. package/serialization/types/EventSummaryResponseData.js +0 -48
  4217. package/serialization/types/FeatureCompanyResponseData.d.ts +0 -28
  4218. package/serialization/types/FeatureCompanyResponseData.js +0 -59
  4219. package/serialization/types/FeatureCompanyResponseDataAllocationType.d.ts +0 -10
  4220. package/serialization/types/FeatureCompanyResponseDataAllocationType.js +0 -41
  4221. package/serialization/types/FeatureCompanyUserResponseData.d.ts +0 -29
  4222. package/serialization/types/FeatureCompanyUserResponseData.js +0 -60
  4223. package/serialization/types/FeatureCompanyUserResponseDataAllocationType.d.ts +0 -10
  4224. package/serialization/types/FeatureCompanyUserResponseDataAllocationType.js +0 -41
  4225. package/serialization/types/FeatureDetailResponseData.d.ts +0 -32
  4226. package/serialization/types/FeatureDetailResponseData.js +0 -63
  4227. package/serialization/types/FeatureResponseData.d.ts +0 -24
  4228. package/serialization/types/FeatureResponseData.js +0 -55
  4229. package/serialization/types/FeatureUsageDataResponseData.d.ts +0 -20
  4230. package/serialization/types/FeatureUsageDataResponseData.js +0 -51
  4231. package/serialization/types/FeatureUsageDetailResponseData.d.ts +0 -13
  4232. package/serialization/types/FeatureUsageDetailResponseData.js +0 -44
  4233. package/serialization/types/FeatureUsageResponseData.d.ts +0 -31
  4234. package/serialization/types/FeatureUsageResponseData.js +0 -62
  4235. package/serialization/types/FeatureUsageResponseDataAllocationType.d.ts +0 -10
  4236. package/serialization/types/FeatureUsageResponseDataAllocationType.js +0 -41
  4237. package/serialization/types/FlagDetailResponseData.d.ts +0 -26
  4238. package/serialization/types/FlagDetailResponseData.js +0 -57
  4239. package/serialization/types/FlagResponseData.d.ts +0 -21
  4240. package/serialization/types/FlagResponseData.js +0 -52
  4241. package/serialization/types/GenericPreviewObject.d.ts +0 -15
  4242. package/serialization/types/GenericPreviewObject.js +0 -46
  4243. package/serialization/types/InvoiceRequestBody.d.ts +0 -22
  4244. package/serialization/types/InvoiceRequestBody.js +0 -53
  4245. package/serialization/types/InvoiceResponseData.d.ts +0 -28
  4246. package/serialization/types/InvoiceResponseData.js +0 -59
  4247. package/serialization/types/IssueTemporaryAccessTokenResponseData.d.ts +0 -19
  4248. package/serialization/types/IssueTemporaryAccessTokenResponseData.js +0 -50
  4249. package/serialization/types/KeysRequestBody.d.ts +0 -12
  4250. package/serialization/types/KeysRequestBody.js +0 -43
  4251. package/serialization/types/MeterRequestBody.d.ts +0 -14
  4252. package/serialization/types/MeterRequestBody.js +0 -45
  4253. package/serialization/types/OrderedPlansInGroup.d.ts +0 -14
  4254. package/serialization/types/OrderedPlansInGroup.js +0 -45
  4255. package/serialization/types/PaginationFilter.d.ts +0 -13
  4256. package/serialization/types/PaginationFilter.js +0 -44
  4257. package/serialization/types/PaymentMethodRequestBody.d.ts +0 -22
  4258. package/serialization/types/PaymentMethodRequestBody.js +0 -53
  4259. package/serialization/types/PaymentMethodResponseData.d.ts +0 -28
  4260. package/serialization/types/PaymentMethodResponseData.js +0 -59
  4261. package/serialization/types/PlanAudienceDetailResponseData.d.ts +0 -25
  4262. package/serialization/types/PlanAudienceDetailResponseData.js +0 -56
  4263. package/serialization/types/PlanAudienceResponseData.d.ts +0 -21
  4264. package/serialization/types/PlanAudienceResponseData.js +0 -52
  4265. package/serialization/types/PlanDetailResponseData.d.ts +0 -34
  4266. package/serialization/types/PlanDetailResponseData.js +0 -65
  4267. package/serialization/types/PlanEntitlementResponseData.d.ts +0 -41
  4268. package/serialization/types/PlanEntitlementResponseData.js +0 -72
  4269. package/serialization/types/PlanEntitlementsOrder.d.ts +0 -13
  4270. package/serialization/types/PlanEntitlementsOrder.js +0 -44
  4271. package/serialization/types/PlanGroupDetailResponseData.d.ts +0 -24
  4272. package/serialization/types/PlanGroupDetailResponseData.js +0 -55
  4273. package/serialization/types/PlanGroupPlanDetailResponseData.d.ts +0 -40
  4274. package/serialization/types/PlanGroupPlanDetailResponseData.js +0 -71
  4275. package/serialization/types/PlanGroupPlanEntitlementsOrder.d.ts +0 -14
  4276. package/serialization/types/PlanGroupPlanEntitlementsOrder.js +0 -45
  4277. package/serialization/types/PlanGroupResponseData.d.ts +0 -20
  4278. package/serialization/types/PlanGroupResponseData.js +0 -51
  4279. package/serialization/types/PlanResponseData.d.ts +0 -19
  4280. package/serialization/types/PlanResponseData.js +0 -50
  4281. package/serialization/types/PlanTraitResponseData.d.ts +0 -19
  4282. package/serialization/types/PlanTraitResponseData.js +0 -50
  4283. package/serialization/types/PreviewObject.d.ts +0 -15
  4284. package/serialization/types/PreviewObject.js +0 -46
  4285. package/serialization/types/PreviewObjectResponseData.d.ts +0 -15
  4286. package/serialization/types/PreviewObjectResponseData.js +0 -46
  4287. package/serialization/types/PreviewSubscriptionChangeResponseData.d.ts +0 -24
  4288. package/serialization/types/PreviewSubscriptionChangeResponseData.js +0 -55
  4289. package/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +0 -21
  4290. package/serialization/types/PreviewSubscriptionFinanceResponseData.js +0 -52
  4291. package/serialization/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +0 -16
  4292. package/serialization/types/PreviewSubscriptionUpcomingInvoiceLineItems.js +0 -47
  4293. package/serialization/types/QuickstartResp.d.ts +0 -12
  4294. package/serialization/types/QuickstartResp.js +0 -43
  4295. package/serialization/types/RawEventBatchResponseData.d.ts +0 -13
  4296. package/serialization/types/RawEventBatchResponseData.js +0 -44
  4297. package/serialization/types/RawEventResponseData.d.ts +0 -16
  4298. package/serialization/types/RawEventResponseData.js +0 -47
  4299. package/serialization/types/RuleConditionDetailResponseData.d.ts +0 -35
  4300. package/serialization/types/RuleConditionDetailResponseData.js +0 -66
  4301. package/serialization/types/RuleConditionGroupDetailResponseData.d.ts +0 -20
  4302. package/serialization/types/RuleConditionGroupDetailResponseData.js +0 -51
  4303. package/serialization/types/RuleConditionGroupResponseData.d.ts +0 -18
  4304. package/serialization/types/RuleConditionGroupResponseData.js +0 -49
  4305. package/serialization/types/RuleConditionResponseData.d.ts +0 -30
  4306. package/serialization/types/RuleConditionResponseData.js +0 -61
  4307. package/serialization/types/RuleDetailResponseData.d.ts +0 -25
  4308. package/serialization/types/RuleDetailResponseData.js +0 -56
  4309. package/serialization/types/RuleResponseData.d.ts +0 -21
  4310. package/serialization/types/RuleResponseData.js +0 -52
  4311. package/serialization/types/RulesDetailResponseData.d.ts +0 -15
  4312. package/serialization/types/RulesDetailResponseData.js +0 -46
  4313. package/serialization/types/SegmentStatusResp.d.ts +0 -14
  4314. package/serialization/types/SegmentStatusResp.js +0 -45
  4315. package/serialization/types/StripeEmbedInfo.d.ts +0 -13
  4316. package/serialization/types/StripeEmbedInfo.js +0 -44
  4317. package/serialization/types/TemporaryAccessTokenResponseData.d.ts +0 -18
  4318. package/serialization/types/TemporaryAccessTokenResponseData.js +0 -49
  4319. package/serialization/types/UpdateAddOnRequestBody.d.ts +0 -13
  4320. package/serialization/types/UpdateAddOnRequestBody.js +0 -44
  4321. package/serialization/types/UpdateCreditBundleRequestBody.d.ts +0 -13
  4322. package/serialization/types/UpdateCreditBundleRequestBody.js +0 -44
  4323. package/serialization/types/UpdateEntitlementReqCommon.d.ts +0 -21
  4324. package/serialization/types/UpdateEntitlementReqCommon.js +0 -52
  4325. package/serialization/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +0 -10
  4326. package/serialization/types/UpdateEntitlementReqCommonMetricPeriod.js +0 -41
  4327. package/serialization/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -10
  4328. package/serialization/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.js +0 -41
  4329. package/serialization/types/UpdateEntitlementReqCommonValueType.d.ts +0 -10
  4330. package/serialization/types/UpdateEntitlementReqCommonValueType.js +0 -41
  4331. package/serialization/types/UpdatePayInAdvanceRequestBody.d.ts +0 -13
  4332. package/serialization/types/UpdatePayInAdvanceRequestBody.js +0 -44
  4333. package/serialization/types/UpdateRuleRequestBody.d.ts +0 -18
  4334. package/serialization/types/UpdateRuleRequestBody.js +0 -49
  4335. package/serialization/types/UpsertCompanyRequestBody.d.ts +0 -17
  4336. package/serialization/types/UpsertCompanyRequestBody.js +0 -48
  4337. package/serialization/types/UpsertTraitRequestBody.d.ts +0 -16
  4338. package/serialization/types/UpsertTraitRequestBody.js +0 -47
  4339. package/serialization/types/UpsertUserRequestBody.d.ts +0 -21
  4340. package/serialization/types/UpsertUserRequestBody.js +0 -54
  4341. package/serialization/types/UpsertUserSubRequestBody.d.ts +0 -19
  4342. package/serialization/types/UpsertUserSubRequestBody.js +0 -50
  4343. package/serialization/types/UsageBasedEntitlementRequestBody.d.ts +0 -26
  4344. package/serialization/types/UsageBasedEntitlementRequestBody.js +0 -57
  4345. package/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +0 -10
  4346. package/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.js +0 -41
  4347. package/serialization/types/UsageBasedEntitlementResponseData.d.ts +0 -23
  4348. package/serialization/types/UsageBasedEntitlementResponseData.js +0 -54
  4349. package/serialization/types/UserDetailResponseData.d.ts +0 -24
  4350. package/serialization/types/UserDetailResponseData.js +0 -55
  4351. package/serialization/types/UserResponseData.d.ts +0 -17
  4352. package/serialization/types/UserResponseData.js +0 -48
  4353. package/serialization/types/WebhookEventDetailResponseData.d.ts +0 -22
  4354. package/serialization/types/WebhookEventDetailResponseData.js +0 -53
  4355. package/serialization/types/WebhookEventResponseData.d.ts +0 -20
  4356. package/serialization/types/WebhookEventResponseData.js +0 -51
  4357. package/serialization/types/WebhookResponseData.d.ts +0 -21
  4358. package/serialization/types/WebhookResponseData.js +0 -52
  4359. package/serialization/types/index.d.ts +0 -172
  4360. package/serialization/types/index.js +0 -188
  4361. package/webhooks.d.ts +0 -76
  4362. package/webhooks.js +0 -170
  4363. package/wrapper.d.ts +0 -88
  4364. package/wrapper.js +0 -178
  4365. /package/{api/resources/plans → dist/api/resources/companies}/client/requests/CreatePlanTraitRequestBody.d.ts +0 -0
  4366. /package/{api/resources/plans → dist/api/resources/companies}/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -0
  4367. /package/{api/resources/plans → dist/api/resources/companies}/types/CountPlanTraitsResponse.d.ts +0 -0
  4368. /package/{api/resources/plans → dist/api/resources/companies}/types/CreatePlanTraitResponse.d.ts +0 -0
  4369. /package/{api/resources/plans → dist/api/resources/companies}/types/DeletePlanTraitResponse.d.ts +0 -0
  4370. /package/{api/resources/plans → dist/api/resources/companies}/types/GetPlanTraitResponse.d.ts +0 -0
  4371. /package/{api/resources/plans → dist/api/resources/companies}/types/ListPlanTraitsResponse.d.ts +0 -0
  4372. /package/{api/resources/plans → dist/api/resources/companies}/types/UpdatePlanTraitResponse.d.ts +0 -0
  4373. /package/dist/serialization/resources/{plans → companies}/client/requests/CreatePlanTraitRequestBody.d.ts +0 -0
  4374. /package/dist/serialization/resources/{plans → companies}/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -0
  4375. /package/dist/serialization/resources/{plans → companies}/types/CountPlanTraitsResponse.d.ts +0 -0
  4376. /package/dist/serialization/resources/{plans → companies}/types/CreatePlanTraitResponse.d.ts +0 -0
  4377. /package/dist/serialization/resources/{plans → companies}/types/DeletePlanTraitResponse.d.ts +0 -0
  4378. /package/dist/serialization/resources/{plans → companies}/types/GetPlanTraitResponse.d.ts +0 -0
  4379. /package/dist/serialization/resources/{plans → companies}/types/ListPlanTraitsResponse.d.ts +0 -0
  4380. /package/dist/serialization/resources/{plans → companies}/types/UpdatePlanTraitResponse.d.ts +0 -0
@@ -1,2338 +0,0 @@
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 () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
- return new (P || (P = Promise))(function (resolve, reject) {
41
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
- step((generator = generator.apply(thisArg, _arguments || [])).next());
45
- });
46
- };
47
- var __importDefault = (this && this.__importDefault) || function (mod) {
48
- return (mod && mod.__esModule) ? mod : { "default": mod };
49
- };
50
- Object.defineProperty(exports, "__esModule", { value: true });
51
- exports.Credits = void 0;
52
- const environments = __importStar(require("../../../../environments"));
53
- const core = __importStar(require("../../../../core"));
54
- const Schematic = __importStar(require("../../../index"));
55
- const url_join_1 = __importDefault(require("url-join"));
56
- const serializers = __importStar(require("../../../../serialization/index"));
57
- const errors = __importStar(require("../../../../errors/index"));
58
- class Credits {
59
- constructor(_options) {
60
- this._options = _options;
61
- }
62
- /**
63
- * @param {Schematic.ListBillingCreditsRequest} request
64
- * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
65
- *
66
- * @throws {@link Schematic.BadRequestError}
67
- * @throws {@link Schematic.UnauthorizedError}
68
- * @throws {@link Schematic.ForbiddenError}
69
- * @throws {@link Schematic.NotFoundError}
70
- * @throws {@link Schematic.InternalServerError}
71
- *
72
- * @example
73
- * await client.credits.listBillingCredits()
74
- */
75
- listBillingCredits(request = {}, requestOptions) {
76
- return core.HttpResponsePromise.fromPromise(this.__listBillingCredits(request, requestOptions));
77
- }
78
- __listBillingCredits() {
79
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
80
- var _a, _b, _c;
81
- const { ids, name, limit, offset } = request;
82
- const _queryParams = {};
83
- if (ids != null) {
84
- if (Array.isArray(ids)) {
85
- _queryParams["ids"] = ids.map((item) => item);
86
- }
87
- else {
88
- _queryParams["ids"] = ids;
89
- }
90
- }
91
- if (name != null) {
92
- _queryParams["name"] = name;
93
- }
94
- if (limit != null) {
95
- _queryParams["limit"] = limit.toString();
96
- }
97
- if (offset != null) {
98
- _queryParams["offset"] = offset.toString();
99
- }
100
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
101
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "billing/credits"),
102
- method: "GET",
103
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
104
- contentType: "application/json",
105
- queryParameters: _queryParams,
106
- requestType: "json",
107
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
108
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
109
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
110
- });
111
- if (_response.ok) {
112
- return {
113
- data: serializers.ListBillingCreditsResponse.parseOrThrow(_response.body, {
114
- unrecognizedObjectKeys: "passthrough",
115
- allowUnrecognizedUnionMembers: true,
116
- allowUnrecognizedEnumValues: true,
117
- skipValidation: true,
118
- breadcrumbsPrefix: ["response"],
119
- }),
120
- rawResponse: _response.rawResponse,
121
- };
122
- }
123
- if (_response.error.reason === "status-code") {
124
- switch (_response.error.statusCode) {
125
- case 400:
126
- throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
127
- unrecognizedObjectKeys: "passthrough",
128
- allowUnrecognizedUnionMembers: true,
129
- allowUnrecognizedEnumValues: true,
130
- skipValidation: true,
131
- breadcrumbsPrefix: ["response"],
132
- }), _response.rawResponse);
133
- case 401:
134
- throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
135
- unrecognizedObjectKeys: "passthrough",
136
- allowUnrecognizedUnionMembers: true,
137
- allowUnrecognizedEnumValues: true,
138
- skipValidation: true,
139
- breadcrumbsPrefix: ["response"],
140
- }), _response.rawResponse);
141
- case 403:
142
- throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
143
- unrecognizedObjectKeys: "passthrough",
144
- allowUnrecognizedUnionMembers: true,
145
- allowUnrecognizedEnumValues: true,
146
- skipValidation: true,
147
- breadcrumbsPrefix: ["response"],
148
- }), _response.rawResponse);
149
- case 404:
150
- throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
151
- unrecognizedObjectKeys: "passthrough",
152
- allowUnrecognizedUnionMembers: true,
153
- allowUnrecognizedEnumValues: true,
154
- skipValidation: true,
155
- breadcrumbsPrefix: ["response"],
156
- }), _response.rawResponse);
157
- case 500:
158
- throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
159
- unrecognizedObjectKeys: "passthrough",
160
- allowUnrecognizedUnionMembers: true,
161
- allowUnrecognizedEnumValues: true,
162
- skipValidation: true,
163
- breadcrumbsPrefix: ["response"],
164
- }), _response.rawResponse);
165
- default:
166
- throw new errors.SchematicError({
167
- statusCode: _response.error.statusCode,
168
- body: _response.error.body,
169
- rawResponse: _response.rawResponse,
170
- });
171
- }
172
- }
173
- switch (_response.error.reason) {
174
- case "non-json":
175
- throw new errors.SchematicError({
176
- statusCode: _response.error.statusCode,
177
- body: _response.error.rawBody,
178
- rawResponse: _response.rawResponse,
179
- });
180
- case "timeout":
181
- throw new errors.SchematicTimeoutError("Timeout exceeded when calling GET /billing/credits.");
182
- case "unknown":
183
- throw new errors.SchematicError({
184
- message: _response.error.errorMessage,
185
- rawResponse: _response.rawResponse,
186
- });
187
- }
188
- });
189
- }
190
- /**
191
- * @param {Schematic.CreateBillingCreditRequestBody} request
192
- * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
193
- *
194
- * @throws {@link Schematic.BadRequestError}
195
- * @throws {@link Schematic.UnauthorizedError}
196
- * @throws {@link Schematic.ForbiddenError}
197
- * @throws {@link Schematic.NotFoundError}
198
- * @throws {@link Schematic.InternalServerError}
199
- *
200
- * @example
201
- * await client.credits.createBillingCredit({
202
- * currency: "currency",
203
- * description: "description",
204
- * name: "name"
205
- * })
206
- */
207
- createBillingCredit(request, requestOptions) {
208
- return core.HttpResponsePromise.fromPromise(this.__createBillingCredit(request, requestOptions));
209
- }
210
- __createBillingCredit(request, requestOptions) {
211
- return __awaiter(this, void 0, void 0, function* () {
212
- var _a, _b, _c;
213
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
214
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "billing/credits"),
215
- method: "POST",
216
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
217
- contentType: "application/json",
218
- requestType: "json",
219
- body: serializers.CreateBillingCreditRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
220
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
221
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
222
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
223
- });
224
- if (_response.ok) {
225
- return {
226
- data: serializers.CreateBillingCreditResponse.parseOrThrow(_response.body, {
227
- unrecognizedObjectKeys: "passthrough",
228
- allowUnrecognizedUnionMembers: true,
229
- allowUnrecognizedEnumValues: true,
230
- skipValidation: true,
231
- breadcrumbsPrefix: ["response"],
232
- }),
233
- rawResponse: _response.rawResponse,
234
- };
235
- }
236
- if (_response.error.reason === "status-code") {
237
- switch (_response.error.statusCode) {
238
- case 400:
239
- throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
240
- unrecognizedObjectKeys: "passthrough",
241
- allowUnrecognizedUnionMembers: true,
242
- allowUnrecognizedEnumValues: true,
243
- skipValidation: true,
244
- breadcrumbsPrefix: ["response"],
245
- }), _response.rawResponse);
246
- case 401:
247
- throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
248
- unrecognizedObjectKeys: "passthrough",
249
- allowUnrecognizedUnionMembers: true,
250
- allowUnrecognizedEnumValues: true,
251
- skipValidation: true,
252
- breadcrumbsPrefix: ["response"],
253
- }), _response.rawResponse);
254
- case 403:
255
- throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
256
- unrecognizedObjectKeys: "passthrough",
257
- allowUnrecognizedUnionMembers: true,
258
- allowUnrecognizedEnumValues: true,
259
- skipValidation: true,
260
- breadcrumbsPrefix: ["response"],
261
- }), _response.rawResponse);
262
- case 404:
263
- throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
264
- unrecognizedObjectKeys: "passthrough",
265
- allowUnrecognizedUnionMembers: true,
266
- allowUnrecognizedEnumValues: true,
267
- skipValidation: true,
268
- breadcrumbsPrefix: ["response"],
269
- }), _response.rawResponse);
270
- case 500:
271
- throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
272
- unrecognizedObjectKeys: "passthrough",
273
- allowUnrecognizedUnionMembers: true,
274
- allowUnrecognizedEnumValues: true,
275
- skipValidation: true,
276
- breadcrumbsPrefix: ["response"],
277
- }), _response.rawResponse);
278
- default:
279
- throw new errors.SchematicError({
280
- statusCode: _response.error.statusCode,
281
- body: _response.error.body,
282
- rawResponse: _response.rawResponse,
283
- });
284
- }
285
- }
286
- switch (_response.error.reason) {
287
- case "non-json":
288
- throw new errors.SchematicError({
289
- statusCode: _response.error.statusCode,
290
- body: _response.error.rawBody,
291
- rawResponse: _response.rawResponse,
292
- });
293
- case "timeout":
294
- throw new errors.SchematicTimeoutError("Timeout exceeded when calling POST /billing/credits.");
295
- case "unknown":
296
- throw new errors.SchematicError({
297
- message: _response.error.errorMessage,
298
- rawResponse: _response.rawResponse,
299
- });
300
- }
301
- });
302
- }
303
- /**
304
- * @param {string} billingId - billing_id
305
- * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
306
- *
307
- * @throws {@link Schematic.UnauthorizedError}
308
- * @throws {@link Schematic.ForbiddenError}
309
- * @throws {@link Schematic.NotFoundError}
310
- * @throws {@link Schematic.InternalServerError}
311
- *
312
- * @example
313
- * await client.credits.getSingleBillingCredit("billing_id")
314
- */
315
- getSingleBillingCredit(billingId, requestOptions) {
316
- return core.HttpResponsePromise.fromPromise(this.__getSingleBillingCredit(billingId, requestOptions));
317
- }
318
- __getSingleBillingCredit(billingId, requestOptions) {
319
- return __awaiter(this, void 0, void 0, function* () {
320
- var _a, _b, _c;
321
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
322
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, `billing/credits/${encodeURIComponent(billingId)}`),
323
- method: "GET",
324
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
325
- contentType: "application/json",
326
- requestType: "json",
327
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
328
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
329
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
330
- });
331
- if (_response.ok) {
332
- return {
333
- data: serializers.GetSingleBillingCreditResponse.parseOrThrow(_response.body, {
334
- unrecognizedObjectKeys: "passthrough",
335
- allowUnrecognizedUnionMembers: true,
336
- allowUnrecognizedEnumValues: true,
337
- skipValidation: true,
338
- breadcrumbsPrefix: ["response"],
339
- }),
340
- rawResponse: _response.rawResponse,
341
- };
342
- }
343
- if (_response.error.reason === "status-code") {
344
- switch (_response.error.statusCode) {
345
- case 401:
346
- throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
347
- unrecognizedObjectKeys: "passthrough",
348
- allowUnrecognizedUnionMembers: true,
349
- allowUnrecognizedEnumValues: true,
350
- skipValidation: true,
351
- breadcrumbsPrefix: ["response"],
352
- }), _response.rawResponse);
353
- case 403:
354
- throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
355
- unrecognizedObjectKeys: "passthrough",
356
- allowUnrecognizedUnionMembers: true,
357
- allowUnrecognizedEnumValues: true,
358
- skipValidation: true,
359
- breadcrumbsPrefix: ["response"],
360
- }), _response.rawResponse);
361
- case 404:
362
- throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
363
- unrecognizedObjectKeys: "passthrough",
364
- allowUnrecognizedUnionMembers: true,
365
- allowUnrecognizedEnumValues: true,
366
- skipValidation: true,
367
- breadcrumbsPrefix: ["response"],
368
- }), _response.rawResponse);
369
- case 500:
370
- throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
371
- unrecognizedObjectKeys: "passthrough",
372
- allowUnrecognizedUnionMembers: true,
373
- allowUnrecognizedEnumValues: true,
374
- skipValidation: true,
375
- breadcrumbsPrefix: ["response"],
376
- }), _response.rawResponse);
377
- default:
378
- throw new errors.SchematicError({
379
- statusCode: _response.error.statusCode,
380
- body: _response.error.body,
381
- rawResponse: _response.rawResponse,
382
- });
383
- }
384
- }
385
- switch (_response.error.reason) {
386
- case "non-json":
387
- throw new errors.SchematicError({
388
- statusCode: _response.error.statusCode,
389
- body: _response.error.rawBody,
390
- rawResponse: _response.rawResponse,
391
- });
392
- case "timeout":
393
- throw new errors.SchematicTimeoutError("Timeout exceeded when calling GET /billing/credits/{billing_id}.");
394
- case "unknown":
395
- throw new errors.SchematicError({
396
- message: _response.error.errorMessage,
397
- rawResponse: _response.rawResponse,
398
- });
399
- }
400
- });
401
- }
402
- /**
403
- * @param {string} billingId - billing_id
404
- * @param {Schematic.UpdateBillingCreditRequestBody} request
405
- * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
406
- *
407
- * @throws {@link Schematic.BadRequestError}
408
- * @throws {@link Schematic.UnauthorizedError}
409
- * @throws {@link Schematic.ForbiddenError}
410
- * @throws {@link Schematic.NotFoundError}
411
- * @throws {@link Schematic.InternalServerError}
412
- *
413
- * @example
414
- * await client.credits.updateBillingCredit("billing_id", {
415
- * description: "description",
416
- * name: "name"
417
- * })
418
- */
419
- updateBillingCredit(billingId, request, requestOptions) {
420
- return core.HttpResponsePromise.fromPromise(this.__updateBillingCredit(billingId, request, requestOptions));
421
- }
422
- __updateBillingCredit(billingId, request, requestOptions) {
423
- return __awaiter(this, void 0, void 0, function* () {
424
- var _a, _b, _c;
425
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
426
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, `billing/credits/${encodeURIComponent(billingId)}`),
427
- method: "PUT",
428
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
429
- contentType: "application/json",
430
- requestType: "json",
431
- body: serializers.UpdateBillingCreditRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
432
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
433
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
434
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
435
- });
436
- if (_response.ok) {
437
- return {
438
- data: serializers.UpdateBillingCreditResponse.parseOrThrow(_response.body, {
439
- unrecognizedObjectKeys: "passthrough",
440
- allowUnrecognizedUnionMembers: true,
441
- allowUnrecognizedEnumValues: true,
442
- skipValidation: true,
443
- breadcrumbsPrefix: ["response"],
444
- }),
445
- rawResponse: _response.rawResponse,
446
- };
447
- }
448
- if (_response.error.reason === "status-code") {
449
- switch (_response.error.statusCode) {
450
- case 400:
451
- throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
452
- unrecognizedObjectKeys: "passthrough",
453
- allowUnrecognizedUnionMembers: true,
454
- allowUnrecognizedEnumValues: true,
455
- skipValidation: true,
456
- breadcrumbsPrefix: ["response"],
457
- }), _response.rawResponse);
458
- case 401:
459
- throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
460
- unrecognizedObjectKeys: "passthrough",
461
- allowUnrecognizedUnionMembers: true,
462
- allowUnrecognizedEnumValues: true,
463
- skipValidation: true,
464
- breadcrumbsPrefix: ["response"],
465
- }), _response.rawResponse);
466
- case 403:
467
- throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
468
- unrecognizedObjectKeys: "passthrough",
469
- allowUnrecognizedUnionMembers: true,
470
- allowUnrecognizedEnumValues: true,
471
- skipValidation: true,
472
- breadcrumbsPrefix: ["response"],
473
- }), _response.rawResponse);
474
- case 404:
475
- throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
476
- unrecognizedObjectKeys: "passthrough",
477
- allowUnrecognizedUnionMembers: true,
478
- allowUnrecognizedEnumValues: true,
479
- skipValidation: true,
480
- breadcrumbsPrefix: ["response"],
481
- }), _response.rawResponse);
482
- case 500:
483
- throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
484
- unrecognizedObjectKeys: "passthrough",
485
- allowUnrecognizedUnionMembers: true,
486
- allowUnrecognizedEnumValues: true,
487
- skipValidation: true,
488
- breadcrumbsPrefix: ["response"],
489
- }), _response.rawResponse);
490
- default:
491
- throw new errors.SchematicError({
492
- statusCode: _response.error.statusCode,
493
- body: _response.error.body,
494
- rawResponse: _response.rawResponse,
495
- });
496
- }
497
- }
498
- switch (_response.error.reason) {
499
- case "non-json":
500
- throw new errors.SchematicError({
501
- statusCode: _response.error.statusCode,
502
- body: _response.error.rawBody,
503
- rawResponse: _response.rawResponse,
504
- });
505
- case "timeout":
506
- throw new errors.SchematicTimeoutError("Timeout exceeded when calling PUT /billing/credits/{billing_id}.");
507
- case "unknown":
508
- throw new errors.SchematicError({
509
- message: _response.error.errorMessage,
510
- rawResponse: _response.rawResponse,
511
- });
512
- }
513
- });
514
- }
515
- /**
516
- * @param {Schematic.ListCreditBundlesRequest} request
517
- * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
518
- *
519
- * @throws {@link Schematic.BadRequestError}
520
- * @throws {@link Schematic.UnauthorizedError}
521
- * @throws {@link Schematic.ForbiddenError}
522
- * @throws {@link Schematic.NotFoundError}
523
- * @throws {@link Schematic.InternalServerError}
524
- *
525
- * @example
526
- * await client.credits.listCreditBundles()
527
- */
528
- listCreditBundles(request = {}, requestOptions) {
529
- return core.HttpResponsePromise.fromPromise(this.__listCreditBundles(request, requestOptions));
530
- }
531
- __listCreditBundles() {
532
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
533
- var _a, _b, _c;
534
- const { ids, creditId, status, bundleType, limit, offset } = request;
535
- const _queryParams = {};
536
- if (ids != null) {
537
- if (Array.isArray(ids)) {
538
- _queryParams["ids"] = ids.map((item) => item);
539
- }
540
- else {
541
- _queryParams["ids"] = ids;
542
- }
543
- }
544
- if (creditId != null) {
545
- _queryParams["credit_id"] = creditId;
546
- }
547
- if (status != null) {
548
- _queryParams["status"] = serializers.ListCreditBundlesRequestStatus.jsonOrThrow(status, {
549
- unrecognizedObjectKeys: "strip",
550
- });
551
- }
552
- if (bundleType != null) {
553
- _queryParams["bundle_type"] = bundleType;
554
- }
555
- if (limit != null) {
556
- _queryParams["limit"] = limit.toString();
557
- }
558
- if (offset != null) {
559
- _queryParams["offset"] = offset.toString();
560
- }
561
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
562
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "billing/credits/bundles"),
563
- method: "GET",
564
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
565
- contentType: "application/json",
566
- queryParameters: _queryParams,
567
- requestType: "json",
568
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
569
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
570
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
571
- });
572
- if (_response.ok) {
573
- return {
574
- data: serializers.ListCreditBundlesResponse.parseOrThrow(_response.body, {
575
- unrecognizedObjectKeys: "passthrough",
576
- allowUnrecognizedUnionMembers: true,
577
- allowUnrecognizedEnumValues: true,
578
- skipValidation: true,
579
- breadcrumbsPrefix: ["response"],
580
- }),
581
- rawResponse: _response.rawResponse,
582
- };
583
- }
584
- if (_response.error.reason === "status-code") {
585
- switch (_response.error.statusCode) {
586
- case 400:
587
- throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
588
- unrecognizedObjectKeys: "passthrough",
589
- allowUnrecognizedUnionMembers: true,
590
- allowUnrecognizedEnumValues: true,
591
- skipValidation: true,
592
- breadcrumbsPrefix: ["response"],
593
- }), _response.rawResponse);
594
- case 401:
595
- throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
596
- unrecognizedObjectKeys: "passthrough",
597
- allowUnrecognizedUnionMembers: true,
598
- allowUnrecognizedEnumValues: true,
599
- skipValidation: true,
600
- breadcrumbsPrefix: ["response"],
601
- }), _response.rawResponse);
602
- case 403:
603
- throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
604
- unrecognizedObjectKeys: "passthrough",
605
- allowUnrecognizedUnionMembers: true,
606
- allowUnrecognizedEnumValues: true,
607
- skipValidation: true,
608
- breadcrumbsPrefix: ["response"],
609
- }), _response.rawResponse);
610
- case 404:
611
- throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
612
- unrecognizedObjectKeys: "passthrough",
613
- allowUnrecognizedUnionMembers: true,
614
- allowUnrecognizedEnumValues: true,
615
- skipValidation: true,
616
- breadcrumbsPrefix: ["response"],
617
- }), _response.rawResponse);
618
- case 500:
619
- throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
620
- unrecognizedObjectKeys: "passthrough",
621
- allowUnrecognizedUnionMembers: true,
622
- allowUnrecognizedEnumValues: true,
623
- skipValidation: true,
624
- breadcrumbsPrefix: ["response"],
625
- }), _response.rawResponse);
626
- default:
627
- throw new errors.SchematicError({
628
- statusCode: _response.error.statusCode,
629
- body: _response.error.body,
630
- rawResponse: _response.rawResponse,
631
- });
632
- }
633
- }
634
- switch (_response.error.reason) {
635
- case "non-json":
636
- throw new errors.SchematicError({
637
- statusCode: _response.error.statusCode,
638
- body: _response.error.rawBody,
639
- rawResponse: _response.rawResponse,
640
- });
641
- case "timeout":
642
- throw new errors.SchematicTimeoutError("Timeout exceeded when calling GET /billing/credits/bundles.");
643
- case "unknown":
644
- throw new errors.SchematicError({
645
- message: _response.error.errorMessage,
646
- rawResponse: _response.rawResponse,
647
- });
648
- }
649
- });
650
- }
651
- /**
652
- * @param {Schematic.CreateCreditBundleRequestBody} request
653
- * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
654
- *
655
- * @throws {@link Schematic.BadRequestError}
656
- * @throws {@link Schematic.UnauthorizedError}
657
- * @throws {@link Schematic.ForbiddenError}
658
- * @throws {@link Schematic.NotFoundError}
659
- * @throws {@link Schematic.InternalServerError}
660
- *
661
- * @example
662
- * await client.credits.createCreditBundle({
663
- * creditId: "credit_id",
664
- * currency: "currency",
665
- * pricePerUnit: 1
666
- * })
667
- */
668
- createCreditBundle(request, requestOptions) {
669
- return core.HttpResponsePromise.fromPromise(this.__createCreditBundle(request, requestOptions));
670
- }
671
- __createCreditBundle(request, requestOptions) {
672
- return __awaiter(this, void 0, void 0, function* () {
673
- var _a, _b, _c;
674
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
675
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "billing/credits/bundles"),
676
- method: "POST",
677
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
678
- contentType: "application/json",
679
- requestType: "json",
680
- body: serializers.CreateCreditBundleRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
681
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
682
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
683
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
684
- });
685
- if (_response.ok) {
686
- return {
687
- data: serializers.CreateCreditBundleResponse.parseOrThrow(_response.body, {
688
- unrecognizedObjectKeys: "passthrough",
689
- allowUnrecognizedUnionMembers: true,
690
- allowUnrecognizedEnumValues: true,
691
- skipValidation: true,
692
- breadcrumbsPrefix: ["response"],
693
- }),
694
- rawResponse: _response.rawResponse,
695
- };
696
- }
697
- if (_response.error.reason === "status-code") {
698
- switch (_response.error.statusCode) {
699
- case 400:
700
- throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
701
- unrecognizedObjectKeys: "passthrough",
702
- allowUnrecognizedUnionMembers: true,
703
- allowUnrecognizedEnumValues: true,
704
- skipValidation: true,
705
- breadcrumbsPrefix: ["response"],
706
- }), _response.rawResponse);
707
- case 401:
708
- throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
709
- unrecognizedObjectKeys: "passthrough",
710
- allowUnrecognizedUnionMembers: true,
711
- allowUnrecognizedEnumValues: true,
712
- skipValidation: true,
713
- breadcrumbsPrefix: ["response"],
714
- }), _response.rawResponse);
715
- case 403:
716
- throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
717
- unrecognizedObjectKeys: "passthrough",
718
- allowUnrecognizedUnionMembers: true,
719
- allowUnrecognizedEnumValues: true,
720
- skipValidation: true,
721
- breadcrumbsPrefix: ["response"],
722
- }), _response.rawResponse);
723
- case 404:
724
- throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
725
- unrecognizedObjectKeys: "passthrough",
726
- allowUnrecognizedUnionMembers: true,
727
- allowUnrecognizedEnumValues: true,
728
- skipValidation: true,
729
- breadcrumbsPrefix: ["response"],
730
- }), _response.rawResponse);
731
- case 500:
732
- throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
733
- unrecognizedObjectKeys: "passthrough",
734
- allowUnrecognizedUnionMembers: true,
735
- allowUnrecognizedEnumValues: true,
736
- skipValidation: true,
737
- breadcrumbsPrefix: ["response"],
738
- }), _response.rawResponse);
739
- default:
740
- throw new errors.SchematicError({
741
- statusCode: _response.error.statusCode,
742
- body: _response.error.body,
743
- rawResponse: _response.rawResponse,
744
- });
745
- }
746
- }
747
- switch (_response.error.reason) {
748
- case "non-json":
749
- throw new errors.SchematicError({
750
- statusCode: _response.error.statusCode,
751
- body: _response.error.rawBody,
752
- rawResponse: _response.rawResponse,
753
- });
754
- case "timeout":
755
- throw new errors.SchematicTimeoutError("Timeout exceeded when calling POST /billing/credits/bundles.");
756
- case "unknown":
757
- throw new errors.SchematicError({
758
- message: _response.error.errorMessage,
759
- rawResponse: _response.rawResponse,
760
- });
761
- }
762
- });
763
- }
764
- /**
765
- * @param {string} billingId - billing_id
766
- * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
767
- *
768
- * @throws {@link Schematic.UnauthorizedError}
769
- * @throws {@link Schematic.ForbiddenError}
770
- * @throws {@link Schematic.NotFoundError}
771
- * @throws {@link Schematic.InternalServerError}
772
- *
773
- * @example
774
- * await client.credits.getCreditBundle("billing_id")
775
- */
776
- getCreditBundle(billingId, requestOptions) {
777
- return core.HttpResponsePromise.fromPromise(this.__getCreditBundle(billingId, requestOptions));
778
- }
779
- __getCreditBundle(billingId, requestOptions) {
780
- return __awaiter(this, void 0, void 0, function* () {
781
- var _a, _b, _c;
782
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
783
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, `billing/credits/bundles/${encodeURIComponent(billingId)}`),
784
- method: "GET",
785
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
786
- contentType: "application/json",
787
- requestType: "json",
788
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
789
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
790
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
791
- });
792
- if (_response.ok) {
793
- return {
794
- data: serializers.GetCreditBundleResponse.parseOrThrow(_response.body, {
795
- unrecognizedObjectKeys: "passthrough",
796
- allowUnrecognizedUnionMembers: true,
797
- allowUnrecognizedEnumValues: true,
798
- skipValidation: true,
799
- breadcrumbsPrefix: ["response"],
800
- }),
801
- rawResponse: _response.rawResponse,
802
- };
803
- }
804
- if (_response.error.reason === "status-code") {
805
- switch (_response.error.statusCode) {
806
- case 401:
807
- throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
808
- unrecognizedObjectKeys: "passthrough",
809
- allowUnrecognizedUnionMembers: true,
810
- allowUnrecognizedEnumValues: true,
811
- skipValidation: true,
812
- breadcrumbsPrefix: ["response"],
813
- }), _response.rawResponse);
814
- case 403:
815
- throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
816
- unrecognizedObjectKeys: "passthrough",
817
- allowUnrecognizedUnionMembers: true,
818
- allowUnrecognizedEnumValues: true,
819
- skipValidation: true,
820
- breadcrumbsPrefix: ["response"],
821
- }), _response.rawResponse);
822
- case 404:
823
- throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
824
- unrecognizedObjectKeys: "passthrough",
825
- allowUnrecognizedUnionMembers: true,
826
- allowUnrecognizedEnumValues: true,
827
- skipValidation: true,
828
- breadcrumbsPrefix: ["response"],
829
- }), _response.rawResponse);
830
- case 500:
831
- throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
832
- unrecognizedObjectKeys: "passthrough",
833
- allowUnrecognizedUnionMembers: true,
834
- allowUnrecognizedEnumValues: true,
835
- skipValidation: true,
836
- breadcrumbsPrefix: ["response"],
837
- }), _response.rawResponse);
838
- default:
839
- throw new errors.SchematicError({
840
- statusCode: _response.error.statusCode,
841
- body: _response.error.body,
842
- rawResponse: _response.rawResponse,
843
- });
844
- }
845
- }
846
- switch (_response.error.reason) {
847
- case "non-json":
848
- throw new errors.SchematicError({
849
- statusCode: _response.error.statusCode,
850
- body: _response.error.rawBody,
851
- rawResponse: _response.rawResponse,
852
- });
853
- case "timeout":
854
- throw new errors.SchematicTimeoutError("Timeout exceeded when calling GET /billing/credits/bundles/{billing_id}.");
855
- case "unknown":
856
- throw new errors.SchematicError({
857
- message: _response.error.errorMessage,
858
- rawResponse: _response.rawResponse,
859
- });
860
- }
861
- });
862
- }
863
- /**
864
- * @param {string} billingId - billing_id
865
- * @param {Schematic.UpdateCreditBundleRequestBody} request
866
- * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
867
- *
868
- * @throws {@link Schematic.BadRequestError}
869
- * @throws {@link Schematic.UnauthorizedError}
870
- * @throws {@link Schematic.ForbiddenError}
871
- * @throws {@link Schematic.NotFoundError}
872
- * @throws {@link Schematic.InternalServerError}
873
- *
874
- * @example
875
- * await client.credits.updateCreditBundle("billing_id", {
876
- * bundleId: "bundle_id",
877
- * quantity: 1
878
- * })
879
- */
880
- updateCreditBundle(billingId, request, requestOptions) {
881
- return core.HttpResponsePromise.fromPromise(this.__updateCreditBundle(billingId, request, requestOptions));
882
- }
883
- __updateCreditBundle(billingId, request, requestOptions) {
884
- return __awaiter(this, void 0, void 0, function* () {
885
- var _a, _b, _c;
886
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
887
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, `billing/credits/bundles/${encodeURIComponent(billingId)}`),
888
- method: "PUT",
889
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
890
- contentType: "application/json",
891
- requestType: "json",
892
- body: serializers.UpdateCreditBundleRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
893
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
894
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
895
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
896
- });
897
- if (_response.ok) {
898
- return {
899
- data: serializers.UpdateCreditBundleResponse.parseOrThrow(_response.body, {
900
- unrecognizedObjectKeys: "passthrough",
901
- allowUnrecognizedUnionMembers: true,
902
- allowUnrecognizedEnumValues: true,
903
- skipValidation: true,
904
- breadcrumbsPrefix: ["response"],
905
- }),
906
- rawResponse: _response.rawResponse,
907
- };
908
- }
909
- if (_response.error.reason === "status-code") {
910
- switch (_response.error.statusCode) {
911
- case 400:
912
- throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
913
- unrecognizedObjectKeys: "passthrough",
914
- allowUnrecognizedUnionMembers: true,
915
- allowUnrecognizedEnumValues: true,
916
- skipValidation: true,
917
- breadcrumbsPrefix: ["response"],
918
- }), _response.rawResponse);
919
- case 401:
920
- throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
921
- unrecognizedObjectKeys: "passthrough",
922
- allowUnrecognizedUnionMembers: true,
923
- allowUnrecognizedEnumValues: true,
924
- skipValidation: true,
925
- breadcrumbsPrefix: ["response"],
926
- }), _response.rawResponse);
927
- case 403:
928
- throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
929
- unrecognizedObjectKeys: "passthrough",
930
- allowUnrecognizedUnionMembers: true,
931
- allowUnrecognizedEnumValues: true,
932
- skipValidation: true,
933
- breadcrumbsPrefix: ["response"],
934
- }), _response.rawResponse);
935
- case 404:
936
- throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
937
- unrecognizedObjectKeys: "passthrough",
938
- allowUnrecognizedUnionMembers: true,
939
- allowUnrecognizedEnumValues: true,
940
- skipValidation: true,
941
- breadcrumbsPrefix: ["response"],
942
- }), _response.rawResponse);
943
- case 500:
944
- throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
945
- unrecognizedObjectKeys: "passthrough",
946
- allowUnrecognizedUnionMembers: true,
947
- allowUnrecognizedEnumValues: true,
948
- skipValidation: true,
949
- breadcrumbsPrefix: ["response"],
950
- }), _response.rawResponse);
951
- default:
952
- throw new errors.SchematicError({
953
- statusCode: _response.error.statusCode,
954
- body: _response.error.body,
955
- rawResponse: _response.rawResponse,
956
- });
957
- }
958
- }
959
- switch (_response.error.reason) {
960
- case "non-json":
961
- throw new errors.SchematicError({
962
- statusCode: _response.error.statusCode,
963
- body: _response.error.rawBody,
964
- rawResponse: _response.rawResponse,
965
- });
966
- case "timeout":
967
- throw new errors.SchematicTimeoutError("Timeout exceeded when calling PUT /billing/credits/bundles/{billing_id}.");
968
- case "unknown":
969
- throw new errors.SchematicError({
970
- message: _response.error.errorMessage,
971
- rawResponse: _response.rawResponse,
972
- });
973
- }
974
- });
975
- }
976
- /**
977
- * @param {string} billingId - billing_id
978
- * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
979
- *
980
- * @throws {@link Schematic.BadRequestError}
981
- * @throws {@link Schematic.UnauthorizedError}
982
- * @throws {@link Schematic.ForbiddenError}
983
- * @throws {@link Schematic.NotFoundError}
984
- * @throws {@link Schematic.InternalServerError}
985
- *
986
- * @example
987
- * await client.credits.deleteCreditBundle("billing_id")
988
- */
989
- deleteCreditBundle(billingId, requestOptions) {
990
- return core.HttpResponsePromise.fromPromise(this.__deleteCreditBundle(billingId, requestOptions));
991
- }
992
- __deleteCreditBundle(billingId, requestOptions) {
993
- return __awaiter(this, void 0, void 0, function* () {
994
- var _a, _b, _c;
995
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
996
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, `billing/credits/bundles/${encodeURIComponent(billingId)}`),
997
- method: "DELETE",
998
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
999
- contentType: "application/json",
1000
- requestType: "json",
1001
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1002
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1003
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1004
- });
1005
- if (_response.ok) {
1006
- return {
1007
- data: serializers.DeleteCreditBundleResponse.parseOrThrow(_response.body, {
1008
- unrecognizedObjectKeys: "passthrough",
1009
- allowUnrecognizedUnionMembers: true,
1010
- allowUnrecognizedEnumValues: true,
1011
- skipValidation: true,
1012
- breadcrumbsPrefix: ["response"],
1013
- }),
1014
- rawResponse: _response.rawResponse,
1015
- };
1016
- }
1017
- if (_response.error.reason === "status-code") {
1018
- switch (_response.error.statusCode) {
1019
- case 400:
1020
- throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
1021
- unrecognizedObjectKeys: "passthrough",
1022
- allowUnrecognizedUnionMembers: true,
1023
- allowUnrecognizedEnumValues: true,
1024
- skipValidation: true,
1025
- breadcrumbsPrefix: ["response"],
1026
- }), _response.rawResponse);
1027
- case 401:
1028
- throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
1029
- unrecognizedObjectKeys: "passthrough",
1030
- allowUnrecognizedUnionMembers: true,
1031
- allowUnrecognizedEnumValues: true,
1032
- skipValidation: true,
1033
- breadcrumbsPrefix: ["response"],
1034
- }), _response.rawResponse);
1035
- case 403:
1036
- throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
1037
- unrecognizedObjectKeys: "passthrough",
1038
- allowUnrecognizedUnionMembers: true,
1039
- allowUnrecognizedEnumValues: true,
1040
- skipValidation: true,
1041
- breadcrumbsPrefix: ["response"],
1042
- }), _response.rawResponse);
1043
- case 404:
1044
- throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
1045
- unrecognizedObjectKeys: "passthrough",
1046
- allowUnrecognizedUnionMembers: true,
1047
- allowUnrecognizedEnumValues: true,
1048
- skipValidation: true,
1049
- breadcrumbsPrefix: ["response"],
1050
- }), _response.rawResponse);
1051
- case 500:
1052
- throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
1053
- unrecognizedObjectKeys: "passthrough",
1054
- allowUnrecognizedUnionMembers: true,
1055
- allowUnrecognizedEnumValues: true,
1056
- skipValidation: true,
1057
- breadcrumbsPrefix: ["response"],
1058
- }), _response.rawResponse);
1059
- default:
1060
- throw new errors.SchematicError({
1061
- statusCode: _response.error.statusCode,
1062
- body: _response.error.body,
1063
- rawResponse: _response.rawResponse,
1064
- });
1065
- }
1066
- }
1067
- switch (_response.error.reason) {
1068
- case "non-json":
1069
- throw new errors.SchematicError({
1070
- statusCode: _response.error.statusCode,
1071
- body: _response.error.rawBody,
1072
- rawResponse: _response.rawResponse,
1073
- });
1074
- case "timeout":
1075
- throw new errors.SchematicTimeoutError("Timeout exceeded when calling DELETE /billing/credits/bundles/{billing_id}.");
1076
- case "unknown":
1077
- throw new errors.SchematicError({
1078
- message: _response.error.errorMessage,
1079
- rawResponse: _response.rawResponse,
1080
- });
1081
- }
1082
- });
1083
- }
1084
- /**
1085
- * @param {Schematic.CountCreditBundlesRequest} request
1086
- * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
1087
- *
1088
- * @throws {@link Schematic.BadRequestError}
1089
- * @throws {@link Schematic.UnauthorizedError}
1090
- * @throws {@link Schematic.ForbiddenError}
1091
- * @throws {@link Schematic.NotFoundError}
1092
- * @throws {@link Schematic.InternalServerError}
1093
- *
1094
- * @example
1095
- * await client.credits.countCreditBundles()
1096
- */
1097
- countCreditBundles(request = {}, requestOptions) {
1098
- return core.HttpResponsePromise.fromPromise(this.__countCreditBundles(request, requestOptions));
1099
- }
1100
- __countCreditBundles() {
1101
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
1102
- var _a, _b, _c;
1103
- const { ids, creditId, status, bundleType, limit, offset } = request;
1104
- const _queryParams = {};
1105
- if (ids != null) {
1106
- if (Array.isArray(ids)) {
1107
- _queryParams["ids"] = ids.map((item) => item);
1108
- }
1109
- else {
1110
- _queryParams["ids"] = ids;
1111
- }
1112
- }
1113
- if (creditId != null) {
1114
- _queryParams["credit_id"] = creditId;
1115
- }
1116
- if (status != null) {
1117
- _queryParams["status"] = serializers.CountCreditBundlesRequestStatus.jsonOrThrow(status, {
1118
- unrecognizedObjectKeys: "strip",
1119
- });
1120
- }
1121
- if (bundleType != null) {
1122
- _queryParams["bundle_type"] = bundleType;
1123
- }
1124
- if (limit != null) {
1125
- _queryParams["limit"] = limit.toString();
1126
- }
1127
- if (offset != null) {
1128
- _queryParams["offset"] = offset.toString();
1129
- }
1130
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1131
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "billing/credits/bundles/count"),
1132
- method: "GET",
1133
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1134
- contentType: "application/json",
1135
- queryParameters: _queryParams,
1136
- requestType: "json",
1137
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1138
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1139
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1140
- });
1141
- if (_response.ok) {
1142
- return {
1143
- data: serializers.CountCreditBundlesResponse.parseOrThrow(_response.body, {
1144
- unrecognizedObjectKeys: "passthrough",
1145
- allowUnrecognizedUnionMembers: true,
1146
- allowUnrecognizedEnumValues: true,
1147
- skipValidation: true,
1148
- breadcrumbsPrefix: ["response"],
1149
- }),
1150
- rawResponse: _response.rawResponse,
1151
- };
1152
- }
1153
- if (_response.error.reason === "status-code") {
1154
- switch (_response.error.statusCode) {
1155
- case 400:
1156
- throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
1157
- unrecognizedObjectKeys: "passthrough",
1158
- allowUnrecognizedUnionMembers: true,
1159
- allowUnrecognizedEnumValues: true,
1160
- skipValidation: true,
1161
- breadcrumbsPrefix: ["response"],
1162
- }), _response.rawResponse);
1163
- case 401:
1164
- throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
1165
- unrecognizedObjectKeys: "passthrough",
1166
- allowUnrecognizedUnionMembers: true,
1167
- allowUnrecognizedEnumValues: true,
1168
- skipValidation: true,
1169
- breadcrumbsPrefix: ["response"],
1170
- }), _response.rawResponse);
1171
- case 403:
1172
- throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
1173
- unrecognizedObjectKeys: "passthrough",
1174
- allowUnrecognizedUnionMembers: true,
1175
- allowUnrecognizedEnumValues: true,
1176
- skipValidation: true,
1177
- breadcrumbsPrefix: ["response"],
1178
- }), _response.rawResponse);
1179
- case 404:
1180
- throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
1181
- unrecognizedObjectKeys: "passthrough",
1182
- allowUnrecognizedUnionMembers: true,
1183
- allowUnrecognizedEnumValues: true,
1184
- skipValidation: true,
1185
- breadcrumbsPrefix: ["response"],
1186
- }), _response.rawResponse);
1187
- case 500:
1188
- throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
1189
- unrecognizedObjectKeys: "passthrough",
1190
- allowUnrecognizedUnionMembers: true,
1191
- allowUnrecognizedEnumValues: true,
1192
- skipValidation: true,
1193
- breadcrumbsPrefix: ["response"],
1194
- }), _response.rawResponse);
1195
- default:
1196
- throw new errors.SchematicError({
1197
- statusCode: _response.error.statusCode,
1198
- body: _response.error.body,
1199
- rawResponse: _response.rawResponse,
1200
- });
1201
- }
1202
- }
1203
- switch (_response.error.reason) {
1204
- case "non-json":
1205
- throw new errors.SchematicError({
1206
- statusCode: _response.error.statusCode,
1207
- body: _response.error.rawBody,
1208
- rawResponse: _response.rawResponse,
1209
- });
1210
- case "timeout":
1211
- throw new errors.SchematicTimeoutError("Timeout exceeded when calling GET /billing/credits/bundles/count.");
1212
- case "unknown":
1213
- throw new errors.SchematicError({
1214
- message: _response.error.errorMessage,
1215
- rawResponse: _response.rawResponse,
1216
- });
1217
- }
1218
- });
1219
- }
1220
- /**
1221
- * @param {Schematic.CountBillingCreditsRequest} request
1222
- * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
1223
- *
1224
- * @throws {@link Schematic.BadRequestError}
1225
- * @throws {@link Schematic.UnauthorizedError}
1226
- * @throws {@link Schematic.ForbiddenError}
1227
- * @throws {@link Schematic.NotFoundError}
1228
- * @throws {@link Schematic.InternalServerError}
1229
- *
1230
- * @example
1231
- * await client.credits.countBillingCredits()
1232
- */
1233
- countBillingCredits(request = {}, requestOptions) {
1234
- return core.HttpResponsePromise.fromPromise(this.__countBillingCredits(request, requestOptions));
1235
- }
1236
- __countBillingCredits() {
1237
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
1238
- var _a, _b, _c;
1239
- const { ids, name, limit, offset } = request;
1240
- const _queryParams = {};
1241
- if (ids != null) {
1242
- if (Array.isArray(ids)) {
1243
- _queryParams["ids"] = ids.map((item) => item);
1244
- }
1245
- else {
1246
- _queryParams["ids"] = ids;
1247
- }
1248
- }
1249
- if (name != null) {
1250
- _queryParams["name"] = name;
1251
- }
1252
- if (limit != null) {
1253
- _queryParams["limit"] = limit.toString();
1254
- }
1255
- if (offset != null) {
1256
- _queryParams["offset"] = offset.toString();
1257
- }
1258
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1259
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "billing/credits/count"),
1260
- method: "GET",
1261
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1262
- contentType: "application/json",
1263
- queryParameters: _queryParams,
1264
- requestType: "json",
1265
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1266
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1267
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1268
- });
1269
- if (_response.ok) {
1270
- return {
1271
- data: serializers.CountBillingCreditsResponse.parseOrThrow(_response.body, {
1272
- unrecognizedObjectKeys: "passthrough",
1273
- allowUnrecognizedUnionMembers: true,
1274
- allowUnrecognizedEnumValues: true,
1275
- skipValidation: true,
1276
- breadcrumbsPrefix: ["response"],
1277
- }),
1278
- rawResponse: _response.rawResponse,
1279
- };
1280
- }
1281
- if (_response.error.reason === "status-code") {
1282
- switch (_response.error.statusCode) {
1283
- case 400:
1284
- throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
1285
- unrecognizedObjectKeys: "passthrough",
1286
- allowUnrecognizedUnionMembers: true,
1287
- allowUnrecognizedEnumValues: true,
1288
- skipValidation: true,
1289
- breadcrumbsPrefix: ["response"],
1290
- }), _response.rawResponse);
1291
- case 401:
1292
- throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
1293
- unrecognizedObjectKeys: "passthrough",
1294
- allowUnrecognizedUnionMembers: true,
1295
- allowUnrecognizedEnumValues: true,
1296
- skipValidation: true,
1297
- breadcrumbsPrefix: ["response"],
1298
- }), _response.rawResponse);
1299
- case 403:
1300
- throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
1301
- unrecognizedObjectKeys: "passthrough",
1302
- allowUnrecognizedUnionMembers: true,
1303
- allowUnrecognizedEnumValues: true,
1304
- skipValidation: true,
1305
- breadcrumbsPrefix: ["response"],
1306
- }), _response.rawResponse);
1307
- case 404:
1308
- throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
1309
- unrecognizedObjectKeys: "passthrough",
1310
- allowUnrecognizedUnionMembers: true,
1311
- allowUnrecognizedEnumValues: true,
1312
- skipValidation: true,
1313
- breadcrumbsPrefix: ["response"],
1314
- }), _response.rawResponse);
1315
- case 500:
1316
- throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
1317
- unrecognizedObjectKeys: "passthrough",
1318
- allowUnrecognizedUnionMembers: true,
1319
- allowUnrecognizedEnumValues: true,
1320
- skipValidation: true,
1321
- breadcrumbsPrefix: ["response"],
1322
- }), _response.rawResponse);
1323
- default:
1324
- throw new errors.SchematicError({
1325
- statusCode: _response.error.statusCode,
1326
- body: _response.error.body,
1327
- rawResponse: _response.rawResponse,
1328
- });
1329
- }
1330
- }
1331
- switch (_response.error.reason) {
1332
- case "non-json":
1333
- throw new errors.SchematicError({
1334
- statusCode: _response.error.statusCode,
1335
- body: _response.error.rawBody,
1336
- rawResponse: _response.rawResponse,
1337
- });
1338
- case "timeout":
1339
- throw new errors.SchematicTimeoutError("Timeout exceeded when calling GET /billing/credits/count.");
1340
- case "unknown":
1341
- throw new errors.SchematicError({
1342
- message: _response.error.errorMessage,
1343
- rawResponse: _response.rawResponse,
1344
- });
1345
- }
1346
- });
1347
- }
1348
- /**
1349
- * @param {string} billingId - billing_id
1350
- * @param {Schematic.ZeroOutGrantRequestBody} request
1351
- * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
1352
- *
1353
- * @throws {@link Schematic.BadRequestError}
1354
- * @throws {@link Schematic.UnauthorizedError}
1355
- * @throws {@link Schematic.ForbiddenError}
1356
- * @throws {@link Schematic.NotFoundError}
1357
- * @throws {@link Schematic.InternalServerError}
1358
- *
1359
- * @example
1360
- * await client.credits.zeroOutGrant("billing_id")
1361
- */
1362
- zeroOutGrant(billingId, request = {}, requestOptions) {
1363
- return core.HttpResponsePromise.fromPromise(this.__zeroOutGrant(billingId, request, requestOptions));
1364
- }
1365
- __zeroOutGrant(billingId_1) {
1366
- return __awaiter(this, arguments, void 0, function* (billingId, request = {}, requestOptions) {
1367
- var _a, _b, _c;
1368
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1369
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, `billing/credits/grants/${encodeURIComponent(billingId)}/zero-out`),
1370
- method: "PUT",
1371
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1372
- contentType: "application/json",
1373
- requestType: "json",
1374
- body: serializers.ZeroOutGrantRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
1375
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1376
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1377
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1378
- });
1379
- if (_response.ok) {
1380
- return {
1381
- data: serializers.ZeroOutGrantResponse.parseOrThrow(_response.body, {
1382
- unrecognizedObjectKeys: "passthrough",
1383
- allowUnrecognizedUnionMembers: true,
1384
- allowUnrecognizedEnumValues: true,
1385
- skipValidation: true,
1386
- breadcrumbsPrefix: ["response"],
1387
- }),
1388
- rawResponse: _response.rawResponse,
1389
- };
1390
- }
1391
- if (_response.error.reason === "status-code") {
1392
- switch (_response.error.statusCode) {
1393
- case 400:
1394
- throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
1395
- unrecognizedObjectKeys: "passthrough",
1396
- allowUnrecognizedUnionMembers: true,
1397
- allowUnrecognizedEnumValues: true,
1398
- skipValidation: true,
1399
- breadcrumbsPrefix: ["response"],
1400
- }), _response.rawResponse);
1401
- case 401:
1402
- throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
1403
- unrecognizedObjectKeys: "passthrough",
1404
- allowUnrecognizedUnionMembers: true,
1405
- allowUnrecognizedEnumValues: true,
1406
- skipValidation: true,
1407
- breadcrumbsPrefix: ["response"],
1408
- }), _response.rawResponse);
1409
- case 403:
1410
- throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
1411
- unrecognizedObjectKeys: "passthrough",
1412
- allowUnrecognizedUnionMembers: true,
1413
- allowUnrecognizedEnumValues: true,
1414
- skipValidation: true,
1415
- breadcrumbsPrefix: ["response"],
1416
- }), _response.rawResponse);
1417
- case 404:
1418
- throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
1419
- unrecognizedObjectKeys: "passthrough",
1420
- allowUnrecognizedUnionMembers: true,
1421
- allowUnrecognizedEnumValues: true,
1422
- skipValidation: true,
1423
- breadcrumbsPrefix: ["response"],
1424
- }), _response.rawResponse);
1425
- case 500:
1426
- throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
1427
- unrecognizedObjectKeys: "passthrough",
1428
- allowUnrecognizedUnionMembers: true,
1429
- allowUnrecognizedEnumValues: true,
1430
- skipValidation: true,
1431
- breadcrumbsPrefix: ["response"],
1432
- }), _response.rawResponse);
1433
- default:
1434
- throw new errors.SchematicError({
1435
- statusCode: _response.error.statusCode,
1436
- body: _response.error.body,
1437
- rawResponse: _response.rawResponse,
1438
- });
1439
- }
1440
- }
1441
- switch (_response.error.reason) {
1442
- case "non-json":
1443
- throw new errors.SchematicError({
1444
- statusCode: _response.error.statusCode,
1445
- body: _response.error.rawBody,
1446
- rawResponse: _response.rawResponse,
1447
- });
1448
- case "timeout":
1449
- throw new errors.SchematicTimeoutError("Timeout exceeded when calling PUT /billing/credits/grants/{billing_id}/zero-out.");
1450
- case "unknown":
1451
- throw new errors.SchematicError({
1452
- message: _response.error.errorMessage,
1453
- rawResponse: _response.rawResponse,
1454
- });
1455
- }
1456
- });
1457
- }
1458
- /**
1459
- * @param {Schematic.ListCompanyGrantsRequest} request
1460
- * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
1461
- *
1462
- * @throws {@link Schematic.BadRequestError}
1463
- * @throws {@link Schematic.UnauthorizedError}
1464
- * @throws {@link Schematic.ForbiddenError}
1465
- * @throws {@link Schematic.NotFoundError}
1466
- * @throws {@link Schematic.InternalServerError}
1467
- *
1468
- * @example
1469
- * await client.credits.listCompanyGrants()
1470
- */
1471
- listCompanyGrants(request = {}, requestOptions) {
1472
- return core.HttpResponsePromise.fromPromise(this.__listCompanyGrants(request, requestOptions));
1473
- }
1474
- __listCompanyGrants() {
1475
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
1476
- var _a, _b, _c;
1477
- const { companyId, order, dir, limit, offset } = request;
1478
- const _queryParams = {};
1479
- if (companyId != null) {
1480
- _queryParams["company_id"] = companyId;
1481
- }
1482
- if (order != null) {
1483
- _queryParams["order"] = serializers.ListCompanyGrantsRequestOrder.jsonOrThrow(order, {
1484
- unrecognizedObjectKeys: "strip",
1485
- });
1486
- }
1487
- if (dir != null) {
1488
- _queryParams["dir"] = serializers.ListCompanyGrantsRequestDir.jsonOrThrow(dir, {
1489
- unrecognizedObjectKeys: "strip",
1490
- });
1491
- }
1492
- if (limit != null) {
1493
- _queryParams["limit"] = limit.toString();
1494
- }
1495
- if (offset != null) {
1496
- _queryParams["offset"] = offset.toString();
1497
- }
1498
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1499
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "billing/credits/grants/company/list"),
1500
- method: "GET",
1501
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1502
- contentType: "application/json",
1503
- queryParameters: _queryParams,
1504
- requestType: "json",
1505
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1506
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1507
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1508
- });
1509
- if (_response.ok) {
1510
- return {
1511
- data: serializers.ListCompanyGrantsResponse.parseOrThrow(_response.body, {
1512
- unrecognizedObjectKeys: "passthrough",
1513
- allowUnrecognizedUnionMembers: true,
1514
- allowUnrecognizedEnumValues: true,
1515
- skipValidation: true,
1516
- breadcrumbsPrefix: ["response"],
1517
- }),
1518
- rawResponse: _response.rawResponse,
1519
- };
1520
- }
1521
- if (_response.error.reason === "status-code") {
1522
- switch (_response.error.statusCode) {
1523
- case 400:
1524
- throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
1525
- unrecognizedObjectKeys: "passthrough",
1526
- allowUnrecognizedUnionMembers: true,
1527
- allowUnrecognizedEnumValues: true,
1528
- skipValidation: true,
1529
- breadcrumbsPrefix: ["response"],
1530
- }), _response.rawResponse);
1531
- case 401:
1532
- throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
1533
- unrecognizedObjectKeys: "passthrough",
1534
- allowUnrecognizedUnionMembers: true,
1535
- allowUnrecognizedEnumValues: true,
1536
- skipValidation: true,
1537
- breadcrumbsPrefix: ["response"],
1538
- }), _response.rawResponse);
1539
- case 403:
1540
- throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
1541
- unrecognizedObjectKeys: "passthrough",
1542
- allowUnrecognizedUnionMembers: true,
1543
- allowUnrecognizedEnumValues: true,
1544
- skipValidation: true,
1545
- breadcrumbsPrefix: ["response"],
1546
- }), _response.rawResponse);
1547
- case 404:
1548
- throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
1549
- unrecognizedObjectKeys: "passthrough",
1550
- allowUnrecognizedUnionMembers: true,
1551
- allowUnrecognizedEnumValues: true,
1552
- skipValidation: true,
1553
- breadcrumbsPrefix: ["response"],
1554
- }), _response.rawResponse);
1555
- case 500:
1556
- throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
1557
- unrecognizedObjectKeys: "passthrough",
1558
- allowUnrecognizedUnionMembers: true,
1559
- allowUnrecognizedEnumValues: true,
1560
- skipValidation: true,
1561
- breadcrumbsPrefix: ["response"],
1562
- }), _response.rawResponse);
1563
- default:
1564
- throw new errors.SchematicError({
1565
- statusCode: _response.error.statusCode,
1566
- body: _response.error.body,
1567
- rawResponse: _response.rawResponse,
1568
- });
1569
- }
1570
- }
1571
- switch (_response.error.reason) {
1572
- case "non-json":
1573
- throw new errors.SchematicError({
1574
- statusCode: _response.error.statusCode,
1575
- body: _response.error.rawBody,
1576
- rawResponse: _response.rawResponse,
1577
- });
1578
- case "timeout":
1579
- throw new errors.SchematicTimeoutError("Timeout exceeded when calling GET /billing/credits/grants/company/list.");
1580
- case "unknown":
1581
- throw new errors.SchematicError({
1582
- message: _response.error.errorMessage,
1583
- rawResponse: _response.rawResponse,
1584
- });
1585
- }
1586
- });
1587
- }
1588
- /**
1589
- * @param {Schematic.CountBillingCreditsGrantsRequest} request
1590
- * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
1591
- *
1592
- * @throws {@link Schematic.BadRequestError}
1593
- * @throws {@link Schematic.UnauthorizedError}
1594
- * @throws {@link Schematic.ForbiddenError}
1595
- * @throws {@link Schematic.NotFoundError}
1596
- * @throws {@link Schematic.InternalServerError}
1597
- *
1598
- * @example
1599
- * await client.credits.countBillingCreditsGrants()
1600
- */
1601
- countBillingCreditsGrants(request = {}, requestOptions) {
1602
- return core.HttpResponsePromise.fromPromise(this.__countBillingCreditsGrants(request, requestOptions));
1603
- }
1604
- __countBillingCreditsGrants() {
1605
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
1606
- var _a, _b, _c;
1607
- const { creditId, ids, limit, offset } = request;
1608
- const _queryParams = {};
1609
- if (creditId != null) {
1610
- _queryParams["credit_id"] = creditId;
1611
- }
1612
- if (ids != null) {
1613
- if (Array.isArray(ids)) {
1614
- _queryParams["ids"] = ids.map((item) => item);
1615
- }
1616
- else {
1617
- _queryParams["ids"] = ids;
1618
- }
1619
- }
1620
- if (limit != null) {
1621
- _queryParams["limit"] = limit.toString();
1622
- }
1623
- if (offset != null) {
1624
- _queryParams["offset"] = offset.toString();
1625
- }
1626
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1627
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "billing/credits/grants/count"),
1628
- method: "GET",
1629
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1630
- contentType: "application/json",
1631
- queryParameters: _queryParams,
1632
- requestType: "json",
1633
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1634
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1635
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1636
- });
1637
- if (_response.ok) {
1638
- return {
1639
- data: serializers.CountBillingCreditsGrantsResponse.parseOrThrow(_response.body, {
1640
- unrecognizedObjectKeys: "passthrough",
1641
- allowUnrecognizedUnionMembers: true,
1642
- allowUnrecognizedEnumValues: true,
1643
- skipValidation: true,
1644
- breadcrumbsPrefix: ["response"],
1645
- }),
1646
- rawResponse: _response.rawResponse,
1647
- };
1648
- }
1649
- if (_response.error.reason === "status-code") {
1650
- switch (_response.error.statusCode) {
1651
- case 400:
1652
- throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
1653
- unrecognizedObjectKeys: "passthrough",
1654
- allowUnrecognizedUnionMembers: true,
1655
- allowUnrecognizedEnumValues: true,
1656
- skipValidation: true,
1657
- breadcrumbsPrefix: ["response"],
1658
- }), _response.rawResponse);
1659
- case 401:
1660
- throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
1661
- unrecognizedObjectKeys: "passthrough",
1662
- allowUnrecognizedUnionMembers: true,
1663
- allowUnrecognizedEnumValues: true,
1664
- skipValidation: true,
1665
- breadcrumbsPrefix: ["response"],
1666
- }), _response.rawResponse);
1667
- case 403:
1668
- throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
1669
- unrecognizedObjectKeys: "passthrough",
1670
- allowUnrecognizedUnionMembers: true,
1671
- allowUnrecognizedEnumValues: true,
1672
- skipValidation: true,
1673
- breadcrumbsPrefix: ["response"],
1674
- }), _response.rawResponse);
1675
- case 404:
1676
- throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
1677
- unrecognizedObjectKeys: "passthrough",
1678
- allowUnrecognizedUnionMembers: true,
1679
- allowUnrecognizedEnumValues: true,
1680
- skipValidation: true,
1681
- breadcrumbsPrefix: ["response"],
1682
- }), _response.rawResponse);
1683
- case 500:
1684
- throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
1685
- unrecognizedObjectKeys: "passthrough",
1686
- allowUnrecognizedUnionMembers: true,
1687
- allowUnrecognizedEnumValues: true,
1688
- skipValidation: true,
1689
- breadcrumbsPrefix: ["response"],
1690
- }), _response.rawResponse);
1691
- default:
1692
- throw new errors.SchematicError({
1693
- statusCode: _response.error.statusCode,
1694
- body: _response.error.body,
1695
- rawResponse: _response.rawResponse,
1696
- });
1697
- }
1698
- }
1699
- switch (_response.error.reason) {
1700
- case "non-json":
1701
- throw new errors.SchematicError({
1702
- statusCode: _response.error.statusCode,
1703
- body: _response.error.rawBody,
1704
- rawResponse: _response.rawResponse,
1705
- });
1706
- case "timeout":
1707
- throw new errors.SchematicTimeoutError("Timeout exceeded when calling GET /billing/credits/grants/count.");
1708
- case "unknown":
1709
- throw new errors.SchematicError({
1710
- message: _response.error.errorMessage,
1711
- rawResponse: _response.rawResponse,
1712
- });
1713
- }
1714
- });
1715
- }
1716
- /**
1717
- * @param {Schematic.ListGrantsForCreditRequest} request
1718
- * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
1719
- *
1720
- * @throws {@link Schematic.BadRequestError}
1721
- * @throws {@link Schematic.UnauthorizedError}
1722
- * @throws {@link Schematic.ForbiddenError}
1723
- * @throws {@link Schematic.NotFoundError}
1724
- * @throws {@link Schematic.InternalServerError}
1725
- *
1726
- * @example
1727
- * await client.credits.listGrantsForCredit()
1728
- */
1729
- listGrantsForCredit(request = {}, requestOptions) {
1730
- return core.HttpResponsePromise.fromPromise(this.__listGrantsForCredit(request, requestOptions));
1731
- }
1732
- __listGrantsForCredit() {
1733
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
1734
- var _a, _b, _c;
1735
- const { creditId, ids, limit, offset } = request;
1736
- const _queryParams = {};
1737
- if (creditId != null) {
1738
- _queryParams["credit_id"] = creditId;
1739
- }
1740
- if (ids != null) {
1741
- if (Array.isArray(ids)) {
1742
- _queryParams["ids"] = ids.map((item) => item);
1743
- }
1744
- else {
1745
- _queryParams["ids"] = ids;
1746
- }
1747
- }
1748
- if (limit != null) {
1749
- _queryParams["limit"] = limit.toString();
1750
- }
1751
- if (offset != null) {
1752
- _queryParams["offset"] = offset.toString();
1753
- }
1754
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1755
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "billing/credits/grants/list"),
1756
- method: "GET",
1757
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1758
- contentType: "application/json",
1759
- queryParameters: _queryParams,
1760
- requestType: "json",
1761
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1762
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1763
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1764
- });
1765
- if (_response.ok) {
1766
- return {
1767
- data: serializers.ListGrantsForCreditResponse.parseOrThrow(_response.body, {
1768
- unrecognizedObjectKeys: "passthrough",
1769
- allowUnrecognizedUnionMembers: true,
1770
- allowUnrecognizedEnumValues: true,
1771
- skipValidation: true,
1772
- breadcrumbsPrefix: ["response"],
1773
- }),
1774
- rawResponse: _response.rawResponse,
1775
- };
1776
- }
1777
- if (_response.error.reason === "status-code") {
1778
- switch (_response.error.statusCode) {
1779
- case 400:
1780
- throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
1781
- unrecognizedObjectKeys: "passthrough",
1782
- allowUnrecognizedUnionMembers: true,
1783
- allowUnrecognizedEnumValues: true,
1784
- skipValidation: true,
1785
- breadcrumbsPrefix: ["response"],
1786
- }), _response.rawResponse);
1787
- case 401:
1788
- throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
1789
- unrecognizedObjectKeys: "passthrough",
1790
- allowUnrecognizedUnionMembers: true,
1791
- allowUnrecognizedEnumValues: true,
1792
- skipValidation: true,
1793
- breadcrumbsPrefix: ["response"],
1794
- }), _response.rawResponse);
1795
- case 403:
1796
- throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
1797
- unrecognizedObjectKeys: "passthrough",
1798
- allowUnrecognizedUnionMembers: true,
1799
- allowUnrecognizedEnumValues: true,
1800
- skipValidation: true,
1801
- breadcrumbsPrefix: ["response"],
1802
- }), _response.rawResponse);
1803
- case 404:
1804
- throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
1805
- unrecognizedObjectKeys: "passthrough",
1806
- allowUnrecognizedUnionMembers: true,
1807
- allowUnrecognizedEnumValues: true,
1808
- skipValidation: true,
1809
- breadcrumbsPrefix: ["response"],
1810
- }), _response.rawResponse);
1811
- case 500:
1812
- throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
1813
- unrecognizedObjectKeys: "passthrough",
1814
- allowUnrecognizedUnionMembers: true,
1815
- allowUnrecognizedEnumValues: true,
1816
- skipValidation: true,
1817
- breadcrumbsPrefix: ["response"],
1818
- }), _response.rawResponse);
1819
- default:
1820
- throw new errors.SchematicError({
1821
- statusCode: _response.error.statusCode,
1822
- body: _response.error.body,
1823
- rawResponse: _response.rawResponse,
1824
- });
1825
- }
1826
- }
1827
- switch (_response.error.reason) {
1828
- case "non-json":
1829
- throw new errors.SchematicError({
1830
- statusCode: _response.error.statusCode,
1831
- body: _response.error.rawBody,
1832
- rawResponse: _response.rawResponse,
1833
- });
1834
- case "timeout":
1835
- throw new errors.SchematicTimeoutError("Timeout exceeded when calling GET /billing/credits/grants/list.");
1836
- case "unknown":
1837
- throw new errors.SchematicError({
1838
- message: _response.error.errorMessage,
1839
- rawResponse: _response.rawResponse,
1840
- });
1841
- }
1842
- });
1843
- }
1844
- /**
1845
- * @param {Schematic.ListBillingPlanCreditGrantsRequest} request
1846
- * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
1847
- *
1848
- * @throws {@link Schematic.BadRequestError}
1849
- * @throws {@link Schematic.UnauthorizedError}
1850
- * @throws {@link Schematic.ForbiddenError}
1851
- * @throws {@link Schematic.NotFoundError}
1852
- * @throws {@link Schematic.InternalServerError}
1853
- *
1854
- * @example
1855
- * await client.credits.listBillingPlanCreditGrants()
1856
- */
1857
- listBillingPlanCreditGrants(request = {}, requestOptions) {
1858
- return core.HttpResponsePromise.fromPromise(this.__listBillingPlanCreditGrants(request, requestOptions));
1859
- }
1860
- __listBillingPlanCreditGrants() {
1861
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
1862
- var _a, _b, _c;
1863
- const { creditId, planId, ids, limit, offset } = request;
1864
- const _queryParams = {};
1865
- if (creditId != null) {
1866
- _queryParams["credit_id"] = creditId;
1867
- }
1868
- if (planId != null) {
1869
- _queryParams["plan_id"] = planId;
1870
- }
1871
- if (ids != null) {
1872
- if (Array.isArray(ids)) {
1873
- _queryParams["ids"] = ids.map((item) => item);
1874
- }
1875
- else {
1876
- _queryParams["ids"] = ids;
1877
- }
1878
- }
1879
- if (limit != null) {
1880
- _queryParams["limit"] = limit.toString();
1881
- }
1882
- if (offset != null) {
1883
- _queryParams["offset"] = offset.toString();
1884
- }
1885
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1886
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "billing/credits/plan-grants"),
1887
- method: "GET",
1888
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1889
- contentType: "application/json",
1890
- queryParameters: _queryParams,
1891
- requestType: "json",
1892
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1893
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1894
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1895
- });
1896
- if (_response.ok) {
1897
- return {
1898
- data: serializers.ListBillingPlanCreditGrantsResponse.parseOrThrow(_response.body, {
1899
- unrecognizedObjectKeys: "passthrough",
1900
- allowUnrecognizedUnionMembers: true,
1901
- allowUnrecognizedEnumValues: true,
1902
- skipValidation: true,
1903
- breadcrumbsPrefix: ["response"],
1904
- }),
1905
- rawResponse: _response.rawResponse,
1906
- };
1907
- }
1908
- if (_response.error.reason === "status-code") {
1909
- switch (_response.error.statusCode) {
1910
- case 400:
1911
- throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
1912
- unrecognizedObjectKeys: "passthrough",
1913
- allowUnrecognizedUnionMembers: true,
1914
- allowUnrecognizedEnumValues: true,
1915
- skipValidation: true,
1916
- breadcrumbsPrefix: ["response"],
1917
- }), _response.rawResponse);
1918
- case 401:
1919
- throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
1920
- unrecognizedObjectKeys: "passthrough",
1921
- allowUnrecognizedUnionMembers: true,
1922
- allowUnrecognizedEnumValues: true,
1923
- skipValidation: true,
1924
- breadcrumbsPrefix: ["response"],
1925
- }), _response.rawResponse);
1926
- case 403:
1927
- throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
1928
- unrecognizedObjectKeys: "passthrough",
1929
- allowUnrecognizedUnionMembers: true,
1930
- allowUnrecognizedEnumValues: true,
1931
- skipValidation: true,
1932
- breadcrumbsPrefix: ["response"],
1933
- }), _response.rawResponse);
1934
- case 404:
1935
- throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
1936
- unrecognizedObjectKeys: "passthrough",
1937
- allowUnrecognizedUnionMembers: true,
1938
- allowUnrecognizedEnumValues: true,
1939
- skipValidation: true,
1940
- breadcrumbsPrefix: ["response"],
1941
- }), _response.rawResponse);
1942
- case 500:
1943
- throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
1944
- unrecognizedObjectKeys: "passthrough",
1945
- allowUnrecognizedUnionMembers: true,
1946
- allowUnrecognizedEnumValues: true,
1947
- skipValidation: true,
1948
- breadcrumbsPrefix: ["response"],
1949
- }), _response.rawResponse);
1950
- default:
1951
- throw new errors.SchematicError({
1952
- statusCode: _response.error.statusCode,
1953
- body: _response.error.body,
1954
- rawResponse: _response.rawResponse,
1955
- });
1956
- }
1957
- }
1958
- switch (_response.error.reason) {
1959
- case "non-json":
1960
- throw new errors.SchematicError({
1961
- statusCode: _response.error.statusCode,
1962
- body: _response.error.rawBody,
1963
- rawResponse: _response.rawResponse,
1964
- });
1965
- case "timeout":
1966
- throw new errors.SchematicTimeoutError("Timeout exceeded when calling GET /billing/credits/plan-grants.");
1967
- case "unknown":
1968
- throw new errors.SchematicError({
1969
- message: _response.error.errorMessage,
1970
- rawResponse: _response.rawResponse,
1971
- });
1972
- }
1973
- });
1974
- }
1975
- /**
1976
- * @param {Schematic.CreateBillingPlanCreditGrantRequestBody} request
1977
- * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
1978
- *
1979
- * @throws {@link Schematic.BadRequestError}
1980
- * @throws {@link Schematic.UnauthorizedError}
1981
- * @throws {@link Schematic.ForbiddenError}
1982
- * @throws {@link Schematic.NotFoundError}
1983
- * @throws {@link Schematic.InternalServerError}
1984
- *
1985
- * @example
1986
- * await client.credits.createBillingPlanCreditGrant({
1987
- * creditAmount: 1,
1988
- * creditId: "credit_id",
1989
- * planId: "plan_id",
1990
- * resetCadence: "monthly",
1991
- * resetStart: "billing_period"
1992
- * })
1993
- */
1994
- createBillingPlanCreditGrant(request, requestOptions) {
1995
- return core.HttpResponsePromise.fromPromise(this.__createBillingPlanCreditGrant(request, requestOptions));
1996
- }
1997
- __createBillingPlanCreditGrant(request, requestOptions) {
1998
- return __awaiter(this, void 0, void 0, function* () {
1999
- var _a, _b, _c;
2000
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2001
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "billing/credits/plan-grants"),
2002
- method: "POST",
2003
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
2004
- contentType: "application/json",
2005
- requestType: "json",
2006
- body: serializers.CreateBillingPlanCreditGrantRequestBody.jsonOrThrow(request, {
2007
- unrecognizedObjectKeys: "strip",
2008
- }),
2009
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
2010
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
2011
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
2012
- });
2013
- if (_response.ok) {
2014
- return {
2015
- data: serializers.CreateBillingPlanCreditGrantResponse.parseOrThrow(_response.body, {
2016
- unrecognizedObjectKeys: "passthrough",
2017
- allowUnrecognizedUnionMembers: true,
2018
- allowUnrecognizedEnumValues: true,
2019
- skipValidation: true,
2020
- breadcrumbsPrefix: ["response"],
2021
- }),
2022
- rawResponse: _response.rawResponse,
2023
- };
2024
- }
2025
- if (_response.error.reason === "status-code") {
2026
- switch (_response.error.statusCode) {
2027
- case 400:
2028
- throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
2029
- unrecognizedObjectKeys: "passthrough",
2030
- allowUnrecognizedUnionMembers: true,
2031
- allowUnrecognizedEnumValues: true,
2032
- skipValidation: true,
2033
- breadcrumbsPrefix: ["response"],
2034
- }), _response.rawResponse);
2035
- case 401:
2036
- throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
2037
- unrecognizedObjectKeys: "passthrough",
2038
- allowUnrecognizedUnionMembers: true,
2039
- allowUnrecognizedEnumValues: true,
2040
- skipValidation: true,
2041
- breadcrumbsPrefix: ["response"],
2042
- }), _response.rawResponse);
2043
- case 403:
2044
- throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
2045
- unrecognizedObjectKeys: "passthrough",
2046
- allowUnrecognizedUnionMembers: true,
2047
- allowUnrecognizedEnumValues: true,
2048
- skipValidation: true,
2049
- breadcrumbsPrefix: ["response"],
2050
- }), _response.rawResponse);
2051
- case 404:
2052
- throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
2053
- unrecognizedObjectKeys: "passthrough",
2054
- allowUnrecognizedUnionMembers: true,
2055
- allowUnrecognizedEnumValues: true,
2056
- skipValidation: true,
2057
- breadcrumbsPrefix: ["response"],
2058
- }), _response.rawResponse);
2059
- case 500:
2060
- throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
2061
- unrecognizedObjectKeys: "passthrough",
2062
- allowUnrecognizedUnionMembers: true,
2063
- allowUnrecognizedEnumValues: true,
2064
- skipValidation: true,
2065
- breadcrumbsPrefix: ["response"],
2066
- }), _response.rawResponse);
2067
- default:
2068
- throw new errors.SchematicError({
2069
- statusCode: _response.error.statusCode,
2070
- body: _response.error.body,
2071
- rawResponse: _response.rawResponse,
2072
- });
2073
- }
2074
- }
2075
- switch (_response.error.reason) {
2076
- case "non-json":
2077
- throw new errors.SchematicError({
2078
- statusCode: _response.error.statusCode,
2079
- body: _response.error.rawBody,
2080
- rawResponse: _response.rawResponse,
2081
- });
2082
- case "timeout":
2083
- throw new errors.SchematicTimeoutError("Timeout exceeded when calling POST /billing/credits/plan-grants.");
2084
- case "unknown":
2085
- throw new errors.SchematicError({
2086
- message: _response.error.errorMessage,
2087
- rawResponse: _response.rawResponse,
2088
- });
2089
- }
2090
- });
2091
- }
2092
- /**
2093
- * @param {string} billingId - billing_id
2094
- * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
2095
- *
2096
- * @throws {@link Schematic.BadRequestError}
2097
- * @throws {@link Schematic.UnauthorizedError}
2098
- * @throws {@link Schematic.ForbiddenError}
2099
- * @throws {@link Schematic.NotFoundError}
2100
- * @throws {@link Schematic.InternalServerError}
2101
- *
2102
- * @example
2103
- * await client.credits.deleteBillingPlanCreditGrant("billing_id")
2104
- */
2105
- deleteBillingPlanCreditGrant(billingId, requestOptions) {
2106
- return core.HttpResponsePromise.fromPromise(this.__deleteBillingPlanCreditGrant(billingId, requestOptions));
2107
- }
2108
- __deleteBillingPlanCreditGrant(billingId, requestOptions) {
2109
- return __awaiter(this, void 0, void 0, function* () {
2110
- var _a, _b, _c;
2111
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2112
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, `billing/credits/plan-grants/${encodeURIComponent(billingId)}`),
2113
- method: "DELETE",
2114
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
2115
- contentType: "application/json",
2116
- requestType: "json",
2117
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
2118
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
2119
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
2120
- });
2121
- if (_response.ok) {
2122
- return {
2123
- data: serializers.DeleteBillingPlanCreditGrantResponse.parseOrThrow(_response.body, {
2124
- unrecognizedObjectKeys: "passthrough",
2125
- allowUnrecognizedUnionMembers: true,
2126
- allowUnrecognizedEnumValues: true,
2127
- skipValidation: true,
2128
- breadcrumbsPrefix: ["response"],
2129
- }),
2130
- rawResponse: _response.rawResponse,
2131
- };
2132
- }
2133
- if (_response.error.reason === "status-code") {
2134
- switch (_response.error.statusCode) {
2135
- case 400:
2136
- throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
2137
- unrecognizedObjectKeys: "passthrough",
2138
- allowUnrecognizedUnionMembers: true,
2139
- allowUnrecognizedEnumValues: true,
2140
- skipValidation: true,
2141
- breadcrumbsPrefix: ["response"],
2142
- }), _response.rawResponse);
2143
- case 401:
2144
- throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
2145
- unrecognizedObjectKeys: "passthrough",
2146
- allowUnrecognizedUnionMembers: true,
2147
- allowUnrecognizedEnumValues: true,
2148
- skipValidation: true,
2149
- breadcrumbsPrefix: ["response"],
2150
- }), _response.rawResponse);
2151
- case 403:
2152
- throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
2153
- unrecognizedObjectKeys: "passthrough",
2154
- allowUnrecognizedUnionMembers: true,
2155
- allowUnrecognizedEnumValues: true,
2156
- skipValidation: true,
2157
- breadcrumbsPrefix: ["response"],
2158
- }), _response.rawResponse);
2159
- case 404:
2160
- throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
2161
- unrecognizedObjectKeys: "passthrough",
2162
- allowUnrecognizedUnionMembers: true,
2163
- allowUnrecognizedEnumValues: true,
2164
- skipValidation: true,
2165
- breadcrumbsPrefix: ["response"],
2166
- }), _response.rawResponse);
2167
- case 500:
2168
- throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
2169
- unrecognizedObjectKeys: "passthrough",
2170
- allowUnrecognizedUnionMembers: true,
2171
- allowUnrecognizedEnumValues: true,
2172
- skipValidation: true,
2173
- breadcrumbsPrefix: ["response"],
2174
- }), _response.rawResponse);
2175
- default:
2176
- throw new errors.SchematicError({
2177
- statusCode: _response.error.statusCode,
2178
- body: _response.error.body,
2179
- rawResponse: _response.rawResponse,
2180
- });
2181
- }
2182
- }
2183
- switch (_response.error.reason) {
2184
- case "non-json":
2185
- throw new errors.SchematicError({
2186
- statusCode: _response.error.statusCode,
2187
- body: _response.error.rawBody,
2188
- rawResponse: _response.rawResponse,
2189
- });
2190
- case "timeout":
2191
- throw new errors.SchematicTimeoutError("Timeout exceeded when calling DELETE /billing/credits/plan-grants/{billing_id}.");
2192
- case "unknown":
2193
- throw new errors.SchematicError({
2194
- message: _response.error.errorMessage,
2195
- rawResponse: _response.rawResponse,
2196
- });
2197
- }
2198
- });
2199
- }
2200
- /**
2201
- * @param {Schematic.CountBillingPlanCreditGrantsRequest} request
2202
- * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
2203
- *
2204
- * @throws {@link Schematic.BadRequestError}
2205
- * @throws {@link Schematic.UnauthorizedError}
2206
- * @throws {@link Schematic.ForbiddenError}
2207
- * @throws {@link Schematic.NotFoundError}
2208
- * @throws {@link Schematic.InternalServerError}
2209
- *
2210
- * @example
2211
- * await client.credits.countBillingPlanCreditGrants()
2212
- */
2213
- countBillingPlanCreditGrants(request = {}, requestOptions) {
2214
- return core.HttpResponsePromise.fromPromise(this.__countBillingPlanCreditGrants(request, requestOptions));
2215
- }
2216
- __countBillingPlanCreditGrants() {
2217
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
2218
- var _a, _b, _c;
2219
- const { creditId, planId, ids, limit, offset } = request;
2220
- const _queryParams = {};
2221
- if (creditId != null) {
2222
- _queryParams["credit_id"] = creditId;
2223
- }
2224
- if (planId != null) {
2225
- _queryParams["plan_id"] = planId;
2226
- }
2227
- if (ids != null) {
2228
- if (Array.isArray(ids)) {
2229
- _queryParams["ids"] = ids.map((item) => item);
2230
- }
2231
- else {
2232
- _queryParams["ids"] = ids;
2233
- }
2234
- }
2235
- if (limit != null) {
2236
- _queryParams["limit"] = limit.toString();
2237
- }
2238
- if (offset != null) {
2239
- _queryParams["offset"] = offset.toString();
2240
- }
2241
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2242
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.SchematicEnvironment.Default, "billing/credits/plan-grants/count"),
2243
- method: "GET",
2244
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.12", "User-Agent": "@schematichq/schematic-typescript-node/1.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
2245
- contentType: "application/json",
2246
- queryParameters: _queryParams,
2247
- requestType: "json",
2248
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
2249
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
2250
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
2251
- });
2252
- if (_response.ok) {
2253
- return {
2254
- data: serializers.CountBillingPlanCreditGrantsResponse.parseOrThrow(_response.body, {
2255
- unrecognizedObjectKeys: "passthrough",
2256
- allowUnrecognizedUnionMembers: true,
2257
- allowUnrecognizedEnumValues: true,
2258
- skipValidation: true,
2259
- breadcrumbsPrefix: ["response"],
2260
- }),
2261
- rawResponse: _response.rawResponse,
2262
- };
2263
- }
2264
- if (_response.error.reason === "status-code") {
2265
- switch (_response.error.statusCode) {
2266
- case 400:
2267
- throw new Schematic.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
2268
- unrecognizedObjectKeys: "passthrough",
2269
- allowUnrecognizedUnionMembers: true,
2270
- allowUnrecognizedEnumValues: true,
2271
- skipValidation: true,
2272
- breadcrumbsPrefix: ["response"],
2273
- }), _response.rawResponse);
2274
- case 401:
2275
- throw new Schematic.UnauthorizedError(serializers.ApiError.parseOrThrow(_response.error.body, {
2276
- unrecognizedObjectKeys: "passthrough",
2277
- allowUnrecognizedUnionMembers: true,
2278
- allowUnrecognizedEnumValues: true,
2279
- skipValidation: true,
2280
- breadcrumbsPrefix: ["response"],
2281
- }), _response.rawResponse);
2282
- case 403:
2283
- throw new Schematic.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
2284
- unrecognizedObjectKeys: "passthrough",
2285
- allowUnrecognizedUnionMembers: true,
2286
- allowUnrecognizedEnumValues: true,
2287
- skipValidation: true,
2288
- breadcrumbsPrefix: ["response"],
2289
- }), _response.rawResponse);
2290
- case 404:
2291
- throw new Schematic.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
2292
- unrecognizedObjectKeys: "passthrough",
2293
- allowUnrecognizedUnionMembers: true,
2294
- allowUnrecognizedEnumValues: true,
2295
- skipValidation: true,
2296
- breadcrumbsPrefix: ["response"],
2297
- }), _response.rawResponse);
2298
- case 500:
2299
- throw new Schematic.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
2300
- unrecognizedObjectKeys: "passthrough",
2301
- allowUnrecognizedUnionMembers: true,
2302
- allowUnrecognizedEnumValues: true,
2303
- skipValidation: true,
2304
- breadcrumbsPrefix: ["response"],
2305
- }), _response.rawResponse);
2306
- default:
2307
- throw new errors.SchematicError({
2308
- statusCode: _response.error.statusCode,
2309
- body: _response.error.body,
2310
- rawResponse: _response.rawResponse,
2311
- });
2312
- }
2313
- }
2314
- switch (_response.error.reason) {
2315
- case "non-json":
2316
- throw new errors.SchematicError({
2317
- statusCode: _response.error.statusCode,
2318
- body: _response.error.rawBody,
2319
- rawResponse: _response.rawResponse,
2320
- });
2321
- case "timeout":
2322
- throw new errors.SchematicTimeoutError("Timeout exceeded when calling GET /billing/credits/plan-grants/count.");
2323
- case "unknown":
2324
- throw new errors.SchematicError({
2325
- message: _response.error.errorMessage,
2326
- rawResponse: _response.rawResponse,
2327
- });
2328
- }
2329
- });
2330
- }
2331
- _getCustomAuthorizationHeaders() {
2332
- return __awaiter(this, void 0, void 0, function* () {
2333
- const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
2334
- return { "X-Schematic-Api-Key": apiKeyValue };
2335
- });
2336
- }
2337
- }
2338
- exports.Credits = Credits;