@polar-sh/sdk 1.0.0-alpha.11 → 1.0.0-alpha.13

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 (232) hide show
  1. package/README.md +58 -2
  2. package/dist/2026-04/index.cjs +132 -0
  3. package/dist/2026-04/index.cjs.map +1 -1
  4. package/dist/2026-04/index.d.cts +836 -40
  5. package/dist/2026-04/index.d.cts.map +1 -1
  6. package/dist/2026-04/index.d.mts +836 -40
  7. package/dist/2026-04/index.d.mts.map +1 -1
  8. package/dist/2026-04/index.mjs +128 -2
  9. package/dist/2026-04/index.mjs.map +1 -1
  10. package/dist/2026-04/services/benefit_grants.cjs +3 -3
  11. package/dist/2026-04/services/benefit_grants.cjs.map +1 -1
  12. package/dist/2026-04/services/benefit_grants.d.cts +4 -4
  13. package/dist/2026-04/services/benefit_grants.d.mts +4 -4
  14. package/dist/2026-04/services/benefit_grants.mjs +3 -3
  15. package/dist/2026-04/services/benefit_grants.mjs.map +1 -1
  16. package/dist/2026-04/services/benefits.cjs +6 -6
  17. package/dist/2026-04/services/benefits.cjs.map +1 -1
  18. package/dist/2026-04/services/benefits.d.cts +6 -6
  19. package/dist/2026-04/services/benefits.d.mts +6 -6
  20. package/dist/2026-04/services/benefits.mjs +5 -5
  21. package/dist/2026-04/services/benefits.mjs.map +1 -1
  22. package/dist/2026-04/services/checkout_links.cjs +3 -3
  23. package/dist/2026-04/services/checkout_links.cjs.map +1 -1
  24. package/dist/2026-04/services/checkout_links.d.cts +4 -4
  25. package/dist/2026-04/services/checkout_links.d.mts +4 -4
  26. package/dist/2026-04/services/checkout_links.mjs +3 -3
  27. package/dist/2026-04/services/checkout_links.mjs.map +1 -1
  28. package/dist/2026-04/services/checkouts.cjs +3 -3
  29. package/dist/2026-04/services/checkouts.cjs.map +1 -1
  30. package/dist/2026-04/services/checkouts.d.cts +4 -4
  31. package/dist/2026-04/services/checkouts.d.mts +4 -4
  32. package/dist/2026-04/services/checkouts.mjs +3 -3
  33. package/dist/2026-04/services/checkouts.mjs.map +1 -1
  34. package/dist/2026-04/services/custom_fields.cjs +3 -3
  35. package/dist/2026-04/services/custom_fields.cjs.map +1 -1
  36. package/dist/2026-04/services/custom_fields.d.cts +4 -4
  37. package/dist/2026-04/services/custom_fields.d.mts +4 -4
  38. package/dist/2026-04/services/custom_fields.mjs +3 -3
  39. package/dist/2026-04/services/custom_fields.mjs.map +1 -1
  40. package/dist/2026-04/services/customer_meters.cjs +3 -3
  41. package/dist/2026-04/services/customer_meters.cjs.map +1 -1
  42. package/dist/2026-04/services/customer_meters.d.cts +4 -4
  43. package/dist/2026-04/services/customer_meters.d.mts +4 -4
  44. package/dist/2026-04/services/customer_meters.mjs +3 -3
  45. package/dist/2026-04/services/customer_meters.mjs.map +1 -1
  46. package/dist/2026-04/services/customer_portal/benefit_grants.cjs +3 -3
  47. package/dist/2026-04/services/customer_portal/benefit_grants.cjs.map +1 -1
  48. package/dist/2026-04/services/customer_portal/benefit_grants.d.cts +4 -4
  49. package/dist/2026-04/services/customer_portal/benefit_grants.d.mts +4 -4
  50. package/dist/2026-04/services/customer_portal/benefit_grants.mjs +3 -3
  51. package/dist/2026-04/services/customer_portal/benefit_grants.mjs.map +1 -1
  52. package/dist/2026-04/services/customer_portal/customer_meters.cjs +3 -3
  53. package/dist/2026-04/services/customer_portal/customer_meters.cjs.map +1 -1
  54. package/dist/2026-04/services/customer_portal/customer_meters.d.cts +4 -4
  55. package/dist/2026-04/services/customer_portal/customer_meters.d.mts +4 -4
  56. package/dist/2026-04/services/customer_portal/customer_meters.mjs +3 -3
  57. package/dist/2026-04/services/customer_portal/customer_meters.mjs.map +1 -1
  58. package/dist/2026-04/services/customer_portal/customer_session.d.cts +1 -1
  59. package/dist/2026-04/services/customer_portal/customer_session.d.mts +1 -1
  60. package/dist/2026-04/services/customer_portal/customers.cjs +3 -3
  61. package/dist/2026-04/services/customer_portal/customers.cjs.map +1 -1
  62. package/dist/2026-04/services/customer_portal/customers.d.cts +4 -4
  63. package/dist/2026-04/services/customer_portal/customers.d.mts +4 -4
  64. package/dist/2026-04/services/customer_portal/customers.mjs +3 -3
  65. package/dist/2026-04/services/customer_portal/customers.mjs.map +1 -1
  66. package/dist/2026-04/services/customer_portal/downloadables.cjs +3 -3
  67. package/dist/2026-04/services/customer_portal/downloadables.cjs.map +1 -1
  68. package/dist/2026-04/services/customer_portal/downloadables.d.cts +4 -4
  69. package/dist/2026-04/services/customer_portal/downloadables.d.mts +4 -4
  70. package/dist/2026-04/services/customer_portal/downloadables.mjs +3 -3
  71. package/dist/2026-04/services/customer_portal/downloadables.mjs.map +1 -1
  72. package/dist/2026-04/services/customer_portal/index.d.cts +11 -11
  73. package/dist/2026-04/services/customer_portal/index.d.mts +11 -11
  74. package/dist/2026-04/services/customer_portal/license_keys.cjs +3 -3
  75. package/dist/2026-04/services/customer_portal/license_keys.cjs.map +1 -1
  76. package/dist/2026-04/services/customer_portal/license_keys.d.cts +4 -4
  77. package/dist/2026-04/services/customer_portal/license_keys.d.mts +4 -4
  78. package/dist/2026-04/services/customer_portal/license_keys.mjs +3 -3
  79. package/dist/2026-04/services/customer_portal/license_keys.mjs.map +1 -1
  80. package/dist/2026-04/services/customer_portal/members.cjs +3 -3
  81. package/dist/2026-04/services/customer_portal/members.cjs.map +1 -1
  82. package/dist/2026-04/services/customer_portal/members.d.cts +4 -4
  83. package/dist/2026-04/services/customer_portal/members.d.mts +4 -4
  84. package/dist/2026-04/services/customer_portal/members.mjs +3 -3
  85. package/dist/2026-04/services/customer_portal/members.mjs.map +1 -1
  86. package/dist/2026-04/services/customer_portal/orders.cjs +3 -3
  87. package/dist/2026-04/services/customer_portal/orders.cjs.map +1 -1
  88. package/dist/2026-04/services/customer_portal/orders.d.cts +4 -4
  89. package/dist/2026-04/services/customer_portal/orders.d.mts +4 -4
  90. package/dist/2026-04/services/customer_portal/orders.mjs +3 -3
  91. package/dist/2026-04/services/customer_portal/orders.mjs.map +1 -1
  92. package/dist/2026-04/services/customer_portal/organizations.d.cts +1 -1
  93. package/dist/2026-04/services/customer_portal/organizations.d.mts +1 -1
  94. package/dist/2026-04/services/customer_portal/seats.cjs +3 -3
  95. package/dist/2026-04/services/customer_portal/seats.cjs.map +1 -1
  96. package/dist/2026-04/services/customer_portal/seats.d.cts +4 -4
  97. package/dist/2026-04/services/customer_portal/seats.d.mts +4 -4
  98. package/dist/2026-04/services/customer_portal/seats.mjs +3 -3
  99. package/dist/2026-04/services/customer_portal/seats.mjs.map +1 -1
  100. package/dist/2026-04/services/customer_portal/subscriptions.cjs +3 -3
  101. package/dist/2026-04/services/customer_portal/subscriptions.cjs.map +1 -1
  102. package/dist/2026-04/services/customer_portal/subscriptions.d.cts +4 -4
  103. package/dist/2026-04/services/customer_portal/subscriptions.d.mts +4 -4
  104. package/dist/2026-04/services/customer_portal/subscriptions.mjs +3 -3
  105. package/dist/2026-04/services/customer_portal/subscriptions.mjs.map +1 -1
  106. package/dist/2026-04/services/customer_portal/wallets.cjs +3 -3
  107. package/dist/2026-04/services/customer_portal/wallets.cjs.map +1 -1
  108. package/dist/2026-04/services/customer_portal/wallets.d.cts +4 -4
  109. package/dist/2026-04/services/customer_portal/wallets.d.mts +4 -4
  110. package/dist/2026-04/services/customer_portal/wallets.mjs +3 -3
  111. package/dist/2026-04/services/customer_portal/wallets.mjs.map +1 -1
  112. package/dist/2026-04/services/customer_seats.d.cts +1 -1
  113. package/dist/2026-04/services/customer_seats.d.mts +1 -1
  114. package/dist/2026-04/services/customer_sessions.d.cts +1 -1
  115. package/dist/2026-04/services/customer_sessions.d.mts +1 -1
  116. package/dist/2026-04/services/customers/index.cjs +9 -9
  117. package/dist/2026-04/services/customers/index.cjs.map +1 -1
  118. package/dist/2026-04/services/customers/index.d.cts +8 -8
  119. package/dist/2026-04/services/customers/index.d.mts +8 -8
  120. package/dist/2026-04/services/customers/index.mjs +7 -7
  121. package/dist/2026-04/services/customers/index.mjs.map +1 -1
  122. package/dist/2026-04/services/customers/members.d.cts +1 -1
  123. package/dist/2026-04/services/customers/members.d.mts +1 -1
  124. package/dist/2026-04/services/discounts.cjs +3 -3
  125. package/dist/2026-04/services/discounts.cjs.map +1 -1
  126. package/dist/2026-04/services/discounts.d.cts +4 -4
  127. package/dist/2026-04/services/discounts.d.mts +4 -4
  128. package/dist/2026-04/services/discounts.mjs +3 -3
  129. package/dist/2026-04/services/discounts.mjs.map +1 -1
  130. package/dist/2026-04/services/disputes.cjs +3 -3
  131. package/dist/2026-04/services/disputes.cjs.map +1 -1
  132. package/dist/2026-04/services/disputes.d.cts +4 -4
  133. package/dist/2026-04/services/disputes.d.mts +4 -4
  134. package/dist/2026-04/services/disputes.mjs +3 -3
  135. package/dist/2026-04/services/disputes.mjs.map +1 -1
  136. package/dist/2026-04/services/event_types.cjs +3 -3
  137. package/dist/2026-04/services/event_types.cjs.map +1 -1
  138. package/dist/2026-04/services/event_types.d.cts +4 -4
  139. package/dist/2026-04/services/event_types.d.mts +4 -4
  140. package/dist/2026-04/services/event_types.mjs +3 -3
  141. package/dist/2026-04/services/event_types.mjs.map +1 -1
  142. package/dist/2026-04/services/events.cjs +3 -3
  143. package/dist/2026-04/services/events.cjs.map +1 -1
  144. package/dist/2026-04/services/events.d.cts +4 -4
  145. package/dist/2026-04/services/events.d.mts +4 -4
  146. package/dist/2026-04/services/events.mjs +3 -3
  147. package/dist/2026-04/services/events.mjs.map +1 -1
  148. package/dist/2026-04/services/files.cjs +3 -3
  149. package/dist/2026-04/services/files.cjs.map +1 -1
  150. package/dist/2026-04/services/files.d.cts +4 -4
  151. package/dist/2026-04/services/files.d.mts +4 -4
  152. package/dist/2026-04/services/files.mjs +3 -3
  153. package/dist/2026-04/services/files.mjs.map +1 -1
  154. package/dist/2026-04/services/license_keys.cjs +3 -3
  155. package/dist/2026-04/services/license_keys.cjs.map +1 -1
  156. package/dist/2026-04/services/license_keys.d.cts +4 -4
  157. package/dist/2026-04/services/license_keys.d.mts +4 -4
  158. package/dist/2026-04/services/license_keys.mjs +3 -3
  159. package/dist/2026-04/services/license_keys.mjs.map +1 -1
  160. package/dist/2026-04/services/members.cjs +3 -3
  161. package/dist/2026-04/services/members.cjs.map +1 -1
  162. package/dist/2026-04/services/members.d.cts +4 -4
  163. package/dist/2026-04/services/members.d.mts +4 -4
  164. package/dist/2026-04/services/members.mjs +3 -3
  165. package/dist/2026-04/services/members.mjs.map +1 -1
  166. package/dist/2026-04/services/meters.cjs +3 -3
  167. package/dist/2026-04/services/meters.cjs.map +1 -1
  168. package/dist/2026-04/services/meters.d.cts +4 -4
  169. package/dist/2026-04/services/meters.d.mts +4 -4
  170. package/dist/2026-04/services/meters.mjs +3 -3
  171. package/dist/2026-04/services/meters.mjs.map +1 -1
  172. package/dist/2026-04/services/metrics.d.cts +1 -1
  173. package/dist/2026-04/services/metrics.d.mts +1 -1
  174. package/dist/2026-04/services/oauth2/clients/index.d.cts +2 -2
  175. package/dist/2026-04/services/oauth2/clients/index.d.mts +2 -2
  176. package/dist/2026-04/services/oauth2/clients/oauth2.cjs +2 -2
  177. package/dist/2026-04/services/oauth2/clients/oauth2.cjs.map +1 -1
  178. package/dist/2026-04/services/oauth2/clients/oauth2.d.cts +3 -3
  179. package/dist/2026-04/services/oauth2/clients/oauth2.d.mts +3 -3
  180. package/dist/2026-04/services/oauth2/clients/oauth2.mjs +2 -2
  181. package/dist/2026-04/services/oauth2/clients/oauth2.mjs.map +1 -1
  182. package/dist/2026-04/services/oauth2/index.d.cts +2 -2
  183. package/dist/2026-04/services/oauth2/index.d.mts +2 -2
  184. package/dist/2026-04/services/orders.cjs +3 -3
  185. package/dist/2026-04/services/orders.cjs.map +1 -1
  186. package/dist/2026-04/services/orders.d.cts +4 -4
  187. package/dist/2026-04/services/orders.d.mts +4 -4
  188. package/dist/2026-04/services/orders.mjs +3 -3
  189. package/dist/2026-04/services/orders.mjs.map +1 -1
  190. package/dist/2026-04/services/organizations.cjs +3 -3
  191. package/dist/2026-04/services/organizations.cjs.map +1 -1
  192. package/dist/2026-04/services/organizations.d.cts +4 -4
  193. package/dist/2026-04/services/organizations.d.mts +4 -4
  194. package/dist/2026-04/services/organizations.mjs +3 -3
  195. package/dist/2026-04/services/organizations.mjs.map +1 -1
  196. package/dist/2026-04/services/payments.cjs +3 -3
  197. package/dist/2026-04/services/payments.cjs.map +1 -1
  198. package/dist/2026-04/services/payments.d.cts +4 -4
  199. package/dist/2026-04/services/payments.d.mts +4 -4
  200. package/dist/2026-04/services/payments.mjs +3 -3
  201. package/dist/2026-04/services/payments.mjs.map +1 -1
  202. package/dist/2026-04/services/products.cjs +3 -3
  203. package/dist/2026-04/services/products.cjs.map +1 -1
  204. package/dist/2026-04/services/products.d.cts +4 -4
  205. package/dist/2026-04/services/products.d.mts +4 -4
  206. package/dist/2026-04/services/products.mjs +3 -3
  207. package/dist/2026-04/services/products.mjs.map +1 -1
  208. package/dist/2026-04/services/refunds.cjs +3 -3
  209. package/dist/2026-04/services/refunds.cjs.map +1 -1
  210. package/dist/2026-04/services/refunds.d.cts +4 -4
  211. package/dist/2026-04/services/refunds.d.mts +4 -4
  212. package/dist/2026-04/services/refunds.mjs +3 -3
  213. package/dist/2026-04/services/refunds.mjs.map +1 -1
  214. package/dist/2026-04/services/subscriptions.cjs +3 -3
  215. package/dist/2026-04/services/subscriptions.cjs.map +1 -1
  216. package/dist/2026-04/services/subscriptions.d.cts +4 -4
  217. package/dist/2026-04/services/subscriptions.d.mts +4 -4
  218. package/dist/2026-04/services/subscriptions.mjs +3 -3
  219. package/dist/2026-04/services/subscriptions.mjs.map +1 -1
  220. package/dist/2026-04/services/webhooks.cjs +6 -6
  221. package/dist/2026-04/services/webhooks.cjs.map +1 -1
  222. package/dist/2026-04/services/webhooks.d.cts +6 -6
  223. package/dist/2026-04/services/webhooks.d.mts +6 -6
  224. package/dist/2026-04/services/webhooks.mjs +5 -5
  225. package/dist/2026-04/services/webhooks.mjs.map +1 -1
  226. package/dist/{models-IotBovey.d.cts → models-DnY24W7g.d.mts} +671 -51
  227. package/dist/models-DnY24W7g.d.mts.map +1 -0
  228. package/dist/{models-pdZgmVG-.d.mts → models-i5yDo5sm.d.cts} +671 -51
  229. package/dist/models-i5yDo5sm.d.cts.map +1 -0
  230. package/package.json +4 -2
  231. package/dist/models-IotBovey.d.cts.map +0 -1
  232. package/dist/models-pdZgmVG-.d.mts.map +0 -1
