@paid-ai/paid-node 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1646) hide show
  1. package/dist/cjs/Client.d.ts +33 -0
  2. package/dist/cjs/Client.js +83 -28
  3. package/dist/cjs/api/errors/BadRequestError.d.ts +1 -2
  4. package/dist/cjs/api/errors/ConflictError.d.ts +1 -2
  5. package/dist/cjs/api/errors/ForbiddenError.d.ts +1 -2
  6. package/dist/cjs/api/errors/InternalServerError.d.ts +1 -2
  7. package/dist/cjs/api/errors/NotFoundError.d.ts +1 -2
  8. package/dist/cjs/api/errors/RequestTimeoutError.d.ts +6 -0
  9. package/dist/cjs/api/errors/RequestTimeoutError.js +50 -0
  10. package/dist/cjs/api/errors/TooManyRequestsError.d.ts +6 -0
  11. package/dist/cjs/api/errors/TooManyRequestsError.js +50 -0
  12. package/dist/cjs/api/errors/index.d.ts +2 -0
  13. package/dist/cjs/api/errors/index.js +2 -0
  14. package/dist/cjs/api/resources/amendments/client/Client.d.ts +83 -0
  15. package/dist/cjs/api/resources/amendments/client/Client.js +313 -0
  16. package/dist/cjs/api/resources/amendments/client/index.d.ts +1 -0
  17. package/dist/cjs/api/resources/amendments/client/index.js +17 -0
  18. package/dist/cjs/api/resources/amendments/client/requests/GetOrderAmendmentOptionsRequest.d.ts +10 -0
  19. package/dist/cjs/api/resources/amendments/client/requests/UnifiedAmendmentExecuteRequest.d.ts +35 -0
  20. package/dist/cjs/api/resources/amendments/client/requests/UnifiedAmendmentExecuteRequest.js +14 -0
  21. package/dist/cjs/api/resources/amendments/client/requests/UnifiedAmendmentPreviewRequest.d.ts +33 -0
  22. package/dist/cjs/api/resources/amendments/client/requests/UnifiedAmendmentPreviewRequest.js +14 -0
  23. package/dist/cjs/api/resources/amendments/client/requests/index.d.ts +3 -0
  24. package/dist/cjs/api/resources/amendments/client/requests/index.js +2 -0
  25. package/dist/cjs/api/resources/amendments/index.d.ts +1 -0
  26. package/dist/cjs/api/resources/amendments/index.js +17 -0
  27. package/dist/cjs/api/resources/analytics/client/Client.d.ts +63 -0
  28. package/dist/cjs/api/resources/analytics/client/Client.js +273 -0
  29. package/dist/cjs/api/resources/analytics/client/index.d.ts +1 -0
  30. package/dist/cjs/api/resources/analytics/client/index.js +17 -0
  31. package/dist/cjs/api/resources/analytics/client/requests/GetSignalsMetadataRequest.d.ts +12 -0
  32. package/dist/cjs/api/resources/analytics/client/requests/index.d.ts +1 -0
  33. package/dist/cjs/api/resources/analytics/client/requests/index.js +2 -0
  34. package/dist/cjs/api/resources/analytics/index.d.ts +1 -0
  35. package/dist/cjs/api/resources/analytics/index.js +17 -0
  36. package/dist/cjs/api/resources/analyticsExperimental/client/Client.d.ts +69 -0
  37. package/dist/cjs/api/resources/analyticsExperimental/client/Client.js +279 -0
  38. package/dist/cjs/api/resources/analyticsExperimental/client/index.d.ts +1 -0
  39. package/dist/cjs/api/resources/analyticsExperimental/client/index.js +17 -0
  40. package/dist/cjs/api/resources/analyticsExperimental/client/requests/GetExperimentalSignalsMetadataRequest.d.ts +12 -0
  41. package/dist/cjs/api/resources/analyticsExperimental/client/requests/GetExperimentalSignalsMetadataRequest.js +3 -0
  42. package/dist/cjs/api/resources/analyticsExperimental/client/requests/index.d.ts +1 -0
  43. package/dist/cjs/api/resources/analyticsExperimental/client/requests/index.js +2 -0
  44. package/dist/cjs/api/resources/analyticsExperimental/index.d.ts +1 -0
  45. package/dist/cjs/api/resources/analyticsExperimental/index.js +17 -0
  46. package/dist/cjs/api/resources/checkouts/client/requests/CreateCheckoutRequest.d.ts +3 -1
  47. package/dist/cjs/api/resources/credits/client/Client.d.ts +57 -2
  48. package/dist/cjs/api/resources/credits/client/Client.js +267 -5
  49. package/dist/cjs/api/resources/credits/client/index.d.ts +1 -1
  50. package/dist/cjs/api/resources/credits/client/index.js +15 -0
  51. package/dist/cjs/api/resources/credits/client/requests/CreateCreditCurrencyRequest.d.ts +16 -0
  52. package/dist/cjs/api/resources/credits/client/requests/CreateCreditCurrencyRequest.js +3 -0
  53. package/dist/cjs/api/resources/credits/client/requests/ListCreditCurrenciesRequest.d.ts +9 -0
  54. package/dist/cjs/api/resources/credits/client/requests/ListCreditCurrenciesRequest.js +3 -0
  55. package/dist/cjs/api/resources/credits/client/requests/ListCreditTransactionsRequest.d.ts +25 -0
  56. package/dist/cjs/api/resources/credits/client/requests/ListCreditTransactionsRequest.js +3 -0
  57. package/dist/cjs/api/resources/credits/client/requests/UpdateCreditCurrencyRequest.d.ts +24 -0
  58. package/dist/cjs/api/resources/credits/client/requests/UpdateCreditCurrencyRequest.js +12 -0
  59. package/dist/cjs/api/resources/credits/client/requests/index.d.ts +4 -0
  60. package/dist/cjs/api/resources/credits/client/requests/index.js +2 -0
  61. package/dist/cjs/api/resources/credits/index.d.ts +1 -0
  62. package/dist/cjs/api/resources/credits/index.js +1 -0
  63. package/dist/cjs/api/resources/credits/types/ListCreditCurrenciesRequestStatus.d.ts +6 -0
  64. package/dist/cjs/api/resources/credits/types/ListCreditCurrenciesRequestStatus.js +9 -0
  65. package/dist/cjs/api/resources/credits/types/ListCreditTransactionsRequestType.d.ts +6 -0
  66. package/dist/cjs/api/resources/credits/types/ListCreditTransactionsRequestType.js +9 -0
  67. package/dist/cjs/api/resources/credits/types/index.d.ts +2 -0
  68. package/dist/cjs/api/resources/credits/types/index.js +18 -0
  69. package/dist/cjs/api/resources/customViewsExperimental/client/Client.d.ts +177 -0
  70. package/dist/cjs/api/resources/customViewsExperimental/client/Client.js +688 -0
  71. package/dist/cjs/api/resources/customViewsExperimental/client/index.d.ts +1 -0
  72. package/dist/cjs/api/resources/customViewsExperimental/client/index.js +17 -0
  73. package/dist/cjs/api/resources/customViewsExperimental/client/requests/CreateCustomViewRequest.d.ts +66 -0
  74. package/dist/cjs/api/resources/customViewsExperimental/client/requests/CreateCustomViewRequest.js +26 -0
  75. package/dist/cjs/api/resources/customViewsExperimental/client/requests/GetCustomViewDataRequest.d.ts +22 -0
  76. package/dist/cjs/api/resources/customViewsExperimental/client/requests/GetCustomViewDataRequest.js +3 -0
  77. package/dist/cjs/api/resources/customViewsExperimental/client/requests/GetCustomViewEmbedTokenRequest.d.ts +14 -0
  78. package/dist/cjs/api/resources/customViewsExperimental/client/requests/GetCustomViewEmbedTokenRequest.js +3 -0
  79. package/dist/cjs/api/resources/customViewsExperimental/client/requests/GetCustomViewRequest.d.ts +9 -0
  80. package/dist/cjs/api/resources/customViewsExperimental/client/requests/GetCustomViewRequest.js +3 -0
  81. package/dist/cjs/api/resources/customViewsExperimental/client/requests/PublishCustomViewRequest.d.ts +9 -0
  82. package/dist/cjs/api/resources/customViewsExperimental/client/requests/PublishCustomViewRequest.js +3 -0
  83. package/dist/cjs/api/resources/customViewsExperimental/client/requests/UpdateCustomViewPeriodRequest.d.ts +46 -0
  84. package/dist/cjs/api/resources/customViewsExperimental/client/requests/UpdateCustomViewPeriodRequest.js +21 -0
  85. package/dist/cjs/api/resources/customViewsExperimental/client/requests/UpdateCustomViewRequest.d.ts +26 -0
  86. package/dist/cjs/api/resources/customViewsExperimental/client/requests/UpdateCustomViewRequest.js +3 -0
  87. package/dist/cjs/api/resources/customViewsExperimental/client/requests/index.d.ts +7 -0
  88. package/dist/cjs/api/resources/customViewsExperimental/client/requests/index.js +2 -0
  89. package/dist/cjs/api/resources/customViewsExperimental/index.d.ts +2 -0
  90. package/dist/cjs/api/resources/customViewsExperimental/index.js +18 -0
  91. package/dist/cjs/api/resources/customViewsExperimental/types/GetCustomViewDataRequestPeriodKind.d.ts +5 -0
  92. package/dist/cjs/api/resources/customViewsExperimental/types/GetCustomViewDataRequestPeriodKind.js +8 -0
  93. package/dist/cjs/api/resources/customViewsExperimental/types/GetCustomViewDataRequestPeriodUnit.d.ts +6 -0
  94. package/dist/cjs/api/resources/customViewsExperimental/types/GetCustomViewDataRequestPeriodUnit.js +9 -0
  95. package/dist/cjs/api/resources/customViewsExperimental/types/index.d.ts +2 -0
  96. package/dist/cjs/api/resources/customViewsExperimental/types/index.js +18 -0
  97. package/dist/cjs/api/resources/customerGroups/client/Client.d.ts +153 -0
  98. package/dist/cjs/api/resources/customerGroups/client/Client.js +636 -0
  99. package/dist/cjs/api/resources/customerGroups/client/index.d.ts +1 -0
  100. package/dist/cjs/api/resources/customerGroups/client/index.js +17 -0
  101. package/dist/cjs/api/resources/customerGroups/client/requests/CreateCustomerGroupMembersRequest.d.ts +14 -0
  102. package/dist/cjs/api/resources/customerGroups/client/requests/CreateCustomerGroupMembersRequest.js +3 -0
  103. package/dist/cjs/api/resources/customerGroups/client/requests/CreateCustomerGroupRequest.d.ts +10 -0
  104. package/dist/cjs/api/resources/customerGroups/client/requests/CreateCustomerGroupRequest.js +3 -0
  105. package/dist/cjs/api/resources/customerGroups/client/requests/DeleteCustomerGroupMembersRequest.d.ts +14 -0
  106. package/dist/cjs/api/resources/customerGroups/client/requests/DeleteCustomerGroupMembersRequest.js +3 -0
  107. package/dist/cjs/api/resources/customerGroups/client/requests/DeleteCustomerGroupRequest.d.ts +9 -0
  108. package/dist/cjs/api/resources/customerGroups/client/requests/DeleteCustomerGroupRequest.js +3 -0
  109. package/dist/cjs/api/resources/customerGroups/client/requests/GetCustomerGroupRequest.d.ts +9 -0
  110. package/dist/cjs/api/resources/customerGroups/client/requests/GetCustomerGroupRequest.js +3 -0
  111. package/dist/cjs/api/resources/customerGroups/client/requests/ListCustomerGroupsRequest.d.ts +8 -0
  112. package/dist/cjs/api/resources/customerGroups/client/requests/ListCustomerGroupsRequest.js +3 -0
  113. package/dist/cjs/api/resources/customerGroups/client/requests/UpdateCustomerGroupMembersRequest.d.ts +14 -0
  114. package/dist/cjs/api/resources/customerGroups/client/requests/UpdateCustomerGroupMembersRequest.js +3 -0
  115. package/dist/cjs/api/resources/customerGroups/client/requests/UpdateCustomerGroupRequest.d.ts +11 -0
  116. package/dist/cjs/api/resources/customerGroups/client/requests/UpdateCustomerGroupRequest.js +3 -0
  117. package/dist/cjs/api/resources/customerGroups/client/requests/index.d.ts +8 -0
  118. package/dist/cjs/api/resources/customerGroups/client/requests/index.js +2 -0
  119. package/dist/cjs/api/resources/customerGroups/index.d.ts +1 -0
  120. package/dist/cjs/api/resources/customerGroups/index.js +17 -0
  121. package/dist/cjs/api/resources/customers/client/Client.d.ts +576 -12
  122. package/dist/cjs/api/resources/customers/client/Client.js +2292 -98
  123. package/dist/cjs/api/resources/customers/client/requests/CreateCustomerAliasByExternalIdRequest.d.ts +15 -0
  124. package/dist/cjs/api/resources/customers/client/requests/CreateCustomerAliasByExternalIdRequest.js +3 -0
  125. package/dist/cjs/api/resources/customers/client/requests/CreateCustomerAliasRequest.d.ts +15 -0
  126. package/dist/cjs/api/resources/customers/client/requests/CreateCustomerAliasRequest.js +3 -0
  127. package/dist/cjs/api/resources/customers/client/requests/CreateCustomerRequest.d.ts +1 -1
  128. package/dist/cjs/api/resources/customers/client/requests/CreateCustomerUnitByExternalIdRequest.d.ts +15 -0
  129. package/dist/cjs/api/resources/customers/client/requests/CreateCustomerUnitByExternalIdRequest.js +3 -0
  130. package/dist/cjs/api/resources/customers/client/requests/CreateCustomerUnitRequest.d.ts +15 -0
  131. package/dist/cjs/api/resources/customers/client/requests/CreateCustomerUnitRequest.js +3 -0
  132. package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerAliasByExternalIdRequest.d.ts +13 -0
  133. package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerAliasByExternalIdRequest.js +3 -0
  134. package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerAliasRequest.d.ts +13 -0
  135. package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerAliasRequest.js +3 -0
  136. package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerByExternalIdRequest.d.ts +2 -1
  137. package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerByIdRequest.d.ts +2 -1
  138. package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerUnitByExternalIdRequest.d.ts +13 -0
  139. package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerUnitByExternalIdRequest.js +3 -0
  140. package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerUnitRequest.d.ts +13 -0
  141. package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerUnitRequest.js +3 -0
  142. package/dist/cjs/api/resources/customers/client/requests/EndCustomerUnitCapByExternalIdRequest.d.ts +16 -0
  143. package/dist/cjs/api/resources/customers/client/requests/EndCustomerUnitCapByExternalIdRequest.js +3 -0
  144. package/dist/cjs/api/resources/customers/client/requests/EndCustomerUnitCapRequest.d.ts +16 -0
  145. package/dist/cjs/api/resources/customers/client/requests/EndCustomerUnitCapRequest.js +3 -0
  146. package/dist/cjs/api/resources/customers/client/requests/GetCustomerByExternalIdRequest.d.ts +2 -1
  147. package/dist/cjs/api/resources/customers/client/requests/GetCustomerByIdRequest.d.ts +2 -1
  148. package/dist/cjs/api/resources/customers/client/requests/GetCustomerCreditBalancesByExternalIdRequest.d.ts +2 -1
  149. package/dist/cjs/api/resources/customers/client/requests/GetCustomerCreditBalancesRequest.d.ts +2 -1
  150. package/dist/cjs/api/resources/customers/client/requests/GetCustomerStateByExternalIdRequest.d.ts +10 -0
  151. package/dist/cjs/api/resources/customers/client/requests/GetCustomerStateByExternalIdRequest.js +3 -0
  152. package/dist/cjs/api/resources/customers/client/requests/GetCustomerStateByIdRequest.d.ts +10 -0
  153. package/dist/cjs/api/resources/customers/client/requests/GetCustomerStateByIdRequest.js +3 -0
  154. package/dist/cjs/api/resources/customers/client/requests/GetCustomerUnitByExternalIdRequest.d.ts +13 -0
  155. package/dist/cjs/api/resources/customers/client/requests/GetCustomerUnitByExternalIdRequest.js +3 -0
  156. package/dist/cjs/api/resources/customers/client/requests/GetCustomerUnitCapByExternalIdRequest.d.ts +16 -0
  157. package/dist/cjs/api/resources/customers/client/requests/GetCustomerUnitCapByExternalIdRequest.js +3 -0
  158. package/dist/cjs/api/resources/customers/client/requests/GetCustomerUnitCapRequest.d.ts +16 -0
  159. package/dist/cjs/api/resources/customers/client/requests/GetCustomerUnitCapRequest.js +3 -0
  160. package/dist/cjs/api/resources/customers/client/requests/GetCustomerUnitRequest.d.ts +13 -0
  161. package/dist/cjs/api/resources/customers/client/requests/GetCustomerUnitRequest.js +3 -0
  162. package/dist/cjs/api/resources/customers/client/requests/GrantCustomerCreditsByExternalIdRequest.d.ts +18 -0
  163. package/dist/cjs/api/resources/customers/client/requests/GrantCustomerCreditsByExternalIdRequest.js +3 -0
  164. package/dist/cjs/api/resources/customers/client/requests/GrantCustomerCreditsRequest.d.ts +18 -0
  165. package/dist/cjs/api/resources/customers/client/requests/GrantCustomerCreditsRequest.js +3 -0
  166. package/dist/cjs/api/resources/customers/client/requests/ListCustomerAliasesByExternalIdRequest.d.ts +12 -0
  167. package/dist/cjs/api/resources/customers/client/requests/ListCustomerAliasesByExternalIdRequest.js +3 -0
  168. package/dist/cjs/api/resources/customers/client/requests/ListCustomerAliasesRequest.d.ts +12 -0
  169. package/dist/cjs/api/resources/customers/client/requests/ListCustomerAliasesRequest.js +3 -0
  170. package/dist/cjs/api/resources/customers/client/requests/ListCustomerPendingCreditConsumptionByExternalIdRequest.d.ts +12 -0
  171. package/dist/cjs/api/resources/customers/client/requests/ListCustomerPendingCreditConsumptionByExternalIdRequest.js +3 -0
  172. package/dist/cjs/api/resources/customers/client/requests/ListCustomerPendingCreditConsumptionRequest.d.ts +12 -0
  173. package/dist/cjs/api/resources/customers/client/requests/ListCustomerPendingCreditConsumptionRequest.js +3 -0
  174. package/dist/cjs/api/resources/customers/client/requests/ListCustomerUnitsByExternalIdRequest.d.ts +20 -0
  175. package/dist/cjs/api/resources/customers/client/requests/ListCustomerUnitsByExternalIdRequest.js +3 -0
  176. package/dist/cjs/api/resources/customers/client/requests/ListCustomerUnitsRequest.d.ts +20 -0
  177. package/dist/cjs/api/resources/customers/client/requests/ListCustomerUnitsRequest.js +3 -0
  178. package/dist/cjs/api/resources/customers/client/requests/ListCustomersRequest.d.ts +13 -0
  179. package/dist/cjs/api/resources/customers/client/requests/SetCustomerUnitCapByExternalIdRequest.d.ts +18 -0
  180. package/dist/cjs/api/resources/customers/client/requests/SetCustomerUnitCapByExternalIdRequest.js +3 -0
  181. package/dist/cjs/api/resources/customers/client/requests/SetCustomerUnitCapRequest.d.ts +18 -0
  182. package/dist/cjs/api/resources/customers/client/requests/SetCustomerUnitCapRequest.js +3 -0
  183. package/dist/cjs/api/resources/customers/client/requests/UpdateCustomerByExternalIdRequest.d.ts +2 -1
  184. package/dist/cjs/api/resources/customers/client/requests/UpdateCustomerByIdRequest.d.ts +2 -1
  185. package/dist/cjs/api/resources/customers/client/requests/UpdateCustomerUnitByExternalIdRequest.d.ts +16 -0
  186. package/dist/cjs/api/resources/customers/client/requests/UpdateCustomerUnitByExternalIdRequest.js +3 -0
  187. package/dist/cjs/api/resources/customers/client/requests/UpdateCustomerUnitRequest.d.ts +16 -0
  188. package/dist/cjs/api/resources/customers/client/requests/UpdateCustomerUnitRequest.js +3 -0
  189. package/dist/cjs/api/resources/customers/client/requests/index.d.ts +28 -0
  190. package/dist/cjs/api/resources/customers/index.d.ts +1 -0
  191. package/dist/cjs/api/resources/customers/index.js +1 -0
  192. package/dist/cjs/api/resources/customers/types/ListCustomerUnitsByExternalIdRequestStatus.d.ts +5 -0
  193. package/dist/cjs/api/resources/customers/types/ListCustomerUnitsByExternalIdRequestStatus.js +8 -0
  194. package/dist/cjs/api/resources/customers/types/ListCustomerUnitsRequestStatus.d.ts +5 -0
  195. package/dist/cjs/api/resources/customers/types/ListCustomerUnitsRequestStatus.js +8 -0
  196. package/dist/cjs/api/resources/customers/types/ListCustomersRequestCreationState.d.ts +5 -0
  197. package/dist/cjs/api/resources/customers/types/ListCustomersRequestCreationState.js +8 -0
  198. package/dist/cjs/api/resources/customers/types/ListCustomersRequestStatus.d.ts +5 -0
  199. package/dist/cjs/api/resources/customers/types/ListCustomersRequestStatus.js +8 -0
  200. package/dist/cjs/api/resources/customers/types/index.d.ts +4 -0
  201. package/dist/cjs/api/resources/customers/types/index.js +20 -0
  202. package/dist/cjs/api/resources/index.d.ts +28 -0
  203. package/dist/cjs/api/resources/index.js +29 -1
  204. package/dist/cjs/api/resources/invoices/client/Client.js +37 -1
  205. package/dist/cjs/api/resources/invoices/client/requests/ListInvoicesRequest.d.ts +25 -0
  206. package/dist/cjs/api/resources/invoices/index.d.ts +1 -0
  207. package/dist/cjs/api/resources/invoices/index.js +1 -0
  208. package/dist/cjs/api/resources/invoices/types/ListInvoicesRequestPaymentStatus.d.ts +8 -0
  209. package/dist/cjs/api/resources/invoices/types/ListInvoicesRequestPaymentStatus.js +11 -0
  210. package/dist/cjs/api/resources/invoices/types/ListInvoicesRequestStatus.d.ts +10 -0
  211. package/dist/cjs/api/resources/invoices/types/ListInvoicesRequestStatus.js +13 -0
  212. package/dist/cjs/api/resources/invoices/types/index.d.ts +2 -0
  213. package/dist/cjs/api/resources/invoices/types/index.js +18 -0
  214. package/dist/cjs/api/resources/orders/client/Client.d.ts +18 -0
  215. package/dist/cjs/api/resources/orders/client/Client.js +99 -1
  216. package/dist/cjs/api/resources/orders/client/requests/ActivateOrderByIdRequest.d.ts +9 -0
  217. package/dist/cjs/api/resources/orders/client/requests/ActivateOrderByIdRequest.js +3 -0
  218. package/dist/cjs/api/resources/orders/client/requests/CreateOrderRequest.d.ts +2 -0
  219. package/dist/cjs/api/resources/orders/client/requests/ListOrdersRequest.d.ts +19 -0
  220. package/dist/cjs/api/resources/orders/client/requests/UpdateOrderRequest.d.ts +2 -0
  221. package/dist/cjs/api/resources/orders/client/requests/index.d.ts +1 -0
  222. package/dist/cjs/api/resources/orders/types/ListOrdersRequestCreationState.d.ts +5 -0
  223. package/dist/cjs/api/resources/orders/types/ListOrdersRequestCreationState.js +8 -0
  224. package/dist/cjs/api/resources/orders/types/OrderStatusFilter.d.ts +7 -0
  225. package/dist/cjs/api/resources/orders/types/OrderStatusFilter.js +10 -0
  226. package/dist/cjs/api/resources/orders/types/index.d.ts +2 -0
  227. package/dist/cjs/api/resources/orders/types/index.js +2 -0
  228. package/dist/cjs/api/resources/paymentAllocations/client/Client.d.ts +55 -0
  229. package/dist/cjs/api/resources/paymentAllocations/client/Client.js +224 -0
  230. package/dist/cjs/api/resources/paymentAllocations/client/index.d.ts +1 -0
  231. package/dist/cjs/api/resources/paymentAllocations/client/index.js +17 -0
  232. package/dist/cjs/api/resources/paymentAllocations/client/requests/CreatePaymentAllocationRequest.d.ts +17 -0
  233. package/dist/cjs/api/resources/paymentAllocations/client/requests/CreatePaymentAllocationRequest.js +3 -0
  234. package/dist/cjs/api/resources/paymentAllocations/client/requests/ListPaymentAllocationsRequest.d.ts +15 -0
  235. package/dist/cjs/api/resources/paymentAllocations/client/requests/ListPaymentAllocationsRequest.js +3 -0
  236. package/dist/cjs/api/resources/paymentAllocations/client/requests/index.d.ts +2 -0
  237. package/dist/cjs/api/resources/paymentAllocations/client/requests/index.js +2 -0
  238. package/dist/cjs/api/resources/paymentAllocations/index.d.ts +1 -0
  239. package/dist/cjs/api/resources/paymentAllocations/index.js +17 -0
  240. package/dist/cjs/api/resources/paymentMethods/client/Client.d.ts +104 -0
  241. package/dist/cjs/api/resources/paymentMethods/client/Client.js +446 -0
  242. package/dist/cjs/api/resources/paymentMethods/client/index.d.ts +1 -0
  243. package/dist/cjs/api/resources/paymentMethods/client/index.js +17 -0
  244. package/dist/cjs/api/resources/paymentMethods/client/requests/CreatePaymentMethodRequest.d.ts +18 -0
  245. package/dist/cjs/api/resources/paymentMethods/client/requests/CreatePaymentMethodRequest.js +3 -0
  246. package/dist/cjs/api/resources/paymentMethods/client/requests/DeletePaymentMethodRequest.d.ts +9 -0
  247. package/dist/cjs/api/resources/paymentMethods/client/requests/DeletePaymentMethodRequest.js +3 -0
  248. package/dist/cjs/api/resources/paymentMethods/client/requests/GetPaymentMethodRequest.d.ts +9 -0
  249. package/dist/cjs/api/resources/paymentMethods/client/requests/GetPaymentMethodRequest.js +3 -0
  250. package/dist/cjs/api/resources/paymentMethods/client/requests/ListPaymentMethodsRequest.d.ts +14 -0
  251. package/dist/cjs/api/resources/paymentMethods/client/requests/ListPaymentMethodsRequest.js +3 -0
  252. package/dist/cjs/api/resources/paymentMethods/client/requests/UpdateDefaultPaymentMethodRequest.d.ts +9 -0
  253. package/dist/cjs/api/resources/paymentMethods/client/requests/UpdateDefaultPaymentMethodRequest.js +3 -0
  254. package/dist/cjs/api/resources/paymentMethods/client/requests/index.d.ts +5 -0
  255. package/dist/cjs/api/resources/paymentMethods/client/requests/index.js +2 -0
  256. package/dist/cjs/api/resources/paymentMethods/index.d.ts +1 -0
  257. package/dist/cjs/api/resources/paymentMethods/index.js +17 -0
  258. package/dist/cjs/api/resources/payments/client/Client.d.ts +68 -0
  259. package/dist/cjs/api/resources/payments/client/Client.js +293 -0
  260. package/dist/cjs/api/resources/payments/client/index.d.ts +1 -0
  261. package/dist/cjs/api/resources/payments/client/index.js +17 -0
  262. package/dist/cjs/api/resources/payments/client/requests/CreatePaymentRequest.d.ts +25 -0
  263. package/dist/cjs/api/resources/payments/client/requests/CreatePaymentRequest.js +3 -0
  264. package/dist/cjs/api/resources/payments/client/requests/GetPaymentRequest.d.ts +9 -0
  265. package/dist/cjs/api/resources/payments/client/requests/GetPaymentRequest.js +3 -0
  266. package/dist/cjs/api/resources/payments/client/requests/ListPaymentsRequest.d.ts +15 -0
  267. package/dist/cjs/api/resources/payments/client/requests/ListPaymentsRequest.js +3 -0
  268. package/dist/cjs/api/resources/payments/client/requests/index.d.ts +3 -0
  269. package/dist/cjs/api/resources/payments/client/requests/index.js +2 -0
  270. package/dist/cjs/api/resources/payments/index.d.ts +2 -0
  271. package/dist/cjs/api/resources/payments/index.js +18 -0
  272. package/dist/cjs/api/resources/payments/types/ListPaymentsRequestStatus.d.ts +9 -0
  273. package/dist/cjs/api/resources/payments/types/ListPaymentsRequestStatus.js +12 -0
  274. package/dist/cjs/api/resources/payments/types/index.d.ts +1 -0
  275. package/dist/cjs/api/resources/payments/types/index.js +17 -0
  276. package/dist/cjs/api/resources/plans/client/Client.d.ts +152 -0
  277. package/dist/cjs/api/resources/plans/client/Client.js +593 -0
  278. package/dist/cjs/api/resources/plans/client/index.d.ts +1 -0
  279. package/dist/cjs/api/resources/plans/client/index.js +17 -0
  280. package/dist/cjs/api/resources/plans/client/requests/CreatePlanRequest.d.ts +28 -0
  281. package/dist/cjs/api/resources/plans/client/requests/CreatePlanRequest.js +3 -0
  282. package/dist/cjs/api/resources/plans/client/requests/GetPlanByExternalIdRequest.d.ts +9 -0
  283. package/dist/cjs/api/resources/plans/client/requests/GetPlanByExternalIdRequest.js +3 -0
  284. package/dist/cjs/api/resources/plans/client/requests/GetPlanByIdRequest.d.ts +9 -0
  285. package/dist/cjs/api/resources/plans/client/requests/GetPlanByIdRequest.js +3 -0
  286. package/dist/cjs/api/resources/plans/client/requests/ListPlansRequest.d.ts +12 -0
  287. package/dist/cjs/api/resources/plans/client/requests/ListPlansRequest.js +3 -0
  288. package/dist/cjs/api/resources/plans/client/requests/UpdatePlanByExternalIdRequest.d.ts +12 -0
  289. package/dist/cjs/api/resources/plans/client/requests/UpdatePlanByExternalIdRequest.js +3 -0
  290. package/dist/cjs/api/resources/plans/client/requests/UpdatePlanByIdRequest.d.ts +12 -0
  291. package/dist/cjs/api/resources/plans/client/requests/UpdatePlanByIdRequest.js +3 -0
  292. package/dist/cjs/api/resources/plans/client/requests/UpdatePlanUpgradePathRequest.d.ts +15 -0
  293. package/dist/cjs/api/resources/plans/client/requests/UpdatePlanUpgradePathRequest.js +3 -0
  294. package/dist/cjs/api/resources/plans/client/requests/index.d.ts +7 -0
  295. package/dist/cjs/api/resources/plans/client/requests/index.js +2 -0
  296. package/dist/cjs/api/resources/plans/index.d.ts +1 -0
  297. package/dist/cjs/api/resources/plans/index.js +17 -0
  298. package/dist/cjs/api/resources/pricing/client/Client.d.ts +2 -2
  299. package/dist/cjs/api/resources/pricing/client/Client.js +2 -2
  300. package/dist/cjs/api/resources/pricing/client/requests/UpdatePricingRequest.d.ts +1 -1
  301. package/dist/cjs/api/resources/products/client/Client.d.ts +9 -9
  302. package/dist/cjs/api/resources/products/client/Client.js +15 -6
  303. package/dist/cjs/api/resources/products/client/requests/ListProductsRequest.d.ts +6 -0
  304. package/dist/cjs/api/resources/signals/client/Client.d.ts +38 -0
  305. package/dist/cjs/api/resources/signals/client/Client.js +180 -0
  306. package/dist/cjs/api/resources/signals/client/requests/GetSignalByIdRequest.d.ts +10 -0
  307. package/dist/cjs/api/resources/signals/client/requests/GetSignalByIdRequest.js +3 -0
  308. package/dist/cjs/api/resources/signals/client/requests/ListSignalsRequest.d.ts +22 -0
  309. package/dist/cjs/api/resources/signals/client/requests/ListSignalsRequest.js +3 -0
  310. package/dist/cjs/api/resources/signals/client/requests/index.d.ts +2 -0
  311. package/dist/cjs/api/resources/valueMetrics/client/Client.d.ts +111 -0
  312. package/dist/cjs/api/resources/valueMetrics/client/Client.js +446 -0
  313. package/dist/cjs/api/resources/valueMetrics/client/index.d.ts +1 -0
  314. package/dist/cjs/api/resources/valueMetrics/client/index.js +17 -0
  315. package/dist/cjs/api/resources/valueMetrics/client/requests/ArchiveValueMetricRequest.d.ts +10 -0
  316. package/dist/cjs/api/resources/valueMetrics/client/requests/ArchiveValueMetricRequest.js +3 -0
  317. package/dist/cjs/api/resources/valueMetrics/client/requests/CreateValueMetricRequest.d.ts +57 -0
  318. package/dist/cjs/api/resources/valueMetrics/client/requests/CreateValueMetricRequest.js +15 -0
  319. package/dist/cjs/api/resources/valueMetrics/client/requests/GetValueMetricRequest.d.ts +9 -0
  320. package/dist/cjs/api/resources/valueMetrics/client/requests/GetValueMetricRequest.js +3 -0
  321. package/dist/cjs/api/resources/valueMetrics/client/requests/ListValueMetricsRequest.d.ts +10 -0
  322. package/dist/cjs/api/resources/valueMetrics/client/requests/ListValueMetricsRequest.js +3 -0
  323. package/dist/cjs/api/resources/valueMetrics/client/requests/UpdateValueMetricRequest.d.ts +43 -0
  324. package/dist/cjs/api/resources/valueMetrics/client/requests/UpdateValueMetricRequest.js +15 -0
  325. package/dist/cjs/api/resources/valueMetrics/client/requests/index.d.ts +5 -0
  326. package/dist/cjs/api/resources/valueMetrics/client/requests/index.js +2 -0
  327. package/dist/cjs/api/resources/valueMetrics/index.d.ts +1 -0
  328. package/dist/cjs/api/resources/valueMetrics/index.js +17 -0
  329. package/dist/cjs/api/resources/valueModels/client/Client.d.ts +118 -0
  330. package/dist/cjs/api/resources/valueModels/client/Client.js +419 -0
  331. package/dist/cjs/api/resources/valueModels/client/index.d.ts +1 -0
  332. package/dist/cjs/api/resources/valueModels/client/index.js +17 -0
  333. package/dist/cjs/api/resources/valueModels/client/requests/GetValueModelVersionRequest.d.ts +9 -0
  334. package/dist/cjs/api/resources/valueModels/client/requests/GetValueModelVersionRequest.js +3 -0
  335. package/dist/cjs/api/resources/valueModels/client/requests/ListValueModelVersionsRequest.d.ts +8 -0
  336. package/dist/cjs/api/resources/valueModels/client/requests/ListValueModelVersionsRequest.js +3 -0
  337. package/dist/cjs/api/resources/valueModels/client/requests/RefreshValueModelBackfillRequest.d.ts +5 -0
  338. package/dist/cjs/api/resources/valueModels/client/requests/RefreshValueModelBackfillRequest.js +3 -0
  339. package/dist/cjs/api/resources/valueModels/client/requests/ValueModelUploadRequest.d.ts +44 -0
  340. package/dist/cjs/api/resources/valueModels/client/requests/ValueModelUploadRequest.js +3 -0
  341. package/dist/cjs/api/resources/valueModels/client/requests/index.d.ts +4 -0
  342. package/dist/cjs/api/resources/valueModels/client/requests/index.js +2 -0
  343. package/dist/cjs/api/resources/valueModels/index.d.ts +1 -0
  344. package/dist/cjs/api/resources/valueModels/index.js +17 -0
  345. package/dist/cjs/api/resources/valueReceipts/client/Client.d.ts +42 -11
  346. package/dist/cjs/api/resources/valueReceipts/client/Client.js +153 -43
  347. package/dist/cjs/api/resources/valueReceipts/client/requests/index.d.ts +0 -1
  348. package/dist/cjs/api/resources/webhooks/client/Client.d.ts +17 -2
  349. package/dist/cjs/api/resources/webhooks/client/Client.js +69 -1
  350. package/dist/cjs/api/resources/webhooks/client/requests/RotateWebhookSecretRequest.d.ts +5 -0
  351. package/dist/cjs/api/resources/webhooks/client/requests/RotateWebhookSecretRequest.js +3 -0
  352. package/dist/cjs/api/resources/webhooks/client/requests/index.d.ts +1 -0
  353. package/dist/cjs/api/resources/webhooks/types/TestWebhookRequestWebhookName.d.ts +2 -0
  354. package/dist/cjs/api/resources/webhooks/types/TestWebhookRequestWebhookName.js +2 -0
  355. package/dist/cjs/api/resources/webhooks/types/UpdateWebhookRequestWebhookName.d.ts +2 -0
  356. package/dist/cjs/api/resources/webhooks/types/UpdateWebhookRequestWebhookName.js +2 -0
  357. package/dist/cjs/api/types/AddAttributeIntent.d.ts +45 -0
  358. package/dist/cjs/api/types/AddAttributeIntent.js +24 -0
  359. package/dist/cjs/api/types/AddFromCatalogIntent.d.ts +22 -0
  360. package/dist/cjs/api/types/AddFromCatalogIntent.js +13 -0
  361. package/dist/cjs/api/types/AddMembersResponse.d.ts +5 -0
  362. package/dist/cjs/api/types/AddMembersResponse.js +3 -0
  363. package/dist/cjs/api/types/AmendmentAddAttributeOptions.d.ts +9 -0
  364. package/dist/cjs/api/types/AmendmentAddAttributeOptions.js +3 -0
  365. package/dist/cjs/api/types/AmendmentAddAxisOptions.d.ts +10 -0
  366. package/dist/cjs/api/types/AmendmentAddAxisOptions.js +3 -0
  367. package/dist/cjs/api/types/AmendmentAttributeOptions.d.ts +14 -0
  368. package/dist/cjs/api/types/AmendmentAttributeOptions.js +3 -0
  369. package/dist/cjs/api/types/AmendmentAttributeState.d.ts +24 -0
  370. package/dist/cjs/api/types/AmendmentAttributeState.js +3 -0
  371. package/dist/cjs/api/types/AmendmentAxisChoiceValue.d.ts +10 -0
  372. package/dist/cjs/api/types/AmendmentAxisChoiceValue.js +13 -0
  373. package/dist/cjs/api/types/AmendmentAxisId.d.ts +8 -0
  374. package/dist/cjs/api/types/AmendmentAxisId.js +11 -0
  375. package/dist/cjs/api/types/AmendmentAxisOptions.d.ts +16 -0
  376. package/dist/cjs/api/types/AmendmentAxisOptions.js +3 -0
  377. package/dist/cjs/api/types/AmendmentAxisRelevance.d.ts +6 -0
  378. package/dist/cjs/api/types/AmendmentAxisRelevance.js +9 -0
  379. package/dist/cjs/api/types/AmendmentBillingType.d.ts +6 -0
  380. package/dist/cjs/api/types/AmendmentBillingType.js +9 -0
  381. package/dist/cjs/api/types/AmendmentChargeType.d.ts +8 -0
  382. package/dist/cjs/api/types/AmendmentChargeType.js +11 -0
  383. package/dist/cjs/api/types/AmendmentCreditEffectKind.d.ts +6 -0
  384. package/dist/cjs/api/types/AmendmentCreditEffectKind.js +9 -0
  385. package/dist/cjs/api/types/AmendmentErrorResponse.d.ts +7 -0
  386. package/dist/cjs/api/types/AmendmentErrorResponse.js +3 -0
  387. package/dist/cjs/api/types/AmendmentIntentKind.d.ts +10 -0
  388. package/dist/cjs/api/types/AmendmentIntentKind.js +13 -0
  389. package/dist/cjs/api/types/AmendmentIntentOptions.d.ts +7 -0
  390. package/dist/cjs/api/types/AmendmentIntentOptions.js +3 -0
  391. package/dist/cjs/api/types/AmendmentLineOptions.d.ts +12 -0
  392. package/dist/cjs/api/types/AmendmentLineOptions.js +3 -0
  393. package/dist/cjs/api/types/AmendmentMoneyBilling.d.ts +6 -0
  394. package/dist/cjs/api/types/AmendmentMoneyBilling.js +9 -0
  395. package/dist/cjs/api/types/AmendmentOptions.d.ts +26 -0
  396. package/dist/cjs/api/types/AmendmentOptions.js +3 -0
  397. package/dist/cjs/api/types/AmendmentPlan.d.ts +24 -0
  398. package/dist/cjs/api/types/AmendmentPlan.js +3 -0
  399. package/dist/cjs/api/types/AmendmentPlanAttributeDiff.d.ts +18 -0
  400. package/dist/cjs/api/types/AmendmentPlanAttributeDiff.js +3 -0
  401. package/dist/cjs/api/types/AmendmentPlanChange.d.ts +9 -0
  402. package/dist/cjs/api/types/AmendmentPlanChange.js +12 -0
  403. package/dist/cjs/api/types/AmendmentPlanCreditEffect.d.ts +15 -0
  404. package/dist/cjs/api/types/AmendmentPlanCreditEffect.js +3 -0
  405. package/dist/cjs/api/types/AmendmentPlanLineType.d.ts +8 -0
  406. package/dist/cjs/api/types/AmendmentPlanLineType.js +11 -0
  407. package/dist/cjs/api/types/AmendmentPlanMoneyEffect.d.ts +31 -0
  408. package/dist/cjs/api/types/AmendmentPlanMoneyEffect.js +13 -0
  409. package/dist/cjs/api/types/AmendmentPlanTreatmentResolution.d.ts +12 -0
  410. package/dist/cjs/api/types/AmendmentPlanTreatmentResolution.js +3 -0
  411. package/dist/cjs/api/types/AmendmentPlanUsageEffect.d.ts +17 -0
  412. package/dist/cjs/api/types/AmendmentPlanUsageEffect.js +12 -0
  413. package/dist/cjs/api/types/AmendmentPricingClause.d.ts +14 -0
  414. package/dist/cjs/api/types/AmendmentPricingClause.js +3 -0
  415. package/dist/cjs/api/types/AmendmentPricingModel.d.ts +11 -0
  416. package/dist/cjs/api/types/AmendmentPricingModel.js +14 -0
  417. package/dist/cjs/api/types/AmendmentTreatmentSource.d.ts +7 -0
  418. package/dist/cjs/api/types/AmendmentTreatmentSource.js +10 -0
  419. package/dist/cjs/api/types/AnalyticsColumn.d.ts +5 -0
  420. package/dist/cjs/api/types/AnalyticsColumn.js +3 -0
  421. package/dist/cjs/api/types/AnalyticsQueryRequest.d.ts +4 -0
  422. package/dist/cjs/api/types/AnalyticsQueryRequest.js +3 -0
  423. package/dist/cjs/api/types/AnalyticsQueryResponse.d.ts +15 -0
  424. package/dist/cjs/api/types/AnalyticsQueryResponse.js +3 -0
  425. package/dist/cjs/api/types/AnalyticsSchemaColumn.d.ts +6 -0
  426. package/dist/cjs/api/types/AnalyticsSchemaColumn.js +3 -0
  427. package/dist/cjs/api/types/AnalyticsSchemaResponse.d.ts +4 -0
  428. package/dist/cjs/api/types/AnalyticsSchemaResponse.js +3 -0
  429. package/dist/cjs/api/types/AnalyticsSchemaView.d.ts +6 -0
  430. package/dist/cjs/api/types/AnalyticsSchemaView.js +3 -0
  431. package/dist/cjs/api/types/BackfillResponse.d.ts +4 -0
  432. package/dist/cjs/api/types/BackfillResponse.js +3 -0
  433. package/dist/cjs/api/types/ChargeStubAddAxisOptions.d.ts +34 -0
  434. package/dist/cjs/api/types/ChargeStubAddAxisOptions.js +19 -0
  435. package/dist/cjs/api/types/ChargeStubAxisOptions.d.ts +33 -0
  436. package/dist/cjs/api/types/ChargeStubAxisOptions.js +19 -0
  437. package/dist/cjs/api/types/Checkout.d.ts +2 -0
  438. package/dist/cjs/api/types/CheckoutCustomCard.d.ts +10 -0
  439. package/dist/cjs/api/types/CheckoutCustomCard.js +3 -0
  440. package/dist/cjs/api/types/CheckoutCustomCardInput.d.ts +10 -0
  441. package/dist/cjs/api/types/CheckoutCustomCardInput.js +3 -0
  442. package/dist/cjs/api/types/CheckoutDetails.d.ts +3 -0
  443. package/dist/cjs/api/types/CheckoutPlan.d.ts +4 -0
  444. package/dist/cjs/api/types/CheckoutPlan.js +3 -0
  445. package/dist/cjs/api/types/CheckoutPlanInput.d.ts +6 -0
  446. package/dist/cjs/api/types/CheckoutPlanInput.js +3 -0
  447. package/dist/cjs/api/types/CheckoutProduct.d.ts +3 -0
  448. package/dist/cjs/api/types/CheckoutProductInput.d.ts +3 -0
  449. package/dist/cjs/api/types/CheckoutSelectedProduct.d.ts +8 -0
  450. package/dist/cjs/api/types/CheckoutSelectedProduct.js +3 -0
  451. package/dist/cjs/api/types/CreateOrderLineAttributeRequest.d.ts +38 -5
  452. package/dist/cjs/api/types/CreateOrderLineAttributeRequest.js +8 -0
  453. package/dist/cjs/api/types/CreateOrderLineRequest.d.ts +4 -0
  454. package/dist/cjs/api/types/CreditBalance.d.ts +3 -1
  455. package/dist/cjs/api/types/CreditBenefitInput.d.ts +7 -5
  456. package/dist/cjs/api/types/CreditBenefitOutput.d.ts +6 -6
  457. package/dist/cjs/api/types/CreditCurrency.d.ts +17 -0
  458. package/dist/cjs/api/types/CreditCurrency.js +9 -0
  459. package/dist/cjs/api/types/CreditGrant.d.ts +3 -0
  460. package/dist/cjs/api/types/CreditGrantAddAxisOptions.d.ts +24 -0
  461. package/dist/cjs/api/types/CreditGrantAddAxisOptions.js +3 -0
  462. package/dist/cjs/api/types/CreditGrantAxisOptions.d.ts +23 -0
  463. package/dist/cjs/api/types/CreditGrantAxisOptions.js +3 -0
  464. package/dist/cjs/api/types/CreditGrantCreateRequest.d.ts +10 -0
  465. package/dist/cjs/api/types/CreditGrantCreateRequest.js +3 -0
  466. package/dist/cjs/api/types/CreditGrantCurrency.d.ts +6 -0
  467. package/dist/cjs/api/types/CreditGrantCurrency.js +3 -0
  468. package/dist/cjs/api/types/CreditGrantCustomer.d.ts +6 -0
  469. package/dist/cjs/api/types/CreditGrantCustomer.js +3 -0
  470. package/dist/cjs/api/types/CreditGrantResult.d.ts +19 -0
  471. package/dist/cjs/api/types/CreditGrantResult.js +11 -0
  472. package/dist/cjs/api/types/CreditGrantValue.d.ts +7 -0
  473. package/dist/cjs/api/types/CreditGrantValue.js +10 -0
  474. package/dist/cjs/api/types/CreditTransaction.d.ts +31 -0
  475. package/dist/cjs/api/types/CreditTransaction.js +13 -0
  476. package/dist/cjs/api/types/CreditTransactionCurrency.d.ts +6 -0
  477. package/dist/cjs/api/types/CreditTransactionCurrency.js +3 -0
  478. package/dist/cjs/api/types/CreditTransactionCustomer.d.ts +6 -0
  479. package/dist/cjs/api/types/CreditTransactionCustomer.js +3 -0
  480. package/dist/cjs/api/types/CreditTransactionListResponse.d.ts +6 -0
  481. package/dist/cjs/api/types/CreditTransactionListResponse.js +3 -0
  482. package/dist/cjs/api/types/CreditTransactionProduct.d.ts +11 -0
  483. package/dist/cjs/api/types/CreditTransactionProduct.js +3 -0
  484. package/dist/cjs/api/types/CurrencyCode.d.ts +4 -0
  485. package/dist/cjs/api/types/CurrencyCode.js +3 -0
  486. package/dist/cjs/api/types/CustomView.d.ts +25 -0
  487. package/dist/cjs/api/types/CustomView.js +17 -0
  488. package/dist/cjs/api/types/CustomViewAuthoringDetail.d.ts +69 -0
  489. package/dist/cjs/api/types/CustomViewAuthoringDetail.js +30 -0
  490. package/dist/cjs/api/types/CustomViewAuthoringGuide.d.ts +6 -0
  491. package/dist/cjs/api/types/CustomViewAuthoringGuide.js +3 -0
  492. package/dist/cjs/api/types/CustomViewDetail.d.ts +60 -0
  493. package/dist/cjs/api/types/CustomViewDetail.js +30 -0
  494. package/dist/cjs/api/types/CustomViewEmbedTokenResponse.d.ts +6 -0
  495. package/dist/cjs/api/types/CustomViewEmbedTokenResponse.js +3 -0
  496. package/dist/cjs/api/types/CustomViewFilter.d.ts +6 -0
  497. package/dist/cjs/api/types/CustomViewFilter.js +3 -0
  498. package/dist/cjs/api/types/CustomViewListResponse.d.ts +4 -0
  499. package/dist/cjs/api/types/CustomViewListResponse.js +3 -0
  500. package/dist/cjs/api/types/CustomViewPreviewHarness.d.ts +4 -0
  501. package/dist/cjs/api/types/CustomViewPreviewHarness.js +3 -0
  502. package/dist/cjs/api/types/CustomViewPreviewHarnessColumn.d.ts +16 -0
  503. package/dist/cjs/api/types/CustomViewPreviewHarnessColumn.js +14 -0
  504. package/dist/cjs/api/types/CustomViewPreviewHarnessRequest.d.ts +11 -0
  505. package/dist/cjs/api/types/CustomViewPreviewHarnessRequest.js +3 -0
  506. package/dist/cjs/api/types/CustomViewQuery.d.ts +6 -0
  507. package/dist/cjs/api/types/CustomViewQuery.js +3 -0
  508. package/dist/cjs/api/types/CustomViewSummary.d.ts +57 -0
  509. package/dist/cjs/api/types/CustomViewSummary.js +30 -0
  510. package/dist/cjs/api/types/CustomViewValidationFinding.d.ts +8 -0
  511. package/dist/cjs/api/types/CustomViewValidationFinding.js +3 -0
  512. package/dist/cjs/api/types/Customer.d.ts +14 -2
  513. package/dist/cjs/api/types/Customer.js +9 -0
  514. package/dist/cjs/api/types/CustomerAlias.d.ts +10 -0
  515. package/dist/cjs/api/types/CustomerAlias.js +3 -0
  516. package/dist/cjs/api/types/CustomerAliasCreateRequest.d.ts +8 -0
  517. package/dist/cjs/api/types/CustomerAliasCreateRequest.js +3 -0
  518. package/dist/cjs/api/types/CustomerAliasListResponse.d.ts +5 -0
  519. package/dist/cjs/api/types/CustomerAliasListResponse.js +3 -0
  520. package/dist/{esm/api/types/CustomerBillingAddress.d.mts → cjs/api/types/CustomerBillingAddressInput.d.ts} +1 -1
  521. package/dist/cjs/api/types/CustomerBillingAddressInput.js +3 -0
  522. package/dist/cjs/api/types/CustomerBillingAddressResponse.d.ts +11 -0
  523. package/dist/cjs/api/types/CustomerBillingAddressResponse.js +3 -0
  524. package/dist/cjs/api/types/CustomerConnections.d.ts +7 -0
  525. package/dist/cjs/api/types/CustomerConnections.js +3 -0
  526. package/dist/cjs/api/types/CustomerGroupDeleteResponse.d.ts +4 -0
  527. package/dist/cjs/api/types/CustomerGroupDeleteResponse.js +3 -0
  528. package/dist/cjs/api/types/CustomerGroupDetail.d.ts +10 -0
  529. package/dist/cjs/api/types/CustomerGroupDetail.js +3 -0
  530. package/dist/cjs/api/types/CustomerGroupListResponse.d.ts +5 -0
  531. package/dist/cjs/api/types/CustomerGroupListResponse.js +3 -0
  532. package/dist/cjs/api/types/CustomerGroupMember.d.ts +5 -0
  533. package/dist/cjs/api/types/CustomerGroupMember.js +3 -0
  534. package/dist/cjs/api/types/CustomerGroupSummary.d.ts +8 -0
  535. package/dist/cjs/api/types/CustomerGroupSummary.js +3 -0
  536. package/dist/cjs/api/types/CustomerState.d.ts +10 -0
  537. package/dist/cjs/api/types/CustomerState.js +3 -0
  538. package/dist/cjs/api/types/CustomerStateCheckoutLink.d.ts +18 -0
  539. package/dist/cjs/api/types/CustomerStateCheckoutLink.js +13 -0
  540. package/dist/cjs/api/types/CustomerStateCreditBalance.d.ts +6 -0
  541. package/dist/cjs/api/types/CustomerStateCreditBalance.js +3 -0
  542. package/dist/cjs/api/types/CustomerStateCreditSummary.d.ts +4 -0
  543. package/dist/cjs/api/types/CustomerStateCreditSummary.js +3 -0
  544. package/dist/cjs/api/types/CustomerStateCustomer.d.ts +8 -0
  545. package/dist/cjs/api/types/CustomerStateCustomer.js +3 -0
  546. package/dist/cjs/api/types/CustomerStateOrder.d.ts +21 -0
  547. package/dist/cjs/api/types/CustomerStateOrder.js +13 -0
  548. package/dist/cjs/api/types/CustomerStateProductRef.d.ts +5 -0
  549. package/dist/cjs/api/types/CustomerStateProductRef.js +3 -0
  550. package/dist/cjs/api/types/CustomerStateSeat.d.ts +17 -0
  551. package/dist/cjs/api/types/CustomerStateSeat.js +11 -0
  552. package/dist/cjs/api/types/CustomerStateSeatAssignee.d.ts +6 -0
  553. package/dist/cjs/api/types/CustomerStateSeatAssignee.js +3 -0
  554. package/dist/cjs/api/types/CustomerStateSeats.d.ts +7 -0
  555. package/dist/cjs/api/types/CustomerStateSeats.js +3 -0
  556. package/dist/cjs/api/types/CustomerUnit.d.ts +25 -0
  557. package/dist/cjs/api/types/CustomerUnit.js +12 -0
  558. package/dist/cjs/api/types/CustomerUnitAttribution.d.ts +7 -0
  559. package/dist/cjs/api/types/CustomerUnitAttribution.js +3 -0
  560. package/dist/cjs/api/types/CustomerUnitCapCurrentPeriod.d.ts +11 -0
  561. package/dist/cjs/api/types/CustomerUnitCapCurrentPeriod.js +3 -0
  562. package/dist/cjs/api/types/CustomerUnitCapEndResponse.d.ts +12 -0
  563. package/dist/cjs/api/types/CustomerUnitCapEndResponse.js +3 -0
  564. package/dist/cjs/api/types/CustomerUnitCapEndedPolicy.d.ts +24 -0
  565. package/dist/cjs/api/types/CustomerUnitCapEndedPolicy.js +11 -0
  566. package/dist/cjs/api/types/CustomerUnitCapOpenPolicy.d.ts +29 -0
  567. package/dist/cjs/api/types/CustomerUnitCapOpenPolicy.js +15 -0
  568. package/dist/cjs/api/types/CustomerUnitCapPeriod.d.ts +6 -0
  569. package/dist/cjs/api/types/CustomerUnitCapPeriod.js +3 -0
  570. package/dist/cjs/api/types/CustomerUnitCapPolicy.d.ts +24 -0
  571. package/dist/cjs/api/types/CustomerUnitCapPolicy.js +11 -0
  572. package/dist/cjs/api/types/CustomerUnitCapResponse.d.ts +11 -0
  573. package/dist/cjs/api/types/CustomerUnitCapResponse.js +3 -0
  574. package/dist/cjs/api/types/CustomerUnitCapSet.d.ts +17 -0
  575. package/dist/cjs/api/types/CustomerUnitCapSet.js +11 -0
  576. package/dist/cjs/api/types/CustomerUnitCapSetResponse.d.ts +11 -0
  577. package/dist/cjs/api/types/CustomerUnitCapSetResponse.js +3 -0
  578. package/dist/cjs/api/types/CustomerUnitCreate.d.ts +12 -0
  579. package/dist/cjs/api/types/CustomerUnitCreate.js +3 -0
  580. package/dist/cjs/api/types/CustomerUnitListResponse.d.ts +6 -0
  581. package/dist/cjs/api/types/CustomerUnitListResponse.js +3 -0
  582. package/dist/cjs/api/types/CustomerUnitUpdate.d.ts +10 -0
  583. package/dist/cjs/api/types/CustomerUnitUpdate.js +3 -0
  584. package/dist/cjs/api/types/EndAttributeIntent.d.ts +16 -0
  585. package/dist/cjs/api/types/EndAttributeIntent.js +14 -0
  586. package/dist/cjs/api/types/GrantCustomerCreditsResponse.d.ts +9 -0
  587. package/dist/cjs/api/types/GrantCustomerCreditsResponse.js +3 -0
  588. package/dist/cjs/api/types/Invoice.d.ts +3 -0
  589. package/dist/cjs/api/types/MemberRequest.d.ts +4 -0
  590. package/dist/cjs/api/types/MemberRequest.js +3 -0
  591. package/dist/cjs/api/types/MoneyAxisOptions.d.ts +23 -0
  592. package/dist/cjs/api/types/MoneyAxisOptions.js +3 -0
  593. package/dist/cjs/api/types/MoneyAxisValue.d.ts +6 -0
  594. package/dist/cjs/api/types/MoneyAxisValue.js +9 -0
  595. package/dist/cjs/api/types/Order.d.ts +1 -0
  596. package/dist/cjs/api/types/OrderLine.d.ts +2 -0
  597. package/dist/cjs/api/types/OrderLineType.d.ts +7 -0
  598. package/dist/cjs/api/types/OrderLineType.js +10 -0
  599. package/dist/cjs/api/types/Payment.d.ts +30 -0
  600. package/dist/cjs/api/types/Payment.js +3 -0
  601. package/dist/cjs/api/types/PaymentAllocation.d.ts +21 -0
  602. package/dist/cjs/api/types/PaymentAllocation.js +3 -0
  603. package/dist/cjs/api/types/PaymentAllocationCreateResponse.d.ts +4 -0
  604. package/dist/cjs/api/types/PaymentAllocationCreateResponse.js +3 -0
  605. package/dist/cjs/api/types/PaymentAllocationInput.d.ts +8 -0
  606. package/dist/cjs/api/types/PaymentAllocationInput.js +3 -0
  607. package/dist/cjs/api/types/PaymentAllocationListResponse.d.ts +5 -0
  608. package/dist/cjs/api/types/PaymentAllocationListResponse.js +3 -0
  609. package/dist/cjs/api/types/PaymentCreateStatus.d.ts +6 -0
  610. package/dist/cjs/api/types/PaymentCreateStatus.js +9 -0
  611. package/dist/cjs/api/types/PaymentListResponse.d.ts +5 -0
  612. package/dist/cjs/api/types/PaymentListResponse.js +3 -0
  613. package/dist/cjs/api/types/PaymentMethod.d.ts +15 -0
  614. package/dist/cjs/api/types/PaymentMethod.js +3 -0
  615. package/dist/cjs/api/types/PaymentMethodCard.d.ts +13 -0
  616. package/dist/cjs/api/types/PaymentMethodCard.js +3 -0
  617. package/dist/cjs/api/types/PaymentMethodListResponse.d.ts +5 -0
  618. package/dist/cjs/api/types/PaymentMethodListResponse.js +3 -0
  619. package/dist/cjs/api/types/PaymentMethodSetup.d.ts +21 -0
  620. package/dist/cjs/api/types/PaymentMethodSetup.js +3 -0
  621. package/dist/cjs/api/types/PaymentType.d.ts +9 -0
  622. package/dist/cjs/api/types/PaymentType.js +12 -0
  623. package/dist/cjs/api/types/PendingCreditConsumption.d.ts +16 -0
  624. package/dist/cjs/api/types/PendingCreditConsumption.js +3 -0
  625. package/dist/cjs/api/types/PendingCreditConsumptionCurrency.d.ts +9 -0
  626. package/dist/cjs/api/types/PendingCreditConsumptionCurrency.js +3 -0
  627. package/dist/cjs/api/types/PendingCreditConsumptionListResponse.d.ts +6 -0
  628. package/dist/cjs/api/types/PendingCreditConsumptionListResponse.js +3 -0
  629. package/dist/cjs/api/types/Plan.d.ts +22 -0
  630. package/dist/cjs/api/types/Plan.js +11 -0
  631. package/dist/cjs/api/types/PlanAttribute.d.ts +8 -0
  632. package/dist/cjs/api/types/PlanAttribute.js +3 -0
  633. package/dist/cjs/api/types/PlanAttributeInput.d.ts +7 -0
  634. package/dist/cjs/api/types/PlanAttributeInput.js +3 -0
  635. package/dist/cjs/api/types/PlanCreditBenefit.d.ts +37 -0
  636. package/dist/cjs/api/types/PlanCreditBenefit.js +24 -0
  637. package/dist/cjs/api/types/PlanListResponse.d.ts +5 -0
  638. package/dist/cjs/api/types/PlanListResponse.js +3 -0
  639. package/dist/cjs/api/types/PlanPricing.d.ts +31 -0
  640. package/dist/cjs/api/types/PlanPricing.js +24 -0
  641. package/dist/cjs/api/types/PlanRef.d.ts +5 -0
  642. package/dist/cjs/api/types/PlanRef.js +3 -0
  643. package/dist/cjs/api/types/PlanUpgradePathGroup.d.ts +4 -0
  644. package/dist/cjs/api/types/PlanUpgradePathGroup.js +3 -0
  645. package/dist/cjs/api/types/PlanUpgradePathResponse.d.ts +4 -0
  646. package/dist/cjs/api/types/PlanUpgradePathResponse.js +3 -0
  647. package/dist/cjs/api/types/PlannedAdd.d.ts +28 -0
  648. package/dist/cjs/api/types/PlannedAdd.js +13 -0
  649. package/dist/cjs/api/types/PlannedCopy.d.ts +10 -0
  650. package/dist/cjs/api/types/PlannedCopy.js +3 -0
  651. package/dist/cjs/api/types/PlannedEnd.d.ts +10 -0
  652. package/dist/cjs/api/types/PlannedEnd.js +3 -0
  653. package/dist/cjs/api/types/PlannedOperations.d.ts +13 -0
  654. package/dist/cjs/api/types/PlannedOperations.js +3 -0
  655. package/dist/cjs/api/types/PlannedOrderTerm.d.ts +10 -0
  656. package/dist/cjs/api/types/PlannedOrderTerm.js +3 -0
  657. package/dist/cjs/api/types/PlannedReplace.d.ts +15 -0
  658. package/dist/cjs/api/types/PlannedReplace.js +3 -0
  659. package/dist/cjs/api/types/PricingInput.d.ts +4 -1
  660. package/dist/cjs/api/types/PricingOutput.d.ts +7 -0
  661. package/dist/cjs/api/types/PricingOutput.js +5 -0
  662. package/dist/cjs/api/types/PricingPricePointOutput.d.ts +2 -22
  663. package/dist/cjs/api/types/PricingPricePointOutput.js +0 -14
  664. package/dist/cjs/api/types/PricingTierOutput.d.ts +16 -0
  665. package/dist/cjs/api/types/PricingTierOutput.js +11 -0
  666. package/dist/cjs/api/types/ProductAttributeOutput.d.ts +8 -0
  667. package/dist/cjs/api/types/ProductAttributeOutput.js +3 -0
  668. package/dist/cjs/api/types/ProductAttributeUpsert.d.ts +9 -0
  669. package/dist/cjs/api/types/ProductAttributeUpsert.js +3 -0
  670. package/dist/cjs/api/types/ProductCreditBenefitInput.d.ts +32 -0
  671. package/dist/cjs/api/types/ProductCreditBenefitInput.js +20 -0
  672. package/dist/cjs/api/types/ProductCreditBenefitOutput.d.ts +13 -0
  673. package/dist/cjs/api/types/ProductCreditBenefitOutput.js +3 -0
  674. package/dist/cjs/api/types/ProductDetail.d.ts +14 -0
  675. package/dist/cjs/api/types/ProductDetail.js +3 -0
  676. package/dist/cjs/api/types/ProductOneTimePerUnitInput.d.ts +21 -0
  677. package/dist/cjs/api/types/ProductOneTimePerUnitInput.js +18 -0
  678. package/dist/cjs/api/types/ProductPricePointOutput.d.ts +9 -0
  679. package/dist/cjs/api/types/ProductPricePointOutput.js +3 -0
  680. package/dist/cjs/api/types/ProductPricingInput.d.ts +49 -0
  681. package/dist/cjs/api/types/ProductPricingInput.js +3 -0
  682. package/dist/cjs/api/types/ProductPricingOutput.d.ts +43 -0
  683. package/dist/cjs/api/types/ProductPricingOutput.js +28 -0
  684. package/dist/cjs/api/types/ProductPricingTierOutput.d.ts +16 -0
  685. package/dist/cjs/api/types/ProductPricingTierOutput.js +11 -0
  686. package/dist/cjs/api/types/ProductRecurringGraduatedInput.d.ts +22 -0
  687. package/dist/cjs/api/types/ProductRecurringGraduatedInput.js +18 -0
  688. package/dist/cjs/api/types/ProductRecurringPerUnitInput.d.ts +22 -0
  689. package/dist/cjs/api/types/ProductRecurringPerUnitInput.js +18 -0
  690. package/dist/cjs/api/types/ProductRecurringPercentOfTotalInput.d.ts +23 -0
  691. package/dist/cjs/api/types/ProductRecurringPercentOfTotalInput.js +18 -0
  692. package/dist/cjs/api/types/ProductRecurringVolumeInput.d.ts +22 -0
  693. package/dist/cjs/api/types/ProductRecurringVolumeInput.js +18 -0
  694. package/dist/cjs/api/types/ProductSeatBasedGraduatedInput.d.ts +22 -0
  695. package/dist/cjs/api/types/ProductSeatBasedGraduatedInput.js +18 -0
  696. package/dist/cjs/api/types/ProductSeatBasedPerUnitInput.d.ts +22 -0
  697. package/dist/cjs/api/types/ProductSeatBasedPerUnitInput.js +18 -0
  698. package/dist/cjs/api/types/ProductSeatBasedPrepaidCreditsInput.d.ts +26 -0
  699. package/dist/cjs/api/types/ProductSeatBasedPrepaidCreditsInput.js +18 -0
  700. package/dist/cjs/api/types/ProductSeatBasedVolumeInput.d.ts +22 -0
  701. package/dist/cjs/api/types/ProductSeatBasedVolumeInput.js +18 -0
  702. package/dist/cjs/api/types/ProductSimplePricePoint.d.ts +29 -0
  703. package/dist/cjs/api/types/ProductSimplePricePoint.js +17 -0
  704. package/dist/cjs/api/types/ProductTieredPricePoint.d.ts +29 -0
  705. package/dist/cjs/api/types/ProductTieredPricePoint.js +17 -0
  706. package/dist/cjs/api/types/ProductUsageBracketedPrepaidCreditsInput.d.ts +57 -0
  707. package/dist/cjs/api/types/ProductUsageBracketedPrepaidCreditsInput.js +28 -0
  708. package/dist/cjs/api/types/ProductUsageCostPlusInput.d.ts +29 -0
  709. package/dist/cjs/api/types/ProductUsageCostPlusInput.js +22 -0
  710. package/dist/cjs/api/types/ProductUsageGraduatedInput.d.ts +29 -0
  711. package/dist/cjs/api/types/ProductUsageGraduatedInput.js +22 -0
  712. package/dist/cjs/api/types/ProductUsagePerUnitInput.d.ts +29 -0
  713. package/dist/cjs/api/types/ProductUsagePerUnitInput.js +22 -0
  714. package/dist/cjs/api/types/ProductUsagePrepaidCreditsInput.d.ts +45 -0
  715. package/dist/cjs/api/types/ProductUsagePrepaidCreditsInput.js +28 -0
  716. package/dist/cjs/api/types/ProductUsageVolumeInput.d.ts +29 -0
  717. package/dist/cjs/api/types/ProductUsageVolumeInput.js +22 -0
  718. package/dist/cjs/api/types/RemoveMembersResponse.d.ts +5 -0
  719. package/dist/cjs/api/types/RemoveMembersResponse.js +3 -0
  720. package/dist/cjs/api/types/RenderBundleEdit.d.ts +8 -0
  721. package/dist/cjs/api/types/RenderBundleEdit.js +3 -0
  722. package/dist/cjs/api/types/RotateWebhookSecretResponse.d.ts +4 -0
  723. package/dist/cjs/api/types/RotateWebhookSecretResponse.js +3 -0
  724. package/dist/cjs/api/types/SeatBasedPrepaidCreditsInput.d.ts +1 -0
  725. package/dist/cjs/api/types/SetMembersResponse.d.ts +6 -0
  726. package/dist/cjs/api/types/SetMembersResponse.js +3 -0
  727. package/dist/cjs/api/types/Signal.d.ts +1 -0
  728. package/dist/cjs/api/types/SignalListItem.d.ts +20 -0
  729. package/dist/cjs/api/types/SignalListItem.js +3 -0
  730. package/dist/cjs/api/types/SignalListResponse.d.ts +5 -0
  731. package/dist/cjs/api/types/SignalListResponse.js +3 -0
  732. package/dist/cjs/api/types/SignalsMetadataResponse.d.ts +28 -0
  733. package/dist/cjs/api/types/SignalsMetadataResponse.js +3 -0
  734. package/dist/cjs/api/types/StripeConnection.d.ts +7 -0
  735. package/dist/cjs/api/types/StripeConnection.js +3 -0
  736. package/dist/cjs/api/{resources/valueReceipts/client/requests → types}/SyncValueReceiptRequest.d.ts +0 -7
  737. package/dist/cjs/api/types/SyncValueReceiptRequest.js +3 -0
  738. package/dist/cjs/api/types/UnifiedAmendmentIntent.d.ts +25 -0
  739. package/dist/cjs/api/types/UnifiedAmendmentIntent.js +3 -0
  740. package/dist/cjs/api/types/UnifiedAmendmentResponse.d.ts +19 -0
  741. package/dist/cjs/api/types/UnifiedAmendmentResponse.js +3 -0
  742. package/dist/cjs/api/types/UpdateCustomerRequest.d.ts +1 -1
  743. package/dist/cjs/api/types/UpdateLineTermIntent.d.ts +18 -0
  744. package/dist/cjs/api/types/UpdateLineTermIntent.js +14 -0
  745. package/dist/cjs/api/types/UpdateOrderTermIntent.d.ts +18 -0
  746. package/dist/cjs/api/types/UpdateOrderTermIntent.js +14 -0
  747. package/dist/cjs/api/types/UpdatePlanRequest.d.ts +18 -0
  748. package/dist/cjs/api/types/UpdatePlanRequest.js +12 -0
  749. package/dist/cjs/api/types/UpdatePricingIntent.d.ts +22 -0
  750. package/dist/cjs/api/types/UpdatePricingIntent.js +14 -0
  751. package/dist/cjs/api/types/UpdateProductRequest.d.ts +2 -0
  752. package/dist/cjs/api/types/UpdateQuantityIntent.d.ts +18 -0
  753. package/dist/cjs/api/types/UpdateQuantityIntent.js +14 -0
  754. package/dist/cjs/api/types/UsageAttributionAxisOptions.d.ts +23 -0
  755. package/dist/cjs/api/types/UsageAttributionAxisOptions.js +3 -0
  756. package/dist/cjs/api/types/UsageAttributionAxisValue.d.ts +6 -0
  757. package/dist/cjs/api/types/UsageAttributionAxisValue.js +9 -0
  758. package/dist/cjs/api/types/UsageBracketedPrepaidCreditsInput.d.ts +57 -0
  759. package/dist/cjs/api/types/UsageBracketedPrepaidCreditsInput.js +28 -0
  760. package/dist/cjs/api/types/UsageCostPlusInput.d.ts +6 -0
  761. package/dist/cjs/api/types/UsageCostPlusInput.js +4 -0
  762. package/dist/cjs/api/types/UsageGraduatedInput.d.ts +6 -0
  763. package/dist/cjs/api/types/UsageGraduatedInput.js +4 -0
  764. package/dist/cjs/api/types/UsagePerUnitInput.d.ts +6 -0
  765. package/dist/cjs/api/types/UsagePerUnitInput.js +4 -0
  766. package/dist/cjs/api/types/UsagePrepaidCreditsInput.d.ts +19 -0
  767. package/dist/cjs/api/types/UsagePrepaidCreditsInput.js +10 -0
  768. package/dist/cjs/api/types/UsageVolumeInput.d.ts +6 -0
  769. package/dist/cjs/api/types/UsageVolumeInput.js +4 -0
  770. package/dist/cjs/api/types/ValidateCustomViewRequest.d.ts +51 -0
  771. package/dist/cjs/api/types/ValidateCustomViewRequest.js +26 -0
  772. package/dist/cjs/api/types/ValidateCustomViewResponse.d.ts +7 -0
  773. package/dist/cjs/api/types/ValidateCustomViewResponse.js +3 -0
  774. package/dist/cjs/api/types/ValueMetricDetail.d.ts +47 -0
  775. package/dist/cjs/api/types/ValueMetricDetail.js +3 -0
  776. package/dist/cjs/api/types/ValueMetricFormula.d.ts +9 -0
  777. package/dist/cjs/api/types/ValueMetricFormula.js +3 -0
  778. package/dist/cjs/api/types/ValueMetricFormulaVariable.d.ts +31 -0
  779. package/dist/cjs/api/types/ValueMetricFormulaVariable.js +24 -0
  780. package/dist/cjs/api/types/ValueMetricListResponse.d.ts +5 -0
  781. package/dist/cjs/api/types/ValueMetricListResponse.js +3 -0
  782. package/dist/cjs/api/types/ValueMetricMonetaryConversion.d.ts +6 -0
  783. package/dist/cjs/api/types/ValueMetricMonetaryConversion.js +3 -0
  784. package/dist/cjs/api/types/ValueMetricSignalBinding.d.ts +14 -0
  785. package/dist/cjs/api/types/ValueMetricSignalBinding.js +3 -0
  786. package/dist/cjs/api/types/ValueMetricSummary.d.ts +30 -0
  787. package/dist/cjs/api/types/ValueMetricSummary.js +3 -0
  788. package/dist/cjs/api/types/ValueMetricUnit.d.ts +27 -0
  789. package/dist/cjs/api/types/ValueMetricUnit.js +20 -0
  790. package/dist/cjs/api/types/ValueMetricValidationResponse.d.ts +13 -0
  791. package/dist/cjs/api/types/ValueMetricValidationResponse.js +3 -0
  792. package/dist/cjs/api/types/ValueMetricVariableEdit.d.ts +26 -0
  793. package/dist/cjs/api/types/ValueMetricVariableEdit.js +19 -0
  794. package/dist/cjs/api/types/ValueMetricWriteAck.d.ts +6 -0
  795. package/dist/cjs/api/types/ValueMetricWriteAck.js +3 -0
  796. package/dist/cjs/api/types/ValueModelAuthoringGuide.d.ts +22 -0
  797. package/dist/cjs/api/types/ValueModelAuthoringGuide.js +3 -0
  798. package/dist/cjs/api/types/ValueModelContent.d.ts +357 -0
  799. package/dist/cjs/api/types/ValueModelContent.js +141 -0
  800. package/dist/cjs/api/types/ValueModelDetail.d.ts +12 -0
  801. package/dist/cjs/api/types/ValueModelDetail.js +3 -0
  802. package/dist/cjs/api/types/ValueModelSummary.d.ts +18 -0
  803. package/dist/cjs/api/types/ValueModelSummary.js +12 -0
  804. package/dist/cjs/api/types/ValueModelVersionListResponse.d.ts +5 -0
  805. package/dist/cjs/api/types/ValueModelVersionListResponse.js +3 -0
  806. package/dist/cjs/api/types/ValueReceiptSyncResponse.d.ts +1 -0
  807. package/dist/cjs/api/types/ViewDataResponse.d.ts +4 -0
  808. package/dist/cjs/api/types/ViewDataResponse.js +3 -0
  809. package/dist/cjs/api/types/Webhook.d.ts +2 -0
  810. package/dist/cjs/api/types/Webhook.js +2 -0
  811. package/dist/cjs/api/types/WebhookListResponse.d.ts +2 -0
  812. package/dist/cjs/api/types/WebhookUpdateResponse.d.ts +28 -0
  813. package/dist/cjs/api/types/WebhookUpdateResponse.js +20 -0
  814. package/dist/cjs/api/types/WritableOrderLineType.d.ts +6 -0
  815. package/dist/cjs/api/types/WritableOrderLineType.js +9 -0
  816. package/dist/cjs/api/types/index.d.ts +209 -1
  817. package/dist/cjs/api/types/index.js +209 -1
  818. package/dist/cjs/tracing/aiSdkSpanProcessor.js +17 -0
  819. package/dist/cjs/version.d.ts +1 -1
  820. package/dist/cjs/version.js +1 -1
  821. package/dist/esm/Client.d.mts +33 -0
  822. package/dist/esm/Client.mjs +57 -2
  823. package/dist/esm/api/errors/BadRequestError.d.mts +1 -2
  824. package/dist/esm/api/errors/ConflictError.d.mts +1 -2
  825. package/dist/esm/api/errors/ForbiddenError.d.mts +1 -2
  826. package/dist/esm/api/errors/InternalServerError.d.mts +1 -2
  827. package/dist/esm/api/errors/NotFoundError.d.mts +1 -2
  828. package/dist/esm/api/errors/RequestTimeoutError.d.mts +6 -0
  829. package/dist/esm/api/errors/RequestTimeoutError.mjs +13 -0
  830. package/dist/esm/api/errors/TooManyRequestsError.d.mts +6 -0
  831. package/dist/esm/api/errors/TooManyRequestsError.mjs +13 -0
  832. package/dist/esm/api/errors/index.d.mts +2 -0
  833. package/dist/esm/api/errors/index.mjs +2 -0
  834. package/dist/esm/api/resources/amendments/client/Client.d.mts +83 -0
  835. package/dist/esm/api/resources/amendments/client/Client.mjs +276 -0
  836. package/dist/esm/api/resources/amendments/client/index.d.mts +1 -0
  837. package/dist/esm/api/resources/amendments/client/index.mjs +1 -0
  838. package/dist/esm/api/resources/amendments/client/requests/GetOrderAmendmentOptionsRequest.d.mts +10 -0
  839. package/dist/esm/api/resources/amendments/client/requests/UnifiedAmendmentExecuteRequest.d.mts +35 -0
  840. package/dist/esm/api/resources/amendments/client/requests/UnifiedAmendmentExecuteRequest.mjs +11 -0
  841. package/dist/esm/api/resources/amendments/client/requests/UnifiedAmendmentPreviewRequest.d.mts +33 -0
  842. package/dist/esm/api/resources/amendments/client/requests/UnifiedAmendmentPreviewRequest.mjs +11 -0
  843. package/dist/esm/api/resources/amendments/client/requests/index.d.mts +3 -0
  844. package/dist/esm/api/resources/amendments/client/requests/index.mjs +1 -0
  845. package/dist/esm/api/resources/amendments/index.d.mts +1 -0
  846. package/dist/esm/api/resources/amendments/index.mjs +1 -0
  847. package/dist/esm/api/resources/analytics/client/Client.d.mts +63 -0
  848. package/dist/esm/api/resources/analytics/client/Client.mjs +236 -0
  849. package/dist/esm/api/resources/analytics/client/index.d.mts +1 -0
  850. package/dist/esm/api/resources/analytics/client/index.mjs +1 -0
  851. package/dist/esm/api/resources/analytics/client/requests/GetSignalsMetadataRequest.d.mts +12 -0
  852. package/dist/esm/api/resources/analytics/client/requests/index.d.mts +1 -0
  853. package/dist/esm/api/resources/analytics/client/requests/index.mjs +1 -0
  854. package/dist/esm/api/resources/analytics/index.d.mts +1 -0
  855. package/dist/esm/api/resources/analytics/index.mjs +1 -0
  856. package/dist/esm/api/resources/analyticsExperimental/client/Client.d.mts +69 -0
  857. package/dist/esm/api/resources/analyticsExperimental/client/Client.mjs +242 -0
  858. package/dist/esm/api/resources/analyticsExperimental/client/index.d.mts +1 -0
  859. package/dist/esm/api/resources/analyticsExperimental/client/index.mjs +1 -0
  860. package/dist/esm/api/resources/analyticsExperimental/client/requests/GetExperimentalSignalsMetadataRequest.d.mts +12 -0
  861. package/dist/esm/api/resources/analyticsExperimental/client/requests/GetExperimentalSignalsMetadataRequest.mjs +2 -0
  862. package/dist/esm/api/resources/analyticsExperimental/client/requests/index.d.mts +1 -0
  863. package/dist/esm/api/resources/analyticsExperimental/client/requests/index.mjs +1 -0
  864. package/dist/esm/api/resources/analyticsExperimental/index.d.mts +1 -0
  865. package/dist/esm/api/resources/analyticsExperimental/index.mjs +1 -0
  866. package/dist/esm/api/resources/checkouts/client/requests/CreateCheckoutRequest.d.mts +3 -1
  867. package/dist/esm/api/resources/credits/client/Client.d.mts +57 -2
  868. package/dist/esm/api/resources/credits/client/Client.mjs +267 -5
  869. package/dist/esm/api/resources/credits/client/index.d.mts +1 -1
  870. package/dist/esm/api/resources/credits/client/index.mjs +1 -1
  871. package/dist/esm/api/resources/credits/client/requests/CreateCreditCurrencyRequest.d.mts +16 -0
  872. package/dist/esm/api/resources/credits/client/requests/CreateCreditCurrencyRequest.mjs +2 -0
  873. package/dist/esm/api/resources/credits/client/requests/ListCreditCurrenciesRequest.d.mts +9 -0
  874. package/dist/esm/api/resources/credits/client/requests/ListCreditCurrenciesRequest.mjs +2 -0
  875. package/dist/esm/api/resources/credits/client/requests/ListCreditTransactionsRequest.d.mts +25 -0
  876. package/dist/esm/api/resources/credits/client/requests/ListCreditTransactionsRequest.mjs +2 -0
  877. package/dist/esm/api/resources/credits/client/requests/UpdateCreditCurrencyRequest.d.mts +24 -0
  878. package/dist/esm/api/resources/credits/client/requests/UpdateCreditCurrencyRequest.mjs +9 -0
  879. package/dist/esm/api/resources/credits/client/requests/index.d.mts +4 -0
  880. package/dist/esm/api/resources/credits/client/requests/index.mjs +1 -0
  881. package/dist/esm/api/resources/credits/index.d.mts +1 -0
  882. package/dist/esm/api/resources/credits/index.mjs +1 -0
  883. package/dist/esm/api/resources/credits/types/ListCreditCurrenciesRequestStatus.d.mts +6 -0
  884. package/dist/esm/api/resources/credits/types/ListCreditCurrenciesRequestStatus.mjs +6 -0
  885. package/dist/esm/api/resources/credits/types/ListCreditTransactionsRequestType.d.mts +6 -0
  886. package/dist/esm/api/resources/credits/types/ListCreditTransactionsRequestType.mjs +6 -0
  887. package/dist/esm/api/resources/credits/types/index.d.mts +2 -0
  888. package/dist/esm/api/resources/credits/types/index.mjs +2 -0
  889. package/dist/esm/api/resources/customViewsExperimental/client/Client.d.mts +177 -0
  890. package/dist/esm/api/resources/customViewsExperimental/client/Client.mjs +651 -0
  891. package/dist/esm/api/resources/customViewsExperimental/client/index.d.mts +1 -0
  892. package/dist/esm/api/resources/customViewsExperimental/client/index.mjs +1 -0
  893. package/dist/esm/api/resources/customViewsExperimental/client/requests/CreateCustomViewRequest.d.mts +66 -0
  894. package/dist/esm/api/resources/customViewsExperimental/client/requests/CreateCustomViewRequest.mjs +23 -0
  895. package/dist/esm/api/resources/customViewsExperimental/client/requests/GetCustomViewDataRequest.d.mts +22 -0
  896. package/dist/esm/api/resources/customViewsExperimental/client/requests/GetCustomViewDataRequest.mjs +2 -0
  897. package/dist/esm/api/resources/customViewsExperimental/client/requests/GetCustomViewEmbedTokenRequest.d.mts +14 -0
  898. package/dist/esm/api/resources/customViewsExperimental/client/requests/GetCustomViewEmbedTokenRequest.mjs +2 -0
  899. package/dist/esm/api/resources/customViewsExperimental/client/requests/GetCustomViewRequest.d.mts +9 -0
  900. package/dist/esm/api/resources/customViewsExperimental/client/requests/GetCustomViewRequest.mjs +2 -0
  901. package/dist/esm/api/resources/customViewsExperimental/client/requests/PublishCustomViewRequest.d.mts +9 -0
  902. package/dist/esm/api/resources/customViewsExperimental/client/requests/PublishCustomViewRequest.mjs +2 -0
  903. package/dist/esm/api/resources/customViewsExperimental/client/requests/UpdateCustomViewPeriodRequest.d.mts +46 -0
  904. package/dist/esm/api/resources/customViewsExperimental/client/requests/UpdateCustomViewPeriodRequest.mjs +18 -0
  905. package/dist/esm/api/resources/customViewsExperimental/client/requests/UpdateCustomViewRequest.d.mts +26 -0
  906. package/dist/esm/api/resources/customViewsExperimental/client/requests/UpdateCustomViewRequest.mjs +2 -0
  907. package/dist/esm/api/resources/customViewsExperimental/client/requests/index.d.mts +7 -0
  908. package/dist/esm/api/resources/customViewsExperimental/client/requests/index.mjs +1 -0
  909. package/dist/esm/api/resources/customViewsExperimental/index.d.mts +2 -0
  910. package/dist/esm/api/resources/customViewsExperimental/index.mjs +2 -0
  911. package/dist/esm/api/resources/customViewsExperimental/types/GetCustomViewDataRequestPeriodKind.d.mts +5 -0
  912. package/dist/esm/api/resources/customViewsExperimental/types/GetCustomViewDataRequestPeriodKind.mjs +5 -0
  913. package/dist/esm/api/resources/customViewsExperimental/types/GetCustomViewDataRequestPeriodUnit.d.mts +6 -0
  914. package/dist/esm/api/resources/customViewsExperimental/types/GetCustomViewDataRequestPeriodUnit.mjs +6 -0
  915. package/dist/esm/api/resources/customViewsExperimental/types/index.d.mts +2 -0
  916. package/dist/esm/api/resources/customViewsExperimental/types/index.mjs +2 -0
  917. package/dist/esm/api/resources/customerGroups/client/Client.d.mts +153 -0
  918. package/dist/esm/api/resources/customerGroups/client/Client.mjs +599 -0
  919. package/dist/esm/api/resources/customerGroups/client/index.d.mts +1 -0
  920. package/dist/esm/api/resources/customerGroups/client/index.mjs +1 -0
  921. package/dist/esm/api/resources/customerGroups/client/requests/CreateCustomerGroupMembersRequest.d.mts +14 -0
  922. package/dist/esm/api/resources/customerGroups/client/requests/CreateCustomerGroupMembersRequest.mjs +2 -0
  923. package/dist/esm/api/resources/customerGroups/client/requests/CreateCustomerGroupRequest.d.mts +10 -0
  924. package/dist/esm/api/resources/customerGroups/client/requests/CreateCustomerGroupRequest.mjs +2 -0
  925. package/dist/esm/api/resources/customerGroups/client/requests/DeleteCustomerGroupMembersRequest.d.mts +14 -0
  926. package/dist/esm/api/resources/customerGroups/client/requests/DeleteCustomerGroupMembersRequest.mjs +2 -0
  927. package/dist/esm/api/resources/customerGroups/client/requests/DeleteCustomerGroupRequest.d.mts +9 -0
  928. package/dist/esm/api/resources/customerGroups/client/requests/DeleteCustomerGroupRequest.mjs +2 -0
  929. package/dist/esm/api/resources/customerGroups/client/requests/GetCustomerGroupRequest.d.mts +9 -0
  930. package/dist/esm/api/resources/customerGroups/client/requests/GetCustomerGroupRequest.mjs +2 -0
  931. package/dist/esm/api/resources/customerGroups/client/requests/ListCustomerGroupsRequest.d.mts +8 -0
  932. package/dist/esm/api/resources/customerGroups/client/requests/ListCustomerGroupsRequest.mjs +2 -0
  933. package/dist/esm/api/resources/customerGroups/client/requests/UpdateCustomerGroupMembersRequest.d.mts +14 -0
  934. package/dist/esm/api/resources/customerGroups/client/requests/UpdateCustomerGroupMembersRequest.mjs +2 -0
  935. package/dist/esm/api/resources/customerGroups/client/requests/UpdateCustomerGroupRequest.d.mts +11 -0
  936. package/dist/esm/api/resources/customerGroups/client/requests/UpdateCustomerGroupRequest.mjs +2 -0
  937. package/dist/esm/api/resources/customerGroups/client/requests/index.d.mts +8 -0
  938. package/dist/esm/api/resources/customerGroups/client/requests/index.mjs +1 -0
  939. package/dist/esm/api/resources/customerGroups/index.d.mts +1 -0
  940. package/dist/esm/api/resources/customerGroups/index.mjs +1 -0
  941. package/dist/esm/api/resources/customers/client/Client.d.mts +576 -12
  942. package/dist/esm/api/resources/customers/client/Client.mjs +2292 -98
  943. package/dist/esm/api/resources/customers/client/requests/CreateCustomerAliasByExternalIdRequest.d.mts +15 -0
  944. package/dist/esm/api/resources/customers/client/requests/CreateCustomerAliasByExternalIdRequest.mjs +2 -0
  945. package/dist/esm/api/resources/customers/client/requests/CreateCustomerAliasRequest.d.mts +15 -0
  946. package/dist/esm/api/resources/customers/client/requests/CreateCustomerAliasRequest.mjs +2 -0
  947. package/dist/esm/api/resources/customers/client/requests/CreateCustomerRequest.d.mts +1 -1
  948. package/dist/esm/api/resources/customers/client/requests/CreateCustomerUnitByExternalIdRequest.d.mts +15 -0
  949. package/dist/esm/api/resources/customers/client/requests/CreateCustomerUnitByExternalIdRequest.mjs +2 -0
  950. package/dist/esm/api/resources/customers/client/requests/CreateCustomerUnitRequest.d.mts +15 -0
  951. package/dist/esm/api/resources/customers/client/requests/CreateCustomerUnitRequest.mjs +2 -0
  952. package/dist/esm/api/resources/customers/client/requests/DeleteCustomerAliasByExternalIdRequest.d.mts +13 -0
  953. package/dist/esm/api/resources/customers/client/requests/DeleteCustomerAliasByExternalIdRequest.mjs +2 -0
  954. package/dist/esm/api/resources/customers/client/requests/DeleteCustomerAliasRequest.d.mts +13 -0
  955. package/dist/esm/api/resources/customers/client/requests/DeleteCustomerAliasRequest.mjs +2 -0
  956. package/dist/esm/api/resources/customers/client/requests/DeleteCustomerByExternalIdRequest.d.mts +2 -1
  957. package/dist/esm/api/resources/customers/client/requests/DeleteCustomerByIdRequest.d.mts +2 -1
  958. package/dist/esm/api/resources/customers/client/requests/DeleteCustomerUnitByExternalIdRequest.d.mts +13 -0
  959. package/dist/esm/api/resources/customers/client/requests/DeleteCustomerUnitByExternalIdRequest.mjs +2 -0
  960. package/dist/esm/api/resources/customers/client/requests/DeleteCustomerUnitRequest.d.mts +13 -0
  961. package/dist/esm/api/resources/customers/client/requests/DeleteCustomerUnitRequest.mjs +2 -0
  962. package/dist/esm/api/resources/customers/client/requests/EndCustomerUnitCapByExternalIdRequest.d.mts +16 -0
  963. package/dist/esm/api/resources/customers/client/requests/EndCustomerUnitCapByExternalIdRequest.mjs +2 -0
  964. package/dist/esm/api/resources/customers/client/requests/EndCustomerUnitCapRequest.d.mts +16 -0
  965. package/dist/esm/api/resources/customers/client/requests/EndCustomerUnitCapRequest.mjs +2 -0
  966. package/dist/esm/api/resources/customers/client/requests/GetCustomerByExternalIdRequest.d.mts +2 -1
  967. package/dist/esm/api/resources/customers/client/requests/GetCustomerByIdRequest.d.mts +2 -1
  968. package/dist/esm/api/resources/customers/client/requests/GetCustomerCreditBalancesByExternalIdRequest.d.mts +2 -1
  969. package/dist/esm/api/resources/customers/client/requests/GetCustomerCreditBalancesRequest.d.mts +2 -1
  970. package/dist/esm/api/resources/customers/client/requests/GetCustomerStateByExternalIdRequest.d.mts +10 -0
  971. package/dist/esm/api/resources/customers/client/requests/GetCustomerStateByExternalIdRequest.mjs +2 -0
  972. package/dist/esm/api/resources/customers/client/requests/GetCustomerStateByIdRequest.d.mts +10 -0
  973. package/dist/esm/api/resources/customers/client/requests/GetCustomerStateByIdRequest.mjs +2 -0
  974. package/dist/esm/api/resources/customers/client/requests/GetCustomerUnitByExternalIdRequest.d.mts +13 -0
  975. package/dist/esm/api/resources/customers/client/requests/GetCustomerUnitByExternalIdRequest.mjs +2 -0
  976. package/dist/esm/api/resources/customers/client/requests/GetCustomerUnitCapByExternalIdRequest.d.mts +16 -0
  977. package/dist/esm/api/resources/customers/client/requests/GetCustomerUnitCapByExternalIdRequest.mjs +2 -0
  978. package/dist/esm/api/resources/customers/client/requests/GetCustomerUnitCapRequest.d.mts +16 -0
  979. package/dist/esm/api/resources/customers/client/requests/GetCustomerUnitCapRequest.mjs +2 -0
  980. package/dist/esm/api/resources/customers/client/requests/GetCustomerUnitRequest.d.mts +13 -0
  981. package/dist/esm/api/resources/customers/client/requests/GetCustomerUnitRequest.mjs +2 -0
  982. package/dist/esm/api/resources/customers/client/requests/GrantCustomerCreditsByExternalIdRequest.d.mts +18 -0
  983. package/dist/esm/api/resources/customers/client/requests/GrantCustomerCreditsByExternalIdRequest.mjs +2 -0
  984. package/dist/esm/api/resources/customers/client/requests/GrantCustomerCreditsRequest.d.mts +18 -0
  985. package/dist/esm/api/resources/customers/client/requests/GrantCustomerCreditsRequest.mjs +2 -0
  986. package/dist/esm/api/resources/customers/client/requests/ListCustomerAliasesByExternalIdRequest.d.mts +12 -0
  987. package/dist/esm/api/resources/customers/client/requests/ListCustomerAliasesByExternalIdRequest.mjs +2 -0
  988. package/dist/esm/api/resources/customers/client/requests/ListCustomerAliasesRequest.d.mts +12 -0
  989. package/dist/esm/api/resources/customers/client/requests/ListCustomerAliasesRequest.mjs +2 -0
  990. package/dist/esm/api/resources/customers/client/requests/ListCustomerPendingCreditConsumptionByExternalIdRequest.d.mts +12 -0
  991. package/dist/esm/api/resources/customers/client/requests/ListCustomerPendingCreditConsumptionByExternalIdRequest.mjs +2 -0
  992. package/dist/esm/api/resources/customers/client/requests/ListCustomerPendingCreditConsumptionRequest.d.mts +12 -0
  993. package/dist/esm/api/resources/customers/client/requests/ListCustomerPendingCreditConsumptionRequest.mjs +2 -0
  994. package/dist/esm/api/resources/customers/client/requests/ListCustomerUnitsByExternalIdRequest.d.mts +20 -0
  995. package/dist/esm/api/resources/customers/client/requests/ListCustomerUnitsByExternalIdRequest.mjs +2 -0
  996. package/dist/esm/api/resources/customers/client/requests/ListCustomerUnitsRequest.d.mts +20 -0
  997. package/dist/esm/api/resources/customers/client/requests/ListCustomerUnitsRequest.mjs +2 -0
  998. package/dist/esm/api/resources/customers/client/requests/ListCustomersRequest.d.mts +13 -0
  999. package/dist/esm/api/resources/customers/client/requests/SetCustomerUnitCapByExternalIdRequest.d.mts +18 -0
  1000. package/dist/esm/api/resources/customers/client/requests/SetCustomerUnitCapByExternalIdRequest.mjs +2 -0
  1001. package/dist/esm/api/resources/customers/client/requests/SetCustomerUnitCapRequest.d.mts +18 -0
  1002. package/dist/esm/api/resources/customers/client/requests/SetCustomerUnitCapRequest.mjs +2 -0
  1003. package/dist/esm/api/resources/customers/client/requests/UpdateCustomerByExternalIdRequest.d.mts +2 -1
  1004. package/dist/esm/api/resources/customers/client/requests/UpdateCustomerByIdRequest.d.mts +2 -1
  1005. package/dist/esm/api/resources/customers/client/requests/UpdateCustomerUnitByExternalIdRequest.d.mts +16 -0
  1006. package/dist/esm/api/resources/customers/client/requests/UpdateCustomerUnitByExternalIdRequest.mjs +2 -0
  1007. package/dist/esm/api/resources/customers/client/requests/UpdateCustomerUnitRequest.d.mts +16 -0
  1008. package/dist/esm/api/resources/customers/client/requests/UpdateCustomerUnitRequest.mjs +2 -0
  1009. package/dist/esm/api/resources/customers/client/requests/index.d.mts +28 -0
  1010. package/dist/esm/api/resources/customers/index.d.mts +1 -0
  1011. package/dist/esm/api/resources/customers/index.mjs +1 -0
  1012. package/dist/esm/api/resources/customers/types/ListCustomerUnitsByExternalIdRequestStatus.d.mts +5 -0
  1013. package/dist/esm/api/resources/customers/types/ListCustomerUnitsByExternalIdRequestStatus.mjs +5 -0
  1014. package/dist/esm/api/resources/customers/types/ListCustomerUnitsRequestStatus.d.mts +5 -0
  1015. package/dist/esm/api/resources/customers/types/ListCustomerUnitsRequestStatus.mjs +5 -0
  1016. package/dist/esm/api/resources/customers/types/ListCustomersRequestCreationState.d.mts +5 -0
  1017. package/dist/esm/api/resources/customers/types/ListCustomersRequestCreationState.mjs +5 -0
  1018. package/dist/esm/api/resources/customers/types/ListCustomersRequestStatus.d.mts +5 -0
  1019. package/dist/esm/api/resources/customers/types/ListCustomersRequestStatus.mjs +5 -0
  1020. package/dist/esm/api/resources/customers/types/index.d.mts +4 -0
  1021. package/dist/esm/api/resources/customers/types/index.mjs +4 -0
  1022. package/dist/esm/api/resources/index.d.mts +28 -0
  1023. package/dist/esm/api/resources/index.mjs +28 -0
  1024. package/dist/esm/api/resources/invoices/client/Client.mjs +37 -1
  1025. package/dist/esm/api/resources/invoices/client/requests/ListInvoicesRequest.d.mts +25 -0
  1026. package/dist/esm/api/resources/invoices/index.d.mts +1 -0
  1027. package/dist/esm/api/resources/invoices/index.mjs +1 -0
  1028. package/dist/esm/api/resources/invoices/types/ListInvoicesRequestPaymentStatus.d.mts +8 -0
  1029. package/dist/esm/api/resources/invoices/types/ListInvoicesRequestPaymentStatus.mjs +8 -0
  1030. package/dist/esm/api/resources/invoices/types/ListInvoicesRequestStatus.d.mts +10 -0
  1031. package/dist/esm/api/resources/invoices/types/ListInvoicesRequestStatus.mjs +10 -0
  1032. package/dist/esm/api/resources/invoices/types/index.d.mts +2 -0
  1033. package/dist/esm/api/resources/invoices/types/index.mjs +2 -0
  1034. package/dist/esm/api/resources/orders/client/Client.d.mts +18 -0
  1035. package/dist/esm/api/resources/orders/client/Client.mjs +99 -1
  1036. package/dist/esm/api/resources/orders/client/requests/ActivateOrderByIdRequest.d.mts +9 -0
  1037. package/dist/esm/api/resources/orders/client/requests/ActivateOrderByIdRequest.mjs +2 -0
  1038. package/dist/esm/api/resources/orders/client/requests/CreateOrderRequest.d.mts +2 -0
  1039. package/dist/esm/api/resources/orders/client/requests/ListOrdersRequest.d.mts +19 -0
  1040. package/dist/esm/api/resources/orders/client/requests/UpdateOrderRequest.d.mts +2 -0
  1041. package/dist/esm/api/resources/orders/client/requests/index.d.mts +1 -0
  1042. package/dist/esm/api/resources/orders/types/ListOrdersRequestCreationState.d.mts +5 -0
  1043. package/dist/esm/api/resources/orders/types/ListOrdersRequestCreationState.mjs +5 -0
  1044. package/dist/esm/api/resources/orders/types/OrderStatusFilter.d.mts +7 -0
  1045. package/dist/esm/api/resources/orders/types/OrderStatusFilter.mjs +7 -0
  1046. package/dist/esm/api/resources/orders/types/index.d.mts +2 -0
  1047. package/dist/esm/api/resources/orders/types/index.mjs +2 -0
  1048. package/dist/esm/api/resources/paymentAllocations/client/Client.d.mts +55 -0
  1049. package/dist/esm/api/resources/paymentAllocations/client/Client.mjs +187 -0
  1050. package/dist/esm/api/resources/paymentAllocations/client/index.d.mts +1 -0
  1051. package/dist/esm/api/resources/paymentAllocations/client/index.mjs +1 -0
  1052. package/dist/esm/api/resources/paymentAllocations/client/requests/CreatePaymentAllocationRequest.d.mts +17 -0
  1053. package/dist/esm/api/resources/paymentAllocations/client/requests/CreatePaymentAllocationRequest.mjs +2 -0
  1054. package/dist/esm/api/resources/paymentAllocations/client/requests/ListPaymentAllocationsRequest.d.mts +15 -0
  1055. package/dist/esm/api/resources/paymentAllocations/client/requests/ListPaymentAllocationsRequest.mjs +2 -0
  1056. package/dist/esm/api/resources/paymentAllocations/client/requests/index.d.mts +2 -0
  1057. package/dist/esm/api/resources/paymentAllocations/client/requests/index.mjs +1 -0
  1058. package/dist/esm/api/resources/paymentAllocations/index.d.mts +1 -0
  1059. package/dist/esm/api/resources/paymentAllocations/index.mjs +1 -0
  1060. package/dist/esm/api/resources/paymentMethods/client/Client.d.mts +104 -0
  1061. package/dist/esm/api/resources/paymentMethods/client/Client.mjs +409 -0
  1062. package/dist/esm/api/resources/paymentMethods/client/index.d.mts +1 -0
  1063. package/dist/esm/api/resources/paymentMethods/client/index.mjs +1 -0
  1064. package/dist/esm/api/resources/paymentMethods/client/requests/CreatePaymentMethodRequest.d.mts +18 -0
  1065. package/dist/esm/api/resources/paymentMethods/client/requests/CreatePaymentMethodRequest.mjs +2 -0
  1066. package/dist/esm/api/resources/paymentMethods/client/requests/DeletePaymentMethodRequest.d.mts +9 -0
  1067. package/dist/esm/api/resources/paymentMethods/client/requests/DeletePaymentMethodRequest.mjs +2 -0
  1068. package/dist/esm/api/resources/paymentMethods/client/requests/GetPaymentMethodRequest.d.mts +9 -0
  1069. package/dist/esm/api/resources/paymentMethods/client/requests/GetPaymentMethodRequest.mjs +2 -0
  1070. package/dist/esm/api/resources/paymentMethods/client/requests/ListPaymentMethodsRequest.d.mts +14 -0
  1071. package/dist/esm/api/resources/paymentMethods/client/requests/ListPaymentMethodsRequest.mjs +2 -0
  1072. package/dist/esm/api/resources/paymentMethods/client/requests/UpdateDefaultPaymentMethodRequest.d.mts +9 -0
  1073. package/dist/esm/api/resources/paymentMethods/client/requests/UpdateDefaultPaymentMethodRequest.mjs +2 -0
  1074. package/dist/esm/api/resources/paymentMethods/client/requests/index.d.mts +5 -0
  1075. package/dist/esm/api/resources/paymentMethods/client/requests/index.mjs +1 -0
  1076. package/dist/esm/api/resources/paymentMethods/index.d.mts +1 -0
  1077. package/dist/esm/api/resources/paymentMethods/index.mjs +1 -0
  1078. package/dist/esm/api/resources/payments/client/Client.d.mts +68 -0
  1079. package/dist/esm/api/resources/payments/client/Client.mjs +256 -0
  1080. package/dist/esm/api/resources/payments/client/index.d.mts +1 -0
  1081. package/dist/esm/api/resources/payments/client/index.mjs +1 -0
  1082. package/dist/esm/api/resources/payments/client/requests/CreatePaymentRequest.d.mts +25 -0
  1083. package/dist/esm/api/resources/payments/client/requests/CreatePaymentRequest.mjs +2 -0
  1084. package/dist/esm/api/resources/payments/client/requests/GetPaymentRequest.d.mts +9 -0
  1085. package/dist/esm/api/resources/payments/client/requests/GetPaymentRequest.mjs +2 -0
  1086. package/dist/esm/api/resources/payments/client/requests/ListPaymentsRequest.d.mts +15 -0
  1087. package/dist/esm/api/resources/payments/client/requests/ListPaymentsRequest.mjs +2 -0
  1088. package/dist/esm/api/resources/payments/client/requests/index.d.mts +3 -0
  1089. package/dist/esm/api/resources/payments/client/requests/index.mjs +1 -0
  1090. package/dist/esm/api/resources/payments/index.d.mts +2 -0
  1091. package/dist/esm/api/resources/payments/index.mjs +2 -0
  1092. package/dist/esm/api/resources/payments/types/ListPaymentsRequestStatus.d.mts +9 -0
  1093. package/dist/esm/api/resources/payments/types/ListPaymentsRequestStatus.mjs +9 -0
  1094. package/dist/esm/api/resources/payments/types/index.d.mts +1 -0
  1095. package/dist/esm/api/resources/payments/types/index.mjs +1 -0
  1096. package/dist/esm/api/resources/plans/client/Client.d.mts +152 -0
  1097. package/dist/esm/api/resources/plans/client/Client.mjs +556 -0
  1098. package/dist/esm/api/resources/plans/client/index.d.mts +1 -0
  1099. package/dist/esm/api/resources/plans/client/index.mjs +1 -0
  1100. package/dist/esm/api/resources/plans/client/requests/CreatePlanRequest.d.mts +28 -0
  1101. package/dist/esm/api/resources/plans/client/requests/CreatePlanRequest.mjs +2 -0
  1102. package/dist/esm/api/resources/plans/client/requests/GetPlanByExternalIdRequest.d.mts +9 -0
  1103. package/dist/esm/api/resources/plans/client/requests/GetPlanByExternalIdRequest.mjs +2 -0
  1104. package/dist/esm/api/resources/plans/client/requests/GetPlanByIdRequest.d.mts +9 -0
  1105. package/dist/esm/api/resources/plans/client/requests/GetPlanByIdRequest.mjs +2 -0
  1106. package/dist/esm/api/resources/plans/client/requests/ListPlansRequest.d.mts +12 -0
  1107. package/dist/esm/api/resources/plans/client/requests/ListPlansRequest.mjs +2 -0
  1108. package/dist/esm/api/resources/plans/client/requests/UpdatePlanByExternalIdRequest.d.mts +12 -0
  1109. package/dist/esm/api/resources/plans/client/requests/UpdatePlanByExternalIdRequest.mjs +2 -0
  1110. package/dist/esm/api/resources/plans/client/requests/UpdatePlanByIdRequest.d.mts +12 -0
  1111. package/dist/esm/api/resources/plans/client/requests/UpdatePlanByIdRequest.mjs +2 -0
  1112. package/dist/esm/api/resources/plans/client/requests/UpdatePlanUpgradePathRequest.d.mts +15 -0
  1113. package/dist/esm/api/resources/plans/client/requests/UpdatePlanUpgradePathRequest.mjs +2 -0
  1114. package/dist/esm/api/resources/plans/client/requests/index.d.mts +7 -0
  1115. package/dist/esm/api/resources/plans/client/requests/index.mjs +1 -0
  1116. package/dist/esm/api/resources/plans/index.d.mts +1 -0
  1117. package/dist/esm/api/resources/plans/index.mjs +1 -0
  1118. package/dist/esm/api/resources/pricing/client/Client.d.mts +2 -2
  1119. package/dist/esm/api/resources/pricing/client/Client.mjs +2 -2
  1120. package/dist/esm/api/resources/pricing/client/requests/UpdatePricingRequest.d.mts +1 -1
  1121. package/dist/esm/api/resources/products/client/Client.d.mts +9 -9
  1122. package/dist/esm/api/resources/products/client/Client.mjs +15 -6
  1123. package/dist/esm/api/resources/products/client/requests/ListProductsRequest.d.mts +6 -0
  1124. package/dist/esm/api/resources/signals/client/Client.d.mts +38 -0
  1125. package/dist/esm/api/resources/signals/client/Client.mjs +180 -0
  1126. package/dist/esm/api/resources/signals/client/requests/GetSignalByIdRequest.d.mts +10 -0
  1127. package/dist/esm/api/resources/signals/client/requests/GetSignalByIdRequest.mjs +2 -0
  1128. package/dist/esm/api/resources/signals/client/requests/ListSignalsRequest.d.mts +22 -0
  1129. package/dist/esm/api/resources/signals/client/requests/ListSignalsRequest.mjs +2 -0
  1130. package/dist/esm/api/resources/signals/client/requests/index.d.mts +2 -0
  1131. package/dist/esm/api/resources/valueMetrics/client/Client.d.mts +111 -0
  1132. package/dist/esm/api/resources/valueMetrics/client/Client.mjs +409 -0
  1133. package/dist/esm/api/resources/valueMetrics/client/index.d.mts +1 -0
  1134. package/dist/esm/api/resources/valueMetrics/client/index.mjs +1 -0
  1135. package/dist/esm/api/resources/valueMetrics/client/requests/ArchiveValueMetricRequest.d.mts +10 -0
  1136. package/dist/esm/api/resources/valueMetrics/client/requests/ArchiveValueMetricRequest.mjs +2 -0
  1137. package/dist/esm/api/resources/valueMetrics/client/requests/CreateValueMetricRequest.d.mts +57 -0
  1138. package/dist/esm/api/resources/valueMetrics/client/requests/CreateValueMetricRequest.mjs +12 -0
  1139. package/dist/esm/api/resources/valueMetrics/client/requests/GetValueMetricRequest.d.mts +9 -0
  1140. package/dist/esm/api/resources/valueMetrics/client/requests/GetValueMetricRequest.mjs +2 -0
  1141. package/dist/esm/api/resources/valueMetrics/client/requests/ListValueMetricsRequest.d.mts +10 -0
  1142. package/dist/esm/api/resources/valueMetrics/client/requests/ListValueMetricsRequest.mjs +2 -0
  1143. package/dist/esm/api/resources/valueMetrics/client/requests/UpdateValueMetricRequest.d.mts +43 -0
  1144. package/dist/esm/api/resources/valueMetrics/client/requests/UpdateValueMetricRequest.mjs +12 -0
  1145. package/dist/esm/api/resources/valueMetrics/client/requests/index.d.mts +5 -0
  1146. package/dist/esm/api/resources/valueMetrics/client/requests/index.mjs +1 -0
  1147. package/dist/esm/api/resources/valueMetrics/index.d.mts +1 -0
  1148. package/dist/esm/api/resources/valueMetrics/index.mjs +1 -0
  1149. package/dist/esm/api/resources/valueModels/client/Client.d.mts +118 -0
  1150. package/dist/esm/api/resources/valueModels/client/Client.mjs +382 -0
  1151. package/dist/esm/api/resources/valueModels/client/index.d.mts +1 -0
  1152. package/dist/esm/api/resources/valueModels/client/index.mjs +1 -0
  1153. package/dist/esm/api/resources/valueModels/client/requests/GetValueModelVersionRequest.d.mts +9 -0
  1154. package/dist/esm/api/resources/valueModels/client/requests/GetValueModelVersionRequest.mjs +2 -0
  1155. package/dist/esm/api/resources/valueModels/client/requests/ListValueModelVersionsRequest.d.mts +8 -0
  1156. package/dist/esm/api/resources/valueModels/client/requests/ListValueModelVersionsRequest.mjs +2 -0
  1157. package/dist/esm/api/resources/valueModels/client/requests/RefreshValueModelBackfillRequest.d.mts +5 -0
  1158. package/dist/esm/api/resources/valueModels/client/requests/RefreshValueModelBackfillRequest.mjs +2 -0
  1159. package/dist/esm/api/resources/valueModels/client/requests/ValueModelUploadRequest.d.mts +44 -0
  1160. package/dist/esm/api/resources/valueModels/client/requests/ValueModelUploadRequest.mjs +2 -0
  1161. package/dist/esm/api/resources/valueModels/client/requests/index.d.mts +4 -0
  1162. package/dist/esm/api/resources/valueModels/client/requests/index.mjs +1 -0
  1163. package/dist/esm/api/resources/valueModels/index.d.mts +1 -0
  1164. package/dist/esm/api/resources/valueModels/index.mjs +1 -0
  1165. package/dist/esm/api/resources/valueReceipts/client/Client.d.mts +42 -11
  1166. package/dist/esm/api/resources/valueReceipts/client/Client.mjs +153 -43
  1167. package/dist/esm/api/resources/valueReceipts/client/requests/index.d.mts +0 -1
  1168. package/dist/esm/api/resources/webhooks/client/Client.d.mts +17 -2
  1169. package/dist/esm/api/resources/webhooks/client/Client.mjs +69 -1
  1170. package/dist/esm/api/resources/webhooks/client/requests/RotateWebhookSecretRequest.d.mts +5 -0
  1171. package/dist/esm/api/resources/webhooks/client/requests/RotateWebhookSecretRequest.mjs +2 -0
  1172. package/dist/esm/api/resources/webhooks/client/requests/index.d.mts +1 -0
  1173. package/dist/esm/api/resources/webhooks/types/TestWebhookRequestWebhookName.d.mts +2 -0
  1174. package/dist/esm/api/resources/webhooks/types/TestWebhookRequestWebhookName.mjs +2 -0
  1175. package/dist/esm/api/resources/webhooks/types/UpdateWebhookRequestWebhookName.d.mts +2 -0
  1176. package/dist/esm/api/resources/webhooks/types/UpdateWebhookRequestWebhookName.mjs +2 -0
  1177. package/dist/esm/api/types/AddAttributeIntent.d.mts +45 -0
  1178. package/dist/esm/api/types/AddAttributeIntent.mjs +21 -0
  1179. package/dist/esm/api/types/AddFromCatalogIntent.d.mts +22 -0
  1180. package/dist/esm/api/types/AddFromCatalogIntent.mjs +10 -0
  1181. package/dist/esm/api/types/AddMembersResponse.d.mts +5 -0
  1182. package/dist/esm/api/types/AddMembersResponse.mjs +2 -0
  1183. package/dist/esm/api/types/AmendmentAddAttributeOptions.d.mts +9 -0
  1184. package/dist/esm/api/types/AmendmentAddAttributeOptions.mjs +2 -0
  1185. package/dist/esm/api/types/AmendmentAddAxisOptions.d.mts +10 -0
  1186. package/dist/esm/api/types/AmendmentAddAxisOptions.mjs +2 -0
  1187. package/dist/esm/api/types/AmendmentAttributeOptions.d.mts +14 -0
  1188. package/dist/esm/api/types/AmendmentAttributeOptions.mjs +2 -0
  1189. package/dist/esm/api/types/AmendmentAttributeState.d.mts +24 -0
  1190. package/dist/esm/api/types/AmendmentAttributeState.mjs +2 -0
  1191. package/dist/esm/api/types/AmendmentAxisChoiceValue.d.mts +10 -0
  1192. package/dist/esm/api/types/AmendmentAxisChoiceValue.mjs +10 -0
  1193. package/dist/esm/api/types/AmendmentAxisId.d.mts +8 -0
  1194. package/dist/esm/api/types/AmendmentAxisId.mjs +8 -0
  1195. package/dist/esm/api/types/AmendmentAxisOptions.d.mts +16 -0
  1196. package/dist/esm/api/types/AmendmentAxisOptions.mjs +2 -0
  1197. package/dist/esm/api/types/AmendmentAxisRelevance.d.mts +6 -0
  1198. package/dist/esm/api/types/AmendmentAxisRelevance.mjs +6 -0
  1199. package/dist/esm/api/types/AmendmentBillingType.d.mts +6 -0
  1200. package/dist/esm/api/types/AmendmentBillingType.mjs +6 -0
  1201. package/dist/esm/api/types/AmendmentChargeType.d.mts +8 -0
  1202. package/dist/esm/api/types/AmendmentChargeType.mjs +8 -0
  1203. package/dist/esm/api/types/AmendmentCreditEffectKind.d.mts +6 -0
  1204. package/dist/esm/api/types/AmendmentCreditEffectKind.mjs +6 -0
  1205. package/dist/esm/api/types/AmendmentErrorResponse.d.mts +7 -0
  1206. package/dist/esm/api/types/AmendmentErrorResponse.mjs +2 -0
  1207. package/dist/esm/api/types/AmendmentIntentKind.d.mts +10 -0
  1208. package/dist/esm/api/types/AmendmentIntentKind.mjs +10 -0
  1209. package/dist/esm/api/types/AmendmentIntentOptions.d.mts +7 -0
  1210. package/dist/esm/api/types/AmendmentIntentOptions.mjs +2 -0
  1211. package/dist/esm/api/types/AmendmentLineOptions.d.mts +12 -0
  1212. package/dist/esm/api/types/AmendmentLineOptions.mjs +2 -0
  1213. package/dist/esm/api/types/AmendmentMoneyBilling.d.mts +6 -0
  1214. package/dist/esm/api/types/AmendmentMoneyBilling.mjs +6 -0
  1215. package/dist/esm/api/types/AmendmentOptions.d.mts +26 -0
  1216. package/dist/esm/api/types/AmendmentOptions.mjs +2 -0
  1217. package/dist/esm/api/types/AmendmentPlan.d.mts +24 -0
  1218. package/dist/esm/api/types/AmendmentPlan.mjs +2 -0
  1219. package/dist/esm/api/types/AmendmentPlanAttributeDiff.d.mts +18 -0
  1220. package/dist/esm/api/types/AmendmentPlanAttributeDiff.mjs +2 -0
  1221. package/dist/esm/api/types/AmendmentPlanChange.d.mts +9 -0
  1222. package/dist/esm/api/types/AmendmentPlanChange.mjs +9 -0
  1223. package/dist/esm/api/types/AmendmentPlanCreditEffect.d.mts +15 -0
  1224. package/dist/esm/api/types/AmendmentPlanCreditEffect.mjs +2 -0
  1225. package/dist/esm/api/types/AmendmentPlanLineType.d.mts +8 -0
  1226. package/dist/esm/api/types/AmendmentPlanLineType.mjs +8 -0
  1227. package/dist/esm/api/types/AmendmentPlanMoneyEffect.d.mts +31 -0
  1228. package/dist/esm/api/types/AmendmentPlanMoneyEffect.mjs +10 -0
  1229. package/dist/esm/api/types/AmendmentPlanTreatmentResolution.d.mts +12 -0
  1230. package/dist/esm/api/types/AmendmentPlanTreatmentResolution.mjs +2 -0
  1231. package/dist/esm/api/types/AmendmentPlanUsageEffect.d.mts +17 -0
  1232. package/dist/esm/api/types/AmendmentPlanUsageEffect.mjs +9 -0
  1233. package/dist/esm/api/types/AmendmentPricingClause.d.mts +14 -0
  1234. package/dist/esm/api/types/AmendmentPricingClause.mjs +2 -0
  1235. package/dist/esm/api/types/AmendmentPricingModel.d.mts +11 -0
  1236. package/dist/esm/api/types/AmendmentPricingModel.mjs +11 -0
  1237. package/dist/esm/api/types/AmendmentTreatmentSource.d.mts +7 -0
  1238. package/dist/esm/api/types/AmendmentTreatmentSource.mjs +7 -0
  1239. package/dist/esm/api/types/AnalyticsColumn.d.mts +5 -0
  1240. package/dist/esm/api/types/AnalyticsColumn.mjs +2 -0
  1241. package/dist/esm/api/types/AnalyticsQueryRequest.d.mts +4 -0
  1242. package/dist/esm/api/types/AnalyticsQueryRequest.mjs +2 -0
  1243. package/dist/esm/api/types/AnalyticsQueryResponse.d.mts +15 -0
  1244. package/dist/esm/api/types/AnalyticsQueryResponse.mjs +2 -0
  1245. package/dist/esm/api/types/AnalyticsSchemaColumn.d.mts +6 -0
  1246. package/dist/esm/api/types/AnalyticsSchemaColumn.mjs +2 -0
  1247. package/dist/esm/api/types/AnalyticsSchemaResponse.d.mts +4 -0
  1248. package/dist/esm/api/types/AnalyticsSchemaResponse.mjs +2 -0
  1249. package/dist/esm/api/types/AnalyticsSchemaView.d.mts +6 -0
  1250. package/dist/esm/api/types/AnalyticsSchemaView.mjs +2 -0
  1251. package/dist/esm/api/types/BackfillResponse.d.mts +4 -0
  1252. package/dist/esm/api/types/BackfillResponse.mjs +2 -0
  1253. package/dist/esm/api/types/ChargeStubAddAxisOptions.d.mts +34 -0
  1254. package/dist/esm/api/types/ChargeStubAddAxisOptions.mjs +16 -0
  1255. package/dist/esm/api/types/ChargeStubAxisOptions.d.mts +33 -0
  1256. package/dist/esm/api/types/ChargeStubAxisOptions.mjs +16 -0
  1257. package/dist/esm/api/types/Checkout.d.mts +2 -0
  1258. package/dist/esm/api/types/CheckoutCustomCard.d.mts +10 -0
  1259. package/dist/esm/api/types/CheckoutCustomCard.mjs +2 -0
  1260. package/dist/esm/api/types/CheckoutCustomCardInput.d.mts +10 -0
  1261. package/dist/esm/api/types/CheckoutCustomCardInput.mjs +2 -0
  1262. package/dist/esm/api/types/CheckoutDetails.d.mts +3 -0
  1263. package/dist/esm/api/types/CheckoutPlan.d.mts +4 -0
  1264. package/dist/esm/api/types/CheckoutPlan.mjs +2 -0
  1265. package/dist/esm/api/types/CheckoutPlanInput.d.mts +6 -0
  1266. package/dist/esm/api/types/CheckoutPlanInput.mjs +2 -0
  1267. package/dist/esm/api/types/CheckoutProduct.d.mts +3 -0
  1268. package/dist/esm/api/types/CheckoutProductInput.d.mts +3 -0
  1269. package/dist/esm/api/types/CheckoutSelectedProduct.d.mts +8 -0
  1270. package/dist/esm/api/types/CheckoutSelectedProduct.mjs +2 -0
  1271. package/dist/esm/api/types/CreateOrderLineAttributeRequest.d.mts +38 -5
  1272. package/dist/esm/api/types/CreateOrderLineAttributeRequest.mjs +8 -0
  1273. package/dist/esm/api/types/CreateOrderLineRequest.d.mts +4 -0
  1274. package/dist/esm/api/types/CreditBalance.d.mts +3 -1
  1275. package/dist/esm/api/types/CreditBenefitInput.d.mts +7 -5
  1276. package/dist/esm/api/types/CreditBenefitOutput.d.mts +6 -6
  1277. package/dist/esm/api/types/CreditCurrency.d.mts +17 -0
  1278. package/dist/esm/api/types/CreditCurrency.mjs +8 -1
  1279. package/dist/esm/api/types/CreditGrant.d.mts +3 -0
  1280. package/dist/esm/api/types/CreditGrantAddAxisOptions.d.mts +24 -0
  1281. package/dist/esm/api/types/CreditGrantAddAxisOptions.mjs +2 -0
  1282. package/dist/esm/api/types/CreditGrantAxisOptions.d.mts +23 -0
  1283. package/dist/esm/api/types/CreditGrantAxisOptions.mjs +2 -0
  1284. package/dist/esm/api/types/CreditGrantCreateRequest.d.mts +10 -0
  1285. package/dist/esm/api/types/CreditGrantCreateRequest.mjs +2 -0
  1286. package/dist/esm/api/types/CreditGrantCurrency.d.mts +6 -0
  1287. package/dist/esm/api/types/CreditGrantCurrency.mjs +2 -0
  1288. package/dist/esm/api/types/CreditGrantCustomer.d.mts +6 -0
  1289. package/dist/esm/api/types/CreditGrantCustomer.mjs +2 -0
  1290. package/dist/esm/api/types/CreditGrantResult.d.mts +19 -0
  1291. package/dist/esm/api/types/CreditGrantResult.mjs +8 -0
  1292. package/dist/esm/api/types/CreditGrantValue.d.mts +7 -0
  1293. package/dist/esm/api/types/CreditGrantValue.mjs +7 -0
  1294. package/dist/esm/api/types/CreditTransaction.d.mts +31 -0
  1295. package/dist/esm/api/types/CreditTransaction.mjs +10 -0
  1296. package/dist/esm/api/types/CreditTransactionCurrency.d.mts +6 -0
  1297. package/dist/esm/api/types/CreditTransactionCurrency.mjs +2 -0
  1298. package/dist/esm/api/types/CreditTransactionCustomer.d.mts +6 -0
  1299. package/dist/esm/api/types/CreditTransactionCustomer.mjs +2 -0
  1300. package/dist/esm/api/types/CreditTransactionListResponse.d.mts +6 -0
  1301. package/dist/esm/api/types/CreditTransactionListResponse.mjs +2 -0
  1302. package/dist/esm/api/types/CreditTransactionProduct.d.mts +11 -0
  1303. package/dist/esm/api/types/CreditTransactionProduct.mjs +2 -0
  1304. package/dist/esm/api/types/CurrencyCode.d.mts +4 -0
  1305. package/dist/esm/api/types/CurrencyCode.mjs +2 -0
  1306. package/dist/esm/api/types/CustomView.d.mts +25 -0
  1307. package/dist/esm/api/types/CustomView.mjs +14 -0
  1308. package/dist/esm/api/types/CustomViewAuthoringDetail.d.mts +69 -0
  1309. package/dist/esm/api/types/CustomViewAuthoringDetail.mjs +27 -0
  1310. package/dist/esm/api/types/CustomViewAuthoringGuide.d.mts +6 -0
  1311. package/dist/esm/api/types/CustomViewAuthoringGuide.mjs +2 -0
  1312. package/dist/esm/api/types/CustomViewDetail.d.mts +60 -0
  1313. package/dist/esm/api/types/CustomViewDetail.mjs +27 -0
  1314. package/dist/esm/api/types/CustomViewEmbedTokenResponse.d.mts +6 -0
  1315. package/dist/esm/api/types/CustomViewEmbedTokenResponse.mjs +2 -0
  1316. package/dist/esm/api/types/CustomViewFilter.d.mts +6 -0
  1317. package/dist/esm/api/types/CustomViewFilter.mjs +2 -0
  1318. package/dist/esm/api/types/CustomViewListResponse.d.mts +4 -0
  1319. package/dist/esm/api/types/CustomViewListResponse.mjs +2 -0
  1320. package/dist/esm/api/types/CustomViewPreviewHarness.d.mts +4 -0
  1321. package/dist/esm/api/types/CustomViewPreviewHarness.mjs +2 -0
  1322. package/dist/esm/api/types/CustomViewPreviewHarnessColumn.d.mts +16 -0
  1323. package/dist/esm/api/types/CustomViewPreviewHarnessColumn.mjs +11 -0
  1324. package/dist/esm/api/types/CustomViewPreviewHarnessRequest.d.mts +11 -0
  1325. package/dist/esm/api/types/CustomViewPreviewHarnessRequest.mjs +2 -0
  1326. package/dist/esm/api/types/CustomViewQuery.d.mts +6 -0
  1327. package/dist/esm/api/types/CustomViewQuery.mjs +2 -0
  1328. package/dist/esm/api/types/CustomViewSummary.d.mts +57 -0
  1329. package/dist/esm/api/types/CustomViewSummary.mjs +27 -0
  1330. package/dist/esm/api/types/CustomViewValidationFinding.d.mts +8 -0
  1331. package/dist/esm/api/types/CustomViewValidationFinding.mjs +2 -0
  1332. package/dist/esm/api/types/Customer.d.mts +14 -2
  1333. package/dist/esm/api/types/Customer.mjs +8 -1
  1334. package/dist/esm/api/types/CustomerAlias.d.mts +10 -0
  1335. package/dist/esm/api/types/CustomerAlias.mjs +2 -0
  1336. package/dist/esm/api/types/CustomerAliasCreateRequest.d.mts +8 -0
  1337. package/dist/esm/api/types/CustomerAliasCreateRequest.mjs +2 -0
  1338. package/dist/esm/api/types/CustomerAliasListResponse.d.mts +5 -0
  1339. package/dist/esm/api/types/CustomerAliasListResponse.mjs +2 -0
  1340. package/dist/{cjs/api/types/CustomerBillingAddress.d.ts → esm/api/types/CustomerBillingAddressInput.d.mts} +1 -1
  1341. package/dist/esm/api/types/CustomerBillingAddressInput.mjs +2 -0
  1342. package/dist/esm/api/types/CustomerBillingAddressResponse.d.mts +11 -0
  1343. package/dist/esm/api/types/CustomerBillingAddressResponse.mjs +2 -0
  1344. package/dist/esm/api/types/CustomerConnections.d.mts +7 -0
  1345. package/dist/esm/api/types/CustomerConnections.mjs +2 -0
  1346. package/dist/esm/api/types/CustomerGroupDeleteResponse.d.mts +4 -0
  1347. package/dist/esm/api/types/CustomerGroupDeleteResponse.mjs +2 -0
  1348. package/dist/esm/api/types/CustomerGroupDetail.d.mts +10 -0
  1349. package/dist/esm/api/types/CustomerGroupDetail.mjs +2 -0
  1350. package/dist/esm/api/types/CustomerGroupListResponse.d.mts +5 -0
  1351. package/dist/esm/api/types/CustomerGroupListResponse.mjs +2 -0
  1352. package/dist/esm/api/types/CustomerGroupMember.d.mts +5 -0
  1353. package/dist/esm/api/types/CustomerGroupMember.mjs +2 -0
  1354. package/dist/esm/api/types/CustomerGroupSummary.d.mts +8 -0
  1355. package/dist/esm/api/types/CustomerGroupSummary.mjs +2 -0
  1356. package/dist/esm/api/types/CustomerState.d.mts +10 -0
  1357. package/dist/esm/api/types/CustomerState.mjs +2 -0
  1358. package/dist/esm/api/types/CustomerStateCheckoutLink.d.mts +18 -0
  1359. package/dist/esm/api/types/CustomerStateCheckoutLink.mjs +10 -0
  1360. package/dist/esm/api/types/CustomerStateCreditBalance.d.mts +6 -0
  1361. package/dist/esm/api/types/CustomerStateCreditBalance.mjs +2 -0
  1362. package/dist/esm/api/types/CustomerStateCreditSummary.d.mts +4 -0
  1363. package/dist/esm/api/types/CustomerStateCreditSummary.mjs +2 -0
  1364. package/dist/esm/api/types/CustomerStateCustomer.d.mts +8 -0
  1365. package/dist/esm/api/types/CustomerStateCustomer.mjs +2 -0
  1366. package/dist/esm/api/types/CustomerStateOrder.d.mts +21 -0
  1367. package/dist/esm/api/types/CustomerStateOrder.mjs +10 -0
  1368. package/dist/esm/api/types/CustomerStateProductRef.d.mts +5 -0
  1369. package/dist/esm/api/types/CustomerStateProductRef.mjs +2 -0
  1370. package/dist/esm/api/types/CustomerStateSeat.d.mts +17 -0
  1371. package/dist/esm/api/types/CustomerStateSeat.mjs +8 -0
  1372. package/dist/esm/api/types/CustomerStateSeatAssignee.d.mts +6 -0
  1373. package/dist/esm/api/types/CustomerStateSeatAssignee.mjs +2 -0
  1374. package/dist/esm/api/types/CustomerStateSeats.d.mts +7 -0
  1375. package/dist/esm/api/types/CustomerStateSeats.mjs +2 -0
  1376. package/dist/esm/api/types/CustomerUnit.d.mts +25 -0
  1377. package/dist/esm/api/types/CustomerUnit.mjs +9 -0
  1378. package/dist/esm/api/types/CustomerUnitAttribution.d.mts +7 -0
  1379. package/dist/esm/api/types/CustomerUnitAttribution.mjs +2 -0
  1380. package/dist/esm/api/types/CustomerUnitCapCurrentPeriod.d.mts +11 -0
  1381. package/dist/esm/api/types/CustomerUnitCapCurrentPeriod.mjs +2 -0
  1382. package/dist/esm/api/types/CustomerUnitCapEndResponse.d.mts +12 -0
  1383. package/dist/esm/api/types/CustomerUnitCapEndResponse.mjs +2 -0
  1384. package/dist/esm/api/types/CustomerUnitCapEndedPolicy.d.mts +24 -0
  1385. package/dist/esm/api/types/CustomerUnitCapEndedPolicy.mjs +8 -0
  1386. package/dist/esm/api/types/CustomerUnitCapOpenPolicy.d.mts +29 -0
  1387. package/dist/esm/api/types/CustomerUnitCapOpenPolicy.mjs +12 -0
  1388. package/dist/esm/api/types/CustomerUnitCapPeriod.d.mts +6 -0
  1389. package/dist/esm/api/types/CustomerUnitCapPeriod.mjs +2 -0
  1390. package/dist/esm/api/types/CustomerUnitCapPolicy.d.mts +24 -0
  1391. package/dist/esm/api/types/CustomerUnitCapPolicy.mjs +8 -0
  1392. package/dist/esm/api/types/CustomerUnitCapResponse.d.mts +11 -0
  1393. package/dist/esm/api/types/CustomerUnitCapResponse.mjs +2 -0
  1394. package/dist/esm/api/types/CustomerUnitCapSet.d.mts +17 -0
  1395. package/dist/esm/api/types/CustomerUnitCapSet.mjs +8 -0
  1396. package/dist/esm/api/types/CustomerUnitCapSetResponse.d.mts +11 -0
  1397. package/dist/esm/api/types/CustomerUnitCapSetResponse.mjs +2 -0
  1398. package/dist/esm/api/types/CustomerUnitCreate.d.mts +12 -0
  1399. package/dist/esm/api/types/CustomerUnitCreate.mjs +2 -0
  1400. package/dist/esm/api/types/CustomerUnitListResponse.d.mts +6 -0
  1401. package/dist/esm/api/types/CustomerUnitListResponse.mjs +2 -0
  1402. package/dist/esm/api/types/CustomerUnitUpdate.d.mts +10 -0
  1403. package/dist/esm/api/types/CustomerUnitUpdate.mjs +2 -0
  1404. package/dist/esm/api/types/EndAttributeIntent.d.mts +16 -0
  1405. package/dist/esm/api/types/EndAttributeIntent.mjs +11 -0
  1406. package/dist/esm/api/types/GrantCustomerCreditsResponse.d.mts +9 -0
  1407. package/dist/esm/api/types/GrantCustomerCreditsResponse.mjs +2 -0
  1408. package/dist/esm/api/types/Invoice.d.mts +3 -0
  1409. package/dist/esm/api/types/MemberRequest.d.mts +4 -0
  1410. package/dist/esm/api/types/MemberRequest.mjs +2 -0
  1411. package/dist/esm/api/types/MoneyAxisOptions.d.mts +23 -0
  1412. package/dist/esm/api/types/MoneyAxisOptions.mjs +2 -0
  1413. package/dist/esm/api/types/MoneyAxisValue.d.mts +6 -0
  1414. package/dist/esm/api/types/MoneyAxisValue.mjs +6 -0
  1415. package/dist/esm/api/types/Order.d.mts +1 -0
  1416. package/dist/esm/api/types/OrderLine.d.mts +2 -0
  1417. package/dist/esm/api/types/OrderLineType.d.mts +7 -0
  1418. package/dist/esm/api/types/OrderLineType.mjs +7 -0
  1419. package/dist/esm/api/types/Payment.d.mts +30 -0
  1420. package/dist/esm/api/types/Payment.mjs +2 -0
  1421. package/dist/esm/api/types/PaymentAllocation.d.mts +21 -0
  1422. package/dist/esm/api/types/PaymentAllocation.mjs +2 -0
  1423. package/dist/esm/api/types/PaymentAllocationCreateResponse.d.mts +4 -0
  1424. package/dist/esm/api/types/PaymentAllocationCreateResponse.mjs +2 -0
  1425. package/dist/esm/api/types/PaymentAllocationInput.d.mts +8 -0
  1426. package/dist/esm/api/types/PaymentAllocationInput.mjs +2 -0
  1427. package/dist/esm/api/types/PaymentAllocationListResponse.d.mts +5 -0
  1428. package/dist/esm/api/types/PaymentAllocationListResponse.mjs +2 -0
  1429. package/dist/esm/api/types/PaymentCreateStatus.d.mts +6 -0
  1430. package/dist/esm/api/types/PaymentCreateStatus.mjs +6 -0
  1431. package/dist/esm/api/types/PaymentListResponse.d.mts +5 -0
  1432. package/dist/esm/api/types/PaymentListResponse.mjs +2 -0
  1433. package/dist/esm/api/types/PaymentMethod.d.mts +15 -0
  1434. package/dist/esm/api/types/PaymentMethod.mjs +2 -0
  1435. package/dist/esm/api/types/PaymentMethodCard.d.mts +13 -0
  1436. package/dist/esm/api/types/PaymentMethodCard.mjs +2 -0
  1437. package/dist/esm/api/types/PaymentMethodListResponse.d.mts +5 -0
  1438. package/dist/esm/api/types/PaymentMethodListResponse.mjs +2 -0
  1439. package/dist/esm/api/types/PaymentMethodSetup.d.mts +21 -0
  1440. package/dist/esm/api/types/PaymentMethodSetup.mjs +2 -0
  1441. package/dist/esm/api/types/PaymentType.d.mts +9 -0
  1442. package/dist/esm/api/types/PaymentType.mjs +9 -0
  1443. package/dist/esm/api/types/PendingCreditConsumption.d.mts +16 -0
  1444. package/dist/esm/api/types/PendingCreditConsumption.mjs +2 -0
  1445. package/dist/esm/api/types/PendingCreditConsumptionCurrency.d.mts +9 -0
  1446. package/dist/esm/api/types/PendingCreditConsumptionCurrency.mjs +2 -0
  1447. package/dist/esm/api/types/PendingCreditConsumptionListResponse.d.mts +6 -0
  1448. package/dist/esm/api/types/PendingCreditConsumptionListResponse.mjs +2 -0
  1449. package/dist/esm/api/types/Plan.d.mts +22 -0
  1450. package/dist/esm/api/types/Plan.mjs +8 -0
  1451. package/dist/esm/api/types/PlanAttribute.d.mts +8 -0
  1452. package/dist/esm/api/types/PlanAttribute.mjs +2 -0
  1453. package/dist/esm/api/types/PlanAttributeInput.d.mts +7 -0
  1454. package/dist/esm/api/types/PlanAttributeInput.mjs +2 -0
  1455. package/dist/esm/api/types/PlanCreditBenefit.d.mts +37 -0
  1456. package/dist/esm/api/types/PlanCreditBenefit.mjs +21 -0
  1457. package/dist/esm/api/types/PlanListResponse.d.mts +5 -0
  1458. package/dist/esm/api/types/PlanListResponse.mjs +2 -0
  1459. package/dist/esm/api/types/PlanPricing.d.mts +31 -0
  1460. package/dist/esm/api/types/PlanPricing.mjs +21 -0
  1461. package/dist/esm/api/types/PlanRef.d.mts +5 -0
  1462. package/dist/esm/api/types/PlanRef.mjs +2 -0
  1463. package/dist/esm/api/types/PlanUpgradePathGroup.d.mts +4 -0
  1464. package/dist/esm/api/types/PlanUpgradePathGroup.mjs +2 -0
  1465. package/dist/esm/api/types/PlanUpgradePathResponse.d.mts +4 -0
  1466. package/dist/esm/api/types/PlanUpgradePathResponse.mjs +2 -0
  1467. package/dist/esm/api/types/PlannedAdd.d.mts +28 -0
  1468. package/dist/esm/api/types/PlannedAdd.mjs +10 -0
  1469. package/dist/esm/api/types/PlannedCopy.d.mts +10 -0
  1470. package/dist/esm/api/types/PlannedCopy.mjs +2 -0
  1471. package/dist/esm/api/types/PlannedEnd.d.mts +10 -0
  1472. package/dist/esm/api/types/PlannedEnd.mjs +2 -0
  1473. package/dist/esm/api/types/PlannedOperations.d.mts +13 -0
  1474. package/dist/esm/api/types/PlannedOperations.mjs +2 -0
  1475. package/dist/esm/api/types/PlannedOrderTerm.d.mts +10 -0
  1476. package/dist/esm/api/types/PlannedOrderTerm.mjs +2 -0
  1477. package/dist/esm/api/types/PlannedReplace.d.mts +15 -0
  1478. package/dist/esm/api/types/PlannedReplace.mjs +2 -0
  1479. package/dist/esm/api/types/PricingInput.d.mts +4 -1
  1480. package/dist/esm/api/types/PricingOutput.d.mts +7 -0
  1481. package/dist/esm/api/types/PricingOutput.mjs +5 -0
  1482. package/dist/esm/api/types/PricingPricePointOutput.d.mts +2 -22
  1483. package/dist/esm/api/types/PricingPricePointOutput.mjs +1 -13
  1484. package/dist/esm/api/types/PricingTierOutput.d.mts +16 -0
  1485. package/dist/esm/api/types/PricingTierOutput.mjs +8 -0
  1486. package/dist/esm/api/types/ProductAttributeOutput.d.mts +8 -0
  1487. package/dist/esm/api/types/ProductAttributeOutput.mjs +2 -0
  1488. package/dist/esm/api/types/ProductAttributeUpsert.d.mts +9 -0
  1489. package/dist/esm/api/types/ProductAttributeUpsert.mjs +2 -0
  1490. package/dist/esm/api/types/ProductCreditBenefitInput.d.mts +32 -0
  1491. package/dist/esm/api/types/ProductCreditBenefitInput.mjs +17 -0
  1492. package/dist/esm/api/types/ProductCreditBenefitOutput.d.mts +13 -0
  1493. package/dist/esm/api/types/ProductCreditBenefitOutput.mjs +2 -0
  1494. package/dist/esm/api/types/ProductDetail.d.mts +14 -0
  1495. package/dist/esm/api/types/ProductDetail.mjs +2 -0
  1496. package/dist/esm/api/types/ProductOneTimePerUnitInput.d.mts +21 -0
  1497. package/dist/esm/api/types/ProductOneTimePerUnitInput.mjs +15 -0
  1498. package/dist/esm/api/types/ProductPricePointOutput.d.mts +9 -0
  1499. package/dist/esm/api/types/ProductPricePointOutput.mjs +2 -0
  1500. package/dist/esm/api/types/ProductPricingInput.d.mts +49 -0
  1501. package/dist/esm/api/types/ProductPricingInput.mjs +2 -0
  1502. package/dist/esm/api/types/ProductPricingOutput.d.mts +43 -0
  1503. package/dist/esm/api/types/ProductPricingOutput.mjs +25 -0
  1504. package/dist/esm/api/types/ProductPricingTierOutput.d.mts +16 -0
  1505. package/dist/esm/api/types/ProductPricingTierOutput.mjs +8 -0
  1506. package/dist/esm/api/types/ProductRecurringGraduatedInput.d.mts +22 -0
  1507. package/dist/esm/api/types/ProductRecurringGraduatedInput.mjs +15 -0
  1508. package/dist/esm/api/types/ProductRecurringPerUnitInput.d.mts +22 -0
  1509. package/dist/esm/api/types/ProductRecurringPerUnitInput.mjs +15 -0
  1510. package/dist/esm/api/types/ProductRecurringPercentOfTotalInput.d.mts +23 -0
  1511. package/dist/esm/api/types/ProductRecurringPercentOfTotalInput.mjs +15 -0
  1512. package/dist/esm/api/types/ProductRecurringVolumeInput.d.mts +22 -0
  1513. package/dist/esm/api/types/ProductRecurringVolumeInput.mjs +15 -0
  1514. package/dist/esm/api/types/ProductSeatBasedGraduatedInput.d.mts +22 -0
  1515. package/dist/esm/api/types/ProductSeatBasedGraduatedInput.mjs +15 -0
  1516. package/dist/esm/api/types/ProductSeatBasedPerUnitInput.d.mts +22 -0
  1517. package/dist/esm/api/types/ProductSeatBasedPerUnitInput.mjs +15 -0
  1518. package/dist/esm/api/types/ProductSeatBasedPrepaidCreditsInput.d.mts +26 -0
  1519. package/dist/esm/api/types/ProductSeatBasedPrepaidCreditsInput.mjs +15 -0
  1520. package/dist/esm/api/types/ProductSeatBasedVolumeInput.d.mts +22 -0
  1521. package/dist/esm/api/types/ProductSeatBasedVolumeInput.mjs +15 -0
  1522. package/dist/esm/api/types/ProductSimplePricePoint.d.mts +29 -0
  1523. package/dist/esm/api/types/ProductSimplePricePoint.mjs +14 -0
  1524. package/dist/esm/api/types/ProductTieredPricePoint.d.mts +29 -0
  1525. package/dist/esm/api/types/ProductTieredPricePoint.mjs +14 -0
  1526. package/dist/esm/api/types/ProductUsageBracketedPrepaidCreditsInput.d.mts +57 -0
  1527. package/dist/esm/api/types/ProductUsageBracketedPrepaidCreditsInput.mjs +25 -0
  1528. package/dist/esm/api/types/ProductUsageCostPlusInput.d.mts +29 -0
  1529. package/dist/esm/api/types/ProductUsageCostPlusInput.mjs +19 -0
  1530. package/dist/esm/api/types/ProductUsageGraduatedInput.d.mts +29 -0
  1531. package/dist/esm/api/types/ProductUsageGraduatedInput.mjs +19 -0
  1532. package/dist/esm/api/types/ProductUsagePerUnitInput.d.mts +29 -0
  1533. package/dist/esm/api/types/ProductUsagePerUnitInput.mjs +19 -0
  1534. package/dist/esm/api/types/ProductUsagePrepaidCreditsInput.d.mts +45 -0
  1535. package/dist/esm/api/types/ProductUsagePrepaidCreditsInput.mjs +25 -0
  1536. package/dist/esm/api/types/ProductUsageVolumeInput.d.mts +29 -0
  1537. package/dist/esm/api/types/ProductUsageVolumeInput.mjs +19 -0
  1538. package/dist/esm/api/types/RemoveMembersResponse.d.mts +5 -0
  1539. package/dist/esm/api/types/RemoveMembersResponse.mjs +2 -0
  1540. package/dist/esm/api/types/RenderBundleEdit.d.mts +8 -0
  1541. package/dist/esm/api/types/RenderBundleEdit.mjs +2 -0
  1542. package/dist/esm/api/types/RotateWebhookSecretResponse.d.mts +4 -0
  1543. package/dist/esm/api/types/RotateWebhookSecretResponse.mjs +2 -0
  1544. package/dist/esm/api/types/SeatBasedPrepaidCreditsInput.d.mts +1 -0
  1545. package/dist/esm/api/types/SetMembersResponse.d.mts +6 -0
  1546. package/dist/esm/api/types/SetMembersResponse.mjs +2 -0
  1547. package/dist/esm/api/types/Signal.d.mts +1 -0
  1548. package/dist/esm/api/types/SignalListItem.d.mts +20 -0
  1549. package/dist/esm/api/types/SignalListItem.mjs +2 -0
  1550. package/dist/esm/api/types/SignalListResponse.d.mts +5 -0
  1551. package/dist/esm/api/types/SignalListResponse.mjs +2 -0
  1552. package/dist/esm/api/types/SignalsMetadataResponse.d.mts +28 -0
  1553. package/dist/esm/api/types/SignalsMetadataResponse.mjs +2 -0
  1554. package/dist/esm/api/types/StripeConnection.d.mts +7 -0
  1555. package/dist/esm/api/types/StripeConnection.mjs +2 -0
  1556. package/dist/esm/api/{resources/valueReceipts/client/requests → types}/SyncValueReceiptRequest.d.mts +0 -7
  1557. package/dist/esm/api/types/SyncValueReceiptRequest.mjs +2 -0
  1558. package/dist/esm/api/types/UnifiedAmendmentIntent.d.mts +25 -0
  1559. package/dist/esm/api/types/UnifiedAmendmentIntent.mjs +2 -0
  1560. package/dist/esm/api/types/UnifiedAmendmentResponse.d.mts +19 -0
  1561. package/dist/esm/api/types/UnifiedAmendmentResponse.mjs +2 -0
  1562. package/dist/esm/api/types/UpdateCustomerRequest.d.mts +1 -1
  1563. package/dist/esm/api/types/UpdateLineTermIntent.d.mts +18 -0
  1564. package/dist/esm/api/types/UpdateLineTermIntent.mjs +11 -0
  1565. package/dist/esm/api/types/UpdateOrderTermIntent.d.mts +18 -0
  1566. package/dist/esm/api/types/UpdateOrderTermIntent.mjs +11 -0
  1567. package/dist/esm/api/types/UpdatePlanRequest.d.mts +18 -0
  1568. package/dist/esm/api/types/UpdatePlanRequest.mjs +9 -0
  1569. package/dist/esm/api/types/UpdatePricingIntent.d.mts +22 -0
  1570. package/dist/esm/api/types/UpdatePricingIntent.mjs +11 -0
  1571. package/dist/esm/api/types/UpdateProductRequest.d.mts +2 -0
  1572. package/dist/esm/api/types/UpdateQuantityIntent.d.mts +18 -0
  1573. package/dist/esm/api/types/UpdateQuantityIntent.mjs +11 -0
  1574. package/dist/esm/api/types/UsageAttributionAxisOptions.d.mts +23 -0
  1575. package/dist/esm/api/types/UsageAttributionAxisOptions.mjs +2 -0
  1576. package/dist/esm/api/types/UsageAttributionAxisValue.d.mts +6 -0
  1577. package/dist/esm/api/types/UsageAttributionAxisValue.mjs +6 -0
  1578. package/dist/esm/api/types/UsageBracketedPrepaidCreditsInput.d.mts +57 -0
  1579. package/dist/esm/api/types/UsageBracketedPrepaidCreditsInput.mjs +25 -0
  1580. package/dist/esm/api/types/UsageCostPlusInput.d.mts +6 -0
  1581. package/dist/esm/api/types/UsageCostPlusInput.mjs +4 -0
  1582. package/dist/esm/api/types/UsageGraduatedInput.d.mts +6 -0
  1583. package/dist/esm/api/types/UsageGraduatedInput.mjs +4 -0
  1584. package/dist/esm/api/types/UsagePerUnitInput.d.mts +6 -0
  1585. package/dist/esm/api/types/UsagePerUnitInput.mjs +4 -0
  1586. package/dist/esm/api/types/UsagePrepaidCreditsInput.d.mts +19 -0
  1587. package/dist/esm/api/types/UsagePrepaidCreditsInput.mjs +10 -0
  1588. package/dist/esm/api/types/UsageVolumeInput.d.mts +6 -0
  1589. package/dist/esm/api/types/UsageVolumeInput.mjs +4 -0
  1590. package/dist/esm/api/types/ValidateCustomViewRequest.d.mts +51 -0
  1591. package/dist/esm/api/types/ValidateCustomViewRequest.mjs +23 -0
  1592. package/dist/esm/api/types/ValidateCustomViewResponse.d.mts +7 -0
  1593. package/dist/esm/api/types/ValidateCustomViewResponse.mjs +2 -0
  1594. package/dist/esm/api/types/ValueMetricDetail.d.mts +47 -0
  1595. package/dist/esm/api/types/ValueMetricDetail.mjs +2 -0
  1596. package/dist/esm/api/types/ValueMetricFormula.d.mts +9 -0
  1597. package/dist/esm/api/types/ValueMetricFormula.mjs +2 -0
  1598. package/dist/esm/api/types/ValueMetricFormulaVariable.d.mts +31 -0
  1599. package/dist/esm/api/types/ValueMetricFormulaVariable.mjs +21 -0
  1600. package/dist/esm/api/types/ValueMetricListResponse.d.mts +5 -0
  1601. package/dist/esm/api/types/ValueMetricListResponse.mjs +2 -0
  1602. package/dist/esm/api/types/ValueMetricMonetaryConversion.d.mts +6 -0
  1603. package/dist/esm/api/types/ValueMetricMonetaryConversion.mjs +2 -0
  1604. package/dist/esm/api/types/ValueMetricSignalBinding.d.mts +14 -0
  1605. package/dist/esm/api/types/ValueMetricSignalBinding.mjs +2 -0
  1606. package/dist/esm/api/types/ValueMetricSummary.d.mts +30 -0
  1607. package/dist/esm/api/types/ValueMetricSummary.mjs +2 -0
  1608. package/dist/esm/api/types/ValueMetricUnit.d.mts +27 -0
  1609. package/dist/esm/api/types/ValueMetricUnit.mjs +17 -0
  1610. package/dist/esm/api/types/ValueMetricValidationResponse.d.mts +13 -0
  1611. package/dist/esm/api/types/ValueMetricValidationResponse.mjs +2 -0
  1612. package/dist/esm/api/types/ValueMetricVariableEdit.d.mts +26 -0
  1613. package/dist/esm/api/types/ValueMetricVariableEdit.mjs +16 -0
  1614. package/dist/esm/api/types/ValueMetricWriteAck.d.mts +6 -0
  1615. package/dist/esm/api/types/ValueMetricWriteAck.mjs +2 -0
  1616. package/dist/esm/api/types/ValueModelAuthoringGuide.d.mts +22 -0
  1617. package/dist/esm/api/types/ValueModelAuthoringGuide.mjs +2 -0
  1618. package/dist/esm/api/types/ValueModelContent.d.mts +357 -0
  1619. package/dist/esm/api/types/ValueModelContent.mjs +138 -0
  1620. package/dist/esm/api/types/ValueModelDetail.d.mts +12 -0
  1621. package/dist/esm/api/types/ValueModelDetail.mjs +2 -0
  1622. package/dist/esm/api/types/ValueModelSummary.d.mts +18 -0
  1623. package/dist/esm/api/types/ValueModelSummary.mjs +9 -0
  1624. package/dist/esm/api/types/ValueModelVersionListResponse.d.mts +5 -0
  1625. package/dist/esm/api/types/ValueModelVersionListResponse.mjs +2 -0
  1626. package/dist/esm/api/types/ValueReceiptSyncResponse.d.mts +1 -0
  1627. package/dist/esm/api/types/ViewDataResponse.d.mts +4 -0
  1628. package/dist/esm/api/types/ViewDataResponse.mjs +2 -0
  1629. package/dist/esm/api/types/Webhook.d.mts +2 -0
  1630. package/dist/esm/api/types/Webhook.mjs +2 -0
  1631. package/dist/esm/api/types/WebhookListResponse.d.mts +2 -0
  1632. package/dist/esm/api/types/WebhookUpdateResponse.d.mts +28 -0
  1633. package/dist/esm/api/types/WebhookUpdateResponse.mjs +17 -0
  1634. package/dist/esm/api/types/WritableOrderLineType.d.mts +6 -0
  1635. package/dist/esm/api/types/WritableOrderLineType.mjs +6 -0
  1636. package/dist/esm/api/types/index.d.mts +209 -1
  1637. package/dist/esm/api/types/index.mjs +209 -1
  1638. package/dist/esm/tracing/aiSdkSpanProcessor.mjs +17 -0
  1639. package/dist/esm/version.d.mts +1 -1
  1640. package/dist/esm/version.mjs +1 -1
  1641. package/package.json +1 -1
  1642. package/reference.md +6237 -375
  1643. /package/dist/cjs/api/resources/{valueReceipts/client/requests/SyncValueReceiptRequest.js → amendments/client/requests/GetOrderAmendmentOptionsRequest.js} +0 -0
  1644. /package/dist/cjs/api/{types/CustomerBillingAddress.js → resources/analytics/client/requests/GetSignalsMetadataRequest.js} +0 -0
  1645. /package/dist/esm/api/resources/{valueReceipts/client/requests/SyncValueReceiptRequest.mjs → amendments/client/requests/GetOrderAmendmentOptionsRequest.mjs} +0 -0
  1646. /package/dist/esm/api/{types/CustomerBillingAddress.mjs → resources/analytics/client/requests/GetSignalsMetadataRequest.mjs} +0 -0
