@solvimon/solvimon-web 0.1.0-alpha.25 → 0.1.0-alpha.27

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 (302) hide show
  1. package/README.md +16 -11
  2. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-BM1_31Tl.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-081H9T3X.js} +1 -1
  3. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Dh_a0NRB.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DNepCMRp.mjs} +6 -6
  4. package/dist/{Avatar.vue.es-CvxRdCes.js → Avatar.vue.es-BJxSCU76.js} +1 -1
  5. package/dist/{Avatar.vue.es-C9Jkfuvp.mjs → Avatar.vue.es-sfMZiX7A.mjs} +1 -1
  6. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BV5iEOxn.js +1 -0
  7. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BRSUpMPU.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-DmY3a-Wi.mjs} +15 -16
  8. package/dist/{Button.vue.es-CeUTAc2n.js → Button.vue.es-BzkuglKw.js} +1 -1
  9. package/dist/{Button.vue.es-BbSN0uOk.mjs → Button.vue.es-Cmjfm4jw.mjs} +1 -1
  10. package/dist/ChargeOnDemandModal-CB4mrvkU.mjs +975 -0
  11. package/dist/ChargeOnDemandModal-b17YswWA.js +1 -0
  12. package/dist/Checkout.entry.ce-HlUrJ1kh.js +2 -0
  13. package/dist/Checkout.entry.ce-X2zGo6hG.mjs +4381 -0
  14. package/dist/{Chip.vue.es-BN83K3Tk.js → Chip.vue.es-B2jjzIOc.js} +1 -1
  15. package/dist/{Chip.vue.es-T22Q7AF9.mjs → Chip.vue.es-DksjbJO8.mjs} +2 -2
  16. package/dist/{ContextMenu.vue.es-DXKR7WFg.js → ContextMenu.vue.es-DUU43tCy.js} +1 -1
  17. package/dist/{ContextMenu.vue.es-0PRmCAzL.mjs → ContextMenu.vue.es-zRvoEJlV.mjs} +10 -10
  18. package/dist/{CustomerBillingInformation.vue.es-yrLGc7oL.js → CustomerBillingInformation.vue.es-BfPEB42w.js} +1 -1
  19. package/dist/{CustomerBillingInformation.vue.es-C2j40TYP.mjs → CustomerBillingInformation.vue.es-DhFbpZPK.mjs} +2 -2
  20. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BZwGWhaL.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B41la-T7.mjs} +14 -15
  21. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C8diNL5x.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BISD6n8X.js} +1 -1
  22. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-xqMsbuU6.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DssxYPSA.mjs} +895 -891
  23. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-XufY6bdV.js +1 -0
  24. package/dist/{DividerText.vue.es-DsYRZzuE.js → DividerText.vue.es-CoyDk9eH.js} +1 -1
  25. package/dist/{DividerText.vue.es-CV1XK_Vz.mjs → DividerText.vue.es-nAo1eRMV.mjs} +1 -1
  26. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-srXOpUb0.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CQ0KrXHJ.js} +1 -1
  27. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-kpjrC-4q.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-QW9NdxyZ.mjs} +4 -4
  28. package/dist/{ErrorNotification.vue.es-CiUJva6S.mjs → ErrorNotification.vue.es-h-D37rfG.mjs} +1 -1
  29. package/dist/{ErrorNotification.vue.es-QfRoDhkn.js → ErrorNotification.vue.es-tS9vySUZ.js} +1 -1
  30. package/dist/{IconButton.vue.es-CytBZUkZ.js → IconButton.vue.es-DgQN18Am.js} +1 -1
  31. package/dist/{IconButton.vue.es-ChvsCZQG.mjs → IconButton.vue.es-DvfErUOq.mjs} +2 -2
  32. package/dist/{IconTitle.vue.es-DPruIJ6l.mjs → IconTitle.vue.es-B_8bS0tn.mjs} +3 -3
  33. package/dist/{IconTitle.vue.es-DtnpBObk.js → IconTitle.vue.es-Dn2xcPHj.js} +1 -1
  34. package/dist/{Input.vue.es-BkzQDkrz.js → Input.vue.es-B60eK8Ds.js} +1 -1
  35. package/dist/{Input.vue.es-DJQqJrsb.mjs → Input.vue.es-CU9u5yKH.mjs} +2 -2
  36. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Do0dDtkA.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js} +1 -1
  37. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BC-zyUqe.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-gpMtYNzn.mjs} +2 -2
  38. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DQFS7SfE.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js} +1 -1
  39. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-CFhhhwId.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DNqawlYV.mjs} +2 -2
  40. package/dist/InvoiceSummary.vue.es-CAmA8g0t.js +1 -0
  41. package/dist/{InvoiceSummary.vue.es-6qpbyymg.mjs → InvoiceSummary.vue.es-CRiFJ5x-.mjs} +576 -565
  42. package/dist/{Modal.vue.es-BuRlbyZw.mjs → Modal.vue.es-BeI5C9-9.mjs} +5 -5
  43. package/dist/{Modal.vue.es-JpE0eh_Q.js → Modal.vue.es-DvLB3uCG.js} +1 -1
  44. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-nAuhIopc.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dg4rn1cm.js} +1 -1
  45. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-UmKgVvdj.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs} +5 -6
  46. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-YpcWHm24.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-B9R5JRJv.js} +1 -1
  47. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DggCusgC.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DlqoWKQq.mjs} +3 -3
  48. package/dist/{PaymentHistoryBlock-uWuWjr8I.js → PaymentHistoryBlock-Uw8xeKUk.js} +1 -1
  49. package/dist/{PaymentHistoryBlock-DnmParhQ.mjs → PaymentHistoryBlock-mCqdFjnL.mjs} +1 -1
  50. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BS8N4yt9.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-ALI5f0py.js} +1 -1
  51. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BziIf86i.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DxaY3eFN.mjs} +4 -4
  52. package/dist/{PaymentIntegrationForm-DTXm56QQ.js → PaymentIntegrationForm-Cx0zCf_C.js} +1 -1
  53. package/dist/{PaymentIntegrationForm-DL55i0HD.mjs → PaymentIntegrationForm-DVx4DEtD.mjs} +1 -1
  54. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B-viSd_i.js +1 -0
  55. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCKCXXZX.mjs +154 -0
  56. package/dist/PaymentIntegrationFormAdyen-B-v-4nlj.js +98 -0
  57. package/dist/{PaymentIntegrationFormAdyen-Cqsy82To.mjs → PaymentIntegrationFormAdyen-Yr8p5Fly.mjs} +202 -192
  58. package/dist/PaymentIntegrationFormStripe-CoLmAzas.js +102 -0
  59. package/dist/{PaymentIntegrationFormStripe-DIU1rnwH.mjs → PaymentIntegrationFormStripe-Ds0BXt89.mjs} +247 -220
  60. package/dist/{PaymentMethod.vue.es-m1NasGqw.mjs → PaymentMethod.vue.es-4YRmQZHX.mjs} +168 -148
  61. package/dist/PaymentMethod.vue.es-D0D9jW8s.js +1 -0
  62. package/dist/{PaymentMethodForm-BEVdWCrH.js → PaymentMethodForm-CMP5FLRO.js} +1 -1
  63. package/dist/{PaymentMethodForm-BYzt1PVP.mjs → PaymentMethodForm-Dnj_7mJU.mjs} +1 -1
  64. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-fdRTp7sc.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-DsD3UjkC.mjs} +60 -58
  65. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-nxnGyJmE.js +1 -0
  66. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-FhMBZqtI.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIrrQUS6.js} +1 -1
  67. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-FChyZp2v.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CjECKNi_.mjs} +6 -6
  68. package/dist/PlanCustomizationEditor-DS1r2vBO.js +1 -0
  69. package/dist/PlanCustomizationEditor-DlVSCKGN.mjs +722 -0
  70. package/dist/{PricingGroupRangeInput.vue.es-B4ZbKxUw.mjs → PricingGroupRangeInput.vue.es-BhNcjD7z.mjs} +4 -4
  71. package/dist/{PricingGroupRangeInput.vue.es-Ba3v0J_R.js → PricingGroupRangeInput.vue.es-VoOTnHjk.js} +1 -1
  72. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CmJITenR.mjs +141 -0
  73. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-hS6A-KcP.js +1 -0
  74. package/dist/{RadioGroupExtended.vue.es-CkhBp9kI.mjs → RadioGroupExtended.vue.es-9YzXzZF0.mjs} +2 -2
  75. package/dist/{RadioGroupExtended.vue.es-CHrcqSRq.js → RadioGroupExtended.vue.es-DlbURHQN.js} +1 -1
  76. package/dist/{Section.vue.es-CSrVPlUK.js → Section.vue.es-Bbt0RITt.js} +1 -1
  77. package/dist/{Section.vue.es-D5svcVS_.mjs → Section.vue.es-DVEpre9O.mjs} +1 -1
  78. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BqOSBdFQ.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Dl7MbMlk.js} +1 -1
  79. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BM9Y4Cy3.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xzjqB-v-.mjs} +6 -6
  80. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs +41 -0
  81. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js +1 -0
  82. package/dist/StepInput.vue.es-H-3R4jJq.js +1 -0
  83. package/dist/StepInput.vue.es-o-3Lg4Ai.mjs +199 -0
  84. package/dist/SubscriptionDetails.entry.ce-CGl6Z5ql.mjs +1057 -0
  85. package/dist/SubscriptionDetails.entry.ce-CQUO_uXH.js +1 -0
  86. package/dist/{SubscriptionSchedules-yDcsD1hd.mjs → SubscriptionSchedules-DuWZmnD2.mjs} +1 -1
  87. package/dist/{SubscriptionSchedules-CMVoB2bw.js → SubscriptionSchedules-Dy0fUgx5.js} +1 -1
  88. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DZHsQImd.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C1kTiW-H.mjs} +2284 -2341
  89. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dd_Rr6qn.js +1 -0
  90. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-BgXZMihr.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CYyP4ra9.js} +1 -1
  91. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-BmNl5u8R.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CsekphtV.mjs} +3 -3
  92. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DOJ0t_fo.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-B4j8Clbj.js} +1 -1
  93. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BUzdZHah.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BsdevoeT.mjs} +9 -10
  94. package/dist/{TooltipParagraph.vue.es-CxdL8-B7.mjs → TooltipParagraph.vue.es-B9A17aG7.mjs} +3 -3
  95. package/dist/TooltipParagraph.vue.es-DvC5Wjaz.js +1 -0
  96. package/dist/{TrialChip.vue.es-BCc8q5j0.js → TrialChip.vue.es-CLQZ5F0n.js} +1 -1
  97. package/dist/{TrialChip.vue.es-BK7m7e7q.mjs → TrialChip.vue.es-Dmv3lPiQ.mjs} +2 -2
  98. package/dist/{cn.es-71nFUose.js → cn.es-C9Yqq4tg.js} +1 -1
  99. package/dist/{cn.es-ZXNzpauQ.mjs → cn.es-Cvt6TIwv.mjs} +2 -2
  100. package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
  101. package/dist/components/BillingInformation/BillingInformation.mjs +4 -4
  102. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
  103. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +246 -230
  104. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
  105. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
  106. package/dist/components/Invoice/Invoice.cjs +1 -1
  107. package/dist/components/Invoice/Invoice.mjs +201 -212
  108. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
  109. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +15 -16
  110. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
  111. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
  112. package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
  113. package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
  114. package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
  115. package/dist/components/PaymentHistory/PaymentHistory.mjs +14 -15
  116. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
  117. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
  118. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
  119. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +4 -4
  120. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
  121. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
  122. package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
  123. package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
  124. package/dist/{customElements-q_i9y0Ph.mjs → customElements-B58FcXIN.mjs} +231 -196
  125. package/dist/{customElements-hH6pju3X.js → customElements-DUMRMFQ5.js} +36 -32
  126. package/dist/{customer-BDoOIAFr.mjs → customer-B3LPAhaD.mjs} +4 -4
  127. package/dist/{customer-C9q6ti8s.js → customer-CisTPaXj.js} +1 -1
  128. package/dist/{de-DE-BSlbAnPE.js → de-DE-B4TUdnUf.js} +1 -1
  129. package/dist/{de-DE-B_ik9VNt.mjs → de-DE-DKp5LCu0.mjs} +53 -7
  130. package/dist/de-DE-DL74pMLb.js +1 -0
  131. package/dist/{de-DE-DXsG-vXA.mjs → de-DE-jkW2dJrX.mjs} +28 -14
  132. package/dist/en-US-B2XFj-_p.js +1 -0
  133. package/dist/{en-US-DkCltadt.mjs → en-US-DQ5vlv9Z.mjs} +53 -7
  134. package/dist/en-US-J85TQRI8.js +1 -0
  135. package/dist/{en-US-C939IZ5i.mjs → en-US-SDhjlY_v.mjs} +20 -5
  136. package/dist/formControl-ODrpUvcA.js +1 -0
  137. package/dist/{index-BPU8tIml.mjs → formControl-dX7l8o3c.mjs} +160 -143
  138. package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +4 -0
  139. package/dist/icon-sprite.svg.es-Ds6lDf5p.js +1 -0
  140. package/dist/index.cjs +1 -1
  141. package/dist/index.mjs +4 -4
  142. package/dist/{invoices-DIzkXntV.mjs → invoices-3520M5AN.mjs} +1 -1
  143. package/dist/{invoices-CHp75zZI.js → invoices-CKQBLar2.js} +1 -1
  144. package/dist/{it-IT-CHj2McbF.mjs → it-IT-BgFVsO5S.mjs} +53 -7
  145. package/dist/{it-IT-DT3rfjOY.js → it-IT-CSYvGmpT.js} +1 -1
  146. package/dist/{it-IT-BxpwB3oJ.mjs → it-IT-CaaFToGB.mjs} +20 -6
  147. package/dist/it-IT-CqNK62qe.js +1 -0
  148. package/dist/{nl-NL-DfkhOJKc.js → nl-NL-CpE4IgwO.js} +1 -1
  149. package/dist/{nl-NL-na2I4aiP.mjs → nl-NL-D0MQKaql.mjs} +34 -20
  150. package/dist/nl-NL-Dx-TNXQ1.js +1 -0
  151. package/dist/{nl-NL-Cdvd_XMN.mjs → nl-NL-UiRWbO9S.mjs} +53 -7
  152. package/dist/{paymentMethods-DEKp_4QM.mjs → paymentMethods-CWlvwK5V.mjs} +16 -14
  153. package/dist/paymentMethods-Cw-i95mM.js +1 -0
  154. package/dist/{payments-C0-Hq2a4.mjs → payments-2qeQdpiW.mjs} +6 -6
  155. package/dist/{payments-DBvregE8.js → payments-CS7_YcOW.js} +1 -1
  156. package/dist/pricing-BIMpDI_p.mjs +29 -0
  157. package/dist/pricing-BOqG21f9.js +1 -0
  158. package/dist/pricing.es-C07bgEZx.js +1 -0
  159. package/dist/pricing.es-QYWrKMUJ.mjs +30 -0
  160. package/dist/pricingPlanSchedules-B_sTAIgU.js +1 -0
  161. package/dist/pricingPlanSchedules-ChQCbMfe.mjs +32 -0
  162. package/dist/screens/Checkout/Checkout.cjs +1 -1
  163. package/dist/screens/Checkout/Checkout.mjs +2 -2
  164. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
  165. package/dist/screens/CustomerOverview/CustomerOverview.mjs +10 -10
  166. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
  167. package/dist/screens/PayInvoice/PayInvoice.mjs +57 -55
  168. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
  169. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +9 -9
  170. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
  171. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +3 -769
  172. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
  173. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +243 -270
  174. package/dist/{subscription-CrVOr5MF.mjs → subscription-D1yHKUNc.mjs} +2 -2
  175. package/dist/{subscriptions--9MaTXMb.mjs → subscriptions-DcfcBYAq.mjs} +1 -1
  176. package/dist/{subscriptions-BArXBCFr.js → subscriptions-DwVsf4Ev.js} +1 -1
  177. package/dist/types/components/checkout/CheckoutTitle.types.d.ts +10 -0
  178. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +9 -5
  179. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +3 -1
  180. package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +5 -1
  181. package/dist/types/components/{wallets/WalletModalShell.types.d.ts → payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts} +3 -3
  182. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +5 -0
  183. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +5 -9
  184. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +7 -11
  185. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +7 -11
  186. package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +7 -11
  187. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +7 -11
  188. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +7 -11
  189. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +7 -11
  190. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +7 -11
  191. package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +7 -11
  192. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
  193. package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +7 -11
  194. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +7 -11
  195. package/dist/types/components/providers/Provider/Provider.vue.d.ts +7 -11
  196. package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +7 -11
  197. package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +7 -11
  198. package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +7 -11
  199. package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +21 -0
  200. package/dist/types/components/subscriptions/OnDemandItemsCard/OnDemandItemsCard.types.d.ts +7 -0
  201. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +27 -0
  202. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +1 -1
  203. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +6 -5
  204. package/dist/types/services/paymentMethods.types.d.ts +4 -2
  205. package/dist/types/services/requests.types.d.ts +5 -0
  206. package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +5 -0
  207. package/dist/types/vendor/@solvimon/solvimon-types/types/AgentContext.d.ts +3 -0
  208. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +6 -1
  209. package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +23 -0
  210. package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +16 -4
  211. package/dist/types/vendor/@solvimon/solvimon-types/types/Embeddable.d.ts +8 -0
  212. package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +21 -6
  213. package/dist/types/vendor/@solvimon/solvimon-types/types/OAuth.d.ts +28 -0
  214. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +2 -1
  215. package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
  216. package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +6 -1
  217. package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +5 -0
  218. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +5 -0
  219. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanGroups.d.ts +31 -0
  220. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +9 -1
  221. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +1 -1
  222. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +3 -3
  223. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +3 -0
  224. package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +2 -0
  225. package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +2 -0
  226. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +2 -0
  227. package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +1 -1
  228. package/dist/types/vendor/@solvimon/solvimon-types/types/SeatAssignment.d.ts +22 -0
  229. package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +6 -0
  230. package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +128 -1
  231. package/dist/{useActionDispatchProvider-BdciAX8T.mjs → useActionDispatchProvider-B3AvkLL2.mjs} +1 -1
  232. package/dist/{useActionDispatchProvider-CKzeqXzY.js → useActionDispatchProvider-DFhppdve.js} +1 -1
  233. package/dist/{useCustomer-D8ixhuuj.mjs → useCustomer-B-jyJIVy.mjs} +1 -1
  234. package/dist/{useCustomer-DSYr0F58.js → useCustomer-BwZKd9i5.js} +1 -1
  235. package/dist/{useCustomerFormLabels-htMZ0xqB.mjs → useCustomerFormLabels-BQk3d9PZ.mjs} +6 -6
  236. package/dist/useCustomerFormLabels-DV9QiMYh.js +1 -0
  237. package/dist/useExperimentalFeature-BciA3Ok9.mjs +135 -0
  238. package/dist/useExperimentalFeature-CGIkgFR4.js +1 -0
  239. package/dist/{useInvoiceData-Bpbog3zW.mjs → useInvoiceData-BocKdeg7.mjs} +3 -3
  240. package/dist/{useInvoiceData-DhrItfv7.js → useInvoiceData-CNV_FMV8.js} +1 -1
  241. package/dist/{useInvoicesList-BGwcJn4I.mjs → useInvoicesList-C8nsXMJ6.mjs} +7 -7
  242. package/dist/{useInvoicesList-duu_b5GW.js → useInvoicesList-S0IbQcrD.js} +1 -1
  243. package/dist/{useLoadInitialData-BDmmpcfb.mjs → useLoadInitialData-D9GkzY8t.mjs} +1 -1
  244. package/dist/{useLoadInitialData-U2WvBmXT.js → useLoadInitialData-D_R6Jy1s.js} +1 -1
  245. package/dist/usePaymentMethodAvailability-BO_guwAw.js +1 -0
  246. package/dist/{usePaymentMethodAvailability-adqRujTA.mjs → usePaymentMethodAvailability-DAcsKGeh.mjs} +5 -6
  247. package/dist/{usePaymentMethodOptions-DlZtTQNQ.mjs → usePaymentMethodOptions-1vRAo6Ib.mjs} +15 -13
  248. package/dist/usePaymentMethodOptions-CuzOoi2k.js +1 -0
  249. package/dist/{usePaymentMethods-BnmSo_rr.mjs → usePaymentMethods-CbwnGONc.mjs} +1 -1
  250. package/dist/{usePaymentMethods-DZ1a0mnr.js → usePaymentMethods-DDaTZQZp.js} +1 -1
  251. package/dist/{usePayments-s-Z1di8d.mjs → usePayments-Cr6NlGaW.mjs} +46 -41
  252. package/dist/usePayments-DDSjo0rH.js +1 -0
  253. package/dist/{usePortal-Hm7wvtgQ.js → usePortal-C27omjhz.js} +1 -1
  254. package/dist/{usePortal-C4rR5Rhu.mjs → usePortal-C5AsegpS.mjs} +1 -1
  255. package/dist/{useSubscription-DSsXVO0h.mjs → useSubscription-BZJL0VOA.mjs} +1 -1
  256. package/dist/{useSubscription-DMAEJves.js → useSubscription-D787IXY-.js} +1 -1
  257. package/dist/{useTimePeriod.es-CW8ycmpT.mjs → useTimePeriod.es-DWLsLFqs.mjs} +1 -1
  258. package/dist/{useTimePeriod.es-anHB63am.js → useTimePeriod.es-rzxqUCTu.js} +1 -1
  259. package/dist/useWatchDebounced-B8iX7ykx.js +1 -0
  260. package/dist/useWatchDebounced-BHlBPcXB.mjs +20 -0
  261. package/package.json +20 -14
  262. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-7wQAw6Lv.js +0 -1
  263. package/dist/Checkout.entry.ce-BMzK8nQg.mjs +0 -3900
  264. package/dist/Checkout.entry.ce-DgA0ckyl.js +0 -2
  265. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DzbPUvHN.js +0 -1
  266. package/dist/InvoiceSummary.vue.es-v1TkOUhA.js +0 -1
  267. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-4RmdLbzY.js +0 -1
  268. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvpFnl9V.mjs +0 -141
  269. package/dist/PaymentIntegrationFormAdyen-C9KoiqMh.js +0 -98
  270. package/dist/PaymentIntegrationFormStripe-DTLgGutU.js +0 -102
  271. package/dist/PaymentMethod.vue.es-ZWda5GqF.js +0 -1
  272. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-CzUwtVEI.js +0 -1
  273. package/dist/PlanCustomizationEditor-CunwwXTw.js +0 -1
  274. package/dist/PlanCustomizationEditor-NLVkEYFF.mjs +0 -877
  275. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-Dvuj-fos.mjs +0 -131
  276. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-iE4dLawA.js +0 -1
  277. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs +0 -51
  278. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +0 -1
  279. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DH7IZrNT.js +0 -1
  280. package/dist/TooltipParagraph.vue.es-DS_69pl1.js +0 -1
  281. package/dist/adyen-CvsH5fok.mjs +0 -117
  282. package/dist/adyen-Druit6gz.js +0 -1
  283. package/dist/de-DE-npBTLtKL.js +0 -1
  284. package/dist/en-US-9xdcz3T5.js +0 -1
  285. package/dist/en-US-kGduGoka.js +0 -1
  286. package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +0 -4
  287. package/dist/icon-sprite.svg.es-Dauis9LS.js +0 -1
  288. package/dist/index-DwueOtPi.js +0 -1
  289. package/dist/it-IT-BayNIAy7.js +0 -1
  290. package/dist/nl-NL-0rV4nFLw.js +0 -1
  291. package/dist/paymentMethods-CZGP6_4W.js +0 -1
  292. package/dist/pricing-BVAld27Y.js +0 -1
  293. package/dist/pricing-DLOeiAIB.mjs +0 -16
  294. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagement.types.d.ts +0 -47
  295. package/dist/useCustomerFormLabels-CRumh405.js +0 -1
  296. package/dist/useExperimentalFeature-D29-TO3R.js +0 -1
  297. package/dist/useExperimentalFeature-JK_kAUQQ.mjs +0 -6
  298. package/dist/usePaymentMethodAvailability-DwtT5Czz.js +0 -1
  299. package/dist/usePaymentMethodOptions-CXdFKFqZ.js +0 -1
  300. package/dist/usePayments-DL4agK2i.js +0 -1
  301. package/dist/useWatchDebounced-CAU1WI1P.js +0 -1
  302. package/dist/useWatchDebounced-DT5IicPp.mjs +0 -14