@@ -1,5 +1,5 @@
1
1
  declare namespace models_d_exports {
2
- export { Address, AddressDict, AddressInput, AggregationFunction, AlreadyActiveSubscriptionError, AlreadyCanceledSubscription, AmbiguousExternalCustomerID, AttachedCustomField, AttachedCustomFieldCreate, AuthorizeOrganization, AuthorizeResponseOrganization, AuthorizeResponseUser, AuthorizeUser, BalanceCreditOrderEvent, BalanceCreditOrderMetadata, BalanceDisputeEvent, BalanceDisputeMetadata, BalanceDisputeReversalEvent, BalanceOrderEvent, BalanceOrderMetadata, BalanceRefundEvent, BalanceRefundMetadata, BalanceRefundReversalEvent, Benefit, BenefitCreate, BenefitCustom, BenefitCustomCreate, BenefitCustomCreateProperties, BenefitCustomProperties, BenefitCustomSubscriber, BenefitCustomSubscriberProperties, BenefitCustomUpdate, BenefitCycledEvent, BenefitDiscord, BenefitDiscordCreate, BenefitDiscordCreateProperties, BenefitDiscordProperties, BenefitDiscordSubscriber, BenefitDiscordSubscriberProperties, BenefitDiscordUpdate, BenefitDownloadables, BenefitDownloadablesCreate, BenefitDownloadablesCreateProperties, BenefitDownloadablesProperties, BenefitDownloadablesSubscriber, BenefitDownloadablesSubscriberProperties, BenefitDownloadablesUpdate, BenefitFeatureFlag, BenefitFeatureFlagCreate, BenefitFeatureFlagCreateProperties, BenefitFeatureFlagProperties, BenefitFeatureFlagSubscriber, BenefitFeatureFlagSubscriberProperties, BenefitFeatureFlagUpdate, BenefitGitHubRepository, BenefitGitHubRepositoryCreate, BenefitGitHubRepositoryCreateProperties, BenefitGitHubRepositoryProperties, BenefitGitHubRepositorySubscriber, BenefitGitHubRepositorySubscriberProperties, BenefitGitHubRepositoryUpdate, BenefitGrant, BenefitGrantCustomProperties, BenefitGrantDiscordProperties, BenefitGrantDownloadablesProperties, BenefitGrantError, BenefitGrantFeatureFlagProperties, BenefitGrantGitHubRepositoryProperties, BenefitGrantLicenseKeysProperties, BenefitGrantMetadata, BenefitGrantMeterCreditProperties, BenefitGrantSlackSharedChannelProperties, BenefitGrantSortProperty, BenefitGrantedEvent, BenefitLicenseKeyActivationCreateProperties, BenefitLicenseKeyActivationProperties, BenefitLicenseKeyExpirationProperties, BenefitLicenseKeys, BenefitLicenseKeysCreate, BenefitLicenseKeysCreateProperties, BenefitLicenseKeysProperties, BenefitLicenseKeysSubscriber, BenefitLicenseKeysSubscriberProperties, BenefitLicenseKeysUpdate, BenefitMeterCredit, BenefitMeterCreditCreate, BenefitMeterCreditCreateProperties, BenefitMeterCreditProperties, BenefitMeterCreditSubscriber, BenefitMeterCreditSubscriberProperties, BenefitMeterCreditUpdate, BenefitPublic, BenefitRevokedEvent, BenefitSlackSharedChannel, BenefitSlackSharedChannelCreate, BenefitSlackSharedChannelCreateProperties, BenefitSlackSharedChannelProperties, BenefitSlackSharedChannelSubscriber, BenefitSlackSharedChannelSubscriberProperties, BenefitSlackSharedChannelUpdate, BenefitSortProperty, BenefitSubscriberOrganization, BenefitType, BenefitUpdatedEvent, BenefitVisibility, BillingAddressFieldMode, CannotCreateOrganizationError, CardPayment, CardPaymentMetadata, Checkout, CheckoutBillingAddressFields, CheckoutConfirmStripe, CheckoutCreate, CheckoutCreatedEvent, CheckoutCreatedMetadata, CheckoutDiscountFixedOnceForeverDuration, CheckoutDiscountFixedRepeatDuration, CheckoutDiscountPercentageOnceForeverDuration, CheckoutDiscountPercentageRepeatDuration, CheckoutForbiddenError, CheckoutLink, CheckoutLinkCreate, CheckoutLinkCreateProduct, CheckoutLinkCreateProductPrice, CheckoutLinkCreateProducts, CheckoutLinkProduct, CheckoutLinkSortProperty, CheckoutLinkUpdate, CheckoutOrganization, CheckoutProduct, CheckoutPublic, CheckoutPublicConfirmed, CheckoutSortProperty, CheckoutStatus, CheckoutUpdate, CheckoutUpdatePublic, Context, CostMetadataInput, CostMetadataOutput, CountAggregation, CountryAlpha2, CountryAlpha2Input, CursorPagination, CustomField, CustomFieldCheckbox, CustomFieldCheckboxProperties, CustomFieldCreate, CustomFieldCreateCheckbox, CustomFieldCreateDate, CustomFieldCreateNumber, CustomFieldCreateSelect, CustomFieldCreateText, CustomFieldDate, CustomFieldDateProperties, CustomFieldNumber, CustomFieldNumberProperties, CustomFieldSelect, CustomFieldSelectOption, CustomFieldSelectProperties, CustomFieldSortProperty, CustomFieldText, CustomFieldTextProperties, CustomFieldType, CustomFieldUpdate, CustomFieldUpdateCheckbox, CustomFieldUpdateDate, CustomFieldUpdateNumber, CustomFieldUpdateSelect, CustomFieldUpdateText, Customer, CustomerBenefitGrant, CustomerBenefitGrantCustom, CustomerBenefitGrantCustomUpdate, CustomerBenefitGrantDiscord, CustomerBenefitGrantDiscordPropertiesUpdate, CustomerBenefitGrantDiscordUpdate, CustomerBenefitGrantDownloadables, CustomerBenefitGrantDownloadablesUpdate, CustomerBenefitGrantFeatureFlag, CustomerBenefitGrantFeatureFlagUpdate, CustomerBenefitGrantGitHubRepository, CustomerBenefitGrantGitHubRepositoryPropertiesUpdate, CustomerBenefitGrantGitHubRepositoryUpdate, CustomerBenefitGrantLicenseKeys, CustomerBenefitGrantLicenseKeysUpdate, CustomerBenefitGrantMeterCredit, CustomerBenefitGrantMeterCreditUpdate, CustomerBenefitGrantSlackSharedChannel, CustomerBenefitGrantSlackSharedChannelPropertiesUpdate, CustomerBenefitGrantSlackSharedChannelUpdate, CustomerBenefitGrantSortProperty, CustomerBenefitGrantUpdate, CustomerCancellationReason, CustomerCreate, CustomerCreatedEvent, CustomerCreatedMetadata, CustomerCustomerMeter, CustomerCustomerMeterMeter, CustomerCustomerMeterSortProperty, CustomerCustomerSession, CustomerDeletedEvent, CustomerDeletedMetadata, CustomerEmailUpdateRequest, CustomerEmailUpdateVerifyRequest, CustomerEmailUpdateVerifyResponse, CustomerIndividual, CustomerIndividualCreate, CustomerMeter, CustomerMeterSortProperty, CustomerNotReady, CustomerOrder, CustomerOrderConfirmPayment, CustomerOrderInvoice, CustomerOrderPaymentConfirmation, CustomerOrderPaymentStatus, CustomerOrderProduct, CustomerOrderReceipt, CustomerOrderSortProperty, CustomerOrderSubscription, CustomerOrderUpdate, CustomerOrganization, CustomerOrganizationData, CustomerOrganizationFeatureSettings, CustomerPaymentMethod, CustomerPaymentMethodCard, CustomerPaymentMethodConfirm, CustomerPaymentMethodCreate, CustomerPaymentMethodCreateRequiresActionResponse, CustomerPaymentMethodCreateResponse, CustomerPaymentMethodCreateSucceededResponse, CustomerPaymentMethodGeneric, CustomerPortalCustomer, CustomerPortalCustomerSettings, CustomerPortalCustomerUpdate, CustomerPortalMember, CustomerPortalMemberCreate, CustomerPortalMemberUpdate, CustomerPortalOAuthAccount, CustomerPortalSubscriptionSettings, CustomerPortalUsageSettings, CustomerProduct, CustomerSeat, CustomerSeatAssign, CustomerSeatClaimResponse, CustomerSession, CustomerSessionCustomerExternalIDCreate, CustomerSessionCustomerIDCreate, CustomerSortProperty, CustomerState, CustomerStateBenefitGrant, CustomerStateIndividual, CustomerStateMeter, CustomerStateSubscription, CustomerStateSubscriptionMeter, CustomerStateTeam, CustomerSubscription, CustomerSubscriptionCancel, CustomerSubscriptionMeter, CustomerSubscriptionMeterMeter, CustomerSubscriptionPause, CustomerSubscriptionProduct, CustomerSubscriptionResume, CustomerSubscriptionSortProperty, CustomerSubscriptionUpdate, CustomerSubscriptionUpdateClear, CustomerSubscriptionUpdateProduct, CustomerSubscriptionUpdateSeats, CustomerTeam, CustomerTeamCreate, CustomerType, CustomerUpdate, CustomerUpdateExternalID, CustomerUpdatedEvent, CustomerUpdatedFields, CustomerUpdatedMetadata, CustomerWallet, CustomerWalletSortProperty, Discount, DiscountCreate, DiscountDuration, DiscountFixedCreate, DiscountFixedOnceForeverDuration, DiscountFixedOnceForeverDurationBase, DiscountFixedRepeatDuration, DiscountFixedRepeatDurationBase, DiscountPercentageCreate, DiscountPercentageOnceForeverDuration, DiscountPercentageOnceForeverDurationBase, DiscountPercentageRepeatDuration, DiscountPercentageRepeatDurationBase, DiscountProduct, DiscountSortProperty, DiscountType, DiscountUpdate, Dispute, DisputeCustomer, DisputeNotOpenError, DisputeSortProperty, DisputeStatus, DownloadableFileCreate, DownloadableFileRead, DownloadableRead, Event, EventCreateCustomer, EventCreateExternalCustomer, EventMetadataInput, EventMetadataOutput, EventName, EventNamesSortProperty, EventSortProperty, EventSource, EventType, EventTypeUpdate, EventTypeWithStats, EventTypesSortProperty, EventsIngest, EventsIngestResponse, ExistingProductPrice, ExpiredCheckoutError, FileCreate, FileDownload, FilePatch, FileRead, FileServiceTypes, FileUpload, FileUploadCompleted, Filter, FilterClause, FilterConjunction, FilterOperator, Func, GenericPayment, HTTPValidationError, IntrospectTokenResponse, LLMMetadata, LegacyRecurringProductPrice, LegacyRecurringProductPriceCustom, LegacyRecurringProductPriceFixed, LicenseKeyActivate, LicenseKeyActivationBase, LicenseKeyActivationRead, LicenseKeyCustomer, LicenseKeyDeactivate, LicenseKeyRead, LicenseKeyStatus, LicenseKeyUpdate, LicenseKeyValidate, LicenseKeyWithActivations, ListResourceBenefit, ListResourceBenefitGrant, ListResourceCheckout, ListResourceCheckoutLink, ListResourceCustomField, ListResourceCustomer, ListResourceCustomerBenefitGrant, ListResourceCustomerCustomerMeter, ListResourceCustomerMeter, ListResourceCustomerOrder, ListResourceCustomerPaymentMethod, ListResourceCustomerPortalMember, ListResourceCustomerSubscription, ListResourceCustomerWallet, ListResourceDiscount, ListResourceDispute, ListResourceDownloadableRead, ListResourceEvent, ListResourceEventName, ListResourceEventTypeWithStats, ListResourceFileRead, ListResourceLicenseKeyRead, ListResourceMember, ListResourceMeter, ListResourceOrder, ListResourceOrganization, ListResourcePayment, ListResourcePaymentMethod, ListResourceProduct, ListResourceRefund, ListResourceSubscription, ListResourceWebhookDelivery, ListResourceWebhookEndpoint, ListResourceWithCursorPaginationEvent, ManualRetryLimitExceeded, Member, MemberCreateFromCustomer, MemberOwnerCreate, MemberRole, MemberSortProperty, MemberUpdate, MetadataOutputType, MetadataQuery, Meter, MeterCreate, MeterCreditEvent, MeterCreditedMetadata, MeterQuantities, MeterQuantity, MeterResetEvent, MeterResetMetadata, MeterSortProperty, MeterUnit, MeterUpdate, Metric, MetricDashboardCreate, MetricDashboardSchema, MetricDashboardUpdate, MetricPeriod, MetricType, Metrics, MetricsIntervalLimit, MetricsIntervalsLimits, MetricsLimits, MetricsResponse, MetricsTotals, MissingInvoiceBillingDetails, NotOpenCheckout, NotPermitted, OAuth2ClientConfiguration, OAuth2ClientConfigurationUpdate, OAuth2ClientPublic, OffSessionChargesNotEnabled, Order, OrderBillingReason, OrderCreate, OrderCustomer, OrderFinalize, OrderInvoice, OrderItemSchema, OrderNotDraft, OrderNotEligibleForInvoice, OrderNotEligibleForRetry, OrderPaidEvent, OrderPaidMetadata, OrderProduct, OrderReceipt, OrderRefundedEvent, OrderRefundedMetadata, OrderSortProperty, OrderStatus, OrderSubscription, OrderUpdate, OrderVoidedEvent, OrderVoidedMetadata, Organization, OrganizationAvatarFileCreate, OrganizationAvatarFileRead, OrganizationCapabilities, OrganizationCompanyLegalEntitySchema, OrganizationCreate, OrganizationCustomerEmailSettings, OrganizationCustomerPortalSettings, OrganizationDetails, OrganizationFeatureSettings, OrganizationFeatureSettingsUpdate, OrganizationIndividualLegalEntitySchema, OrganizationNotReadyForPayments, OrganizationSocialLink, OrganizationSocialPlatforms, OrganizationSortProperty, OrganizationStatus, OrganizationSubscriptionSettings, OrganizationUpdate, Pagination, PauseResumeNotAllowed, Payment, PaymentActionRequired, PaymentAlreadyInProgress, PaymentError, PaymentFailed, PaymentMethod, PaymentMethodCard, PaymentMethodCardMetadata, PaymentMethodGeneric, PaymentMethodInUseByActiveSubscription, PaymentMethodSetupFailed, PaymentNotReady, PaymentProcessor, PaymentSortProperty, PaymentStatus, PaymentTrigger, PendingSubscriptionUpdate, Permission, PortalAuthenticatedUser, PresentmentCurrency, Product, ProductBenefitsUpdate, ProductBillingType, ProductCreate, ProductCreateOneTime, ProductCreateRecurring, ProductMediaFileCreate, ProductMediaFileRead, ProductPrice, ProductPriceCustom, ProductPriceCustomCreate, ProductPriceFixed, ProductPriceFixedCreate, ProductPriceMeter, ProductPriceMeteredUnit, ProductPriceMeteredUnitCreate, ProductPriceSeatBased, ProductPriceSeatBasedCreate, ProductPriceSeatTier, ProductPriceSeatTiersInput, ProductPriceSeatTiersOutput, ProductPriceSource, ProductSortProperty, ProductUpdate, ProductVisibility, PropertyAggregation, PublicSubscriptionProrationBehavior, Reason, RecurringInterval, Refund, RefundCreate, RefundDispute, RefundReason, RefundSortProperty, RefundStatus, RefundedAlready, ResourceNotFound, RevokeTokenResponse, Role, S3DownloadURL, S3FileCreateMultipart, S3FileCreatePart, S3FileUploadCompletedPart, S3FileUploadMultipart, S3FileUploadPart, SSOEnforcementRequiresConnection, Scope, SeatAssign, SeatClaim, SeatClaimInfo, SeatStatus, SeatTierType, SeatsList, Status, SubType, Subscription, SubscriptionBillingPeriodUpdatedEvent, SubscriptionBillingPeriodUpdatedMetadata, SubscriptionCancel, SubscriptionCanceledEvent, SubscriptionCanceledMetadata, SubscriptionCreateCustomer, SubscriptionCreateExternalCustomer, SubscriptionCreatedEvent, SubscriptionCreatedMetadata, SubscriptionCustomer, SubscriptionCycledEvent, SubscriptionCycledMetadata, SubscriptionLocked, SubscriptionMeter, SubscriptionPastDueEvent, SubscriptionPastDueMetadata, SubscriptionPause, SubscriptionPausedEvent, SubscriptionPausedMetadata, SubscriptionProductUpdatedEvent, SubscriptionProductUpdatedMetadata, SubscriptionProrationBehavior, SubscriptionReactivatedEvent, SubscriptionReactivatedMetadata, SubscriptionResume, SubscriptionResumedEvent, SubscriptionResumedMetadata, SubscriptionRevoke, SubscriptionRevokedEvent, SubscriptionRevokedMetadata, SubscriptionSeatsUpdatedEvent, SubscriptionSeatsUpdatedMetadata, SubscriptionSortProperty, SubscriptionStatus, SubscriptionUncanceledEvent, SubscriptionUncanceledMetadata, SubscriptionUpdate, SubscriptionUpdateBase, SubscriptionUpdateBillingPeriod, SubscriptionUpdateClear, SubscriptionUpdateClearedEvent, SubscriptionUpdateClearedMetadata, SubscriptionUpdateSeats, SubscriptionUpdatedEvent, SubscriptionUpdatedMetadata, SupportCaseAttachmentFileCreate, SupportCaseAttachmentFileRead, SystemEvent, TaxBehavior, TaxBehaviorOption, TimeInterval, Timeframe, Timezone, TokenEndpointAuthMethod, TokenResponse, TokenType, TrialAlreadyRedeemed, TrialInterval, Unauthorized, UniqueAggregation, UserEvent, UserInfoOrganization, UserInfoUser, ValidatedLicenseKey, ValidationError, WebhookDelivery, WebhookEndpoint, WebhookEndpointCreate, WebhookEndpointUpdate, WebhookEvent, WebhookEventType, WebhookFormat };
2
+ export { Address, AddressDict, AddressInput, AggregationFunction, AlreadyActiveSubscriptionError, AlreadyCanceledSubscription, AmbiguousExternalCustomerID, AttachedCustomField, AttachedCustomFieldCreate, AuthorizeOrganization, AuthorizeResponseOrganization, AuthorizeResponseUser, AuthorizeUser, BalanceCreditOrderEvent, BalanceCreditOrderMetadata, BalanceDisputeEvent, BalanceDisputeMetadata, BalanceDisputeReversalEvent, BalanceOrderEvent, BalanceOrderMetadata, BalanceRefundEvent, BalanceRefundMetadata, BalanceRefundReversalEvent, Benefit, BenefitCreate, BenefitCustom, BenefitCustomCreate, BenefitCustomCreateProperties, BenefitCustomProperties, BenefitCustomSubscriber, BenefitCustomSubscriberProperties, BenefitCustomUpdate, BenefitCycledEvent, BenefitDiscord, BenefitDiscordCreate, BenefitDiscordCreateProperties, BenefitDiscordProperties, BenefitDiscordSubscriber, BenefitDiscordSubscriberProperties, BenefitDiscordUpdate, BenefitDownloadables, BenefitDownloadablesCreate, BenefitDownloadablesCreateProperties, BenefitDownloadablesProperties, BenefitDownloadablesSubscriber, BenefitDownloadablesSubscriberProperties, BenefitDownloadablesUpdate, BenefitFeatureFlag, BenefitFeatureFlagCreate, BenefitFeatureFlagCreateProperties, BenefitFeatureFlagProperties, BenefitFeatureFlagSubscriber, BenefitFeatureFlagSubscriberProperties, BenefitFeatureFlagUpdate, BenefitGitHubRepository, BenefitGitHubRepositoryCreate, BenefitGitHubRepositoryCreateProperties, BenefitGitHubRepositoryProperties, BenefitGitHubRepositorySubscriber, BenefitGitHubRepositorySubscriberProperties, BenefitGitHubRepositoryUpdate, BenefitGrant, BenefitGrantCustomProperties, BenefitGrantCustomWebhook, BenefitGrantDiscordProperties, BenefitGrantDiscordWebhook, BenefitGrantDownloadablesProperties, BenefitGrantDownloadablesWebhook, BenefitGrantError, BenefitGrantFeatureFlagProperties, BenefitGrantFeatureFlagWebhook, BenefitGrantGitHubRepositoryProperties, BenefitGrantGitHubRepositoryWebhook, BenefitGrantLicenseKeysProperties, BenefitGrantLicenseKeysWebhook, BenefitGrantMetadata, BenefitGrantMeterCreditProperties, BenefitGrantMeterCreditWebhook, BenefitGrantSlackSharedChannelProperties, BenefitGrantSlackSharedChannelWebhook, BenefitGrantSortProperty, BenefitGrantWebhook, BenefitGrantedEvent, BenefitLicenseKeyActivationCreateProperties, BenefitLicenseKeyActivationProperties, BenefitLicenseKeyExpirationProperties, BenefitLicenseKeys, BenefitLicenseKeysCreate, BenefitLicenseKeysCreateProperties, BenefitLicenseKeysProperties, BenefitLicenseKeysSubscriber, BenefitLicenseKeysSubscriberProperties, BenefitLicenseKeysUpdate, BenefitMeterCredit, BenefitMeterCreditCreate, BenefitMeterCreditCreateProperties, BenefitMeterCreditProperties, BenefitMeterCreditSubscriber, BenefitMeterCreditSubscriberProperties, BenefitMeterCreditUpdate, BenefitPublic, BenefitRevokedEvent, BenefitSlackSharedChannel, BenefitSlackSharedChannelCreate, BenefitSlackSharedChannelCreateProperties, BenefitSlackSharedChannelProperties, BenefitSlackSharedChannelSubscriber, BenefitSlackSharedChannelSubscriberProperties, BenefitSlackSharedChannelUpdate, BenefitSortProperty, BenefitSubscriberOrganization, BenefitType, BenefitUpdatedEvent, BenefitVisibility, BillingAddressFieldMode, CannotCreateOrganizationError, CardPayment, CardPaymentMetadata, Checkout, CheckoutBillingAddressFields, CheckoutConfirmStripe, CheckoutCreate, CheckoutCreatedEvent, CheckoutCreatedMetadata, CheckoutDiscountFixedOnceForeverDuration, CheckoutDiscountFixedRepeatDuration, CheckoutDiscountPercentageOnceForeverDuration, CheckoutDiscountPercentageRepeatDuration, CheckoutForbiddenError, CheckoutLink, CheckoutLinkCreate, CheckoutLinkCreateProduct, CheckoutLinkCreateProductPrice, CheckoutLinkCreateProducts, CheckoutLinkProduct, CheckoutLinkSortProperty, CheckoutLinkUpdate, CheckoutOrganization, CheckoutProduct, CheckoutPublic, CheckoutPublicConfirmed, CheckoutSortProperty, CheckoutStatus, CheckoutUpdate, CheckoutUpdatePublic, Context, CostMetadataInput, CostMetadataOutput, CountAggregation, CountryAlpha2, CountryAlpha2Input, CursorPagination, CustomField, CustomFieldCheckbox, CustomFieldCheckboxProperties, CustomFieldCreate, CustomFieldCreateCheckbox, CustomFieldCreateDate, CustomFieldCreateNumber, CustomFieldCreateSelect, CustomFieldCreateText, CustomFieldDate, CustomFieldDateProperties, CustomFieldNumber, CustomFieldNumberProperties, CustomFieldSelect, CustomFieldSelectOption, CustomFieldSelectProperties, CustomFieldSortProperty, CustomFieldText, CustomFieldTextProperties, CustomFieldType, CustomFieldUpdate, CustomFieldUpdateCheckbox, CustomFieldUpdateDate, CustomFieldUpdateNumber, CustomFieldUpdateSelect, CustomFieldUpdateText, Customer, CustomerBenefitGrant, CustomerBenefitGrantCustom, CustomerBenefitGrantCustomUpdate, CustomerBenefitGrantDiscord, CustomerBenefitGrantDiscordPropertiesUpdate, CustomerBenefitGrantDiscordUpdate, CustomerBenefitGrantDownloadables, CustomerBenefitGrantDownloadablesUpdate, CustomerBenefitGrantFeatureFlag, CustomerBenefitGrantFeatureFlagUpdate, CustomerBenefitGrantGitHubRepository, CustomerBenefitGrantGitHubRepositoryPropertiesUpdate, CustomerBenefitGrantGitHubRepositoryUpdate, CustomerBenefitGrantLicenseKeys, CustomerBenefitGrantLicenseKeysUpdate, CustomerBenefitGrantMeterCredit, CustomerBenefitGrantMeterCreditUpdate, CustomerBenefitGrantSlackSharedChannel, CustomerBenefitGrantSlackSharedChannelPropertiesUpdate, CustomerBenefitGrantSlackSharedChannelUpdate, CustomerBenefitGrantSortProperty, CustomerBenefitGrantUpdate, CustomerCancellationReason, CustomerCreate, CustomerCreatedEvent, CustomerCreatedMetadata, CustomerCustomerMeter, CustomerCustomerMeterMeter, CustomerCustomerMeterSortProperty, CustomerCustomerSession, CustomerDeletedEvent, CustomerDeletedMetadata, CustomerEmailUpdateRequest, CustomerEmailUpdateVerifyRequest, CustomerEmailUpdateVerifyResponse, CustomerIndividual, CustomerIndividualCreate, CustomerMeter, CustomerMeterSortProperty, CustomerNotReady, CustomerOrder, CustomerOrderConfirmPayment, CustomerOrderInvoice, CustomerOrderPaymentConfirmation, CustomerOrderPaymentStatus, CustomerOrderProduct, CustomerOrderReceipt, CustomerOrderSortProperty, CustomerOrderSubscription, CustomerOrderUpdate, CustomerOrganization, CustomerOrganizationData, CustomerOrganizationFeatureSettings, CustomerPaymentMethod, CustomerPaymentMethodCard, CustomerPaymentMethodConfirm, CustomerPaymentMethodCreate, CustomerPaymentMethodCreateRequiresActionResponse, CustomerPaymentMethodCreateResponse, CustomerPaymentMethodCreateSucceededResponse, CustomerPaymentMethodGeneric, CustomerPortalCustomer, CustomerPortalCustomerSettings, CustomerPortalCustomerUpdate, CustomerPortalMember, CustomerPortalMemberCreate, CustomerPortalMemberUpdate, CustomerPortalOAuthAccount, CustomerPortalSubscriptionSettings, CustomerPortalUsageSettings, CustomerProduct, CustomerSeat, CustomerSeatAssign, CustomerSeatClaimResponse, CustomerSession, CustomerSessionCustomerExternalIDCreate, CustomerSessionCustomerIDCreate, CustomerSortProperty, CustomerState, CustomerStateBenefitGrant, CustomerStateIndividual, CustomerStateMeter, CustomerStateSubscription, CustomerStateSubscriptionMeter, CustomerStateTeam, CustomerSubscription, CustomerSubscriptionCancel, CustomerSubscriptionMeter, CustomerSubscriptionMeterMeter, CustomerSubscriptionPause, CustomerSubscriptionProduct, CustomerSubscriptionResume, CustomerSubscriptionSortProperty, CustomerSubscriptionUpdate, CustomerSubscriptionUpdateClear, CustomerSubscriptionUpdateProduct, CustomerSubscriptionUpdateSeats, CustomerTeam, CustomerTeamCreate, CustomerType, CustomerUpdate, CustomerUpdateExternalID, CustomerUpdatedEvent, CustomerUpdatedFields, CustomerUpdatedMetadata, CustomerWallet, CustomerWalletSortProperty, Discount, DiscountCreate, DiscountDuration, DiscountFixedCreate, DiscountFixedOnceForeverDuration, DiscountFixedOnceForeverDurationBase, DiscountFixedRepeatDuration, DiscountFixedRepeatDurationBase, DiscountPercentageCreate, DiscountPercentageOnceForeverDuration, DiscountPercentageOnceForeverDurationBase, DiscountPercentageRepeatDuration, DiscountPercentageRepeatDurationBase, DiscountProduct, DiscountSortProperty, DiscountType, DiscountUpdate, Dispute, DisputeCustomer, DisputeNotOpenError, DisputeSortProperty, DisputeStatus, DownloadableFileCreate, DownloadableFileRead, DownloadableRead, Event, EventCreateCustomer, EventCreateExternalCustomer, EventMetadataInput, EventMetadataOutput, EventName, EventNamesSortProperty, EventSortProperty, EventSource, EventType, EventTypeUpdate, EventTypeWithStats, EventTypesSortProperty, EventsIngest, EventsIngestResponse, ExistingProductPrice, ExpiredCheckoutError, FileCreate, FileDownload, FilePatch, FileRead, FileServiceTypes, FileUpload, FileUploadCompleted, Filter, FilterClause, FilterConjunction, FilterOperator, Func, GenericPayment, HTTPValidationError, IntrospectTokenResponse, LLMMetadata, LegacyRecurringProductPrice, LegacyRecurringProductPriceCustom, LegacyRecurringProductPriceFixed, LicenseKeyActivate, LicenseKeyActivationBase, LicenseKeyActivationRead, LicenseKeyCustomer, LicenseKeyDeactivate, LicenseKeyRead, LicenseKeyStatus, LicenseKeyUpdate, LicenseKeyValidate, LicenseKeyWithActivations, ListResourceBenefit, ListResourceBenefitGrant, ListResourceCheckout, ListResourceCheckoutLink, ListResourceCustomField, ListResourceCustomer, ListResourceCustomerBenefitGrant, ListResourceCustomerCustomerMeter, ListResourceCustomerMeter, ListResourceCustomerOrder, ListResourceCustomerPaymentMethod, ListResourceCustomerPortalMember, ListResourceCustomerSubscription, ListResourceCustomerWallet, ListResourceDiscount, ListResourceDispute, ListResourceDownloadableRead, ListResourceEvent, ListResourceEventName, ListResourceEventTypeWithStats, ListResourceFileRead, ListResourceLicenseKeyRead, ListResourceMember, ListResourceMeter, ListResourceOrder, ListResourceOrganization, ListResourcePayment, ListResourcePaymentMethod, ListResourceProduct, ListResourceRefund, ListResourceSubscription, ListResourceWebhookDelivery, ListResourceWebhookEndpoint, ListResourceWithCursorPaginationEvent, ManualRetryLimitExceeded, Member, MemberCreateFromCustomer, MemberOwnerCreate, MemberRole, MemberSortProperty, MemberUpdate, MetadataOutputType, MetadataQuery, Meter, MeterCreate, MeterCreditEvent, MeterCreditedMetadata, MeterQuantities, MeterQuantity, MeterResetEvent, MeterResetMetadata, MeterSortProperty, MeterUnit, MeterUpdate, Metric, MetricDashboardCreate, MetricDashboardSchema, MetricDashboardUpdate, MetricPeriod, MetricType, Metrics, MetricsIntervalLimit, MetricsIntervalsLimits, MetricsLimits, MetricsResponse, MetricsTotals, MissingInvoiceBillingDetails, NotOpenCheckout, NotPermitted, OAuth2ClientConfiguration, OAuth2ClientConfigurationUpdate, OAuth2ClientPublic, OffSessionChargesNotEnabled, Order, OrderBillingReason, OrderCreate, OrderCustomer, OrderFinalize, OrderInvoice, OrderItemSchema, OrderNotDraft, OrderNotEligibleForInvoice, OrderNotEligibleForRetry, OrderPaidEvent, OrderPaidMetadata, OrderProduct, OrderReceipt, OrderRefundedEvent, OrderRefundedMetadata, OrderSortProperty, OrderStatus, OrderSubscription, OrderUpdate, OrderVoidedEvent, OrderVoidedMetadata, Organization, OrganizationAvatarFileCreate, OrganizationAvatarFileRead, OrganizationCapabilities, OrganizationCompanyLegalEntitySchema, OrganizationCreate, OrganizationCustomerEmailSettings, OrganizationCustomerPortalSettings, OrganizationDetails, OrganizationFeatureSettings, OrganizationFeatureSettingsUpdate, OrganizationIndividualLegalEntitySchema, OrganizationNotReadyForPayments, OrganizationSocialLink, OrganizationSocialPlatforms, OrganizationSortProperty, OrganizationStatus, OrganizationSubscriptionSettings, OrganizationUpdate, Pagination, PauseResumeNotAllowed, Payment, PaymentActionRequired, PaymentAlreadyInProgress, PaymentError, PaymentFailed, PaymentMethod, PaymentMethodCard, PaymentMethodCardMetadata, PaymentMethodGeneric, PaymentMethodInUseByActiveSubscription, PaymentMethodSetupFailed, PaymentNotReady, PaymentProcessor, PaymentSortProperty, PaymentStatus, PaymentTrigger, PendingSubscriptionUpdate, Permission, PortalAuthenticatedUser, PresentmentCurrency, Product, ProductBenefitsUpdate, ProductBillingType, ProductCreate, ProductCreateOneTime, ProductCreateRecurring, ProductMediaFileCreate, ProductMediaFileRead, ProductPrice, ProductPriceCustom, ProductPriceCustomCreate, ProductPriceFixed, ProductPriceFixedCreate, ProductPriceMeter, ProductPriceMeteredUnit, ProductPriceMeteredUnitCreate, ProductPriceSeatBased, ProductPriceSeatBasedCreate, ProductPriceSeatTier, ProductPriceSeatTiersInput, ProductPriceSeatTiersOutput, ProductPriceSource, ProductSortProperty, ProductUpdate, ProductVisibility, PropertyAggregation, PublicSubscriptionProrationBehavior, Reason, RecurringInterval, Refund, RefundCreate, RefundDispute, RefundReason, RefundSortProperty, RefundStatus, RefundedAlready, ResourceNotFound, RevokeTokenResponse, Role, S3DownloadURL, S3FileCreateMultipart, S3FileCreatePart, S3FileUploadCompletedPart, S3FileUploadMultipart, S3FileUploadPart, SSOEnforcementRequiresConnection, Scope, SeatAssign, SeatClaim, SeatClaimInfo, SeatStatus, SeatTierType, SeatsList, Status, SubType, Subscription, SubscriptionBillingPeriodUpdatedEvent, SubscriptionBillingPeriodUpdatedMetadata, SubscriptionCancel, SubscriptionCanceledEvent, SubscriptionCanceledMetadata, SubscriptionCreateCustomer, SubscriptionCreateExternalCustomer, SubscriptionCreatedEvent, SubscriptionCreatedMetadata, SubscriptionCustomer, SubscriptionCycledEvent, SubscriptionCycledMetadata, SubscriptionLocked, SubscriptionMeter, SubscriptionPastDueEvent, SubscriptionPastDueMetadata, SubscriptionPause, SubscriptionPausedEvent, SubscriptionPausedMetadata, SubscriptionProductUpdatedEvent, SubscriptionProductUpdatedMetadata, SubscriptionProrationBehavior, SubscriptionReactivatedEvent, SubscriptionReactivatedMetadata, SubscriptionResume, SubscriptionResumedEvent, SubscriptionResumedMetadata, SubscriptionRevoke, SubscriptionRevokedEvent, SubscriptionRevokedMetadata, SubscriptionSeatsUpdatedEvent, SubscriptionSeatsUpdatedMetadata, SubscriptionSortProperty, SubscriptionStatus, SubscriptionUncanceledEvent, SubscriptionUncanceledMetadata, SubscriptionUpdate, SubscriptionUpdateBase, SubscriptionUpdateBillingPeriod, SubscriptionUpdateClear, SubscriptionUpdateClearedEvent, SubscriptionUpdateClearedMetadata, SubscriptionUpdateSeats, SubscriptionUpdatedEvent, SubscriptionUpdatedMetadata, SupportCaseAttachmentFileCreate, SupportCaseAttachmentFileRead, SystemEvent, TaxBehavior, TaxBehaviorOption, TimeInterval, Timeframe, Timezone, TokenEndpointAuthMethod, TokenResponse, TokenType, TrialAlreadyRedeemed, TrialInterval, Unauthorized, UniqueAggregation, UserEvent, UserInfoOrganization, UserInfoUser, ValidatedLicenseKey, ValidationError, WebhookDelivery, WebhookEndpoint, WebhookEndpointCreate, WebhookEndpointUpdate, WebhookEvent, WebhookEventType, WebhookFormat };
3
3
  }
