@leaflow/sdk 0.0.0-dev.357.gf8331d0 → 0.0.0-dev.359.gca6d1b5

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 (249) hide show
  1. package/dist/account/v1/generated/functions.d.ts +10 -3
  2. package/dist/account/v1/generated/functions.js +8 -3
  3. package/dist/account/v1/generated/models.d.ts +2 -0
  4. package/dist/account/v1/generated/schemas.zod.d.ts +10 -3
  5. package/dist/account/v1/generated/schemas.zod.js +10 -3
  6. package/dist/account/v1/generated/validators/acceptConsentsRequestBody.zod.d.ts +2 -0
  7. package/dist/account/v1/generated/validators/acceptConsentsRequestBody.zod.js +2 -0
  8. package/dist/account/v1/generated/validators/acceptInvitationByTokenRequestBody.zod.d.ts +2 -0
  9. package/dist/account/v1/generated/validators/acceptInvitationByTokenRequestBody.zod.js +2 -0
  10. package/dist/account/v1/generated/validators/acceptedInvitationResponseBody.zod.d.ts +2 -0
  11. package/dist/account/v1/generated/validators/acceptedInvitationResponseBody.zod.js +2 -0
  12. package/dist/account/v1/generated/validators/accountResource.zod.d.ts +2 -0
  13. package/dist/account/v1/generated/validators/accountResource.zod.js +2 -0
  14. package/dist/account/v1/generated/validators/agreementListResponseBody.zod.d.ts +2 -0
  15. package/dist/account/v1/generated/validators/agreementListResponseBody.zod.js +2 -0
  16. package/dist/account/v1/generated/validators/agreementResource.zod.d.ts +2 -0
  17. package/dist/account/v1/generated/validators/agreementResource.zod.js +2 -0
  18. package/dist/account/v1/generated/validators/consentBody.zod.d.ts +2 -0
  19. package/dist/account/v1/generated/validators/consentBody.zod.js +2 -0
  20. package/dist/account/v1/generated/validators/consentListResponseBody.zod.d.ts +2 -0
  21. package/dist/account/v1/generated/validators/consentListResponseBody.zod.js +2 -0
  22. package/dist/account/v1/generated/validators/consentResource.zod.d.ts +2 -0
  23. package/dist/account/v1/generated/validators/consentResource.zod.js +2 -0
  24. package/dist/account/v1/generated/validators/countryOption.zod.d.ts +2 -0
  25. package/dist/account/v1/generated/validators/countryOption.zod.js +2 -0
  26. package/dist/account/v1/generated/validators/createProjectRequestBody.zod.d.ts +2 -0
  27. package/dist/account/v1/generated/validators/createProjectRequestBody.zod.js +2 -0
  28. package/dist/account/v1/generated/validators/cursorPagination.zod.d.ts +2 -0
  29. package/dist/account/v1/generated/validators/cursorPagination.zod.js +2 -0
  30. package/dist/account/v1/generated/validators/error.zod.d.ts +2 -0
  31. package/dist/account/v1/generated/validators/error.zod.js +2 -0
  32. package/dist/account/v1/generated/validators/grantResource.zod.d.ts +2 -0
  33. package/dist/account/v1/generated/validators/grantResource.zod.js +2 -0
  34. package/dist/account/v1/generated/validators/identityVerificationResource.zod.d.ts +2 -0
  35. package/dist/account/v1/generated/validators/identityVerificationResource.zod.js +2 -0
  36. package/dist/account/v1/generated/validators/invitationPreviewResource.zod.d.ts +2 -0
  37. package/dist/account/v1/generated/validators/invitationPreviewResource.zod.js +2 -0
  38. package/dist/account/v1/generated/validators/invitationResource.zod.d.ts +2 -0
  39. package/dist/account/v1/generated/validators/invitationResource.zod.js +2 -0
  40. package/dist/account/v1/generated/validators/languageOption.zod.d.ts +2 -0
  41. package/dist/account/v1/generated/validators/languageOption.zod.js +2 -0
  42. package/dist/account/v1/generated/validators/lengthAwarePageInvitationResource.zod.d.ts +2 -0
  43. package/dist/account/v1/generated/validators/lengthAwarePageInvitationResource.zod.js +2 -0
  44. package/dist/account/v1/generated/validators/lengthAwarePageProjectAccessResource.zod.d.ts +2 -0
  45. package/dist/account/v1/generated/validators/lengthAwarePageProjectAccessResource.zod.js +2 -0
  46. package/dist/account/v1/generated/validators/listMyInvitationsParams.zod.d.ts +2 -0
  47. package/dist/account/v1/generated/validators/listMyInvitationsParams.zod.js +2 -0
  48. package/dist/account/v1/generated/validators/listProjectsParams.zod.d.ts +2 -0
  49. package/dist/account/v1/generated/validators/listProjectsParams.zod.js +2 -0
  50. package/dist/account/v1/generated/validators/locale.zod.d.ts +2 -0
  51. package/dist/account/v1/generated/validators/locale.zod.js +2 -0
  52. package/dist/account/v1/generated/validators/localeOptionsResource.zod.d.ts +2 -0
  53. package/dist/account/v1/generated/validators/localeOptionsResource.zod.js +2 -0
  54. package/dist/account/v1/generated/validators/offsetPagination.zod.d.ts +2 -0
  55. package/dist/account/v1/generated/validators/offsetPagination.zod.js +2 -0
  56. package/dist/account/v1/generated/validators/previewInvitationByTokenParams.zod.d.ts +2 -0
  57. package/dist/account/v1/generated/validators/previewInvitationByTokenParams.zod.js +2 -0
  58. package/dist/account/v1/generated/validators/projectAccessResource.zod.d.ts +2 -0
  59. package/dist/account/v1/generated/validators/projectAccessResource.zod.js +2 -0
  60. package/dist/account/v1/generated/validators/projectResource.zod.d.ts +2 -0
  61. package/dist/account/v1/generated/validators/projectResource.zod.js +2 -0
  62. package/dist/account/v1/generated/validators/projectSlugAvailabilityResource.zod.d.ts +2 -0
  63. package/dist/account/v1/generated/validators/projectSlugAvailabilityResource.zod.js +2 -0
  64. package/dist/account/v1/generated/validators/projectTraitResource.zod.d.ts +2 -0
  65. package/dist/account/v1/generated/validators/projectTraitResource.zod.js +2 -0
  66. package/dist/account/v1/generated/validators/registerRequestBody.zod.d.ts +2 -0
  67. package/dist/account/v1/generated/validators/registerRequestBody.zod.js +2 -0
  68. package/dist/account/v1/generated/validators/resourceRefResource.zod.d.ts +2 -0
  69. package/dist/account/v1/generated/validators/resourceRefResource.zod.js +2 -0
  70. package/dist/account/v1/generated/validators/ruleResource.zod.d.ts +2 -0
  71. package/dist/account/v1/generated/validators/ruleResource.zod.js +2 -0
  72. package/dist/account/v1/generated/validators/scopedTokenResponseBody.zod.d.ts +2 -0
  73. package/dist/account/v1/generated/validators/scopedTokenResponseBody.zod.js +2 -0
  74. package/dist/account/v1/generated/validators/settingsResource.zod.d.ts +2 -0
  75. package/dist/account/v1/generated/validators/settingsResource.zod.js +2 -0
  76. package/dist/account/v1/generated/validators/submitIdentityVerificationRequestBody.zod.d.ts +2 -0
  77. package/dist/account/v1/generated/validators/submitIdentityVerificationRequestBody.zod.js +2 -0
  78. package/dist/account/v1/generated/validators/updateAccountRequestBody.zod.d.ts +2 -0
  79. package/dist/account/v1/generated/validators/updateAccountRequestBody.zod.js +2 -0
  80. package/dist/billing/type/order/v1/generated/models.d.ts +71 -33
  81. package/dist/billing/type/order/v1/generated/models.js +2 -1
  82. package/dist/billing/type/order/v1/generated/validators/cancelSubscriptionRequest.zod.js +2 -2
  83. package/dist/billing/type/order/v1/generated/validators/cancellation.zod.js +2 -2
  84. package/dist/billing/type/order/v1/generated/validators/cancellationCreate.zod.js +2 -2
  85. package/dist/billing/type/order/v1/generated/validators/{terminationPolicy.zod.d.ts → cancellationPolicy.zod.d.ts} +3 -3
  86. package/dist/billing/type/order/v1/generated/validators/{terminationPolicy.zod.js → cancellationPolicy.zod.js} +2 -2
  87. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreview.zod.d.ts +2 -0
  88. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreview.zod.js +4 -3
  89. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +1 -0
  90. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreviewItem.zod.js +1 -0
  91. package/dist/billing/type/order/v1/generated/validators/order.zod.d.ts +5 -3
  92. package/dist/billing/type/order/v1/generated/validators/orderItem.zod.d.ts +5 -3
  93. package/dist/billing/type/order/v1/generated/validators/orderItem.zod.js +10 -6
  94. package/dist/billing/type/order/v1/generated/validators/orderItemList.zod.d.ts +5 -3
  95. package/dist/billing/type/order/v1/generated/validators/orderList.zod.d.ts +5 -3
  96. package/dist/billing/type/order/v1/generated/validators/orderRefundQuote.zod.js +1 -1
  97. package/dist/billing/type/order/v1/generated/validators/price.zod.d.ts +4 -1
  98. package/dist/billing/type/order/v1/generated/validators/price.zod.js +10 -2
  99. package/dist/billing/type/order/v1/generated/validators/priceList.zod.d.ts +4 -1
  100. package/dist/billing/type/order/v1/generated/validators/quote.zod.d.ts +2 -0
  101. package/dist/billing/type/order/v1/generated/validators/quoteCancellation.zod.js +2 -2
  102. package/dist/billing/type/order/v1/generated/validators/quoteItemInput.zod.d.ts +1 -1
  103. package/dist/billing/type/order/v1/generated/validators/quoteItemInput.zod.js +2 -2
  104. package/dist/billing/type/order/v1/generated/validators/quoteRenewal.zod.d.ts +1 -1
  105. package/dist/billing/type/order/v1/generated/validators/quoteRenewal.zod.js +3 -3
  106. package/dist/billing/type/order/v1/generated/validators/quoteRequest.zod.d.ts +2 -2
  107. package/dist/billing/type/order/v1/generated/validators/refundPolicy.zod.d.ts +1 -0
  108. package/dist/billing/type/order/v1/generated/validators/refundPolicy.zod.js +2 -2
  109. package/dist/billing/type/order/v1/generated/validators/refundReason.zod.js +1 -1
  110. package/dist/billing/type/order/v1/generated/validators/renewRequest.zod.d.ts +1 -1
  111. package/dist/billing/type/order/v1/generated/validators/renewRequest.zod.js +3 -3
  112. package/dist/billing/type/order/v1/generated/validators/renewalOrderRequest.zod.d.ts +1 -1
  113. package/dist/billing/type/order/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
  114. package/dist/billing/type/order/v1/generated/validators/renewalPrice.zod.d.ts +4 -1
  115. package/dist/billing/type/order/v1/generated/validators/renewalPrice.zod.js +4 -2
  116. package/dist/billing/type/order/v1/generated/validators/renewalPriceList.zod.d.ts +4 -1
  117. package/dist/billing/type/order/v1/generated/validators/subscription.zod.d.ts +5 -1
  118. package/dist/billing/type/order/v1/generated/validators/subscription.zod.js +14 -2
  119. package/dist/billing/type/order/v1/generated/validators/subscriptionList.zod.d.ts +5 -1
  120. package/dist/billing/v1/generated/functions.d.ts +1 -1
  121. package/dist/billing/v1/generated/functions.js +1 -1
  122. package/dist/billing/v1/generated/models.d.ts +71 -33
  123. package/dist/billing/v1/generated/models.js +2 -1
  124. package/dist/billing/v1/generated/schemas.zod.d.ts +3 -3
  125. package/dist/billing/v1/generated/schemas.zod.js +1 -1
  126. package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.js +2 -2
  127. package/dist/billing/v1/generated/validators/cancellation.zod.js +2 -2
  128. package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +2 -2
  129. package/dist/billing/v1/generated/validators/{terminationPolicy.zod.d.ts → cancellationPolicy.zod.d.ts} +3 -3
  130. package/dist/billing/v1/generated/validators/{terminationPolicy.zod.js → cancellationPolicy.zod.js} +2 -2
  131. package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.d.ts +2 -0
  132. package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.js +4 -3
  133. package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +1 -0
  134. package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.js +1 -0
  135. package/dist/billing/v1/generated/validators/order.zod.d.ts +5 -3
  136. package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +5 -3
  137. package/dist/billing/v1/generated/validators/orderItem.zod.js +10 -6
  138. package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +5 -3
  139. package/dist/billing/v1/generated/validators/orderList.zod.d.ts +5 -3
  140. package/dist/billing/v1/generated/validators/orderRefundQuote.zod.js +1 -1
  141. package/dist/billing/v1/generated/validators/price.zod.d.ts +4 -1
  142. package/dist/billing/v1/generated/validators/price.zod.js +10 -2
  143. package/dist/billing/v1/generated/validators/priceList.zod.d.ts +4 -1
  144. package/dist/billing/v1/generated/validators/quote.zod.d.ts +2 -0
  145. package/dist/billing/v1/generated/validators/quoteCancellation.zod.js +2 -2
  146. package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +1 -1
  147. package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +2 -2
  148. package/dist/billing/v1/generated/validators/quoteRenewal.zod.d.ts +1 -1
  149. package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +3 -3
  150. package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +2 -2
  151. package/dist/billing/v1/generated/validators/refundPolicy.zod.d.ts +1 -0
  152. package/dist/billing/v1/generated/validators/refundPolicy.zod.js +2 -2
  153. package/dist/billing/v1/generated/validators/refundReason.zod.js +1 -1
  154. package/dist/billing/v1/generated/validators/renewRequest.zod.d.ts +1 -1
  155. package/dist/billing/v1/generated/validators/renewRequest.zod.js +3 -3
  156. package/dist/billing/v1/generated/validators/renewalOrderRequest.zod.d.ts +1 -1
  157. package/dist/billing/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
  158. package/dist/billing/v1/generated/validators/renewalPrice.zod.d.ts +4 -1
  159. package/dist/billing/v1/generated/validators/renewalPrice.zod.js +4 -2
  160. package/dist/billing/v1/generated/validators/renewalPriceList.zod.d.ts +4 -1
  161. package/dist/billing/v1/generated/validators/subscription.zod.d.ts +5 -1
  162. package/dist/billing/v1/generated/validators/subscription.zod.js +14 -2
  163. package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +5 -1
  164. package/dist/canopy/v1/generated/models.d.ts +71 -33
  165. package/dist/canopy/v1/generated/models.js +2 -1
  166. package/dist/canopy/v1/generated/validators/cancelSubscriptionRequest.zod.js +2 -2
  167. package/dist/canopy/v1/generated/validators/cancellation.zod.js +2 -2
  168. package/dist/canopy/v1/generated/validators/cancellationCreate.zod.js +2 -2
  169. package/dist/canopy/v1/generated/validators/{terminationPolicy.zod.d.ts → cancellationPolicy.zod.d.ts} +3 -3
  170. package/dist/canopy/v1/generated/validators/{terminationPolicy.zod.js → cancellationPolicy.zod.js} +2 -2
  171. package/dist/canopy/v1/generated/validators/cancellationRefundPreview.zod.d.ts +2 -0
  172. package/dist/canopy/v1/generated/validators/cancellationRefundPreview.zod.js +4 -3
  173. package/dist/canopy/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +1 -0
  174. package/dist/canopy/v1/generated/validators/cancellationRefundPreviewItem.zod.js +1 -0
  175. package/dist/canopy/v1/generated/validators/order.zod.d.ts +5 -3
  176. package/dist/canopy/v1/generated/validators/orderItem.zod.d.ts +5 -3
  177. package/dist/canopy/v1/generated/validators/orderItem.zod.js +10 -6
  178. package/dist/canopy/v1/generated/validators/orderItemList.zod.d.ts +5 -3
  179. package/dist/canopy/v1/generated/validators/orderList.zod.d.ts +5 -3
  180. package/dist/canopy/v1/generated/validators/orderRefundQuote.zod.js +1 -1
  181. package/dist/canopy/v1/generated/validators/price.zod.d.ts +4 -1
  182. package/dist/canopy/v1/generated/validators/price.zod.js +10 -2
  183. package/dist/canopy/v1/generated/validators/priceList.zod.d.ts +4 -1
  184. package/dist/canopy/v1/generated/validators/quote5f60d00.zod.d.ts +2 -0
  185. package/dist/canopy/v1/generated/validators/quoteA200529.zod.d.ts +2 -0
  186. package/dist/canopy/v1/generated/validators/quoteCancellation.zod.js +2 -2
  187. package/dist/canopy/v1/generated/validators/quoteItemInput.zod.d.ts +1 -1
  188. package/dist/canopy/v1/generated/validators/quoteItemInput.zod.js +2 -2
  189. package/dist/canopy/v1/generated/validators/quoteRenewal.zod.d.ts +1 -1
  190. package/dist/canopy/v1/generated/validators/quoteRenewal.zod.js +3 -3
  191. package/dist/canopy/v1/generated/validators/quoteRequest.zod.d.ts +2 -2
  192. package/dist/canopy/v1/generated/validators/refundPolicy.zod.d.ts +1 -0
  193. package/dist/canopy/v1/generated/validators/refundPolicy.zod.js +2 -2
  194. package/dist/canopy/v1/generated/validators/refundReason.zod.js +1 -1
  195. package/dist/canopy/v1/generated/validators/renewRequest.zod.d.ts +1 -1
  196. package/dist/canopy/v1/generated/validators/renewRequest.zod.js +3 -3
  197. package/dist/canopy/v1/generated/validators/renewalOrderRequest.zod.d.ts +1 -1
  198. package/dist/canopy/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
  199. package/dist/canopy/v1/generated/validators/renewalPrice.zod.d.ts +4 -1
  200. package/dist/canopy/v1/generated/validators/renewalPrice.zod.js +4 -2
  201. package/dist/canopy/v1/generated/validators/renewalPriceList.zod.d.ts +4 -1
  202. package/dist/canopy/v1/generated/validators/subscription.zod.d.ts +5 -1
  203. package/dist/canopy/v1/generated/validators/subscription.zod.js +14 -2
  204. package/dist/canopy/v1/generated/validators/subscriptionList.zod.d.ts +5 -1
  205. package/dist/iam/v1/generated/functions.d.ts +2 -1
  206. package/dist/iam/v1/generated/functions.js +2 -1
  207. package/dist/iam/v1/generated/schemas.zod.d.ts +2 -1
  208. package/dist/iam/v1/generated/schemas.zod.js +2 -1
  209. package/dist/membership/v1/generated/models.d.ts +71 -33
  210. package/dist/membership/v1/generated/models.js +2 -1
  211. package/dist/membership/v1/generated/validators/cancelSubscriptionRequest.zod.js +2 -2
  212. package/dist/membership/v1/generated/validators/cancellation.zod.js +2 -2
  213. package/dist/membership/v1/generated/validators/cancellationCreate.zod.js +2 -2
  214. package/dist/membership/v1/generated/validators/{terminationPolicy.zod.d.ts → cancellationPolicy.zod.d.ts} +3 -3
  215. package/dist/membership/v1/generated/validators/{terminationPolicy.zod.js → cancellationPolicy.zod.js} +2 -2
  216. package/dist/membership/v1/generated/validators/cancellationRefundPreview.zod.d.ts +2 -0
  217. package/dist/membership/v1/generated/validators/cancellationRefundPreview.zod.js +4 -3
  218. package/dist/membership/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +1 -0
  219. package/dist/membership/v1/generated/validators/cancellationRefundPreviewItem.zod.js +1 -0
  220. package/dist/membership/v1/generated/validators/order.zod.d.ts +5 -3
  221. package/dist/membership/v1/generated/validators/orderItem.zod.d.ts +5 -3
  222. package/dist/membership/v1/generated/validators/orderItem.zod.js +10 -6
  223. package/dist/membership/v1/generated/validators/orderItemList.zod.d.ts +5 -3
  224. package/dist/membership/v1/generated/validators/orderList.zod.d.ts +5 -3
  225. package/dist/membership/v1/generated/validators/orderRefundQuote.zod.js +1 -1
  226. package/dist/membership/v1/generated/validators/price.zod.d.ts +4 -1
  227. package/dist/membership/v1/generated/validators/price.zod.js +10 -2
  228. package/dist/membership/v1/generated/validators/priceList.zod.d.ts +4 -1
  229. package/dist/membership/v1/generated/validators/quote.zod.d.ts +2 -0
  230. package/dist/membership/v1/generated/validators/quoteCancellation.zod.js +2 -2
  231. package/dist/membership/v1/generated/validators/quoteItemInput.zod.d.ts +1 -1
  232. package/dist/membership/v1/generated/validators/quoteItemInput.zod.js +2 -2
  233. package/dist/membership/v1/generated/validators/quoteRenewal.zod.d.ts +1 -1
  234. package/dist/membership/v1/generated/validators/quoteRenewal.zod.js +3 -3
  235. package/dist/membership/v1/generated/validators/quoteRequest.zod.d.ts +2 -2
  236. package/dist/membership/v1/generated/validators/refundPolicy.zod.d.ts +1 -0
  237. package/dist/membership/v1/generated/validators/refundPolicy.zod.js +2 -2
  238. package/dist/membership/v1/generated/validators/refundReason.zod.js +1 -1
  239. package/dist/membership/v1/generated/validators/renewRequest.zod.d.ts +1 -1
  240. package/dist/membership/v1/generated/validators/renewRequest.zod.js +3 -3
  241. package/dist/membership/v1/generated/validators/renewalOrderRequest.zod.d.ts +1 -1
  242. package/dist/membership/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
  243. package/dist/membership/v1/generated/validators/renewalPrice.zod.d.ts +4 -1
  244. package/dist/membership/v1/generated/validators/renewalPrice.zod.js +4 -2
  245. package/dist/membership/v1/generated/validators/renewalPriceList.zod.d.ts +4 -1
  246. package/dist/membership/v1/generated/validators/subscription.zod.d.ts +5 -1
  247. package/dist/membership/v1/generated/validators/subscription.zod.js +14 -2
  248. package/dist/membership/v1/generated/validators/subscriptionList.zod.d.ts +5 -1
  249. package/package.json +1 -1