@@ -0,0 +1,27 @@
1
+ import { Invoice, PricingPlanSubscription } from '../../../vendor/@solvimon/solvimon-types/index';
2
+ export interface SubscriptionDetailsConfiguration {
3
+ subscriptionId: PricingPlanSubscription['id'];
4
+ avatar?: string;
5
+ /**
6
+ * Offers "Go to invoice" on the receipt of an on-demand order, and when the payment of a placed
7
+ * order was refused, which sends a `view-invoice` action request. Turn it on only when you handle that action request; otherwise the button
8
+ * would only close the order. Defaults to `false`.
9
+ */
10
+ canViewCreatedInvoice?: boolean;
11
+ /**
12
+ * Called as soon as an on-demand order creates an invoice, while the customer still sees its
13
+ * receipt. The order created an invoice whether or not its payment went through, so
14
+ * `paymentStatus` says which: `PAID` and `OVERPAID` are settled, while `UNPAID`,
15
+ * `PARTIALLY_PAID` and a missing status are an invoice still to be paid. Use it to refresh an
16
+ * invoice list or to follow up on the order.
17
+ *
18
+ * An order that fails is not reported here, even when it may have left an invoice behind: a
19
+ * payment that could not be made reaches `onLog` as `ON_DEMAND_CHARGE_REFUSED`, and a failure
20
+ * whose outcome is unknown as `ON_DEMAND_CHARGE_FAILED`. Either way the customer is sent to
21
+ * their invoice list.
22
+ */
23
+ onInvoiceCreated?: (invoice: {
24
+ invoiceId: Invoice['id'];
25
+ paymentStatus: Invoice['payment_status'];
26
+ }) => void;
27
+ }
@@ -1,5 +1,5 @@
1
1
  import { CustomerPortalUrl } from '../../../vendor/@solvimon/solvimon-types/index';