4
4
  /**
5
5
  * AggregationFunction
@@ -2398,6 +2398,83 @@ interface BenefitGrant {
2398
2398
  * BenefitGrantCustomProperties
2399
2399
  */
2400
2400
  interface BenefitGrantCustomProperties extends Record<string, never> {}
2401
+ /**
2402
+ * BenefitGrantCustomWebhook
2403
+ */
2404
+ interface BenefitGrantCustomWebhook {
2405
+ /**
2406
+ * Creation timestamp of the object.
2407
+ */
2408
+ created_at: string;
2409
+ /**
2410
+ * Last modification timestamp of the object.
2411
+ */
2412
+ modified_at: string | null;
2413
+ /**
2414
+ * The ID of the grant.
2415
+ */
2416
+ id: string;
2417
+ /**
2418
+ * The timestamp when the benefit was granted. If `None`, the benefit is not granted.
2419
+ */
2420
+ granted_at?: string | null;
2421
+ /**
2422
+ * Whether the benefit is granted.
2423
+ */
2424
+ is_granted: boolean;
2425
+ /**
2426
+ * The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.
2427
+ */
2428
+ revoked_at?: string | null;
2429
+ /**
2430
+ * Whether the benefit is revoked.
2431
+ */
2432
+ is_revoked: boolean;
2433
+ /**
2434
+ * The ID of the subscription that granted this benefit.
2435
+ */
2436
+ subscription_id: string | null;
2437
+ /**
2438
+ * The ID of the order that granted this benefit.
2439
+ */
2440
+ order_id: string | null;
2441
+ /**
2442
+ * The ID of the customer concerned by this grant.
2443
+ */
2444
+ customer_id: string;
2445
+ /**
2446
+ * The ID of the member concerned by this grant.
2447
+ */
2448
+ member_id?: string | null;
2449
+ /**
2450
+ * The ID of the benefit concerned by this grant.
2451
+ */
2452
+ benefit_id: string;
2453
+ /**
2454
+ * The error information if the benefit grant failed with an unrecoverable error.
2455
+ */
2456
+ error?: BenefitGrantError | null;
2457
+ /**
2458
+ * customer
2459
+ */
2460
+ customer: Customer;
2461
+ /**
2462
+ * member
2463
+ */
2464
+ member?: Member | null;
2465
+ /**
2466
+ * benefit
2467
+ */
2468
+ benefit: BenefitCustom;
2469
+ /**
2470
+ * properties
2471
+ */
2472
+ properties: BenefitGrantCustomProperties;
2473
+ /**
2474
+ * previous_properties
2475
+ */
2476
+ previous_properties?: BenefitGrantCustomProperties | null;
2477
+ }
2401
2478
  /**
2402
2479
  * BenefitGrantDiscordProperties
2403
2480
  */