@@ -57,14 +57,17 @@ export declare const PriceList: zod.ZodObject<{
57
57
  }, zod.z.core.$strict>>;
58
58
  unit_quantity: zod.ZodString;
59
59
  active: zod.ZodBoolean;
60
- termination_policy: zod.ZodOptional<zod.ZodEnum<{
60
+ cancellation_policy: zod.ZodOptional<zod.ZodEnum<{
61
61
  immediate: "immediate";
62
62
  period_end: "period_end";
63
63
  }>>;
64
64
  refund_policy: zod.ZodOptional<zod.ZodEnum<{
65
65
  none: "none";
66
66
  prorated: "prorated";
67
+ short_rate: "short_rate";
67
68
  }>>;
69
+ short_rate_multiplier: zod.ZodOptional<zod.ZodString>;
70
+ short_rate_threshold_seconds: zod.ZodOptional<zod.ZodInt>;
68
71
  product_id: zod.ZodOptional<zod.ZodString>;
69
72
  id: zod.ZodUUID;
70
73
  plan_id: zod.ZodUUID;
@@ -91,6 +91,7 @@ export declare const Quote5f60d00: zod.ZodObject<{
91
91
  proration_date: zod.ZodOptional<zod.z.ZodISODateTime>;
92
92
  currency: zod.ZodString;
93
93
  unused_amount: zod.ZodString;
94
+ short_rate_surcharge_amount: zod.ZodString;
94
95
  refundable_amount: zod.ZodString;
95
96
  refund_amount: zod.ZodString;
96
97
  credit_amount: zod.ZodString;
@@ -114,6 +115,7 @@ export declare const Quote5f60d00: zod.ZodObject<{
114
115
  }>;
115
116
  auto_renew: zod.ZodBoolean;
116
117
  unused_amount: zod.ZodString;
118
+ short_rate_surcharge_amount: zod.ZodString;
117
119
  refundable_amount: zod.ZodString;
118
120
  refund_amount: zod.ZodString;
119
121
  credit_amount: zod.ZodString;
@@ -91,6 +91,7 @@ export declare const QuoteA200529: zod.ZodObject<{
91
91
  proration_date: zod.ZodOptional<zod.z.ZodISODateTime>;
92
92
  currency: zod.ZodString;
93
93
  unused_amount: zod.ZodString;
94
+ short_rate_surcharge_amount: zod.ZodString;
94
95
  refundable_amount: zod.ZodString;
95
96
  refund_amount: zod.ZodString;
96
97
  credit_amount: zod.ZodString;
@@ -114,6 +115,7 @@ export declare const QuoteA200529: zod.ZodObject<{
114
115
  }>;
115
116
  auto_renew: zod.ZodBoolean;
116
117
  unused_amount: zod.ZodString;
118
+ short_rate_surcharge_amount: zod.ZodString;
117
119
  refundable_amount: zod.ZodString;
118
120
  refund_amount: zod.ZodString;
119
121
  credit_amount: zod.ZodString;
@@ -31,7 +31,7 @@
31
31
  * OpenAPI spec version: 1.0.0
32
32
  */
33
33
  import * as zod from "zod";
34
- import { TerminationPolicy } from "./terminationPolicy.zod.js";
34
+ import { CancellationPolicy } from "./cancellationPolicy.zod.js";
35
35
  export const quoteCancellationSubscriptionIdsMax = 50;
36
36
  export const QuoteCancellation = zod
37
37
  .strictObject({
@@ -40,6 +40,6 @@ export const QuoteCancellation = zod
40
40
  .min(1)
41
41
  .max(quoteCancellationSubscriptionIdsMax)
42
42
  .describe("The subscriptions to end together, all of one service, including every subscription released with a resource."),
43
- mode: TerminationPolicy,
43
+ mode: CancellationPolicy,
44
44
  })
45
45
  .describe("A cancellation to quote: what ending these subscriptions together would return, for one mode; quote `immediate` and `period_end` separately to compare. Refused with 409 `BILLING_SUBSCRIPTION_OPERATION_PENDING` when a subscription is already being canceled (`meta.cancellation_id`), is being reclaimed (`meta.reason` `reclaim_requested`) or has a paid change waiting to switch (`meta.order_id`).");
@@ -56,7 +56,7 @@ export declare const QuoteItemInput: zod.ZodObject<{
56
56
  year: "year";
57
57
  }>>;
58
58
  interval_count: zod.ZodOptional<zod.ZodInt>;
59
- termination_policy: zod.ZodOptional<zod.ZodEnum<{
59
+ cancellation_policy: zod.ZodOptional<zod.ZodEnum<{
60
60
  immediate: "immediate";
61
61
  period_end: "period_end";
62
62
  }>>;
@@ -31,9 +31,9 @@
31
31
  * OpenAPI spec version: 1.0.0
32
32
  */
33
33
  import * as zod from "zod";
34
+ import { CancellationPolicy } from "./cancellationPolicy.zod.js";
34
35
  import { PriceType } from "./priceType.zod.js";
35
36
  import { ProductID } from "./productID.zod.js";
36
- import { TerminationPolicy } from "./terminationPolicy.zod.js";
37
37
  import { UsageType } from "./usageType.zod.js";
38
38
  export const quoteItemInputPriceLookupKeyMax = 128;
39
39
  export const quoteItemInputPlanLookupKeyMax = 128;
@@ -50,7 +50,7 @@ export const QuoteItemInput = zod
50
50
  usage_type: UsageType.optional().describe("Narrows the selection when a plan offers more than one usage type."),
51
51
  interval: zod.enum(["none", "day", "month", "year"]).optional(),
52
52
  interval_count: zod.int().min(1).optional(),
53
- termination_policy: TerminationPolicy.optional().describe("Selects among licensed prices with otherwise identical billing terms. Ambiguous terms are refused instead of choosing a price arbitrarily."),
53
+ cancellation_policy: CancellationPolicy.optional().describe("Selects among licensed prices with otherwise identical billing terms. Ambiguous terms are refused instead of choosing a price arbitrarily."),
54
54
  quantity: zod.string().regex(quoteItemInputQuantityRegExp),
55
55
  meter_id: zod.uuid().optional(),
56
56
  meter_lookup_key: zod.string().min(1).max(quoteItemInputMeterLookupKeyMax).optional(),
@@ -42,7 +42,7 @@ export declare const QuoteRenewal: zod.ZodObject<{
42
42
  year: "year";
43
43
  }>>;
44
44
  interval_count: zod.ZodOptional<zod.ZodInt>;
45
- termination_policy: zod.ZodOptional<zod.ZodEnum<{
45
+ cancellation_policy: zod.ZodOptional<zod.ZodEnum<{
46
46
  immediate: "immediate";
47
47
  period_end: "period_end";
48
48
  }>>;
@@ -31,7 +31,7 @@
31
31
  * OpenAPI spec version: 1.0.0
32
32
  */
33
33
  import * as zod from "zod";
34
- import { TerminationPolicy } from "./terminationPolicy.zod.js";
34
+ import { CancellationPolicy } from "./cancellationPolicy.zod.js";
35
35
  export const quoteRenewalPeriodsDefault = 1;
36
36
  export const quoteRenewalPeriodsMax = 100;
37
37
  export const QuoteRenewal = zod
@@ -40,7 +40,7 @@ export const QuoteRenewal = zod
40
40
  price_id: zod.uuid().optional(),
41
41
  interval: zod.enum(["day", "month", "year"]).optional(),
42
42
  interval_count: zod.int().min(1).optional(),
43
- termination_policy: TerminationPolicy.optional().describe("With `interval` and `interval_count`, chooses among prices of that term that differ in termination policy."),
43
+ cancellation_policy: CancellationPolicy.optional().describe("With `interval` and `interval_count`, chooses among prices of that term that differ in cancellation policy."),
44
44
  periods: zod
45
45
  .int()
46
46
  .min(1)
@@ -48,4 +48,4 @@ export const QuoteRenewal = zod
48
48
  .default(quoteRenewalPeriodsDefault)
49
49
  .describe("How many consecutive periods to renew for."),
50
50
  })
51
- .describe("Price renewing a licensed subscription. Give `price_id`, or `interval` with\n`interval_count`, to renew for another term at the price currently sold for it. Naming\nthe current term, or giving neither, renews at the agreed amount. A term sold at several\nprices that differ in termination policy is refused with 409\n`BILLING_RENEWAL_OPTION_AMBIGUOUS` unless `termination_policy` or `price_id` is given.");
51
+ .describe("Price renewing a licensed subscription. Give `price_id`, or `interval` with\n`interval_count`, to renew for another term at the price currently sold for it. Naming\nthe current term, or giving neither, renews at the agreed amount. A term sold at several\nprices that differ in cancellation policy is refused with 409\n`BILLING_RENEWAL_OPTION_AMBIGUOUS` unless `cancellation_policy` or `price_id` is given.");
@@ -57,7 +57,7 @@ export declare const QuoteRequest: zod.ZodObject<{
57
57
  year: "year";
58
58
  }>>;
59
59
  interval_count: zod.ZodOptional<zod.ZodInt>;
60
- termination_policy: zod.ZodOptional<zod.ZodEnum<{
60
+ cancellation_policy: zod.ZodOptional<zod.ZodEnum<{
61
61
  immediate: "immediate";
62
62
  period_end: "period_end";
63
63
  }>>;
@@ -77,7 +77,7 @@ export declare const QuoteRequest: zod.ZodObject<{
77
77
  year: "year";
78
78
  }>>;
79
79
  interval_count: zod.ZodOptional<zod.ZodInt>;
80
- termination_policy: zod.ZodOptional<zod.ZodEnum<{
80
+ cancellation_policy: zod.ZodOptional<zod.ZodEnum<{
81
81
  immediate: "immediate";
82
82
  period_end: "period_end";
83
83
  }>>;
@@ -34,6 +34,7 @@ import * as zod from "zod";
34
34
  export declare const RefundPolicy: zod.ZodEnum<{
35
35
  none: "none";
36
36
  prorated: "prorated";
37
+ short_rate: "short_rate";
37
38
  }>;
38
39
  export type RefundPolicy = zod.input<typeof RefundPolicy>;
39
40
  export type RefundPolicyOutput = zod.output<typeof RefundPolicy>;
@@ -32,5 +32,5 @@
32
32
  */
33
33
  import * as zod from "zod";
34
34
  export const RefundPolicy = zod
35
- .enum(["none", "prorated"])
36
- .describe("`none` refunds nothing. `prorated` refunds the amount paid for the current period minus the value of the time used, never below zero or above what remains unrefunded. Time used runs from the period start to the effective cancellation and is valued at prices frozen on the order item: each full calendar month at `refund_monthly_amount`, the rest at `refund_hourly_amount` or, without it, at the monthly price by the second. When the plan has no licensed period shorter than the one bought, time used is valued pro rata at the price paid. Discounts and setup fees are not refunded. Refunds return to the original payment sources, with tax refunded in proportion.");
35
+ .enum(["none", "prorated", "short_rate"])
36
+ .describe("`none` refunds nothing.\n\n`prorated` refunds the amount paid for the current period minus the value of the time used, never below zero\nor above what remains unrefunded. Time used runs from the period start to the effective cancellation, by the\nsecond. Each whole month from the period start is valued at the order item's `monthly_list_amount`, and the\nremainder at that amount in proportion to the length of the month it falls in; without `monthly_list_amount`,\ntime used is valued at the amount paid in proportion to the length of the period. A renewal starts a new\nperiod, and an immediate change starts one at the change. Discounts and setup fees are not refunded. Refunds\nreturn to the original payment sources, with tax refunded in proportion.\n\n`short_rate` refunds as `prorated`, except that when the cancellation takes effect less than\n`short_rate_threshold_seconds` after the period start, the value of the time used is multiplied by\n`short_rate_multiplier`, up to `monthly_list_amount` for each month begun or, without `monthly_list_amount`,\nup to the amount paid.");
@@ -45,4 +45,4 @@ export const RefundReason = zod
45
45
  "payment_not_applied",
46
46
  "operator",
47
47
  ])
48
- .describe("Why the refund was made. New codes may be added; treat an unknown code as unspecified.\n\n- `provisioning_failed`: the purchase could not be delivered.\n- `order_expired`: the order expired after part of it was paid.\n- `order_canceled`: the order was canceled after part of it was paid.\n- `change_canceled`: a scheduled change was withdrawn after part of it was paid.\n- `change_expired`: a scheduled change could not take effect in time.\n- `subscription_canceled`: the unused value of a canceled subscription, under its refund terms.\n- `future_period_canceled`: a renewal that had not started was withdrawn.\n- `downgrade_difference`: after a downgrade, the remaining paid value, valued as refund policy `prorated`\n describes, minus the new configuration's cost for the remaining time at the change item's\n `refund_monthly_amount` and `refund_hourly_amount`.\n- `usage_true_up`: usage priced over the whole month cost less than was charged.\n- `payment_not_applied`: a payment arrived after its invoice could no longer be paid.\n- `operator`: made by the platform operator.");
48
+ .describe("Why the refund was made. New codes may be added; treat an unknown code as unspecified.\n\n- `provisioning_failed`: the purchase could not be delivered.\n- `order_expired`: the order expired after part of it was paid.\n- `order_canceled`: the order was canceled after part of it was paid.\n- `change_canceled`: a scheduled change was withdrawn after part of it was paid.\n- `change_expired`: a scheduled change could not take effect in time.\n- `subscription_canceled`: the unused value of a canceled subscription, under its refund terms.\n- `future_period_canceled`: a renewal that had not started was withdrawn.\n- `downgrade_difference`: after a downgrade, the remaining paid value, valued under each paid period's refund\n policy and as `prorated` where that policy is `none`, minus the new configuration's value for the remaining\n time: each whole month at the change item's `monthly_list_amount` and the remainder in proportion to the\n length of the month it falls in, or without `monthly_list_amount`, the new period price in proportion to the\n remaining time.\n- `usage_true_up`: usage priced over the whole month cost less than was charged.\n- `payment_not_applied`: a payment arrived after its invoice could no longer be paid.\n- `operator`: made by the platform operator.");
@@ -43,7 +43,7 @@ export declare const RenewRequest: zod.ZodObject<{
43
43
  month: "month";
44
44
  year: "year";
45
45
  }>>;
46
- termination_policy: zod.ZodOptional<zod.ZodEnum<{
46
+ cancellation_policy: zod.ZodOptional<zod.ZodEnum<{
47
47
  immediate: "immediate";
48
48
  period_end: "period_end";
49
49
  }>>;
@@ -31,7 +31,7 @@
31
31
  * OpenAPI spec version: 1.0.0
32
32
  */
33
33
  import * as zod from "zod";
34
- import { TerminationPolicy } from "./terminationPolicy.zod.js";
34
+ import { CancellationPolicy } from "./cancellationPolicy.zod.js";
35
35
  export const renewRequestPeriodsDefault = 1;
36
36
  export const renewRequestUseBalanceDefault = true;
37
37
  export const renewRequestUseCreditsDefault = true;
@@ -48,12 +48,12 @@ export const RenewRequest = zod.strictObject({
48
48
  .int()
49
49
  .min(1)
50
50
  .optional()
51
- .describe("Renew for a term of this length instead, at the price currently sold for it. Give\n`interval` with it.\n\nLeaving both out renews at the price this item already bills at, which a later price\nchange does not affect. Naming a term that differs from the current one is a fresh\nchoice, so it is bought at today's price. Naming the current term changes nothing. A\nterm sold at several prices that differ in termination policy is refused with 409\n`BILLING_RENEWAL_OPTION_AMBIGUOUS` unless `termination_policy` is given.\n\nList the terms on offer with the renewal prices operation."),
51
+ .describe("Renew for a term of this length instead, at the price currently sold for it. Give\n`interval` with it.\n\nLeaving both out renews at the price this item already bills at, which a later price\nchange does not affect. Naming a term that differs from the current one is a fresh\nchoice, so it is bought at today's price. Naming the current term changes nothing. A\nterm sold at several prices that differ in cancellation policy is refused with 409\n`BILLING_RENEWAL_OPTION_AMBIGUOUS` unless `cancellation_policy` is given.\n\nList the terms on offer with the renewal prices operation."),
52
52
  interval: zod
53
53
  .enum(["day", "month", "year"])
54
54
  .optional()
55
55
  .describe("The unit interval_count counts in."),
56
- termination_policy: TerminationPolicy.optional().describe("With `interval` and `interval_count`, chooses among prices of that term that differ in termination policy."),
56
+ cancellation_policy: CancellationPolicy.optional().describe("With `interval` and `interval_count`, chooses among prices of that term that differ in cancellation policy."),
57
57
  payment_method_id: zod.uuid().optional(),
58
58
  use_balance: zod
59
59
  .boolean()
@@ -41,7 +41,7 @@ export declare const RenewalOrderRequest: zod.ZodObject<{
41
41
  month: "month";
42
42
  year: "year";
43
43
  }>>;
44
- termination_policy: zod.ZodOptional<zod.ZodEnum<{
44
+ cancellation_policy: zod.ZodOptional<zod.ZodEnum<{
45
45
  immediate: "immediate";
46
46
  period_end: "period_end";
47
47
  }>>;
@@ -31,7 +31,7 @@
31
31
  * OpenAPI spec version: 1.0.0
32
32
  */
33
33
  import * as zod from "zod";
34
- import { TerminationPolicy } from "./terminationPolicy.zod.js";
34
+ import { CancellationPolicy } from "./cancellationPolicy.zod.js";
35
35
  export const renewalOrderRequestPeriodsDefault = 1;
36
36
  export const RenewalOrderRequest = zod
37
37
  .strictObject({
@@ -45,6 +45,6 @@ export const RenewalOrderRequest = zod
45
45
  .describe("As in renewing."),
46
46
  interval_count: zod.int().min(1).optional().describe("As in renewing."),
47
47
  interval: zod.enum(["day", "month", "year"]).optional().describe("As in renewing."),
48
- termination_policy: TerminationPolicy.optional().describe("As in renewing."),
48
+ cancellation_policy: CancellationPolicy.optional().describe("As in renewing."),
49
49
  })
50
50
  .describe("The renewal's periods and price, chosen as in renewing.");
@@ -32,14 +32,17 @@
32
32
  */
33
33
  import * as zod from "zod";
34
34
  export declare const RenewalPrice: zod.ZodObject<{
35
- termination_policy: zod.ZodOptional<zod.ZodEnum<{
35
+ cancellation_policy: zod.ZodOptional<zod.ZodEnum<{
36
36
  immediate: "immediate";
37
37
  period_end: "period_end";
38
38
  }>>;
39
39
  refund_policy: zod.ZodOptional<zod.ZodEnum<{
40
40
  none: "none";
41
41
  prorated: "prorated";
42
+ short_rate: "short_rate";
42
43
  }>>;
44
+ short_rate_multiplier: zod.ZodOptional<zod.ZodString>;
45
+ short_rate_threshold_seconds: zod.ZodOptional<zod.ZodInt>;
43
46
  price_id: zod.ZodUUID;
44
47
  interval_count: zod.ZodInt;
45
48
  interval: zod.ZodEnum<{
@@ -31,12 +31,14 @@
31
31
  * OpenAPI spec version: 1.0.0
32
32
  */
33
33
  import * as zod from "zod";
34
+ import { CancellationPolicy } from "./cancellationPolicy.zod.js";
34
35
  import { Money } from "./money.zod.js";
35
36
  import { RefundPolicy } from "./refundPolicy.zod.js";
36
- import { TerminationPolicy } from "./terminationPolicy.zod.js";
37
37
  export const RenewalPrice = zod.strictObject({
38
- termination_policy: TerminationPolicy.optional(),
38
+ cancellation_policy: CancellationPolicy.optional(),
39
39
  refund_policy: RefundPolicy.optional(),
40
+ short_rate_multiplier: zod.string().optional().describe("Refund policy `short_rate` only."),
41
+ short_rate_threshold_seconds: zod.int().optional().describe("Refund policy `short_rate` only."),
40
42
  price_id: zod.uuid(),
41
43
  interval_count: zod.int().describe("How many periods one renewal covers."),
42
44
  interval: zod.enum(["day", "month", "year"]),
@@ -33,14 +33,17 @@
33
33
  import * as zod from "zod";
34
34
  export declare const RenewalPriceList: zod.ZodObject<{
35
35
  items: zod.ZodArray<zod.ZodObject<{
36
- termination_policy: zod.ZodOptional<zod.ZodEnum<{
36
+ cancellation_policy: zod.ZodOptional<zod.ZodEnum<{
37
37
  immediate: "immediate";
38
38
  period_end: "period_end";
39
39
  }>>;
40
40
  refund_policy: zod.ZodOptional<zod.ZodEnum<{
41
41
  none: "none";
42
42
  prorated: "prorated";
43
+ short_rate: "short_rate";
43
44
  }>>;
45
+ short_rate_multiplier: zod.ZodOptional<zod.ZodString>;
46
+ short_rate_threshold_seconds: zod.ZodOptional<zod.ZodInt>;
44
47
  price_id: zod.ZodUUID;
45
48
  interval_count: zod.ZodInt;
46
49
  interval: zod.ZodEnum<{
@@ -52,14 +52,18 @@ export declare const Subscription: zod.ZodObject<{
52
52
  }>;
53
53
  interval_count: zod.ZodOptional<zod.ZodInt>;
54
54
  recurring_amount: zod.ZodOptional<zod.ZodString>;
55
- termination_policy: zod.ZodOptional<zod.ZodEnum<{
55
+ cancellation_policy: zod.ZodOptional<zod.ZodEnum<{
56
56
  immediate: "immediate";
57
57
  period_end: "period_end";
58
58
  }>>;
59
59
  refund_policy: zod.ZodOptional<zod.ZodEnum<{
60
60
  none: "none";
61
61
  prorated: "prorated";
62
+ short_rate: "short_rate";
62
63
  }>>;
64
+ short_rate_multiplier: zod.ZodOptional<zod.ZodString>;
65
+ short_rate_threshold_seconds: zod.ZodOptional<zod.ZodInt>;
66
+ monthly_list_amount: zod.ZodOptional<zod.ZodString>;
63
67
  order_item_id: zod.ZodOptional<zod.ZodUUID>;
64
68
  coupon_id: zod.ZodOptional<zod.ZodUUID>;
65
69
  coupon: zod.ZodOptional<zod.ZodObject<{
@@ -32,6 +32,7 @@
32
32
  */
33
33
  import * as zod from "zod";
34
34
  import { AccountIdentity } from "./accountIdentity.zod.js";
35
+ import { CancellationPolicy } from "./cancellationPolicy.zod.js";
35
36
  import { NamedIdentity } from "./namedIdentity.zod.js";
36
37
  import { ObjectIdentity } from "./objectIdentity.zod.js";
37
38
  import { PriceType } from "./priceType.zod.js";
@@ -41,7 +42,6 @@ import { RefundPolicy } from "./refundPolicy.zod.js";
41
42
  import { ScheduledChange } from "./scheduledChange.zod.js";
42
43
  import { SubscriptionCancellation } from "./subscriptionCancellation.zod.js";
43
44
  import { SubscriptionRestriction } from "./subscriptionRestriction.zod.js";
44
- import { TerminationPolicy } from "./terminationPolicy.zod.js";
45
45
  import { UsageType } from "./usageType.zod.js";
46
46
  export const subscriptionDiscountedRenewalsRemainingMin = 0;
47
47
  export const Subscription = zod
@@ -62,8 +62,20 @@ export const Subscription = zod
62
62
  .string()
63
63
  .optional()
64
64
  .describe("The whole licensed subscription's renewal amount, after continuing discounts and before tax. A pending subscription shows base terms until paying the order fixes any new discount. Absent for metered and one-time subscriptions."),
65
- termination_policy: TerminationPolicy.optional(),
65
+ cancellation_policy: CancellationPolicy.optional(),
66
66
  refund_policy: RefundPolicy.optional(),
67
+ short_rate_multiplier: zod
68
+ .string()
69
+ .optional()
70
+ .describe("Refund policy `short_rate` only, as on the price bought."),
71
+ short_rate_threshold_seconds: zod
72
+ .int()
73
+ .optional()
74
+ .describe("Refund policy `short_rate` only, as on the price bought."),
75
+ monthly_list_amount: zod
76
+ .string()
77
+ .optional()
78
+ .describe("Licensed recurring only, the `monthly_list_amount` that a renewal at the agreed amount keeps; see the order item."),
67
79
  order_item_id: zod.uuid().optional(),
68
80
  coupon_id: zod.uuid().optional(),
69
81
  coupon: ObjectIdentity.optional(),
@@ -52,14 +52,18 @@ export declare const SubscriptionList: zod.ZodObject<{
52
52
  }>;
53
53
  interval_count: zod.ZodOptional<zod.ZodInt>;
54
54
  recurring_amount: zod.ZodOptional<zod.ZodString>;
55
- termination_policy: zod.ZodOptional<zod.ZodEnum<{
55
+ cancellation_policy: zod.ZodOptional<zod.ZodEnum<{
56
56
  immediate: "immediate";
57
57
  period_end: "period_end";
58
58
  }>>;
59
59
  refund_policy: zod.ZodOptional<zod.ZodEnum<{
60
60
  none: "none";
61
61
  prorated: "prorated";
62
+ short_rate: "short_rate";
62
63
  }>>;
64
+ short_rate_multiplier: zod.ZodOptional<zod.ZodString>;
65
+ short_rate_threshold_seconds: zod.ZodOptional<zod.ZodInt>;
66
+ monthly_list_amount: zod.ZodOptional<zod.ZodString>;
63
67
  order_item_id: zod.ZodOptional<zod.ZodUUID>;
64
68
  coupon_id: zod.ZodOptional<zod.ZodUUID>;
65
69
  coupon: zod.ZodOptional<zod.ZodObject<{
@@ -128,7 +128,8 @@ export declare const getSetProjectSlugUrl: () => string;
128
128
  * - 422 `PROJECT_SLUG_RESERVED` when the name is reserved;
129
129
  * - 409 `PROJECT_SLUG_TAKEN` when another project, including a deleted one, holds it;
130
130
  * - 412 `PROJECT_SLUG_ALREADY_SET` when the project already holds a different custom slug;
131
- * - 403 `PROJECT_PERMISSION_DENIED` when the caller is not the owner.
131
+ * - 403 `PROJECT_PERMISSION_DENIED` when the caller is not the owner;
132
+ * - 429 `PROJECT_SLUG_CLAIM_RATE_LIMITED` when the caller has attempted to set custom slugs too often. Attempts count whether or not they succeed, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
132
133
  * @summary Set the custom slug of a project
133
134
  */
134
135
  export declare const setProjectSlug: (setProjectSlugRequestBody: SetProjectSlugRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<setProjectSlugResponse>;
@@ -91,7 +91,8 @@ export const getSetProjectSlugUrl = () => {
91
91
  * - 422 `PROJECT_SLUG_RESERVED` when the name is reserved;
92
92
  * - 409 `PROJECT_SLUG_TAKEN` when another project, including a deleted one, holds it;
93
93
  * - 412 `PROJECT_SLUG_ALREADY_SET` when the project already holds a different custom slug;
94
- * - 403 `PROJECT_PERMISSION_DENIED` when the caller is not the owner.
94
+ * - 403 `PROJECT_PERMISSION_DENIED` when the caller is not the owner;
95
+ * - 429 `PROJECT_SLUG_CLAIM_RATE_LIMITED` when the caller has attempted to set custom slugs too often. Attempts count whether or not they succeed, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
95
96
  * @summary Set the custom slug of a project
96
97
  */
97
98
  export const setProjectSlug = async (setProjectSlugRequestBody, options, fetchFn) => {
@@ -30,7 +30,8 @@ export declare const UpdateProjectBody: zod.ZodObject<{
30
30
  * - 422 `PROJECT_SLUG_RESERVED` when the name is reserved;
31
31
  * - 409 `PROJECT_SLUG_TAKEN` when another project, including a deleted one, holds it;
32
32
  * - 412 `PROJECT_SLUG_ALREADY_SET` when the project already holds a different custom slug;
33
- * - 403 `PROJECT_PERMISSION_DENIED` when the caller is not the owner.
33
+ * - 403 `PROJECT_PERMISSION_DENIED` when the caller is not the owner;
34
+ * - 429 `PROJECT_SLUG_CLAIM_RATE_LIMITED` when the caller has attempted to set custom slugs too often. Attempts count whether or not they succeed, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
34
35
  * @summary Set the custom slug of a project
35
36
  */
36
37
  export declare const SetProjectSlugBody: zod.ZodObject<{
@@ -40,7 +40,8 @@ export const UpdateProjectBody = UpdateProjectRequestBody;
40
40
  * - 422 `PROJECT_SLUG_RESERVED` when the name is reserved;
41
41
  * - 409 `PROJECT_SLUG_TAKEN` when another project, including a deleted one, holds it;
42
42
  * - 412 `PROJECT_SLUG_ALREADY_SET` when the project already holds a different custom slug;
43
- * - 403 `PROJECT_PERMISSION_DENIED` when the caller is not the owner.
43
+ * - 403 `PROJECT_PERMISSION_DENIED` when the caller is not the owner;
44
+ * - 429 `PROJECT_SLUG_CLAIM_RATE_LIMITED` when the caller has attempted to set custom slugs too often. Attempts count whether or not they succeed, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
44
45
  * @summary Set the custom slug of a project
45
46
  */
46
47
  export const SetProjectSlugBody = SetProjectSlugRequestBody;