2
- import { SubscriptionDetailsConfiguration } from './SubscriptionDetails.types';
2
+ import { SubscriptionDetailsConfiguration } from './SubscriptionDetails.configuration.types';
3
3
  import { EntryBaseProps } from '../../../types/EntryBaseProps';
4
4
  export interface SolvimonSubscriptionDetailsEntryProps extends EntryBaseProps<CustomerPortalUrl> {
5
5
  configuration: SubscriptionDetailsConfiguration;
@@ -1,18 +1,18 @@
1
- import { Customer, CustomerWalletBalanceItem, PaymentMethod, PricingPlanScheduleWithPlanData, PricingPlanSubscription } from '../../../vendor/@solvimon/solvimon-types/index';
1
+ import { Customer, CustomerWalletBalanceItem, Invoice, PaymentMethod, PricingPlanSchedule, PricingPlanScheduleWithPlanData } from '../../../vendor/@solvimon/solvimon-types/index';
2
+ import { ChargeOnDemandItem } from '@solvimon/solvimon-ui';
2
3
  import { PricingPlanSubscriptionExpanded } from '../../../types/subscription';
3
4
  import { BaseScreenProps } from '../types';
4
- export interface SubscriptionDetailsConfiguration {
5
- subscriptionId: PricingPlanSubscription['id'];
6
- avatar?: string;
7
- }
8
5
  export interface SubscriptionDetailsProps extends BaseScreenProps {
9
6
  subscription?: PricingPlanSubscriptionExpanded;
10
7
  schedulesData?: PricingPlanScheduleWithPlanData[];
11
8
  customer?: Customer;
12
9
  paymentMethods?: PaymentMethod[];
13
10
  walletBalances?: CustomerWalletBalanceItem[];
11
+ onDemandItems?: ChargeOnDemandItem[];
12
+ onDemandScheduleId?: PricingPlanSchedule['id'];
14
13
  hasWalletBalancesError?: boolean;
15
14
  avatar?: string;
15
+ canViewCreatedInvoice?: boolean;
16
16
  }
17
17
  export interface SubscriptionDetailsEmits {
18
18
  (e: 'top-up-charged'): void;
@@ -20,4 +20,5 @@ export interface SubscriptionDetailsEmits {
20
20
  (e: 'auto-top-up-cancelled'): void;
21
21
  (e: 'payment-method-stored'): void;
22
22
  (e: 'subscription-changed'): void;
23
+ (e: 'invoice-created', invoice: Invoice): void;
23
24
  }
@@ -1,4 +1,4 @@
1
- import { Amount, Customer, PaymentMethod, PricingPlanSubscription } from '../vendor/@solvimon/solvimon-types/index';
1
+ import { Amount, Customer, Invoice, PaymentMethod, PricingPlanSubscription } from '../vendor/@solvimon/solvimon-types/index';
2
2
  export interface SetDefaultPaymentMethodPayload {
3
3
  paymentMethodId: PaymentMethod['id'];
4
4
  }
@@ -21,11 +21,13 @@ interface GetPaymentMethodOptionsBasePayload {
21
21
  }
22
22
  export interface GetPaymentMethodOptionsByCustomerIdPayload extends GetPaymentMethodOptionsBasePayload {
23
23
  customerId: Customer['id'];
24
- subscriptionId?: never;
24
+ subscriptionId?: PricingPlanSubscription['id'];
25
+ invoiceId?: Invoice['id'];
25
26
  }
26
27
  export interface GetPaymentMethodOptionsBySubscriptionIdPayload extends GetPaymentMethodOptionsBasePayload {
27
28
  subscriptionId: PricingPlanSubscription['id'];
28
29
  customerId?: never;
30
+ invoiceId?: never;
29
31
  }
30
32
  export type GetPaymentMethodOptionsPayload = GetPaymentMethodOptionsByCustomerIdPayload | GetPaymentMethodOptionsBySubscriptionIdPayload;
31
33
  export {};
@@ -7,6 +7,11 @@ export type RequestOptions = {
7
7
  method?: 'GET' | 'POST' | 'PATCH';
8
8
  /** Statuses the caller handles itself. Still rejected; only the log entry drops to `warn`. */
9
9
  expectedStatusCodes?: number[];
10
+ /**
11
+ * Only the identity token endpoints may raise this to `include`: the refresh token lives in an
12
+ * `HttpOnly` cookie, which `omit` neither stores from the response nor sends back.
13
+ */
14
+ credentials?: 'omit' | 'include';
10
15
  };
11
16
  export type QueryParamValue = string | number | boolean | null | undefined | (string | number)[];
12
17
  export type QueryParams = Record<string, QueryParamValue>;
@@ -1,4 +1,5 @@
1
1
  export * from './types/Address';
2
+ export * from './types/AgentContext';
2
3
  export * from './types/Amount';
3
4
  export * from './types/Attachment';
4
5
  export * from './types/Document';
@@ -18,6 +19,7 @@ export * from './types/Currency';
18
19
  export * from './types/CreditType';
19
20
  export * from './types/Customers';
20
21
  export * from './types/CustomFields';
22
+ export * from './types/Embeddable';
21
23
  export * from './types/Entitlement';
22
24
  export * from './types/Environment';
23
25
  export * from './types/Features';
@@ -43,6 +45,7 @@ export * from './types/PricingGroup';
43
45
  export * from './types/Product';
44
46
  export * from './types/ProductCategory';
45
47
  export * from './types/ProductItem';
48
+ export * from './types/SeatAssignment';
46
49
  export * from './types/ResourceStatus';
47
50
  export * from './types/TaxCategory';
48
51
  export * from './types/TaxSummary';
@@ -65,6 +68,7 @@ export * from './types/PricingPlanScheduleInfo';
65
68
  export * from './types/PricingPlanSchedule';
66
69
  export * from './types/PricingPlanScheduleWithPlanData';
67
70
  export * from './types/PricingPlans';
71
+ export * from './types/PricingPlanGroups';
68
72
  export * from './types/PricingExtended';
69
73
  export * from './types/PricingCategoryExtended';
70
74
  export * from './types/PricingCategory';
@@ -98,6 +102,7 @@ export * from './types/Role';
98
102
  export * from './types/PaymentMethodOptions';
99
103
  export * from './types/Resource';
100
104
  export * from './types/IdentityProvider';
105
+ export * from './types/OAuth';
101
106
  export * from './types/Portal';
102
107
  export * from './types/ApiStatus';
103
108
  export * from './types/ApiError';
@@ -0,0 +1,3 @@
1
+ export interface AgentContext {
2
+ guidance?: string | null;
3
+ }
@@ -54,6 +54,8 @@ type ApprovalPolicyApproverUser = {
54
54
  type ApprovalPolicyApprovalType = 'GROUP' | 'LEVEL';
55
55
  export type ApprovalPolicyApprover = ApprovalPolicyApproverUser;
56
56
  export type ApprovalPolicySourceType = 'INVOICE' | 'QUOTE_VERSION';
57
+ export type ApprovalPolicyStatus = 'DRAFT' | 'ACTIVE' | 'DEPRECATED' | 'ARCHIVED';
58
+ export type ApprovalPolicyCreateStatus = Extract<ApprovalPolicyStatus, 'DRAFT' | 'ACTIVE'>;
57
59
  export interface ApprovalPolicyPayload {
58
60
  name: string;
59
61
  reference: string;
@@ -62,12 +64,15 @@ export interface ApprovalPolicyPayload {
62
64
  rule_groups: ApprovalPolicyRuleGroup[];
63
65
  source_type: ApprovalPolicySourceType;
64
66
  }
67
+ export interface ApprovalPolicyCreatePayload extends ApprovalPolicyPayload {
68
+ status?: ApprovalPolicyCreateStatus;
69
+ }
65
70
  export interface ApprovalPolicy extends ApprovalPolicyPayload {
66
71
  id: string;
67
72
  object_type: 'APPROVAL_POLICY';
68
73
  created_at: string;
69
74
  updated_at: string;
70
- status: 'ACTIVE';
75
+ status: ApprovalPolicyStatus;
71
76
  }
72
77
  export type WithApprovalFlow<T extends {
73
78
  status: ResourceStatus;
@@ -1,4 +1,5 @@
1
1
  import type { Amount } from './Amount';
2
+ import type { PricingCategory } from './PricingCategory';
2
3
  import type { PricingItem } from './PricingItem';
3
4
  import type { PricingPlanSchedule } from './PricingPlanSchedule';
4
5
  /**
@@ -13,6 +14,14 @@ export interface ChargeOnDemandPricingItem {
13
14
  export interface ChargeOnDemandPricingItemsPricingItemConfig {
14
15
  pricing_item_id?: string;
15
16
  flexible_amount?: Amount;
17
+ /**
18
+ * Required when the item's on-demand config is priced FLAT, rejected otherwise. `number` must be
19
+ * above zero. There is no fallback to the config's `default_units`: that is only the prefill of
20
+ * the ordering flow.
21
+ */
22
+ units?: {
23
+ number: string;
24
+ };
16
25
  }
17
26
  export interface ChargeOnDemandPricingItemsPayload {
18
27
  pricing_plan_schedule_id: string;
@@ -22,3 +31,17 @@ export interface ChargeOnDemandPricingItemsPayload {
22
31
  payment_method_id?: string | null;
23
32
  preview?: boolean | null;
24
33
  }
34
+ /**
35
+ * `GET /pricing-plan-schedules/{id}/on-demand-pricing-items`: the schedule's pricing, narrowed by
36
+ * the backend to One Off items whose `configs` hold an `on_demand` config priced FIXED, FLAT or
37
+ * FLEXIBLE. A One Off item has at most one config in `configs`, so each listed item carries a single
38
+ * config. Items priced per currency or billing period keep their configs in
39
+ * `pricing_currency_configs` or `billing_period_configs`, which this endpoint does not read, so they
40
+ * are not listed. Configs with `wallet_grants` are kept.
41
+ */
42
+ export interface OnDemandPricingItemsResponse {
43
+ pricing_plan_subscription_id?: PricingPlanSchedule['pricing_plan_subscription_id'];
44
+ pricing_plan_schedule_id?: PricingPlanSchedule['id'];
45
+ pricing_plan_version_id?: string;
46
+ pricing_categories?: PricingCategory[];
47
+ }
@@ -1,29 +1,41 @@
1
1
  import type { Customer } from './Customers';
2
2
  import type { ResourceType } from './Resource';
3
+ export type CustomFieldType = 'STRING' | 'NUMBER' | 'BOOLEAN' | 'ENUM';
3
4
  export interface CustomFieldConfigPayload {
4
5
  reference: string;
5
6
  name?: string;
6
7
  description?: string;
7
8
  resource_type: string;
9
+ type?: CustomFieldType;
10
+ enum_values?: string[];
8
11
  multiple_values?: boolean;
9
12
  unique_value?: boolean;
10
13
  copy_value_to_invoice?: boolean;
14
+ integration_id?: string;
11
15
  }
12
16
  export interface CustomFieldConfig extends CustomFieldConfigPayload {
13
17
  object_type: 'CUSTOM_FIELD';
14
18
  id: string;
19
+ integration_reference?: string;
20
+ integration_type?: string;
15
21
  }
16
- export type CustomFieldSingle = Pick<CustomFieldConfig, 'id' | 'reference'> & {
22
+ export interface CustomFieldIntegrationDetails {
23
+ id: string;
24
+ reference: string;
25
+ }
26
+ export type CustomFieldSingle = Pick<CustomFieldConfig, 'id' | 'reference' | 'integration_id'> & {
17
27
  value: string;
18
28
  values?: undefined;
29
+ integration_details?: CustomFieldIntegrationDetails;
19
30
  };
20
- export type CustomFieldMultiple = Pick<CustomFieldConfig, 'id' | 'reference'> & {
31
+ export type CustomFieldMultiple = Pick<CustomFieldConfig, 'id' | 'reference' | 'integration_id'> & {
21
32
  value?: undefined;
22
33
  values: string[];
34
+ integration_details?: CustomFieldIntegrationDetails;
23
35
  };
24
36
  export type CustomField = CustomFieldSingle | CustomFieldMultiple;
25
- export type CustomFieldPayload = Pick<CustomField, 'id' | 'value' | 'values'> | Pick<CustomField, 'reference' | 'value' | 'values'>;
26
- export type CustomFieldOnResource = Pick<CustomField, 'id' | 'reference' | 'value' | 'values'>;
37
+ export type CustomFieldPayload = Pick<CustomField, 'id' | 'value' | 'values' | 'integration_id'> | Pick<CustomField, 'reference' | 'value' | 'values' | 'integration_id'>;
38
+ export type CustomFieldOnResource = Pick<CustomField, 'id' | 'reference' | 'value' | 'values' | 'integration_id' | 'integration_details'>;
27
39
  export type WithCustomFieldResource<T extends unknown> = T & {
28
40
  resource: {
29
41
  type: CustomFieldsResourceType;
@@ -0,0 +1,8 @@
1
+ import type { Nullable } from '../utils';
2
+ export type EmbeddableEnvironment = 'latest' | 'production' | 'staging' | 'development';
3
+ export type Embeddable = {
4
+ id: string;
5
+ name: string;
6
+ tags: string[];
7
+ last_published_at: Nullable<Record<EmbeddableEnvironment, Nullable<string>>>;
8
+ };
@@ -21,6 +21,7 @@ import type { PricingItemConfig } from './PricingItemConfig';
21
21
  import type { PricingPlanSubscription } from './PricingPlanSubscription';
22
22
  import type { MeterProperty } from './MeterProperty';
23
23
  import type { PricingPlanSchedule } from './PricingPlanSchedule';
24
+ import type { Wallet, WalletBalanceValue } from './Wallet';
24
25
  export type InvoiceStatus = 'OPEN' | 'DRAFT' | 'FINAL' | 'EMPTY' | 'VOID';
25
26
  export type InvoiceState = 'ON_HOLD' | 'PAID' | 'TO_BE_REPOCESSED';
26
27
  export type InvoiceBillingType = 'DEFAULT' | 'SELF_BILLING';
@@ -45,6 +46,19 @@ export interface InvoiceCreditQuantity {
45
46
  };
46
47
  };
47
48
  }
49
+ export interface InvoiceWalletBalance {
50
+ wallet_id: Wallet['id'];
51
+ used_balance?: WalletBalanceValue | null;
52
+ left_balance?: WalletBalanceValue | null;
53
+ available_balance?: WalletBalanceValue | null;
54
+ }
55
+ export interface InvoiceUsedWalletGrantDetail {
56
+ wallet_id: Wallet['id'];
57
+ wallet_grant_id: string;
58
+ used_balance?: WalletBalanceValue | null;
59
+ balance_at?: string;
60
+ paid_at?: string;
61
+ }
48
62
  export interface InvoiceTaxCategory {
49
63
  base_amount: Amount;
50
64
  tax_amount: Amount;
@@ -128,11 +142,8 @@ export interface InvoiceLinePriceDetails {
128
142
  number: string;
129
143
  };
130
144
  };
131
- wallet_balance_details?: {
132
- used_wallet_credits?: InvoiceCreditQuantity;
133
- left_wallet_credits?: InvoiceCreditQuantity;
134
- available_wallet_credits?: InvoiceCreditQuantity;
135
- };
145
+ wallet_balances?: InvoiceWalletBalance[];
146
+ used_wallet_grants?: InvoiceUsedWalletGrantDetail[];
136
147
  item?: InvoiceLineItem;
137
148
  items?: InvoiceLineItem[];
138
149
  band?: Band;
@@ -201,7 +212,7 @@ export type Invoice = WithCustomFields<{
201
212
  platform_id: string;
202
213
  customer: Customer;
203
214
  billing_entity: BillingEntity;
204
- status: Filter<ResourceStatus, 'OPEN' | 'DRAFT' | 'FINAL' | 'EMPTY' | 'VOID' | 'ARCHIVED'>;
215
+ status: Filter<ResourceStatus, 'OPEN' | 'DRAFT' | 'FINAL' | 'EMPTY' | 'VOID' | 'ARCHIVED' | 'PAID'>;
205
216
  approval_status: Filter<ResourceStatus, 'CANCELLED' | 'APPROVED' | 'DECLINED' | 'PENDING_REVIEW'>;
206
217
  created_at: string;
207
218
  updated_at: string;
@@ -233,7 +244,9 @@ export type Invoice = WithCustomFields<{
233
244
  credit?: CreditInvoice;
234
245
  other_custom_fields: WithCustomFieldResource<CustomField>[];
235
246
  on_hold: boolean;
247
+ /** @deprecated use payment_status instead, use paid as a fallback */
236
248
  paid?: Nullable<boolean>;
249
+ payment_status?: Nullable<Filter<ResourceStatus, 'UNPAID' | 'PARTIALLY_PAID' | 'PAID' | 'OVERPAID'>>;
237
250
  e_invoices?: EInvoice[];
238
251
  delivery_date?: string;
239
252
  to_be_reprocessed?: Nullable<boolean>;
@@ -286,6 +299,7 @@ export interface InvoiceQuantity {
286
299
  total: Amount;
287
300
  month: string;
288
301
  }
302
+ export type OneOffInvoiceLineClause = 'discount.totals';
289
303
  export interface OneOffInvoiceLine {
290
304
  pricing_name?: string;
291
305
  start_at: string;
@@ -297,6 +311,7 @@ export interface OneOffInvoiceLine {
297
311
  number?: string;
298
312
  amount?: Amount;
299
313
  };
314
+ applicable_for_clauses?: OneOffInvoiceLineClause[];
300
315
  }
301
316
  export interface EInvoiceStatus {
302
317
  status: 'SUBMITTED' | 'ACCEPTED' | 'SUCCESS' | 'ERROR' | 'IGNORE';
@@ -0,0 +1,28 @@
1
+ import type { Environment } from './Environment';
2
+ import type { Platform } from './Platform';
3
+ /**
4
+ * One platform the consenting user is a member of. `default` is not a hint to
5
+ * pre-select: the authorization server only sets it when the user has a single
6
+ * membership, so a user with a choice to make has no default at all.
7
+ */
8
+ export interface OAuthAuthorizationRequestAccount {
9
+ resource_id: Platform['id'];
10
+ reference: string;
11
+ environment: Environment;
12
+ default?: boolean;
13
+ }
14
+ /**
15
+ * The display-safe view of a pending authorization request. The authorization
16
+ * server deliberately withholds `redirect_uri` and `code_challenge` here, so
17
+ * the consent screen cannot build the return redirect itself — approving and
18
+ * denying both go back to the server for it.
19
+ */
20
+ export interface OAuthAuthorizationRequest {
21
+ client_name: string;
22
+ scopes: string[];
23
+ resource: string;
24
+ accounts: OAuthAuthorizationRequestAccount[];
25
+ }
26
+ export interface OAuthAuthorizationDecision {
27
+ redirect_to: string;
28
+ }
@@ -61,7 +61,7 @@ export interface PaymentAcceptorPayload {
61
61
  custom_redirect?: PaymentAcceptorCustomRedirect;
62
62
  }
63
63
  export interface PaymentAcceptorPatchPayload extends Partial<Omit<PaymentAcceptorPayload, 'payment_gateway'>> {
64
- payment_gateway?: Partial<PaymentAcceptorPaymentGatewayPayload>;
64
+ payment_gateway?: PaymentAcceptorPaymentGatewayPatchPayload;
65
65
  }
66
66
  export type PaymentAcceptorBankAccount = PaymentAcceptorBankAccountPayload & {
67
67
  type?: BankAccountType;
@@ -104,6 +104,7 @@ export type PaymentAcceptorPaymentGatewayPayload = {
104
104
  enabled: boolean;
105
105
  period: BillingPeriod;
106
106
  };
107
+ allowed_payment_methods?: Nullable<string[]>;
107
108
  };
108
109
  /** @deprecated: consider removing */
109
110
  stripe?: {
@@ -1 +1 @@
1
- export type Permission = 'PLATFORM.CREATE' | 'ALERT_RULE.CREATE' | 'ALERT_RULE.DELETE' | 'ALERT_RULE.UPDATE' | 'ALERT_RULE.VIEW' | 'ALERT.VIEW' | 'APPROVAL_POLICY.CREATE' | 'APPROVAL_POLICY.UPDATE' | 'APPROVAL_POLICY.VIEW' | 'AUDIT_RECORD.VIEW' | 'BILLING_ENTITY.CREATE' | 'BILLING_ENTITY.UPDATE' | 'BILLING_ENTITY.VIEW' | 'BRANDING.UPDATE' | 'CONTACT.CREATE' | 'CONTACT.DELETE' | 'CONTACT.UPDATE' | 'CONTACT.VIEW' | 'CUSTOM_FIELD.CREATE' | 'CUSTOM_FIELD.DELETE' | 'CUSTOM_FIELD.UPDATE' | 'CUSTOM_FIELD.VIEW' | 'CUSTOMER.CREATE' | 'CUSTOMER.DELETE' | 'CUSTOMER.UPDATE' | 'CUSTOMER.VIEW' | 'CUSTOMER.STATUS.DRAFT.UPDATE' | 'CUSTOMER.STATUS.DRAFT.DELETE' | 'CREDIT_TYPE.CREATE' | 'CREDIT_TYPE.UPDATE' | 'CREDIT_TYPE.VIEW' | 'FEATURE.CREATE' | 'FEATURE.DELETE' | 'FEATURE.UPDATE' | 'FEATURE.VIEW' | 'FILE.METER_DATA.CREATE' | 'FILE.METER_DATA.UPDATE' | 'FILE.VIEW' | 'INTEGRATION.CREATE' | 'INTEGRATION.DELETE' | 'INTEGRATION.UPDATE' | 'INTEGRATION.VIEW' | 'INVOICE.CREDIT.CREATE' | 'INVOICE.DEFAULT_SETTINGS.EDIT' | 'INVOICE.E_INVOICE.DOWNLOAD' | 'INVOICE.E_INVOICE.REFRESH' | 'INVOICE.E_INVOICE.RESUBMIT' | 'INVOICE.E_INVOICE.STATUS.UPDATE' | 'INVOICE.EXPORT_ERP' | 'INVOICE.INSIGHT_REPORT' | 'INVOICE.LINE.EDIT' | 'INVOICE.ONE_OFF.CREATE' | 'INVOICE.PDF.DOWNLOAD' | 'INVOICE.REFRESH' | 'INVOICE.SEND_EMAIL' | 'INVOICE.UBL.DOWNLOAD' | 'INVOICE.UPDATE' | 'INVOICE.USAGE_REPORT' | 'INVOICE.VIEW' | 'METER_DATA.DELETE' | 'METER_DATA.EVENT_TRACE.VIEW' | 'METER_DATA.INGEST' | 'METER_DATA.VIEW' | 'METER_PROPERTY.CREATE' | 'METER_PROPERTY.DELETE' | 'METER_PROPERTY.STATUS.UPDATE' | 'METER_PROPERTY.UPDATE' | 'METER_PROPERTY.VIEW' | 'METER_VALUE.CREATE' | 'METER_VALUE.DELETE' | 'METER_VALUE.STATUS.UPDATE' | 'METER_VALUE.UPDATE' | 'METER_VALUE.VIEW' | 'METER.CREATE' | 'METER.DELETE' | 'METER.STATUS.UPDATE' | 'METER.UPDATE' | 'METER.USAGE_METRIC.CREATE' | 'METER.VIEW' | 'PAYMENT.AUTHORIZE' | 'PAYMENT.VIEW' | 'PAYMENT_ACCEPTOR.CREATE' | 'PAYMENT_ACCEPTOR.UPDATE' | 'PAYMENT_ACCEPTOR.VIEW' | 'PAYMENT_ACCEPTOR.DELETE' | 'PAYMENT_METHOD.CREATE' | 'PAYMENT_METHOD.UPDATE' | 'PAYMENT_METHOD.VIEW' | 'PAYMENT_SCHEDULE.VIEW' | 'PAYMENT_SCHEDULE.CREATE' | 'PLATFORM.DEFAULT_SETTINGS.EDIT' | 'PRICING_PLAN_SCHEDULE.COMMITMENT.EDIT' | 'PRICING_PLAN_SCHEDULE.CREATE' | 'PRICING_PLAN_SCHEDULE.DELETE' | 'PRICING_PLAN_SCHEDULE.DISCOUNT.EDIT' | 'PRICING_PLAN_SCHEDULE.MARKUP.EDIT' | 'PRICING_PLAN_SCHEDULE.PRICING_OVERRIDE.EDIT' | 'PRICING_PLAN_SCHEDULE.UPDATE' | 'PRICING_PLAN_SCHEDULE.VIEW' | 'PRICING_PLAN_SUBSCRIPTION_GROUP.CREATE' | 'PRICING_PLAN_SUBSCRIPTION_GROUP.DELETE' | 'PRICING_PLAN_SUBSCRIPTION_GROUP.UPDATE' | 'PRICING_PLAN_SUBSCRIPTION_GROUP.VIEW' | 'PRICING_PLAN_SUBSCRIPTION.CANCEL' | 'PRICING_PLAN_SUBSCRIPTION.CREATE' | 'PRICING_PLAN_SUBSCRIPTION.DEFAULT_SETTINGS.EDIT' | 'PRICING_PLAN_SUBSCRIPTION.DELETE' | 'PRICING_PLAN_SUBSCRIPTION.STATUS.UPDATE' | 'PRICING_PLAN_SUBSCRIPTION.UPDATE' | 'PRICING_PLAN_SUBSCRIPTION.VIEW' | 'PRICING_PLAN.CREATE' | 'PRICING_PLAN.DELETE' | 'PRICING_PLAN.STATUS.UPDATE' | 'PRICING_PLAN.UPDATE' | 'PRICING_PLAN.VIEW' | 'PRODUCT_CATEGORY.CREATE' | 'PRODUCT_CATEGORY.DELETE' | 'PRODUCT_CATEGORY.UPDATE' | 'PRODUCT_CATEGORY.VIEW' | 'PRODUCT.CREATE' | 'PRODUCT.DELETE' | 'PRODUCT.STATUS.UPDATE' | 'PRODUCT.UPDATE' | 'PRODUCT.VIEW' | 'REPORT.CREATE' | 'REPORT_GENERATE_REQUEST.VIEW' | 'REPORT.VIEW' | 'REPORT_CONFIGURATION.VIEW' | 'REPORT_CONFIGURATION.CREATE' | 'REPORT_SUBSCRIPTION.CREATE' | 'QUOTE.CREATE' | 'QUOTE.DELETE' | 'QUOTE.UPDATE' | 'QUOTE.VIEW' | 'QUOTE.PRICING_PLAN_SUBSCRIPTION.VIEW' | 'QUOTE.PRICING_PLAN_SUBSCRIPTION.UPDATE' | 'QUOTE.PRICING_PLAN_SUBSCRIPTION.CREATE' | 'QUOTE.TEMPLATE.CREATE' | 'QUOTE.TEMPLATE.UPDATE' | 'QUOTE.TEMPLATE.VIEW' | 'REPROCESSING.REPROCESS.CREATE' | 'REPROCESSING.REPROCESS.VIEW' | 'USER.API.CREATE' | 'USER.API.UPDATE' | 'USER.API.VIEW' | 'USER.MORTAL.CREATE' | 'USER.MORTAL.UPDATE' | 'USER.MORTAL.VIEW' | 'WEBHOOK.CREATE' | 'WEBHOOK.DELETE' | 'WEBHOOK.UPDATE' | 'WEBHOOK.VIEW' | 'WEBHOOK_EVENT.VIEW' | 'WEBHOOK_EVENT.RESEND' | 'ROLE.VIEW' | 'BULK_ACTION.VIEW' | 'BULK_ACTION.CREATE' | 'COUPON.VIEW' | 'COUPON.CREATE' | 'COUPON.UPDATE' | 'PROMOTION_CODE.VIEW' | 'PROMOTION_CODE.CREATE' | 'ATTACHMENT.VIEW' | 'ATTACHMENT.CREATE' | 'ATTACHMENT.UPDATE' | 'ATTACHMENT.DELETE' | 'ROLE.CREATE' | 'ROLE.UPDATE' | 'WALLET_TYPE.CREATE' | 'WALLET_TYPE.UPDATE' | 'WALLET_TYPE.VIEW' | 'WALLET_GRANT.VIEW' | 'WALLET_GRANT.CREATE' | 'WORKFLOW.VIEW' | 'WORKFLOW.CREATE' | 'WORKFLOW.UPDATE' | 'WORKFLOW.DELETE' | 'WORKFLOW_ACTION.CREATE' | 'WORKFLOW_ACTION.VIEW' | 'WORKFLOW_ACTION.DELETE' | 'WORKFLOW_ACTION.UPDATE';
1
+ export type Permission = 'PLATFORM.CREATE' | 'ALERT_RULE.CREATE' | 'ALERT_RULE.DELETE' | 'ALERT_RULE.UPDATE' | 'ALERT_RULE.VIEW' | 'ALERT.VIEW' | 'APPROVAL_POLICY.CREATE' | 'APPROVAL_POLICY.DELETE' | 'APPROVAL_POLICY.UPDATE' | 'APPROVAL_POLICY.VIEW' | 'AUDIT_RECORD.VIEW' | 'BILLING_ENTITY.CREATE' | 'BILLING_ENTITY.UPDATE' | 'BILLING_ENTITY.VIEW' | 'BRANDING.UPDATE' | 'CONTACT.CREATE' | 'CONTACT.DELETE' | 'CONTACT.UPDATE' | 'CONTACT.VIEW' | 'CUSTOM_FIELD.CREATE' | 'CUSTOM_FIELD.DELETE' | 'CUSTOM_FIELD.UPDATE' | 'CUSTOM_FIELD.VIEW' | 'CUSTOMER.CREATE' | 'CUSTOMER.DELETE' | 'CUSTOMER.UPDATE' | 'CUSTOMER.VIEW' | 'CUSTOMER.STATUS.DRAFT.UPDATE' | 'CUSTOMER.STATUS.DRAFT.DELETE' | 'CREDIT_TYPE.CREATE' | 'CREDIT_TYPE.UPDATE' | 'CREDIT_TYPE.VIEW' | 'FEATURE.CREATE' | 'FEATURE.DELETE' | 'FEATURE.UPDATE' | 'FEATURE.VIEW' | 'FILE.METER_DATA.CREATE' | 'FILE.METER_DATA.UPDATE' | 'FILE.VIEW' | 'INTEGRATION.CREATE' | 'INTEGRATION.DELETE' | 'INTEGRATION.UPDATE' | 'INTEGRATION.VIEW' | 'INVOICE.CREDIT.CREATE' | 'INVOICE.DEFAULT_SETTINGS.EDIT' | 'INVOICE.E_INVOICE.DOWNLOAD' | 'INVOICE.E_INVOICE.REFRESH' | 'INVOICE.E_INVOICE.RESUBMIT' | 'INVOICE.E_INVOICE.STATUS.UPDATE' | 'INVOICE.EXPORT_ERP' | 'INVOICE.INSIGHT_REPORT' | 'INVOICE.LINE.EDIT' | 'INVOICE.ONE_OFF.CREATE' | 'INVOICE.PDF.DOWNLOAD' | 'INVOICE.REFRESH' | 'INVOICE.SEND_EMAIL' | 'INVOICE.UBL.DOWNLOAD' | 'INVOICE.UPDATE' | 'INVOICE.USAGE_REPORT' | 'INVOICE.VIEW' | 'METER_DATA.DELETE' | 'METER_DATA.EVENT_TRACE.VIEW' | 'METER_DATA.INGEST' | 'METER_DATA.VIEW' | 'METER_PROPERTY.CREATE' | 'METER_PROPERTY.DELETE' | 'METER_PROPERTY.STATUS.UPDATE' | 'METER_PROPERTY.UPDATE' | 'METER_PROPERTY.VIEW' | 'METER_VALUE.CREATE' | 'METER_VALUE.DELETE' | 'METER_VALUE.STATUS.UPDATE' | 'METER_VALUE.UPDATE' | 'METER_VALUE.VIEW' | 'METER.CREATE' | 'METER.DELETE' | 'METER.STATUS.UPDATE' | 'METER.UPDATE' | 'METER.USAGE_METRIC.CREATE' | 'METER.VIEW' | 'PAYMENT.AUTHORIZE' | 'PAYMENT.VIEW' | 'PAYMENT_ACCEPTOR.CREATE' | 'PAYMENT_ACCEPTOR.UPDATE' | 'PAYMENT_ACCEPTOR.VIEW' | 'PAYMENT_ACCEPTOR.DELETE' | 'PAYMENT_METHOD.CREATE' | 'PAYMENT_METHOD.UPDATE' | 'PAYMENT_METHOD.VIEW' | 'PAYMENT_SCHEDULE.VIEW' | 'PAYMENT_SCHEDULE.CREATE' | 'PLATFORM.DEFAULT_SETTINGS.EDIT' | 'PRICING_PLAN_SCHEDULE.COMMITMENT.EDIT' | 'PRICING_PLAN_SCHEDULE.CREATE' | 'PRICING_PLAN_SCHEDULE.DELETE' | 'PRICING_PLAN_SCHEDULE.DISCOUNT.EDIT' | 'PRICING_PLAN_SCHEDULE.MARKUP.EDIT' | 'PRICING_PLAN_SCHEDULE.PRICING_OVERRIDE.EDIT' | 'PRICING_PLAN_SCHEDULE.STATUS.UPDATE' | 'PRICING_PLAN_SCHEDULE.UPDATE' | 'PRICING_PLAN_SCHEDULE.VIEW' | 'PRICING_PLAN_SCHEDULE.WRITE_ACTIVE' | 'PRICING_PLAN_SUBSCRIPTION_GROUP.CREATE' | 'PRICING_PLAN_SUBSCRIPTION_GROUP.DELETE' | 'PRICING_PLAN_SUBSCRIPTION_GROUP.UPDATE' | 'PRICING_PLAN_SUBSCRIPTION_GROUP.VIEW' | 'PRICING_PLAN_SUBSCRIPTION.CANCEL' | 'PRICING_PLAN_SUBSCRIPTION.CREATE' | 'PRICING_PLAN_SUBSCRIPTION.DEFAULT_SETTINGS.EDIT' | 'PRICING_PLAN_SUBSCRIPTION.DELETE' | 'PRICING_PLAN_SUBSCRIPTION.STATUS.UPDATE' | 'PRICING_PLAN_SUBSCRIPTION.UPDATE' | 'PRICING_PLAN_SUBSCRIPTION.VIEW' | 'PRICING_PLAN_GROUP.CREATE' | 'PRICING_PLAN_GROUP.DELETE' | 'PRICING_PLAN_GROUP.STATUS.UPDATE' | 'PRICING_PLAN_GROUP.UPDATE' | 'PRICING_PLAN_GROUP.VIEW' | 'PRICING_PLAN.CREATE' | 'PRICING_PLAN.DELETE' | 'PRICING_PLAN.STATUS.UPDATE' | 'PRICING_PLAN.UPDATE' | 'PRICING_PLAN.VIEW' | 'PRODUCT_CATEGORY.CREATE' | 'PRODUCT_CATEGORY.DELETE' | 'PRODUCT_CATEGORY.UPDATE' | 'PRODUCT_CATEGORY.VIEW' | 'PRODUCT.CREATE' | 'PRODUCT.DELETE' | 'PRODUCT.STATUS.UPDATE' | 'PRODUCT.UPDATE' | 'PRODUCT.VIEW' | 'REPORT.CREATE' | 'REPORT_GENERATE_REQUEST.VIEW' | 'REPORT.VIEW' | 'REPORT_CONFIGURATION.VIEW' | 'REPORT_CONFIGURATION.CREATE' | 'REPORT_SUBSCRIPTION.CREATE' | 'QUOTE.CREATE' | 'QUOTE.DELETE' | 'QUOTE.UPDATE' | 'QUOTE.VIEW' | 'QUOTE.PRICING_PLAN_SUBSCRIPTION.VIEW' | 'QUOTE.PRICING_PLAN_SUBSCRIPTION.UPDATE' | 'QUOTE.PRICING_PLAN_SUBSCRIPTION.CREATE' | 'QUOTE.TEMPLATE.CREATE' | 'QUOTE.TEMPLATE.UPDATE' | 'QUOTE.TEMPLATE.VIEW' | 'REPROCESSING.REPROCESS.CREATE' | 'REPROCESSING.REPROCESS.VIEW' | 'SEAT_ASSIGNMENT.CREATE' | 'SEAT_ASSIGNMENT.DELETE' | 'SEAT_ASSIGNMENT.UPDATE' | 'SEAT_ASSIGNMENT.VIEW' | 'USER.API.CREATE' | 'USER.API.UPDATE' | 'USER.API.VIEW' | 'USER.MORTAL.CREATE' | 'USER.MORTAL.UPDATE' | 'USER.MORTAL.VIEW' | 'WEBHOOK.CREATE' | 'WEBHOOK.DELETE' | 'WEBHOOK.UPDATE' | 'WEBHOOK.VIEW' | 'WEBHOOK_EVENT.VIEW' | 'WEBHOOK_EVENT.RESEND' | 'ROLE.VIEW' | 'BULK_ACTION.VIEW' | 'BULK_ACTION.CREATE' | 'COUPON.VIEW' | 'COUPON.CREATE' | 'COUPON.UPDATE' | 'PROMOTION_CODE.VIEW' | 'PROMOTION_CODE.CREATE' | 'ATTACHMENT.VIEW' | 'ATTACHMENT.CREATE' | 'ATTACHMENT.UPDATE' | 'ATTACHMENT.DELETE' | 'ROLE.CREATE' | 'ROLE.UPDATE' | 'WALLET_TYPE.CREATE' | 'WALLET_TYPE.UPDATE' | 'WALLET_TYPE.VIEW' | 'WALLET_GRANT.VIEW' | 'WALLET_GRANT.CREATE' | 'WORKFLOW.VIEW' | 'WORKFLOW.CREATE' | 'WORKFLOW.UPDATE' | 'WORKFLOW.DELETE' | 'WORKFLOW_ACTION.CREATE' | 'WORKFLOW_ACTION.VIEW' | 'WORKFLOW_ACTION.DELETE' | 'WORKFLOW_ACTION.UPDATE' | 'WORKFLOW_ACTION_EXECUTION.CREATE' | 'WORKFLOW_ACTION_EXECUTION.VIEW' | 'WORKFLOW_ACTION_EXECUTION.UPDATE' | 'WORKFLOW_TRIGGER.CREATE' | 'WORKFLOW_TRIGGER.VIEW';
@@ -52,11 +52,15 @@ export interface PlatformPayload {
52
52
  footnote?: string;
53
53
  };
54
54
  }
55
- export type PlatformPatchPayload = Partial<Omit<PlatformPayload, 'default_pricing_plan_subscription_settings'>> & {
55
+ type PlatformInvoiceSettingsPatch = keyof Pick<PlatformPayload['invoice_settings'], 'invoice_number_configuration' | 'credit_invoice_number_configuration' | 'self_billing_invoice_number_configuration' | 'self_billing_credit_invoice_number_configuration'>;
56
+ export type PlatformPatchPayload = Partial<Omit<PlatformPayload, 'default_pricing_plan_subscription_settings' | 'invoice_settings'>> & {
56
57
  default_pricing_plan_subscription_settings?: Partial<Omit<NonNullable<PlatformPayload['default_pricing_plan_subscription_settings']>, 'initial_term' | 'renewal_term'>> & {
57
58
  initial_term?: PricingPlanSubscription['initial_term'] | null;
58
59
  renewal_term?: PricingPlanSubscription['renewal_term'] | null;
59
60
  };
61
+ invoice_settings?: Omit<PlatformPayload['invoice_settings'], PlatformInvoiceSettingsPatch> & {
62
+ [K in PlatformInvoiceSettingsPatch]?: Partial<PlatformInvoiceSettings>;
63
+ };
60
64
  };
61
65
  export interface Platform extends PlatformPayload {
62
66
  object_type: 'PLATFORM';
@@ -116,3 +120,4 @@ export interface PlatformBranding {
116
120
  public_url: string;
117
121
  };
118
122
  }
123
+ export {};
@@ -50,6 +50,11 @@ export interface CheckoutPagePortalUrlPayload extends BasePortalUrlPayload {
50
50
  init_pricing_plan_subscription: {
51
51
  pricing_plan_subscription_id: PricingPlanSubscription['id'];
52
52
  success_url?: string;
53
+ /**
54
+ * Free text shown on the checkout page, which Desk fills with the terms and
55
+ * conditions. Markdown, limited to text, hyperlinks and bold/italic/underline.
56
+ */
57
+ note?: string;
53
58
  };
54
59
  }
55
60
  export interface CheckoutPagePortalUrl extends BasePortalUrl, CheckoutPagePortalUrlPayload {
@@ -38,6 +38,9 @@ export interface PricingItemConfig {
38
38
  amount?: Amount;
39
39
  number?: string;
40
40
  };
41
+ default_units?: {
42
+ number?: string;
43
+ };
41
44
  original_pricing_item_config_id?: PricingItemConfig['id'];
42
45
  original_pricing_item_config?: PricingItemConfig;
43
46
  volume_group_reference?: string;
@@ -76,12 +79,14 @@ export interface PricingItemConfigWalletGrantCreditsGrant {
76
79
  credits?: Credits;
77
80
  conversion?: PricingItemConfigWalletGrantConversion;
78
81
  }
82
+ export type PricingItemConfigWalletGrantSource = 'FIXED' | 'SEAT_POOL' | 'PER_SEAT';
79
83
  export interface PricingItemConfigWalletGrant {
80
84
  wallet_type_id: string;
81
85
  wallet_type?: WalletType;
82
86
  amount_grant?: PricingItemConfigWalletGrantAmountGrant;
83
87
  credits_grant?: PricingItemConfigWalletGrantCreditsGrant;
84
88
  expiry_policy?: PricingItemConfigWalletGrantExpiryPolicy;
89
+ source?: PricingItemConfigWalletGrantSource;
85
90
  }
86
91
  export interface SplitPricingMeterProperty {
87
92
  id: MeterProperty['id'];
@@ -0,0 +1,31 @@
1
+ import type { PricingPlan } from './PricingPlans';
2
+ import type { ResourceStatus } from './ResourceStatus';
3
+ import type { Filter } from '../utils';
4
+ export type PricingPlanGroupChangeType = 'IMMEDIATE' | 'IMMEDIATE_PRO_RATA' | 'NEXT_BILLING_PERIOD' | 'NOT_ALLOWED';
5
+ export type PricingPlanGroupStatus = Filter<ResourceStatus, 'DRAFT' | 'ACTIVE' | 'DEPRECATED' | 'ARCHIVED'>;
6
+ export interface PricingPlanGroupMember {
7
+ pricing_plan_id: PricingPlan['id'];
8
+ order: number;
9
+ }
10
+ export interface PricingPlanGroup {
11
+ object_type: 'PRICING_PLAN_GROUP';
12
+ id: string;
13
+ reference: string;
14
+ name?: string;
15
+ status: PricingPlanGroupStatus;
16
+ upgrade_type: PricingPlanGroupChangeType;
17
+ downgrade_type: PricingPlanGroupChangeType;
18
+ cancellation_type: PricingPlanGroupChangeType;
19
+ pricing_plans?: PricingPlanGroupMember[];
20
+ created_at?: string;
21
+ updated_at?: string;
22
+ }
23
+ export interface PricingPlanGroupPayload {
24
+ reference: string;
25
+ upgrade_type: PricingPlanGroupChangeType;
26
+ downgrade_type: PricingPlanGroupChangeType;
27
+ cancellation_type: PricingPlanGroupChangeType;
28
+ name?: string;
29
+ status?: PricingPlanGroupStatus;
30
+ pricing_plans?: PricingPlanGroupMember[];
31
+ }
@@ -1,4 +1,4 @@
1
- import type { Nullable } from '../utils';
1
+ import type { Filter, Nullable } from '../utils';
2
2
  import type { Amount } from './Amount';
3
3
  import type { Commitment } from './Commitment';
4
4
  import type { BillingPeriod } from './BillingPeriod';
@@ -11,6 +11,7 @@ import type { EnabledPricing, Pricing, UnsavedPricingOverride } from './Pricing'
11
11
  import type { PricingCategory, UnsavedPricingCategory } from './PricingCategory';
12
12
  import type { PricingItemConfig } from './PricingItemConfig';
13
13
  import type { PricingPlanVersionExtended } from './PricingPlanVersionExtended';
14
+ import type { ResourceStatus } from './ResourceStatus';
14
15
  export interface IncludedVolumeItem extends ConfiguredMeterValue, NonNullable<PricingItemConfig['default_included_volume']> {
15
16
  }
16
17
  type PricingPlanScheduleCouponDiscount = {
@@ -28,6 +29,8 @@ type PricingPlanScheduleCoupon = {
28
29
  coupon_name: string;
29
30
  discount?: PricingPlanScheduleCouponDiscount;
30
31
  };
32
+ export type PricingPlanScheduleStatus = Filter<ResourceStatus, 'DRAFT' | 'ACTIVE'>;
33
+ export type PricingPlanScheduleApprovalStatus = 'PENDING_REVIEW' | 'APPROVED' | 'DECLINED' | 'CANCELLED';
31
34
  export interface PricingPlanSchedule {
32
35
  commitment?: Nullable<Commitment>;
33
36
  discount?: Nullable<Discount>;
@@ -40,6 +43,7 @@ export interface PricingPlanSchedule {
40
43
  pricing_plan_version_id: string | null;
41
44
  pricing_plan_subscription_id: string;
42
45
  seats_values?: Nullable<ConfiguredMeterValue[]>;
46
+ units?: Nullable<ConfiguredMeterValue[]>;
43
47
  start_at: string;
44
48
  enabled_pricings?: {
45
49
  pricing_id: Pricing['id'];
@@ -71,6 +75,10 @@ export interface PricingPlanSchedule {
71
75
  promotion_codes?: string[];
72
76
  pricing_currency?: string;
73
77
  billing_period?: BillingPeriod;
78
+ status?: PricingPlanScheduleStatus;
79
+ approval_status?: Nullable<PricingPlanScheduleApprovalStatus>;
80
+ is_current?: boolean;
81
+ updated_at?: string;
74
82
  }
75
83
  export interface PricingPlanScheduleWithCombinedPricingPlanVersion extends PricingPlanSchedule {
76
84
  combined_pricing_plan_version: PricingPlanVersionExtended;
@@ -1,6 +1,6 @@
1
1
  import type { PricingPlanSchedule } from './PricingPlanSchedule';
2
2
  import type { PricingPlanVersionExtended } from './PricingPlanVersionExtended';
3
- export type PricingPlanScheduleInfo = Pick<PricingPlanSchedule, 'end_at' | 'id' | 'pricing_plan_version_id' | 'start_at' | 'type'>;
3
+ export type PricingPlanScheduleInfo = Pick<PricingPlanSchedule, 'end_at' | 'id' | 'pricing_plan_version_id' | 'start_at' | 'status' | 'type'>;
4
4
  export interface PricingPlanScheduleInfoExpanded extends PricingPlanScheduleInfo {
5
5
  pricing_plan_version: PricingPlanVersionExtended;
6
6
  pricing_plan_schedule: PricingPlanSchedule;
@@ -3,7 +3,7 @@ import type { BillingEntity } from './BillingEntity';
3
3
  import type { BillingPeriod } from './BillingPeriod';
4
4
  import type { BillingTime } from './BillingTime';
5
5
  import type { Customer } from './Customers';
6
- import type { CustomField } from './CustomFields';
6
+ import type { CustomField, WithCustomFieldsPayload } from './CustomFields';
7
7
  import type { DueDateConfiguration } from './DueDateConfiguration';
8
8
  import type { PaymentAcceptor } from './PaymentAcceptor';
9
9
  import type { PaymentMethod } from './PaymentMethod';
@@ -17,7 +17,7 @@ export declare const PricingPlanSubscriptionVariants: {
17
17
  readonly SelfBilling: "SELF_BILLING";
18
18
  };
19
19
  export type PricingPlanSubscriptionVariant = (typeof PricingPlanSubscriptionVariants)[keyof typeof PricingPlanSubscriptionVariants];
20
- export interface PricingPlanSubscriptionPayload {
20
+ export type PricingPlanSubscriptionPayload = WithCustomFieldsPayload<{
21
21
  billing_currency: string;
22
22
  billing_entity_id: BillingEntity['id'];
23
23
  billing_period: BillingPeriod;
@@ -45,7 +45,7 @@ export interface PricingPlanSubscriptionPayload {
45
45
  display_invoice_sub_lines_per_processing_only_customer?: boolean;
46
46
  show_tax_per_line_item?: boolean;
47
47
  show_original_customer_invoice_line?: Nullable<boolean>;
48
- }
48
+ }>;
49
49
  export interface PricingPlanSubscription extends PricingPlanSubscriptionPayload {
50
50
  id: string;
51
51
  created_at: string;
@@ -1,4 +1,5 @@
1
1
  import type { Currency, PricingPlanVersion } from '..';
2
+ import type { AgentContext } from './AgentContext';
2
3
  import type { BaseResourceStatus } from './BaseResourceStatus';
3
4
  import type { WithCustomFields, WithCustomFieldsPayload } from './CustomFields';
4
5
  import type { Customer } from './Customers';
@@ -23,6 +24,7 @@ export type PricingPlan = WithCustomFields<{
23
24
  name: string;
24
25
  pricing_plan_version_infos?: PricingPlansVersionInfo[];
25
26
  description?: string;
27
+ agent_context?: AgentContext | null;
26
28
  type: PricingPlanType;
27
29
  customer_id?: Customer['id'];
28
30
  amount_type?: PricingPlanAmountType;
@@ -36,6 +38,7 @@ export type PricingPlanPayload = WithCustomFieldsPayload<{
36
38
  name: string;
37
39
  reference: string;
38
40
  description?: string;
41
+ agent_context?: AgentContext | null;
39
42
  customer_id?: Customer['id'];
40
43
  amount_type?: PricingPlanAmountType;
41
44
  pricing_currencies?: Currency['currencyCode'][];
@@ -1,3 +1,4 @@
1
+ import type { AgentContext } from './AgentContext';
1
2
  import type { BaseResourceStatus } from './BaseResourceStatus';
2
3
  import type { Feature } from './Features';
3
4
  import type { WithCustomFields } from './CustomFields';
@@ -10,6 +11,7 @@ export type Product = WithCustomFields<{
10
11
  category_id: string;
11
12
  name: string;
12
13
  description?: string;
14
+ agent_context?: AgentContext | null;
13
15
  product_type: ProductType;
14
16
  tax_category?: TaxCategory;
15
17
  status: BaseResourceStatus;
@@ -1,3 +1,4 @@
1
+ import type { AgentContext } from './AgentContext';
1
2
  import type { ConfigMeterPropertiesExtended } from './ConfigMeterProperties';
2
3
  import type { MeterConditionExpression, MeterConditionExpressionExtended } from './MeterConditions';
3
4
  import type { MeterProperty } from './MeterProperty';
@@ -15,6 +16,7 @@ export interface ProductItem {
15
16
  product_id: string;
16
17
  name: string;
17
18
  description?: string;
19
+ agent_context?: AgentContext | null;
18
20
  model_type: ModelType;
19
21
  usage_based?: {
20
22
  report_meter_value_calculation_ids?: string[];