@@ -2407,89 +2484,474 @@ interface BenefitGrantDiscordProperties {
2407
2484
  */
2408
2485
  account_id?: string | null;
2409
2486
  /**
2410
- * guild_id
2487
+ * guild_id
2488
+ */
2489
+ guild_id?: string;
2490
+ /**
2491
+ * role_id
2492
+ */
2493
+ role_id?: string;
2494
+ /**
2495
+ * granted_account_id
2496
+ */
2497
+ granted_account_id?: string;
2498
+ }
2499
+ /**
2500
+ * BenefitGrantDiscordWebhook
2501
+ */
2502
+ interface BenefitGrantDiscordWebhook {
2503
+ /**
2504
+ * Creation timestamp of the object.
2505
+ */
2506
+ created_at: string;
2507
+ /**
2508
+ * Last modification timestamp of the object.
2509
+ */
2510
+ modified_at: string | null;
2511
+ /**
2512
+ * The ID of the grant.
2513
+ */
2514
+ id: string;
2515
+ /**
2516
+ * The timestamp when the benefit was granted. If `None`, the benefit is not granted.
2517
+ */
2518
+ granted_at?: string | null;
2519
+ /**
2520
+ * Whether the benefit is granted.
2521
+ */
2522
+ is_granted: boolean;
2523
+ /**
2524
+ * The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.
2525
+ */
2526
+ revoked_at?: string | null;
2527
+ /**
2528
+ * Whether the benefit is revoked.
2529
+ */
2530
+ is_revoked: boolean;
2531
+ /**
2532
+ * The ID of the subscription that granted this benefit.
2533
+ */
2534
+ subscription_id: string | null;
2535
+ /**
2536
+ * The ID of the order that granted this benefit.
2537
+ */
2538
+ order_id: string | null;
2539
+ /**
2540
+ * The ID of the customer concerned by this grant.
2541
+ */
2542
+ customer_id: string;
2543
+ /**
2544
+ * The ID of the member concerned by this grant.
2545
+ */
2546
+ member_id?: string | null;
2547
+ /**
2548
+ * The ID of the benefit concerned by this grant.
2549
+ */
2550
+ benefit_id: string;
2551
+ /**
2552
+ * The error information if the benefit grant failed with an unrecoverable error.
2553
+ */
2554
+ error?: BenefitGrantError | null;
2555
+ /**
2556
+ * customer
2557
+ */
2558
+ customer: Customer;
2559
+ /**
2560
+ * member
2561
+ */
2562
+ member?: Member | null;
2563
+ /**
2564
+ * benefit
2565
+ */
2566
+ benefit: BenefitDiscord;
2567
+ /**
2568
+ * properties
2569
+ */
2570
+ properties: BenefitGrantDiscordProperties;
2571
+ /**
2572
+ * previous_properties
2573
+ */
2574
+ previous_properties?: BenefitGrantDiscordProperties | null;
2575
+ }
2576
+ /**
2577
+ * BenefitGrantDownloadablesProperties
2578
+ */
2579
+ interface BenefitGrantDownloadablesProperties {
2580
+ /**
2581
+ * files
2582
+ */
2583
+ files?: string[];
2584
+ }
2585
+ /**
2586
+ * BenefitGrantDownloadablesWebhook
2587
+ */
2588
+ interface BenefitGrantDownloadablesWebhook {
2589
+ /**
2590
+ * Creation timestamp of the object.
2591
+ */
2592
+ created_at: string;
2593
+ /**
2594
+ * Last modification timestamp of the object.
2595
+ */
2596
+ modified_at: string | null;
2597
+ /**
2598
+ * The ID of the grant.
2599
+ */
2600
+ id: string;
2601
+ /**
2602
+ * The timestamp when the benefit was granted. If `None`, the benefit is not granted.
2603
+ */
2604
+ granted_at?: string | null;
2605
+ /**
2606
+ * Whether the benefit is granted.
2607
+ */
2608
+ is_granted: boolean;
2609
+ /**
2610
+ * The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.
2611
+ */
2612
+ revoked_at?: string | null;
2613
+ /**
2614
+ * Whether the benefit is revoked.
2615
+ */
2616
+ is_revoked: boolean;
2617
+ /**
2618
+ * The ID of the subscription that granted this benefit.
2619
+ */
2620
+ subscription_id: string | null;
2621
+ /**
2622
+ * The ID of the order that granted this benefit.
2623
+ */
2624
+ order_id: string | null;
2625
+ /**
2626
+ * The ID of the customer concerned by this grant.
2627
+ */
2628
+ customer_id: string;
2629
+ /**
2630
+ * The ID of the member concerned by this grant.
2631
+ */
2632
+ member_id?: string | null;
2633
+ /**
2634
+ * The ID of the benefit concerned by this grant.
2635
+ */
2636
+ benefit_id: string;
2637
+ /**
2638
+ * The error information if the benefit grant failed with an unrecoverable error.
2639
+ */
2640
+ error?: BenefitGrantError | null;
2641
+ /**
2642
+ * customer
2643
+ */
2644
+ customer: Customer;
2645
+ /**
2646
+ * member
2647
+ */
2648
+ member?: Member | null;
2649
+ /**
2650
+ * benefit
2651
+ */
2652
+ benefit: BenefitDownloadables;
2653
+ /**
2654
+ * properties
2655
+ */
2656
+ properties: BenefitGrantDownloadablesProperties;
2657
+ /**
2658
+ * previous_properties
2659
+ */
2660
+ previous_properties?: BenefitGrantDownloadablesProperties | null;
2661
+ }
2662
+ /**
2663
+ * BenefitGrantError
2664
+ */
2665
+ interface BenefitGrantError {
2666
+ /**
2667
+ * message
2668
+ */
2669
+ message: string;
2670
+ /**
2671
+ * type
2672
+ */
2673
+ type: string;
2674
+ /**
2675
+ * timestamp
2676
+ */
2677
+ timestamp: string;
2678
+ }
2679
+ /**
2680
+ * BenefitGrantFeatureFlagProperties
2681
+ */
2682
+ interface BenefitGrantFeatureFlagProperties extends Record<string, never> {}
2683
+ /**
2684
+ * BenefitGrantFeatureFlagWebhook
2685
+ */
2686
+ interface BenefitGrantFeatureFlagWebhook {
2687
+ /**
2688
+ * Creation timestamp of the object.
2689
+ */
2690
+ created_at: string;
2691
+ /**
2692
+ * Last modification timestamp of the object.
2693
+ */
2694
+ modified_at: string | null;
2695
+ /**
2696
+ * The ID of the grant.
2697
+ */
2698
+ id: string;
2699
+ /**
2700
+ * The timestamp when the benefit was granted. If `None`, the benefit is not granted.
2701
+ */
2702
+ granted_at?: string | null;
2703
+ /**
2704
+ * Whether the benefit is granted.
2705
+ */
2706
+ is_granted: boolean;
2707
+ /**
2708
+ * The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.
2709
+ */
2710
+ revoked_at?: string | null;
2711
+ /**
2712
+ * Whether the benefit is revoked.
2713
+ */
2714
+ is_revoked: boolean;
2715
+ /**
2716
+ * The ID of the subscription that granted this benefit.
2717
+ */
2718
+ subscription_id: string | null;
2719
+ /**
2720
+ * The ID of the order that granted this benefit.
2721
+ */
2722
+ order_id: string | null;
2723
+ /**
2724
+ * The ID of the customer concerned by this grant.
2725
+ */
2726
+ customer_id: string;
2727
+ /**
2728
+ * The ID of the member concerned by this grant.
2729
+ */
2730
+ member_id?: string | null;
2731
+ /**
2732
+ * The ID of the benefit concerned by this grant.
2733
+ */
2734
+ benefit_id: string;
2735
+ /**
2736
+ * The error information if the benefit grant failed with an unrecoverable error.
2737
+ */
2738
+ error?: BenefitGrantError | null;
2739
+ /**
2740
+ * customer
2741
+ */
2742
+ customer: Customer;
2743
+ /**
2744
+ * member
2745
+ */
2746
+ member?: Member | null;
2747
+ /**
2748
+ * benefit
2749
+ */
2750
+ benefit: BenefitFeatureFlag;
2751
+ /**
2752
+ * properties
2753
+ */
2754
+ properties: BenefitGrantFeatureFlagProperties;
2755
+ /**
2756
+ * previous_properties
2757
+ */
2758
+ previous_properties?: BenefitGrantFeatureFlagProperties | null;
2759
+ }
2760
+ /**
2761
+ * BenefitGrantGitHubRepositoryProperties
2762
+ */
2763
+ interface BenefitGrantGitHubRepositoryProperties {
2764
+ /**
2765
+ * account_id
2766
+ */
2767
+ account_id?: string | null;
2768
+ /**
2769
+ * repository_owner
2770
+ */
2771
+ repository_owner?: string;
2772
+ /**
2773
+ * repository_name
2774
+ */
2775
+ repository_name?: string;
2776
+ /**
2777
+ * permission
2778
+ */
2779
+ permission?: Permission;
2780
+ /**
2781
+ * granted_account_id
2782
+ */
2783
+ granted_account_id?: string;
2784
+ }
2785
+ /**
2786
+ * BenefitGrantGitHubRepositoryWebhook
2787
+ */
2788
+ interface BenefitGrantGitHubRepositoryWebhook {
2789
+ /**
2790
+ * Creation timestamp of the object.
2791
+ */
2792
+ created_at: string;
2793
+ /**
2794
+ * Last modification timestamp of the object.
2795
+ */
2796
+ modified_at: string | null;
2797
+ /**
2798
+ * The ID of the grant.
2799
+ */
2800
+ id: string;
2801
+ /**
2802
+ * The timestamp when the benefit was granted. If `None`, the benefit is not granted.
2803
+ */
2804
+ granted_at?: string | null;
2805
+ /**
2806
+ * Whether the benefit is granted.
2807
+ */
2808
+ is_granted: boolean;
2809
+ /**
2810
+ * The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.
2811
+ */
2812
+ revoked_at?: string | null;
2813
+ /**
2814
+ * Whether the benefit is revoked.
2815
+ */
2816
+ is_revoked: boolean;
2817
+ /**
2818
+ * The ID of the subscription that granted this benefit.
2819
+ */
2820
+ subscription_id: string | null;
2821
+ /**
2822
+ * The ID of the order that granted this benefit.
2823
+ */
2824
+ order_id: string | null;
2825
+ /**
2826
+ * The ID of the customer concerned by this grant.
2827
+ */
2828
+ customer_id: string;
2829
+ /**
2830
+ * The ID of the member concerned by this grant.
2831
+ */
2832
+ member_id?: string | null;
2833
+ /**
2834
+ * The ID of the benefit concerned by this grant.
2835
+ */
2836
+ benefit_id: string;
2837
+ /**
2838
+ * The error information if the benefit grant failed with an unrecoverable error.
2839
+ */
2840
+ error?: BenefitGrantError | null;
2841
+ /**
2842
+ * customer
2843
+ */
2844
+ customer: Customer;
2845
+ /**
2846
+ * member
2847
+ */
2848
+ member?: Member | null;
2849
+ /**
2850
+ * benefit
2411
2851
  */
2412
- guild_id?: string;
2852
+ benefit: BenefitGitHubRepository;
2413
2853
  /**
2414
- * role_id
2854
+ * properties
2415
2855
  */
2416
- role_id?: string;
2856
+ properties: BenefitGrantGitHubRepositoryProperties;
2417
2857
  /**
2418
- * granted_account_id
2858
+ * previous_properties
2419
2859
  */
2420
- granted_account_id?: string;
2860
+ previous_properties?: BenefitGrantGitHubRepositoryProperties | null;
2421
2861
  }