@@ -42,6 +42,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
42
42
  step((generator = generator.apply(thisArg, _arguments || [])).next());
43
43
  });
44
44
  };
45
+ var __rest = (this && this.__rest) || function (s, e) {
46
+ var t = {};
47
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
48
+ t[p] = s[p];
49
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
50
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
51
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
52
+ t[p[i]] = s[p[i]];
53
+ }
54
+ return t;
55
+ };
45
56
  Object.defineProperty(exports, "__esModule", { value: true });
46
57
  exports.Credits = void 0;
47
58
  const headers_js_1 = require("../../../../core/headers.js");
@@ -54,8 +65,9 @@ class Credits {
54
65
  this._options = _options;
55
66
  }
56
67
  /**
57
- * List credit currencies for the organization
68
+ * List credit currencies for the organization. Includes active and archived currencies by default; use the status query parameter to filter.
58
69
  *
70
+ * @param {Paid.ListCreditCurrenciesRequest} request
59
71
  * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
60
72
  *
61
73
  * @throws {@link Paid.ForbiddenError}
@@ -64,18 +76,264 @@ class Credits {
64
76
  * @example
65
77
  * await client.credits.listCreditCurrencies()
66
78
  */
67
- listCreditCurrencies(requestOptions) {
68
- return core.HttpResponsePromise.fromPromise(this.__listCreditCurrencies(requestOptions));
79
+ listCreditCurrencies(request = {}, requestOptions) {
80
+ return core.HttpResponsePromise.fromPromise(this.__listCreditCurrencies(request, requestOptions));
81
+ }
82
+ __listCreditCurrencies() {
83
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
84
+ var _a, _b, _c, _d, _e, _f, _g, _h;
85
+ const { status } = request;
86
+ const _queryParams = {};
87
+ if (status != null) {
88
+ _queryParams.status = status;
89
+ }
90
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
91
+ const _response = yield core.fetcher({
92
+ url: core.url.join((_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.PaidEnvironment.Default, "credits/currencies"),
93
+ method: "GET",
94
+ headers: _headers,
95
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
96
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
97
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
98
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
99
+ });
100
+ if (_response.ok) {
101
+ return { data: _response.body, rawResponse: _response.rawResponse };
102
+ }
103
+ if (_response.error.reason === "status-code") {
104
+ switch (_response.error.statusCode) {
105
+ case 403:
106
+ throw new Paid.ForbiddenError(_response.error.body, _response.rawResponse);
107
+ case 500:
108
+ throw new Paid.InternalServerError(_response.error.body, _response.rawResponse);
109
+ default:
110
+ throw new errors.PaidError({
111
+ statusCode: _response.error.statusCode,
112
+ body: _response.error.body,
113
+ rawResponse: _response.rawResponse,
114
+ });
115
+ }
116
+ }
117
+ switch (_response.error.reason) {
118
+ case "non-json":
119
+ throw new errors.PaidError({
120
+ statusCode: _response.error.statusCode,
121
+ body: _response.error.rawBody,
122
+ rawResponse: _response.rawResponse,
123
+ });
124
+ case "timeout":
125
+ throw new errors.PaidTimeoutError("Timeout exceeded when calling GET /credits/currencies.");
126
+ case "unknown":
127
+ throw new errors.PaidError({
128
+ message: _response.error.errorMessage,
129
+ rawResponse: _response.rawResponse,
130
+ });
131
+ }
132
+ });
133
+ }
134
+ /**
135
+ * Creates a credit currency for the organization.
136
+ *
137
+ * @param {Paid.CreateCreditCurrencyRequest} request
138
+ * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
139
+ *
140
+ * @throws {@link Paid.BadRequestError}
141
+ * @throws {@link Paid.ForbiddenError}
142
+ * @throws {@link Paid.InternalServerError}
143
+ *
144
+ * @example
145
+ * await client.credits.createCreditCurrency({
146
+ * name: "API Credits",
147
+ * key: "api_credits",
148
+ * description: "Credits consumed by API calls."
149
+ * })
150
+ */
151
+ createCreditCurrency(request, requestOptions) {
152
+ return core.HttpResponsePromise.fromPromise(this.__createCreditCurrency(request, requestOptions));
69
153
  }
