@onflay/node 0.3.0 → 1.0.0-staging-20261206080029

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 (226) hide show
  1. package/CHANGELOG.md +74 -0
  2. package/README.md +211 -48
  3. package/dist/chunk-4RUPPDC2.mjs +121 -0
  4. package/dist/chunk-4RUPPDC2.mjs.map +1 -0
  5. package/dist/chunk-63KSRMJG.mjs +47 -0
  6. package/dist/chunk-63KSRMJG.mjs.map +1 -0
  7. package/dist/chunk-7LYAEZCT.mjs +197 -0
  8. package/dist/chunk-7LYAEZCT.mjs.map +1 -0
  9. package/dist/chunk-A3TRCKHK.mjs +60 -0
  10. package/dist/chunk-A3TRCKHK.mjs.map +1 -0
  11. package/dist/chunk-AFAU2FH2.js +47 -0
  12. package/dist/chunk-AFAU2FH2.js.map +1 -0
  13. package/dist/chunk-DBE2YZWE.mjs +38 -0
  14. package/dist/chunk-DBE2YZWE.mjs.map +1 -0
  15. package/dist/chunk-EOHFYWFQ.mjs +154 -0
  16. package/dist/chunk-EOHFYWFQ.mjs.map +1 -0
  17. package/dist/chunk-I2IVHBFA.js +197 -0
  18. package/dist/chunk-I2IVHBFA.js.map +1 -0
  19. package/dist/chunk-J4MYKTPN.mjs +37 -0
  20. package/dist/chunk-J4MYKTPN.mjs.map +1 -0
  21. package/dist/chunk-JQPANXLV.mjs +37 -0
  22. package/dist/chunk-JQPANXLV.mjs.map +1 -0
  23. package/dist/chunk-JXP6V2P2.mjs +1057 -0
  24. package/dist/chunk-JXP6V2P2.mjs.map +1 -0
  25. package/dist/chunk-M52GW7GQ.js +1057 -0
  26. package/dist/chunk-M52GW7GQ.js.map +1 -0
  27. package/dist/chunk-MMMUKAI6.js +37 -0
  28. package/dist/chunk-MMMUKAI6.js.map +1 -0
  29. package/dist/chunk-NSR4UQLV.js +87 -0
  30. package/dist/chunk-NSR4UQLV.js.map +1 -0
  31. package/dist/chunk-SUONZUVK.js +154 -0
  32. package/dist/chunk-SUONZUVK.js.map +1 -0
  33. package/dist/chunk-T26CPULH.js +121 -0
  34. package/dist/chunk-T26CPULH.js.map +1 -0
  35. package/dist/chunk-V2XJ4GZU.js +38 -0
  36. package/dist/chunk-V2XJ4GZU.js.map +1 -0
  37. package/dist/chunk-W6AEPYUG.js +37 -0
  38. package/dist/chunk-W6AEPYUG.js.map +1 -0
  39. package/dist/chunk-YHQ7XIC6.js +60 -0
  40. package/dist/chunk-YHQ7XIC6.js.map +1 -0
  41. package/dist/chunk-YSXUZYUY.mjs +87 -0
  42. package/dist/chunk-YSXUZYUY.mjs.map +1 -0
  43. package/dist/index-C1KFW_9r.d.mts +3989 -0
  44. package/dist/index-C1KFW_9r.d.ts +3989 -0
  45. package/dist/index.d.mts +918 -0
  46. package/dist/index.d.ts +918 -29
  47. package/dist/index.js +2990 -42
  48. package/dist/index.js.map +1 -1
  49. package/dist/index.mjs +2991 -0
  50. package/dist/index.mjs.map +1 -0
  51. package/dist/lib/config.d.mts +59 -0
  52. package/dist/lib/config.d.ts +59 -0
  53. package/dist/lib/config.js +15 -0
  54. package/dist/lib/config.js.map +1 -0
  55. package/dist/lib/config.mjs +15 -0
  56. package/dist/lib/config.mjs.map +1 -0
  57. package/dist/lib/http.d.mts +51 -0
  58. package/dist/lib/http.d.ts +51 -0
  59. package/dist/lib/http.js +13 -0
  60. package/dist/lib/http.js.map +1 -0
  61. package/dist/lib/http.mjs +13 -0
  62. package/dist/lib/http.mjs.map +1 -0
  63. package/dist/lib/retries.d.mts +41 -0
  64. package/dist/lib/retries.d.ts +41 -0
  65. package/dist/lib/retries.js +16 -0
  66. package/dist/lib/retries.js.map +1 -0
  67. package/dist/lib/retries.mjs +16 -0
  68. package/dist/lib/retries.mjs.map +1 -0
  69. package/dist/lib/sdks.d.mts +61 -0
  70. package/dist/lib/sdks.d.ts +61 -0
  71. package/dist/lib/sdks.js +12 -0
  72. package/dist/lib/sdks.js.map +1 -0
  73. package/dist/lib/sdks.mjs +12 -0
  74. package/dist/lib/sdks.mjs.map +1 -0
  75. package/dist/models/components/index.d.mts +1 -0
  76. package/dist/models/components/index.d.ts +1 -0
  77. package/dist/models/components/index.js +1 -0
  78. package/dist/models/components/index.js.map +1 -0
  79. package/dist/models/components/index.mjs +1 -0
  80. package/dist/models/components/index.mjs.map +1 -0
  81. package/dist/models/errors/index.d.mts +161 -0
  82. package/dist/models/errors/index.d.ts +161 -0
  83. package/dist/models/errors/index.js +29 -0
  84. package/dist/models/errors/index.js.map +1 -0
  85. package/dist/models/errors/index.mjs +29 -0
  86. package/dist/models/errors/index.mjs.map +1 -0
  87. package/dist/models/operations/index.d.mts +769 -0
  88. package/dist/models/operations/index.d.ts +769 -0
  89. package/dist/models/operations/index.js +1 -0
  90. package/dist/models/operations/index.js.map +1 -0
  91. package/dist/models/operations/index.mjs +1 -0
  92. package/dist/models/operations/index.mjs.map +1 -0
  93. package/dist/types/index.d.mts +26 -0
  94. package/dist/types/index.d.ts +26 -0
  95. package/dist/types/index.js +1 -0
  96. package/dist/types/index.js.map +1 -0
  97. package/dist/types/index.mjs +1 -0
  98. package/dist/types/index.mjs.map +1 -0
  99. package/dist/verify-tF2BsJK6.d.mts +325 -0
  100. package/dist/verify-tF2BsJK6.d.ts +325 -0
  101. package/dist/webhooks/express.d.mts +39 -0
  102. package/dist/webhooks/express.d.ts +39 -0
  103. package/dist/webhooks/express.js +10 -0
  104. package/dist/webhooks/express.js.map +1 -0
  105. package/dist/webhooks/express.mjs +10 -0
  106. package/dist/webhooks/express.mjs.map +1 -0
  107. package/dist/webhooks/hono.d.mts +33 -0
  108. package/dist/webhooks/hono.d.ts +33 -0
  109. package/dist/webhooks/hono.js +10 -0
  110. package/dist/webhooks/hono.js.map +1 -0
  111. package/dist/webhooks/hono.mjs +10 -0
  112. package/dist/webhooks/hono.mjs.map +1 -0
  113. package/dist/webhooks/index.d.mts +34 -0
  114. package/dist/webhooks/index.d.ts +34 -0
  115. package/dist/webhooks/index.js +75 -0
  116. package/dist/webhooks/index.js.map +1 -0
  117. package/dist/webhooks/index.mjs +75 -0
  118. package/dist/webhooks/index.mjs.map +1 -0
  119. package/dist/webhooks/next.d.mts +38 -0
  120. package/dist/webhooks/next.d.ts +38 -0
  121. package/dist/webhooks/next.js +10 -0
  122. package/dist/webhooks/next.js.map +1 -0
  123. package/dist/webhooks/next.mjs +10 -0
  124. package/dist/webhooks/next.mjs.map +1 -0
  125. package/package.json +273 -14
  126. package/dist/client.d.ts +0 -65
  127. package/dist/client.d.ts.map +0 -1
  128. package/dist/client.js +0 -216
  129. package/dist/client.js.map +0 -1
  130. package/dist/errors.d.ts +0 -61
  131. package/dist/errors.d.ts.map +0 -1
  132. package/dist/errors.js +0 -134
  133. package/dist/errors.js.map +0 -1
  134. package/dist/index.d.ts.map +0 -1
  135. package/dist/onflay.d.ts +0 -44
  136. package/dist/onflay.d.ts.map +0 -1
  137. package/dist/onflay.js +0 -63
  138. package/dist/onflay.js.map +0 -1
  139. package/dist/pagination.d.ts +0 -19
  140. package/dist/pagination.d.ts.map +0 -1
  141. package/dist/pagination.js +0 -61
  142. package/dist/pagination.js.map +0 -1
  143. package/dist/resources/checkout-sessions.d.ts +0 -11
  144. package/dist/resources/checkout-sessions.d.ts.map +0 -1
  145. package/dist/resources/checkout-sessions.js +0 -20
  146. package/dist/resources/checkout-sessions.js.map +0 -1
  147. package/dist/resources/customers.d.ts +0 -17
  148. package/dist/resources/customers.d.ts.map +0 -1
  149. package/dist/resources/customers.js +0 -39
  150. package/dist/resources/customers.js.map +0 -1
  151. package/dist/resources/invoices.d.ts +0 -60
  152. package/dist/resources/invoices.d.ts.map +0 -1
  153. package/dist/resources/invoices.js +0 -69
  154. package/dist/resources/invoices.js.map +0 -1
  155. package/dist/resources/payments.d.ts +0 -11
  156. package/dist/resources/payments.d.ts.map +0 -1
  157. package/dist/resources/payments.js +0 -27
  158. package/dist/resources/payments.js.map +0 -1
  159. package/dist/resources/prices.d.ts +0 -24
  160. package/dist/resources/prices.d.ts.map +0 -1
  161. package/dist/resources/prices.js +0 -46
  162. package/dist/resources/prices.js.map +0 -1
  163. package/dist/resources/products.d.ts +0 -18
  164. package/dist/resources/products.d.ts.map +0 -1
  165. package/dist/resources/products.js +0 -40
  166. package/dist/resources/products.js.map +0 -1
  167. package/dist/resources/subscriptions.d.ts +0 -39
  168. package/dist/resources/subscriptions.d.ts.map +0 -1
  169. package/dist/resources/subscriptions.js +0 -62
  170. package/dist/resources/subscriptions.js.map +0 -1
  171. package/dist/resources/usage.d.ts +0 -26
  172. package/dist/resources/usage.d.ts.map +0 -1
  173. package/dist/resources/usage.js +0 -43
  174. package/dist/resources/usage.js.map +0 -1
  175. package/dist/resources/webhook-endpoints.d.ts +0 -20
  176. package/dist/resources/webhook-endpoints.d.ts.map +0 -1
  177. package/dist/resources/webhook-endpoints.js +0 -47
  178. package/dist/resources/webhook-endpoints.js.map +0 -1
  179. package/dist/types/checkout-sessions.d.ts +0 -67
  180. package/dist/types/checkout-sessions.d.ts.map +0 -1
  181. package/dist/types/checkout-sessions.js +0 -3
  182. package/dist/types/checkout-sessions.js.map +0 -1
  183. package/dist/types/customers.d.ts +0 -28
  184. package/dist/types/customers.d.ts.map +0 -1
  185. package/dist/types/customers.js +0 -3
  186. package/dist/types/customers.js.map +0 -1
  187. package/dist/types/events.d.ts +0 -118
  188. package/dist/types/events.d.ts.map +0 -1
  189. package/dist/types/events.js +0 -28
  190. package/dist/types/events.js.map +0 -1
  191. package/dist/types/invoices.d.ts +0 -65
  192. package/dist/types/invoices.d.ts.map +0 -1
  193. package/dist/types/invoices.js +0 -3
  194. package/dist/types/invoices.js.map +0 -1
  195. package/dist/types/payments.d.ts +0 -25
  196. package/dist/types/payments.d.ts.map +0 -1
  197. package/dist/types/payments.js +0 -3
  198. package/dist/types/payments.js.map +0 -1
  199. package/dist/types/prices.d.ts +0 -57
  200. package/dist/types/prices.d.ts.map +0 -1
  201. package/dist/types/prices.js +0 -3
  202. package/dist/types/prices.js.map +0 -1
  203. package/dist/types/products.d.ts +0 -29
  204. package/dist/types/products.d.ts.map +0 -1
  205. package/dist/types/products.js +0 -3
  206. package/dist/types/products.js.map +0 -1
  207. package/dist/types/shared.d.ts +0 -34
  208. package/dist/types/shared.d.ts.map +0 -1
  209. package/dist/types/shared.js +0 -4
  210. package/dist/types/shared.js.map +0 -1
  211. package/dist/types/subscriptions.d.ts +0 -85
  212. package/dist/types/subscriptions.d.ts.map +0 -1
  213. package/dist/types/subscriptions.js +0 -3
  214. package/dist/types/subscriptions.js.map +0 -1
  215. package/dist/types/usage.d.ts +0 -35
  216. package/dist/types/usage.d.ts.map +0 -1
  217. package/dist/types/usage.js +0 -3
  218. package/dist/types/usage.js.map +0 -1
  219. package/dist/types/webhook-endpoints.d.ts +0 -48
  220. package/dist/types/webhook-endpoints.d.ts.map +0 -1
  221. package/dist/types/webhook-endpoints.js +0 -3
  222. package/dist/types/webhook-endpoints.js.map +0 -1
  223. package/dist/version.d.ts +0 -4
  224. package/dist/version.d.ts.map +0 -1
  225. package/dist/version.js +0 -7
  226. package/dist/version.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/generated/hey-api/client.gen.ts","../src/generated/hey-api/transformers.gen.ts","../src/generated/hey-api/sdk.gen.ts","../src/generated/defs.ts","../src/generated/sdk.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport { type Client, type ClientOptions, type Config, createClient, createConfig } from './client';\nimport type { ClientOptions as ClientOptions2 } from './types.gen';\n\n/**\n * The `createClientConfig()` function will be called on client initialization\n * and the returned object will become the client's initial configuration.\n *\n * You may want to initialize your client this way instead of calling\n * `setConfig()`. This is useful for example if you're using Next.js\n * to ensure your client always has the correct values.\n */\nexport type CreateClientConfig<T extends ClientOptions = ClientOptions2> = (override?: Config<ClientOptions & T>) => Config<Required<ClientOptions> & T>;\n\nexport const client: Client = createClient(createConfig<ClientOptions2>({ baseUrl: 'https://api.onflay.com' }));\n","// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { CatalogListingsRetrieveIntegrationGuideResponse, CatalogListingsRetrieveRecipeResponse, CatalogListResponse, CatalogPlansUpsertResponse, CatalogProductsRetrieveResponse, CatalogProductsUpsertResponse, CheckoutSessionsRetrieveReceiptResponse, CheckoutSessionsRetrieveResponse, CreditsAdjustResponse, CreditsConsumeResponse, CreditsListLedgerResponse, CreditsRetrieveResponse, CustomerAccessRetrieveResponse, CustomersCreateResponse, CustomersListPaymentMethodsResponse, CustomersListResponse, CustomersRetrieveResponse, CustomersUpdateResponse, DiscountsCreateResponse, DiscountsDeactivateResponse, DiscountsListResponse, DiscountsRetrieveResponse, DiscountsUpdateResponse, IntegrationVerificationsCreateResponse, IntegrationVerificationsListForListingResponse, InvoicesCreateResponse, InvoicesListResponse, InvoicesRetrieveResponse, LicenseKeysActivateResponse, LicenseKeysDeactivateResponse, LicenseKeysListResponse, LicenseKeysRetrieveResponse, LicenseKeysRevokeResponse, LicenseKeysValidateResponse, MetersCreateResponse, MetersListResponse, PaymentConfirmationsRetrieveResponse, PaymentsCreateResponse, PaymentsListResponse, PaymentsRefundsCreateResponse, PaymentsRefundsListResponse, PaymentsRefundsRetrieveResponse, PaymentsRetrieveResponse, PricesCreateResponse, PricesListResponse, PricesRetrieveResponse, PricesUpdateResponse, ProductsCreateResponse, ProductsListResponse, ProductsRetrieveResponse, ProductsUpdateResponse, SubscriptionsCancelByExternalCustomerResponse, SubscriptionsCancelResponse, SubscriptionsListResponse, SubscriptionsPreviewUpdateResponse, SubscriptionsRetrieveResponse, SubscriptionsUncancelByExternalCustomerResponse, UsageBillingPlansCreateResponse, UsageBillingPlansRetrieveResponse, WebhookDeliveriesListResponse, WebhookDeliveriesResendResponse, WebhookDeliveriesRetrieveResponse, WebhookEndpointsCreateResponse, WebhookEndpointsListResponse, WebhookEndpointsRetrieveResponse, WebhookEndpointsUpdateResponse } from './types.gen';\n\nconst catalogProductSummarySchemaResponseTransformer = (data: any) => {\n data.updatedAt = new Date(data.updatedAt);\n return data;\n};\n\nconst catalogProductListSchemaResponseTransformer = (data: any) => {\n data.data = data.data.map((item: any) => catalogProductSummarySchemaResponseTransformer(item));\n return data;\n};\n\nexport const catalogListResponseTransformer = async (data: any): Promise<CatalogListResponse> => {\n data = catalogProductListSchemaResponseTransformer(data);\n return data;\n};\n\nconst listingRecipeSchemaResponseTransformer = (data: any) => {\n data.updatedAt = new Date(data.updatedAt);\n return data;\n};\n\nconst integrationGuideSchemaResponseTransformer = (data: any) => {\n data.recipe = listingRecipeSchemaResponseTransformer(data.recipe);\n return data;\n};\n\nexport const catalogListingsRetrieveIntegrationGuideResponseTransformer = async (data: any): Promise<CatalogListingsRetrieveIntegrationGuideResponse> => {\n data = integrationGuideSchemaResponseTransformer(data);\n return data;\n};\n\nexport const catalogListingsRetrieveRecipeResponseTransformer = async (data: any): Promise<CatalogListingsRetrieveRecipeResponse> => {\n data = listingRecipeSchemaResponseTransformer(data);\n return data;\n};\n\nconst catalogProductSchemaResponseTransformer = (data: any) => {\n data.updatedAt = new Date(data.updatedAt);\n return data;\n};\n\nexport const catalogProductsRetrieveResponseTransformer = async (data: any): Promise<CatalogProductsRetrieveResponse> => {\n data = catalogProductSchemaResponseTransformer(data);\n return data;\n};\n\nexport const catalogProductsUpsertResponseTransformer = async (data: any): Promise<CatalogProductsUpsertResponse> => {\n data = catalogProductSchemaResponseTransformer(data);\n return data;\n};\n\nexport const catalogPlansUpsertResponseTransformer = async (data: any): Promise<CatalogPlansUpsertResponse> => {\n data = catalogProductSchemaResponseTransformer(data);\n return data;\n};\n\nconst checkoutSessionSchemaResponseTransformer = (data: any) => {\n data.expiresAt = new Date(data.expiresAt);\n data.createdAt = new Date(data.createdAt);\n return data;\n};\n\nexport const checkoutSessionsRetrieveResponseTransformer = async (data: any): Promise<CheckoutSessionsRetrieveResponse> => {\n data = checkoutSessionSchemaResponseTransformer(data);\n return data;\n};\n\nconst customerAccessActivePlanSchemaResponseTransformer = (data: any) => {\n if (data.currentPeriodEnd) {\n data.currentPeriodEnd = new Date(data.currentPeriodEnd);\n }\n if (data.accessUntil) {\n data.accessUntil = new Date(data.accessUntil);\n }\n if (data.trialEndsAt) {\n data.trialEndsAt = new Date(data.trialEndsAt);\n }\n return data;\n};\n\nconst customerAccessOwnedProductSchemaResponseTransformer = (data: any) => {\n data.purchasedAt = new Date(data.purchasedAt);\n return data;\n};\n\nconst customerAccessTicketSchemaResponseTransformer = (data: any) => {\n if (data.startsAt) {\n data.startsAt = new Date(data.startsAt);\n }\n if (data.endsAt) {\n data.endsAt = new Date(data.endsAt);\n }\n if (data.checkedInAt) {\n data.checkedInAt = new Date(data.checkedInAt);\n }\n return data;\n};\n\nconst customerAccessBookingSchemaResponseTransformer = (data: any) => {\n data.startsAt = new Date(data.startsAt);\n data.endsAt = new Date(data.endsAt);\n return data;\n};\n\nconst customerAccessCreditSchemaResponseTransformer = (data: any) => {\n if (data.expiresSoonest) {\n data.expiresSoonest = new Date(data.expiresSoonest);\n }\n return data;\n};\n\nconst customerAccessLicenseKeySchemaResponseTransformer = (data: any) => {\n if (data.expiresAt) {\n data.expiresAt = new Date(data.expiresAt);\n }\n return data;\n};\n\nconst customerAccessSchemaResponseTransformer = (data: any) => {\n data.activePlans = data.activePlans.map((item: any) => customerAccessActivePlanSchemaResponseTransformer(item));\n data.ownedProducts = data.ownedProducts.map((item: any) => customerAccessOwnedProductSchemaResponseTransformer(item));\n data.tickets = data.tickets.map((item: any) => customerAccessTicketSchemaResponseTransformer(item));\n data.bookings = data.bookings.map((item: any) => customerAccessBookingSchemaResponseTransformer(item));\n data.credits = data.credits.map((item: any) => customerAccessCreditSchemaResponseTransformer(item));\n data.licenseKeys = data.licenseKeys.map((item: any) => customerAccessLicenseKeySchemaResponseTransformer(item));\n data.updatedAt = new Date(data.updatedAt);\n return data;\n};\n\nconst checkoutReceiptSchemaResponseTransformer = (data: any) => {\n if (data.access) {\n data.access = customerAccessSchemaResponseTransformer(data.access);\n }\n return data;\n};\n\nexport const checkoutSessionsRetrieveReceiptResponseTransformer = async (data: any): Promise<CheckoutSessionsRetrieveReceiptResponse> => {\n data = checkoutReceiptSchemaResponseTransformer(data);\n return data;\n};\n\nconst creditLedgerEntrySchemaResponseTransformer = (data: any) => {\n data.createdAt = new Date(data.createdAt);\n return data;\n};\n\nconst creditOperationSchemaResponseTransformer = (data: any) => {\n data.entry = creditLedgerEntrySchemaResponseTransformer(data.entry);\n return data;\n};\n\nexport const creditsAdjustResponseTransformer = async (data: any): Promise<CreditsAdjustResponse> => {\n data = creditOperationSchemaResponseTransformer(data);\n return data;\n};\n\nexport const creditsConsumeResponseTransformer = async (data: any): Promise<CreditsConsumeResponse> => {\n data = creditOperationSchemaResponseTransformer(data);\n return data;\n};\n\nconst creditBalanceSchemaResponseTransformer = (data: any) => {\n if (data.expiresSoonest) {\n data.expiresSoonest = new Date(data.expiresSoonest);\n }\n data.updatedAt = new Date(data.updatedAt);\n return data;\n};\n\nconst creditBalancesSchemaResponseTransformer = (data: any) => {\n data.balances = data.balances.map((item: any) => creditBalanceSchemaResponseTransformer(item));\n return data;\n};\n\nexport const creditsRetrieveResponseTransformer = async (data: any): Promise<CreditsRetrieveResponse> => {\n data = creditBalancesSchemaResponseTransformer(data);\n return data;\n};\n\nconst creditLedgerEntryListSchemaResponseTransformer = (data: any) => {\n data.data = data.data.map((item: any) => creditLedgerEntrySchemaResponseTransformer(item));\n return data;\n};\n\nexport const creditsListLedgerResponseTransformer = async (data: any): Promise<CreditsListLedgerResponse> => {\n data = creditLedgerEntryListSchemaResponseTransformer(data);\n return data;\n};\n\nexport const customerAccessRetrieveResponseTransformer = async (data: any): Promise<CustomerAccessRetrieveResponse> => {\n data = customerAccessSchemaResponseTransformer(data);\n return data;\n};\n\nconst customerSchemaResponseTransformer = (data: any) => {\n data.createdAt = new Date(data.createdAt);\n return data;\n};\n\nconst customerListSchemaResponseTransformer = (data: any) => {\n data.data = data.data.map((item: any) => customerSchemaResponseTransformer(item));\n return data;\n};\n\nexport const customersListResponseTransformer = async (data: any): Promise<CustomersListResponse> => {\n data = customerListSchemaResponseTransformer(data);\n return data;\n};\n\nexport const customersCreateResponseTransformer = async (data: any): Promise<CustomersCreateResponse> => {\n data = customerSchemaResponseTransformer(data);\n return data;\n};\n\nexport const customersRetrieveResponseTransformer = async (data: any): Promise<CustomersRetrieveResponse> => {\n data = customerSchemaResponseTransformer(data);\n return data;\n};\n\nexport const customersUpdateResponseTransformer = async (data: any): Promise<CustomersUpdateResponse> => {\n data = customerSchemaResponseTransformer(data);\n return data;\n};\n\nconst paymentMethodSchemaResponseTransformer = (data: any) => {\n data.createdAt = new Date(data.createdAt);\n return data;\n};\n\nexport const customersListPaymentMethodsResponseTransformer = async (data: any): Promise<CustomersListPaymentMethodsResponse> => {\n data.data = data.data.map((item: any) => paymentMethodSchemaResponseTransformer(item));\n return data;\n};\n\nconst discountSchemaResponseTransformer = (data: any) => {\n data.startsAt = new Date(data.startsAt);\n if (data.expiresAt) {\n data.expiresAt = new Date(data.expiresAt);\n }\n data.createdAt = new Date(data.createdAt);\n data.updatedAt = new Date(data.updatedAt);\n return data;\n};\n\nconst discountListSchemaResponseTransformer = (data: any) => {\n data.data = data.data.map((item: any) => discountSchemaResponseTransformer(item));\n return data;\n};\n\nexport const discountsListResponseTransformer = async (data: any): Promise<DiscountsListResponse> => {\n data = discountListSchemaResponseTransformer(data);\n return data;\n};\n\nexport const discountsCreateResponseTransformer = async (data: any): Promise<DiscountsCreateResponse> => {\n data = discountSchemaResponseTransformer(data);\n return data;\n};\n\nexport const discountsRetrieveResponseTransformer = async (data: any): Promise<DiscountsRetrieveResponse> => {\n data = discountSchemaResponseTransformer(data);\n return data;\n};\n\nexport const discountsUpdateResponseTransformer = async (data: any): Promise<DiscountsUpdateResponse> => {\n data = discountSchemaResponseTransformer(data);\n return data;\n};\n\nexport const discountsDeactivateResponseTransformer = async (data: any): Promise<DiscountsDeactivateResponse> => {\n data = discountSchemaResponseTransformer(data);\n return data;\n};\n\nconst integrationVerificationSchemaResponseTransformer = (data: any) => {\n data.verifiedAt = new Date(data.verifiedAt);\n data.createdAt = new Date(data.createdAt);\n return data;\n};\n\nexport const integrationVerificationsCreateResponseTransformer = async (data: any): Promise<IntegrationVerificationsCreateResponse> => {\n data = integrationVerificationSchemaResponseTransformer(data);\n return data;\n};\n\nconst integrationVerificationListSchemaResponseTransformer = (data: any) => {\n data.data = data.data.map((item: any) => integrationVerificationSchemaResponseTransformer(item));\n return data;\n};\n\nexport const integrationVerificationsListForListingResponseTransformer = async (data: any): Promise<IntegrationVerificationsListForListingResponse> => {\n data = integrationVerificationListSchemaResponseTransformer(data);\n return data;\n};\n\nconst invoiceSchemaResponseTransformer = (data: any) => {\n if (data.periodStart) {\n data.periodStart = new Date(data.periodStart);\n }\n if (data.periodEnd) {\n data.periodEnd = new Date(data.periodEnd);\n }\n data.createdAt = new Date(data.createdAt);\n return data;\n};\n\nconst invoiceListSchemaResponseTransformer = (data: any) => {\n data.data = data.data.map((item: any) => invoiceSchemaResponseTransformer(item));\n return data;\n};\n\nexport const invoicesListResponseTransformer = async (data: any): Promise<InvoicesListResponse> => {\n data = invoiceListSchemaResponseTransformer(data);\n return data;\n};\n\nexport const invoicesCreateResponseTransformer = async (data: any): Promise<InvoicesCreateResponse> => {\n data = invoiceSchemaResponseTransformer(data);\n return data;\n};\n\nexport const invoicesRetrieveResponseTransformer = async (data: any): Promise<InvoicesRetrieveResponse> => {\n data = invoiceSchemaResponseTransformer(data);\n return data;\n};\n\nconst licenseKeyActivationSchemaResponseTransformer = (data: any) => {\n data.activatedAt = new Date(data.activatedAt);\n return data;\n};\n\nconst licenseKeySchemaResponseTransformer = (data: any) => {\n data.activations = data.activations.map((item: any) => licenseKeyActivationSchemaResponseTransformer(item));\n if (data.expiresAt) {\n data.expiresAt = new Date(data.expiresAt);\n }\n if (data.revokedAt) {\n data.revokedAt = new Date(data.revokedAt);\n }\n data.createdAt = new Date(data.createdAt);\n return data;\n};\n\nconst licenseKeyListSchemaResponseTransformer = (data: any) => {\n data.data = data.data.map((item: any) => licenseKeySchemaResponseTransformer(item));\n return data;\n};\n\nexport const licenseKeysListResponseTransformer = async (data: any): Promise<LicenseKeysListResponse> => {\n data = licenseKeyListSchemaResponseTransformer(data);\n return data;\n};\n\nconst licenseKeyStatusSchemaResponseTransformer = (data: any) => {\n if (data.expiresAt) {\n data.expiresAt = new Date(data.expiresAt);\n }\n return data;\n};\n\nexport const licenseKeysActivateResponseTransformer = async (data: any): Promise<LicenseKeysActivateResponse> => {\n data = licenseKeyStatusSchemaResponseTransformer(data);\n return data;\n};\n\nexport const licenseKeysDeactivateResponseTransformer = async (data: any): Promise<LicenseKeysDeactivateResponse> => {\n data = licenseKeyStatusSchemaResponseTransformer(data);\n return data;\n};\n\nexport const licenseKeysValidateResponseTransformer = async (data: any): Promise<LicenseKeysValidateResponse> => {\n data = licenseKeyStatusSchemaResponseTransformer(data);\n return data;\n};\n\nexport const licenseKeysRetrieveResponseTransformer = async (data: any): Promise<LicenseKeysRetrieveResponse> => {\n data = licenseKeySchemaResponseTransformer(data);\n return data;\n};\n\nexport const licenseKeysRevokeResponseTransformer = async (data: any): Promise<LicenseKeysRevokeResponse> => {\n data = licenseKeySchemaResponseTransformer(data);\n return data;\n};\n\nconst meterSchemaResponseTransformer = (data: any) => {\n data.createdAt = new Date(data.createdAt);\n return data;\n};\n\nexport const metersListResponseTransformer = async (data: any): Promise<MetersListResponse> => {\n data.data = data.data.map((item: any) => meterSchemaResponseTransformer(item));\n return data;\n};\n\nexport const metersCreateResponseTransformer = async (data: any): Promise<MetersCreateResponse> => {\n data = meterSchemaResponseTransformer(data);\n return data;\n};\n\nconst paymentConfirmationSchemaResponseTransformer = (data: any) => {\n data.expiresAt = new Date(data.expiresAt);\n return data;\n};\n\nexport const paymentConfirmationsRetrieveResponseTransformer = async (data: any): Promise<PaymentConfirmationsRetrieveResponse> => {\n data = paymentConfirmationSchemaResponseTransformer(data);\n return data;\n};\n\nconst paymentSchemaResponseTransformer = (data: any) => {\n data.createdAt = new Date(data.createdAt);\n return data;\n};\n\nconst paymentListSchemaResponseTransformer = (data: any) => {\n data.data = data.data.map((item: any) => paymentSchemaResponseTransformer(item));\n return data;\n};\n\nexport const paymentsListResponseTransformer = async (data: any): Promise<PaymentsListResponse> => {\n data = paymentListSchemaResponseTransformer(data);\n return data;\n};\n\nexport const paymentsCreateResponseTransformer = async (data: any): Promise<PaymentsCreateResponse> => {\n data = paymentSchemaResponseTransformer(data);\n return data;\n};\n\nexport const paymentsRetrieveResponseTransformer = async (data: any): Promise<PaymentsRetrieveResponse> => {\n data = paymentSchemaResponseTransformer(data);\n return data;\n};\n\nconst refundSchemaResponseTransformer = (data: any) => {\n data.createdAt = new Date(data.createdAt);\n return data;\n};\n\nconst refundListSchemaResponseTransformer = (data: any) => {\n data.data = data.data.map((item: any) => refundSchemaResponseTransformer(item));\n return data;\n};\n\nexport const paymentsRefundsListResponseTransformer = async (data: any): Promise<PaymentsRefundsListResponse> => {\n data = refundListSchemaResponseTransformer(data);\n return data;\n};\n\nexport const paymentsRefundsCreateResponseTransformer = async (data: any): Promise<PaymentsRefundsCreateResponse> => {\n data = refundSchemaResponseTransformer(data);\n return data;\n};\n\nexport const paymentsRefundsRetrieveResponseTransformer = async (data: any): Promise<PaymentsRefundsRetrieveResponse> => {\n data = refundSchemaResponseTransformer(data);\n return data;\n};\n\nconst priceSchemaResponseTransformer = (data: any) => {\n data.createdAt = new Date(data.createdAt);\n return data;\n};\n\nconst priceListSchemaResponseTransformer = (data: any) => {\n data.data = data.data.map((item: any) => priceSchemaResponseTransformer(item));\n return data;\n};\n\nexport const pricesListResponseTransformer = async (data: any): Promise<PricesListResponse> => {\n data = priceListSchemaResponseTransformer(data);\n return data;\n};\n\nexport const pricesCreateResponseTransformer = async (data: any): Promise<PricesCreateResponse> => {\n data = priceSchemaResponseTransformer(data);\n return data;\n};\n\nexport const pricesRetrieveResponseTransformer = async (data: any): Promise<PricesRetrieveResponse> => {\n data = priceSchemaResponseTransformer(data);\n return data;\n};\n\nexport const pricesUpdateResponseTransformer = async (data: any): Promise<PricesUpdateResponse> => {\n data = priceSchemaResponseTransformer(data);\n return data;\n};\n\nconst productSchemaResponseTransformer = (data: any) => {\n data.createdAt = new Date(data.createdAt);\n data.updatedAt = new Date(data.updatedAt);\n return data;\n};\n\nconst productListSchemaResponseTransformer = (data: any) => {\n data.data = data.data.map((item: any) => productSchemaResponseTransformer(item));\n return data;\n};\n\nexport const productsListResponseTransformer = async (data: any): Promise<ProductsListResponse> => {\n data = productListSchemaResponseTransformer(data);\n return data;\n};\n\nexport const productsCreateResponseTransformer = async (data: any): Promise<ProductsCreateResponse> => {\n data = productSchemaResponseTransformer(data);\n return data;\n};\n\nexport const productsRetrieveResponseTransformer = async (data: any): Promise<ProductsRetrieveResponse> => {\n data = productSchemaResponseTransformer(data);\n return data;\n};\n\nexport const productsUpdateResponseTransformer = async (data: any): Promise<ProductsUpdateResponse> => {\n data = productSchemaResponseTransformer(data);\n return data;\n};\n\nconst subscriptionPendingChangeSchemaResponseTransformer = (data: any) => {\n data.effectiveAt = new Date(data.effectiveAt);\n data.requestedAt = new Date(data.requestedAt);\n return data;\n};\n\nconst subscriptionSchemaResponseTransformer = (data: any) => {\n data.currentPeriodStart = new Date(data.currentPeriodStart);\n data.currentPeriodEnd = new Date(data.currentPeriodEnd);\n if (data.canceledAt) {\n data.canceledAt = new Date(data.canceledAt);\n }\n if (data.pendingChange) {\n data.pendingChange = subscriptionPendingChangeSchemaResponseTransformer(data.pendingChange);\n }\n if (data.trialEndsAt) {\n data.trialEndsAt = new Date(data.trialEndsAt);\n }\n data.createdAt = new Date(data.createdAt);\n data.updatedAt = new Date(data.updatedAt);\n return data;\n};\n\nconst subscriptionListSchemaResponseTransformer = (data: any) => {\n data.data = data.data.map((item: any) => subscriptionSchemaResponseTransformer(item));\n return data;\n};\n\nexport const subscriptionsListResponseTransformer = async (data: any): Promise<SubscriptionsListResponse> => {\n data = subscriptionListSchemaResponseTransformer(data);\n return data;\n};\n\nconst subscriptionCancellationSchemaResponseTransformer = (data: any) => {\n if (data.canceledAt) {\n data.canceledAt = new Date(data.canceledAt);\n }\n data.currentPeriodEnd = new Date(data.currentPeriodEnd);\n if (data.accessUntil) {\n data.accessUntil = new Date(data.accessUntil);\n }\n data.subscription = subscriptionSchemaResponseTransformer(data.subscription);\n return data;\n};\n\nexport const subscriptionsCancelByExternalCustomerResponseTransformer = async (data: any): Promise<SubscriptionsCancelByExternalCustomerResponse> => {\n data = subscriptionCancellationSchemaResponseTransformer(data);\n return data;\n};\n\nexport const subscriptionsUncancelByExternalCustomerResponseTransformer = async (data: any): Promise<SubscriptionsUncancelByExternalCustomerResponse> => {\n data = subscriptionSchemaResponseTransformer(data);\n return data;\n};\n\nexport const subscriptionsRetrieveResponseTransformer = async (data: any): Promise<SubscriptionsRetrieveResponse> => {\n data = subscriptionSchemaResponseTransformer(data);\n return data;\n};\n\nexport const subscriptionsCancelResponseTransformer = async (data: any): Promise<SubscriptionsCancelResponse> => {\n data = subscriptionCancellationSchemaResponseTransformer(data);\n return data;\n};\n\nconst subscriptionUpdatePreviewNextInvoiceSchemaResponseTransformer = (data: any) => {\n data.date = new Date(data.date);\n return data;\n};\n\nconst subscriptionUpdatePreviewLineSchemaResponseTransformer = (data: any) => {\n data.periodStart = new Date(data.periodStart);\n data.periodEnd = new Date(data.periodEnd);\n return data;\n};\n\nconst subscriptionUpdatePreviewSchemaResponseTransformer = (data: any) => {\n data.nextInvoice = subscriptionUpdatePreviewNextInvoiceSchemaResponseTransformer(data.nextInvoice);\n data.lines = data.lines.map((item: any) => subscriptionUpdatePreviewLineSchemaResponseTransformer(item));\n return data;\n};\n\nexport const subscriptionsPreviewUpdateResponseTransformer = async (data: any): Promise<SubscriptionsPreviewUpdateResponse> => {\n data = subscriptionUpdatePreviewSchemaResponseTransformer(data);\n return data;\n};\n\nconst usageBillingPlanSchemaResponseTransformer = (data: any) => {\n data.createdAt = new Date(data.createdAt);\n data.updatedAt = new Date(data.updatedAt);\n return data;\n};\n\nexport const usageBillingPlansCreateResponseTransformer = async (data: any): Promise<UsageBillingPlansCreateResponse> => {\n data = usageBillingPlanSchemaResponseTransformer(data);\n return data;\n};\n\nexport const usageBillingPlansRetrieveResponseTransformer = async (data: any): Promise<UsageBillingPlansRetrieveResponse> => {\n data = usageBillingPlanSchemaResponseTransformer(data);\n return data;\n};\n\nconst webhookDeliverySchemaResponseTransformer = (data: any) => {\n if (data.lastAttemptAt) {\n data.lastAttemptAt = new Date(data.lastAttemptAt);\n }\n if (data.nextRetryAt) {\n data.nextRetryAt = new Date(data.nextRetryAt);\n }\n data.createdAt = new Date(data.createdAt);\n data.updatedAt = new Date(data.updatedAt);\n return data;\n};\n\nconst webhookDeliveryListSchemaResponseTransformer = (data: any) => {\n data.data = data.data.map((item: any) => webhookDeliverySchemaResponseTransformer(item));\n return data;\n};\n\nexport const webhookDeliveriesListResponseTransformer = async (data: any): Promise<WebhookDeliveriesListResponse> => {\n data = webhookDeliveryListSchemaResponseTransformer(data);\n return data;\n};\n\nexport const webhookDeliveriesRetrieveResponseTransformer = async (data: any): Promise<WebhookDeliveriesRetrieveResponse> => {\n data = webhookDeliverySchemaResponseTransformer(data);\n return data;\n};\n\nexport const webhookDeliveriesResendResponseTransformer = async (data: any): Promise<WebhookDeliveriesResendResponse> => {\n data = webhookDeliverySchemaResponseTransformer(data);\n return data;\n};\n\nconst webhookEndpointSchemaResponseTransformer = (data: any) => {\n if (data.disabledAt) {\n data.disabledAt = new Date(data.disabledAt);\n }\n data.createdAt = new Date(data.createdAt);\n data.updatedAt = new Date(data.updatedAt);\n return data;\n};\n\nconst webhookEndpointListSchemaResponseTransformer = (data: any) => {\n data.data = data.data.map((item: any) => webhookEndpointSchemaResponseTransformer(item));\n return data;\n};\n\nexport const webhookEndpointsListResponseTransformer = async (data: any): Promise<WebhookEndpointsListResponse> => {\n data = webhookEndpointListSchemaResponseTransformer(data);\n return data;\n};\n\nconst webhookEndpointWithSecretSchemaResponseTransformer = (data: any) => {\n if (data.disabledAt) {\n data.disabledAt = new Date(data.disabledAt);\n }\n data.createdAt = new Date(data.createdAt);\n data.updatedAt = new Date(data.updatedAt);\n return data;\n};\n\nexport const webhookEndpointsCreateResponseTransformer = async (data: any): Promise<WebhookEndpointsCreateResponse> => {\n data = webhookEndpointWithSecretSchemaResponseTransformer(data);\n return data;\n};\n\nexport const webhookEndpointsRetrieveResponseTransformer = async (data: any): Promise<WebhookEndpointsRetrieveResponse> => {\n data = webhookEndpointSchemaResponseTransformer(data);\n return data;\n};\n\nexport const webhookEndpointsUpdateResponseTransformer = async (data: any): Promise<WebhookEndpointsUpdateResponse> => {\n data = webhookEndpointSchemaResponseTransformer(data);\n return data;\n};\n","// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, ClientMeta, Options as Options2, RequestResult, TDataShape } from './client';\nimport { client } from './client.gen';\nimport { catalogListingsRetrieveIntegrationGuideResponseTransformer, catalogListingsRetrieveRecipeResponseTransformer, catalogListResponseTransformer, catalogPlansUpsertResponseTransformer, catalogProductsRetrieveResponseTransformer, catalogProductsUpsertResponseTransformer, checkoutSessionsRetrieveReceiptResponseTransformer, checkoutSessionsRetrieveResponseTransformer, creditsAdjustResponseTransformer, creditsConsumeResponseTransformer, creditsListLedgerResponseTransformer, creditsRetrieveResponseTransformer, customerAccessRetrieveResponseTransformer, customersCreateResponseTransformer, customersListPaymentMethodsResponseTransformer, customersListResponseTransformer, customersRetrieveResponseTransformer, customersUpdateResponseTransformer, discountsCreateResponseTransformer, discountsDeactivateResponseTransformer, discountsListResponseTransformer, discountsRetrieveResponseTransformer, discountsUpdateResponseTransformer, integrationVerificationsCreateResponseTransformer, integrationVerificationsListForListingResponseTransformer, invoicesCreateResponseTransformer, invoicesListResponseTransformer, invoicesRetrieveResponseTransformer, licenseKeysActivateResponseTransformer, licenseKeysDeactivateResponseTransformer, licenseKeysListResponseTransformer, licenseKeysRetrieveResponseTransformer, licenseKeysRevokeResponseTransformer, licenseKeysValidateResponseTransformer, metersCreateResponseTransformer, metersListResponseTransformer, paymentConfirmationsRetrieveResponseTransformer, paymentsCreateResponseTransformer, paymentsListResponseTransformer, paymentsRefundsCreateResponseTransformer, paymentsRefundsListResponseTransformer, paymentsRefundsRetrieveResponseTransformer, paymentsRetrieveResponseTransformer, pricesCreateResponseTransformer, pricesListResponseTransformer, pricesRetrieveResponseTransformer, pricesUpdateResponseTransformer, productsCreateResponseTransformer, productsListResponseTransformer, productsRetrieveResponseTransformer, productsUpdateResponseTransformer, subscriptionsCancelByExternalCustomerResponseTransformer, subscriptionsCancelResponseTransformer, subscriptionsListResponseTransformer, subscriptionsPreviewUpdateResponseTransformer, subscriptionsRetrieveResponseTransformer, subscriptionsUncancelByExternalCustomerResponseTransformer, usageBillingPlansCreateResponseTransformer, usageBillingPlansRetrieveResponseTransformer, webhookDeliveriesListResponseTransformer, webhookDeliveriesResendResponseTransformer, webhookDeliveriesRetrieveResponseTransformer, webhookEndpointsCreateResponseTransformer, webhookEndpointsListResponseTransformer, webhookEndpointsRetrieveResponseTransformer, webhookEndpointsUpdateResponseTransformer } from './transformers.gen';\nimport type { CatalogListData, CatalogListErrors, CatalogListingsRetrieveIntegrationGuideData, CatalogListingsRetrieveIntegrationGuideErrors, CatalogListingsRetrieveIntegrationGuideResponses, CatalogListingsRetrieveRecipeData, CatalogListingsRetrieveRecipeErrors, CatalogListingsRetrieveRecipeResponses, CatalogListResponses, CatalogPlansUpsertData, CatalogPlansUpsertErrors, CatalogPlansUpsertResponses, CatalogProductsRetrieveData, CatalogProductsRetrieveErrors, CatalogProductsRetrieveResponses, CatalogProductsUpsertData, CatalogProductsUpsertErrors, CatalogProductsUpsertResponses, CheckoutSessionsCreateData, CheckoutSessionsCreateErrors, CheckoutSessionsCreateResponses, CheckoutSessionsRetrieveData, CheckoutSessionsRetrieveErrors, CheckoutSessionsRetrieveReceiptData, CheckoutSessionsRetrieveReceiptErrors, CheckoutSessionsRetrieveReceiptResponses, CheckoutSessionsRetrieveResponses, CreditsAdjustData, CreditsAdjustErrors, CreditsAdjustResponses, CreditsConsumeData, CreditsConsumeErrors, CreditsConsumeResponses, CreditsListLedgerData, CreditsListLedgerErrors, CreditsListLedgerResponses, CreditsRetrieveData, CreditsRetrieveErrors, CreditsRetrieveResponses, CustomerAccessRetrieveData, CustomerAccessRetrieveErrors, CustomerAccessRetrieveResponses, CustomerPortalSessionsCreateData, CustomerPortalSessionsCreateErrors, CustomerPortalSessionsCreateResponses, CustomersCreateData, CustomersCreateErrors, CustomersCreateResponses, CustomersCreateSetupIntentData, CustomersCreateSetupIntentErrors, CustomersCreateSetupIntentResponses, CustomersListData, CustomersListErrors, CustomersListPaymentMethodsData, CustomersListPaymentMethodsErrors, CustomersListPaymentMethodsResponses, CustomersListResponses, CustomersRetrieveData, CustomersRetrieveErrors, CustomersRetrieveResponses, CustomersUpdateData, CustomersUpdateErrors, CustomersUpdateResponses, DiscountsCreateData, DiscountsCreateErrors, DiscountsCreateResponses, DiscountsDeactivateData, DiscountsDeactivateErrors, DiscountsDeactivateResponses, DiscountsListData, DiscountsListErrors, DiscountsListResponses, DiscountsRetrieveData, DiscountsRetrieveErrors, DiscountsRetrieveResponses, DiscountsUpdateData, DiscountsUpdateErrors, DiscountsUpdateResponses, IntegrationVerificationsCreateData, IntegrationVerificationsCreateErrors, IntegrationVerificationsCreateResponses, IntegrationVerificationsListForListingData, IntegrationVerificationsListForListingErrors, IntegrationVerificationsListForListingResponses, InvoicesCreateData, InvoicesCreateErrors, InvoicesCreateResponses, InvoicesListData, InvoicesListErrors, InvoicesListResponses, InvoicesRetrieveData, InvoicesRetrieveErrors, InvoicesRetrieveResponses, JwksRetrieveData, JwksRetrieveResponses, LicenseKeysActivateData, LicenseKeysActivateErrors, LicenseKeysActivateResponses, LicenseKeysDeactivateData, LicenseKeysDeactivateErrors, LicenseKeysDeactivateResponses, LicenseKeysListData, LicenseKeysListErrors, LicenseKeysListResponses, LicenseKeysRetrieveData, LicenseKeysRetrieveErrors, LicenseKeysRetrieveResponses, LicenseKeysRevokeData, LicenseKeysRevokeErrors, LicenseKeysRevokeResponses, LicenseKeysValidateData, LicenseKeysValidateErrors, LicenseKeysValidateResponses, MetersCreateData, MetersCreateErrors, MetersCreateResponses, MetersListData, MetersListErrors, MetersListResponses, PaymentConfirmationsRetrieveData, PaymentConfirmationsRetrieveErrors, PaymentConfirmationsRetrieveResponses, PaymentsCreateData, PaymentsCreateErrors, PaymentsCreateResponses, PaymentsListData, PaymentsListErrors, PaymentsListResponses, PaymentsRefundsCreateData, PaymentsRefundsCreateErrors, PaymentsRefundsCreateResponses, PaymentsRefundsListData, PaymentsRefundsListErrors, PaymentsRefundsListResponses, PaymentsRefundsRetrieveData, PaymentsRefundsRetrieveErrors, PaymentsRefundsRetrieveResponses, PaymentsRetrieveData, PaymentsRetrieveErrors, PaymentsRetrieveResponses, PricesCreateData, PricesCreateErrors, PricesCreateResponses, PricesListData, PricesListErrors, PricesListResponses, PricesRetrieveData, PricesRetrieveErrors, PricesRetrieveResponses, PricesUpdateData, PricesUpdateErrors, PricesUpdateResponses, ProductsCreateData, ProductsCreateErrors, ProductsCreateResponses, ProductsListData, ProductsListErrors, ProductsListResponses, ProductsRetrieveData, ProductsRetrieveErrors, ProductsRetrieveResponses, ProductsUpdateData, ProductsUpdateErrors, ProductsUpdateResponses, SandboxPayoutMethodsCreateTestData, SandboxPayoutMethodsCreateTestErrors, SandboxPayoutMethodsCreateTestResponses, SetupSessionsRetrieveData, SetupSessionsRetrieveErrors, SetupSessionsRetrieveResponses, SubscriptionsCancelByExternalCustomerData, SubscriptionsCancelByExternalCustomerErrors, SubscriptionsCancelByExternalCustomerResponses, SubscriptionsCancelData, SubscriptionsCancelErrors, SubscriptionsCancelResponses, SubscriptionsListData, SubscriptionsListErrors, SubscriptionsListResponses, SubscriptionsPreviewUpdateData, SubscriptionsPreviewUpdateErrors, SubscriptionsPreviewUpdateResponses, SubscriptionsRetrieveData, SubscriptionsRetrieveErrors, SubscriptionsRetrieveResponses, SubscriptionsUncancelByExternalCustomerData, SubscriptionsUncancelByExternalCustomerErrors, SubscriptionsUncancelByExternalCustomerResponses, SubscriptionsUpdateData, SubscriptionsUpdateErrors, SubscriptionsUpdateResponses, UsageBillingPlansCreateData, UsageBillingPlansCreateErrors, UsageBillingPlansCreateResponses, UsageBillingPlansRetrieveData, UsageBillingPlansRetrieveErrors, UsageBillingPlansRetrieveResponses, UsageRecordsCreateData, UsageRecordsCreateErrors, UsageRecordsCreateResponses, WebhookDeliveriesListData, WebhookDeliveriesListErrors, WebhookDeliveriesListResponses, WebhookDeliveriesResendData, WebhookDeliveriesResendErrors, WebhookDeliveriesResendResponses, WebhookDeliveriesRetrieveData, WebhookDeliveriesRetrieveErrors, WebhookDeliveriesRetrieveResponses, WebhookEndpointsCreateData, WebhookEndpointsCreateErrors, WebhookEndpointsCreateResponses, WebhookEndpointsDeleteData, WebhookEndpointsDeleteErrors, WebhookEndpointsDeleteResponses, WebhookEndpointsListData, WebhookEndpointsListErrors, WebhookEndpointsListResponses, WebhookEndpointsRetrieveData, WebhookEndpointsRetrieveErrors, WebhookEndpointsRetrieveResponses, WebhookEndpointsUpdateData, WebhookEndpointsUpdateErrors, WebhookEndpointsUpdateResponses } from './types.gen';\n\nexport type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {\n /**\n * You can provide a client instance returned by `createClient()` instead of\n * individual options. This might be also useful if you want to implement a\n * custom client.\n */\n client?: Client;\n /**\n * You can pass arbitrary values through the `meta` object. This can be\n * used to access values that aren't defined as part of the SDK function.\n */\n meta?: keyof ClientMeta extends never ? Record<string, unknown> : ClientMeta;\n};\n\n/**\n * Retrieve the JWKS\n *\n * The public keys (JWKS) that verify customer-access JWTs. No API key needed. Use the key whose `kid` matches the token header.\n */\nexport const jwksRetrieve = <ThrowOnError extends boolean = false>(options?: Options<JwksRetrieveData, ThrowOnError>): RequestResult<JwksRetrieveResponses, unknown, ThrowOnError> => (options?.client ?? client).get<JwksRetrieveResponses, unknown, ThrowOnError>({ url: '/v1/.well-known/jwks.json', ...options });\n\n/**\n * List catalog products\n *\n * Lists the products of your catalog with their plan keys. Only products with a key are listed. Oldest first; follow `nextCursor` for more.\n */\nexport const catalogList = <ThrowOnError extends boolean = false>(options?: Options<CatalogListData, ThrowOnError>): RequestResult<CatalogListResponses, CatalogListErrors, ThrowOnError> => (options?.client ?? client).get<CatalogListResponses, CatalogListErrors, ThrowOnError>({\n responseTransformer: catalogListResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/catalog',\n ...options\n});\n\n/**\n * Retrieve an integration guide\n *\n * A generated integration prompt and checklist for an app builder.\n */\nexport const catalogListingsRetrieveIntegrationGuide = <ThrowOnError extends boolean = false>(options: Options<CatalogListingsRetrieveIntegrationGuideData, ThrowOnError>): RequestResult<CatalogListingsRetrieveIntegrationGuideResponses, CatalogListingsRetrieveIntegrationGuideErrors, ThrowOnError> => (options.client ?? client).get<CatalogListingsRetrieveIntegrationGuideResponses, CatalogListingsRetrieveIntegrationGuideErrors, ThrowOnError>({\n responseTransformer: catalogListingsRetrieveIntegrationGuideResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/catalog/listings/{catalogKey}/integration-guide',\n ...options\n});\n\n/**\n * Retrieve a listing recipe\n *\n * The agent-readable recipe (plans, prices, entitlements, endpoints) of a listing. Supports conditional requests: send the `ETag` back in `If-None-Match` to get `304 Not Modified` while the recipe is unchanged.\n */\nexport const catalogListingsRetrieveRecipe = <ThrowOnError extends boolean = false>(options: Options<CatalogListingsRetrieveRecipeData, ThrowOnError>): RequestResult<CatalogListingsRetrieveRecipeResponses, CatalogListingsRetrieveRecipeErrors, ThrowOnError> => (options.client ?? client).get<CatalogListingsRetrieveRecipeResponses, CatalogListingsRetrieveRecipeErrors, ThrowOnError>({\n responseTransformer: catalogListingsRetrieveRecipeResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/catalog/listings/{catalogKey}/recipe',\n ...options\n});\n\n/**\n * Retrieve a catalog product\n *\n * A product with its plans, prices and entitlements. Each price includes the `checkout` selection to send to `POST /v1/checkout-sessions`. Supports conditional requests: send the `ETag` back in `If-None-Match` to get `304 Not Modified` while the product is unchanged.\n */\nexport const catalogProductsRetrieve = <ThrowOnError extends boolean = false>(options: Options<CatalogProductsRetrieveData, ThrowOnError>): RequestResult<CatalogProductsRetrieveResponses, CatalogProductsRetrieveErrors, ThrowOnError> => (options.client ?? client).get<CatalogProductsRetrieveResponses, CatalogProductsRetrieveErrors, ThrowOnError>({\n responseTransformer: catalogProductsRetrieveResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/catalog/products/{key}',\n ...options\n});\n\n/**\n * Upsert a product\n *\n * Creates the product when no product has this key, otherwise updates it. `type` is required when creating and cannot change. With `active` (default `true` on create) the product goes on sale as soon as it has a plan.\n */\nexport const catalogProductsUpsert = <ThrowOnError extends boolean = false>(options: Options<CatalogProductsUpsertData, ThrowOnError>): RequestResult<CatalogProductsUpsertResponses, CatalogProductsUpsertErrors, ThrowOnError> => (options.client ?? client).put<CatalogProductsUpsertResponses, CatalogProductsUpsertErrors, ThrowOnError>({\n responseTransformer: catalogProductsUpsertResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/catalog/products/{key}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Upsert a plan\n *\n * Creates or updates a plan of a product by key, with its prices. `prices` is the complete set for the plan: prices you leave out stop being sold. Subscription products take a monthly price and optionally a yearly one; other products take exactly one `one_time` price. Returns the whole product.\n */\nexport const catalogPlansUpsert = <ThrowOnError extends boolean = false>(options: Options<CatalogPlansUpsertData, ThrowOnError>): RequestResult<CatalogPlansUpsertResponses, CatalogPlansUpsertErrors, ThrowOnError> => (options.client ?? client).put<CatalogPlansUpsertResponses, CatalogPlansUpsertErrors, ThrowOnError>({\n responseTransformer: catalogPlansUpsertResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/catalog/products/{key}/plans/{planKey}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Create a checkout session\n *\n * Creates a hosted (or embedded) checkout session for one of your products. Send either `listingId` (optionally with `variantId`) or `catalog` together with `externalCustomerId`, not both. Requires the `checkout_sessions:write` scope.\n */\nexport const checkoutSessionsCreate = <ThrowOnError extends boolean = false>(options: Options<CheckoutSessionsCreateData, ThrowOnError>): RequestResult<CheckoutSessionsCreateResponses, CheckoutSessionsCreateErrors, ThrowOnError> => (options.client ?? client).post<CheckoutSessionsCreateResponses, CheckoutSessionsCreateErrors, ThrowOnError>({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/checkout-sessions',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Retrieve a checkout session\n *\n * Returns one of your checkout sessions that is still pending payment, with what a custom embedded flow needs (`checkoutUrl`, `clientSecret`, `stripePublishableKey`). Sessions of other accounts return 404, and sessions in any other state return 400; use the receipt route to confirm payment. Requires the `checkout_sessions:read` scope.\n */\nexport const checkoutSessionsRetrieve = <ThrowOnError extends boolean = false>(options: Options<CheckoutSessionsRetrieveData, ThrowOnError>): RequestResult<CheckoutSessionsRetrieveResponses, CheckoutSessionsRetrieveErrors, ThrowOnError> => (options.client ?? client).get<CheckoutSessionsRetrieveResponses, CheckoutSessionsRetrieveErrors, ThrowOnError>({\n responseTransformer: checkoutSessionsRetrieveResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/checkout-sessions/{id}',\n ...options\n});\n\n/**\n * Retrieve a checkout receipt\n *\n * Confirms payment without webhooks. Send the `X-Onflay-Return-Token` from the success redirect, or pass `headless=true` to poll with the secret key alone. While `status` is `processing`, retry after `retryAfterMs`. Requires the `checkout_sessions:read` scope.\n */\nexport const checkoutSessionsRetrieveReceipt = <ThrowOnError extends boolean = false>(options: Options<CheckoutSessionsRetrieveReceiptData, ThrowOnError>): RequestResult<CheckoutSessionsRetrieveReceiptResponses, CheckoutSessionsRetrieveReceiptErrors, ThrowOnError> => (options.client ?? client).get<CheckoutSessionsRetrieveReceiptResponses, CheckoutSessionsRetrieveReceiptErrors, ThrowOnError>({\n responseTransformer: checkoutSessionsRetrieveReceiptResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/checkout-sessions/{id}/receipt',\n ...options\n});\n\n/**\n * Adjust credits\n *\n * Manual grant (positive `amount`) or correction (negative `amount`), recorded with reason `adjustment`. A removal larger than the balance answers 402 `insufficient_credits`: balances never go negative. Same idempotency rules as consume. Bumps the customer-access `version` and, for a grant, sends `credits.granted`. A positive adjustment can expire: `expiresInDays` (1 to 3650) makes the added credits expire that many days from now; it is rejected (400 `expires_in_days_not_allowed`) with a negative `amount`.\n */\nexport const creditsAdjust = <ThrowOnError extends boolean = false>(options: Options<CreditsAdjustData, ThrowOnError>): RequestResult<CreditsAdjustResponses, CreditsAdjustErrors, ThrowOnError> => (options.client ?? client).post<CreditsAdjustResponses, CreditsAdjustErrors, ThrowOnError>({\n responseTransformer: creditsAdjustResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/credits/adjust',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Consume credits\n *\n * Spends `amount` credits atomically: concurrent consumes never spend more than the balance. Not enough credits answers 402 `insufficient_credits` and consumes nothing. Reusing an `idempotencyKey` returns the first result (`replayed: true`) without consuming twice; reusing it for a different customer, key or amount answers 409 `idempotency_key_reused`. A consume bumps the customer-access `version` (and sends `customer.access_changed` with `credits`) only when it empties the balance; other consumes do not.\n */\nexport const creditsConsume = <ThrowOnError extends boolean = false>(options: Options<CreditsConsumeData, ThrowOnError>): RequestResult<CreditsConsumeResponses, CreditsConsumeErrors, ThrowOnError> => (options.client ?? client).post<CreditsConsumeResponses, CreditsConsumeErrors, ThrowOnError>({\n responseTransformer: creditsConsumeResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/credits/consume',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Retrieve credit balances\n *\n * A customer's credit balances. One balance per credit key. The same balances appear in customer access as `credits`.\n */\nexport const creditsRetrieve = <ThrowOnError extends boolean = false>(options: Options<CreditsRetrieveData, ThrowOnError>): RequestResult<CreditsRetrieveResponses, CreditsRetrieveErrors, ThrowOnError> => (options.client ?? client).get<CreditsRetrieveResponses, CreditsRetrieveErrors, ThrowOnError>({\n responseTransformer: creditsRetrieveResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/credits/{externalCustomerId}',\n ...options\n});\n\n/**\n * List a customer's credit ledger\n *\n * Every credit movement of the customer, newest first, cursor-paginated. Filter by credit `key`.\n */\nexport const creditsListLedger = <ThrowOnError extends boolean = false>(options: Options<CreditsListLedgerData, ThrowOnError>): RequestResult<CreditsListLedgerResponses, CreditsListLedgerErrors, ThrowOnError> => (options.client ?? client).get<CreditsListLedgerResponses, CreditsListLedgerErrors, ThrowOnError>({\n responseTransformer: creditsListLedgerResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/credits/{externalCustomerId}/ledger',\n ...options\n});\n\n/**\n * Retrieve customer access\n *\n * What a customer has right now: plans, purchases, tickets, bookings, credits, license keys and entitlements. Supports conditional requests: the response carries an `ETag`; send it back in `If-None-Match` to get `304 Not Modified` with no body while access is unchanged. Pass `includeToken=true` to also receive a short-lived signed JWT of the same claims.\n */\nexport const customerAccessRetrieve = <ThrowOnError extends boolean = false>(options: Options<CustomerAccessRetrieveData, ThrowOnError>): RequestResult<CustomerAccessRetrieveResponses, CustomerAccessRetrieveErrors, ThrowOnError> => (options.client ?? client).get<CustomerAccessRetrieveResponses, CustomerAccessRetrieveErrors, ThrowOnError>({\n responseTransformer: customerAccessRetrieveResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/customer-access/{externalCustomerId}',\n ...options\n});\n\n/**\n * Create a customer portal session\n *\n * Returns a 1-hour link to the Onflay-hosted portal where the customer sees their subscriptions, cancels or resumes them, updates the card their renewals use, and sees their billing history. Create one each time the customer clicks \"Manage billing\" and redirect to `url`. Requires the `customers:write` scope.\n */\nexport const customerPortalSessionsCreate = <ThrowOnError extends boolean = false>(options: Options<CustomerPortalSessionsCreateData, ThrowOnError>): RequestResult<CustomerPortalSessionsCreateResponses, CustomerPortalSessionsCreateErrors, ThrowOnError> => (options.client ?? client).post<CustomerPortalSessionsCreateResponses, CustomerPortalSessionsCreateErrors, ThrowOnError>({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/customer-portal/sessions',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * List customers\n *\n * Lists the customers linked to your account (created through the API or checkout) or with a payment on it, newest first. Cursor-paginated. Requires the `customers:read` scope.\n */\nexport const customersList = <ThrowOnError extends boolean = false>(options?: Options<CustomersListData, ThrowOnError>): RequestResult<CustomersListResponses, CustomersListErrors, ThrowOnError> => (options?.client ?? client).get<CustomersListResponses, CustomersListErrors, ThrowOnError>({\n responseTransformer: customersListResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/customers',\n ...options\n});\n\n/**\n * Create a customer\n *\n * Creates a customer and links it to your account. Emails are unique across Onflay: if a customer with this email already exists it is linked to your account and returned unchanged (`name` and `phone` are ignored). Requires the `customers:write` scope.\n */\nexport const customersCreate = <ThrowOnError extends boolean = false>(options: Options<CustomersCreateData, ThrowOnError>): RequestResult<CustomersCreateResponses, CustomersCreateErrors, ThrowOnError> => (options.client ?? client).post<CustomersCreateResponses, CustomersCreateErrors, ThrowOnError>({\n responseTransformer: customersCreateResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/customers',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Retrieve a customer\n *\n * Requires the `customers:read` scope.\n */\nexport const customersRetrieve = <ThrowOnError extends boolean = false>(options: Options<CustomersRetrieveData, ThrowOnError>): RequestResult<CustomersRetrieveResponses, CustomersRetrieveErrors, ThrowOnError> => (options.client ?? client).get<CustomersRetrieveResponses, CustomersRetrieveErrors, ThrowOnError>({\n responseTransformer: customersRetrieveResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/customers/{id}',\n ...options\n});\n\n/**\n * Update a customer\n *\n * Updates `name` and/or `phone`. Requires the `customers:write` scope.\n */\nexport const customersUpdate = <ThrowOnError extends boolean = false>(options: Options<CustomersUpdateData, ThrowOnError>): RequestResult<CustomersUpdateResponses, CustomersUpdateErrors, ThrowOnError> => (options.client ?? client).patch<CustomersUpdateResponses, CustomersUpdateErrors, ThrowOnError>({\n responseTransformer: customersUpdateResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/customers/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * List a customer's payment methods\n *\n * Cards the customer saved with your account (through a setup intent), default first, then newest first. Cards they saved with another seller on Onflay are never listed. Not paginated. Requires the `customers:read` scope.\n */\nexport const customersListPaymentMethods = <ThrowOnError extends boolean = false>(options: Options<CustomersListPaymentMethodsData, ThrowOnError>): RequestResult<CustomersListPaymentMethodsResponses, CustomersListPaymentMethodsErrors, ThrowOnError> => (options.client ?? client).get<CustomersListPaymentMethodsResponses, CustomersListPaymentMethodsErrors, ThrowOnError>({\n responseTransformer: customersListPaymentMethodsResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/customers/{id}/payment-methods',\n ...options\n});\n\n/**\n * Create a setup intent\n *\n * Creates a Stripe SetupIntent so the customer can save a card for off-session charges by your account. Returns a hosted page URL and a 1-hour session token. The saved card becomes the one your invoices charge for this customer; it is never visible to or chargeable by other sellers. Requires the `customers:write` scope.\n */\nexport const customersCreateSetupIntent = <ThrowOnError extends boolean = false>(options: Options<CustomersCreateSetupIntentData, ThrowOnError>): RequestResult<CustomersCreateSetupIntentResponses, CustomersCreateSetupIntentErrors, ThrowOnError> => (options.client ?? client).post<CustomersCreateSetupIntentResponses, CustomersCreateSetupIntentErrors, ThrowOnError>({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/customers/{id}/setup-intent',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * List discounts\n *\n * Lists your discounts, newest first. Cursor-paginated. Filter by `active`, `type` or `code`. Requires the `discounts:read` scope.\n */\nexport const discountsList = <ThrowOnError extends boolean = false>(options?: Options<DiscountsListData, ThrowOnError>): RequestResult<DiscountsListResponses, DiscountsListErrors, ThrowOnError> => (options?.client ?? client).get<DiscountsListResponses, DiscountsListErrors, ThrowOnError>({\n responseTransformer: discountsListResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/discounts',\n ...options\n});\n\n/**\n * Create a discount\n *\n * Creates a discount code (`type: discount_code`, buyers enter `code`) or a time-limited offer (`type: time_limited_offer`, applies on its own in its window). Target products and plans by key. Requires the `discounts:write` scope.\n */\nexport const discountsCreate = <ThrowOnError extends boolean = false>(options: Options<DiscountsCreateData, ThrowOnError>): RequestResult<DiscountsCreateResponses, DiscountsCreateErrors, ThrowOnError> => (options.client ?? client).post<DiscountsCreateResponses, DiscountsCreateErrors, ThrowOnError>({\n responseTransformer: discountsCreateResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/discounts',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Retrieve a discount\n *\n * Returns one discount. Requires the `discounts:read` scope.\n */\nexport const discountsRetrieve = <ThrowOnError extends boolean = false>(options: Options<DiscountsRetrieveData, ThrowOnError>): RequestResult<DiscountsRetrieveResponses, DiscountsRetrieveErrors, ThrowOnError> => (options.client ?? client).get<DiscountsRetrieveResponses, DiscountsRetrieveErrors, ThrowOnError>({\n responseTransformer: discountsRetrieveResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/discounts/{id}',\n ...options\n});\n\n/**\n * Update a discount\n *\n * Changes the fields you send; the others keep their value. `type` cannot change. `productKeys` replaces the products (and clears `planKeys` unless you send it too). Send `{ \"active\": true }` to turn a deactivated discount back on. Requires the `discounts:write` scope.\n */\nexport const discountsUpdate = <ThrowOnError extends boolean = false>(options: Options<DiscountsUpdateData, ThrowOnError>): RequestResult<DiscountsUpdateResponses, DiscountsUpdateErrors, ThrowOnError> => (options.client ?? client).patch<DiscountsUpdateResponses, DiscountsUpdateErrors, ThrowOnError>({\n responseTransformer: discountsUpdateResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/discounts/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Deactivate a discount\n *\n * Turns the discount off (`active: false`): buyers can no longer use it, and its code stays reserved. Orders that already used it are not affected. Deactivating twice is fine. Requires the `discounts:write` scope.\n */\nexport const discountsDeactivate = <ThrowOnError extends boolean = false>(options: Options<DiscountsDeactivateData, ThrowOnError>): RequestResult<DiscountsDeactivateResponses, DiscountsDeactivateErrors, ThrowOnError> => (options.client ?? client).post<DiscountsDeactivateResponses, DiscountsDeactivateErrors, ThrowOnError>({\n responseTransformer: discountsDeactivateResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/discounts/{id}/deactivate',\n ...options\n});\n\n/**\n * Record an integration check\n *\n * Records a self-reported integration check for a listing. Deprecated: nothing is checked. On the sandbox, `npx onflay verify` (`POST /v1/sandbox/verifications`) checks the integration on Onflay’s side. Still accepted. The listing (and `checkoutSessionId`, when given) must belong to your account; otherwise 404.\n *\n * @deprecated\n */\nexport const integrationVerificationsCreate = <ThrowOnError extends boolean = false>(options: Options<IntegrationVerificationsCreateData, ThrowOnError>): RequestResult<IntegrationVerificationsCreateResponses, IntegrationVerificationsCreateErrors, ThrowOnError> => (options.client ?? client).post<IntegrationVerificationsCreateResponses, IntegrationVerificationsCreateErrors, ThrowOnError>({\n responseTransformer: integrationVerificationsCreateResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/integration-verifications',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * List integration checks\n *\n * The integration checks recorded for a listing, newest first. Cursor-paginated; `data` is empty when the listing has none (or is not yours).\n */\nexport const integrationVerificationsListForListing = <ThrowOnError extends boolean = false>(options: Options<IntegrationVerificationsListForListingData, ThrowOnError>): RequestResult<IntegrationVerificationsListForListingResponses, IntegrationVerificationsListForListingErrors, ThrowOnError> => (options.client ?? client).get<IntegrationVerificationsListForListingResponses, IntegrationVerificationsListForListingErrors, ThrowOnError>({\n responseTransformer: integrationVerificationsListForListingResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/integration-verifications/listings/{listingId}',\n ...options\n});\n\n/**\n * List invoices\n *\n * Cursor-paginated list of invoices, newest first. Filter by `customerId`.\n */\nexport const invoicesList = <ThrowOnError extends boolean = false>(options?: Options<InvoicesListData, ThrowOnError>): RequestResult<InvoicesListResponses, InvoicesListErrors, ThrowOnError> => (options?.client ?? client).get<InvoicesListResponses, InvoicesListErrors, ThrowOnError>({\n responseTransformer: invoicesListResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/invoices',\n ...options\n});\n\n/**\n * Create and charge an invoice\n *\n * Creates an invoice from pre-computed line items and charges the default card the customer saved with your account (never a card saved with another seller). Returns `payment_method_required` (402) when there is none. With an `Idempotency-Key`, a repeated request returns the invoice already created for that key, or finishes the same charge if the first attempt timed out.\n */\nexport const invoicesCreate = <ThrowOnError extends boolean = false>(options: Options<InvoicesCreateData, ThrowOnError>): RequestResult<InvoicesCreateResponses, InvoicesCreateErrors, ThrowOnError> => (options.client ?? client).post<InvoicesCreateResponses, InvoicesCreateErrors, ThrowOnError>({\n responseTransformer: invoicesCreateResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/invoices',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Retrieve an invoice\n */\nexport const invoicesRetrieve = <ThrowOnError extends boolean = false>(options: Options<InvoicesRetrieveData, ThrowOnError>): RequestResult<InvoicesRetrieveResponses, InvoicesRetrieveErrors, ThrowOnError> => (options.client ?? client).get<InvoicesRetrieveResponses, InvoicesRetrieveErrors, ThrowOnError>({\n responseTransformer: invoicesRetrieveResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/invoices/{id}',\n ...options\n});\n\n/**\n * List license keys\n *\n * Cursor-paginated, newest first. Filter by `externalCustomerId`. Each item includes the key itself.\n */\nexport const licenseKeysList = <ThrowOnError extends boolean = false>(options?: Options<LicenseKeysListData, ThrowOnError>): RequestResult<LicenseKeysListResponses, LicenseKeysListErrors, ThrowOnError> => (options?.client ?? client).get<LicenseKeysListResponses, LicenseKeysListErrors, ThrowOnError>({\n responseTransformer: licenseKeysListResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/license-keys',\n ...options\n});\n\n/**\n * Activate a license key\n *\n * Activates a license key on an instance. No API key. Registers `instanceId` (machine or install) against the key; activating an instance that is already active changes nothing. A revoked key answers 403 `license_key_revoked`, an expired one 403 `license_key_expired`, a key at its `activationLimit` 409 `activation_limit_reached`. Unknown or malformed keys answer 404 `license_key_not_found`. Limited to about 3 requests a second per IP (429 `rate_limited`).\n */\nexport const licenseKeysActivate = <ThrowOnError extends boolean = false>(options: Options<LicenseKeysActivateData, ThrowOnError>): RequestResult<LicenseKeysActivateResponses, LicenseKeysActivateErrors, ThrowOnError> => (options.client ?? client).post<LicenseKeysActivateResponses, LicenseKeysActivateErrors, ThrowOnError>({\n responseTransformer: licenseKeysActivateResponseTransformer,\n url: '/v1/license-keys/activate',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Deactivate a license key\n *\n * Deactivates a license key on an instance. No API key. Frees the seat `instanceId` used, so the key can be activated elsewhere. Idempotent; also works on revoked and expired keys. Unknown or malformed keys answer 404 `license_key_not_found`. Limited to about 3 requests a second per IP (429 `rate_limited`).\n */\nexport const licenseKeysDeactivate = <ThrowOnError extends boolean = false>(options: Options<LicenseKeysDeactivateData, ThrowOnError>): RequestResult<LicenseKeysDeactivateResponses, LicenseKeysDeactivateErrors, ThrowOnError> => (options.client ?? client).post<LicenseKeysDeactivateResponses, LicenseKeysDeactivateErrors, ThrowOnError>({\n responseTransformer: licenseKeysDeactivateResponseTransformer,\n url: '/v1/license-keys/deactivate',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Validate a license key\n *\n * No API key: call it from your app. Answers 200 for any existing key with `valid`, `status` (`active`, `revoked` or `expired`), the product and plan keys, `expiresAt` and the activation count. With `instanceId`, `valid` also requires that instance to be activated. Unknown or malformed keys answer 404 `license_key_not_found`. Limited to about 3 requests a second per IP (429 `rate_limited`).\n */\nexport const licenseKeysValidate = <ThrowOnError extends boolean = false>(options: Options<LicenseKeysValidateData, ThrowOnError>): RequestResult<LicenseKeysValidateResponses, LicenseKeysValidateErrors, ThrowOnError> => (options.client ?? client).post<LicenseKeysValidateResponses, LicenseKeysValidateErrors, ThrowOnError>({\n responseTransformer: licenseKeysValidateResponseTransformer,\n url: '/v1/license-keys/validate',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Retrieve a license key\n */\nexport const licenseKeysRetrieve = <ThrowOnError extends boolean = false>(options: Options<LicenseKeysRetrieveData, ThrowOnError>): RequestResult<LicenseKeysRetrieveResponses, LicenseKeysRetrieveErrors, ThrowOnError> => (options.client ?? client).get<LicenseKeysRetrieveResponses, LicenseKeysRetrieveErrors, ThrowOnError>({\n responseTransformer: licenseKeysRetrieveResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/license-keys/{id}',\n ...options\n});\n\n/**\n * Revoke a license key\n *\n * The key stops validating and activating at once (`status: revoked`). Idempotent. Sends `license_key.revoked` and bumps the customer-access `version`.\n */\nexport const licenseKeysRevoke = <ThrowOnError extends boolean = false>(options: Options<LicenseKeysRevokeData, ThrowOnError>): RequestResult<LicenseKeysRevokeResponses, LicenseKeysRevokeErrors, ThrowOnError> => (options.client ?? client).post<LicenseKeysRevokeResponses, LicenseKeysRevokeErrors, ThrowOnError>({\n responseTransformer: licenseKeysRevokeResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/license-keys/{id}/revoke',\n ...options\n});\n\n/**\n * List meters\n *\n * All meters of the account, newest first.\n */\nexport const metersList = <ThrowOnError extends boolean = false>(options?: Options<MetersListData, ThrowOnError>): RequestResult<MetersListResponses, MetersListErrors, ThrowOnError> => (options?.client ?? client).get<MetersListResponses, MetersListErrors, ThrowOnError>({\n responseTransformer: metersListResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/meters',\n ...options\n});\n\n/**\n * Create a meter\n */\nexport const metersCreate = <ThrowOnError extends boolean = false>(options: Options<MetersCreateData, ThrowOnError>): RequestResult<MetersCreateResponses, MetersCreateErrors, ThrowOnError> => (options.client ?? client).post<MetersCreateResponses, MetersCreateErrors, ThrowOnError>({\n responseTransformer: metersCreateResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/meters',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Retrieve a payment confirmation\n *\n * Resolves the token of a `confirmUrl` (a payment with `status: \"requires_action\"`). No API key: the token itself is the credential. Used by the Onflay-hosted confirmation page; you do not need to call it.\n */\nexport const paymentConfirmationsRetrieve = <ThrowOnError extends boolean = false>(options: Options<PaymentConfirmationsRetrieveData, ThrowOnError>): RequestResult<PaymentConfirmationsRetrieveResponses, PaymentConfirmationsRetrieveErrors, ThrowOnError> => (options.client ?? client).get<PaymentConfirmationsRetrieveResponses, PaymentConfirmationsRetrieveErrors, ThrowOnError>({\n responseTransformer: paymentConfirmationsRetrieveResponseTransformer,\n url: '/v1/payment-confirmations/{token}',\n ...options\n});\n\n/**\n * List payments\n *\n * Lists payments on your account, newest first. Cursor-paginated. Requires the `payments:read` scope.\n */\nexport const paymentsList = <ThrowOnError extends boolean = false>(options?: Options<PaymentsListData, ThrowOnError>): RequestResult<PaymentsListResponses, PaymentsListErrors, ThrowOnError> => (options?.client ?? client).get<PaymentsListResponses, PaymentsListErrors, ThrowOnError>({\n responseTransformer: paymentsListResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/payments',\n ...options\n});\n\n/**\n * Charge a saved card\n *\n * Charges a card the customer saved with your account (at checkout with `savePaymentMethod`, or through a setup intent), off-session, now. Send `amountInCents` + `currency`, or `catalog` to charge a one-time plan at its price (its grants apply). Returns the payment: `completed` when charged, `failed` with `failureCode` when declined, or `requires_action` with `confirmUrl` when the bank needs the customer to confirm (Onflay emails them the link). Cards saved with other sellers are never charged (`payment_method_required`). Requires the `payments:write` scope and an `Idempotency-Key` header: a retry with the same key returns the same payment and never charges twice.\n */\nexport const paymentsCreate = <ThrowOnError extends boolean = false>(options: Options<PaymentsCreateData, ThrowOnError>): RequestResult<PaymentsCreateResponses, PaymentsCreateErrors, ThrowOnError> => (options.client ?? client).post<PaymentsCreateResponses, PaymentsCreateErrors, ThrowOnError>({\n responseTransformer: paymentsCreateResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/payments',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Retrieve a payment\n *\n * Returns one payment on your account. Requires the `payments:read` scope.\n */\nexport const paymentsRetrieve = <ThrowOnError extends boolean = false>(options: Options<PaymentsRetrieveData, ThrowOnError>): RequestResult<PaymentsRetrieveResponses, PaymentsRetrieveErrors, ThrowOnError> => (options.client ?? client).get<PaymentsRetrieveResponses, PaymentsRetrieveErrors, ThrowOnError>({\n responseTransformer: paymentsRetrieveResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/payments/{id}',\n ...options\n});\n\n/**\n * List refunds of a payment\n *\n * Lists the refunds of one payment, newest first, including `pending` and `failed` ones. Cursor-paginated. Requires the `refunds:read` scope.\n */\nexport const paymentsRefundsList = <ThrowOnError extends boolean = false>(options: Options<PaymentsRefundsListData, ThrowOnError>): RequestResult<PaymentsRefundsListResponses, PaymentsRefundsListErrors, ThrowOnError> => (options.client ?? client).get<PaymentsRefundsListResponses, PaymentsRefundsListErrors, ThrowOnError>({\n responseTransformer: paymentsRefundsListResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/payments/{id}/refunds',\n ...options\n});\n\n/**\n * Refund a payment\n *\n * Refunds all or part of a payment to the buyer’s original payment method. Omit `amountInCents` to refund everything that is left. Requires the `refunds:write` scope and an `Idempotency-Key` header: a retry with the same key and body returns the first refund instead of refunding again. A full refund revokes what the payment granted; a refund never cancels a subscription.\n */\nexport const paymentsRefundsCreate = <ThrowOnError extends boolean = false>(options: Options<PaymentsRefundsCreateData, ThrowOnError>): RequestResult<PaymentsRefundsCreateResponses, PaymentsRefundsCreateErrors, ThrowOnError> => (options.client ?? client).post<PaymentsRefundsCreateResponses, PaymentsRefundsCreateErrors, ThrowOnError>({\n responseTransformer: paymentsRefundsCreateResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/payments/{id}/refunds',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Retrieve a refund\n *\n * Returns one refund of a payment. Requires the `refunds:read` scope.\n */\nexport const paymentsRefundsRetrieve = <ThrowOnError extends boolean = false>(options: Options<PaymentsRefundsRetrieveData, ThrowOnError>): RequestResult<PaymentsRefundsRetrieveResponses, PaymentsRefundsRetrieveErrors, ThrowOnError> => (options.client ?? client).get<PaymentsRefundsRetrieveResponses, PaymentsRefundsRetrieveErrors, ThrowOnError>({\n responseTransformer: paymentsRefundsRetrieveResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/payments/{id}/refunds/{refundId}',\n ...options\n});\n\n/**\n * List prices\n *\n * Cursor-paginated list of the account prices, newest first. `limit` counts prices. Filter by `productId` or `active`. Requires the `prices:read` scope.\n */\nexport const pricesList = <ThrowOnError extends boolean = false>(options?: Options<PricesListData, ThrowOnError>): RequestResult<PricesListResponses, PricesListErrors, ThrowOnError> => (options?.client ?? client).get<PricesListResponses, PricesListErrors, ThrowOnError>({\n responseTransformer: pricesListResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/prices',\n ...options\n});\n\n/**\n * Create a price\n *\n * Creates (or updates the matching) USD price on a product. Only `billingScheme: \"flat\"` is supported. Requires the `prices:write` scope.\n */\nexport const pricesCreate = <ThrowOnError extends boolean = false>(options: Options<PricesCreateData, ThrowOnError>): RequestResult<PricesCreateResponses, PricesCreateErrors, ThrowOnError> => (options.client ?? client).post<PricesCreateResponses, PricesCreateErrors, ThrowOnError>({\n responseTransformer: pricesCreateResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/prices',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Retrieve a price\n *\n * Requires the `prices:read` scope.\n */\nexport const pricesRetrieve = <ThrowOnError extends boolean = false>(options: Options<PricesRetrieveData, ThrowOnError>): RequestResult<PricesRetrieveResponses, PricesRetrieveErrors, ThrowOnError> => (options.client ?? client).get<PricesRetrieveResponses, PricesRetrieveErrors, ThrowOnError>({\n responseTransformer: pricesRetrieveResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/prices/{id}',\n ...options\n});\n\n/**\n * Update a price\n *\n * Activates or deactivates a price and merges `metadata`. Requires the `prices:write` scope.\n */\nexport const pricesUpdate = <ThrowOnError extends boolean = false>(options: Options<PricesUpdateData, ThrowOnError>): RequestResult<PricesUpdateResponses, PricesUpdateErrors, ThrowOnError> => (options.client ?? client).patch<PricesUpdateResponses, PricesUpdateErrors, ThrowOnError>({\n responseTransformer: pricesUpdateResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/prices/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * List products\n *\n * Cursor-paginated list of the account products, newest first. Filter by `active`. Requires the `products:read` scope.\n */\nexport const productsList = <ThrowOnError extends boolean = false>(options?: Options<ProductsListData, ThrowOnError>): RequestResult<ProductsListResponses, ProductsListErrors, ThrowOnError> => (options?.client ?? client).get<ProductsListResponses, ProductsListErrors, ThrowOnError>({\n responseTransformer: productsListResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/products',\n ...options\n});\n\n/**\n * Create a product\n *\n * Creates a digital product. It is published for sale unless `active` is false. Requires the `products:write` scope.\n */\nexport const productsCreate = <ThrowOnError extends boolean = false>(options: Options<ProductsCreateData, ThrowOnError>): RequestResult<ProductsCreateResponses, ProductsCreateErrors, ThrowOnError> => (options.client ?? client).post<ProductsCreateResponses, ProductsCreateErrors, ThrowOnError>({\n responseTransformer: productsCreateResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/products',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Retrieve a product\n *\n * Requires the `products:read` scope.\n */\nexport const productsRetrieve = <ThrowOnError extends boolean = false>(options: Options<ProductsRetrieveData, ThrowOnError>): RequestResult<ProductsRetrieveResponses, ProductsRetrieveErrors, ThrowOnError> => (options.client ?? client).get<ProductsRetrieveResponses, ProductsRetrieveErrors, ThrowOnError>({\n responseTransformer: productsRetrieveResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/products/{id}',\n ...options\n});\n\n/**\n * Update a product\n *\n * Updates the provided fields. `metadata` is merged into the existing metadata. Requires the `products:write` scope.\n */\nexport const productsUpdate = <ThrowOnError extends boolean = false>(options: Options<ProductsUpdateData, ThrowOnError>): RequestResult<ProductsUpdateResponses, ProductsUpdateErrors, ThrowOnError> => (options.client ?? client).patch<ProductsUpdateResponses, ProductsUpdateErrors, ThrowOnError>({\n responseTransformer: productsUpdateResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/products/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Create a test payout method\n *\n * Provisions a test payout method for this sandbox account. Sandbox only (`sk_test_*` keys); returns 403 on the production plane. Safe to call repeatedly.\n */\nexport const sandboxPayoutMethodsCreateTest = <ThrowOnError extends boolean = false>(options?: Options<SandboxPayoutMethodsCreateTestData, ThrowOnError>): RequestResult<SandboxPayoutMethodsCreateTestResponses, SandboxPayoutMethodsCreateTestErrors, ThrowOnError> => (options?.client ?? client).post<SandboxPayoutMethodsCreateTestResponses, SandboxPayoutMethodsCreateTestErrors, ThrowOnError>({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/sandbox/payout-methods/test',\n ...options\n});\n\n/**\n * Retrieve a setup session\n *\n * Resolves a setup session token from `POST /v1/customers/{id}/setup-intent`. No API key: the token itself is the credential. Tokens expire after 1 hour.\n */\nexport const setupSessionsRetrieve = <ThrowOnError extends boolean = false>(options: Options<SetupSessionsRetrieveData, ThrowOnError>): RequestResult<SetupSessionsRetrieveResponses, SetupSessionsRetrieveErrors, ThrowOnError> => (options.client ?? client).get<SetupSessionsRetrieveResponses, SetupSessionsRetrieveErrors, ThrowOnError>({ url: '/v1/setup-sessions/{token}', ...options });\n\n/**\n * List subscriptions\n *\n * Cursor-paginated list of the account subscriptions, newest first. Filter by `status` or `externalCustomerId`.\n */\nexport const subscriptionsList = <ThrowOnError extends boolean = false>(options?: Options<SubscriptionsListData, ThrowOnError>): RequestResult<SubscriptionsListResponses, SubscriptionsListErrors, ThrowOnError> => (options?.client ?? client).get<SubscriptionsListResponses, SubscriptionsListErrors, ThrowOnError>({\n responseTransformer: subscriptionsListResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/subscriptions',\n ...options\n});\n\n/**\n * Cancel by externalCustomerId\n *\n * Resolves the customer's single cancelable subscription (optionally scoped by catalogKey) and cancels it. Defaults to cancel at period end.\n */\nexport const subscriptionsCancelByExternalCustomer = <ThrowOnError extends boolean = false>(options: Options<SubscriptionsCancelByExternalCustomerData, ThrowOnError>): RequestResult<SubscriptionsCancelByExternalCustomerResponses, SubscriptionsCancelByExternalCustomerErrors, ThrowOnError> => (options.client ?? client).post<SubscriptionsCancelByExternalCustomerResponses, SubscriptionsCancelByExternalCustomerErrors, ThrowOnError>({\n responseTransformer: subscriptionsCancelByExternalCustomerResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/subscriptions/cancel',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Uncancel by externalCustomerId\n *\n * Clears the customer's single scheduled period-end cancellation (optionally scoped by catalogKey).\n */\nexport const subscriptionsUncancelByExternalCustomer = <ThrowOnError extends boolean = false>(options: Options<SubscriptionsUncancelByExternalCustomerData, ThrowOnError>): RequestResult<SubscriptionsUncancelByExternalCustomerResponses, SubscriptionsUncancelByExternalCustomerErrors, ThrowOnError> => (options.client ?? client).post<SubscriptionsUncancelByExternalCustomerResponses, SubscriptionsUncancelByExternalCustomerErrors, ThrowOnError>({\n responseTransformer: subscriptionsUncancelByExternalCustomerResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/subscriptions/uncancel',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Retrieve a subscription\n */\nexport const subscriptionsRetrieve = <ThrowOnError extends boolean = false>(options: Options<SubscriptionsRetrieveData, ThrowOnError>): RequestResult<SubscriptionsRetrieveResponses, SubscriptionsRetrieveErrors, ThrowOnError> => (options.client ?? client).get<SubscriptionsRetrieveResponses, SubscriptionsRetrieveErrors, ThrowOnError>({\n responseTransformer: subscriptionsRetrieveResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/subscriptions/{id}',\n ...options\n});\n\n/**\n * Update a subscription\n *\n * Cancels, resumes or switches the plan of a subscription. Provide exactly one intent. `{ cancelAtPeriodEnd }` returns a `SubscriptionCancellation`; `{ uncancel: true }`, `{ catalog }` and `{ cancelPendingChange: true }` return the updated `Subscription`. A plan switch applies now (`effective: \"now\"`, default, prorated with `prorationBehavior`) or at the end of the paid period (`effective: \"period_end\"`: the subscription shows `pendingChange` and `subscription.updated` fires when the new plan starts). Price either with `POST /v1/subscriptions/{id}/preview` first.\n */\nexport const subscriptionsUpdate = <ThrowOnError extends boolean = false>(options: Options<SubscriptionsUpdateData, ThrowOnError>): RequestResult<SubscriptionsUpdateResponses, SubscriptionsUpdateErrors, ThrowOnError> => (options.client ?? client).patch<SubscriptionsUpdateResponses, SubscriptionsUpdateErrors, ThrowOnError>({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/subscriptions/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Cancel a subscription\n *\n * Defaults to cancel at period end (status stays `active` with cancelAtPeriodEnd=true). Pass cancelAtPeriodEnd=false to cancel immediately.\n */\nexport const subscriptionsCancel = <ThrowOnError extends boolean = false>(options: Options<SubscriptionsCancelData, ThrowOnError>): RequestResult<SubscriptionsCancelResponses, SubscriptionsCancelErrors, ThrowOnError> => (options.client ?? client).post<SubscriptionsCancelResponses, SubscriptionsCancelErrors, ThrowOnError>({\n responseTransformer: subscriptionsCancelResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/subscriptions/{id}/cancel',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Preview a plan switch\n *\n * Returns what a plan switch would cost without changing anything: `amountDueNow` (charged when you switch), the next invoice and its lines. Takes the plan-switch fields of `PATCH /v1/subscriptions/{id}` (`catalog`, `prorationBehavior`, `effective`) and runs the same checks, so it fails with the same errors (`plan_unchanged`, `cross_listing_switch_forbidden`, `cancellation_scheduled`, ...). Amounts exclude tax Onflay adds to invoices of tax-collected subscriptions.\n */\nexport const subscriptionsPreviewUpdate = <ThrowOnError extends boolean = false>(options: Options<SubscriptionsPreviewUpdateData, ThrowOnError>): RequestResult<SubscriptionsPreviewUpdateResponses, SubscriptionsPreviewUpdateErrors, ThrowOnError> => (options.client ?? client).post<SubscriptionsPreviewUpdateResponses, SubscriptionsPreviewUpdateErrors, ThrowOnError>({\n responseTransformer: subscriptionsPreviewUpdateResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/subscriptions/{id}/preview',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Create a usage billing plan\n *\n * Attaches metered billing (meter + price) to a subscription. One plan per subscription.\n */\nexport const usageBillingPlansCreate = <ThrowOnError extends boolean = false>(options: Options<UsageBillingPlansCreateData, ThrowOnError>): RequestResult<UsageBillingPlansCreateResponses, UsageBillingPlansCreateErrors, ThrowOnError> => (options.client ?? client).post<UsageBillingPlansCreateResponses, UsageBillingPlansCreateErrors, ThrowOnError>({\n responseTransformer: usageBillingPlansCreateResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/usage/billing-plans',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Retrieve a usage billing plan\n *\n * The usage billing plan of a subscription.\n */\nexport const usageBillingPlansRetrieve = <ThrowOnError extends boolean = false>(options: Options<UsageBillingPlansRetrieveData, ThrowOnError>): RequestResult<UsageBillingPlansRetrieveResponses, UsageBillingPlansRetrieveErrors, ThrowOnError> => (options.client ?? client).get<UsageBillingPlansRetrieveResponses, UsageBillingPlansRetrieveErrors, ThrowOnError>({\n responseTransformer: usageBillingPlansRetrieveResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/usage/billing-plans/{subscriptionId}',\n ...options\n});\n\n/**\n * Report usage\n *\n * Buffers a usage event for a subscription and meter; it is persisted asynchronously. Deduplicated by the body `idempotencyKey`.\n */\nexport const usageRecordsCreate = <ThrowOnError extends boolean = false>(options: Options<UsageRecordsCreateData, ThrowOnError>): RequestResult<UsageRecordsCreateResponses, UsageRecordsCreateErrors, ThrowOnError> => (options.client ?? client).post<UsageRecordsCreateResponses, UsageRecordsCreateErrors, ThrowOnError>({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/usage/records',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * List webhook deliveries\n *\n * Newest first. Cursor-paginated. List items omit `payload`; retrieve a delivery to see it.\n */\nexport const webhookDeliveriesList = <ThrowOnError extends boolean = false>(options?: Options<WebhookDeliveriesListData, ThrowOnError>): RequestResult<WebhookDeliveriesListResponses, WebhookDeliveriesListErrors, ThrowOnError> => (options?.client ?? client).get<WebhookDeliveriesListResponses, WebhookDeliveriesListErrors, ThrowOnError>({\n responseTransformer: webhookDeliveriesListResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/webhook-deliveries',\n ...options\n});\n\n/**\n * Retrieve a webhook delivery\n *\n * Includes the payload that was sent.\n */\nexport const webhookDeliveriesRetrieve = <ThrowOnError extends boolean = false>(options: Options<WebhookDeliveriesRetrieveData, ThrowOnError>): RequestResult<WebhookDeliveriesRetrieveResponses, WebhookDeliveriesRetrieveErrors, ThrowOnError> => (options.client ?? client).get<WebhookDeliveriesRetrieveResponses, WebhookDeliveriesRetrieveErrors, ThrowOnError>({\n responseTransformer: webhookDeliveriesRetrieveResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/webhook-deliveries/{id}',\n ...options\n});\n\n/**\n * Resend a webhook delivery\n *\n * Queues the delivery for another attempt now. Sets the status back to `PENDING` and enqueues a new attempt. The response omits `payload`.\n */\nexport const webhookDeliveriesResend = <ThrowOnError extends boolean = false>(options: Options<WebhookDeliveriesResendData, ThrowOnError>): RequestResult<WebhookDeliveriesResendResponses, WebhookDeliveriesResendErrors, ThrowOnError> => (options.client ?? client).post<WebhookDeliveriesResendResponses, WebhookDeliveriesResendErrors, ThrowOnError>({\n responseTransformer: webhookDeliveriesResendResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/webhook-deliveries/{id}/resend',\n ...options\n});\n\n/**\n * List webhook endpoints\n *\n * Newest first. Returns every endpoint in one page; `nextCursor` is always null.\n */\nexport const webhookEndpointsList = <ThrowOnError extends boolean = false>(options?: Options<WebhookEndpointsListData, ThrowOnError>): RequestResult<WebhookEndpointsListResponses, WebhookEndpointsListErrors, ThrowOnError> => (options?.client ?? client).get<WebhookEndpointsListResponses, WebhookEndpointsListErrors, ThrowOnError>({\n responseTransformer: webhookEndpointsListResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/webhook-endpoints',\n ...options\n});\n\n/**\n * Create a webhook endpoint\n *\n * The signing secret is returned once, in `secret`.\n */\nexport const webhookEndpointsCreate = <ThrowOnError extends boolean = false>(options: Options<WebhookEndpointsCreateData, ThrowOnError>): RequestResult<WebhookEndpointsCreateResponses, WebhookEndpointsCreateErrors, ThrowOnError> => (options.client ?? client).post<WebhookEndpointsCreateResponses, WebhookEndpointsCreateErrors, ThrowOnError>({\n responseTransformer: webhookEndpointsCreateResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/webhook-endpoints',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n\n/**\n * Delete a webhook endpoint\n *\n * Deletes the endpoint and its delivery log.\n */\nexport const webhookEndpointsDelete = <ThrowOnError extends boolean = false>(options: Options<WebhookEndpointsDeleteData, ThrowOnError>): RequestResult<WebhookEndpointsDeleteResponses, WebhookEndpointsDeleteErrors, ThrowOnError> => (options.client ?? client).delete<WebhookEndpointsDeleteResponses, WebhookEndpointsDeleteErrors, ThrowOnError>({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/webhook-endpoints/{id}',\n ...options\n});\n\n/**\n * Retrieve a webhook endpoint\n */\nexport const webhookEndpointsRetrieve = <ThrowOnError extends boolean = false>(options: Options<WebhookEndpointsRetrieveData, ThrowOnError>): RequestResult<WebhookEndpointsRetrieveResponses, WebhookEndpointsRetrieveErrors, ThrowOnError> => (options.client ?? client).get<WebhookEndpointsRetrieveResponses, WebhookEndpointsRetrieveErrors, ThrowOnError>({\n responseTransformer: webhookEndpointsRetrieveResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/webhook-endpoints/{id}',\n ...options\n});\n\n/**\n * Update a webhook endpoint\n *\n * Updates the URL, events, description or `isActive`.\n */\nexport const webhookEndpointsUpdate = <ThrowOnError extends boolean = false>(options: Options<WebhookEndpointsUpdateData, ThrowOnError>): RequestResult<WebhookEndpointsUpdateResponses, WebhookEndpointsUpdateErrors, ThrowOnError> => (options.client ?? client).patch<WebhookEndpointsUpdateResponses, WebhookEndpointsUpdateErrors, ThrowOnError>({\n responseTransformer: webhookEndpointsUpdateResponseTransformer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/webhook-endpoints/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers\n }\n});\n","// This file is generated by scripts/generate.mjs from apps/docs/api-reference/openapi.json. Do not edit.\nimport * as hey from './hey-api/sdk.gen';\nimport type { OperationDef } from '../lib/sdks';\n\nexport const jwksRetrieve: OperationDef = {\n id: 'jwks_retrieve',\n method: 'GET',\n path: '/v1/.well-known/jwks.json',\n fn: hey.jwksRetrieve as OperationDef['fn'],\n auth: false,\n params: [],\n errorCodes: [],\n emptyCodes: [],\n};\n\nexport const catalogList: OperationDef = {\n id: 'catalog_list',\n method: 'GET',\n path: '/v1/catalog',\n fn: hey.catalogList as OperationDef['fn'],\n auth: true,\n params: [['limit', 'limit', 'query', false], ['cursor', 'cursor', 'query', false]],\n errorCodes: ['400', '401', '403', '429', '500'],\n emptyCodes: [],\n pagination: { input: 'cursor', output: 'nextCursor' },\n};\n\nexport const catalogListingsRetrieveIntegrationGuide: OperationDef = {\n id: 'catalog_listings_retrieve_integration_guide',\n method: 'GET',\n path: '/v1/catalog/listings/{catalogKey}/integration-guide',\n fn: hey.catalogListingsRetrieveIntegrationGuide as OperationDef['fn'],\n auth: true,\n params: [['catalogKey', 'catalogKey', 'path', true], ['target', 'target', 'query', false]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const catalogListingsRetrieveRecipe: OperationDef = {\n id: 'catalog_listings_retrieve_recipe',\n method: 'GET',\n path: '/v1/catalog/listings/{catalogKey}/recipe',\n fn: hey.catalogListingsRetrieveRecipe as OperationDef['fn'],\n auth: true,\n params: [['catalogKey', 'catalogKey', 'path', true], ['ifNoneMatch', 'if-none-match', 'header', false]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [304],\n};\n\nexport const catalogProductsRetrieve: OperationDef = {\n id: 'catalog_products_retrieve',\n method: 'GET',\n path: '/v1/catalog/products/{key}',\n fn: hey.catalogProductsRetrieve as OperationDef['fn'],\n auth: true,\n params: [['key', 'key', 'path', true], ['ifNoneMatch', 'if-none-match', 'header', false]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [304],\n};\n\nexport const catalogProductsUpsert: OperationDef = {\n id: 'catalog_products_upsert',\n method: 'PUT',\n path: '/v1/catalog/products/{key}',\n fn: hey.catalogProductsUpsert as OperationDef['fn'],\n auth: true,\n params: [['key', 'key', 'path', true]],\n body: 'upsertCatalogProduct',\n errorCodes: ['400', '401', '403', '409', '429', '500'],\n emptyCodes: [],\n};\n\nexport const catalogPlansUpsert: OperationDef = {\n id: 'catalog_plans_upsert',\n method: 'PUT',\n path: '/v1/catalog/products/{key}/plans/{planKey}',\n fn: hey.catalogPlansUpsert as OperationDef['fn'],\n auth: true,\n params: [['key', 'key', 'path', true], ['planKey', 'planKey', 'path', true]],\n body: 'upsertCatalogPlan',\n errorCodes: ['400', '401', '403', '404', '409', '429', '500'],\n emptyCodes: [],\n};\n\nexport const checkoutSessionsCreate: OperationDef = {\n id: 'checkout_sessions_create',\n method: 'POST',\n path: '/v1/checkout-sessions',\n fn: hey.checkoutSessionsCreate as OperationDef['fn'],\n auth: true,\n params: [['idempotencyKey', 'Idempotency-Key', 'header', false]],\n body: 'createCheckout',\n errorCodes: ['400', '401', '403', '404', '409', '410', '422', '429', '500'],\n emptyCodes: [],\n};\n\nexport const checkoutSessionsRetrieve: OperationDef = {\n id: 'checkout_sessions_retrieve',\n method: 'GET',\n path: '/v1/checkout-sessions/{id}',\n fn: hey.checkoutSessionsRetrieve as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true]],\n errorCodes: ['400', '401', '403', '404', '409', '410', '429', '500'],\n emptyCodes: [],\n};\n\nexport const checkoutSessionsRetrieveReceipt: OperationDef = {\n id: 'checkout_sessions_retrieve_receipt',\n method: 'GET',\n path: '/v1/checkout-sessions/{id}/receipt',\n fn: hey.checkoutSessionsRetrieveReceipt as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true], ['headless', 'headless', 'query', false], ['xOnflayReturnToken', 'X-Onflay-Return-Token', 'header', false]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const creditsAdjust: OperationDef = {\n id: 'credits_adjust',\n method: 'POST',\n path: '/v1/credits/adjust',\n fn: hey.creditsAdjust as OperationDef['fn'],\n auth: true,\n params: [['idempotencyKey', 'Idempotency-Key', 'header', false]],\n body: 'adjustCredits',\n errorCodes: ['400', '401', '402', '403', '404', '409', '422', '429', '500'],\n emptyCodes: [],\n};\n\nexport const creditsConsume: OperationDef = {\n id: 'credits_consume',\n method: 'POST',\n path: '/v1/credits/consume',\n fn: hey.creditsConsume as OperationDef['fn'],\n auth: true,\n params: [['idempotencyKey', 'Idempotency-Key', 'header', false]],\n body: 'consumeCredits',\n errorCodes: ['400', '401', '402', '403', '404', '409', '422', '429', '500'],\n emptyCodes: [],\n};\n\nexport const creditsRetrieve: OperationDef = {\n id: 'credits_retrieve',\n method: 'GET',\n path: '/v1/credits/{externalCustomerId}',\n fn: hey.creditsRetrieve as OperationDef['fn'],\n auth: true,\n params: [['externalCustomerId', 'externalCustomerId', 'path', true]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const creditsListLedger: OperationDef = {\n id: 'credits_list_ledger',\n method: 'GET',\n path: '/v1/credits/{externalCustomerId}/ledger',\n fn: hey.creditsListLedger as OperationDef['fn'],\n auth: true,\n params: [['externalCustomerId', 'externalCustomerId', 'path', true], ['limit', 'limit', 'query', false], ['cursor', 'cursor', 'query', false], ['key', 'key', 'query', false]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n pagination: { input: 'cursor', output: 'nextCursor' },\n};\n\nexport const customerAccessRetrieve: OperationDef = {\n id: 'customer_access_retrieve',\n method: 'GET',\n path: '/v1/customer-access/{externalCustomerId}',\n fn: hey.customerAccessRetrieve as OperationDef['fn'],\n auth: true,\n params: [['externalCustomerId', 'externalCustomerId', 'path', true], ['includeToken', 'includeToken', 'query', false], ['ifNoneMatch', 'if-none-match', 'header', false]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [304],\n};\n\nexport const customerPortalSessionsCreate: OperationDef = {\n id: 'customer_portal_sessions_create',\n method: 'POST',\n path: '/v1/customer-portal/sessions',\n fn: hey.customerPortalSessionsCreate as OperationDef['fn'],\n auth: true,\n params: [['idempotencyKey', 'Idempotency-Key', 'header', false]],\n body: 'createCustomerPortalSession',\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const customersList: OperationDef = {\n id: 'customers_list',\n method: 'GET',\n path: '/v1/customers',\n fn: hey.customersList as OperationDef['fn'],\n auth: true,\n params: [['limit', 'limit', 'query', false], ['cursor', 'cursor', 'query', false], ['search', 'search', 'query', false], ['externalCustomerId', 'externalCustomerId', 'query', false]],\n errorCodes: ['400', '401', '403', '429', '500'],\n emptyCodes: [],\n pagination: { input: 'cursor', output: 'nextCursor' },\n};\n\nexport const customersCreate: OperationDef = {\n id: 'customers_create',\n method: 'POST',\n path: '/v1/customers',\n fn: hey.customersCreate as OperationDef['fn'],\n auth: true,\n params: [['idempotencyKey', 'Idempotency-Key', 'header', false]],\n body: 'createCustomer',\n errorCodes: ['400', '401', '403', '409', '422', '429', '500'],\n emptyCodes: [],\n};\n\nexport const customersRetrieve: OperationDef = {\n id: 'customers_retrieve',\n method: 'GET',\n path: '/v1/customers/{id}',\n fn: hey.customersRetrieve as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const customersUpdate: OperationDef = {\n id: 'customers_update',\n method: 'PATCH',\n path: '/v1/customers/{id}',\n fn: hey.customersUpdate as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true]],\n body: 'updateCustomer',\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const customersListPaymentMethods: OperationDef = {\n id: 'customers_list_payment_methods',\n method: 'GET',\n path: '/v1/customers/{id}/payment-methods',\n fn: hey.customersListPaymentMethods as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const customersCreateSetupIntent: OperationDef = {\n id: 'customers_create_setup_intent',\n method: 'POST',\n path: '/v1/customers/{id}/setup-intent',\n fn: hey.customersCreateSetupIntent as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true], ['idempotencyKey', 'Idempotency-Key', 'header', false]],\n body: 'createSetupIntentParams',\n errorCodes: ['400', '401', '403', '404', '409', '422', '429', '500'],\n emptyCodes: [],\n};\n\nexport const discountsList: OperationDef = {\n id: 'discounts_list',\n method: 'GET',\n path: '/v1/discounts',\n fn: hey.discountsList as OperationDef['fn'],\n auth: true,\n params: [['limit', 'limit', 'query', false], ['cursor', 'cursor', 'query', false], ['active', 'active', 'query', false], ['type', 'type', 'query', false], ['code', 'code', 'query', false]],\n errorCodes: ['400', '401', '403', '429', '500'],\n emptyCodes: [],\n pagination: { input: 'cursor', output: 'nextCursor' },\n};\n\nexport const discountsCreate: OperationDef = {\n id: 'discounts_create',\n method: 'POST',\n path: '/v1/discounts',\n fn: hey.discountsCreate as OperationDef['fn'],\n auth: true,\n params: [['idempotencyKey', 'Idempotency-Key', 'header', false]],\n body: 'createDiscount',\n errorCodes: ['400', '401', '403', '404', '409', '429', '500'],\n emptyCodes: [],\n};\n\nexport const discountsRetrieve: OperationDef = {\n id: 'discounts_retrieve',\n method: 'GET',\n path: '/v1/discounts/{id}',\n fn: hey.discountsRetrieve as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const discountsUpdate: OperationDef = {\n id: 'discounts_update',\n method: 'PATCH',\n path: '/v1/discounts/{id}',\n fn: hey.discountsUpdate as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true], ['idempotencyKey', 'Idempotency-Key', 'header', false]],\n body: 'updateDiscount',\n errorCodes: ['400', '401', '403', '404', '409', '429', '500'],\n emptyCodes: [],\n};\n\nexport const discountsDeactivate: OperationDef = {\n id: 'discounts_deactivate',\n method: 'POST',\n path: '/v1/discounts/{id}/deactivate',\n fn: hey.discountsDeactivate as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true], ['idempotencyKey', 'Idempotency-Key', 'header', false]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const integrationVerificationsCreate: OperationDef = {\n id: 'integration_verifications_create',\n method: 'POST',\n path: '/v1/integration-verifications',\n fn: hey.integrationVerificationsCreate as OperationDef['fn'],\n auth: true,\n params: [],\n body: '',\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const integrationVerificationsListForListing: OperationDef = {\n id: 'integration_verifications_list_for_listing',\n method: 'GET',\n path: '/v1/integration-verifications/listings/{listingId}',\n fn: hey.integrationVerificationsListForListing as OperationDef['fn'],\n auth: true,\n params: [['listingId', 'listingId', 'path', true], ['limit', 'limit', 'query', false], ['cursor', 'cursor', 'query', false]],\n errorCodes: ['400', '401', '403', '429', '500'],\n emptyCodes: [],\n pagination: { input: 'cursor', output: 'nextCursor' },\n};\n\nexport const invoicesList: OperationDef = {\n id: 'invoices_list',\n method: 'GET',\n path: '/v1/invoices',\n fn: hey.invoicesList as OperationDef['fn'],\n auth: true,\n params: [['limit', 'limit', 'query', false], ['cursor', 'cursor', 'query', false], ['customerId', 'customerId', 'query', false]],\n errorCodes: ['400', '401', '403', '429', '500'],\n emptyCodes: [],\n pagination: { input: 'cursor', output: 'nextCursor' },\n};\n\nexport const invoicesCreate: OperationDef = {\n id: 'invoices_create',\n method: 'POST',\n path: '/v1/invoices',\n fn: hey.invoicesCreate as OperationDef['fn'],\n auth: true,\n params: [['idempotencyKey', 'Idempotency-Key', 'header', false]],\n body: 'createBillingInvoice',\n errorCodes: ['400', '401', '402', '403', '404', '409', '422', '429', '500'],\n emptyCodes: [],\n};\n\nexport const invoicesRetrieve: OperationDef = {\n id: 'invoices_retrieve',\n method: 'GET',\n path: '/v1/invoices/{id}',\n fn: hey.invoicesRetrieve as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const licenseKeysList: OperationDef = {\n id: 'license_keys_list',\n method: 'GET',\n path: '/v1/license-keys',\n fn: hey.licenseKeysList as OperationDef['fn'],\n auth: true,\n params: [['limit', 'limit', 'query', false], ['cursor', 'cursor', 'query', false], ['externalCustomerId', 'externalCustomerId', 'query', false]],\n errorCodes: ['400', '401', '403', '429', '500'],\n emptyCodes: [],\n pagination: { input: 'cursor', output: 'nextCursor' },\n};\n\nexport const licenseKeysActivate: OperationDef = {\n id: 'license_keys_activate',\n method: 'POST',\n path: '/v1/license-keys/activate',\n fn: hey.licenseKeysActivate as OperationDef['fn'],\n auth: false,\n params: [],\n body: '',\n errorCodes: ['400', '403', '404', '409', '429', '500'],\n emptyCodes: [],\n};\n\nexport const licenseKeysDeactivate: OperationDef = {\n id: 'license_keys_deactivate',\n method: 'POST',\n path: '/v1/license-keys/deactivate',\n fn: hey.licenseKeysDeactivate as OperationDef['fn'],\n auth: false,\n params: [],\n body: '',\n errorCodes: ['400', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const licenseKeysValidate: OperationDef = {\n id: 'license_keys_validate',\n method: 'POST',\n path: '/v1/license-keys/validate',\n fn: hey.licenseKeysValidate as OperationDef['fn'],\n auth: false,\n params: [],\n body: '',\n errorCodes: ['400', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const licenseKeysRetrieve: OperationDef = {\n id: 'license_keys_retrieve',\n method: 'GET',\n path: '/v1/license-keys/{id}',\n fn: hey.licenseKeysRetrieve as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const licenseKeysRevoke: OperationDef = {\n id: 'license_keys_revoke',\n method: 'POST',\n path: '/v1/license-keys/{id}/revoke',\n fn: hey.licenseKeysRevoke as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true], ['idempotencyKey', 'Idempotency-Key', 'header', false]],\n errorCodes: ['400', '401', '403', '404', '409', '422', '429', '500'],\n emptyCodes: [],\n};\n\nexport const metersList: OperationDef = {\n id: 'meters_list',\n method: 'GET',\n path: '/v1/meters',\n fn: hey.metersList as OperationDef['fn'],\n auth: true,\n params: [],\n errorCodes: ['400', '401', '403', '429', '500'],\n emptyCodes: [],\n};\n\nexport const metersCreate: OperationDef = {\n id: 'meters_create',\n method: 'POST',\n path: '/v1/meters',\n fn: hey.metersCreate as OperationDef['fn'],\n auth: true,\n params: [['idempotencyKey', 'Idempotency-Key', 'header', false]],\n body: 'createMeter',\n errorCodes: ['400', '401', '403', '409', '422', '429', '500'],\n emptyCodes: [],\n};\n\nexport const paymentConfirmationsRetrieve: OperationDef = {\n id: 'payment_confirmations_retrieve',\n method: 'GET',\n path: '/v1/payment-confirmations/{token}',\n fn: hey.paymentConfirmationsRetrieve as OperationDef['fn'],\n auth: true,\n params: [['token', 'token', 'path', true]],\n errorCodes: ['404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const paymentsList: OperationDef = {\n id: 'payments_list',\n method: 'GET',\n path: '/v1/payments',\n fn: hey.paymentsList as OperationDef['fn'],\n auth: true,\n params: [['limit', 'limit', 'query', false], ['cursor', 'cursor', 'query', false], ['status', 'status', 'query', false], ['listingId', 'listingId', 'query', false], ['listingType', 'listingType', 'query', false], ['period', 'period', 'query', false], ['startDate', 'startDate', 'query', false], ['endDate', 'endDate', 'query', false], ['search', 'search', 'query', false]],\n errorCodes: ['400', '401', '403', '429', '500'],\n emptyCodes: [],\n pagination: { input: 'cursor', output: 'nextCursor' },\n};\n\nexport const paymentsCreate: OperationDef = {\n id: 'payments_create',\n method: 'POST',\n path: '/v1/payments',\n fn: hey.paymentsCreate as OperationDef['fn'],\n auth: true,\n params: [['idempotencyKey', 'Idempotency-Key', 'header', true]],\n body: 'createPayment',\n errorCodes: ['400', '401', '402', '403', '404', '409', '422', '429', '500'],\n emptyCodes: [],\n};\n\nexport const paymentsRetrieve: OperationDef = {\n id: 'payments_retrieve',\n method: 'GET',\n path: '/v1/payments/{id}',\n fn: hey.paymentsRetrieve as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const paymentsRefundsList: OperationDef = {\n id: 'payments_refunds_list',\n method: 'GET',\n path: '/v1/payments/{id}/refunds',\n fn: hey.paymentsRefundsList as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true], ['limit', 'limit', 'query', false], ['cursor', 'cursor', 'query', false]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n pagination: { input: 'cursor', output: 'nextCursor' },\n};\n\nexport const paymentsRefundsCreate: OperationDef = {\n id: 'payments_refunds_create',\n method: 'POST',\n path: '/v1/payments/{id}/refunds',\n fn: hey.paymentsRefundsCreate as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true], ['idempotencyKey', 'Idempotency-Key', 'header', true]],\n body: 'createRefund',\n errorCodes: ['400', '401', '403', '404', '409', '429', '500'],\n emptyCodes: [],\n};\n\nexport const paymentsRefundsRetrieve: OperationDef = {\n id: 'payments_refunds_retrieve',\n method: 'GET',\n path: '/v1/payments/{id}/refunds/{refundId}',\n fn: hey.paymentsRefundsRetrieve as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true], ['refundId', 'refundId', 'path', true]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const pricesList: OperationDef = {\n id: 'prices_list',\n method: 'GET',\n path: '/v1/prices',\n fn: hey.pricesList as OperationDef['fn'],\n auth: true,\n params: [['limit', 'limit', 'query', false], ['cursor', 'cursor', 'query', false], ['productId', 'productId', 'query', false], ['active', 'active', 'query', false]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n pagination: { input: 'cursor', output: 'nextCursor' },\n};\n\nexport const pricesCreate: OperationDef = {\n id: 'prices_create',\n method: 'POST',\n path: '/v1/prices',\n fn: hey.pricesCreate as OperationDef['fn'],\n auth: true,\n params: [['idempotencyKey', 'Idempotency-Key', 'header', false]],\n body: 'createPrice',\n errorCodes: ['400', '401', '403', '404', '409', '422', '429', '500'],\n emptyCodes: [],\n};\n\nexport const pricesRetrieve: OperationDef = {\n id: 'prices_retrieve',\n method: 'GET',\n path: '/v1/prices/{id}',\n fn: hey.pricesRetrieve as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const pricesUpdate: OperationDef = {\n id: 'prices_update',\n method: 'PATCH',\n path: '/v1/prices/{id}',\n fn: hey.pricesUpdate as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true], ['idempotencyKey', 'Idempotency-Key', 'header', false]],\n body: 'updatePrice',\n errorCodes: ['400', '401', '403', '404', '409', '422', '429', '500'],\n emptyCodes: [],\n};\n\nexport const productsList: OperationDef = {\n id: 'products_list',\n method: 'GET',\n path: '/v1/products',\n fn: hey.productsList as OperationDef['fn'],\n auth: true,\n params: [['limit', 'limit', 'query', false], ['cursor', 'cursor', 'query', false], ['active', 'active', 'query', false]],\n errorCodes: ['400', '401', '403', '429', '500'],\n emptyCodes: [],\n pagination: { input: 'cursor', output: 'nextCursor' },\n};\n\nexport const productsCreate: OperationDef = {\n id: 'products_create',\n method: 'POST',\n path: '/v1/products',\n fn: hey.productsCreate as OperationDef['fn'],\n auth: true,\n params: [['idempotencyKey', 'Idempotency-Key', 'header', false]],\n body: 'createProduct',\n errorCodes: ['400', '401', '403', '404', '409', '422', '429', '500'],\n emptyCodes: [],\n};\n\nexport const productsRetrieve: OperationDef = {\n id: 'products_retrieve',\n method: 'GET',\n path: '/v1/products/{id}',\n fn: hey.productsRetrieve as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const productsUpdate: OperationDef = {\n id: 'products_update',\n method: 'PATCH',\n path: '/v1/products/{id}',\n fn: hey.productsUpdate as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true], ['idempotencyKey', 'Idempotency-Key', 'header', false]],\n body: 'updateProduct',\n errorCodes: ['400', '401', '403', '404', '409', '422', '429', '500'],\n emptyCodes: [],\n};\n\nexport const sandboxPayoutMethodsCreateTest: OperationDef = {\n id: 'sandbox_payout_methods_create_test',\n method: 'POST',\n path: '/v1/sandbox/payout-methods/test',\n fn: hey.sandboxPayoutMethodsCreateTest as OperationDef['fn'],\n auth: true,\n params: [],\n errorCodes: ['400', '401', '403', '429', '500'],\n emptyCodes: [],\n};\n\nexport const setupSessionsRetrieve: OperationDef = {\n id: 'setup_sessions_retrieve',\n method: 'GET',\n path: '/v1/setup-sessions/{token}',\n fn: hey.setupSessionsRetrieve as OperationDef['fn'],\n auth: true,\n params: [['token', 'token', 'path', true]],\n errorCodes: ['404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const subscriptionsList: OperationDef = {\n id: 'subscriptions_list',\n method: 'GET',\n path: '/v1/subscriptions',\n fn: hey.subscriptionsList as OperationDef['fn'],\n auth: true,\n params: [['limit', 'limit', 'query', false], ['cursor', 'cursor', 'query', false], ['status', 'status', 'query', false], ['externalCustomerId', 'externalCustomerId', 'query', false]],\n errorCodes: ['400', '401', '403', '429', '500'],\n emptyCodes: [],\n pagination: { input: 'cursor', output: 'nextCursor' },\n};\n\nexport const subscriptionsCancelByExternalCustomer: OperationDef = {\n id: 'subscriptions_cancel_by_external_customer',\n method: 'POST',\n path: '/v1/subscriptions/cancel',\n fn: hey.subscriptionsCancelByExternalCustomer as OperationDef['fn'],\n auth: true,\n params: [['idempotencyKey', 'Idempotency-Key', 'header', false]],\n body: 'cancelByExternalCustomer',\n errorCodes: ['400', '401', '403', '404', '409', '422', '429', '500'],\n emptyCodes: [],\n};\n\nexport const subscriptionsUncancelByExternalCustomer: OperationDef = {\n id: 'subscriptions_uncancel_by_external_customer',\n method: 'POST',\n path: '/v1/subscriptions/uncancel',\n fn: hey.subscriptionsUncancelByExternalCustomer as OperationDef['fn'],\n auth: true,\n params: [['idempotencyKey', 'Idempotency-Key', 'header', false]],\n body: 'uncancelByExternalCustomer',\n errorCodes: ['400', '401', '403', '404', '409', '422', '429', '500'],\n emptyCodes: [],\n};\n\nexport const subscriptionsRetrieve: OperationDef = {\n id: 'subscriptions_retrieve',\n method: 'GET',\n path: '/v1/subscriptions/{id}',\n fn: hey.subscriptionsRetrieve as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const subscriptionsUpdate: OperationDef = {\n id: 'subscriptions_update',\n method: 'PATCH',\n path: '/v1/subscriptions/{id}',\n fn: hey.subscriptionsUpdate as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true], ['idempotencyKey', 'Idempotency-Key', 'header', false]],\n body: 'updateSubscription',\n errorCodes: ['400', '401', '402', '403', '404', '409', '422', '429', '500'],\n emptyCodes: [],\n};\n\nexport const subscriptionsCancel: OperationDef = {\n id: 'subscriptions_cancel',\n method: 'POST',\n path: '/v1/subscriptions/{id}/cancel',\n fn: hey.subscriptionsCancel as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true], ['idempotencyKey', 'Idempotency-Key', 'header', false]],\n body: 'cancelSubscription',\n errorCodes: ['400', '401', '403', '404', '409', '422', '429', '500'],\n emptyCodes: [],\n};\n\nexport const subscriptionsPreviewUpdate: OperationDef = {\n id: 'subscriptions_preview_update',\n method: 'POST',\n path: '/v1/subscriptions/{id}/preview',\n fn: hey.subscriptionsPreviewUpdate as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true]],\n body: 'previewSubscriptionUpdate',\n errorCodes: ['400', '401', '403', '404', '409', '422', '429', '500'],\n emptyCodes: [],\n};\n\nexport const usageBillingPlansCreate: OperationDef = {\n id: 'usage_billing_plans_create',\n method: 'POST',\n path: '/v1/usage/billing-plans',\n fn: hey.usageBillingPlansCreate as OperationDef['fn'],\n auth: true,\n params: [['idempotencyKey', 'Idempotency-Key', 'header', false]],\n body: 'createBillingPlan',\n errorCodes: ['400', '401', '403', '404', '409', '422', '429', '500'],\n emptyCodes: [],\n};\n\nexport const usageBillingPlansRetrieve: OperationDef = {\n id: 'usage_billing_plans_retrieve',\n method: 'GET',\n path: '/v1/usage/billing-plans/{subscriptionId}',\n fn: hey.usageBillingPlansRetrieve as OperationDef['fn'],\n auth: true,\n params: [['subscriptionId', 'subscriptionId', 'path', true]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const usageRecordsCreate: OperationDef = {\n id: 'usage_records_create',\n method: 'POST',\n path: '/v1/usage/records',\n fn: hey.usageRecordsCreate as OperationDef['fn'],\n auth: true,\n params: [],\n body: '',\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const webhookDeliveriesList: OperationDef = {\n id: 'webhook_deliveries_list',\n method: 'GET',\n path: '/v1/webhook-deliveries',\n fn: hey.webhookDeliveriesList as OperationDef['fn'],\n auth: true,\n params: [['endpointId', 'endpointId', 'query', false], ['status', 'status', 'query', false], ['cursor', 'cursor', 'query', false], ['limit', 'limit', 'query', false]],\n errorCodes: ['400', '401', '403', '429', '500'],\n emptyCodes: [],\n pagination: { input: 'cursor', output: 'nextCursor' },\n};\n\nexport const webhookDeliveriesRetrieve: OperationDef = {\n id: 'webhook_deliveries_retrieve',\n method: 'GET',\n path: '/v1/webhook-deliveries/{id}',\n fn: hey.webhookDeliveriesRetrieve as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const webhookDeliveriesResend: OperationDef = {\n id: 'webhook_deliveries_resend',\n method: 'POST',\n path: '/v1/webhook-deliveries/{id}/resend',\n fn: hey.webhookDeliveriesResend as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const webhookEndpointsList: OperationDef = {\n id: 'webhook_endpoints_list',\n method: 'GET',\n path: '/v1/webhook-endpoints',\n fn: hey.webhookEndpointsList as OperationDef['fn'],\n auth: true,\n params: [],\n errorCodes: ['400', '401', '403', '429', '500'],\n emptyCodes: [],\n};\n\nexport const webhookEndpointsCreate: OperationDef = {\n id: 'webhook_endpoints_create',\n method: 'POST',\n path: '/v1/webhook-endpoints',\n fn: hey.webhookEndpointsCreate as OperationDef['fn'],\n auth: true,\n params: [['idempotencyKey', 'Idempotency-Key', 'header', false]],\n body: 'createWebhookEndpoint',\n errorCodes: ['400', '401', '403', '409', '422', '429', '500'],\n emptyCodes: [],\n};\n\nexport const webhookEndpointsRetrieve: OperationDef = {\n id: 'webhook_endpoints_retrieve',\n method: 'GET',\n path: '/v1/webhook-endpoints/{id}',\n fn: hey.webhookEndpointsRetrieve as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n\nexport const webhookEndpointsDelete: OperationDef = {\n id: 'webhook_endpoints_delete',\n method: 'DELETE',\n path: '/v1/webhook-endpoints/{id}',\n fn: hey.webhookEndpointsDelete as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true]],\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [204],\n};\n\nexport const webhookEndpointsUpdate: OperationDef = {\n id: 'webhook_endpoints_update',\n method: 'PATCH',\n path: '/v1/webhook-endpoints/{id}',\n fn: hey.webhookEndpointsUpdate as OperationDef['fn'],\n auth: true,\n params: [['id', 'id', 'path', true]],\n body: 'updateWebhookEndpoint',\n errorCodes: ['400', '401', '403', '404', '429', '500'],\n emptyCodes: [],\n};\n","// This file is generated by scripts/generate.mjs from apps/docs/api-reference/openapi.json. Do not edit.\nimport { ClientSDK, type RequestOptions } from '../lib/sdks';\nimport type { PageIterator } from '../types/operations';\nimport type * as components from './components';\nimport * as defs from './defs';\nimport type * as hey from './hey-api/types.gen';\nimport type * as operations from './operations';\n\n/**\n * `onflay.jwks`\n */\nexport class Jwks extends ClientSDK {\n /**\n * Retrieve the JWKS\n *\n * @remarks\n * The public keys (JWKS) that verify customer-access JWTs. No API key needed. Use the key whose `kid` matches the token header.\n *\n * `GET /v1/.well-known/jwks.json`\n */\n async retrieve(options?: RequestOptions): Promise<components.Jwks> {\n return this._call<components.Jwks>(defs.jwksRetrieve, undefined, options);\n }\n}\n\n/**\n * `onflay.catalog.listings`\n */\nexport class CatalogListings extends ClientSDK {\n /**\n * Retrieve an integration guide\n *\n * @remarks\n * A generated integration prompt and checklist for an app builder.\n *\n * `GET /v1/catalog/listings/{catalogKey}/integration-guide`\n */\n async retrieveIntegrationGuide(request: operations.CatalogListingsRetrieveIntegrationGuideRequest, options?: RequestOptions): Promise<components.IntegrationGuide> {\n return this._call<components.IntegrationGuide>(defs.catalogListingsRetrieveIntegrationGuide, request, options);\n }\n\n /**\n * Retrieve a listing recipe\n *\n * @remarks\n * The agent-readable recipe (plans, prices, entitlements, endpoints) of a listing. Supports conditional requests: send the `ETag` back in `If-None-Match` to get `304 Not Modified` while the recipe is unchanged.\n *\n * `GET /v1/catalog/listings/{catalogKey}/recipe`\n */\n async retrieveRecipe(request: operations.CatalogListingsRetrieveRecipeRequest, options?: RequestOptions): Promise<components.ListingRecipe | undefined> {\n return this._call<components.ListingRecipe | undefined>(defs.catalogListingsRetrieveRecipe, request, options);\n }\n}\n\n/**\n * `onflay.catalog.products`\n */\nexport class CatalogProducts extends ClientSDK {\n /**\n * Retrieve a catalog product\n *\n * @remarks\n * A product with its plans, prices and entitlements. Each price includes the `checkout` selection to send to `POST /v1/checkout-sessions`. Supports conditional requests: send the `ETag` back in `If-None-Match` to get `304 Not Modified` while the product is unchanged.\n *\n * `GET /v1/catalog/products/{key}`\n */\n async retrieve(request: operations.CatalogProductsRetrieveRequest, options?: RequestOptions): Promise<components.CatalogProduct | undefined> {\n return this._call<components.CatalogProduct | undefined>(defs.catalogProductsRetrieve, request, options);\n }\n\n /**\n * Upsert a product\n *\n * @remarks\n * Creates the product when no product has this key, otherwise updates it. `type` is required when creating and cannot change. With `active` (default `true` on create) the product goes on sale as soon as it has a plan.\n *\n * `PUT /v1/catalog/products/{key}`\n */\n async upsert(request: operations.CatalogProductsUpsertRequest, options?: RequestOptions): Promise<components.CatalogProduct> {\n return this._call<components.CatalogProduct>(defs.catalogProductsUpsert, request, options);\n }\n}\n\n/**\n * `onflay.catalog.plans`\n */\nexport class CatalogPlans extends ClientSDK {\n /**\n * Upsert a plan\n *\n * @remarks\n * Creates or updates a plan of a product by key, with its prices. `prices` is the complete set for the plan: prices you leave out stop being sold. Subscription products take a monthly price and optionally a yearly one; other products take exactly one `one_time` price. Returns the whole product.\n *\n * `PUT /v1/catalog/products/{key}/plans/{planKey}`\n */\n async upsert(request: operations.CatalogPlansUpsertRequest, options?: RequestOptions): Promise<components.CatalogProduct> {\n return this._call<components.CatalogProduct>(defs.catalogPlansUpsert, request, options);\n }\n}\n\n/**\n * `onflay.catalog`\n */\nexport class Catalog extends ClientSDK {\n private _listings?: CatalogListings;\n get listings(): CatalogListings {\n return (this._listings ??= new CatalogListings(this._options));\n }\n\n private _products?: CatalogProducts;\n get products(): CatalogProducts {\n return (this._products ??= new CatalogProducts(this._options));\n }\n\n private _plans?: CatalogPlans;\n get plans(): CatalogPlans {\n return (this._plans ??= new CatalogPlans(this._options));\n }\n\n /**\n * List catalog products\n *\n * @remarks\n * Lists the products of your catalog with their plan keys. Only products with a key are listed. Oldest first; follow `nextCursor` for more.\n *\n * `GET /v1/catalog`\n */\n async list(request?: operations.CatalogListRequest, options?: RequestOptions): Promise<PageIterator<operations.CatalogListResponse, { cursor: string }>> {\n return this._paginate<operations.CatalogListResponse>(defs.catalogList, request, options);\n }\n}\n\n/**\n * `onflay.checkoutSessions`\n */\nexport class CheckoutSessions extends ClientSDK {\n /**\n * Create a checkout session\n *\n * @remarks\n * Creates a hosted (or embedded) checkout session for one of your products. Send either `listingId` (optionally with `variantId`) or `catalog` together with `externalCustomerId`, not both. Requires the `checkout_sessions:write` scope.\n *\n * `POST /v1/checkout-sessions`\n */\n async create(request: operations.CheckoutSessionsCreateRequest, options?: RequestOptions): Promise<components.CheckoutSessionCreateResponse> {\n return this._call<components.CheckoutSessionCreateResponse>(defs.checkoutSessionsCreate, request, options);\n }\n\n /**\n * Retrieve a checkout session\n *\n * @remarks\n * Returns one of your checkout sessions that is still pending payment, with what a custom embedded flow needs (`checkoutUrl`, `clientSecret`, `stripePublishableKey`). Sessions of other accounts return 404, and sessions in any other state return 400; use the receipt route to confirm payment. Requires the `checkout_sessions:read` scope.\n *\n * `GET /v1/checkout-sessions/{id}`\n */\n async retrieve(request: operations.CheckoutSessionsRetrieveRequest, options?: RequestOptions): Promise<components.CheckoutSession> {\n return this._call<components.CheckoutSession>(defs.checkoutSessionsRetrieve, request, options);\n }\n\n /**\n * Retrieve a checkout receipt\n *\n * @remarks\n * Confirms payment without webhooks. Send the `X-Onflay-Return-Token` from the success redirect, or pass `headless=true` to poll with the secret key alone. While `status` is `processing`, retry after `retryAfterMs`. Requires the `checkout_sessions:read` scope.\n *\n * `GET /v1/checkout-sessions/{id}/receipt`\n */\n async retrieveReceipt(request: operations.CheckoutSessionsRetrieveReceiptRequest, options?: RequestOptions): Promise<components.CheckoutReceipt> {\n return this._call<components.CheckoutReceipt>(defs.checkoutSessionsRetrieveReceipt, request, options);\n }\n}\n\n/**\n * `onflay.credits`\n */\nexport class Credits extends ClientSDK {\n /**\n * Adjust credits\n *\n * @remarks\n * Manual grant (positive `amount`) or correction (negative `amount`), recorded with reason `adjustment`. A removal larger than the balance answers 402 `insufficient_credits`: balances never go negative. Same idempotency rules as consume. Bumps the customer-access `version` and, for a grant, sends `credits.granted`. A positive adjustment can expire: `expiresInDays` (1 to 3650) makes the added credits expire that many days from now; it is rejected (400 `expires_in_days_not_allowed`) with a negative `amount`.\n *\n * `POST /v1/credits/adjust`\n */\n async adjust(request: operations.CreditsAdjustRequest, options?: RequestOptions): Promise<components.CreditOperation> {\n return this._call<components.CreditOperation>(defs.creditsAdjust, request, options);\n }\n\n /**\n * Consume credits\n *\n * @remarks\n * Spends `amount` credits atomically: concurrent consumes never spend more than the balance. Not enough credits answers 402 `insufficient_credits` and consumes nothing. Reusing an `idempotencyKey` returns the first result (`replayed: true`) without consuming twice; reusing it for a different customer, key or amount answers 409 `idempotency_key_reused`. A consume bumps the customer-access `version` (and sends `customer.access_changed` with `credits`) only when it empties the balance; other consumes do not.\n *\n * `POST /v1/credits/consume`\n */\n async consume(request: operations.CreditsConsumeRequest, options?: RequestOptions): Promise<components.CreditOperation> {\n return this._call<components.CreditOperation>(defs.creditsConsume, request, options);\n }\n\n /**\n * Retrieve credit balances\n *\n * @remarks\n * A customer's credit balances. One balance per credit key. The same balances appear in customer access as `credits`.\n *\n * `GET /v1/credits/{externalCustomerId}`\n */\n async retrieve(request: operations.CreditsRetrieveRequest, options?: RequestOptions): Promise<components.CreditBalances> {\n return this._call<components.CreditBalances>(defs.creditsRetrieve, request, options);\n }\n\n /**\n * List a customer's credit ledger\n *\n * @remarks\n * Every credit movement of the customer, newest first, cursor-paginated. Filter by credit `key`.\n *\n * `GET /v1/credits/{externalCustomerId}/ledger`\n */\n async listLedger(request: operations.CreditsListLedgerRequest, options?: RequestOptions): Promise<PageIterator<operations.CreditsListLedgerResponse, { cursor: string }>> {\n return this._paginate<operations.CreditsListLedgerResponse>(defs.creditsListLedger, request, options);\n }\n}\n\n/**\n * `onflay.customerAccess`\n */\nexport class CustomerAccess extends ClientSDK {\n /**\n * Retrieve customer access\n *\n * @remarks\n * What a customer has right now: plans, purchases, tickets, bookings, credits, license keys and entitlements. Supports conditional requests: the response carries an `ETag`; send it back in `If-None-Match` to get `304 Not Modified` with no body while access is unchanged. Pass `includeToken=true` to also receive a short-lived signed JWT of the same claims.\n *\n * `GET /v1/customer-access/{externalCustomerId}`\n */\n async retrieve(request: operations.CustomerAccessRetrieveRequest, options?: RequestOptions): Promise<components.CustomerAccess | undefined> {\n return this._call<components.CustomerAccess | undefined>(defs.customerAccessRetrieve, request, options);\n }\n}\n\n/**\n * `onflay.customerPortal.sessions`\n */\nexport class CustomerPortalSessions extends ClientSDK {\n /**\n * Create a customer portal session\n *\n * @remarks\n * Returns a 1-hour link to the Onflay-hosted portal where the customer sees their subscriptions, cancels or resumes them, updates the card their renewals use, and sees their billing history. Create one each time the customer clicks \"Manage billing\" and redirect to `url`. Requires the `customers:write` scope.\n *\n * `POST /v1/customer-portal/sessions`\n */\n async create(request: operations.CustomerPortalSessionsCreateRequest, options?: RequestOptions): Promise<components.CustomerPortalSession> {\n return this._call<components.CustomerPortalSession>(defs.customerPortalSessionsCreate, request, options);\n }\n}\n\n/**\n * `onflay.customerPortal`\n */\nexport class CustomerPortal extends ClientSDK {\n private _sessions?: CustomerPortalSessions;\n get sessions(): CustomerPortalSessions {\n return (this._sessions ??= new CustomerPortalSessions(this._options));\n }\n}\n\n/**\n * `onflay.customers`\n */\nexport class Customers extends ClientSDK {\n /**\n * List customers\n *\n * @remarks\n * Lists the customers linked to your account (created through the API or checkout) or with a payment on it, newest first. Cursor-paginated. Requires the `customers:read` scope.\n *\n * `GET /v1/customers`\n */\n async list(request?: operations.CustomersListRequest, options?: RequestOptions): Promise<PageIterator<operations.CustomersListResponse, { cursor: string }>> {\n return this._paginate<operations.CustomersListResponse>(defs.customersList, request, options);\n }\n\n /**\n * Create a customer\n *\n * @remarks\n * Creates a customer and links it to your account. Emails are unique across Onflay: if a customer with this email already exists it is linked to your account and returned unchanged (`name` and `phone` are ignored). Requires the `customers:write` scope.\n *\n * `POST /v1/customers`\n */\n async create(request: operations.CustomersCreateRequest, options?: RequestOptions): Promise<components.Customer> {\n return this._call<components.Customer>(defs.customersCreate, request, options);\n }\n\n /**\n * Retrieve a customer\n *\n * @remarks\n * Requires the `customers:read` scope.\n *\n * `GET /v1/customers/{id}`\n */\n async retrieve(request: operations.CustomersRetrieveRequest, options?: RequestOptions): Promise<components.Customer> {\n return this._call<components.Customer>(defs.customersRetrieve, request, options);\n }\n\n /**\n * Update a customer\n *\n * @remarks\n * Updates `name` and/or `phone`. Requires the `customers:write` scope.\n *\n * `PATCH /v1/customers/{id}`\n */\n async update(request: operations.CustomersUpdateRequest, options?: RequestOptions): Promise<components.Customer> {\n return this._call<components.Customer>(defs.customersUpdate, request, options);\n }\n\n /**\n * List a customer's payment methods\n *\n * @remarks\n * Cards the customer saved with your account (through a setup intent), default first, then newest first. Cards they saved with another seller on Onflay are never listed. Not paginated. Requires the `customers:read` scope.\n *\n * `GET /v1/customers/{id}/payment-methods`\n */\n async listPaymentMethods(request: operations.CustomersListPaymentMethodsRequest, options?: RequestOptions): Promise<hey.CustomersListPaymentMethodsResponse> {\n return this._call<hey.CustomersListPaymentMethodsResponse>(defs.customersListPaymentMethods, request, options);\n }\n\n /**\n * Create a setup intent\n *\n * @remarks\n * Creates a Stripe SetupIntent so the customer can save a card for off-session charges by your account. Returns a hosted page URL and a 1-hour session token. The saved card becomes the one your invoices charge for this customer; it is never visible to or chargeable by other sellers. Requires the `customers:write` scope.\n *\n * `POST /v1/customers/{id}/setup-intent`\n */\n async createSetupIntent(request: operations.CustomersCreateSetupIntentRequest, options?: RequestOptions): Promise<components.SetupIntent> {\n return this._call<components.SetupIntent>(defs.customersCreateSetupIntent, request, options);\n }\n}\n\n/**\n * `onflay.discounts`\n */\nexport class Discounts extends ClientSDK {\n /**\n * List discounts\n *\n * @remarks\n * Lists your discounts, newest first. Cursor-paginated. Filter by `active`, `type` or `code`. Requires the `discounts:read` scope.\n *\n * `GET /v1/discounts`\n */\n async list(request?: operations.DiscountsListRequest, options?: RequestOptions): Promise<PageIterator<operations.DiscountsListResponse, { cursor: string }>> {\n return this._paginate<operations.DiscountsListResponse>(defs.discountsList, request, options);\n }\n\n /**\n * Create a discount\n *\n * @remarks\n * Creates a discount code (`type: discount_code`, buyers enter `code`) or a time-limited offer (`type: time_limited_offer`, applies on its own in its window). Target products and plans by key. Requires the `discounts:write` scope.\n *\n * `POST /v1/discounts`\n */\n async create(request: operations.DiscountsCreateRequest, options?: RequestOptions): Promise<components.Discount> {\n return this._call<components.Discount>(defs.discountsCreate, request, options);\n }\n\n /**\n * Retrieve a discount\n *\n * @remarks\n * Returns one discount. Requires the `discounts:read` scope.\n *\n * `GET /v1/discounts/{id}`\n */\n async retrieve(request: operations.DiscountsRetrieveRequest, options?: RequestOptions): Promise<components.Discount> {\n return this._call<components.Discount>(defs.discountsRetrieve, request, options);\n }\n\n /**\n * Update a discount\n *\n * @remarks\n * Changes the fields you send; the others keep their value. `type` cannot change. `productKeys` replaces the products (and clears `planKeys` unless you send it too). Send `{ \"active\": true }` to turn a deactivated discount back on. Requires the `discounts:write` scope.\n *\n * `PATCH /v1/discounts/{id}`\n */\n async update(request: operations.DiscountsUpdateRequest, options?: RequestOptions): Promise<components.Discount> {\n return this._call<components.Discount>(defs.discountsUpdate, request, options);\n }\n\n /**\n * Deactivate a discount\n *\n * @remarks\n * Turns the discount off (`active: false`): buyers can no longer use it, and its code stays reserved. Orders that already used it are not affected. Deactivating twice is fine. Requires the `discounts:write` scope.\n *\n * `POST /v1/discounts/{id}/deactivate`\n */\n async deactivate(request: operations.DiscountsDeactivateRequest, options?: RequestOptions): Promise<components.Discount> {\n return this._call<components.Discount>(defs.discountsDeactivate, request, options);\n }\n}\n\n/**\n * `onflay.integrationVerifications`\n */\nexport class IntegrationVerifications extends ClientSDK {\n /**\n * Record an integration check\n *\n * @remarks\n * Records a self-reported integration check for a listing. Deprecated: nothing is checked. On the sandbox, `npx onflay verify` (`POST /v1/sandbox/verifications`) checks the integration on Onflay’s side. Still accepted. The listing (and `checkoutSessionId`, when given) must belong to your account; otherwise 404.\n * @deprecated\n *\n * `POST /v1/integration-verifications`\n */\n async create(request: components.RecordIntegrationVerification, options?: RequestOptions): Promise<components.IntegrationVerification> {\n return this._call<components.IntegrationVerification>(defs.integrationVerificationsCreate, request, options);\n }\n\n /**\n * List integration checks\n *\n * @remarks\n * The integration checks recorded for a listing, newest first. Cursor-paginated; `data` is empty when the listing has none (or is not yours).\n *\n * `GET /v1/integration-verifications/listings/{listingId}`\n */\n async listForListing(request: operations.IntegrationVerificationsListForListingRequest, options?: RequestOptions): Promise<PageIterator<operations.IntegrationVerificationsListForListingResponse, { cursor: string }>> {\n return this._paginate<operations.IntegrationVerificationsListForListingResponse>(defs.integrationVerificationsListForListing, request, options);\n }\n}\n\n/**\n * `onflay.invoices`\n */\nexport class Invoices extends ClientSDK {\n /**\n * List invoices\n *\n * @remarks\n * Cursor-paginated list of invoices, newest first. Filter by `customerId`.\n *\n * `GET /v1/invoices`\n */\n async list(request?: operations.InvoicesListRequest, options?: RequestOptions): Promise<PageIterator<operations.InvoicesListResponse, { cursor: string }>> {\n return this._paginate<operations.InvoicesListResponse>(defs.invoicesList, request, options);\n }\n\n /**\n * Create and charge an invoice\n *\n * @remarks\n * Creates an invoice from pre-computed line items and charges the default card the customer saved with your account (never a card saved with another seller). Returns `payment_method_required` (402) when there is none. With an `Idempotency-Key`, a repeated request returns the invoice already created for that key, or finishes the same charge if the first attempt timed out.\n *\n * `POST /v1/invoices`\n */\n async create(request: operations.InvoicesCreateRequest, options?: RequestOptions): Promise<components.Invoice> {\n return this._call<components.Invoice>(defs.invoicesCreate, request, options);\n }\n\n /**\n * Retrieve an invoice\n *\n * `GET /v1/invoices/{id}`\n */\n async retrieve(request: operations.InvoicesRetrieveRequest, options?: RequestOptions): Promise<components.Invoice> {\n return this._call<components.Invoice>(defs.invoicesRetrieve, request, options);\n }\n}\n\n/**\n * `onflay.licenseKeys`\n */\nexport class LicenseKeys extends ClientSDK {\n /**\n * List license keys\n *\n * @remarks\n * Cursor-paginated, newest first. Filter by `externalCustomerId`. Each item includes the key itself.\n *\n * `GET /v1/license-keys`\n */\n async list(request?: operations.LicenseKeysListRequest, options?: RequestOptions): Promise<PageIterator<operations.LicenseKeysListResponse, { cursor: string }>> {\n return this._paginate<operations.LicenseKeysListResponse>(defs.licenseKeysList, request, options);\n }\n\n /**\n * Activate a license key\n *\n * @remarks\n * Activates a license key on an instance. No API key. Registers `instanceId` (machine or install) against the key; activating an instance that is already active changes nothing. A revoked key answers 403 `license_key_revoked`, an expired one 403 `license_key_expired`, a key at its `activationLimit` 409 `activation_limit_reached`. Unknown or malformed keys answer 404 `license_key_not_found`. Limited to about 3 requests a second per IP (429 `rate_limited`).\n *\n * `POST /v1/license-keys/activate`\n */\n async activate(request: components.ActivateLicenseKey, options?: RequestOptions): Promise<components.LicenseKeyStatus> {\n return this._call<components.LicenseKeyStatus>(defs.licenseKeysActivate, request, options);\n }\n\n /**\n * Deactivate a license key\n *\n * @remarks\n * Deactivates a license key on an instance. No API key. Frees the seat `instanceId` used, so the key can be activated elsewhere. Idempotent; also works on revoked and expired keys. Unknown or malformed keys answer 404 `license_key_not_found`. Limited to about 3 requests a second per IP (429 `rate_limited`).\n *\n * `POST /v1/license-keys/deactivate`\n */\n async deactivate(request: components.DeactivateLicenseKey, options?: RequestOptions): Promise<components.LicenseKeyStatus> {\n return this._call<components.LicenseKeyStatus>(defs.licenseKeysDeactivate, request, options);\n }\n\n /**\n * Validate a license key\n *\n * @remarks\n * No API key: call it from your app. Answers 200 for any existing key with `valid`, `status` (`active`, `revoked` or `expired`), the product and plan keys, `expiresAt` and the activation count. With `instanceId`, `valid` also requires that instance to be activated. Unknown or malformed keys answer 404 `license_key_not_found`. Limited to about 3 requests a second per IP (429 `rate_limited`).\n *\n * `POST /v1/license-keys/validate`\n */\n async validate(request: components.ValidateLicenseKey, options?: RequestOptions): Promise<components.LicenseKeyStatus> {\n return this._call<components.LicenseKeyStatus>(defs.licenseKeysValidate, request, options);\n }\n\n /**\n * Retrieve a license key\n *\n * `GET /v1/license-keys/{id}`\n */\n async retrieve(request: operations.LicenseKeysRetrieveRequest, options?: RequestOptions): Promise<components.LicenseKey> {\n return this._call<components.LicenseKey>(defs.licenseKeysRetrieve, request, options);\n }\n\n /**\n * Revoke a license key\n *\n * @remarks\n * The key stops validating and activating at once (`status: revoked`). Idempotent. Sends `license_key.revoked` and bumps the customer-access `version`.\n *\n * `POST /v1/license-keys/{id}/revoke`\n */\n async revoke(request: operations.LicenseKeysRevokeRequest, options?: RequestOptions): Promise<components.LicenseKey> {\n return this._call<components.LicenseKey>(defs.licenseKeysRevoke, request, options);\n }\n}\n\n/**\n * `onflay.meters`\n */\nexport class Meters extends ClientSDK {\n /**\n * List meters\n *\n * @remarks\n * All meters of the account, newest first.\n *\n * `GET /v1/meters`\n */\n async list(options?: RequestOptions): Promise<hey.MetersListResponse> {\n return this._call<hey.MetersListResponse>(defs.metersList, undefined, options);\n }\n\n /**\n * Create a meter\n *\n * `POST /v1/meters`\n */\n async create(request: operations.MetersCreateRequest, options?: RequestOptions): Promise<components.Meter> {\n return this._call<components.Meter>(defs.metersCreate, request, options);\n }\n}\n\n/**\n * `onflay.paymentConfirmations`\n */\nexport class PaymentConfirmations extends ClientSDK {\n /**\n * Retrieve a payment confirmation\n *\n * @remarks\n * Resolves the token of a `confirmUrl` (a payment with `status: \"requires_action\"`). No API key: the token itself is the credential. Used by the Onflay-hosted confirmation page; you do not need to call it.\n *\n * `GET /v1/payment-confirmations/{token}`\n */\n async retrieve(request: operations.PaymentConfirmationsRetrieveRequest, options?: RequestOptions): Promise<components.PaymentConfirmation> {\n return this._call<components.PaymentConfirmation>(defs.paymentConfirmationsRetrieve, request, options);\n }\n}\n\n/**\n * `onflay.payments.refunds`\n */\nexport class PaymentsRefunds extends ClientSDK {\n /**\n * List refunds of a payment\n *\n * @remarks\n * Lists the refunds of one payment, newest first, including `pending` and `failed` ones. Cursor-paginated. Requires the `refunds:read` scope.\n *\n * `GET /v1/payments/{id}/refunds`\n */\n async list(request: operations.PaymentsRefundsListRequest, options?: RequestOptions): Promise<PageIterator<operations.PaymentsRefundsListResponse, { cursor: string }>> {\n return this._paginate<operations.PaymentsRefundsListResponse>(defs.paymentsRefundsList, request, options);\n }\n\n /**\n * Refund a payment\n *\n * @remarks\n * Refunds all or part of a payment to the buyer’s original payment method. Omit `amountInCents` to refund everything that is left. Requires the `refunds:write` scope and an `Idempotency-Key` header: a retry with the same key and body returns the first refund instead of refunding again. A full refund revokes what the payment granted; a refund never cancels a subscription.\n *\n * `POST /v1/payments/{id}/refunds`\n */\n async create(request: operations.PaymentsRefundsCreateRequest, options?: RequestOptions): Promise<components.Refund> {\n return this._call<components.Refund>(defs.paymentsRefundsCreate, request, options);\n }\n\n /**\n * Retrieve a refund\n *\n * @remarks\n * Returns one refund of a payment. Requires the `refunds:read` scope.\n *\n * `GET /v1/payments/{id}/refunds/{refundId}`\n */\n async retrieve(request: operations.PaymentsRefundsRetrieveRequest, options?: RequestOptions): Promise<components.Refund> {\n return this._call<components.Refund>(defs.paymentsRefundsRetrieve, request, options);\n }\n}\n\n/**\n * `onflay.payments`\n */\nexport class Payments extends ClientSDK {\n private _refunds?: PaymentsRefunds;\n get refunds(): PaymentsRefunds {\n return (this._refunds ??= new PaymentsRefunds(this._options));\n }\n\n /**\n * List payments\n *\n * @remarks\n * Lists payments on your account, newest first. Cursor-paginated. Requires the `payments:read` scope.\n *\n * `GET /v1/payments`\n */\n async list(request?: operations.PaymentsListRequest, options?: RequestOptions): Promise<PageIterator<operations.PaymentsListResponse, { cursor: string }>> {\n return this._paginate<operations.PaymentsListResponse>(defs.paymentsList, request, options);\n }\n\n /**\n * Charge a saved card\n *\n * @remarks\n * Charges a card the customer saved with your account (at checkout with `savePaymentMethod`, or through a setup intent), off-session, now. Send `amountInCents` + `currency`, or `catalog` to charge a one-time plan at its price (its grants apply). Returns the payment: `completed` when charged, `failed` with `failureCode` when declined, or `requires_action` with `confirmUrl` when the bank needs the customer to confirm (Onflay emails them the link). Cards saved with other sellers are never charged (`payment_method_required`). Requires the `payments:write` scope and an `Idempotency-Key` header: a retry with the same key returns the same payment and never charges twice.\n *\n * `POST /v1/payments`\n */\n async create(request: operations.PaymentsCreateRequest, options?: RequestOptions): Promise<components.Payment> {\n return this._call<components.Payment>(defs.paymentsCreate, request, options);\n }\n\n /**\n * Retrieve a payment\n *\n * @remarks\n * Returns one payment on your account. Requires the `payments:read` scope.\n *\n * `GET /v1/payments/{id}`\n */\n async retrieve(request: operations.PaymentsRetrieveRequest, options?: RequestOptions): Promise<components.Payment> {\n return this._call<components.Payment>(defs.paymentsRetrieve, request, options);\n }\n}\n\n/**\n * `onflay.prices`\n */\nexport class Prices extends ClientSDK {\n /**\n * List prices\n *\n * @remarks\n * Cursor-paginated list of the account prices, newest first. `limit` counts prices. Filter by `productId` or `active`. Requires the `prices:read` scope.\n *\n * `GET /v1/prices`\n */\n async list(request?: operations.PricesListRequest, options?: RequestOptions): Promise<PageIterator<operations.PricesListResponse, { cursor: string }>> {\n return this._paginate<operations.PricesListResponse>(defs.pricesList, request, options);\n }\n\n /**\n * Create a price\n *\n * @remarks\n * Creates (or updates the matching) USD price on a product. Only `billingScheme: \"flat\"` is supported. Requires the `prices:write` scope.\n *\n * `POST /v1/prices`\n */\n async create(request: operations.PricesCreateRequest, options?: RequestOptions): Promise<components.Price> {\n return this._call<components.Price>(defs.pricesCreate, request, options);\n }\n\n /**\n * Retrieve a price\n *\n * @remarks\n * Requires the `prices:read` scope.\n *\n * `GET /v1/prices/{id}`\n */\n async retrieve(request: operations.PricesRetrieveRequest, options?: RequestOptions): Promise<components.Price> {\n return this._call<components.Price>(defs.pricesRetrieve, request, options);\n }\n\n /**\n * Update a price\n *\n * @remarks\n * Activates or deactivates a price and merges `metadata`. Requires the `prices:write` scope.\n *\n * `PATCH /v1/prices/{id}`\n */\n async update(request: operations.PricesUpdateRequest, options?: RequestOptions): Promise<components.Price> {\n return this._call<components.Price>(defs.pricesUpdate, request, options);\n }\n}\n\n/**\n * `onflay.products`\n */\nexport class Products extends ClientSDK {\n /**\n * List products\n *\n * @remarks\n * Cursor-paginated list of the account products, newest first. Filter by `active`. Requires the `products:read` scope.\n *\n * `GET /v1/products`\n */\n async list(request?: operations.ProductsListRequest, options?: RequestOptions): Promise<PageIterator<operations.ProductsListResponse, { cursor: string }>> {\n return this._paginate<operations.ProductsListResponse>(defs.productsList, request, options);\n }\n\n /**\n * Create a product\n *\n * @remarks\n * Creates a digital product. It is published for sale unless `active` is false. Requires the `products:write` scope.\n *\n * `POST /v1/products`\n */\n async create(request: operations.ProductsCreateRequest, options?: RequestOptions): Promise<components.Product> {\n return this._call<components.Product>(defs.productsCreate, request, options);\n }\n\n /**\n * Retrieve a product\n *\n * @remarks\n * Requires the `products:read` scope.\n *\n * `GET /v1/products/{id}`\n */\n async retrieve(request: operations.ProductsRetrieveRequest, options?: RequestOptions): Promise<components.Product> {\n return this._call<components.Product>(defs.productsRetrieve, request, options);\n }\n\n /**\n * Update a product\n *\n * @remarks\n * Updates the provided fields. `metadata` is merged into the existing metadata. Requires the `products:write` scope.\n *\n * `PATCH /v1/products/{id}`\n */\n async update(request: operations.ProductsUpdateRequest, options?: RequestOptions): Promise<components.Product> {\n return this._call<components.Product>(defs.productsUpdate, request, options);\n }\n}\n\n/**\n * `onflay.sandbox.payoutMethods`\n */\nexport class SandboxPayoutMethods extends ClientSDK {\n /**\n * Create a test payout method\n *\n * @remarks\n * Provisions a test payout method for this sandbox account. Sandbox only (`sk_test_*` keys); returns 403 on the production plane. Safe to call repeatedly.\n *\n * `POST /v1/sandbox/payout-methods/test`\n */\n async createTest(options?: RequestOptions): Promise<components.SandboxPayoutMethodResult> {\n return this._call<components.SandboxPayoutMethodResult>(defs.sandboxPayoutMethodsCreateTest, undefined, options);\n }\n}\n\n/**\n * `onflay.sandbox`\n */\nexport class Sandbox extends ClientSDK {\n private _payoutMethods?: SandboxPayoutMethods;\n get payoutMethods(): SandboxPayoutMethods {\n return (this._payoutMethods ??= new SandboxPayoutMethods(this._options));\n }\n}\n\n/**\n * `onflay.setupSessions`\n */\nexport class SetupSessions extends ClientSDK {\n /**\n * Retrieve a setup session\n *\n * @remarks\n * Resolves a setup session token from `POST /v1/customers/{id}/setup-intent`. No API key: the token itself is the credential. Tokens expire after 1 hour.\n *\n * `GET /v1/setup-sessions/{token}`\n */\n async retrieve(request: operations.SetupSessionsRetrieveRequest, options?: RequestOptions): Promise<components.SetupSession> {\n return this._call<components.SetupSession>(defs.setupSessionsRetrieve, request, options);\n }\n}\n\n/**\n * `onflay.subscriptions`\n */\nexport class Subscriptions extends ClientSDK {\n /**\n * List subscriptions\n *\n * @remarks\n * Cursor-paginated list of the account subscriptions, newest first. Filter by `status` or `externalCustomerId`.\n *\n * `GET /v1/subscriptions`\n */\n async list(request?: operations.SubscriptionsListRequest, options?: RequestOptions): Promise<PageIterator<operations.SubscriptionsListResponse, { cursor: string }>> {\n return this._paginate<operations.SubscriptionsListResponse>(defs.subscriptionsList, request, options);\n }\n\n /**\n * Cancel by externalCustomerId\n *\n * @remarks\n * Resolves the customer's single cancelable subscription (optionally scoped by catalogKey) and cancels it. Defaults to cancel at period end.\n *\n * `POST /v1/subscriptions/cancel`\n */\n async cancelByExternalCustomer(request: operations.SubscriptionsCancelByExternalCustomerRequest, options?: RequestOptions): Promise<components.SubscriptionCancellation> {\n return this._call<components.SubscriptionCancellation>(defs.subscriptionsCancelByExternalCustomer, request, options);\n }\n\n /**\n * Uncancel by externalCustomerId\n *\n * @remarks\n * Clears the customer's single scheduled period-end cancellation (optionally scoped by catalogKey).\n *\n * `POST /v1/subscriptions/uncancel`\n */\n async uncancelByExternalCustomer(request: operations.SubscriptionsUncancelByExternalCustomerRequest, options?: RequestOptions): Promise<components.Subscription> {\n return this._call<components.Subscription>(defs.subscriptionsUncancelByExternalCustomer, request, options);\n }\n\n /**\n * Retrieve a subscription\n *\n * `GET /v1/subscriptions/{id}`\n */\n async retrieve(request: operations.SubscriptionsRetrieveRequest, options?: RequestOptions): Promise<components.Subscription> {\n return this._call<components.Subscription>(defs.subscriptionsRetrieve, request, options);\n }\n\n /**\n * Update a subscription\n *\n * @remarks\n * Cancels, resumes or switches the plan of a subscription. Provide exactly one intent. `{ cancelAtPeriodEnd }` returns a `SubscriptionCancellation`; `{ uncancel: true }`, `{ catalog }` and `{ cancelPendingChange: true }` return the updated `Subscription`. A plan switch applies now (`effective: \"now\"`, default, prorated with `prorationBehavior`) or at the end of the paid period (`effective: \"period_end\"`: the subscription shows `pendingChange` and `subscription.updated` fires when the new plan starts). Price either with `POST /v1/subscriptions/{id}/preview` first.\n *\n * `PATCH /v1/subscriptions/{id}`\n */\n async update(request: operations.SubscriptionsUpdateRequest, options?: RequestOptions): Promise<hey.SubscriptionsUpdateResponse> {\n return this._call<hey.SubscriptionsUpdateResponse>(defs.subscriptionsUpdate, request, options);\n }\n\n /**\n * Cancel a subscription\n *\n * @remarks\n * Defaults to cancel at period end (status stays `active` with cancelAtPeriodEnd=true). Pass cancelAtPeriodEnd=false to cancel immediately.\n *\n * `POST /v1/subscriptions/{id}/cancel`\n */\n async cancel(request: operations.SubscriptionsCancelRequest, options?: RequestOptions): Promise<components.SubscriptionCancellation> {\n return this._call<components.SubscriptionCancellation>(defs.subscriptionsCancel, request, options);\n }\n\n /**\n * Preview a plan switch\n *\n * @remarks\n * Returns what a plan switch would cost without changing anything: `amountDueNow` (charged when you switch), the next invoice and its lines. Takes the plan-switch fields of `PATCH /v1/subscriptions/{id}` (`catalog`, `prorationBehavior`, `effective`) and runs the same checks, so it fails with the same errors (`plan_unchanged`, `cross_listing_switch_forbidden`, `cancellation_scheduled`, ...). Amounts exclude tax Onflay adds to invoices of tax-collected subscriptions.\n *\n * `POST /v1/subscriptions/{id}/preview`\n */\n async previewUpdate(request: operations.SubscriptionsPreviewUpdateRequest, options?: RequestOptions): Promise<components.SubscriptionUpdatePreview> {\n return this._call<components.SubscriptionUpdatePreview>(defs.subscriptionsPreviewUpdate, request, options);\n }\n}\n\n/**\n * `onflay.usage.billingPlans`\n */\nexport class UsageBillingPlans extends ClientSDK {\n /**\n * Create a usage billing plan\n *\n * @remarks\n * Attaches metered billing (meter + price) to a subscription. One plan per subscription.\n *\n * `POST /v1/usage/billing-plans`\n */\n async create(request: operations.UsageBillingPlansCreateRequest, options?: RequestOptions): Promise<components.UsageBillingPlan> {\n return this._call<components.UsageBillingPlan>(defs.usageBillingPlansCreate, request, options);\n }\n\n /**\n * Retrieve a usage billing plan\n *\n * @remarks\n * The usage billing plan of a subscription.\n *\n * `GET /v1/usage/billing-plans/{subscriptionId}`\n */\n async retrieve(request: operations.UsageBillingPlansRetrieveRequest, options?: RequestOptions): Promise<components.UsageBillingPlan> {\n return this._call<components.UsageBillingPlan>(defs.usageBillingPlansRetrieve, request, options);\n }\n}\n\n/**\n * `onflay.usage.records`\n */\nexport class UsageRecords extends ClientSDK {\n /**\n * Report usage\n *\n * @remarks\n * Buffers a usage event for a subscription and meter; it is persisted asynchronously. Deduplicated by the body `idempotencyKey`.\n *\n * `POST /v1/usage/records`\n */\n async create(request: components.ReportUsage, options?: RequestOptions): Promise<components.UsageRecord> {\n return this._call<components.UsageRecord>(defs.usageRecordsCreate, request, options);\n }\n}\n\n/**\n * `onflay.usage`\n */\nexport class Usage extends ClientSDK {\n private _billingPlans?: UsageBillingPlans;\n get billingPlans(): UsageBillingPlans {\n return (this._billingPlans ??= new UsageBillingPlans(this._options));\n }\n\n private _records?: UsageRecords;\n get records(): UsageRecords {\n return (this._records ??= new UsageRecords(this._options));\n }\n}\n\n/**\n * `onflay.webhookDeliveries`\n */\nexport class WebhookDeliveries extends ClientSDK {\n /**\n * List webhook deliveries\n *\n * @remarks\n * Newest first. Cursor-paginated. List items omit `payload`; retrieve a delivery to see it.\n *\n * `GET /v1/webhook-deliveries`\n */\n async list(request?: operations.WebhookDeliveriesListRequest, options?: RequestOptions): Promise<PageIterator<operations.WebhookDeliveriesListResponse, { cursor: string }>> {\n return this._paginate<operations.WebhookDeliveriesListResponse>(defs.webhookDeliveriesList, request, options);\n }\n\n /**\n * Retrieve a webhook delivery\n *\n * @remarks\n * Includes the payload that was sent.\n *\n * `GET /v1/webhook-deliveries/{id}`\n */\n async retrieve(request: operations.WebhookDeliveriesRetrieveRequest, options?: RequestOptions): Promise<components.WebhookDelivery> {\n return this._call<components.WebhookDelivery>(defs.webhookDeliveriesRetrieve, request, options);\n }\n\n /**\n * Resend a webhook delivery\n *\n * @remarks\n * Queues the delivery for another attempt now. Sets the status back to `PENDING` and enqueues a new attempt. The response omits `payload`.\n *\n * `POST /v1/webhook-deliveries/{id}/resend`\n */\n async resend(request: operations.WebhookDeliveriesResendRequest, options?: RequestOptions): Promise<components.WebhookDelivery> {\n return this._call<components.WebhookDelivery>(defs.webhookDeliveriesResend, request, options);\n }\n}\n\n/**\n * `onflay.webhookEndpoints`\n */\nexport class WebhookEndpoints extends ClientSDK {\n /**\n * List webhook endpoints\n *\n * @remarks\n * Newest first. Returns every endpoint in one page; `nextCursor` is always null.\n *\n * `GET /v1/webhook-endpoints`\n */\n async list(options?: RequestOptions): Promise<components.WebhookEndpointList> {\n return this._call<components.WebhookEndpointList>(defs.webhookEndpointsList, undefined, options);\n }\n\n /**\n * Create a webhook endpoint\n *\n * @remarks\n * The signing secret is returned once, in `secret`.\n *\n * `POST /v1/webhook-endpoints`\n */\n async create(request: operations.WebhookEndpointsCreateRequest, options?: RequestOptions): Promise<components.WebhookEndpointWithSecret> {\n return this._call<components.WebhookEndpointWithSecret>(defs.webhookEndpointsCreate, request, options);\n }\n\n /**\n * Retrieve a webhook endpoint\n *\n * `GET /v1/webhook-endpoints/{id}`\n */\n async retrieve(request: operations.WebhookEndpointsRetrieveRequest, options?: RequestOptions): Promise<components.WebhookEndpoint> {\n return this._call<components.WebhookEndpoint>(defs.webhookEndpointsRetrieve, request, options);\n }\n\n /**\n * Delete a webhook endpoint\n *\n * @remarks\n * Deletes the endpoint and its delivery log.\n *\n * `DELETE /v1/webhook-endpoints/{id}`\n */\n async delete(request: operations.WebhookEndpointsDeleteRequest, options?: RequestOptions): Promise<void> {\n return this._call<void>(defs.webhookEndpointsDelete, request, options);\n }\n\n /**\n * Update a webhook endpoint\n *\n * @remarks\n * Updates the URL, events, description or `isActive`.\n *\n * `PATCH /v1/webhook-endpoints/{id}`\n */\n async update(request: operations.WebhookEndpointsUpdateRequest, options?: RequestOptions): Promise<components.WebhookEndpoint> {\n return this._call<components.WebhookEndpoint>(defs.webhookEndpointsUpdate, request, options);\n }\n}\n\n/**\n * Onflay API client.\n *\n * ```ts\n * import { Onflay } from '@onflay/node';\n *\n * const onflay = new Onflay({ bearer: process.env['ONFLAY_SECRET_KEY'] ?? '' });\n * ```\n */\nexport class Onflay extends ClientSDK {\n private _jwks?: Jwks;\n get jwks(): Jwks {\n return (this._jwks ??= new Jwks(this._options));\n }\n\n private _catalog?: Catalog;\n get catalog(): Catalog {\n return (this._catalog ??= new Catalog(this._options));\n }\n\n private _checkoutSessions?: CheckoutSessions;\n get checkoutSessions(): CheckoutSessions {\n return (this._checkoutSessions ??= new CheckoutSessions(this._options));\n }\n\n private _credits?: Credits;\n get credits(): Credits {\n return (this._credits ??= new Credits(this._options));\n }\n\n private _customerAccess?: CustomerAccess;\n get customerAccess(): CustomerAccess {\n return (this._customerAccess ??= new CustomerAccess(this._options));\n }\n\n private _customerPortal?: CustomerPortal;\n get customerPortal(): CustomerPortal {\n return (this._customerPortal ??= new CustomerPortal(this._options));\n }\n\n private _customers?: Customers;\n get customers(): Customers {\n return (this._customers ??= new Customers(this._options));\n }\n\n private _discounts?: Discounts;\n get discounts(): Discounts {\n return (this._discounts ??= new Discounts(this._options));\n }\n\n private _integrationVerifications?: IntegrationVerifications;\n get integrationVerifications(): IntegrationVerifications {\n return (this._integrationVerifications ??= new IntegrationVerifications(this._options));\n }\n\n private _invoices?: Invoices;\n get invoices(): Invoices {\n return (this._invoices ??= new Invoices(this._options));\n }\n\n private _licenseKeys?: LicenseKeys;\n get licenseKeys(): LicenseKeys {\n return (this._licenseKeys ??= new LicenseKeys(this._options));\n }\n\n private _meters?: Meters;\n get meters(): Meters {\n return (this._meters ??= new Meters(this._options));\n }\n\n private _paymentConfirmations?: PaymentConfirmations;\n get paymentConfirmations(): PaymentConfirmations {\n return (this._paymentConfirmations ??= new PaymentConfirmations(this._options));\n }\n\n private _payments?: Payments;\n get payments(): Payments {\n return (this._payments ??= new Payments(this._options));\n }\n\n private _prices?: Prices;\n get prices(): Prices {\n return (this._prices ??= new Prices(this._options));\n }\n\n private _products?: Products;\n get products(): Products {\n return (this._products ??= new Products(this._options));\n }\n\n private _sandbox?: Sandbox;\n get sandbox(): Sandbox {\n return (this._sandbox ??= new Sandbox(this._options));\n }\n\n private _setupSessions?: SetupSessions;\n get setupSessions(): SetupSessions {\n return (this._setupSessions ??= new SetupSessions(this._options));\n }\n\n private _subscriptions?: Subscriptions;\n get subscriptions(): Subscriptions {\n return (this._subscriptions ??= new Subscriptions(this._options));\n }\n\n private _usage?: Usage;\n get usage(): Usage {\n return (this._usage ??= new Usage(this._options));\n }\n\n private _webhookDeliveries?: WebhookDeliveries;\n get webhookDeliveries(): WebhookDeliveries {\n return (this._webhookDeliveries ??= new WebhookDeliveries(this._options));\n }\n\n private _webhookEndpoints?: WebhookEndpoints;\n get webhookEndpoints(): WebhookEndpoints {\n return (this._webhookEndpoints ??= new WebhookEndpoints(this._options));\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAeO,IAAM,SAAiB,aAAa,aAA6B,EAAE,SAAS,yBAAyB,CAAC,CAAC;;;ACX9G,IAAM,iDAAiD,CAAC,SAAc;AAClE,OAAK,YAAY,IAAI,KAAK,KAAK,SAAS;AACxC,SAAO;AACX;AAEA,IAAM,8CAA8C,CAAC,SAAc;AAC/D,OAAK,OAAO,KAAK,KAAK,IAAI,CAAC,SAAc,+CAA+C,IAAI,CAAC;AAC7F,SAAO;AACX;AAEO,IAAM,iCAAiC,OAAO,SAA4C;AAC7F,SAAO,4CAA4C,IAAI;AACvD,SAAO;AACX;AAEA,IAAM,yCAAyC,CAAC,SAAc;AAC1D,OAAK,YAAY,IAAI,KAAK,KAAK,SAAS;AACxC,SAAO;AACX;AAEA,IAAM,4CAA4C,CAAC,SAAc;AAC7D,OAAK,SAAS,uCAAuC,KAAK,MAAM;AAChE,SAAO;AACX;AAEO,IAA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;AAAA,EAEQ;AAAA,EACR,IAAI,WAAqB;AACvB,WAAQ,KAAK,cAAc,IAAI,SAAS,KAAK,QAAQ;AAAA,EACvD;AAAA,EAEQ;AAAA,EACR,IAAI,UAAmB;AACrB,WAAQ,KAAK,aAAa,IAAI,QAAQ,KAAK,QAAQ;AAAA,EACrD;AAAA,EAEQ;AAAA,EACR,IAAI,gBAA+B;AACjC,WAAQ,KAAK,mBAAmB,IAAI,cAAc,KAAK,QAAQ;AAAA,EACjE;AAAA,EAEQ;AAAA,EACR,IAAI,gBAA+B;AACjC,WAAQ,KAAK,mBAAmB,IAAI,cAAc,KAAK,QAAQ;AAAA,EACjE;AAAA,EAEQ;AAAA,EACR,IAAI,QAAe;AACjB,WAAQ,KAAK,WAAW,IAAI,MAAM,KAAK,QAAQ;AAAA,EACjD;AAAA,EAEQ;AAAA,EACR,IAAI,oBAAuC;AACzC,WAAQ,KAAK,uBAAuB,IAAI,kBAAkB,KAAK,QAAQ;AAAA,EACzE;AAAA,EAEQ;AAAA,EACR,IAAI,mBAAqC;AACvC,WAAQ,KAAK,sBAAsB,IAAI,iBAAiB,KAAK,QAAQ;AAAA,EACvE;AACF;","names":["jwksRetrieve","catalogList","catalogListingsRetrieveIntegrationGuide","catalogListingsRetrieveRecipe","catalogProductsRetrieve","catalogProductsUpsert","catalogPlansUpsert","checkoutSessionsCreate","checkoutSessionsRetrieve","checkoutSessionsRetrieveReceipt","creditsAdjust","creditsConsume","creditsRetrieve","creditsListLedger","customerAccessRetrieve","customerPortalSessionsCreate","customersList","customersCreate","customersRetrieve","customersUpdate","customersListPaymentMethods","customersCreateSetupIntent","discountsList","discountsCreate","discountsRetrieve","discountsUpdate","discountsDeactivate","integrationVerificationsCreate","integrationVerificationsListForListing","invoicesList","invoicesCreate","invoicesRetrieve","licenseKeysList","licenseKeysActivate","licenseKeysDeactivate","licenseKeysValidate","licenseKeysRetrieve","licenseKeysRevoke","metersList","metersCreate","paymentConfirmationsRetrieve","paymentsList","paymentsCreate","paymentsRetrieve","paymentsRefundsList","paymentsRefundsCreate","paymentsRefundsRetrieve","pricesList","pricesCreate","pricesRetrieve","pricesUpdate","productsList","productsCreate","productsRetrieve","productsUpdate","sandboxPayoutMethodsCreateTest","setupSessionsRetrieve","subscriptionsList","subscriptionsCancelByExternalCustomer","subscriptionsUncancelByExternalCustomer","subscriptionsRetrieve","subscriptionsUpdate","subscriptionsCancel","subscriptionsPreviewUpdate","usageBillingPlansCreate","usageBillingPlansRetrieve","usageRecordsCreate","webhookDeliveriesList","webhookDeliveriesRetrieve","webhookDeliveriesResend","webhookEndpointsList","webhookEndpointsCreate","webhookEndpointsRetrieve","webhookEndpointsDelete","webhookEndpointsUpdate","jwksRetrieve","catalogListingsRetrieveIntegrationGuide","catalogListingsRetrieveRecipe","catalogProductsRetrieve","catalogProductsUpsert","catalogPlansUpsert","catalogList","checkoutSessionsCreate","checkoutSessionsRetrieve","checkoutSessionsRetrieveReceipt","creditsAdjust","creditsConsume","creditsRetrieve","creditsListLedger","customerAccessRetrieve","customerPortalSessionsCreate","customersList","customersCreate","customersRetrieve","customersUpdate","customersListPaymentMethods","customersCreateSetupIntent","discountsList","discountsCreate","discountsRetrieve","discountsUpdate","discountsDeactivate","integrationVerificationsCreate","integrationVerificationsListForListing","invoicesList","invoicesCreate","invoicesRetrieve","licenseKeysList","licenseKeysActivate","licenseKeysDeactivate","licenseKeysValidate","licenseKeysRetrieve","licenseKeysRevoke","metersList","metersCreate","paymentConfirmationsRetrieve","paymentsRefundsList","paymentsRefundsCreate","paymentsRefundsRetrieve","paymentsList","paymentsCreate","paymentsRetrieve","pricesList","pricesCreate","pricesRetrieve","pricesUpdate","productsList","productsCreate","productsRetrieve","productsUpdate","sandboxPayoutMethodsCreateTest","setupSessionsRetrieve","subscriptionsList","subscriptionsCancelByExternalCustomer","subscriptionsUncancelByExternalCustomer","subscriptionsRetrieve","subscriptionsUpdate","subscriptionsCancel","subscriptionsPreviewUpdate","usageBillingPlansCreate","usageBillingPlansRetrieve","usageRecordsCreate","webhookDeliveriesList","webhookDeliveriesRetrieve","webhookDeliveriesResend","webhookEndpointsList","webhookEndpointsCreate","webhookEndpointsRetrieve","webhookEndpointsDelete","webhookEndpointsUpdate"]}