2422
2862
  /**
2423
- * BenefitGrantDownloadablesProperties
2863
+ * BenefitGrantLicenseKeysProperties
2424
2864
  */
2425
- interface BenefitGrantDownloadablesProperties {
2865
+ interface BenefitGrantLicenseKeysProperties {
2426
2866
  /**
2427
- * files
2867
+ * user_provided_key
2428
2868
  */
2429
- files?: string[];
2869
+ user_provided_key?: string;
2870
+ /**
2871
+ * license_key_id
2872
+ */
2873
+ license_key_id?: string;
2874
+ /**
2875
+ * display_key
2876
+ */
2877
+ display_key?: string;
2430
2878
  }
2431
2879
  /**
2432
- * BenefitGrantError
2880
+ * BenefitGrantLicenseKeysWebhook
2433
2881
  */
2434
- interface BenefitGrantError {
2882
+ interface BenefitGrantLicenseKeysWebhook {
2435
2883
  /**
2436
- * message
2884
+ * Creation timestamp of the object.
2437
2885
  */
2438
- message: string;
2886
+ created_at: string;
2439
2887
  /**
2440
- * type
2888
+ * Last modification timestamp of the object.
2441
2889
  */
2442
- type: string;
2890
+ modified_at: string | null;
2443
2891
  /**
2444
- * timestamp
2892
+ * The ID of the grant.
2445
2893
  */
2446
- timestamp: string;
2447
- }
2448
- /**
2449
- * BenefitGrantFeatureFlagProperties
2450
- */
2451
- interface BenefitGrantFeatureFlagProperties extends Record<string, never> {}
2452
- /**
2453
- * BenefitGrantGitHubRepositoryProperties
2454
- */
2455
- interface BenefitGrantGitHubRepositoryProperties {
2894
+ id: string;
2456
2895
  /**
2457
- * account_id
2896
+ * The timestamp when the benefit was granted. If `None`, the benefit is not granted.
2458
2897
  */
2459
- account_id?: string | null;
2898
+ granted_at?: string | null;
2460
2899
  /**
2461
- * repository_owner
2900
+ * Whether the benefit is granted.
2462
2901
  */
2463
- repository_owner?: string;
2902
+ is_granted: boolean;
2464
2903
  /**
2465
- * repository_name
2904
+ * The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.
2466
2905
  */
2467
- repository_name?: string;
2906
+ revoked_at?: string | null;
2468
2907
  /**
2469
- * permission
2908
+ * Whether the benefit is revoked.
2470
2909
  */
2471
- permission?: Permission;
2910
+ is_revoked: boolean;
2472
2911
  /**
2473
- * granted_account_id
2912
+ * The ID of the subscription that granted this benefit.
2474
2913
  */
2475
- granted_account_id?: string;
2476
- }
2477
- /**
2478
- * BenefitGrantLicenseKeysProperties
2479
- */
2480
- interface BenefitGrantLicenseKeysProperties {
2914
+ subscription_id: string | null;
2481
2915
  /**
2482
- * user_provided_key
2916
+ * The ID of the order that granted this benefit.
2483
2917
  */
2484
- user_provided_key?: string;
2918
+ order_id: string | null;
2485
2919
  /**
2486
- * license_key_id
2920
+ * The ID of the customer concerned by this grant.
2487
2921
  */
2488
- license_key_id?: string;
2922
+ customer_id: string;
2489
2923
  /**
2490
- * display_key
2924
+ * The ID of the member concerned by this grant.
2491
2925
  */
2492
- display_key?: string;
2926
+ member_id?: string | null;
2927
+ /**
2928
+ * The ID of the benefit concerned by this grant.
2929
+ */
2930
+ benefit_id: string;
2931
+ /**
2932
+ * The error information if the benefit grant failed with an unrecoverable error.
2933
+ */
2934
+ error?: BenefitGrantError | null;
2935
+ /**
2936
+ * customer
2937
+ */
2938
+ customer: Customer;
2939
+ /**
2940
+ * member
2941
+ */
2942
+ member?: Member | null;
2943
+ /**
2944
+ * benefit
2945
+ */
2946
+ benefit: BenefitLicenseKeys;
2947
+ /**
2948
+ * properties
2949
+ */
2950
+ properties: BenefitGrantLicenseKeysProperties;
2951
+ /**
2952
+ * previous_properties
2953
+ */
2954
+ previous_properties?: BenefitGrantLicenseKeysProperties | null;
2493
2955
  }
2494
2956
  /**
2495
2957
  * BenefitGrantMetadata
@@ -2529,6 +2991,83 @@ interface BenefitGrantMeterCreditProperties {
2529
2991
  */
2530
2992
  last_credited_at?: string;
2531
2993
  }
2994
+ /**
2995
+ * BenefitGrantMeterCreditWebhook
2996
+ */
2997
+ interface BenefitGrantMeterCreditWebhook {
2998
+ /**
2999
+ * Creation timestamp of the object.
3000
+ */
3001
+ created_at: string;
3002
+ /**
3003
+ * Last modification timestamp of the object.
3004
+ */
3005
+ modified_at: string | null;
3006
+ /**
3007
+ * The ID of the grant.
3008
+ */
3009
+ id: string;
3010
+ /**
3011
+ * The timestamp when the benefit was granted. If `None`, the benefit is not granted.
3012
+ */
3013
+ granted_at?: string | null;
3014
+ /**
3015
+ * Whether the benefit is granted.
3016
+ */
3017
+ is_granted: boolean;
3018
+ /**
3019
+ * The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.
3020
+ */
3021
+ revoked_at?: string | null;
3022
+ /**
3023
+ * Whether the benefit is revoked.
3024
+ */
3025
+ is_revoked: boolean;
3026
+ /**
3027
+ * The ID of the subscription that granted this benefit.
3028
+ */
3029
+ subscription_id: string | null;
3030
+ /**
3031
+ * The ID of the order that granted this benefit.
3032
+ */
3033
+ order_id: string | null;
3034
+ /**
3035
+ * The ID of the customer concerned by this grant.
3036
+ */
3037
+ customer_id: string;
3038
+ /**
3039
+ * The ID of the member concerned by this grant.
3040
+ */
3041
+ member_id?: string | null;
3042
+ /**
3043
+ * The ID of the benefit concerned by this grant.
3044
+ */
3045
+ benefit_id: string;
3046
+ /**
3047
+ * The error information if the benefit grant failed with an unrecoverable error.
3048
+ */
3049
+ error?: BenefitGrantError | null;
3050
+ /**
3051
+ * customer
3052
+ */
3053
+ customer: Customer;
3054
+ /**
3055
+ * member
3056
+ */
3057
+ member?: Member | null;
3058
+ /**
3059
+ * benefit
3060
+ */
3061
+ benefit: BenefitMeterCredit;
3062
+ /**
3063
+ * properties
3064
+ */
3065
+ properties: BenefitGrantMeterCreditProperties;
3066
+ /**
3067
+ * previous_properties
3068
+ */
3069
+ previous_properties?: BenefitGrantMeterCreditProperties | null;
3070
+ }
2532
3071
  /**
2533
3072
  * BenefitGrantSlackSharedChannelProperties
2534
3073
  */
@@ -2558,6 +3097,83 @@ interface BenefitGrantSlackSharedChannelProperties {
2558
3097
  */
2559
3098
  connected_team_id?: string;
2560
3099
  }
3100
+ /**
3101
+ * BenefitGrantSlackSharedChannelWebhook
3102
+ */
3103
+ interface BenefitGrantSlackSharedChannelWebhook {
3104
+ /**
3105
+ * Creation timestamp of the object.
3106
+ */
3107
+ created_at: string;
3108
+ /**
3109
+ * Last modification timestamp of the object.
3110
+ */
3111
+ modified_at: string | null;
3112
+ /**
3113
+ * The ID of the grant.
3114
+ */
3115
+ id: string;
3116
+ /**
3117
+ * The timestamp when the benefit was granted. If `None`, the benefit is not granted.
3118
+ */
3119
+ granted_at?: string | null;
3120
+ /**
3121
+ * Whether the benefit is granted.
3122
+ */
3123
+ is_granted: boolean;
3124
+ /**
3125
+ * The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.
3126
+ */
3127
+ revoked_at?: string | null;
3128
+ /**
3129
+ * Whether the benefit is revoked.
3130
+ */
3131
+ is_revoked: boolean;
3132
+ /**
3133
+ * The ID of the subscription that granted this benefit.
3134
+ */
3135
+ subscription_id: string | null;
3136
+ /**
3137
+ * The ID of the order that granted this benefit.
3138
+ */
3139
+ order_id: string | null;
3140
+ /**
3141
+ * The ID of the customer concerned by this grant.
3142
+ */
3143
+ customer_id: string;
3144
+ /**
3145
+ * The ID of the member concerned by this grant.
3146
+ */
3147
+ member_id?: string | null;
3148
+ /**
3149
+ * The ID of the benefit concerned by this grant.
3150
+ */
3151
+ benefit_id: string;
3152
+ /**
3153
+ * The error information if the benefit grant failed with an unrecoverable error.
3154
+ */
3155
+ error?: BenefitGrantError | null;
3156
+ /**
3157
+ * customer
3158
+ */
3159
+ customer: Customer;
3160
+ /**
3161
+ * member
3162
+ */
3163
+ member?: Member | null;
3164
+ /**
3165
+ * benefit
3166
+ */
3167
+ benefit: BenefitSlackSharedChannel;
3168
+ /**
3169
+ * properties
3170
+ */
3171
+ properties: BenefitGrantSlackSharedChannelProperties;
3172
+ /**
3173
+ * previous_properties
3174
+ */
3175
+ previous_properties?: BenefitGrantSlackSharedChannelProperties | null;
3176
+ }
2561
3177
  /**
2562
3178
  * An event created by Polar when a benefit is granted to a customer.
2563
3179
  */
@@ -19446,6 +20062,10 @@ type Benefit = BenefitCustom | BenefitDiscord | BenefitGitHubRepository | Benefi
19446
20062
  * BenefitCreate
19447
20063
  */
19448
20064
  type BenefitCreate = BenefitCustomCreate | BenefitDiscordCreate | BenefitGitHubRepositoryCreate | BenefitDownloadablesCreate | BenefitLicenseKeysCreate | BenefitMeterCreditCreate | BenefitFeatureFlagCreate | BenefitSlackSharedChannelCreate;
20065
+ /**
20066
+ * BenefitGrantWebhook
20067
+ */
20068
+ type BenefitGrantWebhook = BenefitGrantDiscordWebhook | BenefitGrantCustomWebhook | BenefitGrantGitHubRepositoryWebhook | BenefitGrantDownloadablesWebhook | BenefitGrantLicenseKeysWebhook | BenefitGrantMeterCreditWebhook | BenefitGrantFeatureFlagWebhook | BenefitGrantSlackSharedChannelWebhook;
19449
20069
  /**
19450
20070
  * CheckoutForbiddenError
19451
20071
  */
@@ -19551,5 +20171,5 @@ type SubscriptionUpdate = SubscriptionUpdateBase | SubscriptionUpdateSeats | Sub
19551
20171
  */
19552
20172
  type SystemEvent = MeterCreditEvent | MeterResetEvent | BenefitGrantedEvent | BenefitCycledEvent | BenefitUpdatedEvent | BenefitRevokedEvent | SubscriptionCreatedEvent | SubscriptionUpdatedEvent | SubscriptionCycledEvent | SubscriptionCanceledEvent | SubscriptionRevokedEvent | SubscriptionPastDueEvent | SubscriptionReactivatedEvent | SubscriptionPausedEvent | SubscriptionResumedEvent | SubscriptionUncanceledEvent | SubscriptionProductUpdatedEvent | SubscriptionSeatsUpdatedEvent | SubscriptionBillingPeriodUpdatedEvent | SubscriptionUpdateClearedEvent | OrderPaidEvent | OrderRefundedEvent | OrderVoidedEvent | CheckoutCreatedEvent | CustomerCreatedEvent | CustomerUpdatedEvent | CustomerDeletedEvent | BalanceOrderEvent | BalanceCreditOrderEvent | BalanceRefundEvent | BalanceRefundReversalEvent | BalanceDisputeEvent | BalanceDisputeReversalEvent;
19553
20173
  //#endregion
19554
- export { CustomerMeterSortProperty as $, MemberRole as $n, RefundSortProperty as $r, EventsIngestResponse as $t, CheckoutPublicConfirmed as A, ListResourceDiscount as An, OrganizationNotReadyForPayments as Ar, CustomerUpdate as At, Customer as B, ListResourceOrder as Bn, PaymentMethodSetupFailed as Br, DisputeSortProperty as Bt, CheckoutCreate as C, WebhookEndpoint as Ci, ListResourceCustomerCustomerMeter as Cn, OrderNotEligibleForInvoice as Cr, CustomerSessionCustomerExternalIDCreate as Ct, CheckoutLinkSortProperty as D, models_d_exports as Di, ListResourceCustomerPortalMember as Dn, OrderUpdate as Dr, CustomerSubscription as Dt, CheckoutLinkCreate as E, WebhookEventType as Ei, ListResourceCustomerPaymentMethod as En, OrderSortProperty as Er, CustomerState as Et, CustomField as F, ListResourceEventTypeWithStats as Fn, PaymentAlreadyInProgress as Fr, DiscountCreate as Ft, CustomerCreate as G, ListResourceRefund as Gn, ProductBenefitsUpdate as Gr, EventNamesSortProperty as Gt, CustomerBenefitGrantSortProperty as H, ListResourcePayment as Hn, PaymentStatus as Hr, DownloadableRead as Ht, CustomFieldCreate as I, ListResourceFileRead as In, PaymentError as Ir, DiscountSortProperty as It, CustomerCustomerSession as J, ListResourceWebhookEndpoint as Jn, ProductSortProperty as Jr, EventType as Jt, CustomerCustomerMeter as K, ListResourceSubscription as Kn, ProductBillingType as Kr, EventSortProperty as Kt, CustomFieldSortProperty as L, ListResourceLicenseKeyRead as Ln, PaymentFailed as Lr, DiscountUpdate as Lt, CheckoutStatus as M, ListResourceDownloadableRead as Mn, OrganizationUpdate as Mr, CustomerWallet as Mt, CheckoutUpdate as N, ListResourceEvent as Nn, Payment as Nr, CustomerWalletSortProperty as Nt, CheckoutLinkUpdate as O, __exportAll as Oi, ListResourceCustomerSubscription as On, Organization as Or, CustomerSubscriptionSortProperty as Ot, CheckoutUpdatePublic as P, ListResourceEventName as Pn, PaymentActionRequired as Pr, Discount as Pt, CustomerMeter as Q, MemberCreateFromCustomer as Qn, RefundCreate as Qr, EventsIngest as Qt, CustomFieldType as R, ListResourceMember as Rn, PaymentMethod as Rr, Dispute as Rt, CheckoutConfirmStripe as S, WebhookDelivery as Si, ListResourceCustomerBenefitGrant as Sn, OrderNotDraft as Sr, CustomerSession as St, CheckoutLink as T, WebhookEndpointUpdate as Ti, ListResourceCustomerOrder as Tn, OrderReceipt as Tr, CustomerSortProperty as Tt, CustomerBenefitGrantUpdate as U, ListResourcePaymentMethod as Un, PortalAuthenticatedUser as Ur, Event as Ut, CustomerBenefitGrant as V, ListResourceOrganization as Vn, PaymentSortProperty as Vr, DisputeStatus as Vt, CustomerCancellationReason as W, ListResourceProduct as Wn, Product as Wr, EventName as Wt, CustomerEmailUpdateVerifyRequest as X, ManualRetryLimitExceeded as Xn, ProductVisibility as Xr, EventTypeWithStats as Xt, CustomerEmailUpdateRequest as Y, ListResourceWithCursorPaginationEvent as Yn, ProductUpdate as Yr, EventTypeUpdate as Yt, CustomerEmailUpdateVerifyResponse as Z, Member as Zn, Refund as Zr, EventTypesSortProperty as Zt, BenefitSlackSharedChannelUpdate as _, TokenResponse as _i, ListResourceBenefitGrant as _n, OffSessionChargesNotEnabled as _r, CustomerPortalMemberCreate as _t, AuthorizeResponseUser as a, SeatClaim as ai, FileUploadCompleted as an, MeterQuantities as ar, CustomerOrderPaymentStatus as at, CannotCreateOrganizationError as b, UserInfoUser as bi, ListResourceCustomField as bn, OrderFinalize as br, CustomerSeatAssign as bt, BenefitCustomUpdate as c, Subscription as ci, LicenseKeyActivate as cn, MetricDashboardCreate as cr, CustomerOrderUpdate as ct, BenefitFeatureFlagUpdate as d, SubscriptionLocked as di, LicenseKeyRead as dn, MetricsLimits as dr, CustomerPaymentMethodConfirm as dt, RefundedAlready as ei, ExpiredCheckoutError as en, MemberSortProperty as er, CustomerNotReady as et, BenefitGitHubRepositoryUpdate as f, SubscriptionSortProperty as fi, LicenseKeyStatus as fn, MetricsResponse as fr, CustomerPaymentMethodCreate as ft, BenefitMeterCreditUpdate as g, Timezone as gi, ListResourceBenefit as gn, OAuth2ClientConfigurationUpdate as gr, CustomerPortalMember as gt, BenefitLicenseKeysUpdate as h, TimeInterval as hi, LicenseKeyWithActivations as hn, OAuth2ClientConfiguration as hr, CustomerPortalCustomerUpdate as ht, AuthorizeResponseOrganization as i, SeatAssign as ii, FileUpload as in, MeterCreate as ir, CustomerOrderPaymentConfirmation as it, CheckoutSortProperty as j, ListResourceDispute as jn, OrganizationSortProperty as jr, CustomerUpdateExternalID as jt, CheckoutPublic as k, ListResourceCustomerWallet as kn, OrganizationCreate as kr, CustomerSubscriptionUpdate as kt, BenefitDiscordUpdate as l, SubscriptionCreateCustomer as li, LicenseKeyActivationRead as ln, MetricDashboardSchema as lr, CustomerOrganizationData as lt, BenefitGrantSortProperty as m, SubscriptionUpdate as mi, LicenseKeyValidate as mn, NotPermitted as mr, CustomerPortalCustomer as mt, AlreadyCanceledSubscription as n, RevokeTokenResponse as ni, FilePatch as nn, MetadataQuery as nr, CustomerOrderConfirmPayment as nt, Benefit as o, SeatClaimInfo as oi, HTTPValidationError as on, MeterSortProperty as or, CustomerOrderReceipt as ot, BenefitGrant as p, SubscriptionStatus as pi, LicenseKeyUpdate as pn, MissingInvoiceBillingDetails as pr, CustomerPaymentMethodCreateResponse as pt, CustomerCustomerMeterSortProperty as q, ListResourceWebhookDelivery as qn, ProductCreate as qr, EventSource as qt, AmbiguousExternalCustomerID as r, SSOEnforcementRequiresConnection as ri, FileRead as rn, Meter as rr, CustomerOrderInvoice as rt, BenefitCreate as s, SeatsList as si, IntrospectTokenResponse as sn, MeterUpdate as sr, CustomerOrderSortProperty as st, AggregationFunction as t, ResourceNotFound as ti, FileCreate as tn, MemberUpdate as tr, CustomerOrder as tt, BenefitDownloadablesUpdate as u, SubscriptionCreateExternalCustomer as ui, LicenseKeyDeactivate as un, MetricDashboardUpdate as ur, CustomerPaymentMethod as ut, BenefitSortProperty as v, Unauthorized as vi, ListResourceCheckout as vn, Order as vr, CustomerPortalMemberUpdate as vt, CheckoutForbiddenError as w, WebhookEndpointCreate as wi, ListResourceCustomerMeter as wn, OrderNotEligibleForRetry as wr, CustomerSessionCustomerIDCreate as wt, Checkout as x, ValidatedLicenseKey as xi, ListResourceCustomer as xn, OrderInvoice as xr, CustomerSeatClaimResponse as xt, BenefitType as y, UserInfoOrganization as yi, ListResourceCheckoutLink as yn, OrderCreate as yr, CustomerSeat as yt, CustomFieldUpdate as z, ListResourceMeter as zn, PaymentMethodInUseByActiveSubscription as zr, DisputeNotOpenError as zt };
19555
- //# sourceMappingURL=models-IotBovey.d.cts.map
20174
+ export { CustomerMeter as $, MemberCreateFromCustomer as $n, RefundCreate as $r, EventsIngest as $t, CheckoutPublic as A, ListResourceCustomerWallet as An, OrganizationCreate as Ar, CustomerSubscriptionUpdate as At, CustomFieldUpdate as B, ListResourceMeter as Bn, PaymentMethodInUseByActiveSubscription as Br, DisputeNotOpenError as Bt, CheckoutConfirmStripe as C, WebhookDelivery as Ci, ListResourceCustomerBenefitGrant as Cn, OrderNotDraft as Cr, CustomerSession as Ct, CheckoutLinkCreate as D, WebhookEventType as Di, ListResourceCustomerPaymentMethod as Dn, OrderSortProperty as Dr, CustomerState as Dt, CheckoutLink as E, WebhookEndpointUpdate as Ei, ListResourceCustomerOrder as En, OrderReceipt as Er, CustomerSortProperty as Et, CheckoutUpdatePublic as F, ListResourceEventName as Fn, PaymentActionRequired as Fr, Discount as Ft, CustomerCancellationReason as G, ListResourceProduct as Gn, Product as Gr, EventName as Gt, CustomerBenefitGrant as H, ListResourceOrganization as Hn, PaymentSortProperty as Hr, DisputeStatus as Ht, CustomField as I, ListResourceEventTypeWithStats as In, PaymentAlreadyInProgress as Ir, DiscountCreate as It, CustomerCustomerMeterSortProperty as J, ListResourceWebhookDelivery as Jn, ProductCreate as Jr, EventSource as Jt, CustomerCreate as K, ListResourceRefund as Kn, ProductBenefitsUpdate as Kr, EventNamesSortProperty as Kt, CustomFieldCreate as L, ListResourceFileRead as Ln, PaymentError as Lr, DiscountSortProperty as Lt, CheckoutSortProperty as M, ListResourceDispute as Mn, OrganizationSortProperty as Mr, CustomerUpdateExternalID as Mt, CheckoutStatus as N, ListResourceDownloadableRead as Nn, OrganizationUpdate as Nr, CustomerWallet as Nt, CheckoutLinkSortProperty as O, models_d_exports as Oi, ListResourceCustomerPortalMember as On, OrderUpdate as Or, CustomerSubscription as Ot, CheckoutUpdate as P, ListResourceEvent as Pn, Payment as Pr, CustomerWalletSortProperty as Pt, CustomerEmailUpdateVerifyResponse as Q, Member as Qn, Refund as Qr, EventTypesSortProperty as Qt, CustomFieldSortProperty as R, ListResourceLicenseKeyRead as Rn, PaymentFailed as Rr, DiscountUpdate as Rt, Checkout as S, ValidatedLicenseKey as Si, ListResourceCustomer as Sn, OrderInvoice as Sr, CustomerSeatClaimResponse as St, CheckoutForbiddenError as T, WebhookEndpointCreate as Ti, ListResourceCustomerMeter as Tn, OrderNotEligibleForRetry as Tr, CustomerSessionCustomerIDCreate as Tt, CustomerBenefitGrantSortProperty as U, ListResourcePayment as Un, PaymentStatus as Ur, DownloadableRead as Ut, Customer as V, ListResourceOrder as Vn, PaymentMethodSetupFailed as Vr, DisputeSortProperty as Vt, CustomerBenefitGrantUpdate as W, ListResourcePaymentMethod as Wn, PortalAuthenticatedUser as Wr, Event as Wt, CustomerEmailUpdateRequest as X, ListResourceWithCursorPaginationEvent as Xn, ProductUpdate as Xr, EventTypeUpdate as Xt, CustomerCustomerSession as Y, ListResourceWebhookEndpoint as Yn, ProductSortProperty as Yr, EventType as Yt, CustomerEmailUpdateVerifyRequest as Z, ManualRetryLimitExceeded as Zn, ProductVisibility as Zr, EventTypeWithStats as Zt, BenefitMeterCreditUpdate as _, Timezone as _i, ListResourceBenefit as _n, OAuth2ClientConfigurationUpdate as _r, CustomerPortalMember as _t, AuthorizeResponseUser as a, SeatAssign as ai, FileUpload as an, MeterCreate as ar, CustomerOrderPaymentConfirmation as at, BenefitType as b, UserInfoOrganization as bi, ListResourceCheckoutLink as bn, OrderCreate as br, CustomerSeat as bt, BenefitCustomUpdate as c, SeatsList as ci, IntrospectTokenResponse as cn, MeterUpdate as cr, CustomerOrderSortProperty as ct, BenefitFeatureFlagUpdate as d, SubscriptionCreateExternalCustomer as di, LicenseKeyDeactivate as dn, MetricDashboardUpdate as dr, CustomerPaymentMethod as dt, RefundSortProperty as ei, EventsIngestResponse as en, MemberRole as er, CustomerMeterSortProperty as et, BenefitGitHubRepositoryUpdate as f, SubscriptionLocked as fi, LicenseKeyRead as fn, MetricsLimits as fr, CustomerPaymentMethodConfirm as ft, BenefitLicenseKeysUpdate as g, TimeInterval as gi, LicenseKeyWithActivations as gn, OAuth2ClientConfiguration as gr, CustomerPortalCustomerUpdate as gt, BenefitGrantWebhook as h, SubscriptionUpdate as hi, LicenseKeyValidate as hn, NotPermitted as hr, CustomerPortalCustomer as ht, AuthorizeResponseOrganization as i, SSOEnforcementRequiresConnection as ii, FileRead as in, Meter as ir, CustomerOrderInvoice as it, CheckoutPublicConfirmed as j, ListResourceDiscount as jn, OrganizationNotReadyForPayments as jr, CustomerUpdate as jt, CheckoutLinkUpdate as k, ListResourceCustomerSubscription as kn, Organization as kr, CustomerSubscriptionSortProperty as kt, BenefitDiscordUpdate as l, Subscription as li, LicenseKeyActivate as ln, MetricDashboardCreate as lr, CustomerOrderUpdate as lt, BenefitGrantSortProperty as m, SubscriptionStatus as mi, LicenseKeyUpdate as mn, MissingInvoiceBillingDetails as mr, CustomerPaymentMethodCreateResponse as mt, AlreadyCanceledSubscription as n, ResourceNotFound as ni, FileCreate as nn, MemberUpdate as nr, CustomerOrder as nt, Benefit as o, SeatClaim as oi, FileUploadCompleted as on, MeterQuantities as or, CustomerOrderPaymentStatus as ot, BenefitGrant as p, SubscriptionSortProperty as pi, LicenseKeyStatus as pn, MetricsResponse as pr, CustomerPaymentMethodCreate as pt, CustomerCustomerMeter as q, ListResourceSubscription as qn, ProductBillingType as qr, EventSortProperty as qt, AmbiguousExternalCustomerID as r, RevokeTokenResponse as ri, FilePatch as rn, MetadataQuery as rr, CustomerOrderConfirmPayment as rt, BenefitCreate as s, SeatClaimInfo as si, HTTPValidationError as sn, MeterSortProperty as sr, CustomerOrderReceipt as st, AggregationFunction as t, RefundedAlready as ti, ExpiredCheckoutError as tn, MemberSortProperty as tr, CustomerNotReady as tt, BenefitDownloadablesUpdate as u, SubscriptionCreateCustomer as ui, LicenseKeyActivationRead as un, MetricDashboardSchema as ur, CustomerOrganizationData as ut, BenefitSlackSharedChannelUpdate as v, TokenResponse as vi, ListResourceBenefitGrant as vn, OffSessionChargesNotEnabled as vr, CustomerPortalMemberCreate as vt, CheckoutCreate as w, WebhookEndpoint as wi, ListResourceCustomerCustomerMeter as wn, OrderNotEligibleForInvoice as wr, CustomerSessionCustomerExternalIDCreate as wt, CannotCreateOrganizationError as x, UserInfoUser as xi, ListResourceCustomField as xn, OrderFinalize as xr, CustomerSeatAssign as xt, BenefitSortProperty as y, Unauthorized as yi, ListResourceCheckout as yn, Order as yr, CustomerPortalMemberUpdate as yt, CustomFieldType as z, ListResourceMember as zn, PaymentMethod as zr, Dispute as zt };
20175
+ //# sourceMappingURL=models-DnY24W7g.d.mts.map