70
- __listCreditCurrencies(requestOptions) {
154
+ __createCreditCurrency(request, requestOptions) {
71
155
  return __awaiter(this, void 0, void 0, function* () {
72
156
  var _a, _b, _c, _d, _e, _f, _g, _h;
73
157
  const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
74
158
  const _response = yield core.fetcher({
75
159
  url: core.url.join((_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.PaidEnvironment.Default, "credits/currencies"),
160
+ method: "POST",
161
+ headers: _headers,
162
+ contentType: "application/json",
163
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
164
+ requestType: "json",
165
+ body: request,
166
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
167
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
168
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
169
+ });
170
+ if (_response.ok) {
171
+ return { data: _response.body, rawResponse: _response.rawResponse };
172
+ }
173
+ if (_response.error.reason === "status-code") {
174
+ switch (_response.error.statusCode) {
175
+ case 400:
176
+ throw new Paid.BadRequestError(_response.error.body, _response.rawResponse);
177
+ case 403:
178
+ throw new Paid.ForbiddenError(_response.error.body, _response.rawResponse);
179
+ case 500:
180
+ throw new Paid.InternalServerError(_response.error.body, _response.rawResponse);
181
+ default:
182
+ throw new errors.PaidError({
183
+ statusCode: _response.error.statusCode,
184
+ body: _response.error.body,
185
+ rawResponse: _response.rawResponse,
186
+ });
187
+ }
188
+ }
189
+ switch (_response.error.reason) {
190
+ case "non-json":
191
+ throw new errors.PaidError({
192
+ statusCode: _response.error.statusCode,
193
+ body: _response.error.rawBody,
194
+ rawResponse: _response.rawResponse,
195
+ });
196
+ case "timeout":
197
+ throw new errors.PaidTimeoutError("Timeout exceeded when calling POST /credits/currencies.");
198
+ case "unknown":
199
+ throw new errors.PaidError({
200
+ message: _response.error.errorMessage,
201
+ rawResponse: _response.rawResponse,
202
+ });
203
+ }
204
+ });
205
+ }
206
+ /**
207
+ * List credit ledger transactions (grants, spends, and pending grants) for the organization, newest first. Filter by customer, credit currency, type, order, or date range.
208
+ *
209
+ * @param {Paid.ListCreditTransactionsRequest} request
210
+ * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
211
+ *
212
+ * @throws {@link Paid.BadRequestError}
213
+ * @throws {@link Paid.ForbiddenError}
214
+ * @throws {@link Paid.InternalServerError}
215
+ *
216
+ * @example
217
+ * await client.credits.listCreditTransactions()
218
+ */
219
+ listCreditTransactions(request = {}, requestOptions) {
220
+ return core.HttpResponsePromise.fromPromise(this.__listCreditTransactions(request, requestOptions));
221
+ }
222
+ __listCreditTransactions() {
223
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
224
+ var _a, _b, _c, _d, _e, _f, _g, _h;
225
+ const { limit, offset, customerId, externalCustomerId, creditsCurrencyId, creditCurrencyKey, type: type_, orderId, createdAtFrom, createdAtTo, } = request;
226
+ const _queryParams = {};
227
+ if (limit != null) {
228
+ _queryParams.limit = limit.toString();
229
+ }
230
+ if (offset != null) {
231
+ _queryParams.offset = offset.toString();
232
+ }
233
+ if (customerId != null) {
234
+ _queryParams.customerId = customerId;
235
+ }
236
+ if (externalCustomerId != null) {
237
+ _queryParams.externalCustomerId = externalCustomerId;
238
+ }
239
+ if (creditsCurrencyId != null) {
240
+ _queryParams.creditsCurrencyId = creditsCurrencyId;
241
+ }
242
+ if (creditCurrencyKey != null) {
243
+ _queryParams.creditCurrencyKey = creditCurrencyKey;
244
+ }
245
+ if (type_ != null) {
246
+ _queryParams.type = type_;
247
+ }
248
+ if (orderId != null) {
249
+ _queryParams.orderId = orderId;
250
+ }
251
+ if (createdAtFrom != null) {
252
+ _queryParams.createdAtFrom = createdAtFrom;
253
+ }
254
+ if (createdAtTo != null) {
255
+ _queryParams.createdAtTo = createdAtTo;
256
+ }
257
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
258
+ const _response = yield core.fetcher({
259
+ url: core.url.join((_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.PaidEnvironment.Default, "credits/transactions"),
76
260
  method: "GET",
77
261
  headers: _headers,
262
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
263
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
264
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
265
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
266
+ });
267
+ if (_response.ok) {
268
+ return { data: _response.body, rawResponse: _response.rawResponse };
269
+ }
270
+ if (_response.error.reason === "status-code") {
271
+ switch (_response.error.statusCode) {
272
+ case 400:
273
+ throw new Paid.BadRequestError(_response.error.body, _response.rawResponse);
274
+ case 403:
275
+ throw new Paid.ForbiddenError(_response.error.body, _response.rawResponse);
276
+ case 500:
277
+ throw new Paid.InternalServerError(_response.error.body, _response.rawResponse);
278
+ default:
279
+ throw new errors.PaidError({
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.PaidError({
289
+ statusCode: _response.error.statusCode,
290
+ body: _response.error.rawBody,
291
+ rawResponse: _response.rawResponse,
292
+ });
293
+ case "timeout":
294
+ throw new errors.PaidTimeoutError("Timeout exceeded when calling GET /credits/transactions.");
295
+ case "unknown":
296
+ throw new errors.PaidError({
297
+ message: _response.error.errorMessage,
298
+ rawResponse: _response.rawResponse,
299
+ });
300
+ }
301
+ });
302
+ }
303
+ /**
304
+ * Update a credit currency description or set its active/archive status.
305
+ *
306
+ * @param {Paid.UpdateCreditCurrencyRequest} request
307
+ * @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
308
+ *
309
+ * @throws {@link Paid.BadRequestError}
310
+ * @throws {@link Paid.ForbiddenError}
311
+ * @throws {@link Paid.NotFoundError}
312
+ * @throws {@link Paid.InternalServerError}
313
+ *
314
+ * @example
315
+ * await client.credits.updateCreditCurrencyById({
316
+ * id: "7f4f5d4c-55e9-4d5b-a3e7-c9eb3d2d01bf",
317
+ * description: "Credits consumed by developer API calls.",
318
+ * status: "archived"
319
+ * })
320
+ */
321
+ updateCreditCurrencyById(request, requestOptions) {
322
+ return core.HttpResponsePromise.fromPromise(this.__updateCreditCurrencyById(request, requestOptions));
323
+ }
324
+ __updateCreditCurrencyById(request, requestOptions) {
325
+ return __awaiter(this, void 0, void 0, function* () {
326
+ var _a, _b, _c, _d, _e, _f, _g, _h;
327
+ const { id } = request, _body = __rest(request, ["id"]);
328
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
329
+ const _response = yield core.fetcher({
330
+ url: core.url.join((_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.PaidEnvironment.Default, `credits/currencies/${core.url.encodePathParam(id)}`),
331
+ method: "PUT",
332
+ headers: _headers,
333
+ contentType: "application/json",
78
334
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
335
+ requestType: "json",
336
+ body: _body,
79
337
  timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
80
338
  maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
81
339
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -85,8 +343,12 @@ class Credits {
85
343
  }
86
344
  if (_response.error.reason === "status-code") {
87
345
  switch (_response.error.statusCode) {
346
+ case 400:
347
+ throw new Paid.BadRequestError(_response.error.body, _response.rawResponse);
88
348
  case 403:
89
349
  throw new Paid.ForbiddenError(_response.error.body, _response.rawResponse);
350
+ case 404:
351
+ throw new Paid.NotFoundError(_response.error.body, _response.rawResponse);
90
352
  case 500:
91
353
  throw new Paid.InternalServerError(_response.error.body, _response.rawResponse);
92
354
  default:
@@ -105,7 +367,7 @@ class Credits {
105
367
  rawResponse: _response.rawResponse,
106
368
  });
107
369
  case "timeout":
108
- throw new errors.PaidTimeoutError("Timeout exceeded when calling GET /credits/currencies.");
370
+ throw new errors.PaidTimeoutError("Timeout exceeded when calling PUT /credits/currencies/{id}.");
109
371
  case "unknown":
110
372
  throw new errors.PaidError({
111
373
  message: _response.error.errorMessage,
@@ -1 +1 @@
1
- export {};
1
+ export * from "./requests/index.js";
@@ -1,2 +1,17 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests/index.js"), exports);
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * name: "API Credits",
5
+ * key: "api_credits",
6
+ * description: "Credits consumed by API calls."
7
+ * }
8
+ */
9
+ export interface CreateCreditCurrencyRequest {
10
+ /** Human-readable name shown for this credit currency. */
11
+ name: string;
12
+ /** Stable machine-readable key for this credit currency. Use lowercase letters, numbers, underscores, and hyphens. Keys are unique within an organization. */
13
+ key: string;
14
+ /** Optional description for this credit currency. */
15
+ description?: string | null;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import type * as Paid from "../../../../index.js";
2
+ /**
3
+ * @example
4
+ * {}
5
+ */
6
+ export interface ListCreditCurrenciesRequest {
7
+ /** Filter credit currencies by status. Defaults to `all` so archived currencies remain readable after they are archived. */
8
+ status?: Paid.ListCreditCurrenciesRequestStatus;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
1
+ import type * as Paid from "../../../../index.js";
2
+ /**
3
+ * @example
4
+ * {}
5
+ */
6
+ export interface ListCreditTransactionsRequest {
7
+ limit?: number;
8
+ offset?: number;
9
+ /** Filter by customer ID. */
10
+ customerId?: string;
11
+ /** Filter by customer external ID. */
12
+ externalCustomerId?: string;
13
+ /** Filter by credit currency ID. */
14
+ creditsCurrencyId?: string;
15
+ /** Filter by the stable machine-readable key of the credit currency. */
16
+ creditCurrencyKey?: string;
17
+ /** Filter by transaction type. */
18
+ type?: Paid.ListCreditTransactionsRequestType;
19
+ /** Filter by the order this transaction is linked to. */
20
+ orderId?: string;
21
+ /** Only transactions recorded on or after this date. Accepts an ISO 8601 date or date-time. Date-only values (e.g. 2026-06-30) are treated as UTC; date-times without an explicit timezone offset are ambiguous, so include one (e.g. 2026-06-30T00:00:00-05:00) when precision matters. */
22
+ createdAtFrom?: string;
23
+ /** Only transactions recorded on or before this date. Accepts an ISO 8601 date or date-time. Date-only values (e.g. 2026-06-30) are treated as UTC; date-times without an explicit timezone offset are ambiguous, so include one (e.g. 2026-06-30T00:00:00-05:00) when precision matters. */
24
+ createdAtTo?: string;
25
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * id: "7f4f5d4c-55e9-4d5b-a3e7-c9eb3d2d01bf",
5
+ * description: "Credits consumed by developer API calls.",
6
+ * status: "archived"
7
+ * }
8
+ */
9
+ export interface UpdateCreditCurrencyRequest {
10
+ /** Credit currency ID. */
11
+ id: string;
12
+ /** Updated description for this credit currency. Use null to clear the description. */
13
+ description?: string | null;
14
+ /** Set to `archived` to archive this credit currency, or `active` to restore it. */
15
+ status?: UpdateCreditCurrencyRequest.Status;
16
+ }
17
+ export declare namespace UpdateCreditCurrencyRequest {
18
+ /** Set to `archived` to archive this credit currency, or `active` to restore it. */
19
+ const Status: {
20
+ readonly Active: "active";
21
+ readonly Archived: "archived";
22
+ };
23
+ type Status = (typeof Status)[keyof typeof Status];
24
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.UpdateCreditCurrencyRequest = void 0;
5
+ var UpdateCreditCurrencyRequest;
6
+ (function (UpdateCreditCurrencyRequest) {
7
+ /** Set to `archived` to archive this credit currency, or `active` to restore it. */
8
+ UpdateCreditCurrencyRequest.Status = {
9
+ Active: "active",
10
+ Archived: "archived",
11
+ };
12
+ })(UpdateCreditCurrencyRequest || (exports.UpdateCreditCurrencyRequest = UpdateCreditCurrencyRequest = {}));
@@ -0,0 +1,4 @@
1
+ export type { CreateCreditCurrencyRequest } from "./CreateCreditCurrencyRequest.js";
2
+ export type { ListCreditCurrenciesRequest } from "./ListCreditCurrenciesRequest.js";
3
+ export type { ListCreditTransactionsRequest } from "./ListCreditTransactionsRequest.js";
4
+ export type { UpdateCreditCurrencyRequest } from "./UpdateCreditCurrencyRequest.js";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
1
  export * from "./client/index.js";
2
+ export * from "./types/index.js";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./types/index.js"), exports);
@@ -0,0 +1,6 @@
1
+ export declare const ListCreditCurrenciesRequestStatus: {
2
+ readonly Active: "active";
3
+ readonly Archived: "archived";
4
+ readonly All: "all";
5
+ };
6
+ export type ListCreditCurrenciesRequestStatus = (typeof ListCreditCurrenciesRequestStatus)[keyof typeof ListCreditCurrenciesRequestStatus];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ListCreditCurrenciesRequestStatus = void 0;
5
+ exports.ListCreditCurrenciesRequestStatus = {
6
+ Active: "active",
7
+ Archived: "archived",
8
+ All: "all",
9
+ };
@@ -0,0 +1,6 @@
1
+ export declare const ListCreditTransactionsRequestType: {
2
+ readonly Grant: "grant";
3
+ readonly Spend: "spend";
4
+ readonly PendingGrant: "pendingGrant";
5
+ };
6
+ export type ListCreditTransactionsRequestType = (typeof ListCreditTransactionsRequestType)[keyof typeof ListCreditTransactionsRequestType];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ListCreditTransactionsRequestType = void 0;
5
+ exports.ListCreditTransactionsRequestType = {
6
+ Grant: "grant",
7
+ Spend: "spend",
8
+ PendingGrant: "pendingGrant",
9
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./ListCreditCurrenciesRequestStatus.js";
2
+ export * from "./ListCreditTransactionsRequestType.js";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ListCreditCurrenciesRequestStatus.js"), exports);
18
+ __exportStar(require("./ListCreditTransactionsRequestType.js"), exports);