@solvimon/solvimon-web 0.1.0-alpha.16 → 0.1.0-alpha.18
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.
- package/README.md +33 -31
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-C2IRj-FB.mjs +238 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Rub9ifBk.js +1 -0
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BYBAO4Au.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BWnZ98RQ.mjs} +2 -2
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BI3Lg7nO.js → BillingInformation.vue_vue_type_script_setup_true_lang-DurgWlLC.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CTnn1gkW.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-D7gL7dZX.mjs} +3 -3
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Df7CsbiW.js +1 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-OUg4yv7r.mjs +2654 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-mM5udvi8.js +1 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-BIpg-MSJ.mjs +53 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-BM3p8Pk8.js +1 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D5eSNYH2.js +1 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-ryvFEQMV.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DbY35gE_.mjs} +1 -1
- package/dist/{InvoiceHeader.vue_vue_type_script_setup_true_lang-DdpPrYxi.js → InvoiceHeader.vue_vue_type_script_setup_true_lang-Ci8r6tuC.js} +1 -1
- package/dist/{InvoiceHeader.vue_vue_type_script_setup_true_lang-bAiAbtMi.mjs → InvoiceHeader.vue_vue_type_script_setup_true_lang-jshby9pF.mjs} +1 -1
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-CNKxTtO7.js +1 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DBMgilG2.mjs +153 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CupZFJSF.mjs +52 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D6lpD1zo.js +1 -0
- package/dist/{PaymentHistoryBlock-BKMttUyk.mjs → PaymentHistoryBlock-Bxr8lUGs.mjs} +1 -1
- package/dist/{PaymentHistoryBlock-BGbTy4Se.js → PaymentHistoryBlock-COjIVYX4.js} +1 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Bmgx7PSt.js +1 -0
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-tM7f_fQS.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CDjGab5p.mjs} +1 -1
- package/dist/{PaymentIntegrationForm-D4QupHWl.js → PaymentIntegrationForm-BSauhuKv.js} +1 -1
- package/dist/{PaymentIntegrationForm-CypW6fZY.mjs → PaymentIntegrationForm-PIT8gHYN.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-5XKz3kop.js +1 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-COO2ZUhN.mjs +148 -0
- package/dist/PaymentIntegrationFormAdyen-B-Jbu2hU.js +1 -0
- package/dist/PaymentIntegrationFormAdyen-Cjj9aK0E.mjs +729 -0
- package/dist/PaymentIntegrationFormStripe-Bnn8S1o5.js +1 -0
- package/dist/PaymentIntegrationFormStripe-arpua_ZT.mjs +545 -0
- package/dist/PaymentMethodForm-B7T5rrNz.mjs +4 -0
- package/dist/PaymentMethodForm-CLz3ZS-b.js +1 -0
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-B8eNptZp.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-C4Zf92QP.mjs} +25 -14
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-UH9AVXnG.js +1 -0
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-BUTqn4Ey.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIIt6fGp.mjs} +77 -31
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-ifai5HVr.js +1 -0
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cqk-vonA.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DaWlLor0.mjs} +115 -68
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DdUoeTUL.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-CyYhYYRp.mjs +37 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DdjYVNku.js +1 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-Cu55ZvCH.js +1 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-z8P1u1Gi.mjs +100 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-BKDMwuyh.js +1 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DB1p61kZ.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BOUSk2ZB.mjs} +22 -119
- package/dist/adyen-BMDZQBUG.js +1 -0
- package/dist/{url-1Lbg5Yni.mjs → adyen-Ba-mF3Jy.mjs} +31 -73
- package/dist/component--Y7Igv5i.mjs +1022 -0
- package/dist/component-DIy1hvJM.js +1 -0
- package/dist/components/BillingInformation/BillingInformation.cjs.js +1 -1
- package/dist/components/BillingInformation/BillingInformation.es.js +4 -4
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.es.js +4 -4
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +4 -4
- package/dist/components/Invoice/Invoice.cjs.js +1 -1
- package/dist/components/Invoice/Invoice.es.js +7 -7
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.es.js +3 -3
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs.js +1 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.es.js +4 -4
- package/dist/components/InvoicesList/InvoicesList.cjs.js +1 -1
- package/dist/components/InvoicesList/InvoicesList.es.js +3 -3
- package/dist/components/PaymentHistory/PaymentHistory.cjs.js +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.es.js +3 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +6 -6
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +7 -58
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.es.js +5 -5
- package/dist/components/WalletBalances/WalletBalances.cjs.js +1 -1
- package/dist/components/WalletBalances/WalletBalances.es.js +25 -9
- package/dist/core/action-request.types.d.ts +3 -15
- package/dist/core/index.cjs.js +1 -1
- package/dist/core/index.es.js +1 -1
- package/dist/core/types.d.ts +4 -2
- package/dist/{customer-Bv_fqXzO.mjs → customer-DovIxTG1.mjs} +1 -1
- package/dist/{customer-_W8gIX5m.js → customer-brfznoHY.js} +1 -1
- package/dist/en-US-BvOHPudj.js +1 -0
- package/dist/{en-US-DAgOSlgv.mjs → en-US-CXDO3qhq.mjs} +121 -36
- package/dist/index-BMWWP8xj.js +1 -0
- package/dist/index-Do7kzLpg.mjs +265 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.es.js +7 -4
- package/dist/invoices-Cf3dSYSj.js +1 -0
- package/dist/{invoices-BGb0AwVF.mjs → invoices-Dk-z04lg.mjs} +32 -16
- package/dist/{nl-NL-DCsmrA8A.mjs → nl-NL-BgL_PuBn.mjs} +126 -40
- package/dist/nl-NL-COGUFg60.js +1 -0
- package/dist/{paymentMethods-DvqlWe96.mjs → paymentMethods-BnF1XYS1.mjs} +21 -5
- package/dist/paymentMethods-DVDC_WfL.js +1 -0
- package/dist/{payments-DMDDI3MK.js → payments-DVZFO5yb.js} +1 -1
- package/dist/{payments-CpzTVrQM.mjs → payments-TnRjtlOw.mjs} +1 -1
- package/dist/pricing-CuYndX6t.js +1 -0
- package/dist/pricing-GwLCiSzs.mjs +19 -0
- package/dist/pricingPlanSchedule-B9HFiXy-.js +1 -0
- package/dist/pricingPlanSchedule-CXG3CQ61.mjs +146 -0
- package/dist/{registry-B-If1W_u.mjs → registry-Ck0Gb6rj.mjs} +7 -4
- package/dist/registry-Cra6yoB4.js +1 -0
- package/dist/screens/Checkout/Checkout.cjs.js +1 -1
- package/dist/screens/Checkout/Checkout.es.js +429 -689
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.es.js +61 -39
- package/dist/screens/PayInvoice/PayInvoice.cjs.js +1 -1
- package/dist/screens/PayInvoice/PayInvoice.es.js +30 -13
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs.js +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.es.js +28 -18
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.ce.d.ts +3 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs.js +1 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.es.js +889 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.ce.d.ts +3 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs.js +1 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.es.js +716 -0
- package/dist/solvimon-web.css +1 -1
- package/dist/subscription-C41lG-rH.mjs +89 -0
- package/dist/subscription-b0OPx8Du.js +1 -0
- package/dist/subscriptions-BFCKVHnP.js +1 -0
- package/dist/subscriptions-vEE4Y7qm.mjs +58 -0
- package/dist/{useActionDispatchProvider-Dz8-e4gZ.mjs → useActionDispatchProvider-BlEf-RZ5.mjs} +1 -1
- package/dist/{useActionDispatchProvider-BHTknMoH.js → useActionDispatchProvider-aJOy3kr1.js} +1 -1
- package/dist/{useCustomer-Z24KchWC.js → useCustomer-C1XTqmrQ.js} +1 -1
- package/dist/{useCustomer-VVJi8z2w.mjs → useCustomer-Cw8LXT6S.mjs} +2 -2
- package/dist/{useIncrementalLoading-DmOT2MXH.mjs → useIncrementalLoading-8WtKZ-mP.mjs} +2 -2
- package/dist/useIncrementalLoading-CkY2klIW.js +1 -0
- package/dist/{useInvoiceData-Bl87gzIS.js → useInvoiceData-BrxMo4Zt.js} +1 -1
- package/dist/{useInvoiceData-Di5pLPM0.mjs → useInvoiceData-Cy_ysMsq.mjs} +2 -2
- package/dist/{useInvoicesList-z19cteaD.mjs → useInvoicesList-DMsZn1tE.mjs} +4 -4
- package/dist/useInvoicesList-DmisMQzy.js +1 -0
- package/dist/{useLoadInitialData-CkpryfjF.mjs → useLoadInitialData-BP1v7qhd.mjs} +1 -1
- package/dist/{useLoadInitialData-CTqfiMTN.js → useLoadInitialData-_BjCD0Jc.js} +1 -1
- package/dist/{usePaymentMethodOptions-BoGHJjng.mjs → usePaymentMethodOptions-CWfGvW0U.mjs} +9 -3
- package/dist/{usePaymentMethodOptions-BsCZnCQW.js → usePaymentMethodOptions-xeSTmaVo.js} +1 -1
- package/dist/{usePaymentMethods-AC-4rrR9.js → usePaymentMethods-CAFMvSOr.js} +1 -1
- package/dist/{usePaymentMethods-ocHmNoP7.mjs → usePaymentMethods-Cyk4cjoE.mjs} +2 -2
- package/dist/{usePayments-CgXZeWrU.js → usePayments-BieVBaz-.js} +1 -1
- package/dist/{usePayments-D85eB5l4.mjs → usePayments-D88XSZfS.mjs} +10 -4
- package/dist/{usePortal-B1O1zgdV.mjs → usePortal-0NDlbFr9.mjs} +1 -1
- package/dist/{usePortal-DVD7PcWI.js → usePortal-B954nyEB.js} +1 -1
- package/dist/{useService-CHrkefKd.js → useService-BiljI7XA.js} +1 -1
- package/dist/{useService-DF57xuDd.mjs → useService-CqfJi5ST.mjs} +1 -1
- package/dist/useSubscription-9rJpFNUF.mjs +29 -0
- package/dist/useSubscription-k3limdu_.js +1 -0
- package/dist/vendor-ui-Dfh3_g4q.js +1 -0
- package/dist/{vendor-ui-B8IlviSs.mjs → vendor-ui-ItGf7wJV.mjs} +8006 -6329
- package/package.json +23 -9
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C_uHr21N.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DU6X3zxr.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CixdxEGm.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BBEM-YPz.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CrGSfZZs.mjs +0 -1537
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-eWmC5GOT.js +0 -1
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-Be_fF-R_.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BVoS3ZXS.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-56vu59V4.js +0 -1
- package/dist/component-Bg2JVC_O.mjs +0 -933
- package/dist/component-Bs8oszfD.js +0 -1
- package/dist/en-US-C0gIE4Q1.js +0 -1
- package/dist/index-CzL1ZcGi.mjs +0 -85
- package/dist/index-DRdBmZ2-.js +0 -1
- package/dist/invoices-D-OKipCg.js +0 -1
- package/dist/nl-NL-Br7muSHK.js +0 -1
- package/dist/paymentMethods-DIbB759g.js +0 -1
- package/dist/registry-uG2isab0.js +0 -1
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.ce.d.ts +0 -3
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +0 -1
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +0 -1102
- package/dist/subscriptions-BPYyv09M.mjs +0 -75
- package/dist/subscriptions-CC61I6Nj.js +0 -1
- package/dist/url-B6-3PkW2.js +0 -1
- package/dist/useIncrementalLoading-CuSndpP2.js +0 -1
- package/dist/useInvoicesList-CFk-_oVK.js +0 -1
- package/dist/useWalletBalanceItems-BL-R5foK.js +0 -1
- package/dist/useWalletBalanceItems-COQDLfoZ.mjs +0 -109
- package/dist/vendor-ui-C3Tq-qY_.js +0 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { f as downloadFile,
|
|
2
|
-
import { c as createRequestService, u as useConfig } from "./component
|
|
1
|
+
import { f as downloadFile, d as withPagination } from "./vendor-ui-ItGf7wJV.mjs";
|
|
2
|
+
import { c as createRequestService, u as useConfig } from "./component--Y7Igv5i.mjs";
|
|
3
3
|
function createInvoicesService() {
|
|
4
4
|
const request = createRequestService();
|
|
5
5
|
const config = useConfig();
|
|
6
|
+
const chargeOnDemandPricingItemsUrl = `${config.apiUrls.transaction}/portal/invoices/charge-on-demand-pricing-items`;
|
|
6
7
|
function getInvoice(invoiceId) {
|
|
7
8
|
return request({
|
|
8
9
|
url: `${config.apiUrls.transaction}/portal/invoices/${invoiceId}`
|
|
@@ -54,40 +55,54 @@ function createInvoicesService() {
|
|
|
54
55
|
pricingPlanSubscriptionId,
|
|
55
56
|
startAt,
|
|
56
57
|
customizations,
|
|
57
|
-
pricing_plan_schedule_customizations
|
|
58
|
+
pricing_plan_schedule_customizations,
|
|
59
|
+
forExistingSubscription = false
|
|
58
60
|
}) {
|
|
59
61
|
return request({
|
|
60
62
|
url: `${config.apiUrls.transaction}/portal/invoices/preview`,
|
|
61
63
|
options: { method: "POST" },
|
|
62
64
|
data: {
|
|
63
|
-
|
|
65
|
+
// A subscription that is already running is priced as itself, and its customer is
|
|
66
|
+
// known. One that does not exist yet is priced off the template it would be created
|
|
67
|
+
// from, for the details it would be invoiced to.
|
|
68
|
+
...forExistingSubscription ? { pricing_plan_subscription_id: pricingPlanSubscriptionId } : {
|
|
69
|
+
template_pricing_plan_subscription_id: pricingPlanSubscriptionId,
|
|
70
|
+
customer_details: {
|
|
71
|
+
...customer,
|
|
72
|
+
reference: "preview"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
64
75
|
...startAt && { start_at: startAt },
|
|
65
76
|
...customizations && { pricing_plan_schedule_customizations: customizations },
|
|
66
77
|
...pricing_plan_schedule_customizations && {
|
|
67
78
|
pricing_plan_schedule_customizations
|
|
68
|
-
},
|
|
69
|
-
customer_details: {
|
|
70
|
-
...customer,
|
|
71
|
-
reference: "preview"
|
|
72
79
|
}
|
|
73
80
|
}
|
|
74
81
|
});
|
|
75
82
|
}
|
|
76
83
|
function previewChargeOnDemandPricingItems({
|
|
77
84
|
pricingPlanScheduleId,
|
|
78
|
-
|
|
85
|
+
pricingItems,
|
|
79
86
|
startAt
|
|
80
87
|
}) {
|
|
81
88
|
return request({
|
|
82
|
-
url:
|
|
89
|
+
url: chargeOnDemandPricingItemsUrl,
|
|
83
90
|
options: { method: "POST" },
|
|
84
91
|
data: {
|
|
85
92
|
pricing_plan_schedule_id: pricingPlanScheduleId,
|
|
86
|
-
pricing_items:
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
93
|
+
pricing_items: pricingItems,
|
|
94
|
+
preview: true,
|
|
95
|
+
...startAt ? { start_at: startAt } : {}
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
function chargeOnDemandPricingItems(payload) {
|
|
100
|
+
return request({
|
|
101
|
+
url: chargeOnDemandPricingItemsUrl,
|
|
102
|
+
options: { method: "POST" },
|
|
103
|
+
data: {
|
|
104
|
+
finalize_immediately: true,
|
|
105
|
+
...payload
|
|
91
106
|
}
|
|
92
107
|
});
|
|
93
108
|
}
|
|
@@ -96,7 +111,8 @@ function createInvoicesService() {
|
|
|
96
111
|
getInvoices,
|
|
97
112
|
getInvoicePdf,
|
|
98
113
|
getInvoicePreview,
|
|
99
|
-
previewChargeOnDemandPricingItems
|
|
114
|
+
previewChargeOnDemandPricingItems,
|
|
115
|
+
chargeOnDemandPricingItems
|
|
100
116
|
};
|
|
101
117
|
}
|
|
102
118
|
export {
|
|
@@ -1,12 +1,43 @@
|
|
|
1
1
|
const empty_value_placeholder = "-";
|
|
2
2
|
const pricing_item_pricing = "{pricing} per {billing_period}";
|
|
3
3
|
const nlNL = {
|
|
4
|
+
"add_payment_method_modal.cancel_button.label": "Annuleren",
|
|
5
|
+
"add_payment_method_modal.confirm_button.label": "Betaalmethode opslaan",
|
|
6
|
+
"add_payment_method_modal.subtitle": "Voeg een nieuwe betaalmethode toe om mee te betalen.",
|
|
7
|
+
"add_payment_method_modal.title": "Betaalmethode toevoegen",
|
|
4
8
|
"addon_multiple_editor.add_to_subscription_button": "Toevoegen aan abonnement",
|
|
5
9
|
"addon_multiple_editor.description": "Selecteer een of meer producten",
|
|
6
10
|
"addon_multiple_editor.unsupported_pricing_error": "Niet-ondersteunde prijsstelling",
|
|
7
11
|
"addon_single_editor.description.at_least_one": "Selecteer minimaal één product",
|
|
8
12
|
"addon_single_editor.description.at_most_one": "Selecteer maximaal één product",
|
|
9
13
|
"addon_single_editor.description.exactly_one": "Selecteer één product",
|
|
14
|
+
"auto_topup_cancellation_modal.cancel": "Annuleren",
|
|
15
|
+
"auto_topup_cancellation_modal.confirm": "Ja, zet het uit",
|
|
16
|
+
"auto_topup_cancellation_modal.explanation": "Je saldo wordt niet meer automatisch bijgevuld. Je kunt nog altijd zelf bijvullen wanneer je wilt.",
|
|
17
|
+
"auto_topup_cancellation_modal.explanation_with_amount": "Je saldo wordt niet meer met {amount} bijgevuld wanneer het onder {threshold} komt. Je kunt nog altijd zelf bijvullen wanneer je wilt.",
|
|
18
|
+
"auto_topup_cancellation_modal.explanation_with_threshold": "Je saldo wordt niet meer automatisch bijgevuld wanneer het onder {threshold} komt. Je kunt nog altijd zelf bijvullen wanneer je wilt.",
|
|
19
|
+
"auto_topup_cancellation_modal.failed": "Automatisch bijvullen kon niet worden uitgezet. Probeer het later opnieuw.",
|
|
20
|
+
"auto_topup_cancellation_modal.title": "Automatisch bijvullen uitzetten",
|
|
21
|
+
"auto_topup_config.amount.at_least_minimum": "Waardeer op met minstens {minimum}.",
|
|
22
|
+
"auto_topup_config.amount.label": "Opwaarderen met",
|
|
23
|
+
"auto_topup_config.amount.positive": "Waardeer op met meer dan nul.",
|
|
24
|
+
"auto_topup_config.amount.required": "Vul het bedrag in om mee op te waarderen.",
|
|
25
|
+
"auto_topup_config.amount.within_maximum": "Waardeer op met maximaal {maximum}.",
|
|
26
|
+
"auto_topup_config.subtitle": "Waardeer je saldo automatisch op zodra het laag wordt.",
|
|
27
|
+
"auto_topup_config.threshold.label": "Wanneer je saldo lager wordt dan",
|
|
28
|
+
"auto_topup_config.threshold.not_negative": "De stand waarop wordt bijgevuld kan niet negatief zijn.",
|
|
29
|
+
"auto_topup_config.threshold.required": "Vul het saldo in waarbij er opgewaardeerd wordt.",
|
|
30
|
+
"auto_topup_config.title": "Automatisch opwaarderen",
|
|
31
|
+
"auto_topup_modal.add_payment_method.cancel": "Terug",
|
|
32
|
+
"auto_topup_modal.add_payment_method.confirm": "Betaalmethode toevoegen",
|
|
33
|
+
"auto_topup_modal.add_payment_method.subtitle": "Met deze methode wordt elke automatische bijvulling betaald.",
|
|
34
|
+
"auto_topup_modal.add_payment_method.title": "Betaalmethode toevoegen",
|
|
35
|
+
"auto_topup_modal.cancel": "Annuleren",
|
|
36
|
+
"auto_topup_modal.confirm": "Opslaan",
|
|
37
|
+
"auto_topup_modal.payment_method.label": "Automatische bijvullingen betalen met",
|
|
38
|
+
"auto_topup_modal.payment_method.required": "Selecteer een betaalmethode om automatische bijvullingen te betalen.",
|
|
39
|
+
"auto_topup_modal.subtitle": "Je saldo is {balance}.",
|
|
40
|
+
"auto_topup_modal.title": "Automatisch bijvullen",
|
|
10
41
|
"billing_information_form.submit_button.label": "Wijzigingen opslaan",
|
|
11
42
|
"checkout.address.city.placeholder": "Stad...",
|
|
12
43
|
"checkout.address.line1.placeholder": "Adresregel 1...",
|
|
@@ -51,8 +82,8 @@ const nlNL = {
|
|
|
51
82
|
"checkout.order_summary_block.billing_period.sub_label": "{amount} per {period}",
|
|
52
83
|
"checkout.order_summary_block.title": "Besteloverzicht",
|
|
53
84
|
"checkout.page_title": "Betalen en abonneren",
|
|
54
|
-
"checkout.pay_and_subscribe_button_trial.label": "Proefperiode starten",
|
|
55
85
|
"checkout.pay_and_subscribe_button.label": "Betalen en abonneren",
|
|
86
|
+
"checkout.pay_and_subscribe_button_trial.label": "Proefperiode starten",
|
|
56
87
|
"checkout.payment_method_block.no_country_selected_message": "Betaalmethoden worden getoond zodra je het factuurland hebt geselecteerd.",
|
|
57
88
|
"checkout.payment_method_block.no_country_selected_title": "Selecteer je factuurland",
|
|
58
89
|
"checkout.payment_method_block.no_payment_methods_available_message": "Er zijn geen beschikbare betaalmethoden. Neem contact op met de ondersteuning voor meer informatie.",
|
|
@@ -71,12 +102,22 @@ const nlNL = {
|
|
|
71
102
|
"checkout.promotion_code.remove_failed": "Promotiecode kon niet worden verwijderd. Probeer het opnieuw.",
|
|
72
103
|
"checkout.promotion_code.removed_status": "Promotiecode verwijderd",
|
|
73
104
|
"checkout.subscription_description": "Je wordt gefactureerd voor <strong>{price}</strong> per {period_name}, vanaf vandaag.",
|
|
74
|
-
"checkout.trial_period_description": "Je wordt gefactureerd voor <strong>{price}</strong> per {period_name}, startend op {startDate, date, long}.",
|
|
75
105
|
"checkout.trial.label": "Proefperiode",
|
|
106
|
+
"checkout.trial_period_description": "Je wordt gefactureerd voor <strong>{price}</strong> per {period_name}, startend op {startDate, date, long}.",
|
|
76
107
|
"checkout.vat_number.check_button.label": "Controleren",
|
|
77
108
|
"checkout.vat_number.label": "BTW-nummer",
|
|
78
109
|
"checkout.vat_number.placeholder": "BTW-nummer...",
|
|
79
110
|
"components.payment_method_form.section_title": "Beschikbare betaalmethoden",
|
|
111
|
+
"components.payment_method_form.submit_button.label": "Betaalmethode opslaan",
|
|
112
|
+
"converted_amount_input.bounds.maximum": "Tot {maximum} {unit}",
|
|
113
|
+
"converted_amount_input.bounds.minimum": "Minstens {minimum} {unit}",
|
|
114
|
+
"converted_amount_input.bounds.range": "Tussen {minimum} en {maximum} {unit}",
|
|
115
|
+
"converted_amount_input.buys": "Levert ongeveer {credits} op",
|
|
116
|
+
"converted_amount_input.cost": "Kost {amount} exclusief belastingen",
|
|
117
|
+
"converted_amount_input.credits": "credits",
|
|
118
|
+
"customer.invoice_table.pay_invoice_button.label": "Betalen",
|
|
119
|
+
"customer.subscriptions_block.next_billing_date": "Volgende factuurdatum",
|
|
120
|
+
"customer.subscriptions_block.show_details_button_label": "Abonnementsdetails",
|
|
80
121
|
"customer_invoices.load_failed.subtitle": "Vernieuw de pagina of neem contact op met de ondersteuning.",
|
|
81
122
|
"customer_invoices.load_failed.title": "We kunnen je facturen niet laden",
|
|
82
123
|
"customer_overview.billing_information_block.load_failed.subtitle": "Vernieuw de pagina of neem contact op met de ondersteuning.",
|
|
@@ -87,12 +128,12 @@ const nlNL = {
|
|
|
87
128
|
"customer_overview.invoices_block.no_invoices_title": "Geen facturen om weer te geven",
|
|
88
129
|
"customer_overview.invoices_block.title": "Facturen",
|
|
89
130
|
"customer_overview.invoices_block.view_all_invoices_link_label": "Alles weergeven",
|
|
131
|
+
"customer_overview.payment_methods.title": "{count,plural,one{Betaalmethode} other{Betaalmethoden}}",
|
|
90
132
|
"customer_overview.payment_methods_block.add_payment_method_button_label": "Betaalmethode toevoegen",
|
|
91
133
|
"customer_overview.payment_methods_block.add_payment_method_helper_text": "Voeg een betaalmethode toe voor terugkerende factuurbetalingen.",
|
|
92
134
|
"customer_overview.payment_methods_block.load_failed.subtitle": "Vernieuw de pagina of neem contact op met de ondersteuning.",
|
|
93
135
|
"customer_overview.payment_methods_block.load_failed.title": "We kunnen je betaalmethoden niet laden",
|
|
94
136
|
"customer_overview.payment_methods_block.view_all_payment_methods_link_label": "Alles weergeven",
|
|
95
|
-
"customer_overview.payment_methods.title": "{count,plural,one{Betaalmethode} other{Betaalmethoden}}",
|
|
96
137
|
"customer_overview.subscriptions_block.fallback_subscription_name": "Abonnement",
|
|
97
138
|
"customer_overview.subscriptions_block.load_failed.subtitle": "Vernieuw de pagina of neem contact op met de ondersteuning.",
|
|
98
139
|
"customer_overview.subscriptions_block.load_failed.title": "We kunnen je abonnementen niet laden",
|
|
@@ -101,14 +142,11 @@ const nlNL = {
|
|
|
101
142
|
"customer_overview.subscriptions_block.title": "{count,plural,one{Mijn abonnement} other{Mijn abonnementen}}",
|
|
102
143
|
"customer_overview.subscriptions_block.view_all_button_label": "Alles weergeven",
|
|
103
144
|
"customer_overview.wallet_balances_block.title": "{count,plural,one{Wallet} other{Wallets}}",
|
|
104
|
-
"customer.invoice_table.pay_invoice_button.label": "Betalen",
|
|
105
|
-
"customer.subscriptions_block.cancel_button_label": "Abonnement opzeggen",
|
|
106
|
-
"customer.subscriptions_block.next_billing_date": "Volgende factuurdatum",
|
|
107
|
-
"customer.subscriptions_block.renew_button_label": "Abonnement verlengen",
|
|
108
|
-
"customer.subscriptions_block.show_details_button_label": "Abonnementsdetails",
|
|
109
|
-
"customer.subscriptions_block.upgrade_button_label": "Abonnement upgraden",
|
|
110
145
|
"empty_state.retry.button": "Vernieuwen",
|
|
111
146
|
empty_value_placeholder,
|
|
147
|
+
"enabled_pricings_list.item.price": "{amount} per {period}",
|
|
148
|
+
"enabled_pricings_list.item.upgrade_button.label": "Upgraden",
|
|
149
|
+
"enabled_pricings_list.title": "Upgrades",
|
|
112
150
|
"invoice_credits.balance.table_header": "Saldo",
|
|
113
151
|
"invoice_credits.credit_breakdown.table_header": "Kredietoverzicht",
|
|
114
152
|
"invoice_credits.remaining.table_header": "Resterend",
|
|
@@ -138,9 +176,14 @@ const nlNL = {
|
|
|
138
176
|
"payment_integration_form.select_payment_method_error": "Selecteer een betaalmethode",
|
|
139
177
|
"payment_method.context_menu.delete.label": "Verwijderen",
|
|
140
178
|
"payment_method.context_menu.set_as_default.label": "Instellen als standaard",
|
|
179
|
+
"payment_method_selector.add_payment_method": "Betaalmethode toevoegen",
|
|
180
|
+
"payment_method_selector.empty_state.title": "Geen betaalmethoden beschikbaar",
|
|
181
|
+
"payment_method_selector.no_payment_methods_available": "Er zijn geen beschikbare betaalmethoden. Neem contact op met de ondersteuning voor meer informatie.",
|
|
182
|
+
"payment_method_selector.title": "Betaalmethode",
|
|
141
183
|
"payment_methods_list.delete_modal.body": "Weet u zeker dat u deze betaalmethode wilt verwijderen?",
|
|
142
184
|
"payment_methods_list.delete_modal.cancel": "Annuleren",
|
|
143
185
|
"payment_methods_list.delete_modal.confirm": "Verwijderen",
|
|
186
|
+
"payment_methods_list.delete_modal.error": "We konden deze betaalmethode niet verwijderen. Probeer het opnieuw.",
|
|
144
187
|
"payment_methods_list.delete_modal.title": "Betaalmethode verwijderen",
|
|
145
188
|
"payments.retry_button.label": "Opnieuw proberen",
|
|
146
189
|
"pricing_group_multiple_editor.at_least_one_description": "Selecteer minimaal één product",
|
|
@@ -157,11 +200,11 @@ const nlNL = {
|
|
|
157
200
|
"screens.payment_method_management.description": "Voeg een nieuwe betaalmethode toe of stel een standaard betaalmethode in voor uw betalingen.",
|
|
158
201
|
"screens.payment_method_management.title": "Betaalmethoden",
|
|
159
202
|
"sdk.invoice_details.customer_billing_information.title": "Jouw factuur gegevens",
|
|
203
|
+
"sdk.invoice_details.invoice.download_pdf": "Download de PDF voor een volledig overzicht",
|
|
204
|
+
"sdk.invoice_details.invoice.title": "Factuur",
|
|
160
205
|
"sdk.invoice_details.invoice_details_block.due_date": "Vervaldatum",
|
|
161
206
|
"sdk.invoice_details.invoice_details_block.invoice_date": "Factuurdatum",
|
|
162
207
|
"sdk.invoice_details.invoice_details_block.title": "Factuurgegevens",
|
|
163
|
-
"sdk.invoice_details.invoice.download_pdf": "Download de PDF voor een volledig overzicht",
|
|
164
|
-
"sdk.invoice_details.invoice.title": "Factuur",
|
|
165
208
|
"sdk.invoice_details.payment_history.payment_attempt": "Betaalpoging",
|
|
166
209
|
"sdk.invoice_details.payment_history.title": "Betaalgeschiedenis",
|
|
167
210
|
"seats.label": "Seats",
|
|
@@ -172,42 +215,85 @@ const nlNL = {
|
|
|
172
215
|
"seats.tiered_unbounded_range_label": "> {lower_bound} seats",
|
|
173
216
|
"secure_payments_kpi.generic": "Veilige en versleutelde betalingen",
|
|
174
217
|
"secure_payments_kpi.specific_vendor": "Veilige en versleutelde betalingen door",
|
|
218
|
+
"subscription_cancellation_modal.cancel.confirm_button.label": "Abonnement opzeggen",
|
|
219
|
+
"subscription_cancellation_modal.cancel.error": "We konden je abonnement niet opzeggen. Probeer het opnieuw.",
|
|
220
|
+
"subscription_cancellation_modal.cancel.explanation": "Je abonnement wordt opgezegd, maar je houdt toegang tot het einde van de factuurperiode.",
|
|
221
|
+
"subscription_cancellation_modal.cancel.explanation_with_date": "Je abonnement wordt opgezegd, maar je houdt toegang tot {date}.",
|
|
222
|
+
"subscription_cancellation_modal.cancel.title": "Abonnement opzeggen",
|
|
223
|
+
"subscription_cancellation_modal.cancel_button.label": "Annuleren",
|
|
224
|
+
"subscription_cancellation_modal.renew.confirm_button.label": "Abonnement verlengen",
|
|
225
|
+
"subscription_cancellation_modal.renew.error": "We konden je abonnement niet verlengen. Probeer het opnieuw.",
|
|
226
|
+
"subscription_cancellation_modal.renew.explanation": "Je abonnement loopt gewoon door en de facturatie hervat volgens het normale schema.",
|
|
227
|
+
"subscription_cancellation_modal.renew.explanation_with_date": "Je kunt je abonnement verlengen tot {date}. Daarna kun je alleen nog een nieuw abonnement afsluiten.",
|
|
228
|
+
"subscription_cancellation_modal.renew.title": "Abonnement verlengen",
|
|
229
|
+
"subscription_cancellation_modal.renews_label": "Verlengt op",
|
|
230
|
+
"subscription_details.cancel_button.label": "Abonnement opzeggen",
|
|
231
|
+
"subscription_details.cancel_success": "Je abonnement is opgezegd. Je houdt toegang tot het einde van de factuurperiode.",
|
|
232
|
+
"subscription_details.empty_state.message": "Dit abonnement is niet langer beschikbaar.",
|
|
233
|
+
"subscription_details.empty_state.title": "Abonnement niet gevonden",
|
|
234
|
+
"subscription_details.load_error": "Dit abonnement kon niet worden geladen. Probeer het later opnieuw.",
|
|
235
|
+
"subscription_details.renew_button.label": "Abonnement verlengen",
|
|
236
|
+
"subscription_details.renew_success": "Je abonnement is verlengd.",
|
|
237
|
+
"subscription_details.title": "Abonnementsdetails",
|
|
238
|
+
"subscription_management.done_button.label": "Klaar",
|
|
239
|
+
"subscription_management.kpi.encrypted_payments.label": "Veilige en versleutelde betalingen",
|
|
240
|
+
"subscription_management.order_summary.empty_state": "Selecteer items om de prijzen te zien.",
|
|
241
|
+
"subscription_management.order_summary.item_count": "{count} items",
|
|
242
|
+
"subscription_management.order_summary.one_off_label": "eenmalig",
|
|
243
|
+
"subscription_management.order_summary.selected_item_count": "{count} items",
|
|
244
|
+
"subscription_management.order_summary.selected_items_title": "Geselecteerde items",
|
|
245
|
+
"subscription_management.order_summary.subtotal_label": "Totaal exclusief belasting",
|
|
246
|
+
"subscription_management.order_summary.taxes_label": "Belasting",
|
|
247
|
+
"subscription_management.order_summary.title": "Besteloverzicht",
|
|
248
|
+
"subscription_management.order_summary.total_label": "Vandaag te betalen",
|
|
249
|
+
"subscription_management.payment_method_selector.label": "Betaalmethode",
|
|
250
|
+
"subscription_management.payment_picker.all_title": "Alle betaalmethoden",
|
|
251
|
+
"subscription_management.payment_picker.saved_title": "Opgeslagen betaalmethoden",
|
|
252
|
+
"subscription_management.pricing_row.add_button_label": "Aan winkelwagen toevoegen",
|
|
253
|
+
"subscription_management.pricing_row.one_off_label": "eenmalig",
|
|
254
|
+
"subscription_management.pricing_row.remove_button_label": "Verwijderen",
|
|
255
|
+
"subscription_management.success.message": "Je {subject} is gewijzigd. Houd er rekening mee dat het even kan duren voordat deze wijziging in je abonnement te zien is.",
|
|
256
|
+
"subscription_management.success.message_generic": "Je abonnement is gewijzigd. Houd er rekening mee dat het even kan duren voordat deze wijziging in je abonnement te zien is.",
|
|
257
|
+
"subscription_management.success.title": "Abonnement bijgewerkt",
|
|
258
|
+
"subscription_management.summary.empty_state": "Kies je plan om te zien wat het kost.",
|
|
259
|
+
"subscription_management.summary.error": "Het totaal kon niet worden berekend. Probeer het opnieuw.",
|
|
260
|
+
"subscription_management.summary.title": "Besteloverzicht",
|
|
261
|
+
"subscription_management.summary.total_due_heading": "Totaal te betalen",
|
|
262
|
+
"subscription_management.title": "{subject} beheren",
|
|
263
|
+
"subscription_management.title.default_subject": "abonnement",
|
|
264
|
+
"subscription_management.update_button.label": "Abonnement bijwerken",
|
|
265
|
+
"subscription_management.update_error": "Er is iets misgegaan. Probeer het opnieuw.",
|
|
175
266
|
"subscription_payment_completed_card.thank_you_for_subscribing": "Bedankt voor je abonnement.",
|
|
176
267
|
"subscription_payment_completed_card.title": "Betaling geslaagd",
|
|
177
268
|
"tax_check.invalid_vat_number": "BTW-nummer is ongeldig.",
|
|
178
269
|
"tax_check.valid_vat_number": "BTW-nummer is geldig.",
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
"
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"
|
|
192
|
-
"
|
|
193
|
-
"
|
|
194
|
-
"
|
|
195
|
-
"
|
|
196
|
-
"
|
|
197
|
-
"
|
|
198
|
-
"
|
|
199
|
-
"
|
|
200
|
-
"
|
|
201
|
-
"
|
|
202
|
-
"upgrade_subscription.success.redirect": "Je wordt zo doorgestuurd",
|
|
203
|
-
"upgrade_subscription.success.subtitle": "Je aankoop is voltooid.",
|
|
204
|
-
"upgrade_subscription.success.title": "Betaling geslaagd",
|
|
205
|
-
"upgrade_subscription.title": "Abonnement upgraden",
|
|
270
|
+
"topup_modal.add_payment_method.subtitle": "Voeg een nieuwe betaalmethode toe om je saldo op te waarderen.",
|
|
271
|
+
"topup_modal.add_payment_method.title": "Betaalmethode toevoegen",
|
|
272
|
+
"topup_modal.back_button.label": "Terug",
|
|
273
|
+
"topup_modal.cancel_button.label": "Annuleren",
|
|
274
|
+
"topup_modal.confirm_button.empty.label": "Saldo opwaarderen",
|
|
275
|
+
"topup_modal.confirm_button.label": "Saldo opwaarderen met {value}",
|
|
276
|
+
"topup_modal.done_button.label": "Klaar",
|
|
277
|
+
"topup_modal.flexible_option.bounds": "Tussen {minimum} en {maximum}",
|
|
278
|
+
"topup_modal.flexible_option.label": "Kies je eigen bedrag",
|
|
279
|
+
"topup_modal.invoice_preview.label": "Je betaalt",
|
|
280
|
+
"topup_modal.no_payment_methods_available_title": "Geen betaalmethoden beschikbaar",
|
|
281
|
+
"topup_modal.payment_method_required": "Kies een betaalmethode om deze opwaardering mee te betalen.",
|
|
282
|
+
"topup_modal.payment_method_selector.label": "Betaalmethode",
|
|
283
|
+
"topup_modal.pricing_items.label": "Selecteer opwaardeerbedrag",
|
|
284
|
+
"topup_modal.save_payment_method.label": "Betaalmethode opslaan",
|
|
285
|
+
"topup_modal.subscriptions.label": "Op te waarderen abonnement",
|
|
286
|
+
"topup_modal.subtitle": "Je huidige saldo is {balance}.",
|
|
287
|
+
"topup_modal.success.added": "Je saldo is opgewaardeerd met {value}. Houd er rekening mee dat het even kan duren voordat deze wijziging in je wallet te zien is.",
|
|
288
|
+
"topup_modal.success.modal_subtitle": "Je betaling is gelukt.",
|
|
289
|
+
"topup_modal.success.modal_title": "Opwaardering voltooid",
|
|
290
|
+
"topup_modal.success.receipt.heading": "Bon",
|
|
291
|
+
"topup_modal.success.title": "Top-up geslaagd",
|
|
292
|
+
"topup_modal.title": "Saldo opwaarderen",
|
|
206
293
|
"wallet_balance.credit_type_fallback_label": "Tegoed",
|
|
207
294
|
"wallet_balance.details.header": "Walletsaldo",
|
|
208
295
|
"wallet_balance.load_failed": "Walletsaldi konden niet worden geladen",
|
|
209
|
-
"wallet_balance.service_period_heading": "Serviceperiode - {startAt} - {endAt}"
|
|
210
|
-
"wallet_balance.wallet_ballance_title": "Saldo"
|
|
296
|
+
"wallet_balance.service_period_heading": "Serviceperiode - {startAt} - {endAt}"
|
|
211
297
|
};
|
|
212
298
|
export {
|
|
213
299
|
nlNL as default,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="{pricing} per {billing_period}",t={"add_payment_method_modal.cancel_button.label":"Annuleren","add_payment_method_modal.confirm_button.label":"Betaalmethode opslaan","add_payment_method_modal.subtitle":"Voeg een nieuwe betaalmethode toe om mee te betalen.","add_payment_method_modal.title":"Betaalmethode toevoegen","addon_multiple_editor.add_to_subscription_button":"Toevoegen aan abonnement","addon_multiple_editor.description":"Selecteer een of meer producten","addon_multiple_editor.unsupported_pricing_error":"Niet-ondersteunde prijsstelling","addon_single_editor.description.at_least_one":"Selecteer minimaal één product","addon_single_editor.description.at_most_one":"Selecteer maximaal één product","addon_single_editor.description.exactly_one":"Selecteer één product","auto_topup_cancellation_modal.cancel":"Annuleren","auto_topup_cancellation_modal.confirm":"Ja, zet het uit","auto_topup_cancellation_modal.explanation":"Je saldo wordt niet meer automatisch bijgevuld. Je kunt nog altijd zelf bijvullen wanneer je wilt.","auto_topup_cancellation_modal.explanation_with_amount":"Je saldo wordt niet meer met {amount} bijgevuld wanneer het onder {threshold} komt. Je kunt nog altijd zelf bijvullen wanneer je wilt.","auto_topup_cancellation_modal.explanation_with_threshold":"Je saldo wordt niet meer automatisch bijgevuld wanneer het onder {threshold} komt. Je kunt nog altijd zelf bijvullen wanneer je wilt.","auto_topup_cancellation_modal.failed":"Automatisch bijvullen kon niet worden uitgezet. Probeer het later opnieuw.","auto_topup_cancellation_modal.title":"Automatisch bijvullen uitzetten","auto_topup_config.amount.at_least_minimum":"Waardeer op met minstens {minimum}.","auto_topup_config.amount.label":"Opwaarderen met","auto_topup_config.amount.positive":"Waardeer op met meer dan nul.","auto_topup_config.amount.required":"Vul het bedrag in om mee op te waarderen.","auto_topup_config.amount.within_maximum":"Waardeer op met maximaal {maximum}.","auto_topup_config.subtitle":"Waardeer je saldo automatisch op zodra het laag wordt.","auto_topup_config.threshold.label":"Wanneer je saldo lager wordt dan","auto_topup_config.threshold.not_negative":"De stand waarop wordt bijgevuld kan niet negatief zijn.","auto_topup_config.threshold.required":"Vul het saldo in waarbij er opgewaardeerd wordt.","auto_topup_config.title":"Automatisch opwaarderen","auto_topup_modal.add_payment_method.cancel":"Terug","auto_topup_modal.add_payment_method.confirm":"Betaalmethode toevoegen","auto_topup_modal.add_payment_method.subtitle":"Met deze methode wordt elke automatische bijvulling betaald.","auto_topup_modal.add_payment_method.title":"Betaalmethode toevoegen","auto_topup_modal.cancel":"Annuleren","auto_topup_modal.confirm":"Opslaan","auto_topup_modal.payment_method.label":"Automatische bijvullingen betalen met","auto_topup_modal.payment_method.required":"Selecteer een betaalmethode om automatische bijvullingen te betalen.","auto_topup_modal.subtitle":"Je saldo is {balance}.","auto_topup_modal.title":"Automatisch bijvullen","billing_information_form.submit_button.label":"Wijzigingen opslaan","checkout.address.city.placeholder":"Stad...","checkout.address.line1.placeholder":"Adresregel 1...","checkout.address.line2.placeholder":"Adresregel 2...","checkout.address.portal_code.placeholder":"Postcode...","checkout.address.state.placeholder":"Provincie...","checkout.address.title":"Factuuradres","checkout.agreement.subscription":"{subscription_amount}/{billing_period} tot annulering, startend op {start_date, date, long}.","checkout.agreement.trial":"{discounted_amount} voor {trial_period}, daarna {subscription_amount}/{billing_period} tot annulering, startend op {start_date, date, ::MMMMd}.","checkout.agreement.trial.free":"Gratis","checkout.billing_details.add_billing_details_button.label":"Meer factuurgegevens","checkout.billing_details.remove_billing_details_button.label":"Factuurgegevens verwijderen","checkout.billing_information_block.title":"Factuurgegevens","checkout.company_purchase_toggle.sub_title":"Ik koop namens een bedrijf","checkout.company_purchase_toggle.title":"Zakelijke aankoop","checkout.contact_information_block.title":"Klantgegevens","checkout.country.label":"Factuurland","checkout.customize_plan_block.title":"Plan aanpassen","checkout.email_address.label":"E-mailadres","checkout.email_address.placeholder":"E-mailadres...","checkout.express_payment_methods.divider_text":"Of","checkout.express_payment_methods.title":"Direct abonneren met","checkout.first_name.label":"Voornaam","checkout.first_name.placeholder":"Voornaam...","checkout.invoice_preview.no_country_selected_message":"Selecteer eerst een land","checkout.invoice_preview.usage_based_message":"+ Gebruik","checkout.last_name.label":"Achternaam","checkout.last_name.placeholder":"Achternaam...","checkout.legal_name.label":"Naam rechtspersoon","checkout.legal_name.placeholder":"Naam rechtspersoon...","checkout.not_available.contact_support_message":"deze pagina om het opnieuw te proberen, of neem contact op met de klantenservice.","checkout.not_available.description":"De betaalpagina is momenteel niet beschikbaar.","checkout.not_available.reload_button":"Herladen","checkout.not_available.title":"Betaalpagina niet beschikbaar","checkout.optional_suffix.label":"(optioneel)","checkout.order_summary_block.billing_period.label":"Gefactureerd per {period}","checkout.order_summary_block.billing_period.per_label":"/{period}","checkout.order_summary_block.billing_period.per_quarter":"/kwartaal","checkout.order_summary_block.billing_period.quarterly":"Gefactureerd per kwartaal","checkout.order_summary_block.billing_period.save_badge.prefix":"Bespaar {amount}","checkout.order_summary_block.billing_period.save_badge.suffix":"/jaar","checkout.order_summary_block.billing_period.sub_label":"{amount} per {period}","checkout.order_summary_block.title":"Besteloverzicht","checkout.page_title":"Betalen en abonneren","checkout.pay_and_subscribe_button.label":"Betalen en abonneren","checkout.pay_and_subscribe_button_trial.label":"Proefperiode starten","checkout.payment_method_block.no_country_selected_message":"Betaalmethoden worden getoond zodra je het factuurland hebt geselecteerd.","checkout.payment_method_block.no_country_selected_title":"Selecteer je factuurland","checkout.payment_method_block.no_payment_methods_available_message":"Er zijn geen beschikbare betaalmethoden. Neem contact op met de ondersteuning voor meer informatie.","checkout.payment_method_block.no_payment_methods_available_title":"Geen betaalmethoden beschikbaar","checkout.payment_method_block.title":"Betaalmethode","checkout.payment_methods.no_country_selected_message":"Selecteer een land om de beschikbare betaalmethoden te zien","checkout.promotion_code.add_label":"Promotiecode toevoegen","checkout.promotion_code.applied_label":"Promotie toegepast","checkout.promotion_code.applied_status":"Promotiecode toegepast","checkout.promotion_code.apply_aria_label":"Promotiecode toepassen","checkout.promotion_code.apply_button":"Toepassen","checkout.promotion_code.apply_failed":"Promotiecode kon niet worden toegepast. Probeer het opnieuw.","checkout.promotion_code.input_aria_label":"Promotiecode","checkout.promotion_code.placeholder":"Promotiecode","checkout.promotion_code.remove_aria_label":"Promotiecode verwijderen","checkout.promotion_code.remove_failed":"Promotiecode kon niet worden verwijderd. Probeer het opnieuw.","checkout.promotion_code.removed_status":"Promotiecode verwijderd","checkout.subscription_description":"Je wordt gefactureerd voor <strong>{price}</strong> per {period_name}, vanaf vandaag.","checkout.trial.label":"Proefperiode","checkout.trial_period_description":"Je wordt gefactureerd voor <strong>{price}</strong> per {period_name}, startend op {startDate, date, long}.","checkout.vat_number.check_button.label":"Controleren","checkout.vat_number.label":"BTW-nummer","checkout.vat_number.placeholder":"BTW-nummer...","components.payment_method_form.section_title":"Beschikbare betaalmethoden","components.payment_method_form.submit_button.label":"Betaalmethode opslaan","converted_amount_input.bounds.maximum":"Tot {maximum} {unit}","converted_amount_input.bounds.minimum":"Minstens {minimum} {unit}","converted_amount_input.bounds.range":"Tussen {minimum} en {maximum} {unit}","converted_amount_input.buys":"Levert ongeveer {credits} op","converted_amount_input.cost":"Kost {amount} exclusief belastingen","converted_amount_input.credits":"credits","customer.invoice_table.pay_invoice_button.label":"Betalen","customer.subscriptions_block.next_billing_date":"Volgende factuurdatum","customer.subscriptions_block.show_details_button_label":"Abonnementsdetails","customer_invoices.load_failed.subtitle":"Vernieuw de pagina of neem contact op met de ondersteuning.","customer_invoices.load_failed.title":"We kunnen je facturen niet laden","customer_overview.billing_information_block.load_failed.subtitle":"Vernieuw de pagina of neem contact op met de ondersteuning.","customer_overview.billing_information_block.load_failed.title":"We kunnen je factuurgegevens niet laden","customer_overview.billing_information_block.title":"Factuurgegevens","customer_overview.billing_information_block.view_all_payment_methods_link_label":"Bewerken","customer_overview.invoices_block.no_active_subscription_content":"Je hebt nog geen factuur ontvangen. Deze verschijnt hier zodra deze is gegenereerd.","customer_overview.invoices_block.no_invoices_title":"Geen facturen om weer te geven","customer_overview.invoices_block.title":"Facturen","customer_overview.invoices_block.view_all_invoices_link_label":"Alles weergeven","customer_overview.payment_methods.title":"{count,plural,one{Betaalmethode} other{Betaalmethoden}}","customer_overview.payment_methods_block.add_payment_method_button_label":"Betaalmethode toevoegen","customer_overview.payment_methods_block.add_payment_method_helper_text":"Voeg een betaalmethode toe voor terugkerende factuurbetalingen.","customer_overview.payment_methods_block.load_failed.subtitle":"Vernieuw de pagina of neem contact op met de ondersteuning.","customer_overview.payment_methods_block.load_failed.title":"We kunnen je betaalmethoden niet laden","customer_overview.payment_methods_block.view_all_payment_methods_link_label":"Alles weergeven","customer_overview.subscriptions_block.fallback_subscription_name":"Abonnement","customer_overview.subscriptions_block.load_failed.subtitle":"Vernieuw de pagina of neem contact op met de ondersteuning.","customer_overview.subscriptions_block.load_failed.title":"We kunnen je abonnementen niet laden","customer_overview.subscriptions_block.no_active_subscription_content":"Er is geen actief abonnement om weer te geven.","customer_overview.subscriptions_block.no_active_subscription_title":"Geen abonnementen","customer_overview.subscriptions_block.title":"{count,plural,one{Mijn abonnement} other{Mijn abonnementen}}","customer_overview.subscriptions_block.view_all_button_label":"Alles weergeven","customer_overview.wallet_balances_block.title":"{count,plural,one{Wallet} other{Wallets}}","empty_state.retry.button":"Vernieuwen",empty_value_placeholder:"-","enabled_pricings_list.item.price":"{amount} per {period}","enabled_pricings_list.item.upgrade_button.label":"Upgraden","enabled_pricings_list.title":"Upgrades","invoice_credits.balance.table_header":"Saldo","invoice_credits.credit_breakdown.table_header":"Kredietoverzicht","invoice_credits.remaining.table_header":"Resterend","invoice_credits.used.table_header":"Gebruikt","invoice_preview.taxes_not_determined_by_billing_information_tooltip":"Wordt bepaald aan de hand van de factuurgegevens","invoice_table.button.load_more":"Meer laden","invoice_table.chip.paid":"Betaald","invoice_table.header.amount":"Bedrag","invoice_table.header.date":"Datum","invoice_table.header.invoice_number":"Factuur","invoice_table.header.status":"Status","invoices_list.title":"Schema's","on_demand_pricing_list.category_fallback_title":"Items","on_demand_pricing_row.add_to_cart_button_label":"Aan winkelwagen toevoegen","on_demand_pricing_row.one_off_label":"eenmalig","on_demand_pricing_row.remove_button_label":"Verwijderen","pay_button.label.amount_and_payment_method":"Betaal {amount} met {type}","pay_button.label.amount_only":"Betaal {amount}","pay_button.label.default":"Betalen","pay_invoice.error.description":"Probeer het opnieuw of neem contact op met de klantenservice.","pay_invoice.error.title":"Er is iets misgegaan","pay_invoice.paid.title":"Bedankt voor je betaling!","pay_invoice.payment_methods.title":"Betaalmethoden","payment_completed_card.redirect_message":"Je wordt doorgestuurd...","payment_completed_card.title.authorize":"Betaling geslaagd","payment_completed_card.title.tokenize":"Je betaalmethode is toegevoegd","payment_integration_form.select_payment_method_error":"Selecteer een betaalmethode","payment_method.context_menu.delete.label":"Verwijderen","payment_method.context_menu.set_as_default.label":"Instellen als standaard","payment_method_selector.add_payment_method":"Betaalmethode toevoegen","payment_method_selector.empty_state.title":"Geen betaalmethoden beschikbaar","payment_method_selector.no_payment_methods_available":"Er zijn geen beschikbare betaalmethoden. Neem contact op met de ondersteuning voor meer informatie.","payment_method_selector.title":"Betaalmethode","payment_methods_list.delete_modal.body":"Weet u zeker dat u deze betaalmethode wilt verwijderen?","payment_methods_list.delete_modal.cancel":"Annuleren","payment_methods_list.delete_modal.confirm":"Verwijderen","payment_methods_list.delete_modal.error":"We konden deze betaalmethode niet verwijderen. Probeer het opnieuw.","payment_methods_list.delete_modal.title":"Betaalmethode verwijderen","payments.retry_button.label":"Opnieuw proberen","pricing_group_multiple_editor.at_least_one_description":"Selecteer minimaal één product",pricing_item_pricing:e,"pricing_item_pricing.flat_top_up":"Flat top-up prijs","pricing_item_pricing.none":"Niet gefactureerd","pricing_item_pricing.pass_through":"Doorberekeningsprijs","pricing_item_pricing.per_seat":"Per gebruiker","pricing_item_pricing.stair_step":"Staffelprijzen","pricing_item_pricing.tiered":"Tariefschalen","pricing_item_pricing.tiered_top_up":"Tariefschalen met top-up","pricing_item_pricing.top_tiered":"Top-tier prijs","pricing_item_pricing.unsupported_pricing_error":"Niet-ondersteunde prijsstelling","screens.payment_method_management.description":"Voeg een nieuwe betaalmethode toe of stel een standaard betaalmethode in voor uw betalingen.","screens.payment_method_management.title":"Betaalmethoden","sdk.invoice_details.customer_billing_information.title":"Jouw factuur gegevens","sdk.invoice_details.invoice.download_pdf":"Download de PDF voor een volledig overzicht","sdk.invoice_details.invoice.title":"Factuur","sdk.invoice_details.invoice_details_block.due_date":"Vervaldatum","sdk.invoice_details.invoice_details_block.invoice_date":"Factuurdatum","sdk.invoice_details.invoice_details_block.title":"Factuurgegevens","sdk.invoice_details.payment_history.payment_attempt":"Betaalpoging","sdk.invoice_details.payment_history.title":"Betaalgeschiedenis","seats.label":"Seats","seats.price_per_seat_period":"{amount} per seat/{period}","seats.tiered_price_per_seat_period":"{amount} per seat/{period}","seats.tiered_pricing_label":"Staffelprijzen","seats.tiered_range_label":"{lower_bound} - {upper_bound} seats","seats.tiered_unbounded_range_label":"> {lower_bound} seats","secure_payments_kpi.generic":"Veilige en versleutelde betalingen","secure_payments_kpi.specific_vendor":"Veilige en versleutelde betalingen door","subscription_cancellation_modal.cancel.confirm_button.label":"Abonnement opzeggen","subscription_cancellation_modal.cancel.error":"We konden je abonnement niet opzeggen. Probeer het opnieuw.","subscription_cancellation_modal.cancel.explanation":"Je abonnement wordt opgezegd, maar je houdt toegang tot het einde van de factuurperiode.","subscription_cancellation_modal.cancel.explanation_with_date":"Je abonnement wordt opgezegd, maar je houdt toegang tot {date}.","subscription_cancellation_modal.cancel.title":"Abonnement opzeggen","subscription_cancellation_modal.cancel_button.label":"Annuleren","subscription_cancellation_modal.renew.confirm_button.label":"Abonnement verlengen","subscription_cancellation_modal.renew.error":"We konden je abonnement niet verlengen. Probeer het opnieuw.","subscription_cancellation_modal.renew.explanation":"Je abonnement loopt gewoon door en de facturatie hervat volgens het normale schema.","subscription_cancellation_modal.renew.explanation_with_date":"Je kunt je abonnement verlengen tot {date}. Daarna kun je alleen nog een nieuw abonnement afsluiten.","subscription_cancellation_modal.renew.title":"Abonnement verlengen","subscription_cancellation_modal.renews_label":"Verlengt op","subscription_details.cancel_button.label":"Abonnement opzeggen","subscription_details.cancel_success":"Je abonnement is opgezegd. Je houdt toegang tot het einde van de factuurperiode.","subscription_details.empty_state.message":"Dit abonnement is niet langer beschikbaar.","subscription_details.empty_state.title":"Abonnement niet gevonden","subscription_details.load_error":"Dit abonnement kon niet worden geladen. Probeer het later opnieuw.","subscription_details.renew_button.label":"Abonnement verlengen","subscription_details.renew_success":"Je abonnement is verlengd.","subscription_details.title":"Abonnementsdetails","subscription_management.done_button.label":"Klaar","subscription_management.kpi.encrypted_payments.label":"Veilige en versleutelde betalingen","subscription_management.order_summary.empty_state":"Selecteer items om de prijzen te zien.","subscription_management.order_summary.item_count":"{count} items","subscription_management.order_summary.one_off_label":"eenmalig","subscription_management.order_summary.selected_item_count":"{count} items","subscription_management.order_summary.selected_items_title":"Geselecteerde items","subscription_management.order_summary.subtotal_label":"Totaal exclusief belasting","subscription_management.order_summary.taxes_label":"Belasting","subscription_management.order_summary.title":"Besteloverzicht","subscription_management.order_summary.total_label":"Vandaag te betalen","subscription_management.payment_method_selector.label":"Betaalmethode","subscription_management.payment_picker.all_title":"Alle betaalmethoden","subscription_management.payment_picker.saved_title":"Opgeslagen betaalmethoden","subscription_management.pricing_row.add_button_label":"Aan winkelwagen toevoegen","subscription_management.pricing_row.one_off_label":"eenmalig","subscription_management.pricing_row.remove_button_label":"Verwijderen","subscription_management.success.message":"Je {subject} is gewijzigd. Houd er rekening mee dat het even kan duren voordat deze wijziging in je abonnement te zien is.","subscription_management.success.message_generic":"Je abonnement is gewijzigd. Houd er rekening mee dat het even kan duren voordat deze wijziging in je abonnement te zien is.","subscription_management.success.title":"Abonnement bijgewerkt","subscription_management.summary.empty_state":"Kies je plan om te zien wat het kost.","subscription_management.summary.error":"Het totaal kon niet worden berekend. Probeer het opnieuw.","subscription_management.summary.title":"Besteloverzicht","subscription_management.summary.total_due_heading":"Totaal te betalen","subscription_management.title":"{subject} beheren","subscription_management.title.default_subject":"abonnement","subscription_management.update_button.label":"Abonnement bijwerken","subscription_management.update_error":"Er is iets misgegaan. Probeer het opnieuw.","subscription_payment_completed_card.thank_you_for_subscribing":"Bedankt voor je abonnement.","subscription_payment_completed_card.title":"Betaling geslaagd","tax_check.invalid_vat_number":"BTW-nummer is ongeldig.","tax_check.valid_vat_number":"BTW-nummer is geldig.","topup_modal.add_payment_method.subtitle":"Voeg een nieuwe betaalmethode toe om je saldo op te waarderen.","topup_modal.add_payment_method.title":"Betaalmethode toevoegen","topup_modal.back_button.label":"Terug","topup_modal.cancel_button.label":"Annuleren","topup_modal.confirm_button.empty.label":"Saldo opwaarderen","topup_modal.confirm_button.label":"Saldo opwaarderen met {value}","topup_modal.done_button.label":"Klaar","topup_modal.flexible_option.bounds":"Tussen {minimum} en {maximum}","topup_modal.flexible_option.label":"Kies je eigen bedrag","topup_modal.invoice_preview.label":"Je betaalt","topup_modal.no_payment_methods_available_title":"Geen betaalmethoden beschikbaar","topup_modal.payment_method_required":"Kies een betaalmethode om deze opwaardering mee te betalen.","topup_modal.payment_method_selector.label":"Betaalmethode","topup_modal.pricing_items.label":"Selecteer opwaardeerbedrag","topup_modal.save_payment_method.label":"Betaalmethode opslaan","topup_modal.subscriptions.label":"Op te waarderen abonnement","topup_modal.subtitle":"Je huidige saldo is {balance}.","topup_modal.success.added":"Je saldo is opgewaardeerd met {value}. Houd er rekening mee dat het even kan duren voordat deze wijziging in je wallet te zien is.","topup_modal.success.modal_subtitle":"Je betaling is gelukt.","topup_modal.success.modal_title":"Opwaardering voltooid","topup_modal.success.receipt.heading":"Bon","topup_modal.success.title":"Top-up geslaagd","topup_modal.title":"Saldo opwaarderen","wallet_balance.credit_type_fallback_label":"Tegoed","wallet_balance.details.header":"Walletsaldo","wallet_balance.load_failed":"Walletsaldi konden niet worden geladen","wallet_balance.service_period_heading":"Serviceperiode - {startAt} - {endAt}"};exports.default=t,exports.empty_value_placeholder="-",exports.pricing_item_pricing=e;
|
|
@@ -1,17 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as createRequestService, u as useConfig } from "./component
|
|
1
|
+
import { d as withPagination } from "./vendor-ui-ItGf7wJV.mjs";
|
|
2
|
+
import { c as createRequestService, u as useConfig } from "./component--Y7Igv5i.mjs";
|
|
3
3
|
function createPaymentMethodsService() {
|
|
4
4
|
const request = createRequestService();
|
|
5
5
|
const config = useConfig();
|
|
6
6
|
const BASE_URL = "/portal/payment-methods";
|
|
7
|
-
function setDefaultPaymentMethod({
|
|
7
|
+
function setDefaultPaymentMethod({
|
|
8
|
+
paymentMethodId
|
|
9
|
+
}) {
|
|
8
10
|
return request({
|
|
9
11
|
url: `${config.apiUrls.config}${BASE_URL}/${paymentMethodId}`,
|
|
10
12
|
options: { method: "PATCH" },
|
|
11
13
|
data: { is_default: true }
|
|
12
14
|
});
|
|
13
15
|
}
|
|
14
|
-
function
|
|
16
|
+
function archivePaymentMethod({
|
|
17
|
+
paymentMethodId
|
|
18
|
+
}) {
|
|
19
|
+
return request({
|
|
20
|
+
url: `${config.apiUrls.config}${BASE_URL}/${paymentMethodId}`,
|
|
21
|
+
options: { method: "PATCH" },
|
|
22
|
+
data: { status: "ARCHIVED" }
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
async function getPaymentMethods({
|
|
15
26
|
customerId,
|
|
16
27
|
pagination,
|
|
17
28
|
query
|
|
@@ -33,10 +44,14 @@ function createPaymentMethodsService() {
|
|
|
33
44
|
}
|
|
34
45
|
url.searchParams.append(key, `${value}`);
|
|
35
46
|
});
|
|
36
|
-
|
|
47
|
+
const response = await request({
|
|
37
48
|
url: url.toString(),
|
|
38
49
|
isCollection: true
|
|
39
50
|
});
|
|
51
|
+
return {
|
|
52
|
+
...response,
|
|
53
|
+
data: (response.data ?? []).filter(({ status }) => status !== "ARCHIVED")
|
|
54
|
+
};
|
|
40
55
|
}
|
|
41
56
|
function getPaymentMethodOptions({
|
|
42
57
|
customerId,
|
|
@@ -63,6 +78,7 @@ function createPaymentMethodsService() {
|
|
|
63
78
|
});
|
|
64
79
|
}
|
|
65
80
|
return {
|
|
81
|
+
archivePaymentMethod,
|
|
66
82
|
getPaymentMethods,
|
|
67
83
|
getPaymentMethodOptions,
|
|
68
84
|
tokenizePaymentMethod,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t=require("./vendor-ui-Dfh3_g4q.js"),e=require("./component-DIy1hvJM.js");exports.createPaymentMethodsService=function(){const n=e.createRequestService(),o=e.useConfig(),a="/portal/payment-methods";return{archivePaymentMethod:function({paymentMethodId:t}){return n({url:`${o.apiUrls.config}${a}/${t}`,options:{method:"PATCH"},data:{status:"ARCHIVED"}})},getPaymentMethods:async function({customerId:e,pagination:r,query:i}){const s=t.withPagination({customer_id:e,...i??{}},r),u=new URL(`${o.apiUrls.config}${a}`);Object.entries(s).forEach(([t,e])=>{null!=e&&(Array.isArray(e)?e.forEach(e=>{u.searchParams.append(`${t}[]`,`${e}`)}):u.searchParams.append(t,`${e}`))});const c=await n({url:u.toString(),isCollection:!0});return{...c,data:(c.data??[]).filter(({status:t})=>"ARCHIVED"!==t)}},getPaymentMethodOptions:function({customerId:t,country:e,subscriptionId:a,amount:r}){return n({url:`${o.apiUrls.config}/portal/payment-method-options`,options:{method:"POST"},data:{...t&&{customer_id:t},...e&&{country:e},...a&&{pricing_plan_subscription_id:a},amount:r}})},tokenizePaymentMethod:function(t){return n({url:`${o.apiUrls.config}/portal/payment-methods/tokenize`,options:{method:"POST"},data:t})},setDefaultPaymentMethod:function({paymentMethodId:t}){return n({url:`${o.apiUrls.config}${a}/${t}`,options:{method:"PATCH"},data:{is_default:!0}})}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const t=require("./component-
|
|
1
|
+
const t=require("./component-DIy1hvJM.js"),e="/portal/payments";exports.createPaymentsService=()=>{const a=t.createRequestService(),n=t.useConfig();return{getPayments:function(t){return a({url:`${n.apiUrls.transaction}${e}`,query:{invoice_id:t},isCollection:!0})},getPaymentDetails:function({paymentAcceptorId:t,paymentGatewayVariant:r,adyen:i}){return a({url:`${n.apiUrls.transaction}${e}/verify-details`,options:{method:"POST"},data:{payment_acceptor_id:t,payment_gateway_variant:r,adyen:i}})},authorizePayment:function(t){return a({url:`${n.apiUrls.transaction}${e}/authorize`,options:{method:"POST"},data:t})}}};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createRequestService, u as useConfig } from "./component
|
|
1
|
+
import { c as createRequestService, u as useConfig } from "./component--Y7Igv5i.mjs";
|
|
2
2
|
const BASE_URL = "/portal/payments";
|
|
3
3
|
const createPaymentsService = () => {
|
|
4
4
|
const request = createRequestService();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const n=require("./vendor-ui-Dfh3_g4q.js");exports.getAllPricingsFromScheduleInfos=function(n){return n.flatMap(n=>{var r;return(null==(r=n.pricing_plan_version.pricing_categories)?void 0:r.flatMap(n=>n.pricings??[]))??[]})},exports.getNameFromPricing=function(r){var i,e;return n.isEmpty(r.name)?null==(e=null==(i=r.products)?void 0:i[0])?void 0:e.name:r.name};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { i as isEmpty } from "./vendor-ui-ItGf7wJV.mjs";
|
|
2
|
+
function getAllPricingsFromScheduleInfos(scheduleInfos) {
|
|
3
|
+
return scheduleInfos.flatMap(
|
|
4
|
+
(scheduleInfo) => {
|
|
5
|
+
var _a;
|
|
6
|
+
return ((_a = scheduleInfo.pricing_plan_version.pricing_categories) == null ? void 0 : _a.flatMap(
|
|
7
|
+
(category) => category.pricings ?? []
|
|
8
|
+
)) ?? [];
|
|
9
|
+
}
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
function getNameFromPricing(pricing) {
|
|
13
|
+
var _a, _b;
|
|
14
|
+
return !isEmpty(pricing.name) ? pricing.name : (_b = (_a = pricing.products) == null ? void 0 : _a[0]) == null ? void 0 : _b.name;
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
getAllPricingsFromScheduleInfos as a,
|
|
18
|
+
getNameFromPricing as g
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function i({pricingPlanScheduleInfos:i,type:n}){return(i??[]).find(i=>{var r;return((null==(r=i.pricing_plan_schedule)?void 0:r.type)??i.type)===n})}const n=i=>{var n;return Date.parse(i.start_at??(null==(n=i.pricing_plan_schedule)?void 0:n.start_at))};function r(i){const r=Date.now();return i.filter(i=>{const e=i.pricing_plan_schedule,l=(null==e?void 0:e.type)??i.type,c=n(i),o=i.end_at??(null==e?void 0:e.end_at),t=o?Date.parse(o):void 0,u=Number.isFinite(c)&&c<=r,a=void 0===t||!Number.isFinite(t)||t>r;return"DEFAULT"===l&&u&&a}).sort((i,r)=>n(r)-n(i)).at(0)}exports.getActiveDefaultScheduleId=function(i){var n;return null==(n=r(i.flatMap(({pricing_plan_schedule_infos:i})=>i??[])))?void 0:n.id},exports.getActiveDefaultScheduleInfo=r,exports.getFirstPricingPlanScheduleOfType=i,exports.getPricingGroupByPricingId=function({pricingPlanScheduleInfo:i,pricingId:n}){var r;return((null==(r=i.pricing_plan_version)?void 0:r.pricing_categories)??[]).flatMap(i=>i.pricing_groups??[]).find(i=>(i.pricings??[]).some(i=>i.id===n))},exports.getPricingItemConfigMetaById=function({pricingPlanScheduleInfo:i}){const n=new Map;return(i.pricing_plan_version.pricing_categories??[]).forEach(i=>{var r;null==(r=i.pricings)||r.forEach(i=>{var r;null==(r=i.items)||r.forEach(i=>{var r,e,l;null==(r=i.billing_period_configs)||r.forEach(i=>{var r;null==(r=i.configs)||r.forEach(r=>{var e,l,c,o;if(r.id){const t=null==(o=null==(c=null==(l=null==(e=r.details)?void 0:e.bands)?void 0:l.find(i=>{var n;return null==(n=i.amount)?void 0:n.currency}))?void 0:c.amount)?void 0:o.currency;n.set(r.id,{...t&&{currency:t},billingPeriod:i.billing_period})}})}),null==(e=i.configs)||e.forEach(i=>{var r,e,l,c;if(i.id){const o=null==(c=null==(l=null==(e=null==(r=i.details)?void 0:r.bands)?void 0:e.find(i=>{var n;return null==(n=i.amount)?void 0:n.currency}))?void 0:l.amount)?void 0:c.currency;n.set(i.id,{...o&&{currency:o}})}}),null==(l=i.pricing_currency_configs)||l.forEach(i=>{var r,e;const l=i.currency;null==(r=i.billing_period_configs)||r.forEach(i=>{var r;null==(r=i.configs)||r.forEach(r=>{r.id&&n.set(r.id,{currency:l,billingPeriod:i.billing_period})})}),null==(e=i.configs)||e.forEach(i=>{i.id&&n.set(i.id,{currency:l})})})})})}),n},exports.getScheduleCustomizations=function({enabledPricings:n,seatsValues:r,pricingPlanScheduleInfos:e,pricingCurrency:l,billingPeriod:c}){const o=i({pricingPlanScheduleInfos:e,type:"DEFAULT"});if(o&&(n||r))return[{pricing_plan_schedule_id:o.id,enabled_pricings:n,seats_values:null==r?void 0:r.map(({pricing_item_config_id:i,number:n})=>({pricing_item_config_id:i,number:n})),...l&&{pricing_currency:l},...c&&{billing_period:c}}]};
|